@zeniai/web-cockpit-ui 1.13.93-prod → 1.13.94-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-B7Osqlyb-D3Sepxj2.js → ACHDetailsPage-C77hriAS-Bp9UERQr.js} +1 -1
- package/dist/assets/{AIPerformancePage-CEGqk2vj-CNJG25HZ.js → AIPerformancePage-DWLZz5fl-xe6YeuvR.js} +23 -23
- package/dist/assets/{AccountInfoPage-Dsi_xY1U-7_4DMl3t.js → AccountInfoPage-CHH8xpX7-OTuTPmWc.js} +5 -5
- package/dist/assets/AccountInfoPageContent-CslCCxyA-CKIHtSb5.js +149 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-Bwc-VZmp-Cu4GHIFH.js → AccountReconDetailsDrawerPage-Bg65723V-z_C0MUXO.js} +15 -15
- package/dist/assets/{AccountRow-DMeCdEPJ-B7b4evpB.js → AccountRow-CBhTc-CO-BhHbolQV.js} +24 -24
- package/dist/assets/{AccountsPromoCardStack-NYQHh0uE-Da1s2rL8.js → AccountsPromoCardStack-C1FN6ldb-CTHlY162.js} +28 -28
- package/dist/assets/{AddAddressForCardDrawer-3WPrDfNL-CzhCPxK8.js → AddAddressForCardDrawer-DKbwVrFG-IuCuUpQj.js} +2 -2
- package/dist/assets/{AddToWalletPage-IjvBXyuu-G8xWNrLi.js → AddToWalletPage-BLH7hMIs-p7f4w_jj.js} +11 -11
- package/dist/assets/{AgingReportsPage-CIJTKbrN-BbBSzoJK.js → AgingReportsPage-iXp5N9xa-BuwByTSa.js} +6 -6
- package/dist/assets/{AllUserItems-BuX43aPo-U1E0yUwo.js → AllUserItems-SiwAGR6X-CB3qDmMz.js} +12 -12
- package/dist/assets/{ApAgingDetailPage-02ejdrQy-CDm976fI.js → ApAgingDetailPage-CSv-Yx3u-CQfdnkLR.js} +3 -3
- package/dist/assets/{AppBasePage-CC3bbnnu-BuIp4juj.js → AppBasePage-BVhJh2iM-DhwgHBUl.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EAPC9w-DaFfTAjg.js → AppDrawerContent-TBHNokFo-a7xFQjLd.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-DmPsbDZd-DdnQZTKs.js +47 -0
- package/dist/assets/ArAgingChart-CPyAljB5-C1xslsyT.js +24 -0
- package/dist/assets/{ArAgingDetailPage-CMUpR-2N-s_DHo5CV.js → ArAgingDetailPage-BLc5FDm2-BOdfR_tV.js} +1 -1
- package/dist/assets/{AttachmentView-sbbFtu9R-CNprakmJ.js → AttachmentView-sMKTopf8-CQuqGqLW.js} +5 -5
- package/dist/assets/{BankAccountSection-BJPkV-qV-Bi2ymq5a.js → BankAccountSection-DoGfRREZ-B2ezqzYk.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-D9R1VhzE-BcW1Ig2b.js → BankAccountWarningSection-BhSSRCzK-DNfJcwlK.js} +8 -8
- package/dist/assets/BankConnectionsSettingsPage-DIKMwQoQ-OeAXgZvH.js +425 -0
- package/dist/assets/{BillDetailPage-C_JDjRL0-B9dc0X1v.js → BillDetailPage-DSYeib0o-BwJVgfN9.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-B_XMuvzZ-CZKHr3XO.js → BillPayApprovalRuleDetailPage-DDFr9CL_-CYlqmWUc.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CyZjNIsQ-Bl5jiyNH.js → BillPayApprovalRulesPage-3Yak-MB--CaAqhGEn.js} +1 -1
- package/dist/assets/{BillPayPromoPage-ByDsqYfw-olV5ce97.js → BillPayPromoPage-nRvSJMZU-aGHL9LIB.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-yTO-xwRJ-DbcBQ_9J.js → BillPaySetUpPage-BWrp4v6b-DQFkIYKy.js} +1 -1
- package/dist/assets/{BillingSettingsPage-BIAy1QHr-DAez9K6t.js → BillingSettingsPage-DtBZmdxq-BCytA-g_.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-Cw1XCs0q-CvrweZCr.js → BillsBulkReviewDrawerPage-DCz41OgH-BEoVAqH0.js} +1 -1
- package/dist/assets/{BoxItem-UCX7eqiN-Cs0gCmSK.js → BoxItem-DBi8kqn3-BDAOAuEh.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CSsout2C-Cuas5N4X.js → BusinessVerificationPage-BfPqcCH3-Dr7d8VRo.js} +9 -9
- package/dist/assets/{CardNumberSubText-DuTv0ip1-D_vNbx2G.js → CardNumberSubText-CkmaTF_l-Kwic4R2k.js} +1 -1
- package/dist/assets/{CashbackDetailPage-KdHf-_ZF-DVRN-V1z.js → CashbackDetailPage-BlcEXdet-B9yAfRkP.js} +19 -19
- package/dist/assets/ChargeCardDetailPage-BARovLsv-j69HZx4R.js +1447 -0
- package/dist/assets/ChargeCardListPage-C1XbbZJ2-BE2YBCij.js +355 -0
- package/dist/assets/{ChargeCardListTable-B1a9-RYl-C51ZecJG.js → ChargeCardListTable-HXAc8Lqx-wKEbgM6d.js} +21 -21
- package/dist/assets/ChargeCardPromoPage-B8aTlJ8l-5K-z8G1R.js +219 -0
- package/dist/assets/{ChargeCardSetupPage-DOrs_Bw8-CtSky3U4.js → ChargeCardSetupPage-XI-WplXI-vUgUcPsh.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-xvq2HeEr-D7149w7u.js → ChargeCardStatementsPage-CYopWAg4-fr_o5tML.js} +4 -4
- package/dist/assets/{ChargeCardUtils-Dt303NN_-DVTTAdcW.js → ChargeCardUtils-BEtXxds6-iY4L_brM.js} +1 -1
- package/dist/assets/{ChaseOverlay-BK2ISNjj-D-Cz7Y7g.js → ChaseOverlay-BySoceqB-DYKQzq4d.js} +6 -6
- package/dist/assets/CheckDepositDrawerPage-DOyXGzFg-BAQPRuRk.js +206 -0
- package/dist/assets/{CollapsableReportTable-D5D0ufUn-xK0ZNS8L.js → CollapsableReportTable-FShSCFEn-62FniBRb.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-C7fuDGQk-DEsxh5Ia.js → CompanyOfficerDetailsSection-QQIIHW41-xH4MKkl5.js} +25 -25
- package/dist/assets/{CompanyPassportCard-DwUqLcAr-DTr4An8c.js → CompanyPassportCard-D2b6Ztes-ot6tMI66.js} +2 -2
- package/dist/assets/{CompanyPassportPage-ClToBIAw-coPGEvt1.js → CompanyPassportPage-Bkd2l8Xj-psAfEsoz.js} +10 -10
- package/dist/assets/{CompleteProfile-CLDWG3QK-BZ-Jjo9y.js → CompleteProfile-DYv1reCa-3AIo6bvw.js} +1 -1
- package/dist/assets/{ConfettiBurst-DoZB9Us7-0l1vmSt-.js → ConfettiBurst-CDUVssuw-hjqW22eh.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-B837xw8A-B7kLvZUp.js → CreateOrEditVendorPage-mlx8B4Jv-DUHw5PtN.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-zGaAOnnB-CrQyVjry.js → CreditCardPaymentDrawerPage-DBTT4Ptu-Dc8GvYzf.js} +6 -6
- package/dist/assets/{CreditCardPaymentPlgSection-BLbZFCcL-sU_VxrOi.js → CreditCardPaymentPlgSection-CH8Ic2sK-CXQECn24.js} +7 -7
- package/dist/assets/{CurrencySelectField-DS3dOR3F-DxIA_hXi.js → CurrencySelectField-BpuAi_Wp-COgh-Qif.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-WWVaQenb-DnYElSqS.js → CustomerOnboardingActivationPage-CJn_cLk6-D6OFbgAy.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dln-_Yb0-BjXolAob.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BSXKMQ77-B7DbwjMu.js → CustomerOnboardingDetailPageSkeleton-Cr10sdrX-B55KDkTQ.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-Dd5kCuRE-XM5KdTkI.js → CustomerOnboardingNoStepsPage-9Jl0VpUx-BiS5ICyP.js} +5 -5
- package/dist/assets/{CustomerOnboardingPage-CGJpD875-4oL39DpQ.js → CustomerOnboardingPage-OCG7AjuD-DJnYkmg8.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-BFmVLk0l-k6btblXq.js → CustomerOnboardingProductSuitePage-vXKRghjP-hldhfPSg.js} +2 -2
- package/dist/assets/Dashboard-BOJNXopc-byUhih3W.js +1253 -0
- package/dist/assets/{DashboardReportPage-BbYtKYEH-DxGGhSLB.js → DashboardReportPage-Cuiynx8W-ac_35yhz.js} +8 -8
- package/dist/assets/{DepositAccTransactionItem-BMXQpKVB-CgDCprOQ.js → DepositAccTransactionItem-BVGKoyyZ-CtkDwopW.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-bwEdSihi-DJ6W9arj.js → DepositAccTransactionListPage-kkdrU5Mo-3snjZA89.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-DV9HE3MK-B_XNcfep.js → DocumentSecurityBanner-C_LxmFZ8-Bt6Lz_p3.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-OI-gqVNE-BlXDs3Ng.js → DomesticWireDetailsPage-BhE0GcbL-CklyzXqp.js} +1 -1
- package/dist/assets/{DownloadOverlay-De5uIGOt-CYqEn0hY.js → DownloadOverlay-LH6MXphu-kt8sJEjY.js} +16 -16
- package/dist/assets/{DrawerPage-n421ewDm-UqOu8atP.js → DrawerPage-C3wbST4Q-CLJNN7bG.js} +8 -8
- package/dist/assets/{EditPeoplePage-sO1qN6Uw-DBLsSyIg.js → EditPeoplePage-C53vRVhe-BSK-mQZ3.js} +15 -15
- package/dist/assets/{EditReimbursementDetailPage-D5iKVGl3-BImnlUf5.js → EditReimbursementDetailPage-BBQIYJrj-a2qRFgyX.js} +60 -60
- package/dist/assets/{EntityDetailPage-CDk-oyYB-D9-wfKOg.js → EntityDetailPage-Ba0fzVNR-DpkKGCO_.js} +1 -1
- package/dist/assets/{EntitySummarySection-C4cC9rOJ-IyIZd6D1.js → EntitySummarySection-DA6Vsjwj-DPw5fEaJ.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-BojhuW5i-BX20nDp9.js → ExpenseAutomationOverviewPage-glEgQT6c-Dj_Wb6rt.js} +19 -19
- package/dist/assets/{ExpenseAutomationPage-D0BViJ7J-aWOZ95v4.js → ExpenseAutomationPage-CsJiE1ap-BnkOrNDa.js} +73 -73
- package/dist/assets/{ExpressPayPage-DdgtFYep-BYqxygnU.js → ExpressPayPage-i9LGeqy_-wmqq-4AX.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-CW0YmOgl-BXdIvflJ.js → FeaturePreviewPage-Bl2C_tQd-DJQ0amFl.js} +2 -2
- package/dist/assets/{FollowStepsSection-BfnTsu_D-DJmarjJC.js → FollowStepsSection-KcgZahKS-BPKITv3B.js} +12 -12
- package/dist/assets/{GlobalReviewListPage-C0U7Y6dI-V3yjpnMa.js → GlobalReviewListPage-D2NH1omi-CTNsB5Nb.js} +11 -11
- package/dist/assets/HelpButton-YqQNv-UM-CruBHlAV.js +28 -0
- package/dist/assets/{InformationCardStack-6BD3n76T-38xJZuo1.js → InformationCardStack-OhjUoNBj-DBwYrPQy.js} +5 -5
- package/dist/assets/{InsightsCardStack-CwxJP-ic-BTrR6wgp.js → InsightsCardStack-CDrOBeoJ-DTHqugyU.js} +10 -10
- package/dist/assets/{InsightsSection-DYyHpcUE-Dv4s6rVF.js → InsightsSection-CBaItqYN-Dz4Ilz30.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-ZkvKZqwD-DROqHfeV.js → IntegrationsSettingsPage-CuPS5otW-BirDKZz3.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-D3nyRM06-CWpciiq5.js → InternationalWireSwiftDetailsPage-DQsW7Uzb-CUGMa7hJ.js} +6 -6
- package/dist/assets/{InternationalWireVerificationPage-BOdAP6dN-DX7VlzR0.js → InternationalWireVerificationPage-BE1xcmQo-s1fsXNah.js} +15 -15
- package/dist/assets/{InviteFormPage-HJMhfa_f-D3AkSj5c.js → InviteFormPage-CUDsc0Y3-BT3er91i.js} +21 -21
- package/dist/assets/{InvitePageListView-CjneWRfJ-Cw4GZPYc.js → InvitePageListView-DJildrs1-BRenHpuK.js} +31 -31
- package/dist/assets/InvitePeoplePage-6upCRZjT-Cy37Dy58.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CfAnZsV9-CYcZU0K-.js → InvoiceUploadSection-CyacFv78-bjw3W0fU.js} +3 -3
- package/dist/assets/{IssueChargeCardPage-pKF4dRNw-B2__1l33.js → IssueChargeCardPage-6iTrYJEM-BjNouHGB.js} +25 -25
- package/dist/assets/{LabeledAddressValue-UYEy_1W0-C6qmSA0Y.js → LabeledAddressValue-CDy1Q4J--CkXQxeFy.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BmSVDTMx-6Qpj6E_O.js → LabeledAddressValueField-DbR_ehJJ-kXFBzBc8.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-BFnLx9E0-CrszShzb.js → LabeledControlledCheckBoxField-CXNDX5oe-Cc00saAR.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Bh-cfR9F-DChyCikr.js → LabeledCreatableSingleSelectField-B_TreAUT-DzJBfD6q.js} +3 -3
- package/dist/assets/{LabeledDocumentField-YBoeNDoD-CLNSxZu5.js → LabeledDocumentField-CUTXDuQL-CB7-inDg.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-jrOUW9Ig-qIpOOsMU.js → LabeledDropDownFormattedTextField-yPu_zrn8-f9OAJ2TU.js} +2 -2
- package/dist/assets/{LabeledText-BqO1wHro-CFTR6iN7.js → LabeledText-gvxUV2ku-Cf06N418.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DiWgp4aE-DnPoOhZt.js → LabeledUserSingleSelectWithSubtitlesField-Bh1Ts3Yn-DTgSGsxS.js} +3 -3
- package/dist/assets/{LabeledZeniRolesDropDownField-Cgy0v5oD-BDpfZBST.js → LabeledZeniRolesDropDownField-xA0_8wFb-Dd3nBqBN.js} +24 -24
- package/dist/assets/{LinkJETransactionPage-PZAQ79zW-DAfAvYpe.js → LinkJETransactionPage-f4-YwvQe-D8ooeWsr.js} +10 -10
- package/dist/assets/{LowBalancePopup-BYeSnxBp-B4P0Q0TO.js → LowBalancePopup-C7oCDqcx-2Rje4uhG.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-D_FaPCmn-CwsGifxO.js → MagicLinkACHDetailsPage-Bqe3RDsV-CZa4p9hj.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-rnZdulCr-aKJ6N8io.js → MagicLinkDomesticWireDetailsPage-DPU-8FAH-CSBTwaek.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-B7ScwCJc-BlIizrt7.js → MagicLinkInternationalWireDetailsPage-DeXZfP0h-D3k-uGEY.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DVhVWuCR-D9krNiEj.js → MagicLinkSuccessPage-CArToNjz-DqyiFP-T.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-CjV-_WEQ-C1naOcbz.js → MagicLinkTitleSection-CP0OhLNZ-BeBei-_2.js} +3 -3
- package/dist/assets/{MailingDetailsSection-CW6ShqHJ-73CcSLG9.js → MailingDetailsSection-TgN7VRhK-CYe74YT_.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-BhC8pSjM-BfX7Nbrw.js → MeetingCalenderPopup-vr7DE2aj-DAZs4R6M.js} +3 -3
- package/dist/assets/{Menu-LDwLOgxI-BAC6-j6U.js → Menu-DNn9-W-C-DaYpba-h.js} +4 -4
- package/dist/assets/{MyBankConnectionsSettingsPage-BzxtuXEu-D3e4m74e.js → MyBankConnectionsSettingsPage-TawXQ1Zb-BllmvVI4.js} +14 -14
- package/dist/assets/{MyPendingActivationChargeCardListPage-9jGJWmds-Ds8iUmlp.js → MyPendingActivationChargeCardListPage-CPgV9E8n-BAkl0Cop.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-9yk4H_yu-BhikO1H8.js → MyProfileSettingsPage-DuXTV0pM-5CplCRBg.js} +7 -7
- package/dist/assets/{NavBarWithPicker-DUpJ0EXp-eVqHH6KE.js → NavBarWithPicker-Cdali7jG-B142_aE-.js} +4 -4
- package/dist/assets/{NavigationArrow-lL3Ug8Mk-CTywI3Av.js → NavigationArrow-DaoZtCA8-BHc3euQ9.js} +9 -6
- package/dist/assets/{NavigationDots-6Q5ZVqKl-BVu8rEb8.js → NavigationDots-BhF2AV0Y-DUHF5KEe.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-nrWvsRy4-Cxk9w4rE.js → NewGlobalMerchantPage-BaoJ7yB8-BF04eMSd.js} +8 -8
- package/dist/assets/{NoDataChart-DGbfWo33-BotYKJPz.js → NoDataChart-IPJ1xGPZ-BKJQDDL9.js} +1 -1
- package/dist/assets/{NoDataTable-CsvWc_ok-MqDBJhya.js → NoDataTable-D5U81gbD-BirLBEpp.js} +1 -1
- package/dist/assets/{NotFoundPage-CzfiPkml-CBoedKxV.js → NotFoundPage-C7BswX2A-DQWUyCMU.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Dmfqzy1H-towhjaYy.js → NotificationSettingsPage-BQyqFWby-GjMlWRuD.js} +13 -13
- package/dist/assets/NotificationsListConfig-kLqWFg2Q-DecPdYAb.js +1 -0
- package/dist/assets/{NotificationsPage-BAj5p1zx-CgZXZnGB.js → NotificationsPage-DjRkTZVT-udgcPcnZ.js} +12 -12
- package/dist/assets/{OpExByVendorPage-CRt-VUTi-B80Tbh2Q.js → OpExByVendorPage-CSasi7Uo-CoBJ4a1U.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-YkaPkNJd.js → OverlayContainerPage-C0rUb6-5-CokciX1J.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-lT9GgcG2-YdbrvMVo.js → PandLWithForecastPage-D8YwSYiz-BlQ8i7AP.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DY4eeS5C-CTOGSCHT.js → PaymentAccountSetupBillingAddressSection-BWwcQZfk-DK-YnIzr.js} +7 -7
- package/dist/assets/{PeoplePage-CDQl7HVr-Js2M-ikq.js → PeoplePage-mrXiZ4VG-Cp2NcBr2.js} +14 -14
- package/dist/assets/PortfolioAllocationFormPage-DAFisXnQ-DjoPfEuL.js +207 -0
- package/dist/assets/{PortfolioDetails-Dk_IIRuG-DYkySZiF.js → PortfolioDetails-BBOVIetI-BvRwtbCV.js} +12 -12
- package/dist/assets/{ProductsCarousel-0-ksFQos-BVU1DIhA.js → ProductsCarousel-DpevGHyq-M7sMCRPA.js} +6 -6
- package/dist/assets/{PromoBaseCards-DNSnqS61-Cfuq0-d2.js → PromoBaseCards-BreO0rHq-CmneT-LE.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-BmIUfW_i-CNR2Frv0.js → QBOConnectionDialog-BCWc6AK--ExlTvgR6.js} +7 -7
- package/dist/assets/{QBOSetupSection-BaNFiEPB-Blh3g_tU.js → QBOSetupSection-D_doa7hh-C2_irMwi.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CtTk4HV2-B0a_si5E.js → ReimbursementApprovalRuleDetailPage-BSFxsbcx-5oswA6u0.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-IhKSiGK_-B4EnT7LJ.js → ReimbursementApprovalRulesPage-X9bJFM6L-DS04bVT9.js} +29 -29
- package/dist/assets/{ReimbursementDetailPage-B2rT1dKM-Dl6cSkTv.js → ReimbursementDetailPage-BJmSB65P-B9Io-y6T.js} +11 -11
- package/dist/assets/{ReimbursementPromoPage-d7XBUzip-DuqesQ8S.js → ReimbursementPromoPage-DO7dI9S7-IIxWWc2q.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-DWCUtN5c-D2crwgx8.js → ReimbursementSetUpPage-Wjj6aNpc-BXv92xHK.js} +9 -9
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-ByNvcTCn-BeXHPHUI.js → ReimbursementsBulkReviewDrawerPage-GPuEjGqi-qY4F19Li.js} +1 -1
- package/dist/assets/{ReloadCard-DZy28iWR-jsSdtSEM.js → ReloadCard-cApojDpl-BTIiWZRj.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-DdZm4cOJ-DLTAUXgU.js → ReportTableViewSelector-BVUqQ9hl-WfosyobX.js} +5 -5
- package/dist/assets/{ReportsPage-CJDkY9FT-akkzjuiU.js → ReportsPage-CdiHHtXH-B1iwxprE.js} +1 -1
- package/dist/assets/{RevenueChart-B_jdFFPm-Dvzvd35h.js → RevenueChart-xoOc_3W3-Dzhhcd2T.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DjPVGzeL-B2dVuWiU.js → ReviewDetailsPage-CF-R6wwN-BMnS8ktk.js} +10 -10
- package/dist/assets/{ReviewOverlay-DGYnF07r-BmF1KLWH.js → ReviewOverlay-Bora7h_H-BkZGLYKt.js} +10 -10
- package/dist/assets/{RoleWithToolTip-VlYG_GPv-HwJfmM_J.js → RoleWithToolTip-k62RaqAZ-Bav1TewG.js} +7 -7
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-oPFQEE8g-CmmNaIvX.js → ScheduleDetailsFixedAssetsPage-Bd6qfpob-BxOEwKtI.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BdBgJEAl-BKn_j94v.js → ScheduleDetailsPage-scOS36lS-CAMrRW5Y.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-Ncft3mZN-CRa3CvVA.js → ScheduleSequenceTable-BIhbFnjb-DCpkIU0H.js} +51 -51
- package/dist/assets/{ScreenRoutes-BTcmXKy-.js → ScreenRoutes-C1ZbXccz.js} +35 -35
- package/dist/assets/{SetUpAccountSection-BrYiljyO-pToBK7AQ.js → SetUpAccountSection-ehZfUFEf-BgFNCBNu.js} +17 -17
- package/dist/assets/{SetUpDefaultSection-B361ojb9-DI4MvGmI.js → SetUpDefaultSection-DnYtx3XN-CNoT73Ow.js} +16 -16
- package/dist/assets/{SignIn-B_-FUZwZ-mpvTc0om.js → SignIn-k9MFplB1-eud7vdJb.js} +14 -14
- package/dist/assets/{SignInScreen-BB8vRkAH.js → SignInScreen-CqP6hQef.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-XbjqwHXx-Bh4RdEX-.js → SpendManagementListViewPage-B11exjM8-CE2MaiYn.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-D-4W-Ru9-BWrfido7.js → SpendManagementPerTabPage-ByXU-omE-DWwC2JuF.js} +34 -34
- package/dist/assets/{SpendManagementSection-B7pMvj7Z-CrhIndCK.js → SpendManagementSection-CAewVL0Z-GsJe1fhq.js} +8 -8
- package/dist/assets/{SpendMgmtSetupAccountSection-DdUs96r9-fgeex4tA.js → SpendMgmtSetupAccountSection-BY2LT0qv-CgVflLnR.js} +11 -11
- package/dist/assets/StatementItem-BJoMxmJY-BVhb_2i3.js +31 -0
- package/dist/assets/StatementsPage-C_O76V3t-DoehdMaa.js +58 -0
- package/dist/assets/{StatusSwitcher-DGOwA8qO-DXNP0kut.js → StatusSwitcher-39NGxygM-8g3Kr8Ie.js} +5 -5
- package/dist/assets/{SubTabSwitcher-Be-6o_mE-B_jPOUDo.js → SubTabSwitcher-BcL8UKX8-CtPS6-C1.js} +1 -1
- package/dist/assets/{SummaryCard-CD1amg78-Dk5tKXKf.js → SummaryCard-VT7YJ6jy-DeCNM95f.js} +1 -1
- package/dist/assets/{TaskManagementPage-C2UYhTtL-BzgZCvH2.js → TaskManagementPage-p-3BLn0_-TCdTn4Be.js} +30 -30
- package/dist/assets/{TimeRangeSwitcher-DxAmlHGP-DP1d7g2Y.js → TimeRangeSwitcher-Cjs5znYy-Dn_2XKTn.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-ndYSpUa6-BuCFVoL9.js → TimeframeSwitcher-BJrFD5A7-CapG6nwB.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-CrWRqA_S-Bvp4VoyC.js +31 -0
- package/dist/assets/{TopExCard-CcpyunQ3-DB3WOnAr.js → TopExCard-DAwlJbbc-Ch08mChi.js} +5 -5
- package/dist/assets/{TopExDetailPage-C_B0c8iP-CQH4kQCr.js → TopExDetailPage-BgUJytuV-V8CGIoou.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DVPGLobu-fET_zL6B.js → TransactionDetailPage-C8yIuCvF-lo-j_-eB.js} +20 -20
- package/dist/assets/{TransactionList-CvGyadHZ-BRi-y0eq.js → TransactionList-DG-KZUjZ-CV9wox71.js} +12 -12
- package/dist/assets/{TransactionListBig-BeZjYsO0-DVbWoKX3.js → TransactionListBig-iGiOjwVK-Dc9vBqnr.js} +16 -16
- package/dist/assets/{TransactionListPage-C8h-sa3V-Df3cyvuB.js → TransactionListPage-C9Z_z4mC-UBhyOHuK.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-BcV8h3xR-BtCVlvOk.js → TransactionVendorDetailPage-5uo1FPul-BOddX9Sk.js} +5 -5
- package/dist/assets/{TransferDrawerPage-B_AJgZWp-Or_BWSki.js → TransferDrawerPage-BKzo-4Wj-D-t2nTop.js} +32 -32
- package/dist/assets/{TreasuryOverviewPage-kG1jZF28-ti5gMNPt.js → TreasuryOverviewPage-C6kTg0L3-DDk4OCh2.js} +32 -32
- package/dist/assets/{TreasuryPromoPage-Dy3ExIiy-CrAH00F4.js → TreasuryPromoPage-CAS0pdES-D8v7EASC.js} +11 -11
- package/dist/assets/{TreasurySetupPage-Cjr-dp6O-C_f-CjtV.js → TreasurySetupPage-CcLiQWOT-B7yrMsSh.js} +2 -2
- package/dist/assets/TreasuryStatementsPage-Dm-3SPtA-C2bOR_YK.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-CWLf1Zxq-CFKQOpl0.js → TreasuryTaxLetterPage-0RsINpqA-DJWdIr-H.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-C5F3fmoI-DWxfMs49.js → TreasuryTransferOrReviewPage-C_4CQVIe-BOkn6wNn.js} +21 -21
- package/dist/assets/{TrendChart-CtjfgQ9g-pudrZWWi.js → TrendChart-CkPRxjLa-ClAmXRdb.js} +3 -3
- package/dist/assets/{TrendWithTransactions-SmcM2UIp-DgIRBBgY.js → TrendWithTransactions-DJYMqIOI-wnxxIB4C.js} +2 -2
- package/dist/assets/{UncategorizedAccountsMappingPage-CXoadwja-CVCYlnLq.js → UncategorizedAccountsMappingPage-BapLceo--CgdItlB5.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-wYQVQqP7-B9jpBbf5.js → UnitIntegrationPage-C9zNzH3B-gVQYcxZB.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-8_c7UpvB-Da0QQDee.js → UploadAdditionalDocumentOverlay-BNaV6i2S-BuH4CmLJ.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DtNSOXbK-B54EsOev.js → Vendor2FAPopup-_Cn9FJ7D-cKAPYes9.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-zNbGGe4q-DzTQUGmf.js → VendorACHDetailsPage-B1vHY6rG-VScnw-FL.js} +1 -1
- package/dist/assets/{VendorDetailPage-Cv-MG9iR-DEU59srZ.js → VendorDetailPage-Dkl7AlIZ-5XPeaOqt.js} +9 -9
- package/dist/assets/{VendorDomesticWireDetailsPage-BkqtoYAw-UtRf_Dud.js → VendorDomesticWireDetailsPage-Co8Uc_OS-I5CTiy_-.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DYJudj3c-Bsy6K9TF.js → VendorFiling1099EditablePage-M0gQJLkE-DzG8EXIY.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-BNFIAB9n-Ccq-pg0H.js → VendorFirstReviewPage-Bte87pqn-DeG8_h9I.js} +46 -46
- package/dist/assets/{VendorInternationalWireDetailsPage-DHa8JoNl-BIGE19fD.js → VendorInternationalWireDetailsPage-DdfkKEFx-sHwHhQTJ.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-a5nSOMXK-CesNrNHp.js → VendorInternationalWireSwiftDetailsPage-CtQifsRT-BsMO6lfl.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DwDGbjey-CalnRHPb.js → VendorsAccountsSection-CxyObm3T-BgRsSYOY.js} +13 -13
- package/dist/assets/{WarningsDrawerPage-CaSTx_8h-Cf8ziKNm.js → WarningsDrawerPage-D5nPLGJh-5sMWIR75.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-BSOpxKiJ-DL21Ttbi.js → ZeniAccountDetailPage-CKS9mcn3-BBMilYy5.js} +34 -34
- package/dist/assets/{ZeniAccountListViewPage-CZM1ODEE--W6YiFOZ.js → ZeniAccountListViewPage-CORl7azj-By_13T1c.js} +18 -18
- package/dist/assets/{ZeniAccountNavBarPieces-CjNAr1N9-BQQ9e6IA.js → ZeniAccountNavBarPieces-88z7CFPI-kEgSzIRo.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-PcyNGe7A-gml7CwD5.js → ZeniAccountPromoPage-Car62P8Q-Bdd82q-1.js} +11 -11
- package/dist/assets/{ZeniAccountSetupPage-DhJ2zm6A-Baqq4vI5.js → ZeniAccountSetupPage-B5uOzSDL-B_JyTC9y.js} +5 -5
- package/dist/assets/{ZeniCopyright-CSUSID-7-BWvcGvHW.js → ZeniCopyright-BcMyDAdQ-B3RH4DR7.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DPl7porw-C20rg1A-.js → ZeniTransferAmountSlider-Css3_ojA-DueYRoaC.js} +1 -1
- package/dist/assets/analytics-CBL_L82S.js +7 -0
- package/dist/assets/{analyticsHelper-CrNzPbDQ.js → analyticsHelper-DsBQxHgn.js} +1 -1
- package/dist/assets/{analyticsHelper-Cex5LOMD-BC_YiSN7.js → analyticsHelper-X-GRY9hH-MGNhQKMp.js} +1 -1
- package/dist/assets/{chartTypes-Df8u7la0-ByZ4IuQ1.js → chartTypes-C5XZr0AA-C8J0rp67.js} +1 -1
- package/dist/assets/{commonDimensions-OJhakpB_-BApQ51ib.js → commonDimensions-DBedC6J7-SSiZbAOc.js} +1 -1
- package/dist/assets/{detailCommon-4wAnHr6n-Py5M2PMe.js → detailCommon-CIjWXBC2-K-4pS5u-.js} +6 -6
- package/dist/assets/{downloadPdf-D02UNVHu-DIao_ROf.js → downloadPdf-B21yi0DO-ZMTPTkC7.js} +1 -1
- package/dist/assets/{index-g0nOWR6_.js → index-ji6aa7AC.js} +3296 -3257
- package/dist/assets/{mapLoadingInProgressToTreeNode-HsZI6Bdg-BqYN1UJm.js → mapLoadingInProgressToTreeNode-CPDYMovk-DjQU3oZy.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B9KMXCTi-CwLS3FGS.js → mapSectionWithAcOnlyToTreeNode-XPbCtxen-DAUQseD_.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BIZ_jwXi-DpTIktgw.js → mapSpacerToTreeNode-CJ13HyFX-D7QAWDUL.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BOFrVlzJ-DjnRzlUT.js → mapTimeframeBalancesToTreeNode-D8UCPznF-C5zbYkry.js} +1 -1
- package/dist/assets/{play-icon-BDRoJBSV-B8UUHRFT.js → play-icon-D7s0M2vV-zKqEqpdy.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-RJhTPgAt-kPvBDP42.js → toCOABalancesWithID-CWk-QcRU-Db3b2mU1.js} +1 -1
- package/dist/assets/{toChartData-K68FB3Iy-DoJRD_du.js → toChartData-BMMsnVqz-Cij6F0sj.js} +1 -1
- package/dist/assets/{treasuryColorHelper-DjASf5JB-Cl6HBn0O.js → treasuryColorHelper-CDRG_Dxk-BbsHEkM1.js} +1 -1
- package/dist/assets/{uploadAttachment-D7Rju7jS-BFpPYv3E.js → uploadAttachment-5FffgOcW-DgFFpcCF.js} +25 -25
- package/dist/assets/{uploadReceipts-Buvz7DfG-CB0sRH1o.js → uploadReceipts-Buvz7DfG-Dl3fgjOi.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPageContent-CmRpq4eF-hjvomhOE.js +0 -149
- package/dist/assets/ApprovalRulesSettingsPage-1AQm08qF-CXZ2UVYn.js +0 -47
- package/dist/assets/ArAgingChart-UnY648RV-5afZ_IEV.js +0 -24
- package/dist/assets/BankConnectionsSettingsPage-BG99PtV_-C8rq5yoG.js +0 -379
- package/dist/assets/ChargeCardDetailPage-DYGcQs0M-B3H4P_U_.js +0 -1447
- package/dist/assets/ChargeCardListPage-CNrRrNbd-BeypcnIV.js +0 -355
- package/dist/assets/ChargeCardPromoPage-DZ1f8Sus-BgIZCds1.js +0 -175
- package/dist/assets/CheckDepositDrawerPage-CbsRUWnx-Cx0Y8PMs.js +0 -206
- package/dist/assets/CustomerOnboardingContainerPage-BmFfAaO1-TqkMXd0C.js +0 -1
- package/dist/assets/Dashboard-BLIK_ZsD-C-fC9BFZ.js +0 -778
- package/dist/assets/HelpButton-DXFYhUL5-j2rT96Ib.js +0 -28
- package/dist/assets/InvitePeoplePage-By6TWsVZ-CyIcCnmH.js +0 -12
- package/dist/assets/NotificationsListConfig-Cc3hEei0-DLyt_MaK.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-StMDGc2G-B1hVvScq.js +0 -207
- package/dist/assets/StatementItem-B4DJRmwy-BmYREkM-.js +0 -31
- package/dist/assets/StatementsPage-DzFEOmFA-CA1pNdpO.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-B3bxr-_s-DFK8QpY1.js +0 -31
- package/dist/assets/TreasuryStatementsPage-CzOSIKGQ-CaAsFK_4.js +0 -58
- package/dist/assets/analytics-DThoELaW.js +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as He,X as
|
|
1
|
+
import{u as He,X as w,M as h,H as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ke,bO as ae,bQ as ie,bR as se,ct as Ge,a3 as Qe,C as W,bo as Xe,o,cu as Ze,bs as k,bG as le,n as f,al as de,w as ce,q as K,aN as Je,cq as pe,g as L,cv as me,cn as ue}from"./index-ji6aa7AC.js";import{b as x,n as r}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 et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:v})=>{const j=w(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(q,{children:[t.jsx(H,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(q,{children:[t.jsx(H,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(q,{children:[t.jsx(H,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(K,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),v()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
gap: ${o.sp1};
|
|
@@ -70,7 +70,7 @@ import{u as He,X as v,M as h,D as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO a
|
|
|
70
70
|
&:hover {
|
|
71
71
|
color: ${L.important};
|
|
72
72
|
}
|
|
73
|
-
`,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=
|
|
73
|
+
`,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,u=t.jsx(pt,{children:e.piLabels.map(m=>t.jsxs(mt,{children:[t.jsxs(ut,{children:[m.name,d.colon]}),t.jsx(ht,{children:m.value})]},m.name))});return t.jsxs($t,{size:s,children:[t.jsx(xt,{children:t.jsxs(K,{children:[e.displayText,t.jsx(k,{title:u,placement:"top",children:t.jsx(yt,{children:t.jsx(ft,{})})})]})}),t.jsx(gt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:d.deleteAccountTooltip,placement:"top",children:t.jsx(bt,{onClick:m=>{m.stopPropagation(),a()},"data-testid":b("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(wt,{})})})})]})},pt=r.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-wrap: wrap;
|
|
76
76
|
gap: ${o.sp1};
|
|
@@ -132,7 +132,7 @@ import{u as He,X as v,M as h,D as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO a
|
|
|
132
132
|
&:hover {
|
|
133
133
|
color: ${e=>e.theme.colors.primary};
|
|
134
134
|
}
|
|
135
|
-
`,
|
|
135
|
+
`,wt=r(ue)`
|
|
136
136
|
width: ${o.sp3};
|
|
137
137
|
height: ${o.sp3};
|
|
138
138
|
cursor: pointer;
|
|
@@ -140,7 +140,7 @@ import{u as He,X as v,M as h,D as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO a
|
|
|
140
140
|
&:hover {
|
|
141
141
|
color: ${L.important};
|
|
142
142
|
}
|
|
143
|
-
`,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},_=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const w
|
|
143
|
+
`,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},_=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const v=w(),[j,p]=x.useState(!1),[g,y]=x.useState(""),[I,N]=x.useState(!1),c=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,S=i=>{y(i),p(!0)},P={onOkClick:()=>{p(!1),u(g,I)},onCancelClick:()=>{p(!1),y("")}},T=i=>e==="ach"||e==="wire"&&a==="us-domestic"?i.bankAccountNumber:e==="wire"&&a==="international"?i.bankAccountIban??"":"",B=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",z=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&a==="international"?c.wireDetails.international.swiftCode:"",V=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&a==="international"?c.wireDetails.international.iban:"";return t.jsxs(St,{children:[j===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:c.areYOuSure}),descriptionComponent:t.jsx(ie,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:P,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(kt,{windowSize:v,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:B(i),routingNumberOrSwiftCodeLabel:z(),accountNumberOrIbanLabel:V(),accountName:i.bankAccountName,onDeleteClick:()=>S(i.bankAccountId)})},i.bankAccountId)),d?.map(i=>t.jsx(te,{children:t.jsx(ct,{paymentInstrument:i,onDeleteClick:()=>{N(!0),S(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(vt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},vt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=w(),u=h.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(Ct,{windowSize:d,onClick:e,"data-testid":b("add-vendor-account",a),children:[t.jsx(jt,{}),t.jsx(le,{children:`${u.vendorCreation.addPrefix} ${he(a,s)}`})]})})},jt=r(pe)`
|
|
144
144
|
margin-right: ${o.sp2};
|
|
145
145
|
width: ${o.sp3};
|
|
146
146
|
height: ${o.sp3};
|
|
@@ -170,12 +170,12 @@ import{u as He,X as v,M as h,D as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO a
|
|
|
170
170
|
padding-bottom: ${o.sp2};
|
|
171
171
|
margin-top: ${o.sp3};
|
|
172
172
|
margin-bottom: ${o.sp3};
|
|
173
|
-
`,Dt=({addressState:e,onUpdateMailingAddress:a})=>{const s=
|
|
173
|
+
`,Dt=({addressState:e,onUpdateMailingAddress:a})=>{const s=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Vt,{children:[t.jsxs(zt,{windowSize:s,children:[`${d.mailingAddressLabel}`,t.jsx(Bt,{children:`${d.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Tt,{children:[At(e),t.jsx(k,{enterDelay:600,display:"flex",title:d.editMailingAddressTooltip,placement:"top",children:t.jsx(Lt,{"data-testid":b("edit-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:t.jsx(It,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":b("add-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:[t.jsx(Nt,{}),t.jsx(le,{children:d.addMailingAddress})]})})]})},At=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),Lt=r.div`
|
|
174
174
|
width: ${o.sp3};
|
|
175
175
|
svg {
|
|
176
176
|
display: none;
|
|
177
177
|
}
|
|
178
|
-
`,It=r(
|
|
178
|
+
`,It=r(Je)`
|
|
179
179
|
width: ${o.sp3};
|
|
180
180
|
height: ${o.sp3};
|
|
181
181
|
cursor: pointer;
|
|
@@ -203,7 +203,7 @@ import{u as He,X as v,M as h,D as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO a
|
|
|
203
203
|
color: ${e=>e.theme.colors.primary};
|
|
204
204
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
205
205
|
}
|
|
206
|
-
`,Tt=r(
|
|
206
|
+
`,Tt=r(K)`
|
|
207
207
|
margin-top: ${o.sp2};
|
|
208
208
|
padding: ${o.sp3} ${o.sp4};
|
|
209
209
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -262,11 +262,11 @@ import{u as He,X as v,M as h,D as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO a
|
|
|
262
262
|
justify-content: center;
|
|
263
263
|
align-items: center;
|
|
264
264
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
265
|
-
`,Et=r(
|
|
265
|
+
`,Et=r(Ze)`
|
|
266
266
|
color: ${e=>e.theme.colors.primary};
|
|
267
267
|
margin-bottom: ${o.sp3};
|
|
268
268
|
margin-top: ${o.sp3};
|
|
269
|
-
`,Mt=r(
|
|
269
|
+
`,Mt=r(Xe)`
|
|
270
270
|
cursor: pointer;
|
|
271
271
|
color: ${e=>e.theme.colors.hero};
|
|
272
272
|
width: 20px;
|
|
@@ -278,4 +278,4 @@ import{u as He,X as v,M as h,D as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO a
|
|
|
278
278
|
display: flex;
|
|
279
279
|
flex-direction: column;
|
|
280
280
|
padding-top: ${o.sp11};
|
|
281
|
-
`,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,
|
|
281
|
+
`,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,Jt=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:I,updateSelectedVendorForCreate:N,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:B,resetVendorDetailLocalData:z,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:G,newVendorState:Q,fetchState:we,hasWireTransfer:X,hasInternationalWireTransfer:R,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?G?.vendorDetailLocalData:Q?.vendorDetailLocalData,l=Object.assign({},G??Q),Se=He(),C=w(),[De,F]=x.useState(!1),[Ae,O]=x.useState(!1),Z=s==="create"?$.newVendorTitle:$.editVendor,Le=(l.bankAccountsUpdated??[]).map(n=>n.bankAccountId).sort(),Ie=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ne=!U(Le,Ie),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),Be=!U(Pe,Te),ze=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>Ye(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Re=!U(ze,Ve),Fe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Oe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Ee=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),J=()=>{O(!0)},Me=n=>{F(n)},Ue={onOkClick:()=>{O(!1),F(!1),z?.(),g()},onCancelClick:()=>{O(!1),F(!1)}},E=x.useRef(null),We=n=>{E.current?.syncFormData(),T(n)},M=(n,qe)=>{E.current?.syncFormData(),I(n,qe)};x.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&(S(),g())},[l]);const ee=x.useRef(null);return t.jsxs(Rt,{windowSize:C,children:[t.jsx(_e,{"data-testid":b("vendor-detail-container-nav-bar"),title:Z,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:J,"data-testid":b("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:ee,source:"CreateOrEditVendorPage"}),t.jsxs(Ft,{windowSize:C,ref:ee,children:[we==="In-Progress"?t.jsx(Ot,{children:t.jsx(Ke,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:$.discardTitle}),descriptionComponent:t.jsx(ie,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.cancel,action:Ue}):null,C!=="small"?t.jsx(Et,{children:Z}):null,t.jsx(Ge,{ref:E,id:re(oe),allAccounts:$e,allClasses:be,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:ye,allOwners:fe,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:R,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ne,isContactListChanged:Re,isPaymentInstrumentChanged:Be,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:N,saveVendorDetailLocalData:B,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),X||R?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(_,{type:"ach",vendorAccountDetails:Fe,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,X&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(_,{type:"wire",subType:"us-domestic",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>M("wire","us-domestic"),onRemoveBankAccount:c}):null,R&&(D?.countryCode!=null&&D.countryCode!=="US"||p)?t.jsx(_,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Qe,{formId:re(oe),primaryBtn:{label:$.saveDetails,isLoading:l.saveStatus?.fetchState==="In-Progress",style:{width:A.buttonWidth.value(C)},isDisabled:!1},cancelBtn:{label:Wt.cancel,style:{width:A.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:J}})]})};export{Jt as default,re as formUniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as a,X as me,
|
|
1
|
+
import{j as a,X as me,d2 as pe,Y as te,gN as Je,M as V,_ as Te,K as He,d as et,a3 as Pe,o as t,C as d,a2 as je,k as tt,R as at,u as ze,bs as nt,cO as Ee,Q as W,g as Z,fQ as Ce,v as ot,l as E,Z as Me,c0 as it,a1 as be,a as rt,eX as lt,c3 as ct,F as st,cz as dt,f4 as mt,c8 as pt,fD as ut,n as r,bo as ht,bm as Be,cW as gt,bG as yt,q as Oe,f7 as ft,e$ as Ct,a6 as bt,f8 as xt,cq as St,f9 as wt,fi as Dt}from"./index-ji6aa7AC.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-CXNDX5oe-Cc00saAR.js";import{v as kt}from"./ChargeCardUtils-BEtXxds6-iY4L_brM.js";import{Z as xe}from"./CreditCardPaymentPlgSection-CH8Ic2sK-CXQECn24.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 ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new W("h6Regular","h5Regular"),integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:vt}},common:{edit:At,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=V.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:$})=>{const m=me(),T=ze(),P=pe().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const v=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Xt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Kt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Yt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Wt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:t.sp3,height:t.sp3,color:Z.heroLight}})})]})}):null,a.jsx(Zt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:v},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Vt,{}),a.jsx(Ce,{label:{label:Se.amount,width:v},showAdditionalInfoLabel:!0,additionalInfoLabel:`${$?ee.creditLimitReset:ee.creditLimitUpdate} ${E.zeniDate(E.getNextNthWorkingDay(E.dateNow().toDate(),[0,6],3).toDateString()).format(vt)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:T.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:At,onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Gt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Qt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
|
|
2
2
|
color: ${e=>e.theme.colors.primary};
|
|
3
3
|
padding-top: ${t.sp3};
|
|
4
4
|
`,Pt=o.div`
|
|
@@ -47,11 +47,11 @@ import{j as a,X as me,d3 as pe,Y as te,gP as Je,M as Y,_ as Te,K as He,e as et,a
|
|
|
47
47
|
`,Nt=o.div`
|
|
48
48
|
display: flex;
|
|
49
49
|
align-items: flex-start;
|
|
50
|
-
`,Ut=o.div``,
|
|
50
|
+
`,Ut=o.div``,Yt=o(gt)`
|
|
51
51
|
width: ${t.sp4};
|
|
52
52
|
height: ${t.sp4};
|
|
53
53
|
color: ${Z.important};
|
|
54
|
-
`,
|
|
54
|
+
`,Wt=o(je)`
|
|
55
55
|
cursor: pointer;
|
|
56
56
|
color: ${e=>e.theme.colors.hero};
|
|
57
57
|
width: ${t.sp4};
|
|
@@ -60,7 +60,7 @@ import{j as a,X as me,d3 as pe,Y as te,gP as Je,M as Y,_ as Te,K as He,e as et,a
|
|
|
60
60
|
&:hover {
|
|
61
61
|
color: ${e=>e.theme.colors.primary};
|
|
62
62
|
}
|
|
63
|
-
`,
|
|
63
|
+
`,Vt=o.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
flex: 1;
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -126,7 +126,7 @@ import{j as a,X as me,d3 as pe,Y as te,gP as Je,M as Y,_ as Te,K as He,e as et,a
|
|
|
126
126
|
margin-right: 12px;
|
|
127
127
|
margin-left: ${t.sp1};
|
|
128
128
|
color: ${e=>e.theme.colors.hero};
|
|
129
|
-
`,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=
|
|
129
|
+
`,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=V.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,Ye=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:$,onSignUpAccountClick:m,onMoveMoneyClick:T,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:I,controllerEmails:v,productInformation:K,cashbackInformation:X,paymentSourceInformation:q,creditAccountInformation:G,debitAccountInformation:Q}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),J=pe().analytics,H=p.useRef(null),[j,z]=p.useState(!1),[F,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,k=F==="update_account"?oe:A,[_,ue]=p.useState(k.linkToken??null),he=be(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,D=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),We=p.useCallback((l,u)=>{const R=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&F==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,F),O(void 0),z(!1)},[c?.paymentAccountId,c?.providerAccountId,F,ge,y,b]),Ve=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&y("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),O(void 0),z(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:We,onExit:Ve});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&D!=="verified"&&D!=="manually_verified"&&D!=="automatically_verified"&&D!=="database_matched"&&(C?.("link_account"),x())},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,D]),p.useEffect(()=>{(E.isVerifiedStatusCode(D??"")||D==="verification_failed")&&!j&&F!=null&&k.linkToken===_&&k.fetchStatus.fetchState==="Completed"&&fe&&z(!0)},[fe,_,k.fetchStatus.fetchState,k.linkToken,D,F,j]),p.useEffect(()=>{k.fetchStatus.fetchState==="Completed"&&k.linkToken!=null&&k.linkToken!==_&&ue(k.linkToken)},[k.fetchStatus.fetchState,k.linkToken,_]),p.useEffect(()=>{j&&ce()},[j,ce]),p.useEffect(()=>{(D==null||D==="verification_failed"||D==="verification_expired"||E.isVerifiedStatusCode(D))&&(E.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:Ze}=N.formState,Ke=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const R=ve(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(R)}},Xe=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&E.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:R})=>{R!=null&&u!=null&&ct(()=>Ke(R,u))});return()=>{l.unsubscribe()}});const qe=N.watch("paymentDetails.amount"),Ge=N.handleSubmit(()=>{if(Ze){const l=N.getValues(),u=ve(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),$(!0),P&&M&&I&&J.trackCardsPayEarlyFormClick(v,K,X,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},q,G,Q)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(Ee,{amount:{amount:qe??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:$e.integerAmountInput.styleObject(s),decimalStyles:$e.decimalAmountInput.styleObject(s)})}),a.jsx(st,{...N,children:a.jsx(sa,{id:Ye(Ue),onSubmit:Ge,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:H,label:{label:se.labels.transferFrom,width:w,style:{marginLeft:S.labelMarginLeftPicker.valuePx(s),marginTop:S.labelMarginTopPicker.valuePx(s),marginRight:S.labelMarginRightPicker.valuePx(s),width:S.largeLabelWidth.value(s)}},style:{paddingTop:S.labeledFieldPaddingTop.valuePx(s),paddingBottom:S.labeledFieldPaddingBottom.valuePx(s),paddingLeft:S.labeledFieldPaddingLeft.valuePx(s),paddingRight:S.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:S.infoLabelPaddingRight.valuePx(s),marginTop:S.infoLabelMarginTop.valuePx(s),color:Z.brandColorGoldDark},bottomComponent:a.jsx($t,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(B,"enableAutoPay"),checkBoxValue:re(B,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(B,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{O("link_account"),A.linkToken==null||E.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):j?ce():z(!0)}},valueToAdditionalLabel:Xe}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(xe,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",kt)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{H.current!=null&&H.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?a.jsx(xe,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:T}):a.jsx(ca,{}),a.jsx(ut,{showAdditionalInfoLabel:!1,label:{label:se.labels.amount,width:w},formattedTextField:{type:"number",name:re(B,Ne),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:aa.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:S.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ra=o(bt)`
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
width: ${e=>e.windowSize==="small"?"80%":"100%"};
|
|
132
132
|
`,la=o(xt)`
|
|
@@ -154,7 +154,7 @@ import{j as a,X as me,d3 as pe,Y as te,gP as Je,M as Y,_ as Te,K as He,e as et,a
|
|
|
154
154
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
155
155
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
156
156
|
border-radius: ${t.sp2};
|
|
157
|
-
`,ve=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new
|
|
157
|
+
`,ve=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new W("h6Regular","h5Regular")},Ae=V.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,Y=V.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Le}=V.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:L,debitAccountInformation:y,cashbackInformation:b,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:T,onSaveChangesToLocalStore:P,onTransferClick:M,goToCards:I,onDismissClick:v,onEstablishConnectionClick:K,onFetchLinkTokenClick:X,plaidConnectionDetails:q,onSignUpAccountClick:G,onMoveMoneyClick:Q,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),J=pe().analytics,[H,j]=p.useState(!1),[z,F]=p.useState(!1);p.useEffect(()=>{z&&setTimeout(()=>{F(!1),j(!0)},1e3)},[z]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===L;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),v?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(Je,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[Y.youvePaid,a.jsx(ya,{children:Te("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),Ae.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?Y.theCreditLimitWillResetWithin23BusinessDays:Y.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(He,{variant:"primary",label:Y.goToCards,"data-testid":te("back-to-cards-button"),onClick:I})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:j,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:T?.add(3,"day").format(Le.visual.MMMDCommaYYYYformat),paymentInitiatedDate:T?.format(Le.visual.MMMDCommaYYYYformat)},x,f,y),v?.()}})}),w==="small"?a.jsx(ba,{windowSize:w,children:Y.payCreditCardBalance}):a.jsx(xa,{children:Y.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:P,plaidConnectionDetails:q,paymentDetails:i,setShowReviewLoading:F,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:X,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:K,onSignUpAccountClick:G,onMoveMoneyClick:Q,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:Ye(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:V.getLocalizedStrings().common.review,isLoading:z},cancelBtn:{label:Ae.transferDrawer.cancelBtn,onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),v?.()}}})]})})},ha=o.div`
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column;
|
|
160
160
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{X as j,u as M,M as L,
|
|
1
|
+
import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as W,bB as G,o as l,g as n,C as a,aQ as H,bG as U,ax as B,w as _,n as o}from"./index-ji6aa7AC.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),buttonRightMargin:new a(o[0],20)};function V({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:f}){const d=j(),$=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),f?.()}},k=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(A,{windowSize:d,isDarkMode:$.mode==="dark",children:i.jsx(O,{windowSize:d,children:i.jsx(Y,{})})}),i.jsx(F,{children:i.jsxs(I,{children:[i.jsx(J,{windowSize:d,children:e}),i.jsxs(N,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",k)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(W,{label:c,"data-testid":b("accounts-plg-button",c),onClick:C=>{C.stopPropagation(),z()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:G.regular}})})]})}const D=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
-
`,
|
|
4
|
+
`,J=t(U)`
|
|
5
5
|
color: ${e=>e.theme.colors.primary};
|
|
6
6
|
width: 100%;
|
|
7
7
|
`,K=t.div`
|
|
@@ -11,14 +11,14 @@ import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bC as H,o as l,
|
|
|
11
11
|
margin-left: ${e=>r.buttonLeftMargin.valuePx(e.windowSize)};
|
|
12
12
|
margin-top: ${e=>r.buttonTopMargin.valuePx(e.windowSize)};
|
|
13
13
|
margin-right: ${e=>r.buttonRightMargin.valuePx(e.windowSize)};
|
|
14
|
-
`,
|
|
14
|
+
`,O=t.div`
|
|
15
15
|
width: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
|
|
16
16
|
height: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
|
|
17
|
-
`,
|
|
17
|
+
`,Y=t(H)`
|
|
18
18
|
color: ${e=>e.theme.colors.primary};
|
|
19
19
|
width: inherit;
|
|
20
20
|
height: inherit;
|
|
21
|
-
`,
|
|
21
|
+
`,A=t.div`
|
|
22
22
|
display: flex;
|
|
23
23
|
margin-bottom: auto;
|
|
24
24
|
flex-direction: row;
|
|
@@ -57,7 +57,7 @@ import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bC as H,o as l,
|
|
|
57
57
|
`,F=t.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
flex-direction: column;
|
|
60
|
-
`,
|
|
60
|
+
`,I=t.div``,N=t.div`
|
|
61
61
|
display: flex;
|
|
62
62
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
63
63
|
gap: ${e=>e.windowSize==="small"?"12px":l.sp5};
|
|
@@ -67,7 +67,7 @@ import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bC as H,o as l,
|
|
|
67
67
|
`,p=t.div`
|
|
68
68
|
display: flex;
|
|
69
69
|
align-items: center;
|
|
70
|
-
`,w=t(
|
|
70
|
+
`,w=t(B)`
|
|
71
71
|
width: ${l.sp3};
|
|
72
72
|
height: ${l.sp3};
|
|
73
73
|
vertical-align: middle;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,
|
|
1
|
+
import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dg as _,bT as T,b2 as g,q as B,v as S,eT as U,eU as Y,eV as q,w as A,a$ as K,a2 as X,g as m}from"./index-ji6aa7AC.js";import{b as v,n}from"./vendor-CnQcJ2Lu.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=v.useState(!1),k=P(f,e??""),V=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??V.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const w=R;return v.createElement(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(w.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&w?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:G,Input:W,SingleValue:ee,ValueContainer:Q,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:J},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},G=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},J=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(T,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},Q=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(B)`
|
|
2
2
|
color: ${e=>e.theme.colors.primary};
|
|
3
|
-
`,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&
|
|
3
|
+
`,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&U(e)===!1)return l.jsx(l.Fragment,{});{const r=Y[`${q(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
|
|
4
4
|
width: 100%;
|
|
5
5
|
background-color: ${e=>e.hasError?m.importantLight:e.menuIsOpen?e.theme.colors.background:e.controlStyle?.backgroundColor!=null?e.controlStyle?.backgroundColor:e.theme.colors.grey5};
|
|
6
6
|
border-radius: ${o.sp1};
|
|
@@ -105,7 +105,7 @@ import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dh as _,bT
|
|
|
105
105
|
justify-content: space-between;
|
|
106
106
|
fill: initial;
|
|
107
107
|
color: initial;
|
|
108
|
-
`,ne=n(
|
|
108
|
+
`,ne=n(A)`
|
|
109
109
|
padding-right: 10px;
|
|
110
110
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
111
111
|
${e=>e.isSelected&&"cursor: default"};
|
|
@@ -126,13 +126,13 @@ import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dh as _,bT
|
|
|
126
126
|
}
|
|
127
127
|
`,de=n.div`
|
|
128
128
|
display: flex;
|
|
129
|
-
`,ue=n(
|
|
129
|
+
`,ue=n(K)`
|
|
130
130
|
width: 12px;
|
|
131
131
|
height: 12px;
|
|
132
132
|
margin-right: 2px;
|
|
133
133
|
margin-left: ${o.sp1};
|
|
134
134
|
color: ${e=>e.theme.colors.primary};
|
|
135
|
-
`,pe=n(
|
|
135
|
+
`,pe=n(X)`
|
|
136
136
|
width: ${o.sp3};
|
|
137
137
|
height: ${o.sp3};
|
|
138
138
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,X as b,M as d,
|
|
1
|
+
import{j as t,X as b,M as d,a1 as l,Y as p,d as x,o as i,$ as g,c0 as h,k as m}from"./index-ji6aa7AC.js";import{b as u,n as o}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 f=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as r}from"./index-ji6aa7AC.js";import o from"./CustomerOnboardingNoStepsPage-9Jl0VpUx-BiS5ICyP.js";import i from"./CustomerOnboardingPage-OCG7AjuD-DJnYkmg8.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.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"./HelpButton-YqQNv-UM-CruBHlAV.js";import"./MeetingCalenderPopup-vr7DE2aj-DAZs4R6M.js";import"./PaymentAccountSetupBillingAddressSection-BWwcQZfk-DK-YnIzr.js";import"./SetUpAccountSection-ehZfUFEf-BgFNCBNu.js";import"./SetUpDefaultSection-DnYtx3XN-CNoT73Ow.js";import"./ChaseOverlay-BySoceqB-DYKQzq4d.js";import"./CustomerOnboardingDetailPageSkeleton-Cr10sdrX-B55KDkTQ.js";import"./CompanyOfficerDetailsSection-QQIIHW41-xH4MKkl5.js";import"./LabeledAddressValueField-DbR_ehJJ-kXFBzBc8.js";import"./LabeledCreatableSingleSelectField-B_TreAUT-DzJBfD6q.js";import"./LabeledDocumentField-CUTXDuQL-CB7-inDg.js";import"./DocumentSecurityBanner-C_LxmFZ8-Bt6Lz_p3.js";import"./QBOSetupSection-D_doa7hh-C2_irMwi.js";import"./QBOConnectionDialog-BCWc6AK--ExlTvgR6.js";const w=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{w as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as s,Y as y,
|
|
1
|
+
import{j as s,Y as y,aH as E,u as f,X as T,bf as x,o as t,n as R,C as $,$ as I,M as N,g as u,eQ as U,h9 as P,e_ as L,aB as W,f as M,ha as O}from"./index-ji6aa7AC.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Z=r(O)`
|
|
2
2
|
/* Size is controlled by styles.root prop */
|
|
3
3
|
`,X=r.div`
|
|
4
4
|
position: relative;
|
|
@@ -22,7 +22,7 @@ import{j as s,Y as y,aG as E,u as f,X as T,bg as x,o as t,q as R,C as $,$ as I,M
|
|
|
22
22
|
pointer-events: none;
|
|
23
23
|
z-index: 1;
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,B=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const a=setTimeout(()=>{d(e)},100);return()=>clearTimeout(a)},[e]),s.jsx(s.Fragment,{children:o(l)})},F=({valueEnd:e=50})=>{const i=f();return s.jsx(B,{valueStart:0,valueEnd:e,children:o=>s.jsx(X,{theme:i,children:s.jsx(Z,{value:o,strokeWidth:50,circleRatio:1,styles:{...P({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},j=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:a})=>e||i||d||l?l?u.runwayRed:a.colors.primary:o?a.colors.grey1:a.colors.hero,w=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,J=r.div`
|
|
26
26
|
width: 100%;
|
|
27
27
|
display: flex;
|
|
28
28
|
background: ${e=>e.isActive?e.theme.colors.grey5:null};
|
|
@@ -41,10 +41,10 @@ import{j as s,Y as y,aG as E,u as f,X as T,bg as x,o as t,q as R,C as $,$ as I,M
|
|
|
41
41
|
color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.isDisabled,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
`,
|
|
44
|
+
`,K=r.div`
|
|
45
45
|
margin-right: ${t.sp2};
|
|
46
46
|
margin-top: 2px;
|
|
47
|
-
`,
|
|
47
|
+
`,Q=r(L)`
|
|
48
48
|
width: ${t.sp3};
|
|
49
49
|
height: ${t.sp3};
|
|
50
50
|
color: ${u.success};
|
|
@@ -52,20 +52,20 @@ import{j as s,Y as y,aG as E,u as f,X as T,bg as x,o as t,q as R,C as $,$ as I,M
|
|
|
52
52
|
width: ${t.sp3};
|
|
53
53
|
height: ${t.sp3};
|
|
54
54
|
color: ${u.runwayRed};
|
|
55
|
-
`,
|
|
55
|
+
`,_=r.div`
|
|
56
56
|
height: ${t.sp3};
|
|
57
57
|
width: ${t.sp3};
|
|
58
58
|
border: 1px solid
|
|
59
59
|
${e=>e.isActive?e.theme.colors.primary:e.disabledStep?e.theme.colors.grey2:e.theme.colors.hero};
|
|
60
60
|
border-radius: 50%;
|
|
61
|
-
`,
|
|
61
|
+
`,q=r.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
|
-
`,
|
|
64
|
+
`,G=r(W)`
|
|
65
65
|
color: ${e=>j({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
66
|
-
`,
|
|
66
|
+
`,V=r(M)`
|
|
67
67
|
color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
68
|
-
`;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:a,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:n}){const c=d||n.includes(e)&&i===!1;return s.jsxs(
|
|
68
|
+
`;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:a,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:n}){const c=d||n.includes(e)&&i===!1;return s.jsxs(J,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:a,onClick:d===!1?()=>{n.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(K,{children:a?s.jsx(Y,{}):l?s.jsx(F,{}):o?s.jsx(Q,{}):s.jsx(_,{isActive:i,disabledStep:c})}),s.jsxs(q,{children:[s.jsx(G,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:a,children:h}),s.jsx(V,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
flex: 1 1 auto;
|
|
71
71
|
margin-top: 84px;
|
|
@@ -115,7 +115,7 @@ import{j as s,Y as y,aG as E,u as f,X as T,bg as x,o as t,q as R,C as $,$ as I,M
|
|
|
115
115
|
color: ${e=>e.theme.colors.primary};
|
|
116
116
|
cursor: pointer;
|
|
117
117
|
flex-shrink: 0;
|
|
118
|
-
`,ue=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:n,onZeniLogoClick:c,handleLogOutClick:k,handleCockpitClick:A,setIsStepClicked:
|
|
118
|
+
`,ue=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:n,onZeniLogoClick:c,handleLogOutClick:k,handleCockpitClick:A,setIsStepClicked:H}=e,z=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",D=[];return s.jsxs(de,{children:[s.jsx(ne,{"data-testid":y("zeni-logo-customer-onboarding-drawer"),onClick:c}),z?s.jsx(le,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:D,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,onUpdateStep:n,setIsStepClicked:H}),s.jsx(ae,{children:s.jsx(E,{signedInUser:m,currentTenant:g,onLogOutClick:k,onCockpitClick:A})})]})},C={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
|
|
119
119
|
display: flex;
|
|
120
120
|
flex-direction: column;
|
|
121
121
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a1 as ke,c3 as Ie,aW as $e,o as i,Y as Ae,F as ve,a3 as Oe,aH as je,cw as Ve,cx as oe,$ as Te,C as J,q as Le,n as $}from"./index-ji6aa7AC.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{F as Ue}from"./HelpButton-YqQNv-UM-CruBHlAV.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-BWwcQZfk-DK-YnIzr.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-Cr10sdrX-B55KDkTQ.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-vr7DE2aj-DAZs4R6M.js";import"./SetUpAccountSection-ehZfUFEf-BgFNCBNu.js";import"./SetUpDefaultSection-DnYtx3XN-CNoT73Ow.js";import"./ChaseOverlay-BySoceqB-DYKQzq4d.js";const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:D,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:Z,onZeniLogoClick:G,onAddressEditHandler:x}=_,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(De,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(Ge,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:G})})}),o.jsx(ve,{...r,children:o.jsx(Ne,{id:Fe(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:D,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ze,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:Z})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},De=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -28,10 +28,10 @@ import{d3 as se,j as o,X as Ce,u as Pe,a as we,h2 as be,M as xe,a5 as ke,c3 as I
|
|
|
28
28
|
height: 100%;
|
|
29
29
|
flex-direction: column;
|
|
30
30
|
padding-bottom: ${i.sp0};
|
|
31
|
-
`,
|
|
31
|
+
`,Ne=c.form`
|
|
32
32
|
padding-top: ${i.sp0};
|
|
33
33
|
flex: 1;
|
|
34
|
-
`,
|
|
34
|
+
`,Ze=c.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
height: ${i.sp7};
|
|
37
37
|
left: ${i.sp4};
|
|
@@ -40,7 +40,7 @@ import{d3 as se,j as o,X as Ce,u as Pe,a as we,h2 as be,M as xe,a5 as ke,c3 as I
|
|
|
40
40
|
justify-content: center;
|
|
41
41
|
align-items: center;
|
|
42
42
|
cursor: default;
|
|
43
|
-
`,
|
|
43
|
+
`,Ge=c.div`
|
|
44
44
|
display: flex;
|
|
45
45
|
`,We=c(Te)`
|
|
46
46
|
height: ${i.sp4};
|
|
@@ -58,7 +58,7 @@ import{d3 as se,j as o,X as Ce,u as Pe,a as we,h2 as be,M as xe,a5 as ke,c3 as I
|
|
|
58
58
|
padding-bottom: ${e=>q.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
59
59
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
60
60
|
width: 100%;
|
|
61
|
-
`,v=e=>({[Q]:{account:{allOptions:[],selectedOption:void 0}},[n]:be(n,e?.subscriptionBillingAddress)[n]}),pt=e=>{const{onboardingCustomerView:C,cardPaymentView:y,signedInUser:O,currentTenant:j,isOnAddressPage:P,stripeKey:V,googleAPIKey:T,meetingUrl:L,onUpdateStep:U,onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,handleFetchPaymentSources:F,updateCardPaymentModalState:_,resetCardPaymentViewState:u,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...D}=e,{allSteps:M,currentStep:R,fetchStatus:S}=C,
|
|
61
|
+
`,v=e=>({[Q]:{account:{allOptions:[],selectedOption:void 0}},[n]:be(n,e?.subscriptionBillingAddress)[n]}),pt=e=>{const{onboardingCustomerView:C,cardPaymentView:y,signedInUser:O,currentTenant:j,isOnAddressPage:P,stripeKey:V,googleAPIKey:T,meetingUrl:L,onUpdateStep:U,onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,handleFetchPaymentSources:F,updateCardPaymentModalState:_,resetCardPaymentViewState:u,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...D}=e,{allSteps:M,currentStep:R,fetchStatus:S}=C,N=se(),{analytics:Z}=N,G={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:O,currentTenant:j,onUpdateStep:W=>{U(W)},onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(Ke,{...G,onboardingCustomerView:C,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,updateCardPaymentModalState:_,handleFetchPaymentSources:F,cardPaymentView:y,resetCardPaymentViewState:u,stripeKey:V,googleAPIKey:T,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...D}),x?null:o.jsx(Ue,{isFooterRendered:!0,meetingUrl:L,analytics:Z,productType:"onboarding"})]})},Je=c.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
64
|
width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
|