@zeniai/web-cockpit-ui 1.13.84-qa → 1.13.85-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-Bya_wRcI-D24AQL3_.js → ACHDetailsPage-CRqyoYEz-xYrGFNnE.js} +3 -3
- package/dist/assets/{AIPerformancePage-Bc2kKHSK-vnI3KLwi.js → AIPerformancePage-DAkvkXSA-CGVKmjkJ.js} +24 -24
- package/dist/assets/AccountInfoPage-6EVpo7mW-aLkrvciq.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BhU-TVmh-C-UpNXF8.js → AccountInfoPageContent-BWZbyIYz-Q8Byt1d2.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-Dp2R5isq-6LbQVUfj.js → AccountReconDetailsDrawerPage-DLd_igXD-BoD_5Mp7.js} +18 -18
- package/dist/assets/AccountRow-D4iz2vCr-FZzwmYfW.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DYUyO-ip-Afoar8fj.js → AccountsPromoCardStack-DIly1lFF-BymCGDNy.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-CNSnxc8q-CfZsmSuQ.js → AddAddressForCardDrawer-C90j4Cwr-BKCwJ7c4.js} +1 -1
- package/dist/assets/{AddToWalletPage-Q8uWTckm-C9vK1iqP.js → AddToWalletPage-Bo2KesYz-Cz9shvNb.js} +30 -30
- package/dist/assets/{AgingReportsPage-B-DOb7my-WwOH5_Yn.js → AgingReportsPage-DuoKsSkU-D9JwO5kE.js} +4 -4
- package/dist/assets/{AllUserItems-B86Y2Fmg-DwBM7tfH.js → AllUserItems-C0U1Brjm-bMWZMmau.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-CMYJgTzS-C2HHMQbl.js → ApAgingDetailPage-dNwAZULr-Bgfeeq5D.js} +3 -3
- package/dist/assets/{AppBasePage-DJO-V2ox-C-oIOb39.js → AppBasePage-CfkaWEbJ-DV03x5l2.js} +4 -4
- package/dist/assets/{AppDrawerContent-5_QaBLwS-picTHWhb.js → AppDrawerContent-DlHQEgOZ-CwVua6gS.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-CPbVQ97S-C7Jihchv.js → ApprovalRulesSettingsPage-Pl7HoLmk-7CPgqfk2.js} +6 -6
- package/dist/assets/{ArAgingChart-l020Rk_S-DFeuvhU_.js → ArAgingChart-xI9TRvfS-B-FSsHVj.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-BeUPeHBJ-BkRCdWjT.js → ArAgingDetailPage-BMGCnP5d-Ia6ZCwAD.js} +2 -2
- package/dist/assets/{AttachmentView-Afp_U4fV-8-c7IhJe.js → AttachmentView-C8AgUAnY-CXbbCi9n.js} +8 -8
- package/dist/assets/{BankAccountSection-CNQgxgSJ-Bj0DaA_J.js → BankAccountSection-DB4PEf_X-BThY20p4.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-V0HHzW57-vrqdtD7y.js → BankAccountWarningSection-BNO8Gl59-Cj0YvVYP.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Bk8K0xUn-CeZc6fuw.js → BankConnectionsSettingsPage-BOreBo5b-ClbcS0AA.js} +22 -22
- package/dist/assets/{BillDetailPage-D9d6X0o4-DnbAMdeA.js → BillDetailPage-Bv86SywV-OjQAhExV.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-CSVTc5Mn-zEJJLZMO.js → BillPayApprovalRuleDetailPage-CDXxmD-3-CPsk0oK8.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-DIOOCVKH-ec-IeSJ_.js → BillPayApprovalRulesPage-Ci5Ok7Zj-tof82RhM.js} +3 -3
- package/dist/assets/{BillPayPromoPage-C44YKAlE-CZ8TnOy7.js → BillPayPromoPage-Co2j2krO-DmiPp1nW.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-erTIfKkS-B8D6nffd.js → BillPaySetUpPage-DjpCUZaT-BN2J-t4G.js} +2 -2
- package/dist/assets/BillingSettingsPage-CAs7DZQz-CqK9Ho86.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-BurxqQ7q.js +1 -0
- package/dist/assets/{BoxItem-UFBGpfBB-Hna_3gSj.js → BoxItem-BqLhtWoJ-N1dze3h9.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Cl7jz1DF-P_BUnpPu.js → BusinessVerificationPage-CZGOzc9Z-fjFONiSD.js} +8 -8
- package/dist/assets/{CardNumberSubText-DyFZudV_-B0AxiMNx.js → CardNumberSubText-23sLjCVt-BzieyTnf.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D0_YW2Dy-CJHMwowQ.js → CashbackDetailPage-DY0n94jz-BUYqnV34.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-YkvyvIEk-C3d7vBC0.js → ChargeCardDetailPage-NWTPnGtM-D2U2Irky.js} +58 -58
- package/dist/assets/{ChargeCardListPage-4vg8Q6bl-Btxhg5jy.js → ChargeCardListPage-D42dfnET-QGICTWTK.js} +35 -35
- package/dist/assets/{ChargeCardListTable-Dl-rblE6-D5iGQu5n.js → ChargeCardListTable-B7uRDVzb-T3KA1SlK.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-CXiXee-8-DqF9CwRb.js +190 -0
- package/dist/assets/{ChargeCardSetupPage-BSiJnRP_-y1F_pjxz.js → ChargeCardSetupPage-Ccc8PoCm-BSIg4VNL.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-NkfA1SYG-kW4Au9ab.js → ChargeCardStatementsPage-JEslDm3r-C_RfZvQ8.js} +4 -4
- package/dist/assets/{ChargeCardUtils-CLpd-HDH-dMJ2Q_93.js → ChargeCardUtils-B3JEziD7-CwQE9qIG.js} +1 -1
- package/dist/assets/{ChaseOverlay-B1cuawle-CSkF_51t.js → ChaseOverlay-KLet3F9X-BJh9nem5.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-JYHyo9Hw-BwsvgZ74.js +206 -0
- package/dist/assets/{CollapsableReportTable-iMD5xyGN-DxpM_9bu.js → CollapsableReportTable-DshWn4Fc-1Ky5jq0N.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-BA7etm2I-DTt9FR5w.js → CompanyOfficerDetailsSection-DWqEolPc-C_ETEVFs.js} +26 -26
- package/dist/assets/{CompanyPassportCard-Dks4EQDN-B0Dzj-Sj.js → CompanyPassportCard-fyolEQTs-BpIPYjUj.js} +2 -2
- package/dist/assets/{CompanyPassportPage-Denliwgg-BRN9vOeB.js → CompanyPassportPage-CrgsRRVr-WqqSGX_w.js} +140 -140
- package/dist/assets/{CompleteProfile-CCLq4pNY-CtKBUzOW.js → CompleteProfile-D_zq0Bxi-Bi1YeUNU.js} +10 -10
- package/dist/assets/ConfettiBurst-CZuMHGP8-BTcuXQPa.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-BFejWQMx-C7NqnKds.js → CreateOrEditVendorPage-Ct4Kfowi-Drrod2cP.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-B7Sesq_n-DvfL88dh.js → CreditCardPaymentDrawerPage-Cpu-7pGN-z0mDR9Zy.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-D5CNl0oa-DiWqHLoj.js → CreditCardPaymentPlgSection-DoMaCnIZ-BpT8OJXl.js} +10 -10
- package/dist/assets/{CurrencySelectField-DYvc6rwt-DrMXyXgk.js → CurrencySelectField-CCOtXLC7-DmgJhn-v.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-oUiw--hv-uDxfiRoM.js → CustomerOnboardingActivationPage-Cgzif1ji-CPNUkRDw.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-DwYZZ9jR.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BaDpU--M-Dr2X5vzk.js → CustomerOnboardingDetailPageSkeleton-BOMwRZEO-PNOXFbTm.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-C_cxcuWE-BQPyN4r3.js → CustomerOnboardingNoStepsPage-DDloVGvk-EFD3k0Z1.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-DHji4ZmF-vPwCgWM6.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DEqdhh-2-DNDa-YZB.js → CustomerOnboardingProductSuitePage-BA3GAX42-usBGW0iL.js} +4 -4
- package/dist/assets/Dashboard-Cr5ugENA-_ss7RgaI.js +1251 -0
- package/dist/assets/{DashboardReportPage-Tq4KsQuw-C0NFJvrJ.js → DashboardReportPage-paPVk_v2-7626om2P.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-DWhVL-kH-HToIlcYx.js → DepositAccTransactionItem-BXRfgUfE-Bcw5EG9I.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-BiaZBvV4-Eo8UgPbX.js → DepositAccTransactionListPage--7TRlqKj-zqnHB4vQ.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-eGDvEOvr-Dfhgnjgy.js → DocumentSecurityBanner-B0Qt1FLC-BKK2GBle.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-RoRpMC50-Dx8FlvWR.js +21 -0
- package/dist/assets/{DownloadOverlay-C0vGOFIR-CLlCJb4E.js → DownloadOverlay-Cl_EXjiu-_W4-6wVr.js} +20 -20
- package/dist/assets/{DrawerPage-keu-rP1c-BE2Fh2qJ.js → DrawerPage-wXwAaYEB-ClkK54Ag.js} +8 -8
- package/dist/assets/EditPeoplePage-xDL6VA_r-DBIETQHy.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-jqf5akyj-a9iq4xwG.js → EditReimbursementDetailPage-BUpJPJNu-BuRQj9KF.js} +74 -74
- package/dist/assets/{EntityDetailPage-D0mZIEcR-Rg_90ffL.js → EntityDetailPage-BNXqSwVL-BtqM-DEW.js} +2 -2
- package/dist/assets/{EntitySummarySection-bL2stKO1-CambP6kY.js → EntitySummarySection-MZ57i-bY-H7IGJvB2.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-Cm00uGHv-BucC69E3.js → ExpenseAutomationOverviewPage-Y3IHs4dG-BCr8LQIN.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-BA8sRxM--BvNgZY1Q.js → ExpenseAutomationPage-C0hvPLo7-CxYhLUjG.js} +84 -84
- package/dist/assets/{ExpressPayPage-DRNbLpuL-BTcYYJnP.js → ExpressPayPage-Bncb54-Q-m2KDux54.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-CeeAOF5C-DHX56uCl.js → FeaturePreviewPage-BnGBEF9H-DIdV1EEF.js} +2 -2
- package/dist/assets/{FollowStepsSection-DuElPK3y-dhjgL0Nu.js → FollowStepsSection-laCvnETV-BKhPlVRt.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DfjZMTms-DrRjYv7e.js → GlobalReviewListPage-CskEuHc5-BvuvkrWm.js} +10 -10
- package/dist/assets/HelpButton-D5ZYyQMh-D3OqqJNA.js +28 -0
- package/dist/assets/{InformationCardStack-CmquAm7A-Bio4HHzL.js → InformationCardStack-BFJqdH9n-Cbvb8Zyt.js} +5 -5
- package/dist/assets/{InsightsCardStack-D5ahtQWr-B_JxN54j.js → InsightsCardStack-CcoMWMiA-BcmYr1H8.js} +9 -9
- package/dist/assets/{InsightsSection-xgqf4arB-CemPO1xM.js → InsightsSection-D9PiJagu-DOwHVFks.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-Cl6dfKQL-WHKkc-0x.js → IntegrationsSettingsPage-CVmDobJ8-CKVB31Cy.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-D_jWoFli-CGo3Glkw.js → InternationalWireSwiftDetailsPage-DqW88v9N-H1bFtbsa.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-it1U4OPj-CAqG3vli.js → InternationalWireVerificationPage-X90z_30k-xPYg__QG.js} +17 -17
- package/dist/assets/{InviteFormPage-DTMy8xZk-2GrL0qjS.js → InviteFormPage-BK-PRmeH-BAomtB1K.js} +23 -23
- package/dist/assets/{InvitePageListView-X7W1jRxY-DLLNNo8k.js → InvitePageListView-6-iCc4BK-DiUJrTMB.js} +31 -31
- package/dist/assets/InvitePeoplePage-C9AwNqIx-U6OqJmP1.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BhCDvIPX-e244hYqN.js → InvoiceUploadSection-D5aF4auL-D8CZg2Vk.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-CqE8lMsX-CQoXeSdg.js → IssueChargeCardPage-C_xt7hKZ-CgCvIFoE.js} +22 -22
- package/dist/assets/{LabeledAddressValue-CCEVX0ke-Dr-Y2rNd.js → LabeledAddressValue-DpSK0MqC-D58RjKgD.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-B9iirKZj-B-lkILdh.js → LabeledAddressValueField-_LY7c-ZC-EdJfII0E.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-Bl3-Zao6-CHB8td0R.js → LabeledControlledCheckBoxField-FB40Z8J7-CUjOIHO8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-v86g-OZd-NNxB-j11.js → LabeledCreatableSingleSelectField-paSeI8_R-COJp3Y9m.js} +7 -7
- package/dist/assets/LabeledDocumentField-DiMgPKtR-DDw2gK-2.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-DsjpTL6X-BQHdfd5e.js +59 -0
- package/dist/assets/{LabeledText-D9feJraX-o9BoQjAH.js → LabeledText-CyXj8QWV-DunmbzZf.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BKNBvO_C-BxGzxKzb.js → LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-oJIrTzfz.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-AwQaO42N-CKgF9hTJ.js → LabeledZeniRolesDropDownField-D0cQlbhO-Dqs02jMf.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-D3I2NvQw-P3R8MlXe.js → LinkJETransactionPage-DaXjiQRp-CH9vE8pm.js} +8 -8
- package/dist/assets/{LowBalancePopup-OSUi1Alp-BiLt2AdI.js → LowBalancePopup-CdftTvLb-DzgqRFO5.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-r3XSoJ11-Cv-fI0u0.js → MagicLinkACHDetailsPage-C25i1T4c-B_gtZsWu.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DPG9fUzZ-B7fiv6MZ.js → MagicLinkDomesticWireDetailsPage-B0r3WStl-CY0AGP-m.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CmXJXEaN-Tp9z-x5e.js → MagicLinkInternationalWireDetailsPage-C-ev-6xJ-DYlN82pS.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CwszAuW2-Bix3eRV8.js → MagicLinkSuccessPage-7JG3V4Qt-Brf6FY6k.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-CvrbJ-of-B5SXKUsj.js → MagicLinkTitleSection-DEe0hhml-De1g7fYA.js} +3 -3
- package/dist/assets/{MailingDetailsSection-BJHZIZCt-Dq0ArLOp.js → MailingDetailsSection-Qc65E0w3-C6CH0-UP.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-C4r3bJ84-B_7Xob1I.js → MeetingCalenderPopup-Dh8meV6d-BwK6voO1.js} +1 -1
- package/dist/assets/{Menu-MHZ6Ibt0-DsBN8RMC.js → Menu-DyfXBl_1-H_GViJ7L.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-DG1tuqAt-BHEUeVdz.js → MyBankConnectionsSettingsPage-CCFcVgyX-Cj9pmtPo.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-DZyxqqyJ-BhPK50AW.js → MyPendingActivationChargeCardListPage-DS966wTB-DXMBzQKu.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BnNbspx9-D_qqDWXw.js → MyProfileSettingsPage-BRRzMoQL-z-2QKlLv.js} +8 -8
- package/dist/assets/{NavBarWithPicker-3okDhiol-CJJ9BrpE.js → NavBarWithPicker-BvWih0k0-DqsmpQXd.js} +2 -2
- package/dist/assets/{NavigationArrow-iw-yd_9S-DvXlGggY.js → NavigationArrow-DYSL2aDL-BJUiAKpZ.js} +9 -6
- package/dist/assets/{NavigationDots-CB5JLuJi-Bme4BexN.js → NavigationDots-DyyCcIih-C83s6vN7.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CcGws2R2-Coiq6yZx.js → NewGlobalMerchantPage-DjEvzM4M-D2PAZo-X.js} +33 -33
- package/dist/assets/NoDataChart-DE6NV823-DlzVvXWT.js +26 -0
- package/dist/assets/{NoDataTable-BbDo9Kma-CGZ-ZRju.js → NoDataTable-CXNsBBVP-CNpKcnQr.js} +1 -1
- package/dist/assets/{NotFoundPage-gbtwlR8l-C8W_IclM.js → NotFoundPage-CuuO2Mia-DtoiuMBe.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-slkQwvVZ-C6_X1MwL.js → NotificationSettingsPage-C7ilxUAV-DVBhuDeZ.js} +16 -16
- package/dist/assets/NotificationsListConfig-TBQMobJ5-Dg1BFWgp.js +1 -0
- package/dist/assets/{NotificationsPage-BAyRPK64-D9pYswFj.js → NotificationsPage-BjaKD99B-HczC9sOP.js} +32 -32
- package/dist/assets/{OpExByVendorPage-CofD6hKi-_r0JCjwW.js → OpExByVendorPage-IuDiHnIW-DSQhabH4.js} +5 -5
- package/dist/assets/{OverlayContainerPage-nhe7xtoR-BqnlKexX.js → OverlayContainerPage-C0rUb6-5-zCXylyg1.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-_uOEFXiy-uRGPUMun.js → PandLWithForecastPage-DLvgYpF8-BvtUu1nj.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C0zGxU4f-BbIQnivK.js → PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DItr6wpu.js} +8 -8
- package/dist/assets/{PeoplePage-8GExF-Lt-DycjJFii.js → PeoplePage-DyqY-rIV-6wYuIYCy.js} +19 -19
- package/dist/assets/{PortfolioAllocationFormPage-CMKEE7P7-BAgV1W9Q.js → PortfolioAllocationFormPage-DTuKtkwr-BCUD0jpE.js} +3 -3
- package/dist/assets/{PortfolioDetails-A3P3vG57-D-PvzBt-.js → PortfolioDetails-DJFeMG4U-jhRfPjHw.js} +11 -11
- package/dist/assets/{ProductsCarousel-D9H3mUJ--BVzwDfPL.js → ProductsCarousel-CS4_yc80-CJENMC5j.js} +7 -7
- package/dist/assets/{PromoBaseCards-CF0Bv_9G-CPu8OwaX.js → PromoBaseCards-BZ2m6LfO-DtHfjjw4.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-D2zi5wKm-BnMrx2Jb.js → QBOConnectionDialog-2vJQuslh-gswZrMuL.js} +6 -6
- package/dist/assets/{QBOSetupSection-B3Dj2g2k-B6Vh45jl.js → QBOSetupSection-Yv3Xw-yn-CsTlHo9j.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DgpHHy3U-CVsGPnLd.js → ReimbursementApprovalRuleDetailPage-tvJ2APRB-CJktCsdd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BjFi-uJl-B-1i4jgW.js → ReimbursementApprovalRulesPage-_nXCDa2A-BNgKNHzv.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-BersvjG9-CWQWXTAd.js → ReimbursementDetailPage-CtEAsq7u-DRdTiZKG.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-K8dT-rtu-ejmkM2xl.js → ReimbursementPromoPage-BaEX5Ej4-BuvxoLSr.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-CfBuIpx6-BHJ5mWF-.js → ReimbursementSetUpPage-DXOqEJL4-iJtd4hOD.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-yaSD_tF5-CtbYjDdi.js → ReimbursementsBulkReviewDrawerPage-HQg1y1K--CLvh9oMo.js} +1 -1
- package/dist/assets/{ReloadCard-Do9Znv21-BdHDUomQ.js → ReloadCard-stfG9ekP-E5rZnPxi.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-D1UrK7VQ-B2lv_ic2.js → ReportTableViewSelector-_RTCd2td-Bc2QvO79.js} +7 -7
- package/dist/assets/{ReportsPage-dER5Ukfc-CkbR9-hx.js → ReportsPage-BIzz5Dt_-NFZB2f2n.js} +9 -9
- package/dist/assets/{RevenueChart-CCr_XauF-DE6xvLaq.js → RevenueChart-DeDVVUge-BKnJBaLk.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-ZoXTLGfR-CMQzdLlE.js → ReviewDetailsPage-DZqPpiln-DMAHDtV0.js} +19 -19
- package/dist/assets/{ReviewOverlay-Bywh-8pJ-CohY-7e4.js → ReviewOverlay-DcBe94Sd-COJlSRKh.js} +14 -14
- package/dist/assets/{RoleWithToolTip-CX9tF-BO-CfHGhDZn.js → RoleWithToolTip-DZO2tooH-B0y78jDy.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BEXr2qc0-BzP6cE1T.js → ScheduleDetailsFixedAssetsPage-Cl8iBII0-5-jnemx1.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CR8uJC5O-BvWjtOn1.js → ScheduleDetailsPage-D6ZxZ2uU-CKiYugJn.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-D7kDvImN-BYm5tvmN.js → ScheduleSequenceTable-eRImHbZn-zcCUBGZK.js} +50 -50
- package/dist/assets/{ScreenRoutes-wesefRwS.js → ScreenRoutes-CXwvcn5x.js} +1 -1
- package/dist/assets/{SetUpAccountSection-B0J0zCOF-BgXG5DS8.js → SetUpAccountSection-BBZNI1Xl-C0b9akyJ.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-ES6v0-xw-DftidMnh.js → SetUpDefaultSection--9Qh-utY-3YrGFMUC.js} +16 -16
- package/dist/assets/{SignIn-yQ-8MBRA-CihMyZ7q.js → SignIn-CI0Ik2va-3pWKv9Zj.js} +19 -19
- package/dist/assets/{SignInScreen-DS6fEfuU.js → SignInScreen-CCdAg0VB.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-_rUojA3M-EqvrqWBS.js → SpendManagementListViewPage-NWkSnIdD-CxhuHjHo.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-Bhes-f7M-Cb3eyaQr.js → SpendManagementPerTabPage-CdWwn_b8-liFVp2pd.js} +47 -47
- package/dist/assets/{SpendManagementSection-CQHWqht2-DUZQM13E.js → SpendManagementSection-DGhD95sz-DwpipRyt.js} +9 -9
- package/dist/assets/{SpendMgmtSetupAccountSection-BHZ9nmWy-XOLb3Fur.js → SpendMgmtSetupAccountSection-DG4ozkeT-CwbSJso6.js} +14 -14
- package/dist/assets/{StatementItem-CKnsnb3u-ChM8cclP.js → StatementItem-BlfBohft-EV50IPyl.js} +8 -8
- package/dist/assets/StatementsPage-CUpjL5u7-BCXI4rzX.js +58 -0
- package/dist/assets/{StatusSwitcher-xR-S3KaW-BKRdafwP.js → StatusSwitcher-C6703BAG-BvT29XW2.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DczmDw-I-DARuAs1S.js → SubTabSwitcher-lf9S7Ubj-DJDWAJ0r.js} +1 -1
- package/dist/assets/{SummaryCard-YTxf_JPz-B8RE6XJZ.js → SummaryCard-yghz4PLR-Bjx-2ODn.js} +1 -1
- package/dist/assets/TaskManagementPage-Cf523C5f-IxjfQuXH.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-C5yC8ifv-C8eV7Phr.js → TimeRangeSwitcher-BoPrOhKX-BejCCLXp.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-D1xKpIjp-DZocHPU3.js → TimeframeSwitcher-DufweySH-PZfP9LZt.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-4nzCluDg.js +31 -0
- package/dist/assets/{TopExCard-CJN2nSdQ-Dyx710RI.js → TopExCard-DrOjlLiv-BAcprpz7.js} +6 -6
- package/dist/assets/{TopExDetailPage-ClQK2WDh-vTx0gLy7.js → TopExDetailPage-Ds4zlxKD-CEw3GubR.js} +11 -11
- package/dist/assets/{TransactionDetailPage-CcNUBQmc-Bqi04LL8.js → TransactionDetailPage-Csl-Qjxp-EnZp16li.js} +47 -47
- package/dist/assets/{TransactionList-Dtqr5BZm-2I1pMc5u.js → TransactionList-2HeLZVn9-CrbbPmBE.js} +13 -13
- package/dist/assets/{TransactionListBig-D5_iDOBi-CLtD8kFo.js → TransactionListBig-p6iVof9y-BIk3tMms.js} +18 -18
- package/dist/assets/{TransactionListPage-DUCJRiyi-Bc5rziPm.js → TransactionListPage-tnL66tOu-CH3TLKSv.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-DSpchZAl-CViZ0jmN.js → TransactionVendorDetailPage-DzkUYyCr-CDrpLHNP.js} +6 -6
- package/dist/assets/{TransferDrawerPage-BKWQEojA-CbMkqPsC.js → TransferDrawerPage-B9MGSdS9-CzcQLCyn.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-D1D2WipM-Pwv9-UGk.js → TreasuryOverviewPage-BEzBuOWn-BGywb4hM.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-BKgJHnC1-DyZjT5wh.js → TreasuryPromoPage-C8X4X7iN-D0YArboa.js} +15 -15
- package/dist/assets/TreasurySetupPage-Cb_GW75l-CXuYmMxJ.js +152 -0
- package/dist/assets/{TreasuryStatementsPage-DKHWWnrU-B3Bgyu2R.js → TreasuryStatementsPage-sOiD2QYm-_sZuOKSh.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-ieX9MUQd-FaNLEXUv.js → TreasuryTaxLetterPage-DYzqfHym-58oHHynw.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-DebuIwR3-DyjGtRDG.js → TreasuryTransferOrReviewPage-CesaUuNp-BPIM69Eo.js} +85 -85
- package/dist/assets/{TrendChart-B3VgdtYY-Dy5fluFV.js → TrendChart-kwGU0d90-GuSGL0hJ.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BMorBxWJ-C0G8In8o.js → TrendWithTransactions-CUlTYGIm-CezwwQyi.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BtmfySl9-BN2ZnER4.js → UncategorizedAccountsMappingPage-D76VPNEd-0jriRkP3.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-ByqJQgJ1-BX7a3DQa.js → UnitIntegrationPage-BsZCe-lq-DHXBulD5.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-Dwv3x7HQ-Ct27O0zE.js → UploadAdditionalDocumentOverlay-B3tUNhKj-B-Cnmuf3.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BVCUSOMr-BGHN4Pyc.js → Vendor2FAPopup-Bk-WKgMh-DEL2u-h6.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Cyp1bTJx-DCBHt584.js → VendorACHDetailsPage-u8a3XF33-D560uVGS.js} +1 -1
- package/dist/assets/{VendorDetailPage-1_rVoehK-BobdIlMd.js → VendorDetailPage-B-RdB79n-DCaK7fJL.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-B0wv2GP--DTrjpRQD.js → VendorDomesticWireDetailsPage-Bhb1Dmge-CBaHEUU6.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C5rHkQrV-CdnxzjBF.js → VendorFiling1099EditablePage-DHRivhBg-D2O_5fGv.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-CDlmZHmw-F8vzLeda.js → VendorFirstReviewPage-Cn2GBsyl-Crwyd647.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-Cdy000Jx-D5vc2ds4.js → VendorInternationalWireDetailsPage-Cjx1hvUL-CfeyeaMQ.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DRN-5n5Y-BNzUBPow.js → VendorInternationalWireSwiftDetailsPage-BszRCCDh-BwXuAv_8.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Ba7QpWAm-BA29ezpA.js → VendorsAccountsSection-D6VSJUo1-D3zBJygS.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DCUPzxfi-Cw0kcPsl.js → WarningsDrawerPage-DReVGPEj-CByBNeKa.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-DF7Tn3t3-Bb4ItLLQ.js → ZeniAccountDetailPage-CFTB_WYX-BNpX3bjE.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-Cz9v3TCo-DC90elHU.js → ZeniAccountListViewPage-BmYgbIuC-CB7ObKhn.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-gzy5T7nu-3EZY4gW6.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D7veJGZk-CE2g39oZ.js → ZeniAccountPromoPage-AfRVTc8V-Ck8cpTYF.js} +10 -10
- package/dist/assets/{ZeniAccountSetupPage-ftl559Pj-DUN6Xu8R.js → ZeniAccountSetupPage-YXJmpz_d-DVvqqczO.js} +1 -1
- package/dist/assets/{ZeniCopyright-BScA_p2_-3vVWZkac.js → ZeniCopyright-CqpcrgAZ-sq7_yXnA.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Bu23FZCA-L2os7fMa.js → ZeniTransferAmountSlider-DGkzRyMW-Btixfh5b.js} +1 -1
- package/dist/assets/analytics-DThoELaW.js +7 -0
- package/dist/assets/{analyticsHelper-SSZc85h7.js → analyticsHelper-adG_BjY9.js} +1 -1
- package/dist/assets/{analyticsHelper-CGq-fGOi-CdOAgckK.js → analyticsHelper-sgo3pabT-K1toqw66.js} +1 -1
- package/dist/assets/{chartTypes-ChsIdl40-BAMg3Yoy.js → chartTypes-Dj-_K0Gi-BTPAwFj5.js} +1 -1
- package/dist/assets/{commonDimensions-Dk1fkj7r-DiuY44GO.js → commonDimensions-CKgBEMhT-DV1PneSk.js} +1 -1
- package/dist/assets/{detailCommon-BdiFpATU-C4tIDJfX.js → detailCommon-vtB2ffbe-CI1tw59v.js} +6 -6
- package/dist/assets/{downloadPdf-h21F3Bzk-BukvqPr-.js → downloadPdf-CiC0AXNH-BaYefCbJ.js} +1 -1
- package/dist/assets/{index-BU_OFOHO.js → index-nrhSmhQT.js} +3364 -3324
- package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-Bimz-BOL-DbOC86fY.js → mapLoadingInProgressToTreeNode-0MIZwF_y-C-JcxjaL.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dy2RH2lH--F7hkKSm.js → mapSectionWithAcOnlyToTreeNode-CWaIGa37-TStxu4Jm.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CadZGfr8-BC_KRXsY.js → mapSpacerToTreeNode-1Bdqp9WS-BwfPBFlV.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BvXiirfs-BVF2yIEM.js → mapTimeframeBalancesToTreeNode-MPZhFWqo-BaV0QGS3.js} +1 -1
- package/dist/assets/mui-C5LQ0bMa.js +25 -0
- package/dist/assets/{play-icon-DD7TfH-R-DFC4jJ2P.js → play-icon-CF-Mkuir-DlDAGdqf.js} +1 -1
- package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
- package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-Dy9J_UtA-BOr91SlJ.js → toCOABalancesWithID-D1BwrImS-goHqPuef.js} +1 -1
- package/dist/assets/{toChartData-BdomEAJ--DsSFVPa5.js → toChartData-DVTo0PPD-CtviYuE-.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D2LtJllD-vFc_5JFm.js → treasuryColorHelper-QzSX5YTe-9nXuNVNj.js} +1 -1
- package/dist/assets/{uploadAttachment-C5PL0FaC-BEd4sEZo.js → uploadAttachment-BxwOR3I5-CYLMnUD6.js} +29 -29
- package/dist/assets/{uploadReceipts-BH9fi3Vt-Dy17GpvZ.js → uploadReceipts-Buvz7DfG-D9z5xpPz.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-d3ST-rTL-C3RGUA9e.js +0 -18
- package/dist/assets/AccountRow-t4I1y-2K-CtaiIm2n.js +0 -298
- package/dist/assets/BillingSettingsPage-CmvoTc8r-DeChOFZr.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-OSbHVAMk-DHypnLOn.js +0 -1
- package/dist/assets/ChargeCardPromoPage-BzcIsHeK-DWt1qpzp.js +0 -175
- package/dist/assets/CheckDepositDrawerPage-BwJ5tAF--BOjUwQ0e.js +0 -206
- package/dist/assets/ConfettiBurst-MKPxinI7-D5PjCF0D.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-D2xC_a0G-Edo-ai-j.js +0 -1
- package/dist/assets/CustomerOnboardingPage-Cuf1lJmu-DJVUg9pf.js +0 -107
- package/dist/assets/Dashboard-DnR1KvYd-qcmjh10k.js +0 -778
- package/dist/assets/DomesticWireDetailsPage-Bvmpk8LN-Cb6zfshw.js +0 -21
- package/dist/assets/EditPeoplePage-BTnhywM--C7FSnENf.js +0 -55
- package/dist/assets/HelpButton-BKCFqzW3-mV3KEyfP.js +0 -28
- package/dist/assets/InvitePeoplePage-fzgtceuE-Ds-gEhhL.js +0 -12
- package/dist/assets/LabeledDocumentField-Dv4qzOY0-B2ZnIaW5.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-BFMEaVfR-Cbq5gKFg.js +0 -59
- package/dist/assets/NoDataChart-BsN_tNbW-DRgn1703.js +0 -26
- package/dist/assets/NotificationsListConfig-DtsQwW2b-D98CVoY-.js +0 -1
- package/dist/assets/StatementsPage-B73U7d9e-DHwgyw8_.js +0 -58
- package/dist/assets/TaskManagementPage-LDFC29Ik-C44JMD6X.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BiHAqit5-BfVPVHhs.js +0 -31
- package/dist/assets/TreasurySetupPage-C2JtTOhh-C5WOQnSa.js +0 -152
- package/dist/assets/ZeniAccountNavBarPieces-BSObmR0D-Dr6kpot6.js +0 -14
- package/dist/assets/analytics-BSSiLa6f.js +0 -7
- package/dist/assets/mui-BgvZYSo0.js +0 -22
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import{X as C,M as ee,j as r,u as N,t as ue,d1 as ge,a1 as we,_ as fe,l as ye,fk as $e,aW as Ce,o as t,b$ as be,k as re,c0 as je,Z as Se,C as h,bN as Te,bs as ze,g as f,K as W,Y as K,i5 as ve,p as u,Q as T,ao as Pe,a6 as ke}from"./index-nrhSmhQT.js";import{b as z,n,j as Be,k as Ie}from"./vendor-CnQcJ2Lu.js";import{x as Ae}from"./MeetingCalenderPopup-Dh8meV6d-BwK6voO1.js";import{f as Le}from"./NavigationDots-DyyCcIih-C83s6vN7.js";import{J as D,N as F}from"./PromoBaseCards-BZ2m6LfO-DtHfjjw4.js";import{M as L}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const x={midContainerMarginBottom:new h(u[5],u[7]),containerPaddingTopBottom:new h(u[0],u[0]),uspContainerMarginX:new h(u[6],u[0]),buttonTrayGap:new h(12,u[4]),midContainerGap:new h(u[4],84),iconContainerMinHeight:new h(236,396),emptySectionHeight:new h(u[6],43),navigationBottom:new h(u[4],94),navigationLeft:new h(192,244),carouselHeight:new h(268,396),carouselMarginTop:new h(54,u[4]),carouselMarginLeft:new h(120,u[12])},v={promoBadgeText:new T("standardRegular","largeRegular"),promoBadgeTextBold:new T("standardBold","largeBold"),cardsContent:new T("extraSmallRegular","smallRegular"),contactAdmin:new T("extraSmallRegular","smallRegular"),uspText:new T("smallRegular","standardRegular"),uspBoldText:new T("smallMedium","standardMedium")},{common:Re,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=ee.getLocalizedStrings(),Sr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:d,showEnableCardButton:i,controllerEmails:a,isCardsOnlyTenantOrCreditCardFeatureEnabled:p,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:y,isChargeCardSetupEnabled:g,admins:j,cashbackRate:S,cardPromoType:w="credit",onSetupButtonClick:c,onBackClick:l,onClickMenuIcon:se,onSetupChargeCardSuccess:U,onExpressInterestClick:de})=>{const le=N(),H=ue(),R=C(),O=ge().analytics,{chargeCardTermsDetails:M,companyChargeCardInfo:b,companyLocaleInfo:_}=d,G=we(M?.fetchStatus.fetchState),[ce,J]=z.useState(!1),me=()=>{O.trackCardsPromoPageClicked("schedule demo"),O.trackCardsScheduleDemoClick(a,{isCreditCardOffered:p,isDebitCardOffered:m,isDebitCardEnabled:y,isCreditCardEnabled:g},"Cards Promo"),J(!0)},pe=b!=null&&_!=null?fe("0,0",{amount:b.chargeCardsCreditAccountLimit,currencyCode:_.currencyCode,currencySymbol:_.currencySymbol}):void 0;z.useEffect(()=>{G==="In-Progress"&&M?.fetchStatus.fetchState==="Completed"&&U()},[G,U,M?.fetchStatus]);const xe=ye.hasChargeCardAdminLevelAccess(H.loggedInUserRoleMap),he=$e(H),X=w==="credit"&&b?.isCompanyInterestedInChargeCard===!1,Z=w==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit===-1,V=w==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit===0;return r.jsxs(Ue,{children:[r.jsx(Ce,{title:o.title[w],backgroundColor:le.colors.grey4,onBackClick:l,showBackButton:!0,showMenuIcon:R==="medium-compact"||R==="small",onClickMenuIcon:se,style:{zIndex:9},source:"ChargeCardPromoPage"}),ce===!0?r.jsx(Ae,{onCancelClick:()=>{J(!1)},meetingUrl:e}):null,r.jsx(He,{windowSize:R,children:xe===!0?r.jsxs(r.Fragment,{children:[r.jsx(Ee,{creditAmount:pe,cardPromoType:w,isUnderReview:V,isRejected:Z,showExpressInterest:X}),r.jsx(te,{forAdmin:!0,cardPromoType:w,cashbackRate:S}),r.jsx(_e,{showEnableCardButton:i,chargeCardSetupView:d,handleSecondaryBtnClick:me,onSetupButtonClick:()=>c(w),onExpressInterestClick:de,cardPromoType:w,isUnderReview:V,isRejected:Z,showExpressInterest:X})]}):r.jsx(De,{companyLegalName:s,cards:[],admins:j,hasZeniFinopsRoles:he,cardPromoType:w})})]})},Me=({admins:e})=>{const s=e.flatMap(i=>i.user?.firstName+" "+i.user?.lastName).join(", "),d=C();return r.jsxs(tr,{windowSize:d,children:[r.jsx(E,{underline:!1,windowSize:d,children:o.noCardAssigned.pre}),r.jsx(ze,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(E,{underline:!0,windowSize:d,children:o.noCardAssigned.tooltip})}),r.jsx(E,{underline:!1,windowSize:d,children:o.noCardAssigned.post})]})},_e=({showEnableCardButton:e,chargeCardSetupView:s,isUnderReview:d,isRejected:i,showExpressInterest:a,handleSecondaryBtnClick:p,onSetupButtonClick:m,onExpressInterestClick:y})=>{const g=C(),{expressInterestInChargeCardFetchState:j}=s,S=a?o.expressInterest:e?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Ze,{windowSize:g,children:[d||i?null:r.jsxs(Ve,{windowSize:g,children:[r.jsx(W,{variant:"secondary",label:o.scheduleDemoButton,onClick:p,"data-testid":K("schedule-demo-button")}),r.jsx(W,{variant:"primary",label:S,loading:s.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||j==="In-Progress",onClick:S===o.expressInterest?y:m,"data-testid":K("enable-card-button")})]}),r.jsx(ve,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:d||i?void 0:a?o.terms.approvalTerm:e?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:!a&&!d&&!i})]})},Ee=({cardPromoType:e,creditAmount:s,isUnderReview:d,isRejected:i,showExpressInterest:a})=>{const p=C(),m=e==="debit_and_credit"?o.promoTextDebitCreditCard:e==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,y=a?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(Q,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,o.promoBadgeText.nonPreApproved.higherLimits]}):d?o.promoBadgeText.underReview:i?o.promoBadgeText.rejected:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(Q,{color:f.success,children:s}),o.creditLimit,Re.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:p==="small"?r.jsxs(r.Fragment,{children:[r.jsx(ae,{children:m}),r.jsx(ne,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(ie,{children:m}),r.jsx(oe,{children:o.promoSubText})]})}),r.jsxs(Ge,{cardPromoType:e,hideBadge:s==null||e==="debit",windowSize:p,children:[d||i?null:r.jsx(cr,{}),r.jsx(Je,{windowSize:p,children:y})]})]})},De=({companyLegalName:e,cards:s,admins:d,hasZeniFinopsRoles:i,cardPromoType:a="credit"})=>{const p=C(),m=a==="debit_and_credit"?o.promoTextDebitCreditCard:a==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[p==="small"?r.jsxs(r.Fragment,{children:[r.jsx(ae,{children:m}),r.jsx(ne,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(ie,{children:m}),r.jsx(oe,{children:o.promoSubText})]}),s.length===0?r.jsx(rr,{windowSize:p}):r.jsx(Fe,{cards:s,companyLegalName:e}),r.jsx(te,{forAdmin:!1,cardPromoType:a}),i?null:r.jsx(Me,{admins:d})]})},Fe=({cards:e,companyLegalName:s})=>{const d=N(),i=C();let a="",p;if(e.length===1){p=e[0].cardCreatedByUser.photo;const m=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;a=o.cardAssigned.singleCreditCard.replace("__issuing-user__",m).replace("__company-name__",s)}else a=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(or,{children:[p!=null?r.jsx(Oe,{width:t.sp5,height:t.sp5,style:{paddingTop:i==="small"?t.sp1:t.sp0},src:p.href,alt:ee.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:m})=>{m.onerror=null,m.src=Te},loading:"lazy"}):null,r.jsx(ir,{windowSize:i,mode:d.mode,children:r.jsx(ar,{windowSize:i,children:a})})]})},Y=({windowSize:e,cardPromoType:s})=>{let d=o.businessText;return s==="debit"&&(d=`${d} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Ne,{}):r.jsxs(Ke,{windowSize:e,children:[r.jsx(D,{cardPromoType:s,cardText:d,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(F,{cardPromoType:s,cardText:d,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},te=({forAdmin:e,cardPromoType:s,cashbackRate:d})=>{const i=C(),a=e?o.admin:o.nonAdmin;return r.jsxs(Xe,{windowSize:i,children:[i==="small"?r.jsx(Y,{windowSize:i,cardPromoType:s}):null,r.jsxs(We,{windowSize:i,children:[r.jsxs(k,{windowSize:i,children:[r.jsx(I,{children:r.jsx(qe,{})}),r.jsxs(A,{children:[r.jsx($,{windowSize:i,children:a.item1.pre}),r.jsx(B,{windowSize:i,children:e&&d!=null?a.item1.bold.replace("__cashback__",(d*100).toFixed(2)):a.item1.bold}),r.jsx($,{windowSize:i,children:a.item1.post})]})]}),r.jsxs(k,{windowSize:i,children:[r.jsx(I,{children:r.jsx(Ye,{})}),r.jsxs(A,{children:[r.jsx($,{windowSize:i,children:a.item2.pre}),r.jsx(B,{windowSize:i,children:a.item2.bold}),r.jsx($,{windowSize:i,children:a.item2.post})]})]}),r.jsxs(k,{windowSize:i,children:[r.jsx(I,{children:r.jsx(er,{})}),r.jsxs(A,{children:[r.jsx($,{windowSize:i,children:a.item3.pre}),r.jsx(B,{windowSize:i,children:a.item3.bold}),r.jsx($,{windowSize:i,children:a.item3.post})]})]}),r.jsxs(k,{windowSize:i,children:[r.jsx(I,{children:r.jsx(Qe,{})}),r.jsxs(A,{children:[r.jsx($,{windowSize:i,children:a.item4.pre}),r.jsx(B,{windowSize:i,children:a.item4.bold}),r.jsx($,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(Y,{windowSize:i,cardPromoType:s})]})};let P;const Ne=()=>{const e=C(),s=N(),[d,i]=z.useState(0),[a,p]=z.useState(!1),m=o.businessText,y=`${m} ${o.debit}`,g=[{id:1,cardType:"debit",cardText:y},{id:2,cardType:"debit",cardText:y},{id:3,cardType:"credit",cardText:m},{id:4,cardType:"credit",cardText:m}];z.useEffect(()=>(a||(P=setInterval(()=>{i(c=>{const l=c+1;return l===g.length?(p(!0),0):l})},2e3)),()=>clearInterval(P)),[a,g.length]),z.useEffect(()=>{a&&P!=null&&clearInterval(P)},[a]);const j=(c,l)=>{switch((c-d+g.length)%g.length){case 0:return{transform:`translate(0,${l?"100%":0}) scale(1)`,zIndex:l?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${l?"80%":"5%"}) scale(0.75)`,zIndex:l?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};default:return}},S=c=>{const l=j(c,!0);return{...l,transform:`${l?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},w=c=>{a||p(!0),i(c)};return r.jsxs(nr,{windowSize:e,children:[r.jsx(sr,{windowSize:e,children:g.map((c,l)=>r.jsxs(dr,{children:[r.jsx(q,{isReflection:!1,style:{...j(l,!1)},onClick:()=>w(l),children:l===0||l===2?r.jsx(D,{cardPromoType:c.cardType,cardText:c.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(F,{cardPromoType:c.cardType,cardText:c.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},c.id),r.jsx(q,{isReflection:!0,style:{...S(l)},children:l===0||l===2?r.jsx(D,{cardPromoType:c.cardType,cardText:c.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(F,{cardPromoType:c.cardType,cardText:c.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-${c.id}`)]},c.id))}),a&&r.jsx(Le,{numberOfDots:g.length,activeIndex:d,handleClick:i,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:x.navigationBottom.valuePx(e),left:x.navigationLeft.valuePx(e),zIndex:7}})]})},Ue=n.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
+
`,He=n.div`
|
|
8
|
+
padding-top: ${e=>x.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
9
|
+
padding-bottom: ${e=>x.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
10
|
+
text-align: center;
|
|
11
|
+
`,ie=n(je)`
|
|
12
|
+
max-width: 927px;
|
|
13
|
+
margin: auto;
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
flex-wrap: wrap;
|
|
17
|
+
padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
18
|
+
color: ${e=>e.theme.colors.primary};
|
|
19
|
+
`,oe=n(Se)`
|
|
20
|
+
color: ${e=>e.theme.colors.primary};
|
|
21
|
+
margin: auto;
|
|
22
|
+
margin-top: ${t.sp2};
|
|
23
|
+
`,ae=n(be)`
|
|
24
|
+
margin: auto;
|
|
25
|
+
max-width: 343px;
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
text-align: center;
|
|
29
|
+
flex-wrap: wrap;
|
|
30
|
+
padding: ${t.sp5} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
31
|
+
color: ${e=>e.theme.colors.primary};
|
|
32
|
+
`,ne=n(re)`
|
|
33
|
+
max-width: 314px;
|
|
34
|
+
margin: auto;
|
|
35
|
+
color: ${e=>e.theme.colors.primary};
|
|
36
|
+
padding: 6px ${t.sp3} ${t.sp0} ${t.sp3};
|
|
37
|
+
text-align: center;
|
|
38
|
+
margin-top: 6px;
|
|
39
|
+
`,Oe=n.img`
|
|
40
|
+
border-radius: 50%;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
color: ${e=>e.theme.colors.hero};
|
|
43
|
+
`,Ge=n.div`
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: row;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
position: relative;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
padding: ${t.sp2} ${t.sp3};
|
|
51
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
52
|
+
border-radius: 96px;
|
|
53
|
+
margin-top: ${t.sp4};
|
|
54
|
+
margin-left: auto;
|
|
55
|
+
margin-right: auto;
|
|
56
|
+
margin-bottom: ${e=>e.cardPromoType==="debit_and_credit"&&e.windowSize==="small"?t.sp0:t.sp6};
|
|
57
|
+
width: fit-content;
|
|
58
|
+
gap: ${t.sp1};
|
|
59
|
+
${e=>e.hideBadge&&`
|
|
60
|
+
visibility: hidden;
|
|
61
|
+
`}
|
|
62
|
+
`,Je=n(re)`
|
|
63
|
+
color: ${e=>e.theme.mode==="dark"?f.brandColorJade:f.brandColorSapphire};
|
|
64
|
+
${e=>`${v.promoBadgeText.style(e.windowSize)}`};
|
|
65
|
+
span {
|
|
66
|
+
${e=>`${v.promoBadgeTextBold.style(e.windowSize)}`};
|
|
67
|
+
}
|
|
68
|
+
`,Q=n.span``,Xe=n.div`
|
|
69
|
+
display: flex;
|
|
70
|
+
gap: ${e=>x.midContainerGap.valuePx(e.windowSize)};
|
|
71
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
margin-bottom: ${e=>x.midContainerMarginBottom.valuePx(e.windowSize)};
|
|
75
|
+
`,Ze=n.div`
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
`,Ve=n.div`
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
gap: ${e=>x.buttonTrayGap.valuePx(e.windowSize)};
|
|
84
|
+
z-index: 8;
|
|
85
|
+
`,We=n.div`
|
|
86
|
+
width: ${e=>e.windowSize==="small"?"auto":"288px"};
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
margin-left: ${e=>x.uspContainerMarginX.valuePx(e.windowSize)};
|
|
90
|
+
margin-right: ${e=>x.uspContainerMarginX.valuePx(e.windowSize)};
|
|
91
|
+
z-index: 8;
|
|
92
|
+
`,Ke=n.div`
|
|
93
|
+
display: flex;
|
|
94
|
+
justify-content: ${e=>e.windowSize==="small"?"center":"flex-start"};
|
|
95
|
+
min-height: ${e=>x.iconContainerMinHeight.valuePx(e.windowSize)};
|
|
96
|
+
align-items: center;
|
|
97
|
+
min-width: 480px;
|
|
98
|
+
`,k=n.div`
|
|
99
|
+
border-radius: ${t.sp12};
|
|
100
|
+
border: ${e=>`1px solid ${e.theme.colors.grey2}`};
|
|
101
|
+
padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
|
|
102
|
+
background: ${e=>e.theme.colors.grey5};
|
|
103
|
+
position: relative;
|
|
104
|
+
margin-bottom: ${t.sp3};
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
text-align: start;
|
|
108
|
+
width: ${e=>e.windowSize==="small"?"288px":"100%"};
|
|
109
|
+
min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
|
|
110
|
+
box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
|
|
111
|
+
`,$=n(Pe)`
|
|
112
|
+
color: ${e=>e.theme.colors.champion};
|
|
113
|
+
${e=>`${v.uspText.style(e.windowSize)}`};
|
|
114
|
+
`,B=n(ke)`
|
|
115
|
+
color: ${e=>e.theme.colors.champion};
|
|
116
|
+
${e=>`${v.uspBoldText.style(e.windowSize)}`};
|
|
117
|
+
`,I=n.div``,A=n.div`
|
|
118
|
+
padding-left: ${t.sp3};
|
|
119
|
+
`,Ye=n(L)`
|
|
120
|
+
color: ${f.graphColor16Dark};
|
|
121
|
+
`,Qe=n(L)`
|
|
122
|
+
color: ${f.alert};
|
|
123
|
+
`,qe=n(L)`
|
|
124
|
+
color: ${f.graphColor11};
|
|
125
|
+
`,er=n(L)`
|
|
126
|
+
color: ${f.success};
|
|
127
|
+
`,rr=n.div`
|
|
128
|
+
height: ${e=>x.emptySectionHeight.valuePx(e.windowSize)};
|
|
129
|
+
${e=>e.windowSize==="small"?null:Be`
|
|
130
|
+
margin-top: ${t.sp4};
|
|
131
|
+
margin-bottom: ${t.sp6};
|
|
132
|
+
`}
|
|
133
|
+
`,tr=n.div`
|
|
134
|
+
color: ${e=>e.theme.colors.hero};
|
|
135
|
+
margin: ${e=>e.windowSize==="small"?`${t.sp0} ${t.sp3} ${t.sp4} ${t.sp3}`:"auto"};
|
|
136
|
+
text-align: center;
|
|
137
|
+
`,E=n.span`
|
|
138
|
+
${e=>`${v.contactAdmin.style(e.windowSize)}`};
|
|
139
|
+
text-decoration: ${e=>e.underline?"underline":"none"};
|
|
140
|
+
cursor: ${e=>e.underline?"default":null};
|
|
141
|
+
`,ir=n.div`
|
|
142
|
+
color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
|
|
143
|
+
`,or=n.div`
|
|
144
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
145
|
+
padding: ${t.sp2} ${t.sp3};
|
|
146
|
+
display: flex;
|
|
147
|
+
gap: ${t.sp2};
|
|
148
|
+
margin: auto;
|
|
149
|
+
max-width: fit-content;
|
|
150
|
+
border-radius: 96px;
|
|
151
|
+
margin-top: ${t.sp4};
|
|
152
|
+
margin-bottom: ${t.sp6};
|
|
153
|
+
`,ar=n.span`
|
|
154
|
+
${e=>`${v.cardsContent.style(e.windowSize)}`};
|
|
155
|
+
`,nr=n.div`
|
|
156
|
+
display: flex;
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
min-height: ${e=>x.carouselHeight.valuePx(e.windowSize)};
|
|
159
|
+
min-width: 480px;
|
|
160
|
+
position: relative;
|
|
161
|
+
`,sr=n.div`
|
|
162
|
+
position: relative;
|
|
163
|
+
margin-top: ${e=>x.carouselMarginTop.valuePx(e.windowSize)};
|
|
164
|
+
margin-left: ${e=>x.carouselMarginLeft.valuePx(e.windowSize)};
|
|
165
|
+
`,dr=n.div`
|
|
166
|
+
position: relative;
|
|
167
|
+
overflow: visible;
|
|
168
|
+
`,q=n.div`
|
|
169
|
+
position: absolute;
|
|
170
|
+
${e=>e.isReflection&&`
|
|
171
|
+
background-color: ${e.theme.colors.grey4};
|
|
172
|
+
clip-path: inset(10% 0 0 0);
|
|
173
|
+
`}
|
|
174
|
+
`,lr=Ie`
|
|
175
|
+
0% {
|
|
176
|
+
left: -${t.sp6};
|
|
177
|
+
}
|
|
178
|
+
100% {
|
|
179
|
+
left: calc(100% + ${t.sp6});
|
|
180
|
+
}
|
|
181
|
+
`,cr=n.div`
|
|
182
|
+
position: absolute;
|
|
183
|
+
background:
|
|
184
|
+
${f.promoCardGradient1Strong}, ${f.promoCardGradient2Strong};
|
|
185
|
+
width: ${t.sp10};
|
|
186
|
+
z-index: 3;
|
|
187
|
+
height: 100%;
|
|
188
|
+
transform: skew(15deg);
|
|
189
|
+
animation: ${lr} 3s linear infinite;
|
|
190
|
+
`;export{De as ChargeCardPromoUserContent,Sr as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as
|
|
1
|
+
import{u as Ve,X as De,d1 as Ie,a1 as N,a as Oe,c2 as Be,M as Ue,a7 as q,j as t,cH as _e,g as $e,C as r,aW as ze,d as Re,F as We,cZ as Le,o as B,v as Ne,aQ as qe,a3 as He,p as c,q as Me}from"./index-nrhSmhQT.js";import{b as p,n as S}from"./vendor-CnQcJ2Lu.js";import{P as Ge}from"./HelpButton-D5ZYyQMh-D3OqqJNA.js";import{K as Je}from"./SetUpDefaultSection--9Qh-utY-3YrGFMUC.js";import{p as Ke,y as H}from"./SpendMgmtSetupAccountSection-DG4ozkeT-CwbSJso6.js";import{x as Qe}from"./LabeledControlledCheckBoxField-FB40Z8J7-CUjOIHO8.js";import{g as Xe}from"./UploadAdditionalDocumentOverlay-B3tUNhKj-B-Cnmuf3.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Dh8meV6d-BwK6voO1.js";import"./ChargeCardUtils-B3JEziD7-CwQE9qIG.js";import"./CreditCardPaymentPlgSection-DoMaCnIZ-BpT8OJXl.js";import"./ChaseOverlay-KLet3F9X-BJh9nem5.js";const l={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,c[5],c[5]),sectionRowGap:new r(c[5],c[9],c[9]),iconWidthHeight:new r(20,c[4]),subTitlePaddingTop:new r(12,c[3]),subTitlePaddingBottom:new r(c[3],c[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(c[1],c[0])},M="chargeCardSetUpPage",f="payAccount",{commonSetUp:Ze,spendManagement:Ye}=Ue.getLocalizedStrings(),{chargeCard:K}=Ye,{chargeCardSetUp:m}=K,{setUp:U}=Ze,wt=({autoPayThreshold:e,isDisabled:x,meetingUrl:v,isEarlyPayEnabled:h,chargeCardSetUpView:o,connectedAccountProvider:Q,filesEndPoint:X,authParams:Z,isAccountsEnabled:Y,isDebitCardOnlyEnabled:E,isCreditCardOnlyEnabled:ee,accountsPromoConfig:te,onFetchLinkTokenClick:ie,onBackClick:ne,onEnableChargeCardClick:oe,onUpdateChargeCardClick:ae,onBusinessVerificationSectionClick:ce,onUpdatePaymentAccountStatus:le,onUpdatePaymentAccountLoginStatus:se,onUpdatePrimaryFundingAccount:re,onUpdateAutoPayClick:de,onEstablishConnectionClick:ue,onEstablishConnectionSuccess:pe,onClickMenuIcon:me,onEnableChargeCardSuccess:P,onEditFileName:fe,onDeleteFile:he,updateFilesEntity:ge,onCompanyOfficerUpdated:ye,onSendForVerificationClick:be,onSignUpClick:Ce})=>{const g=Ve(),n=De(),T=Ie().analytics,[w,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:_,isRefreshingViewInBackground:Se,updateStatus:d,accountUpdateStatus:xe,plaidConnectionDetails:Pe,allBankAccounts:we,companyChargeCardInfo:$,companyDebitCardInfo:Ae,selectedCompanyOfficer:s,primaryFundingAccount:a,allFundingAccounts:z}=o,R=N(b),A=N(d.fetchState),F=Oe({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>G(o),[o]),values:G(o)}),ke=F.handleSubmit(oe),ve=async(C,k)=>{const i=k[f];if(C.includes(f))if(C.includes("fundingAccount")){if(i.fundingAccount.selectedOption!=null&&a?.id!=i.fundingAccount.selectedOption){const u=z.find(O=>O.id===i.fundingAccount.selectedOption);u!=null&&re(i.fundingAccount.selectedOption,u.accType)}}else if(i.account.selectedOption!=null&&a?.id!=null&&a?.zeniAccountId!=i.account.selectedOption){const u=i.account.allOptions.find(O=>O.value===i.account.selectedOption);u!=null&&typeof u.label=="string"&&T.trackConnectBankLink(u.value,u.label,"charge_cards"),ae(i.account.selectedOption,a.id,a.accType)}else C.includes("enableAutoPay")&&i.enableAutoPay!=null&&de(i.enableAutoPay)};p.useEffect(()=>{const C=F.watch((k,{name:i})=>{i!=null&&k!=null&&Be(()=>ve(i,k))});return()=>{C.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"&&b==="Completed"&&y(!1)},[s,b,R]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const j=$?.isChargeCardEnabled===!0,V=Ae?.isDebitCardEnabled===!0,W=_?.isBusinessVerified===!0,Ee=a?.accType==="depositAccount"||a?.providerVerificationStatus?.code==="verified"||a?.providerVerificationStatus?.code==="manually_verified"||a?.providerVerificationStatus?.code==="automatically_verified"||a?.providerVerificationStatus?.code==="database_matched",D=E?W:W&&Ee,Te=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const I=E?D&&!V:ee?D&&!j:D&&!(j&&V),Fe=I?m.setupSubTitleNotEnabled:m.setupSubTitle,L=g.mode==="light"?new q(g.colors.brandColorJadeLight):new q(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(tt,{children:[t.jsx(_e,{anchor:"right",PaperProps:{style:{width:l.overlayWidth.valuePercentage(n),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:$e.drawerBackground},transitionDuration:250,children:t.jsx(Xe,{authParams:Z,filesEndPoint:X,updateStatus:d,onEditFileName:fe,onDeleteFile:he,updateFilesEntity:ge,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:ye,onSendForVerificationClick:be})}),t.jsx(ze,{title:m.setupTitle,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:ne,showMenuIcon:!j&&!V&&(n==="medium-compact"||n==="small"),onClickMenuIcon:me,source:"ChargeCardSetupPage"}),t.jsxs(et,{windowSize:n,children:[t.jsx(it,{windowSize:n,children:Fe}),Te?t.jsx(nt,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...F,children:t.jsx("form",{id:J(M),onSubmit:ke,children:t.jsxs(ot,{windowSize:n,children:[t.jsx(Je,{onClick:je,title:U.businessVerificationTitle,subTitle:U.businessVerificationSubTitle,header:U.businessVerificationHeader,icon:{element:t.jsx(Le,{width:l.iconWidthHeight.valuePx(n),height:l.iconWidthHeight.valuePx(n)}),color:L},status:_?.businessVerificationStatus,isLoading:Se,isActiveWhileLoading:!0}),E?null:t.jsx(Ke,{connectedAccountProvider:Q,primaryFundingAccount:a,allFundingAccounts:z,plaidConnectionDetails:Pe,allBankAccounts:we,sectionId:f,isDisabled:x,onFetchLinkTokenClick:ie,onEstablishConnectionClick:ue,onUpdatePaymentAccountStatus:le,onUpdatePaymentAccountLoginStatus:se,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:pe,icon:{element:t.jsx(qe,{width:l.iconWidthHeight.valuePx(n),height:l.iconWidthHeight.valuePx(n)}),color:L},analytics:T,productType:"charge_cards",isAccountsEnabled:Y,onSignUpClick:Ce,pageName:m.pageName,accountsPromoConfig:te,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Qe,{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:n==="small"?"flex-start":"center"},checkBoxField:{name:H(f,"enableAutoPay"),checkBoxValue:H(f,"enableAutoPay"),defaultChecked:$?.isAutoPayEnabled,style:{top:l.checkBoxTop.valuePx(n)}}})})]})})})]}),I?t.jsx(He,{formId:J(M),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:n==="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(Ge,{isFooterRendered:I,meetingUrl:v,analytics:T,productType:"charge_cards"})]})},G=e=>{const{allBankAccounts:x,allFundingAccounts:v,primaryFundingAccount:h}=e;return{[f]:{fundingAccount:{selectedOption:h?.id,allOptions:v.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},J=e=>`${e}_form`,et=S.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -13,7 +13,7 @@ import{u as je,X as Ie,d3 as De,a5 as q,a as Oe,c3 as Be,M as Ue,ab as M,j as t,
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
width: 100%;
|
|
15
15
|
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
-
`,it=S(
|
|
16
|
+
`,it=S(Me)`
|
|
17
17
|
color: ${e=>e.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{u as W,X as T,j as t,aW as F,M as R,o as h,C as g,
|
|
1
|
+
import{u as W,X as T,j as t,aW as F,M as R,o as h,C as g,q as B,an as O,d1 as q,g$ as J,Y as K,d as Q,p as s,bp as U}from"./index-nrhSmhQT.js";import{n as i,b as V}from"./vendor-CnQcJ2Lu.js";import{$ as X,g as Z}from"./BoxItem-BqLhtWoJ-N1dze3h9.js";import{w as _}from"./downloadPdf-CiC0AXNH-BaYefCbJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-CKgBEMhT-DV1PneSk.js";const z=R.getLocalizedStrings().months,A={downloadButtonSize:new g(s[4],20)},G=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
width: 100%;
|
|
6
|
-
`,
|
|
6
|
+
`,H=i.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
justify-content: space-between;
|
|
9
9
|
align-items: center;
|
|
@@ -19,7 +19,7 @@ import{u as W,X as T,j as t,aW as F,M as R,o as h,C as g,s as B,as as O,d3 as V,
|
|
|
19
19
|
overflow: hidden;
|
|
20
20
|
`,te=i.div`
|
|
21
21
|
cursor: pointer;
|
|
22
|
-
`,ae=i(
|
|
22
|
+
`,ae=i(U)`
|
|
23
23
|
width: ${e=>A.downloadButtonSize.valuePx(e.windowSize)};
|
|
24
24
|
height: ${e=>A.downloadButtonSize.valuePx(e.windowSize)};
|
|
25
25
|
min-height: ${e=>A.downloadButtonSize.valuePx(e.windowSize)};
|
|
@@ -27,7 +27,7 @@ import{u as W,X as T,j as t,aW as F,M as R,o as h,C as g,s as B,as as O,d3 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=
|
|
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=q().analytics,[v,E]=V.useState(!1),c=T(),Y=z[r.monthYearPeriod.month-1],p=`${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"},u=t.jsx(G,{children:t.jsxs(H,{children:[t.jsx(ee,{children:Y}),t.jsx(te,{"data-testid":K("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:p,fileMonthYear:`${z[r.monthYearPeriod.month-1]} ${r.monthYearPeriod.year}`},"Credit Card Statements",n+1,y,$),_(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,p,j,E)},children:v?t.jsx(Q,{size:"Small",start:!0}):t.jsx(ae,{windowSize:c})})]})});return t.jsx(Z,{content:u,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=W(),c=T(),{sortedYear:Y,monthsByYearWithSortedMonth:p}=me(b.statements);return t.jsxs(se,{children:[t.jsx(F,{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:p[m].map((u,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:u,authParams:r,downloadEndPoint:I,boxType:X(D,p[m].length)},u.id)},u.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-CLpd-HDH-dMJ2Q_93.js → ChargeCardUtils-B3JEziD7-CwQE9qIG.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ff as D,M as S,dp as c,l as B}from"./index-nrhSmhQT.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,b as S,A as U,Y as _};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as H,
|
|
1
|
+
import{X as H,fc as X,fd as Q,M as W,j as t,g as x,m as ee,K as I,Y as c,o as s,C as m,Z as te,q as ie,an as se,bB as oe,c_ as re,p as l,ao as Y,ax as _,a6 as ne,fe as le,w as ae,cp as de,aP as ce}from"./index-nrhSmhQT.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(),[,A]=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,N=r.title,K=r.description,V=()=>{window.open(r.chaseVideoUrl,"_blank")},L=[0,1,2,3],P=i=>i<L.length-1,B=(i,n)=>{A(i??""),n?k(!1):S(!1)},D=i=>{i?C(!0):M(!0)},E=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]})},F=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},J=()=>{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:()=>E(!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(U,{showCopyText:z&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(R,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>B(i.payeeName,!1),onMouseOver:()=>D(!1),onMouseLeave:()=>E(!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(U,{showCopyText:T&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(R,{}),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]})]})]})]})},Z=()=>{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(F,{});case 2:return t.jsx(J,{});default:return t.jsx(Z,{})}};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:N}),t.jsx(ge,{children:K}),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(I,{variant:"secondary",label:r.primaryButtonText,onClick:V,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(I,{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;
|
|
@@ -85,7 +85,7 @@ import{X as H,ff as X,fg as Q,M as W,j as t,g as x,m as ee,K as E,Y as c,o as s,
|
|
|
85
85
|
`,ve=o.div`
|
|
86
86
|
padding-bottom: ${s.sp4};
|
|
87
87
|
margin-left: ${s.sp6};
|
|
88
|
-
`,$=o(
|
|
88
|
+
`,$=o(Y)`
|
|
89
89
|
color: ${e=>e.theme.colors.hero};
|
|
90
90
|
`,be=o(de)`
|
|
91
91
|
width: ${s.sp3};
|
|
@@ -100,20 +100,20 @@ import{X as H,ff as X,fg as Q,M as W,j as t,g as x,m as ee,K as E,Y as c,o as s,
|
|
|
100
100
|
`,Se=o(re)`
|
|
101
101
|
width: ${s.sp3};
|
|
102
102
|
height: ${s.sp3};
|
|
103
|
-
`,v=o(
|
|
103
|
+
`,v=o(_)`
|
|
104
104
|
width: ${s.sp3};
|
|
105
105
|
height: ${s.sp3};
|
|
106
106
|
vertical-align: middle;
|
|
107
107
|
margin-right: ${s.sp2};
|
|
108
108
|
color: ${x.success};
|
|
109
|
-
`,
|
|
109
|
+
`,O=o(le)`
|
|
110
110
|
width: ${s.sp3};
|
|
111
111
|
height: ${s.sp3};
|
|
112
112
|
cursor: pointer;
|
|
113
113
|
&:hover {
|
|
114
114
|
color: ${e=>e.theme.colors.primary};
|
|
115
115
|
}
|
|
116
|
-
`,
|
|
116
|
+
`,R=o(_)`
|
|
117
117
|
width: ${s.sp3};
|
|
118
118
|
height: ${s.sp3};
|
|
119
119
|
color: ${x.success};
|
|
@@ -125,7 +125,7 @@ import{X as H,ff as X,fg as Q,M as W,j as t,g as x,m as ee,K as E,Y as c,o as s,
|
|
|
125
125
|
justify-content: center;
|
|
126
126
|
align-self: flex-start;
|
|
127
127
|
margin-top: ${s.sp2};
|
|
128
|
-
`,
|
|
128
|
+
`,U=o.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
align-items: center;
|
|
131
131
|
color: ${e=>e.showCopyText?e.theme.colors.primary:e.theme.colors.grey1};
|
|
@@ -149,7 +149,7 @@ import{X as H,ff as X,fg as Q,M as W,j as t,g as x,m as ee,K as E,Y as c,o as s,
|
|
|
149
149
|
color: ${e=>e.theme.colors.primary};
|
|
150
150
|
text-decoration-color: ${e=>e.theme.colors.primary};
|
|
151
151
|
}
|
|
152
|
-
`,a=o(
|
|
152
|
+
`,a=o(Y)`
|
|
153
153
|
color: ${e=>e.theme.colors.primary};
|
|
154
154
|
border-radius: ${s.sp1};
|
|
155
155
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
@@ -167,4 +167,4 @@ import{X as H,ff as X,fg as Q,M as W,j as t,g as x,m as ee,K as E,Y as c,o as s,
|
|
|
167
167
|
`,Me=o.div``,Le=o.div`
|
|
168
168
|
margin-bottom: 74px;
|
|
169
169
|
overflow: scroll;
|
|
170
|
-
`;export{
|
|
170
|
+
`;export{De as M};
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import{X as U,j as t,Y as $,gZ as pe,M as ee,_ as M,K as _,o,a3 as he,C as l,a2 as oe,k as ue,an as me,b$ as te,w as ge,q as F,a1 as xe,a as fe,c2 as ke,g as w,F as De,fD as $e,c5 as we,eN as G,cc as J,p as s,cV as be,bF as ye,bm as je,cy as Pe,f7 as Se,f as q,f9 as Le}from"./index-nrhSmhQT.js";import{b as k,n as a}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.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",V="selectDocument",I=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,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=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:ze,common:R}=ee.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=R.documents;function Ee({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=U(),n=e.fetchState,L=xe(n),[v,Y]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),f=fe({mode:"all",reValidateMode:"onBlur",defaultValues:I(e),values:I(e)}),{isValid:re}=f.formState,K=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:R.currency.currencyCode,currencySymbol:R.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)}};k.useEffect(()=>{const i=f.watch((d,{name:h})=>{h!=null&&d!=null&&ke(()=>ce(h,d))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&f.reset(I(e))},[L,n,f,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=f.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=f.getValues();K(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(E=>E.id===i),A=e.depositAccounts.depositAccounts.findIndex(E=>E.id===i);return h?t.jsx(Re,{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(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(X,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(X,{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(Ye,{children:[t.jsx(_e,{}),t.jsxs(Ge,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(Xe,{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),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(We,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...f,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},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:z},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(Ze,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,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(Qe,{size:r,children:[t.jsxs(Ue,{size:r,children:[t.jsx(Ie,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(W,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,V)}.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=>Y(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(W,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,V)}.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=>Y(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 Ie=a(F)`
|
|
2
|
+
color: ${e=>e.theme.colors.hero};
|
|
3
|
+
`,Ne=a(F)`
|
|
4
|
+
color: ${e=>e.theme.colors.hero};
|
|
5
|
+
margin-left: ${o.sp3};
|
|
6
|
+
`,Me=a(q)`
|
|
7
|
+
color: ${e=>e.theme.colors.grey1};
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: ${o.sp2};
|
|
11
|
+
`,X=a.div``,Ve=a.span`
|
|
12
|
+
margin-left: ${o.sp2};
|
|
13
|
+
`,Re=a(Le)`
|
|
14
|
+
min-width: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
15
|
+
width: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
16
|
+
height: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
17
|
+
margin-right: ${o.sp2};
|
|
18
|
+
`,Oe=a.div`
|
|
19
|
+
margin-top: ${o.sp3};
|
|
20
|
+
display: flex;
|
|
21
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
padding: ${o.sp3} ${o.sp4};
|
|
24
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
25
|
+
border-radius: ${o.sp2};
|
|
26
|
+
box-shadow: ${e=>`${o.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
27
|
+
`,qe=a.div`
|
|
28
|
+
display: flex;
|
|
29
|
+
width: 100%;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
padding: ${o.sp3} ${o.sp4};
|
|
32
|
+
background-color: ${w.importantLight};
|
|
33
|
+
border-radius: ${o.sp2};
|
|
34
|
+
`,Ye=a.div`
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: flex-start;
|
|
37
|
+
`,Ke=a.div``,_e=a(be)`
|
|
38
|
+
width: ${o.sp4};
|
|
39
|
+
height: ${o.sp4};
|
|
40
|
+
color: ${w.important};
|
|
41
|
+
`,Ge=a.div`
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
margin-left: ${o.sp2};
|
|
45
|
+
`,Je=a(ye)`
|
|
46
|
+
color: ${w.important};
|
|
47
|
+
`,Xe=a(F)`
|
|
48
|
+
color: ${w.important};
|
|
49
|
+
`,We=a(je)`
|
|
50
|
+
color: ${e=>e.theme.colors.primary};
|
|
51
|
+
margin: ${o.sp5} ${o.sp0} ${o.sp3} ${o.sp0};
|
|
52
|
+
`,Ze=a(Pe)`
|
|
53
|
+
border-radius: ${o.sp2};
|
|
54
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
55
|
+
`,He=a.div`
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
59
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
60
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
|
+
border-radius: ${o.sp2};
|
|
62
|
+
margin-bottom: ${o.sp3};
|
|
63
|
+
`,N=a.div`
|
|
64
|
+
display: flex;
|
|
65
|
+
flex: 1;
|
|
66
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
67
|
+
min-height: 1px;
|
|
68
|
+
max-height: 1px;
|
|
69
|
+
`,ae=a.div`
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: "row";
|
|
72
|
+
padding: ${o.sp2};
|
|
73
|
+
padding-left: ${e=>u.rowContentPaddingLeft.valuePx(e.size)};
|
|
74
|
+
justify-content: space-between;
|
|
75
|
+
color: ${e=>e.theme.colors.hero};
|
|
76
|
+
&:hover {
|
|
77
|
+
z-index: 1;
|
|
78
|
+
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
79
|
+
.select-control {
|
|
80
|
+
background-color: ${e=>e.theme.colors.background};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
&:focus-within {
|
|
84
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
85
|
+
color: ${e=>e.theme.colors.primary};
|
|
86
|
+
z-index: 2;
|
|
87
|
+
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
88
|
+
}
|
|
89
|
+
:last-of-type {
|
|
90
|
+
border-bottom-left-radius: inherit;
|
|
91
|
+
border-bottom-right-radius: inherit;
|
|
92
|
+
}
|
|
93
|
+
`,Qe=a(ae)`
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
padding: ${o.sp0};
|
|
96
|
+
`,Ue=a.div`
|
|
97
|
+
padding: ${e=>`${o.sp3} ${u.checkPicRowContentPaddingXAxis.valuePx(e.size)}`};
|
|
98
|
+
`,eo=a.div`
|
|
99
|
+
width: 100%;
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-grow: ${e=>e.size==="small"?1:0};
|
|
102
|
+
align-items: flex-start;
|
|
103
|
+
`,W=a(q)`
|
|
104
|
+
color: ${e=>e.theme.colors.hero};
|
|
105
|
+
margin-bottom: ${o.sp2};
|
|
106
|
+
margin-top: ${e=>e.isLast?o.sp3:o.sp0};
|
|
107
|
+
`,oo=a.div`
|
|
108
|
+
background-color: ${e=>e.theme.colors.hero};
|
|
109
|
+
border-radius: 50%;
|
|
110
|
+
border-style: solid;
|
|
111
|
+
width: 2px;
|
|
112
|
+
height: 2px;
|
|
113
|
+
position: absolute;
|
|
114
|
+
top: 10px;
|
|
115
|
+
`,to=a.div`
|
|
116
|
+
width: ${o.sp1};
|
|
117
|
+
height: ${o.sp1};
|
|
118
|
+
min-width: ${o.sp1};
|
|
119
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
120
|
+
border-radius: 50%;
|
|
121
|
+
`,io=a.div`
|
|
122
|
+
display: flex;
|
|
123
|
+
flex-direction: column;
|
|
124
|
+
margin: ${o.sp3} ${o.sp0};
|
|
125
|
+
margin-bottom: ${o.sp0};
|
|
126
|
+
`,ao=a.div`
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: row;
|
|
129
|
+
position: relative;
|
|
130
|
+
`,so=a(q)`
|
|
131
|
+
margin-top: ${o.sp2};
|
|
132
|
+
padding: ${o.sp1} ${o.sp4};
|
|
133
|
+
background: ${e=>e.theme.colors.grey4};
|
|
134
|
+
border-radius: ${o.sp0} ${o.sp0} ${o.sp2} ${o.sp2};
|
|
135
|
+
width: 100%;
|
|
136
|
+
box-sizing: border-box;
|
|
137
|
+
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
138
|
+
color: ${e=>e.theme.colors.grey1};
|
|
139
|
+
`,ro=a(oe)`
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
color: ${e=>e.theme.colors.hero};
|
|
142
|
+
width: ${o.sp4};
|
|
143
|
+
height: ${o.sp4};
|
|
144
|
+
min-height: ${o.sp4};
|
|
145
|
+
&:hover {
|
|
146
|
+
color: ${e=>e.theme.colors.primary};
|
|
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=U(),[L,v]=k.useState(!1);return t.jsx(go,{windowSize:n,children:e.fetchState==="Completed"?t.jsxs(Z,{windowSize:n,children:[t.jsx(H,{windowSize:n,children:t.jsx(Q,{"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(ko,{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(fo,{children:[t.jsx(_,{variant:"secondary",label:m.checkDepositDrawer.makeAnotherTransferBtn,onClick:C,"data-testid":$("check-deposit-drawer-another-transfer")}),t.jsx(_,{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(Z,{windowSize:n,children:[t.jsx(H,{windowSize:n,children:t.jsx(Q,{"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(Ee,{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
|
+
color: ${e=>e.theme.colors.hero};
|
|
150
|
+
`,uo=a(ge)`
|
|
151
|
+
color: ${e=>e.theme.colors.hero};
|
|
152
|
+
`,mo=a(me)`
|
|
153
|
+
display: inline;
|
|
154
|
+
`,go=a.div`
|
|
155
|
+
display: flex;
|
|
156
|
+
flex-direction: column;
|
|
157
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
158
|
+
overflow-x: hidden;
|
|
159
|
+
height: 100%;
|
|
160
|
+
width: 100%;
|
|
161
|
+
`,xo=a(ue)`
|
|
162
|
+
color: ${e=>e.theme.colors.primary};
|
|
163
|
+
text-align: center;
|
|
164
|
+
`,Z=a.div`
|
|
165
|
+
height: ${e=>e.windowSize==="small"?"auto":"100%"};
|
|
166
|
+
padding-left: ${e=>`${O.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
167
|
+
padding-right: ${e=>`${O.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
168
|
+
`,fo=a.div`
|
|
169
|
+
display: flex;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
margin-top: ${o.sp7};
|
|
172
|
+
`,ko=a.div`
|
|
173
|
+
height: 80%;
|
|
174
|
+
display: flex;
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
margin: ${e=>`${o.sp0} ${O.successContentMargin.valuePx(e.windowSize)} `};
|
|
178
|
+
align-items: center;
|
|
179
|
+
`,H=a.div`
|
|
180
|
+
display: flex;
|
|
181
|
+
flex-direction: row-reverse;
|
|
182
|
+
justify-content: space-between;
|
|
183
|
+
align-items: center;
|
|
184
|
+
width: 100%;
|
|
185
|
+
top: ${o.sp0};
|
|
186
|
+
padding: ${e=>`${lo.NavBarContainerPaddingYAxis.valuePx(e.windowSize)} ${o.sp0}`};
|
|
187
|
+
z-index: 2;
|
|
188
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
189
|
+
`,Q=a(oe)`
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
color: ${e=>e.theme.colors.hero};
|
|
192
|
+
width: ${o.sp4};
|
|
193
|
+
height: ${o.sp4};
|
|
194
|
+
min-height: ${o.sp4};
|
|
195
|
+
&:hover {
|
|
196
|
+
color: ${e=>e.theme.colors.primary};
|
|
197
|
+
}
|
|
198
|
+
`,Do=a(te)`
|
|
199
|
+
color: ${e=>e.theme.colors.primary};
|
|
200
|
+
margin-top: ${o.sp3};
|
|
201
|
+
margin-bottom: ${o.sp0};
|
|
202
|
+
margin-right: ${o.sp3};
|
|
203
|
+
`,$o=a(te)`
|
|
204
|
+
color: ${e=>e.theme.colors.primary};
|
|
205
|
+
margin-top: ${o.sp3};
|
|
206
|
+
`;export{Co as default,no as uniqueFormName};
|