@zeniai/web-cockpit-ui 1.14.7-qa → 1.14.8-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-CYMIIaPh-CazcteT9.js → ACHDetailsPage-HYH4LhGK-DEBeThZX.js} +3 -3
- package/dist/assets/{AIPerformancePage-DpQIi2ZW-BfbtTbJc.js → AIPerformancePage-BnHyhoNh-lxWX9fyZ.js} +35 -35
- package/dist/assets/{AccountInfoPage-Sh-82JXU-CK-JAG50.js → AccountInfoPage-ehy9LEs3-DQuaJuQC.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-CsHvwqHd-Bi3KcCU6.js → AccountInfoPageContent-BpNoLQEh-DUUWW7P_.js} +13 -13
- package/dist/assets/{AccountReconDetailsDrawerPage-DlKlKwh2-COmsGMX5.js → AccountReconDetailsDrawerPage-KuO_6NjT-BhkhqQIK.js} +16 -16
- package/dist/assets/{AccountRow-CtIoeB6x-DB6L8OFQ.js → AccountRow-CKtmIbKO-BzBAql1b.js} +17 -17
- package/dist/assets/{AccountsPromoCardStack-XGoMEJWB-ewH7aqGC.js → AccountsPromoCardStack-BKVvUpdv-BiLayNkQ.js} +15 -15
- package/dist/assets/{AddAddressForCardDrawer-C6Sfh784-v8gPAmnp.js → AddAddressForCardDrawer-BebYNJoP-DW01HmxA.js} +2 -2
- package/dist/assets/{AddToWalletPage-CzD2AhWP-Y1lzrcrr.js → AddToWalletPage-BQfPsknz-CM3di5Tf.js} +13 -13
- package/dist/assets/{AgingReportsPage-D9YcQ7A--CgFqdHda.js → AgingReportsPage-DkCyQw18-D1u9Upzc.js} +7 -7
- package/dist/assets/{AllUserItems-BtS-YtE0-BnRz1B7J.js → AllUserItems-D-FQ96gE-DS0pdT0L.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-BTJqRp9j-CFbtvXnt.js → ApAgingDetailPage-EI4Kx_Xo-DJ1F7n27.js} +4 -4
- package/dist/assets/{AppBasePage-B5fgkJHL-BjE5NFxw.js → AppBasePage-D4QmiB4N-Cv0_LA55.js} +4 -4
- package/dist/assets/{AppDrawerContent-C1lzepXw-DLsvksBd.js → AppDrawerContent-BF8Abz2Y-C4CgYwFq.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-Bqt15rR_-6tCXuJPM.js → ApprovalRulesSettingsPage-tsucbdIk-BvetjtCF.js} +7 -7
- package/dist/assets/{ArAgingChart-BGVvhkR5-CMJLQ0Bz.js → ArAgingChart-CIZs2s3O-DsHvPG7Q.js} +6 -6
- package/dist/assets/{ArAgingDetailPage-Ddp7z3e8-3p3-vb0v.js → ArAgingDetailPage-cC50pBdB-DAxa4kv_.js} +2 -2
- package/dist/assets/{AttachmentView-pcpYs-s8-Bb1hmV9r.js → AttachmentView-Bpla0aBf-CEmozm2v.js} +5 -5
- package/dist/assets/{BankAccountSection-CmXQQBck-5U9GbvUg.js → BankAccountSection-DhDiqg0D-C1fQqXil.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-Dp7qMaI2-DUYDyhSL.js → BankAccountWarningSection-_BSb8rEd-lAbGdxcF.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-ldzD1a4O-Cm0no8yC.js → BankConnectionsSettingsPage-ovzOgVIi-D87I9OOK.js} +38 -38
- package/dist/assets/{BillDetailPage-CBubcYMe-BwBKzNWZ.js → BillDetailPage-C6NJGbua-D_fc-7GH.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-BxiRr1tP-jMPlVte-.js → BillPayApprovalRuleDetailPage-DK34f2_B-CSwpjVbx.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CLBGuxUe-BeVtWdv4.js → BillPayApprovalRulesPage-uT7vadIp-DX4vmU2u.js} +8 -8
- package/dist/assets/{BillPayPromoPage-C3takK8D-D35v8jhQ.js → BillPayPromoPage-DyvWrXiT-3xQsLUHe.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CweOkcc2-Bmcq6In9.js → BillPaySetUpPage-DQUGXwzL-Dnj5yaWm.js} +2 -2
- package/dist/assets/{BillingSettingsPage-BQSZ6DMP-BpIPoFvc.js → BillingSettingsPage-zTBJHq7Y-BV6Ca01p.js} +7 -7
- package/dist/assets/{BillsBulkReviewDrawerPage-3trPH78u-CknT1dvx.js → BillsBulkReviewDrawerPage-qYfFPFRf-BHVDK8xO.js} +1 -1
- package/dist/assets/{BoxItem-Bf7JemSM-DA-EqZ9I.js → BoxItem-CTPuYGrU-DYtDSgqa.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DXODyk9C-BNgCRU8b.js → BusinessVerificationPage-BFJpNsiW-DInJr7ZP.js} +8 -8
- package/dist/assets/{CardNumberSubText-ByVXSDZX-DEHzKLxG.js → CardNumberSubText-LPyLf3pY-CxLdtzot.js} +1 -1
- package/dist/assets/{CashbackDetailPage-9RLOXq5b-Dkm3ES1i.js → CashbackDetailPage-ByJDF7cH-jwINHAlE.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-lkNsxEdO-BUneoo-E.js → ChargeCardDetailPage-DjbwN3eA-BLSeog5S.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DV25pQMP-BOo6rIHo.js → ChargeCardListPage-BcFdegbn-DKuu9f6F.js} +1 -1
- package/dist/assets/{ChargeCardListTable-CSWl05jK-DuONjB5U.js → ChargeCardListTable-BIOmPiWw-D8SfaL8P.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-D7WfGZCc-DqWg0bDn.js +219 -0
- package/dist/assets/{ChargeCardSetupPage-7mEdImT--CnvgcvBB.js → ChargeCardSetupPage-DCjJd2bu-DLt9KXzY.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-D_rKdZ5c-CEA_Rx_h.js → ChargeCardStatementsPage-YZLslSfM-DTP8_5Q0.js} +3 -3
- package/dist/assets/{ChargeCardUtils-BB7l65Bf-CPLK84z2.js → ChargeCardUtils-Bj-TvntU-Dg5OHLzk.js} +1 -1
- package/dist/assets/{ChaseOverlay-hsrWeA5X-Dcp3XMSx.js → ChaseOverlay-D5CGgOY9-B_78AAMx.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-CZNH4rCm-DdTXudjo.js → CheckDepositDrawerPage-CGicBOjt-D-PwWbfO.js} +19 -19
- package/dist/assets/{CollapsableReportTable-C73RBmaZ-D428uVrP.js → CollapsableReportTable-UQFDb8XE-4tPDRPlF.js} +46 -46
- package/dist/assets/{CompanyOfficerDetailsSection-CZWTSWyp-J81A-yw0.js → CompanyOfficerDetailsSection-CHSL02sQ-B9TP8k6M.js} +34 -34
- package/dist/assets/{CompanyPassportCard-D-hYeDRN-CHleBT8E.js → CompanyPassportCard-Byoyj6z--BlTpOAaU.js} +3 -3
- package/dist/assets/{CompanyPassportPage-fQ60DR7u-CalJr939.js → CompanyPassportPage-CJzVGPMf-CO-upSIX.js} +12 -12
- package/dist/assets/CompleteProfile-CGaFSQZ5-D40jt5XK.js +36 -0
- package/dist/assets/{ConfettiBurst-D5XTvsuG-DqvhMlLN.js → ConfettiBurst-C6in2R-G-B86Veyix.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-7KdDJirx-Cy50oCjG.js → CreateOrEditVendorPage-HV8sXBZp-MEsDNOD9.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-BNJLUnlH-HMrOhsYY.js → CreditCardPaymentDrawerPage-CcN3B0mF-C-aA8CxZ.js} +15 -15
- package/dist/assets/{CreditCardPaymentPlgSection-BwqznNRc-Bkwvl_Pm.js → CreditCardPaymentPlgSection-dBWHuBiS-md7FwEbI.js} +10 -10
- package/dist/assets/{CurrencySelectField-PwurThUn-CCLMhDMc.js → CurrencySelectField-DLqb-9fp-mhS9VcnO.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CHJLyOyf-B-wAfl7n.js → CustomerOnboardingActivationPage-Bf64O2cX-OUwG2YXT.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-ILwY2ADL-DIj_DN1o.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BqdhqyL7-8QZEAu-d.js → CustomerOnboardingDetailPageSkeleton-DbbrMwW5-CFydRVir.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DDio10hZ-BfoQu7jO.js → CustomerOnboardingNoStepsPage-DZGpH4MZ-T0P42e-W.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-k2OYvIqe-BCb17bIF.js → CustomerOnboardingPage-BfJlxXNX-CUa70VM1.js} +9 -9
- package/dist/assets/CustomerOnboardingProductSuitePage-BJIVmVlG-CgGO5C2r.js +202 -0
- package/dist/assets/{Dashboard-DhMPjLVy-BLMPexXk.js → Dashboard-fGyiceKA-BzN0eOpe.js} +1 -1
- package/dist/assets/{DashboardReportPage-C9YvD_24-CoC796XJ.js → DashboardReportPage-DL5dB1SI-DEQ-kpwn.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BYFOUvho-CLqmAE-P.js → DepositAccTransactionItem-Dyfob6gX-CX7faNLY.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage-DeN4-lBP-BcaZtaYF.js → DepositAccTransactionListPage-DrEbXdWa-BNgdFMXM.js} +7 -7
- package/dist/assets/{DocumentSecurityBanner-6cQ2cW7e-B-LiYCwn.js → DocumentSecurityBanner-rDtPu8vH-D4_h4X4u.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BmMEth4c-0ZA88eE1.js → DomesticWireDetailsPage-BVmsi9ei-CUemBchq.js} +1 -1
- package/dist/assets/{DownloadOverlay-D0_pmb7k-485JyjTo.js → DownloadOverlay-Dk9PoZlP-D3imuRfO.js} +6 -6
- package/dist/assets/{DrawerPage-C5u676VK-CQ6YNm3J.js → DrawerPage-BSa6DJZr-D9NnCvxY.js} +1 -1
- package/dist/assets/EditPeoplePage-Ci4ys6zZ-CrrNlTmS.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BxjNoyj8-BPCBUC8w.js → EditReimbursementDetailPage-DemIPGJ5-B9757Dmu.js} +43 -43
- package/dist/assets/{EntityDetailPage-BfscGvkI-CDpC3UiC.js → EntityDetailPage-C_luSjQJ-Cu-KPSDu.js} +3 -3
- package/dist/assets/{EntitySummarySection-BCkLY2Py-BvmspxF4.js → EntitySummarySection-BjoUr41l-NV66C_A4.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-C4SCxViu-BTF6U5vA.js → ExpenseAutomationOverviewPage-DwRzHbCN-D7MDDzPf.js} +18 -18
- package/dist/assets/{ExpenseAutomationPage-DF1-Q4X5-DpQfueM1.js → ExpenseAutomationPage-CxTfHxhm-BvLBK1eA.js} +33 -33
- package/dist/assets/{ExpressPayPage-Cdtx03yB-CFuea7SC.js → ExpressPayPage-B9teVxc8-CO2jiwXu.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-nQYT4moR-Cr3GrNZL.js → FeaturePreviewPage-LAldEIqF-C8tcud8u.js} +2 -2
- package/dist/assets/{FollowStepsSection-CRBm3eL9-BxrxyxZb.js → FollowStepsSection-ICp_6TcX-Do7FY4O7.js} +8 -8
- package/dist/assets/{GlobalReviewListPage-3iXmpaXt-DvNMoVjg.js → GlobalReviewListPage-CaSIQgOY-CLXlBnhP.js} +1 -1
- package/dist/assets/{HelpButton-Cv7-d_qL-CUvPOpAv.js → HelpButton-C-GTHvg5-DHe5_hb9.js} +1 -1
- package/dist/assets/{InformationCardStack-JCre21xs-DtS-Hddp.js → InformationCardStack-B3zlnZE6-BXUPOzl0.js} +3 -3
- package/dist/assets/{InsightsCardStack-Dekfw94R-BLPjyaig.js → InsightsCardStack-Czo2phfa-CVjFCXX9.js} +8 -8
- package/dist/assets/{InsightsSection-CLqfyvOO-xadJoIF2.js → InsightsSection-BF65nVDk-Ck5eCytH.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-o9w1-WIT-_9mLCWjO.js → IntegrationsSettingsPage-CfOJp2rR-DnJqSbGe.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-DBG1ni7g-5byzUSyT.js → InternationalWireSwiftDetailsPage-BPckWTQy-C_9kzKUy.js} +18 -18
- package/dist/assets/{InternationalWireVerificationPage-BLU4F--p-CJDTcopv.js → InternationalWireVerificationPage-IyDI0e1n-DHyr06eY.js} +19 -19
- package/dist/assets/{InviteFormPage-Bf8Mqb7S-DDTavBxx.js → InviteFormPage-GPQ5eSD8-CiDxRX8h.js} +13 -13
- package/dist/assets/{InvitePageListView-6oeT1vaB-CKIuu3RS.js → InvitePageListView-BD4bJtvG-B0K74gtE.js} +52 -52
- package/dist/assets/InvitePeoplePage-DhGjKKsO-D5tOqF8-.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BiIfE0Mk-CTWHQOhW.js → InvoiceUploadSection-DzOByrtE-BE32q3YT.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-Dd312Qu7-DJeAloNR.js → IssueChargeCardPage-U5Z_OXsd-CLDaQ415.js} +20 -20
- package/dist/assets/{LabeledAddressValue-BplX--OG-CiZ_SQgG.js → LabeledAddressValue-DaabTZGG-CWQotmwk.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DkhJs5ky-B6R8wPlw.js → LabeledAddressValueField-B2TfgAjp-BsfDNIIE.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-SJfjkDzA-CpIAw81s.js → LabeledControlledCheckBoxField-Cb9kJIyY-DlHFWICr.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CPwrvNjy-D3f7Nu-c.js → LabeledCreatableSingleSelectField-BtboN2bE-DF3GueZh.js} +3 -3
- package/dist/assets/LabeledDocumentField-BKVHT_ih-cMXijjYr.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-D70GX0HR-Mxvvq1WO.js → LabeledDropDownFormattedTextField-CLUZVQCI-BVMu_guX.js} +7 -7
- package/dist/assets/{LabeledText-mTAE2dvH-BXZp1Sm_.js → LabeledText-DXlb_cAu-B1j2xF1t.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dx8TfHuB-DrtQGMZC.js → LabeledUserSingleSelectWithSubtitlesField-CqC0Fbjb-DTDFjdt3.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-ZGHinaTy-Bb9QLK3C.js → LabeledZeniRolesDropDownField-Dbyg4yxA-W4VJHBJD.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-CNYQO-AQ-CY88gwq7.js → LinkJETransactionPage-D8sX4v-7-CsOS0tUv.js} +8 -8
- package/dist/assets/{LowBalancePopup-hdwaJezh-f3ksDR4g.js → LowBalancePopup-fUydozi0-DD4cdD_C.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage--DRHcaKz-WEt4M3n2.js → MagicLinkACHDetailsPage-BiZxVBT2-o-Rk17-1.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B5hbI4dU-BBmovkJC.js → MagicLinkDomesticWireDetailsPage-BO-mlqRp-Clxahb02.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BdwVZCRt-5G01_OeQ.js → MagicLinkInternationalWireDetailsPage-BSwmG-gt-CwiZ0Ksn.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DOUrPdD--DcZ_t2NE.js → MagicLinkSuccessPage-BA_B_aML-C9hrpm-L.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Bb27jU2a-DoQ8aWp1.js → MagicLinkTitleSection-hjUfjUKg-BSNiuVs0.js} +3 -3
- package/dist/assets/{MailingDetailsSection-CdKFQB_8-DW3BDO52.js → MailingDetailsSection-zYhyH_Di-D4yENJST.js} +2 -2
- package/dist/assets/{MeetingCalenderPopup-B3sIZU3d-DQNFWJ_9.js → MeetingCalenderPopup-BbCahdTF-CVjb8WtP.js} +3 -3
- package/dist/assets/{Menu-Bsk58l8k-DveIoh_v.js → Menu-gdxz6nzv-BWb1NISh.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-P1Zh6SFD-hnAROTqH.js → MyBankConnectionsSettingsPage-B-kZp6kY-DGgRFgSz.js} +12 -12
- package/dist/assets/{MyPendingActivationChargeCardListPage-Cs7rVAdh-Cmwa__iw.js → MyPendingActivationChargeCardListPage-Cux0Zc6M-C_85HTeN.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Cc4XfbBQ-CNw8hQXw.js → MyProfileSettingsPage-DlPCGOud-CJbICNU7.js} +6 -6
- package/dist/assets/{NavBarWithPicker-DFD5LZ4o-DVbNG2lJ.js → NavBarWithPicker-DgFXO4Py-B8a2N5H7.js} +3 -3
- package/dist/assets/{NavigationArrow-mL8dVddD-CWP10rmD.js → NavigationArrow-DfB1s0Kl-dP_dOcYr.js} +5 -5
- package/dist/assets/{NavigationDots-MPqPjbnr-B2VuEWoT.js → NavigationDots-B12u1DHV-wGjE6ymi.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-QTvziNPs-CWfcgxwK.js → NewGlobalMerchantPage-C4ljSG4I-CpKXjRxq.js} +6 -6
- package/dist/assets/{NoDataChart-C1BY1riw-DEwvHChk.js → NoDataChart-C86cs81n-BI6hUCyS.js} +1 -1
- package/dist/assets/{NoDataTable-C_4AqyDp-8AvQpHPa.js → NoDataTable-BsEI7aoI-uEd_WfDe.js} +1 -1
- package/dist/assets/{NotFoundPage-U8Zqpzgy-B6U5r_7M.js → NotFoundPage-CQVgfvr8-DylBkQRK.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-2A4Pahmq-CXgVjNli.js → NotificationSettingsPage-CamY-jUK-CVgplVyL.js} +13 -13
- package/dist/assets/NotificationsListConfig-Cj32T7Hz-BOzef_mv.js +1 -0
- package/dist/assets/{NotificationsPage-B6yKJmGI-DzN6ib9t.js → NotificationsPage-Cq5siAeE-7OwFZiNL.js} +36 -36
- package/dist/assets/{OpExByVendorPage-BnTlBXeu-CipcFkdu.js → OpExByVendorPage-D08wBmkx-kSlP6mnA.js} +4 -4
- package/dist/assets/{OverlayContainerPage-BxBOhoib-ukQtuWFC.js → OverlayContainerPage-GWXnlbZH-CEl9U8x8.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CKW73tr8-D7h3LcYD.js → PandLWithForecastPage-DD43rPhW-A1TZHqgl.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CSEVISAI-BNavlD0y.js → PaymentAccountSetupBillingAddressSection-C7GoqHot-DAesV6Ej.js} +6 -6
- package/dist/assets/{PeoplePage-BJxZJT-l-C9LL-QhI.js → PeoplePage-BwWeuQq0-CESGkAiN.js} +16 -16
- package/dist/assets/{PortfolioAllocationFormPage-C4pRhyet-BgcVpkPb.js → PortfolioAllocationFormPage-QLO1aksn-C4Nd_3VN.js} +1 -1
- package/dist/assets/{PortfolioDetails-4fbkArz6-B-yRSXBm.js → PortfolioDetails-EbWPeH4e-BydNByff.js} +7 -7
- package/dist/assets/{ProductsCarousel-gGbLzHle-BiV0Dada.js → ProductsCarousel-VTApOnqN-CMfc9ylB.js} +1 -1
- package/dist/assets/{PromoBaseCards-DUlZEg5E-xcZglFHs.js → PromoBaseCards-B0BCeySU-wfb5DzjJ.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-C_Z2lvUz-BwsPJmHe.js → QBOConnectionDialog-CKOkxTzr-DKeUf173.js} +6 -6
- package/dist/assets/{QBOSetupSection-DqWiwHwl-CaRIoZTT.js → QBOSetupSection-DycavdKb-CT5F0n4h.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-JWdrVgqW-C_wUAOQY.js → ReimbursementApprovalRuleDetailPage-PHWY-z0e-FKRZB_Ja.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BnBNwFzM-DjomTgZF.js → ReimbursementApprovalRulesPage-B6po7mmX-BMDEIvFm.js} +33 -33
- package/dist/assets/{ReimbursementDetailPage-Dyjb0qZE-Bb3CYqzm.js → ReimbursementDetailPage-Dt6DhlL1-CYLKdFSl.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-D1EqiXEa-FvZLWCiR.js → ReimbursementPromoPage-DjcsW1Av-Dq9BuWdd.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-ClJ_4WMp-BJpe0ne4.js → ReimbursementSetUpPage-DQpxCs8Z-BKnPNPnJ.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-uGRv6i-CHahWJGS.js → ReimbursementsBulkReviewDrawerPage-4foPx3A--CPio49Pu.js} +1 -1
- package/dist/assets/{ReloadCard-DVYCtjFP-CU_Dnd08.js → ReloadCard-CaPpBGJK-BQahT5RP.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BTu2hum1-CPyUV-1u.js → ReportTableViewSelector-D-blv3pI-NEqAb2d0.js} +7 -7
- package/dist/assets/{ReportsPage-BJEqtDDR-DrtRVAGN.js → ReportsPage-BZj7Tec8-ByPzZ3Mi.js} +5 -5
- package/dist/assets/{RevenueChart-BFS-A4qa-Cx-As_Eb.js → RevenueChart-CwhdG15z-Ossw9Srn.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-C6qSCmDQ-DWlHT8F5.js → ReviewDetailsPage-CuO3d_n4-DDpHJibb.js} +13 -13
- package/dist/assets/{ReviewOverlay-DItEmr7f-AS3xzQ96.js → ReviewOverlay-DdM4zwoh-BrpeA22_.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CqtMdboJ-DDxj3xxP.js → RoleWithToolTip-BNc9Cjys-BflhBmMa.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CKcDbns8-fF7PO25g.js → ScheduleDetailsFixedAssetsPage-DgwGten3-CzNnfEIV.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CYqYYvix-BNlu0RJ8.js → ScheduleDetailsPage-C4UMK1HB-2qYXZBGt.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DUYFGZvc-9HL4QDrz.js → ScheduleSequenceTable-n_lV13zp-DSggYkAR.js} +18 -18
- package/dist/assets/{ScreenRoutes-BI6xyHHN.js → ScreenRoutes-Cu_ZW3C2.js} +35 -35
- package/dist/assets/{SetUpAccountSection-DfuZHlL6-D7lVamWi.js → SetUpAccountSection-CGBdEw5o-BsHNDPBm.js} +21 -21
- package/dist/assets/{SetUpDefaultSection-Jl4dtzx3-C3-EmpC_.js → SetUpDefaultSection-5H7JgUVZ-3gB6LAnP.js} +10 -10
- package/dist/assets/{SignIn-OTT_6lLp-BofEbUzx.js → SignIn-DpOLibjy-B1O6Z7z5.js} +4 -4
- package/dist/assets/{SignInScreen-CCNlCZPG.js → SignInScreen-CqoaPSYP.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BkL-3WNh-CmJxty83.js → SpendManagementListViewPage-C0IA6cdd-BUq3yiJp.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-Buppd61y-Z26soCL-.js → SpendManagementPerTabPage-B727RQUp-BpiIJwHE.js} +14 -14
- package/dist/assets/{SpendManagementSection-BGcBRKGN-r3ndTuv4.js → SpendManagementSection-B8xyYfKM-Xch0MBI4.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-Cswh297O-ClH8d_8B.js → SpendMgmtSetupAccountSection-BHH-PFxf-BEhEOBT5.js} +13 -13
- package/dist/assets/{StatementItem-C3tUNT5A-CIQABbZw.js → StatementItem-CTOdgetS-ud-kOkz9.js} +4 -4
- package/dist/assets/{StatementsPage-DGryRE6z-DYX2UB10.js → StatementsPage-d9G6kH-f-DgcEkZX-.js} +3 -3
- package/dist/assets/{StatusSwitcher-BgWlxay9-C2yA7CjA.js → StatusSwitcher-BA7VjpgX-AJZc15_H.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DwwAqq_R-C-rVBP68.js → SubTabSwitcher-DDJSCY6V-DongKB4y.js} +1 -1
- package/dist/assets/{SummaryCard-Dm0Tx9is-BOl3yzj-.js → SummaryCard-bczJjOLG-CjdZn_iI.js} +1 -1
- package/dist/assets/{TaskManagementPage-59XAl_cs-DdQCzzW7.js → TaskManagementPage-C99UjrT4-CmD3QiB_.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-D7-Jph-G-DrzBgOKv.js → TimeRangeSwitcher-DgpRdFEz-UpNf9Pio.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-CWYQWFLF-B2eT3g6m.js → TimeframeSwitcher-D7Ebofq5-DCuWRjmL.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-QOhQ3sac-DRu8hhQ-.js → TimeframeSwitcherWithToggle-BxG4mfwZ-hDOmM0BL.js} +1 -1
- package/dist/assets/{TopExCard-CTlizsDD-CbVG0KKn.js → TopExCard-Bl1HEvJK-DYu_Snz8.js} +5 -5
- package/dist/assets/{TopExDetailPage-Df3JbgcF-DygJJzQr.js → TopExDetailPage-RVGSdHNI-B2tvvcdJ.js} +2 -2
- package/dist/assets/{TransactionDetailPage-DvNpTjAp-nivJ-WE2.js → TransactionDetailPage-2pU2-JVz-DvzDNfcu.js} +30 -30
- package/dist/assets/{TransactionList-SkSPfIsE-3VqEpEta.js → TransactionList-DnERXw-A-C5LRJytL.js} +8 -8
- package/dist/assets/{TransactionListBig-CZCV_kmJ-CU-ZTueA.js → TransactionListBig-vCTvXh5y-DLaLiFSC.js} +9 -9
- package/dist/assets/{TransactionListPage-CBbyagWp-CABnQ2Ad.js → TransactionListPage-DVtqlCMZ-B-nHFVQj.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BXnlFdHR-Cg-sleYC.js → TransactionVendorDetailPage-0FE-k35E-D5OPfVkl.js} +3 -3
- package/dist/assets/{TransferDrawerPage-CxXLyKwW-CcrxmwoP.js → TransferDrawerPage-C17-lHVH-DqBTA_eG.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-3JlXZfCV-BaVWxrMw.js → TreasuryOverviewPage-DSRk9Ojd-8t6OoxPf.js} +16 -16
- package/dist/assets/{TreasuryPromoPage-BhAicq7r-BXFjeSvE.js → TreasuryPromoPage-C-8SuUVF-CFc9jz_k.js} +15 -15
- package/dist/assets/{TreasurySetupPage-BQG_Wd5U-CuRZifkf.js → TreasurySetupPage-CBN3MDev-DhwdW1pF.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-dCAtvvZk-LOpMx3mv.js → TreasuryStatementsPage-CYcFki_F-BBDbwRs0.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-irA0Cgkj-CK8dgrod.js → TreasuryTaxLetterPage-D_yfrqyw-DbMRXPvP.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-Dd1oLBma-BdudBXha.js → TreasuryTransferOrReviewPage-fm-w_JUE-C98U-Z9e.js} +36 -36
- package/dist/assets/{TrendChart-Ctquh3qH-BXdwoNzy.js → TrendChart-C6zZmjPl-pFeewMTm.js} +2 -2
- package/dist/assets/{TrendWithTransactions-CoXTnQK7-DI1VEsOz.js → TrendWithTransactions-DYpTdT3--CpsGst0w.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-Cq49D6V9-DdxXW0nh.js → UncategorizedAccountsMappingPage-BP5b7SLK-CwqyQ37l.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-CR0nZ7NM-CNMCC02w.js → UnitIntegrationPage-CEdW3T2--Dubmotz7.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-B_DFEIlC-CURAudK_.js → UploadAdditionalDocumentOverlay-DEJxFgaz-UhYjFUhJ.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-KsRgKz_Z-LsR0JToL.js → Vendor2FAPopup-DKQXhPGa-C-1Y3b9X.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-MRaehbhm-CLgE5xYR.js → VendorACHDetailsPage-CYVg93tk-NwYypD-G.js} +1 -1
- package/dist/assets/{VendorDetailPage-Cji21PBc-BCtJStdp.js → VendorDetailPage-CQptl370-FNWm9uTn.js} +18 -18
- package/dist/assets/{VendorDomesticWireDetailsPage-DhUIW9g--COJKg8zJ.js → VendorDomesticWireDetailsPage-VAGgBKEt-CNg4m5oN.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BWFbXLhQ-BxUi0-__.js → VendorFiling1099EditablePage-DT3_7-pU-BiogUCwK.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-tvh5pcvQ-THD3l6eB.js → VendorFirstReviewPage-CTu8QLSu-C9pea9HN.js} +26 -26
- package/dist/assets/{VendorInternationalWireDetailsPage-CfmZSb8O-DIxfvNFa.js → VendorInternationalWireDetailsPage-DETN5xQf-u-FhFEQH.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-V_1s9mWi-CfIMbPtN.js → VendorInternationalWireSwiftDetailsPage-CoFSDse_-CMz5sXIT.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-b9s5nqGq-C603vDJM.js → VendorsAccountsSection-B0atBQRf-DwN1P5ST.js} +6 -6
- package/dist/assets/{WarningsDrawerPage-CB4mJGTB-BdjqZZPI.js → WarningsDrawerPage-C8sUYwZn-ChnBWAPn.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-CgSyyen1-CshTBZp2.js → ZeniAccountDetailPage-D8uZ-seh-BOZmI_Dm.js} +33 -33
- package/dist/assets/{ZeniAccountListViewPage-DjGZpdh_-ZERnQ4MU.js → ZeniAccountListViewPage-BuwG7e20-B-7yXRaY.js} +14 -14
- package/dist/assets/{ZeniAccountNavBarPieces-BJC4d2Iu-DYh40FyS.js → ZeniAccountNavBarPieces-uukfD44t-C94Q1ycz.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-D3Yt6FIj-GRZWrpyM.js → ZeniAccountPromoPage-3t3vzAGh-DdQrchgw.js} +9 -9
- package/dist/assets/{ZeniAccountSetupPage-BeCPekI4-B43tT3eQ.js → ZeniAccountSetupPage-BVzvcRnV-c8DsQZjx.js} +3 -3
- package/dist/assets/{ZeniCopyright-Dhdl9kqY-Ef9QRXwR.js → ZeniCopyright-DcAcIGRB-BE_hgGDM.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-B8VFb2l--DxgbNpeK.js → ZeniTransferAmountSlider-RA4Pva57-B-TGxP0B.js} +1 -1
- package/dist/assets/{analyticsHelper-CWmZNwFh.js → analyticsHelper-Cbfklysr.js} +1 -1
- package/dist/assets/{analyticsHelper-Cawv3PXO-W_w6SVVv.js → analyticsHelper-D2Tw-gFs-CfilQYvq.js} +1 -1
- package/dist/assets/{chartTypes-5p7NWUHx-CaLqh1mY.js → chartTypes-DX9eCHdW-B7oDG2yB.js} +1 -1
- package/dist/assets/{commonDimensions-CQlLUBWG-DzlL6K89.js → commonDimensions-C417LkG3-Cr4GHwJ7.js} +1 -1
- package/dist/assets/{detailCommon-CoAmJ6pY-B7nmx1bS.js → detailCommon-DMILWpBc--U3Fq460.js} +4 -4
- package/dist/assets/{downloadPdf-CCJjnfCZ-DhZmGI0x.js → downloadPdf-TtzJSlkj-CYWEy00G.js} +1 -1
- package/dist/assets/{index-BQuxwdpl.js → index-rGMXK0Rc.js} +2579 -2597
- package/dist/assets/{mapLoadingInProgressToTreeNode-CwyU1xs5-BVaHor8r.js → mapLoadingInProgressToTreeNode-BuX84Fl8-C9VszrPq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IKJYFM7_-BhnDf8Ml.js → mapSectionWithAcOnlyToTreeNode-CuqkYL_a-D2dufnQP.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-D5XTLzM7-BSt0rKdl.js → mapSpacerToTreeNode-CkoeX_hU-B3Tt6fDl.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CJMbtmIl-5p_Ma1rs.js → mapTimeframeBalancesToTreeNode-CbddU0ga-B0ctGM7F.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-SX6fBp6e-CrAiUa7Z.js → mapTimeframeBalancesToTreeNode-Dz-UvEDI-BLldSj9r.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ts5lOZtX-EAxYFN8c.js → mapTimeframeHeaderLoadingInProgressToTreeNode-C_cGYrFN-DbJ2zuiX.js} +1 -1
- package/dist/assets/{play-icon-oQKnPjZi-ikYsAriO.js → play-icon-DvnIcVvi-BFAe9r1Z.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DwvFse7w-BpGyVZma.js → toCOABalancesWithID-CEYLTlMK-DfcDAp6p.js} +1 -1
- package/dist/assets/{toChartData-BBvMC_VQ-C0NFogQd.js → toChartData-DgmHnq7q-B0J27uo6.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CUDK9KvQ-D8RX0DsH.js → treasuryColorHelper-D6-KrZju-CjJ44MCH.js} +1 -1
- package/dist/assets/{uploadAttachment-P4S_2L_v-CGkHKEhM.js → uploadAttachment-B6HsV49B-Cn4CVOXc.js} +13 -13
- package/dist/assets/{uploadReceipts-DhDnr0ap-B_HL-sz_.js → uploadReceipts-D80JLNY4-DmW4IrLG.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ChargeCardPromoPage-Cv34m9BS-CZNZStg6.js +0 -219
- package/dist/assets/CompleteProfile-DnBzaAdT-DtIxbZgo.js +0 -52
- package/dist/assets/CustomerOnboardingContainerPage-DyM4sCZd-2ugo5OTL.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CxB32dUM-Do1nrT8y.js +0 -202
- package/dist/assets/EditPeoplePage-DAM71X8m-B2UZEnLj.js +0 -55
- package/dist/assets/InvitePeoplePage-CLvVDRca-D907h_Dw.js +0 -12
- package/dist/assets/LabeledDocumentField-DLd6UnEn-o-XnUJ1D.js +0 -41
- package/dist/assets/NotificationsListConfig-BIw5ASx2-Bj3yoWmL.js +0 -1
- package/dist/assets/VerifyDevice-CJgD3UmO-DfWOJP1r.js +0 -67
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as qe,X as v,M as h,
|
|
1
|
+
import{u as qe,X as v,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO as ae,bQ as ie,bR as se,ct as Ge,a3 as Ke,C as W,bo as Xe,o,cu as Ze,bs as k,bH as le,m as f,al as de,v as ce,s as Q,aN as Je,cq as pe,g as L,cv as me,cn as ue}from"./index-rGMXK0Rc.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:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(q,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(H,{children:[t.jsx(q,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(H,{children:[t.jsx(q,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{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(),w()},"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 qe,X as v,M as h,B as U,c8 as Ye,j as t,aV as _e,Y as b,d as Ke,bR a
|
|
|
70
70
|
&:hover {
|
|
71
71
|
color: ${L.important};
|
|
72
72
|
}
|
|
73
|
-
`,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=v(),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(
|
|
73
|
+
`,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=v(),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(Q,{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(vt,{})})})})]})},pt=r.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-wrap: wrap;
|
|
76
76
|
gap: ${o.sp1};
|
|
@@ -140,7 +140,7 @@ import{u as qe,X as v,M as h,B as U,c8 as Ye,j as t,aV as _e,Y as b,d as Ke,bR 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=v(),[j,p]=x.useState(!1),[g,y]=x.useState(""),[N
|
|
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=v(),[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??"":"",z=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",B=()=>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:w,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:z(i),routingNumberOrSwiftCodeLabel:B(),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(wt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},wt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=v(),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 qe,X as v,M as h,B as U,c8 as Ye,j as t,aV as _e,Y as b,d as Ke,bR 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=v(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Vt,{children:[t.jsxs(
|
|
173
|
+
`,Dt=({addressState:e,onUpdateMailingAddress:a})=>{const s=v(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Vt,{children:[t.jsxs(Bt,{windowSize:s,children:[`${d.mailingAddressLabel}`,t.jsx(zt,{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
|
-
`,
|
|
178
|
+
`,It=r(Je)`
|
|
179
179
|
width: ${o.sp3};
|
|
180
180
|
height: ${o.sp3};
|
|
181
181
|
cursor: pointer;
|
|
@@ -183,7 +183,7 @@ import{u as qe,X as v,M as h,B as U,c8 as Ye,j as t,aV as _e,Y as b,d as Ke,bR a
|
|
|
183
183
|
&:hover {
|
|
184
184
|
color: ${e=>e.theme.colors.primary};
|
|
185
185
|
}
|
|
186
|
-
`,
|
|
186
|
+
`,Nt=r(pe)`
|
|
187
187
|
margin-right: ${o.sp2};
|
|
188
188
|
width: ${o.sp3};
|
|
189
189
|
height: ${o.sp3};
|
|
@@ -203,7 +203,7 @@ import{u as qe,X as v,M as h,B as U,c8 as Ye,j as t,aV as _e,Y as b,d as Ke,bR 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(Q)`
|
|
207
207
|
margin-top: ${o.sp2};
|
|
208
208
|
padding: ${o.sp3} ${o.sp4};
|
|
209
209
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -223,10 +223,10 @@ import{u as qe,X as v,M as h,B as U,c8 as Ye,j as t,aV as _e,Y as b,d as Ke,bR a
|
|
|
223
223
|
display: block;
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
`,
|
|
226
|
+
`,zt=r(ce)`
|
|
227
227
|
color: ${e=>e.theme.colors.grey1};
|
|
228
228
|
transform: translateY(${o.sp1});
|
|
229
|
-
`,
|
|
229
|
+
`,Bt=r(de)`
|
|
230
230
|
color: ${e=>e.theme.colors.primary};
|
|
231
231
|
margin-bottom: ${o.sp2};
|
|
232
232
|
display: flex;
|
|
@@ -278,4 +278,4 @@ import{u as qe,X as v,M as h,B as U,c8 as Ye,j as t,aV as _e,Y as b,d as Ke,bR 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:w,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:I,updateSelectedVendorForCreate:N,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:z,resetVendorDetailLocalData:B,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:G,newVendorState:K,fetchState:ve,hasWireTransfer:X,hasInternationalWireTransfer:R,deleteFileStatusById:we,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?G?.vendorDetailLocalData:K?.vendorDetailLocalData,l=Object.assign({},G??K),Se=qe(),C=v(),[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(),ze=!U(Pe,Te),Be=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>Ye(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Re=!U(Be,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),B?.(),g()},onCancelClick:()=>{O(!1),F(!1)}},E=x.useRef(null),We=n=>{E.current?.syncFormData(),T(n)},M=(n,He)=>{E.current?.syncFormData(),I(n,He)};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:[ve==="In-Progress"?t.jsx(Ot,{children:t.jsx(Qe,{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:w,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:R,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ne,isContactListChanged:Re,isPaymentInstrumentChanged:ze,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:N,saveVendorDetailLocalData:z,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:we,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(Ke,{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,7 +1,7 @@
|
|
|
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 W,_ as Te,K as He,c as et,a3 as Pe,o as t,C as d,a2 as je,k as tt,O as at,u as ze,bs as nt,cO as Ee,Q as V,g as X,fQ as Ce,p as ot,l as T,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,m as r,bo as ht,bm as Be,cW as gt,bH as yt,s 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-rGMXK0Rc.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-Cb9kJIyY-DlHFWICr.js";import{v as kt}from"./ChargeCardUtils-Bj-TvntU-Dg5OHLzk.js";import{X as xe}from"./CreditCardPaymentPlgSection-dBWHuBiS-md7FwEbI.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 V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:vt,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=W.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:v,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,L]=p.useState(!1);p.useEffect(()=>{e.error!=null?L(!0):L(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Kt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Zt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.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},v,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(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{L(!1)},style:{width:t.sp3,height:t.sp3,color:X.heroLight}})})]})}):null,a.jsx(Xt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},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(Wt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.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:vt,onClick:()=>{i&&h&&n&&j.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},v,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(qt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Gt,{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`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
7
7
|
`,De=o(Oe)`
|
|
@@ -20,16 +20,16 @@ import{j as a,X as me,d5 as pe,Y as te,gQ as Je,M as W,_ as Pe,K as He,d as et,a
|
|
|
20
20
|
width: 100%;
|
|
21
21
|
justify-content: space-between;
|
|
22
22
|
padding: ${t.sp3} ${t.sp4};
|
|
23
|
-
background-color: ${
|
|
23
|
+
background-color: ${X.importantLight};
|
|
24
24
|
border-radius: ${t.sp2};
|
|
25
25
|
`,Et=o.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
margin-left: ${t.sp2};
|
|
29
29
|
`,Mt=o(yt)`
|
|
30
|
-
color: ${
|
|
30
|
+
color: ${X.important};
|
|
31
31
|
`,Bt=o(Oe)`
|
|
32
|
-
color: ${
|
|
32
|
+
color: ${X.important};
|
|
33
33
|
`,Ot=o.div`
|
|
34
34
|
margin-top: ${t.sp3};
|
|
35
35
|
display: flex;
|
|
@@ -50,7 +50,7 @@ import{j as a,X as me,d5 as pe,Y as te,gQ as Je,M as W,_ as Pe,K as He,d as et,a
|
|
|
50
50
|
`,Ut=o.div``,Yt=o(gt)`
|
|
51
51
|
width: ${t.sp4};
|
|
52
52
|
height: ${t.sp4};
|
|
53
|
-
color: ${
|
|
53
|
+
color: ${X.important};
|
|
54
54
|
`,Vt=o(je)`
|
|
55
55
|
cursor: pointer;
|
|
56
56
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -66,12 +66,12 @@ import{j as a,X as me,d5 as pe,Y as te,gQ as Je,M as W,_ as Pe,K as He,d as et,a
|
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey3};
|
|
67
67
|
min-height: 1px;
|
|
68
68
|
max-height: 1px;
|
|
69
|
-
`,
|
|
69
|
+
`,Xt=o.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
padding-top: ${t.sp3};
|
|
73
73
|
padding-bottom: ${e=>`${ae.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
|
|
74
|
-
`,
|
|
74
|
+
`,Zt=o(ht)`
|
|
75
75
|
cursor: pointer;
|
|
76
76
|
color: ${e=>e.theme.colors.hero};
|
|
77
77
|
width: ${t.sp4};
|
|
@@ -80,7 +80,7 @@ import{j as a,X as me,d5 as pe,Y as te,gQ as Je,M as W,_ as Pe,K as He,d as et,a
|
|
|
80
80
|
&:hover {
|
|
81
81
|
color: ${e=>e.theme.colors.primary};
|
|
82
82
|
}
|
|
83
|
-
`,
|
|
83
|
+
`,Kt=o.div`
|
|
84
84
|
display: flex;
|
|
85
85
|
flex-direction: row;
|
|
86
86
|
justify-content: flex-start;
|
|
@@ -90,17 +90,17 @@ import{j as a,X as me,d5 as pe,Y as te,gQ as Je,M as W,_ as Pe,K as He,d as et,a
|
|
|
90
90
|
padding: ${e=>`${ae.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
91
91
|
z-index: 2;
|
|
92
92
|
background-color: ${e=>e.theme.colors.grey4};
|
|
93
|
-
`,
|
|
93
|
+
`,Qt=o(Me)`
|
|
94
94
|
${e=>`${de.pageTitle.style(e.windowSize)}`};
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
96
|
padding: ${t.sp3} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
97
|
-
`,
|
|
97
|
+
`,qt=o.img`
|
|
98
98
|
display: flex;
|
|
99
99
|
width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
100
100
|
height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
101
101
|
min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
102
102
|
margin-right: ${t.sp2};
|
|
103
|
-
`,
|
|
103
|
+
`,Gt=o.div`
|
|
104
104
|
min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
105
105
|
width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
106
106
|
height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
@@ -126,7 +126,7 @@ import{j as a,X as me,d5 as pe,Y as te,gQ as Je,M as W,_ as Pe,K as He,d 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}}}=W.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 V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:v,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:D,onSignUpAccountClick:m,onMoveMoneyClick:
|
|
129
|
+
`,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=W.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 V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:v,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:D,onSignUpAccountClick:m,onMoveMoneyClick:P,isCashbackInfoFetchStateCompleted:j,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:L,controllerEmails:k,productInformation:Z,cashbackInformation:K,paymentSourceInformation:Q,creditAccountInformation:q,debitAccountInformation:G}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),J=pe().analytics,H=p.useRef(null),[z,E]=p.useState(!1),[I,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,$=I==="update_account"?oe:A,[_,ue]=p.useState($.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,F=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),Ve=p.useCallback((l,u)=>{const R=u.accounts.find(Ge=>Ge.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&I==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,I),O(void 0),E(!1)},[c?.paymentAccountId,c?.providerAccountId,I,ge,y,b]),We=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),E(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:Ve,onExit:We});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&(T.isVerifiedPaymentAccountProviderStatusCode(F??"")||(C?.("link_account"),x()))},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,F]),p.useEffect(()=>{(T.isVerifiedStatusCode(F??"")||F==="verification_failed")&&!z&&I!=null&&$.linkToken===_&&$.fetchStatus.fetchState==="Completed"&&fe&&E(!0)},[fe,_,$.fetchStatus.fetchState,$.linkToken,F,I,z]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==_&&ue($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,_]),p.useEffect(()=>{z&&ce()},[z,ce]),p.useEffect(()=>{(F==null||F==="verification_failed"||F==="verification_expired"||T.isVerifiedStatusCode(F))&&(T.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:Xe}=N.formState,Ze=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const R=Ae(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);v(R)}},Ke=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&T.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:R})=>{R!=null&&u!=null&&ct(()=>Ze(R,u))});return()=>{l.unsubscribe()}});const Qe=N.watch("paymentDetails.amount"),qe=N.handleSubmit(()=>{if(Xe){const l=N.getValues(),u=Ae(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);v(u),D(!0),j&&M&&L&&J.trackCardsPayEarlyFormClick(k,Z,K,"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,q,G)}});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:qe,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:X.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||T.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):z?ce():E(!0)}},valueToAdditionalLabel:Ke}),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:P}):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,d5 as pe,Y as te,gQ as Je,M as W,_ as Pe,K as He,d 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
|
-
`,Ae=(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 V("h6Regular","h5Regular")},ve=W.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,Y=W.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Le}=W.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:v,debitAccountInformation:y,cashbackInformation:b,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:
|
|
157
|
+
`,Ae=(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 V("h6Regular","h5Regular")},ve=W.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,Y=W.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Le}=W.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:v,debitAccountInformation:y,cashbackInformation:b,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:P,onSaveChangesToLocalStore:j,onTransferClick:M,goToCards:L,onDismissClick:k,onEstablishConnectionClick:Z,onFetchLinkTokenClick:K,plaidConnectionDetails:Q,onSignUpAccountClick:q,onMoveMoneyClick:G,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),J=pe().analytics,[H,z]=p.useState(!1),[E,I]=p.useState(!1);p.useEffect(()=>{E&&setTimeout(()=>{I(!1),z(!0)},1e3)},[E]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===v;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&&D&&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),k?.()}})}),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)}),ve.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:L})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:z,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,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&&D&&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:P?.add(3,"day").format(Le.visual.MMMDCommaYYYYformat),paymentInitiatedDate:P?.format(Le.visual.MMMDCommaYYYYformat)},x,f,y),k?.()}})}),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:j,plaidConnectionDetails:Q,paymentDetails:i,setShowReviewLoading:I,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:Z,onSignUpAccountClick:q,onMoveMoneyClick:G,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,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:W.getLocalizedStrings().common.review,isLoading:E},cancelBtn:{label:ve.transferDrawer.cancelBtn,onClick:()=>{C&&D&&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),k?.()}}})]})})},ha=o.div`
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column;
|
|
160
160
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -214,7 +214,7 @@ import{j as a,X as me,d5 as pe,Y as te,gQ as Je,M as W,_ as Pe,K as He,d as et,a
|
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
margin-top: ${t.sp3};
|
|
216
216
|
margin-bottom: ${t.sp2};
|
|
217
|
-
`,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:v,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:
|
|
217
|
+
`,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:v,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,goToCards:L,onDismissClick:k,onEstablishConnectionClick:Z,onEstablishConnectionSuccess:K,onFetchLinkTokenClick:Q,plaidConnectionDetails:q,onSignUpAccountClick:G,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:b,controllerEmails:y,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:v,goToCards:L,onDismissClick:k,plaidConnectionDetails:q,isAccountsEnabled:h,onEstablishConnectionClick:Z,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:K,onSignUpAccountClick:G,onMoveMoneyClick:s})}),Sa=o.div`
|
|
218
218
|
display: flex;
|
|
219
219
|
flex-direction: column;
|
|
220
220
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
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 H,bB as U,o as l,g as n,C as a,aQ as W,bH as B,ax as G,v as _,m as o}from"./index-rGMXK0Rc.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 Q({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=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"),$?.()}},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:f.mode==="dark",children:i.jsx(O,{windowSize:d,children:i.jsx(X,{})})}),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(H,{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:U.regular}})})]})}const D=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
-
`,J=t(
|
|
4
|
+
`,J=t(B)`
|
|
5
5
|
color: ${e=>e.theme.colors.primary};
|
|
6
6
|
width: 100%;
|
|
7
7
|
`,K=t.div`
|
|
@@ -11,10 +11,10 @@ import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as U,bE as W,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
|
+
`,X=t(W)`
|
|
18
18
|
color: ${e=>e.theme.colors.primary};
|
|
19
19
|
width: inherit;
|
|
20
20
|
height: inherit;
|
|
@@ -32,7 +32,7 @@ import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as U,bE as W,o as l,
|
|
|
32
32
|
max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
33
33
|
max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
34
34
|
margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
35
|
-
`,
|
|
35
|
+
`,E=t.div`
|
|
36
36
|
display: flex;
|
|
37
37
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
38
38
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -54,10 +54,10 @@ import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as U,bE as W,o as l,
|
|
|
54
54
|
100% 100%,
|
|
55
55
|
0% 0%;
|
|
56
56
|
background-repeat: no-repeat;
|
|
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,13 +67,13 @@ import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as U,bE as W,o as l,
|
|
|
67
67
|
`,p=t.div`
|
|
68
68
|
display: flex;
|
|
69
69
|
align-items: center;
|
|
70
|
-
`,w=t(
|
|
70
|
+
`,w=t(G)`
|
|
71
71
|
width: ${l.sp3};
|
|
72
72
|
height: ${l.sp3};
|
|
73
73
|
vertical-align: middle;
|
|
74
74
|
margin-right: ${l.sp1};
|
|
75
75
|
color: ${n.success};
|
|
76
|
-
`,m=t(
|
|
76
|
+
`,m=t(_)`
|
|
77
77
|
color: ${e=>e.theme.colors.primary};
|
|
78
78
|
white-space: nowrap;
|
|
79
|
-
`;export{
|
|
79
|
+
`;export{Q as X};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{
|
|
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,s as B,p as S,eT as U,eU as Y,eV as A,v as K,a$ as X,a2 as Z,g as m}from"./index-rGMXK0Rc.js";import{b as w,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]=w.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 v=R;return w.createElement(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.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:q,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})}})},q=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[`${A(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{cj as M,u as N,cr as P,M as H,j as l,cs as L,Y as x,b1 as z,o,dj as _,bW
|
|
|
105
105
|
justify-content: space-between;
|
|
106
106
|
fill: initial;
|
|
107
107
|
color: initial;
|
|
108
|
-
`,ne=n(
|
|
108
|
+
`,ne=n(K)`
|
|
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{cj as M,u as N,cr as P,M as H,j as l,cs as L,Y as x,b1 as z,o,dj as _,bW
|
|
|
126
126
|
}
|
|
127
127
|
`,de=n.div`
|
|
128
128
|
display: flex;
|
|
129
|
-
`,ue=n(
|
|
129
|
+
`,ue=n(X)`
|
|
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(Z)`
|
|
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,a1 as l,Y as p,
|
|
1
|
+
import{j as t,X as b,M as d,a1 as l,Y as p,c as x,o as i,$ as g,c0 as h,k as m}from"./index-rGMXK0Rc.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-rGMXK0Rc.js";import o from"./CustomerOnboardingNoStepsPage-DZGpH4MZ-T0P42e-W.js";import i from"./CustomerOnboardingPage-BfJlxXNX-CUa70VM1.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-C-GTHvg5-DHe5_hb9.js";import"./MeetingCalenderPopup-BbCahdTF-CVjb8WtP.js";import"./PaymentAccountSetupBillingAddressSection-C7GoqHot-DAesV6Ej.js";import"./SetUpAccountSection-CGBdEw5o-BsHNDPBm.js";import"./SetUpDefaultSection-5H7JgUVZ-3gB6LAnP.js";import"./ChaseOverlay-D5CGgOY9-B_78AAMx.js";import"./CustomerOnboardingDetailPageSkeleton-DbbrMwW5-CFydRVir.js";import"./CompanyOfficerDetailsSection-CHSL02sQ-B9TP8k6M.js";import"./LabeledAddressValueField-B2TfgAjp-BsfDNIIE.js";import"./LabeledCreatableSingleSelectField-BtboN2bE-DF3GueZh.js";import"./LabeledDocumentField-BKVHT_ih-cMXijjYr.js";import"./DocumentSecurityBanner-rDtPu8vH-D4_h4X4u.js";import"./QBOSetupSection-DycavdKb-CT5F0n4h.js";import"./QBOConnectionDialog-CKOkxTzr-DKeUf173.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,aH as
|
|
1
|
+
import{j as s,Y as y,aH as E,u as f,X as T,bf as x,o as t,m as R,C as $,$ as I,M as N,g as u,eQ as U,h9 as P,e_ as L,aB as W,e as M,ha as O}from"./index-rGMXK0Rc.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Y=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,aH as T,u as f,X as E,bf as x,o as t,p as R,C as $,$ as I,M
|
|
|
22
22
|
pointer-events: none;
|
|
23
23
|
z-index: 1;
|
|
24
24
|
}
|
|
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(
|
|
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(Y,{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};
|
|
@@ -44,28 +44,28 @@ import{j as s,Y as y,aH as T,u as f,X as E,bf as x,o as t,p as R,C as $,$ as I,M
|
|
|
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};
|
|
51
|
-
`,
|
|
51
|
+
`,V=r(U)`
|
|
52
52
|
width: ${t.sp3};
|
|
53
53
|
height: ${t.sp3};
|
|
54
54
|
color: ${u.runwayRed};
|
|
55
|
-
`,
|
|
55
|
+
`,Z=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
|
+
`,_=r.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
|
-
`,
|
|
64
|
+
`,q=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
|
+
`,G=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(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(
|
|
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(V,{}):l?s.jsx(F,{}):o?s.jsx(Q,{}):s.jsx(Z,{isActive:i,disabledStep:c})}),s.jsxs(_,{children:[s.jsx(q,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:a,children:h}),s.jsx(G,{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,aH as T,u as f,X as E,bf as x,o as t,p 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: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(
|
|
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;
|
|
@@ -159,4 +159,4 @@ import{j as s,Y as y,aH as T,u as f,X as E,bf as x,o as t,p as R,C as $,$ as I,M
|
|
|
159
159
|
box-sizing: border-box;
|
|
160
160
|
align-items: center;
|
|
161
161
|
justify-content: center;
|
|
162
|
-
`,xe=({isNoStepsPage:e=!1})=>{const i=f(),o=
|
|
162
|
+
`,xe=({isNoStepsPage:e=!1})=>{const i=f(),o=T();return s.jsx(pe,{isNoStepsPage:e,children:s.jsx(ce,{windowSize:o,children:s.jsxs(he,{children:[s.jsx(v,{children:s.jsx(x,{width:C.titleRectangleWidth.value(o),height:R[6],backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})}),s.jsx(v,{children:s.jsx(x,{width:C.subTitleRectangleWidth.value(o),height:27,backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})})]})})})};export{b as a,ue as b,xe as f};
|