@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,5 +1,5 @@
|
|
|
1
|
-
import{X as
|
|
2
|
-
${
|
|
1
|
+
import{X as C,l as B,M as D,j as s,eM as j,eQ as S,K as M,v as E,o as n,C as $,Q as L,h as P,a2 as z,c0 as N,g as w,k as A,ax as Q,eA as R,n as g}from"./index-ji6aa7AC.js";import{n as t}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 e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},T={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=F(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=V(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(q,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
|
|
2
|
+
${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(W,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},q=t.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
padding-top: ${n.sp3};
|
|
@@ -35,7 +35,7 @@ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,r as E,o as n,C as $,Q
|
|
|
35
35
|
padding-bottom: ${r=>h.navBarPaddingBottom.valuePx(r.windowSize)};
|
|
36
36
|
height: 100%;
|
|
37
37
|
`,U=t(P)`
|
|
38
|
-
${r=>`${
|
|
38
|
+
${r=>`${T.title.style(r.windowSize)}`};
|
|
39
39
|
display: flex;
|
|
40
40
|
flex: 1 1 auto;
|
|
41
41
|
color: ${r=>r.theme.colors.primary};
|
|
@@ -66,11 +66,11 @@ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,r as E,o as n,C as $,Q
|
|
|
66
66
|
color: ${r=>r.isStepInError?w.brandColorGoldDark:r.theme.colors.primary};
|
|
67
67
|
margin-left: ${n.sp2};
|
|
68
68
|
align-items: center;
|
|
69
|
-
`,oe=t(
|
|
69
|
+
`,oe=t(Q)`
|
|
70
70
|
width: ${n.sp4};
|
|
71
71
|
height: ${n.sp4};
|
|
72
72
|
color: ${w.success};
|
|
73
|
-
`,ne=t(
|
|
73
|
+
`,ne=t(R)`
|
|
74
74
|
width: ${n.sp4};
|
|
75
75
|
height: ${n.sp4};
|
|
76
76
|
color: ${r=>r.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as Te,X as H,t as Pe,l as P,u as pe,a1 as Be,j as t,M as q,_ as B,bs as L,o,aW as Le,v as D,bO as R,bQ as F,bR as Y,F as Ne,cA as Me,g as y,co as He,Y as C,d as ue,w,b4 as Ee,be as Ie,a5 as Ue,C as j,fc as Oe,cO as ae,n as p,gQ as We,ar as Re,b6 as Fe,au as Ye,at as Ge,b7 as Ve,as as Je,q as Q,gR as Xe,al as Ke,ae as qe,gS as Qe,k as _e,gT as Ze,ax as et,fe as tt,cv as ot,f as at,Q as it,bG as nt}from"./index-ji6aa7AC.js";import{b as l,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as rt}from"./BoxItem-DBi8kqn3-BDAOAuEh.js";import{w as lt}from"./downloadPdf-B21yi0DO-ZMTPTkC7.js";import{H as ct}from"./DepositAccTransactionItem-BVGKoyyZ-CtkDwopW.js";import{T as st}from"./ZeniAccountNavBarPieces-88z7CFPI-kEgSzIRo.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-DBedC6J7-SSiZbAOc.js";const dt=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100vh;
|
|
@@ -8,17 +8,17 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
8
8
|
background-color: ${e=>e.theme.colors.grey5};
|
|
9
9
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
10
10
|
background-color: ${e=>e.theme.colors.grey4};
|
|
11
|
-
`,ie="editNickName-form",Y="checkingAccountNickName",ut={tickLabelText:new it("extraSmallRegular","smallRegular")},u={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:M,spendManagement:ht}=K.getLocalizedStrings(),{zeniAccounts:i}=ht,G=K.getLocalizedStrings().dateFormat,mt=K.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=l.memo(({accountHistory:e})=>{const h=H(),n=pe(),[m,$]=l.useState(),w=l.useMemo(()=>e.accountHistoryWithBalance.map(r=>({...r,date:r.date.toISOString()})),[e.accountHistoryWithBalance]),x=l.useCallback(r=>{let d="",c="";return r&&r[0]&&(c=B("0,0[.]00",r[0].payload?.balance?.available),d=T.zeniDate(r[0].payload?.date).format(G.visual.DMMMYYYYFormat)),t.jsxs(Yt,{children:[t.jsx(re,{children:d}),t.jsx(re,{isSublabel:!0,children:c})]})},[]),g=l.useCallback(r=>{const{x:d,y:c}=r,{value:C}=r.payload;let D=!1;e.accountHistoryWithBalance.length>360&&(D=!0);const S=D?T.zeniDate(C).format(G.visual.MMMformat):T.zeniDate(C).format(G.visual.MMMDFormat);return t.jsx(Dt,{translateX:d,translateY:c,children:t.jsx(Lt,{windowSize:h,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,h]),k=l.useCallback(({cx:r,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==r||m?.y!==d)&&$({x:r,y:d}),t.jsx(Gt,{cx:r,cy:d,strokeWidth:1,r:p[1]})),[m]),y=l.useMemo(()=>{const r=e.accountHistoryWithBalance.length;return r<=0?0:r>360?Math.floor(r/12):Math.floor(r/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(so,{children:t.jsx(po,{children:M.texts.noData})}):t.jsx(It,{children:t.jsx(We,{height:u.areaChartHeight.value(h),width:"99%",children:t.jsxs(Re,{data:w,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Nt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Mt,{offset:"0%",stopColor:f.brandColorJade,stopOpacity:1}),t.jsx(Ht,{offset:"100%",stopColor:f.brandColorJade,stopOpacity:.03})]})}),t.jsx(Fe,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Ve,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:r=>g(r),padding:{right:p[4]},interval:y}),t.jsx(Ye,{tick:!1,axisLine:!1}),t.jsx(Ge,{position:m,content:({payload:r})=>x(r),cursor:{strokeDasharray:"3",stroke:f.brandColorJade}}),t.jsx(Je,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:f.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=l.memo(({zeniAccountDetail:e,getToolTipContent:h,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:w,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const y=H(),r=l.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(wt,{windowSize:y,children:[t.jsx(xt,{getToolTipContent:h,zeniAccountDetail:e}),t.jsxs(zt,{children:[t.jsx(he,{accountHistory:r}),t.jsxs(Et,{windowSize:y,children:[t.jsxs(Rt,{onClick:n,"data-testid":v("view-account-detail-button"),children:[t.jsx(ao,{}),y==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":v("download-bank-verification-letter"),onClick:()=>lt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[w?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(io,{}),y==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs($t,{windowSize:y,children:[t.jsxs(jt,{children:[t.jsx(_t,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":v("view-all-account-transactions"),children:[t.jsx(eo,{children:i.zeniAccountDetail.viewAll}),t.jsx(Zt,{})]}):null]}),t.jsx(kt,{children:e.transactionList.map((d,c)=>t.jsx(ct,{data:d,boxType:rt(c,e.transactionList.length)},d.id))})]}):t.jsxs(gt,{children:[t.jsx(yt,{windowSize:y}),t.jsx(ft,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const So=({authParams:e,downloadEndPoint:h,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:w,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:y,onEditNameClick:r,onReloadZeniAccountDetailPage:d})=>{const c=Pe({mode:"all"}),{setFocus:C}=c,[D,S]=l.useState(!1),[E,I]=l.useState(!1),[Q,xe]=l.useState(!1),Z=H(),ee=Te(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||T.hasAnyFinOpRole(ee.loggedInUserRoleMap);l.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),l.useEffect(()=>{Q===!0&&setTimeout(()=>{xe(!1)},800)},[Q]);const ge=n.transactionList.length>4,U=pe(),[ye,fe]=l.useState(!1),[$e,O]=l.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?O(!0):g(s,n.accountDetail)},be={onOkClick:()=>{y?.(),S(!1)},onCancelClick:()=>{S(!1)}},we={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};l.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(I(!1),c.reset())},[oe,W,c]),l.useEffect(()=>{E&&C(Y)},[E,C]);const ke={pageName:"detailPage",onOptionSelection:je},ve=n.accountDetail?.accountName??"",A=n.accountSummary,Ce=c.handleSubmit(s=>{r?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),O(!1)},onCancelClick:()=>{O(!1)}},ze=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},De=l.useCallback(s=>{let P=null;switch(s){case"insuredBalance":P=t.jsx(t.Fragment,{});break;case"totalInterest":P=t.jsx(co,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":P=t.jsxs(ro,{children:[t.jsx(no,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.available)})]})]});break}return t.jsx(N,{children:t.jsx(L,{style:{textAlign:"left",padding:o.sp1},maxWidth:ze(s),display:"flex",placement:Z==="small"?"bottom":"top",title:P,children:t.jsx(lo,{})})})},[A,Z]),Ae=t.jsx(st,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(bt,{children:[t.jsx(Le,{title:ve,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:U.colors.grey4,style:{zIndex:3,...z.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),D?t.jsx(R,{titleComponent:t.jsx(V,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(F,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${M.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:be}):null,$e?t.jsx(R,{titleComponent:t.jsx(V,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(R,{titleComponent:t.jsx(V,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:we,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:Ce,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(Me,{type:"text",name:Y,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:He(c.formState.errors,Y)===!0?f.importantLight:U.colors.background,border:`1px solid ${U.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:h,getToolTipContent:De,onAccountDetailClick:x,onViewAllTransactionClick:w,setShowLoader:fe,showLoader:ye,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(At,{children:[t.jsx(Pt,{onClick:d,"data-testid":v("account-detail-reload"),children:t.jsx(Bt,{})}),t.jsx(Tt,{children:mt.reloadPage.label})]}):t.jsx(pt,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},xt=({zeniAccountDetail:e,getToolTipContent:h})=>{const n=H(),[m,$]=l.useState(!1),[,w]=Oe(),[x,g]=l.useState(!1),k=()=>{w(e.accountDetail?.accountNumber??""),g(!0)};return l.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(Ct,{children:[t.jsx(Vt,{children:t.jsxs(le,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(Kt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:z.h2Regular.cssObject,decimalStyles:z.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(qt,{"data-testid":v("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"right",title:x?M.copyToClipBoard.copied:M.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(oo,{}):t.jsx(to,{onClick:k,"data-testid":v("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":v("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(le,{children:[ne(i.common.totalYieldEarned),h("totalInterest")]}),t.jsxs(Ut,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:z.largeRegular.cssObject,decimalStyles:z.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Wt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},gt=a.div`
|
|
11
|
+
`,ie="editNickName-form",G="checkingAccountNickName",ut={tickLabelText:new it("extraSmallRegular","smallRegular")},u={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:M,spendManagement:ht}=q.getLocalizedStrings(),{zeniAccounts:i}=ht,V=q.getLocalizedStrings().dateFormat,mt=q.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=l.memo(({accountHistory:e})=>{const h=H(),n=pe(),[m,$]=l.useState(),b=l.useMemo(()=>e.accountHistoryWithBalance.map(r=>({...r,date:r.date.toISOString()})),[e.accountHistoryWithBalance]),x=l.useCallback(r=>{let d="",c="";return r&&r[0]&&(c=B("0,0[.]00",r[0].payload?.balance?.available),d=P.zeniDate(r[0].payload?.date).format(V.visual.DMMMYYYYFormat)),t.jsxs(Gt,{children:[t.jsx(re,{children:d}),t.jsx(re,{isSublabel:!0,children:c})]})},[]),g=l.useCallback(r=>{const{x:d,y:c}=r,{value:v}=r.payload;let z=!1;e.accountHistoryWithBalance.length>360&&(z=!0);const S=z?P.zeniDate(v).format(V.visual.MMMformat):P.zeniDate(v).format(V.visual.MMMDFormat);return t.jsx(zt,{translateX:d,translateY:c,children:t.jsx(Lt,{windowSize:h,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,h]),k=l.useCallback(({cx:r,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==r||m?.y!==d)&&$({x:r,y:d}),t.jsx(Vt,{cx:r,cy:d,strokeWidth:1,r:p[1]})),[m]),f=l.useMemo(()=>{const r=e.accountHistoryWithBalance.length;return r<=0?0:r>360?Math.floor(r/12):Math.floor(r/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(so,{children:t.jsx(po,{children:M.texts.noData})}):t.jsx(It,{children:t.jsx(We,{height:u.areaChartHeight.value(h),width:"99%",children:t.jsxs(Re,{data:b,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Nt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Mt,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Ht,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(Fe,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Ye,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:r=>g(r),padding:{right:p[4]},interval:f}),t.jsx(Ge,{tick:!1,axisLine:!1}),t.jsx(Ve,{position:m,content:({payload:r})=>x(r),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(Je,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=l.memo(({zeniAccountDetail:e,getToolTipContent:h,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:b,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),r=l.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(bt,{windowSize:f,children:[t.jsx(xt,{getToolTipContent:h,zeniAccountDetail:e}),t.jsxs(Dt,{children:[t.jsx(he,{accountHistory:r}),t.jsxs(Et,{windowSize:f,children:[t.jsxs(Rt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(ao,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":C("download-bank-verification-letter"),onClick:()=>lt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[b?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs($t,{windowSize:f,children:[t.jsxs(jt,{children:[t.jsx(Qt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(_t,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(eo,{children:i.zeniAccountDetail.viewAll}),t.jsx(Zt,{})]}):null]}),t.jsx(kt,{children:e.transactionList.map((d,c)=>t.jsx(ct,{data:d,boxType:rt(c,e.transactionList.length)},d.id))})]}):t.jsxs(gt,{children:[t.jsx(ft,{windowSize:f}),t.jsx(yt,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const So=({authParams:e,downloadEndPoint:h,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:b,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:r,onReloadZeniAccountDetailPage:d})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[z,S]=l.useState(!1),[E,I]=l.useState(!1),[_,xe]=l.useState(!1),Z=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||P.hasAnyFinOpRole(ee.loggedInUserRoleMap);l.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),l.useEffect(()=>{_===!0&&setTimeout(()=>{xe(!1)},800)},[_]);const ge=n.transactionList.length>4,U=pe(),[fe,ye]=l.useState(!1),[$e,O]=l.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?O(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},be={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};l.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(I(!1),c.reset())},[oe,W,c]),l.useEffect(()=>{E&&v(G)},[E,v]);const ke={pageName:"detailPage",onOptionSelection:je},Ce=n.accountDetail?.accountName??"",A=n.accountSummary,ve=c.handleSubmit(s=>{r?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),O(!1)},onCancelClick:()=>{O(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},ze=l.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(co,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(no,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.available)})]})]});break}return t.jsx(N,{children:t.jsx(L,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:Z==="small"?"bottom":"top",title:T,children:t.jsx(lo,{})})})},[A,Z]),Ae=t.jsx(st,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:U.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),z?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(F,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${M.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:be,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(Me,{type:"text",name:G,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:He(c.formState.errors,G)===!0?y.importantLight:U.colors.background,border:`1px solid ${U.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:h,getToolTipContent:ze,onAccountDetailClick:x,onViewAllTransactionClick:b,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(At,{children:[t.jsx(Tt,{onClick:d,"data-testid":C("account-detail-reload"),children:t.jsx(Bt,{})}),t.jsx(Pt,{children:mt.reloadPage.label})]}):t.jsx(pt,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},xt=({zeniAccountDetail:e,getToolTipContent:h})=>{const n=H(),[m,$]=l.useState(!1),[,b]=Oe(),[x,g]=l.useState(!1),k=()=>{b(e.accountDetail?.accountNumber??""),g(!0)};return l.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(Ct,{children:[t.jsxs(vt,{children:[t.jsx(Yt,{children:t.jsxs(le,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"right",title:x?M.copyToClipBoard.copied:M.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(oo,{}):t.jsx(to,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(le,{children:[ne(i.common.totalYieldEarned),h("totalInterest")]}),t.jsxs(Ut,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Wt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},gt=a.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: center;
|
|
16
|
-
`,
|
|
16
|
+
`,ft=a(Qe)`
|
|
17
17
|
width: ${e=>u.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
18
18
|
height: ${e=>u.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
19
19
|
margin-top: 128px;
|
|
20
20
|
margin-bottom: ${o.sp3};
|
|
21
|
-
`,
|
|
21
|
+
`,yt=a(Q)`
|
|
22
22
|
color: ${e=>e.theme.colors.hero};
|
|
23
23
|
text-align: center;
|
|
24
24
|
`,$t=a.div`
|
|
@@ -33,11 +33,11 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
33
33
|
display: flex;
|
|
34
34
|
justify-content: space-between;
|
|
35
35
|
margin-bottom: ${o.sp3};
|
|
36
|
-
`,
|
|
36
|
+
`,wt=a.div`
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
width: 100%;
|
|
40
|
-
`,
|
|
40
|
+
`,bt=a.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
gap: ${e=>`${u.accountDetailHeaderGap.valuePx(e.windowSize)}`};
|
|
43
43
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -51,18 +51,18 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
51
51
|
`,kt=a.div`
|
|
52
52
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
53
53
|
border-radius: ${o.sp2};
|
|
54
|
-
`,
|
|
54
|
+
`,Ct=a.div`
|
|
55
55
|
display: flex;
|
|
56
56
|
gap: ${o.sp3};
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
justify-content: space-between;
|
|
59
|
-
`,
|
|
59
|
+
`,vt=a.div``,St=a.div``,Dt=a.div`
|
|
60
60
|
display: flex;
|
|
61
61
|
gap: ${o.sp3};
|
|
62
62
|
flex: 1;
|
|
63
63
|
flex-direction: column;
|
|
64
64
|
justify-content: flex-end;
|
|
65
|
-
`,
|
|
65
|
+
`,zt=a.g`
|
|
66
66
|
transform: ${e=>`translate(${e.translateX}px, ${e.translateY}px)`};
|
|
67
67
|
`,At=a.div`
|
|
68
68
|
display: flex;
|
|
@@ -71,7 +71,7 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
justify-content: center;
|
|
73
73
|
align-items: center;
|
|
74
|
-
`,
|
|
74
|
+
`,Tt=a.div`
|
|
75
75
|
height: ${o.sp12};
|
|
76
76
|
width: ${o.sp12};
|
|
77
77
|
background: ${e=>e.theme.colors.background};
|
|
@@ -89,7 +89,7 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
89
89
|
color: ${e=>e.theme.colors.primary};
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`,Pt=a(Ue)`
|
|
93
93
|
margin-top: ${o.sp3};
|
|
94
94
|
color: ${e=>e.theme.colors.hero};
|
|
95
95
|
`,Bt=a(Ie)`
|
|
@@ -165,10 +165,10 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
margin-right: ${o.sp3};
|
|
168
|
-
`,
|
|
168
|
+
`,Yt=a(w)`
|
|
169
169
|
display: flex;
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
|
-
`,
|
|
171
|
+
`,Gt=a.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
align-items: center;
|
|
174
174
|
flex-direction: column;
|
|
@@ -179,18 +179,18 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
179
179
|
min-width: 66px;
|
|
180
180
|
border-radius: ${o.sp1};
|
|
181
181
|
padding: ${o.sp0} ${o.sp2};
|
|
182
|
-
background-color: ${
|
|
183
|
-
`,
|
|
182
|
+
background-color: ${y.blackColor};
|
|
183
|
+
`,Vt=a.circle`
|
|
184
184
|
stroke: ${e=>e.theme.colors.brandColorJade};
|
|
185
185
|
fill: ${e=>e.theme.colors.grey5};
|
|
186
|
-
`,re=a(
|
|
187
|
-
color: ${e=>e.isSublabel===!0?
|
|
186
|
+
`,re=a(w)`
|
|
187
|
+
color: ${e=>e.isSublabel===!0?y.neutralGrey1Light:y.brandColorPearl};
|
|
188
188
|
`,le=a.div`
|
|
189
189
|
display: flex;
|
|
190
190
|
gap: ${o.sp1};
|
|
191
|
-
`,Jt=a(
|
|
191
|
+
`,Jt=a(w)`
|
|
192
192
|
color: ${e=>e.theme.colors.hero};
|
|
193
|
-
`,ce=a(
|
|
193
|
+
`,ce=a(_e)`
|
|
194
194
|
text-transform: capitalize;
|
|
195
195
|
color: ${e=>`${e.windowSize==="small"?e.theme.colors.hero:e.theme.colors.champion}`};
|
|
196
196
|
display: flex;
|
|
@@ -202,23 +202,23 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
202
202
|
margin-right: ${o.sp2};
|
|
203
203
|
cursor: pointer;
|
|
204
204
|
color: ${e=>e.theme.colors.hero};
|
|
205
|
-
`,
|
|
205
|
+
`,Kt=a(Ze)`
|
|
206
206
|
height: ${o.sp3};
|
|
207
207
|
width: ${o.sp3};
|
|
208
208
|
margin-left: ${o.sp2};
|
|
209
209
|
margin-right: ${o.sp2};
|
|
210
210
|
color: ${e=>e.theme.colors.hero};
|
|
211
|
-
`,
|
|
211
|
+
`,qt=a.div`
|
|
212
212
|
display: flex;
|
|
213
213
|
align-items: baseline;
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
|
-
`,se=a(
|
|
215
|
+
`,se=a(Q)`
|
|
216
216
|
margin-left: ${o.sp2};
|
|
217
|
-
`,de=a(
|
|
217
|
+
`,de=a(w)`
|
|
218
218
|
margin-left: ${o.sp2};
|
|
219
|
-
`,
|
|
219
|
+
`,Qt=a(Ke)`
|
|
220
220
|
color: ${e=>e.theme.colors.primary};
|
|
221
|
-
`,
|
|
221
|
+
`,_t=a.div`
|
|
222
222
|
display: flex;
|
|
223
223
|
align-items: center;
|
|
224
224
|
cursor: pointer;
|
|
@@ -231,11 +231,11 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
231
231
|
color: ${e=>e.theme.colors.primary};
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
`,Zt=a(
|
|
234
|
+
`,Zt=a(qe)`
|
|
235
235
|
width: ${o.sp3};
|
|
236
236
|
height: ${o.sp3};
|
|
237
237
|
color: ${e=>e.theme.colors.grey1};
|
|
238
|
-
`,eo=a(
|
|
238
|
+
`,eo=a(Q)`
|
|
239
239
|
color: ${e=>e.theme.colors.hero};
|
|
240
240
|
margin-right: ${o.sp2};
|
|
241
241
|
`,N=a.div`
|
|
@@ -257,7 +257,7 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
257
257
|
`,oo=a(et)`
|
|
258
258
|
height: ${o.sp3};
|
|
259
259
|
width: ${o.sp3};
|
|
260
|
-
color: ${
|
|
260
|
+
color: ${y.success};
|
|
261
261
|
`,ao=a(dt)`
|
|
262
262
|
width: ${o.sp4};
|
|
263
263
|
min-width: ${o.sp4};
|
|
@@ -266,22 +266,22 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
266
266
|
width: ${o.sp4};
|
|
267
267
|
min-width: ${o.sp4};
|
|
268
268
|
height: ${o.sp4};
|
|
269
|
-
`,no=a(
|
|
269
|
+
`,no=a(w)`
|
|
270
270
|
margin-bottom: ${o.sp2};
|
|
271
271
|
display: flex;
|
|
272
|
-
`,ro=a(
|
|
272
|
+
`,ro=a(w)`
|
|
273
273
|
padding: 12px ${o.sp3};
|
|
274
274
|
color: ${e=>e.theme.colors.hero};
|
|
275
275
|
border-radius: ${o.sp1};
|
|
276
|
-
`,J=a(
|
|
276
|
+
`,J=a(w)`
|
|
277
277
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
278
278
|
margin-top: ${o.sp2};
|
|
279
279
|
display: flex;
|
|
280
280
|
justify-content: space-between;
|
|
281
281
|
`,X=a.div`
|
|
282
282
|
color: ${e=>e.theme.colors.hero};
|
|
283
|
-
`,
|
|
284
|
-
color: ${
|
|
283
|
+
`,K=a.div`
|
|
284
|
+
color: ${y.primaryDark};
|
|
285
285
|
`,lo=a(Ee)`
|
|
286
286
|
width: ${o.sp3};
|
|
287
287
|
height: ${o.sp3};
|
|
@@ -289,7 +289,7 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
289
289
|
&:hover {
|
|
290
290
|
color: ${e=>e.theme.colors.primary};
|
|
291
291
|
}
|
|
292
|
-
`,co=a(
|
|
292
|
+
`,co=a(w)`
|
|
293
293
|
padding: ${o.sp2};
|
|
294
294
|
color: ${e=>e.theme.colors.hero};
|
|
295
295
|
`,so=a.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X
|
|
1
|
+
import{X,a as Ie,a1 as _e,u as De,aa as Ee,M as H,a0 as Fe,j as t,bO as W,g as o,F as Ge,o as n,cA as Ne,co as Oe,bQ as ne,bR as ie,gN as Re,_ as G,bs as fe,aW as Ue,v as z,Z as We,q as Ye,k as Ve,bB as Ze,b4 as ye,w as b,t as qe,l as Ke,cO as F,Y as N,C as j,f as J,f7 as Qe,Q as Xe,h as He,r as Je,cq as et,bG as tt,fy as nt,n as u,dI as it,fg as ot,gO as rt,K as st,f9 as at,be as ct,a5 as lt}from"./index-ji6aa7AC.js";import{b as g,n as i}from"./vendor-CnQcJ2Lu.js";import{r as dt}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as pt}from"./shield-DOlUxcFf-BCUrujod.js";import{T as ut}from"./ZeniAccountNavBarPieces-88z7CFPI-kEgSzIRo.js";import{v as mt}from"./ZeniTransferAmountSlider-Css3_ojA-DueYRoaC.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 ht=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=H.getLocalizedStrings(),gt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:$,style:C})=>{const s=X(),v=(c,T)=>Object.entries(T).reduce((M,[L,w])=>M.replace(new RegExp(`__${L}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),S=[{icon:t.jsx(At,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(zt,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(Ct,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(xt,{style:C,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx($t,{}),t.jsx(ft,{})]}),t.jsx(yt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(kt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(bt,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},xt=i.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -143,7 +143,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
143
143
|
position: relative;
|
|
144
144
|
margin-top: ${e=>e.windowSize==="small"?n.sp2:"0"};
|
|
145
145
|
padding: ${e=>e.windowSize==="small"?`0 ${n.sp2}`:"0"};
|
|
146
|
-
`,xe=i(
|
|
146
|
+
`,xe=i(J)`
|
|
147
147
|
color: ${o.heroLight};
|
|
148
148
|
white-space: pre-line;
|
|
149
149
|
text-align: ${e=>e.windowSize==="small"?"center":"left"};
|
|
@@ -177,7 +177,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
177
177
|
width: ${n.sp3};
|
|
178
178
|
height: ${n.sp3};
|
|
179
179
|
color: ${o.brandColorGoldDark};
|
|
180
|
-
`,St=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Lt={bankAccountName:new
|
|
180
|
+
`,St=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Lt={bankAccountName:new Xe("standardRegular","largeMedium")},d=H.getLocalizedStrings(),Y=e=>t.jsx(Rt,{children:e}),Pt=({fetchState:e,onReloadTransactions:a})=>e==="Error"?t.jsxs(an,{children:[t.jsx(cn,{onClick:a,"data-testid":N("zeni-account-list-reload"),children:t.jsx(ln,{})}),t.jsx(dn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Bt=({zeniAccountListView:e,zeniAccountsConfigDetail:a,maxInsuredAmountString:$,analytics:C,onZeniAccountRowClick:s,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:S,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:M,fetchState:L,summary:w}=e,p=X(),I=qe(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||Ke.hasAnyFinOpRole(I.loggedInUserRoleMap),_=r=>{C.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},A=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(Z,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",$)});break;case"totalInterest":k=t.jsx(Z,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(Z,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(gn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(q,{children:[t.jsx(K,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(Q,{children:G("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(q,{children:[t.jsx(K,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(Q,{children:G("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(q,{children:[t.jsx(K,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(Q,{children:G("0,0[.]00",w?.totalBalance.available)})]})]});break}return t.jsx(un,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(hn,{}):t.jsx(mn,{})})})},O=r=>t.jsx(Nt,{color:Qe(r)});return t.jsx(Tt,{children:L==="Completed"?t.jsxs(pn,{windowSize:p,children:[t.jsxs(Dt,{windowSize:p,children:[t.jsxs(Ot,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),A("totalBalance")]}),t.jsx(F,{amount:w?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(Zt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),A("insuredBalance")]}),t.jsx(F,{amount:w?.insuredBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsx(Yt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",$)})]}),t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),A("totalInterest")]}),t.jsx(F,{amount:w?.totalInterest.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsxs(Ut,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Wt,{children:a.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(xn,{windowSize:p,children:t.jsx(gt,{yieldPercentage:S,insuredAmount:c,onGetStartedClick:()=>{C.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Gt,{windowSize:p,children:[M.depositAccounts.map((r,k)=>t.jsxs(Kt,{isClickEnabled:!0,windowSize:p,onClick:()=>s?.(r.id,r.accountName),"data-testid":N("deposit-account-clicked",r.id),children:[t.jsxs(Vt,{children:[O(k),t.jsxs(Qt,{children:[t.jsx(Xt,{windowSize:p,children:r.accountName}),t.jsxs(Ht,{windowSize:p,children:[t.jsx(Et,{children:t.jsx(Jt,{children:r.maskedAccountNumber})}),t.jsxs(Ft,{children:[p==="small"?null:t.jsx(en,{}),t.jsx(tn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(nn,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),y?null:t.jsx(It,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":N("add-fund",r.id),children:t.jsx(_t,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(on,{onClick:P,"data-testid":N("add-new-internal-zeni-account"),children:[t.jsx(rn,{}),t.jsx(sn,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Pt,{fetchState:L,onReloadTransactions:v})})},Tt=i.div`
|
|
181
181
|
display: block;
|
|
182
182
|
height: 100%;
|
|
183
183
|
`,Mt=i.div`
|
|
@@ -194,7 +194,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
194
194
|
:hover {
|
|
195
195
|
border: 1px solid ${e=>e.theme.colors.hero};
|
|
196
196
|
}
|
|
197
|
-
`,_t=i(
|
|
197
|
+
`,_t=i(Je)`
|
|
198
198
|
color: ${e=>e.theme.colors.hero};
|
|
199
199
|
`,Dt=i.div`
|
|
200
200
|
margin: ${e=>x.containerTopMargin.valuePx(e.windowSize)}
|
|
@@ -214,31 +214,31 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
214
214
|
${x.bankAccListBottomMargin.valuePx(e.windowSize)} ${n.sp0}`};
|
|
215
215
|
width: 100%;
|
|
216
216
|
padding: ${e=>`${n.sp0} ${x.containerSidePadding.valuePx(e.windowSize)}`};
|
|
217
|
-
`,
|
|
217
|
+
`,Nt=i(at)`
|
|
218
218
|
min-width: ${n.sp7};
|
|
219
219
|
width: ${n.sp7};
|
|
220
220
|
height: ${n.sp7};
|
|
221
221
|
margin-right: 12px;
|
|
222
|
-
`,
|
|
222
|
+
`,Ot=i.div`
|
|
223
223
|
${e=>e.windowSize!=="small"?`
|
|
224
224
|
width: 50%;
|
|
225
225
|
`:null}
|
|
226
226
|
`,V=i.div`
|
|
227
227
|
display: flex;
|
|
228
|
-
`,
|
|
228
|
+
`,Rt=i(b)`
|
|
229
229
|
color: ${e=>e.theme.colors.hero};
|
|
230
230
|
margin-right: ${n.sp1};
|
|
231
|
-
`,Ut=i(
|
|
231
|
+
`,Ut=i(J)`
|
|
232
232
|
color: ${e=>e.theme.colors.hero};
|
|
233
233
|
`,Wt=i.span`
|
|
234
234
|
margin-left: 2px;
|
|
235
|
-
`,Yt=i(
|
|
235
|
+
`,Yt=i(J)`
|
|
236
236
|
color: ${e=>e.theme.colors.hero};
|
|
237
237
|
`,Vt=i.div`
|
|
238
238
|
display: flex;
|
|
239
239
|
align-items: center;
|
|
240
240
|
width: calc(100% - 96px);
|
|
241
|
-
`,Zt=i.div``,qt=i.div``,
|
|
241
|
+
`,Zt=i.div``,qt=i.div``,Kt=i.div`
|
|
242
242
|
padding-left: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
|
|
243
243
|
padding-right: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
|
|
244
244
|
padding-top: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
|
|
@@ -256,23 +256,23 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
256
256
|
border-color: ${e=>e.theme.colors.primary};
|
|
257
257
|
color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
|
|
258
258
|
}
|
|
259
|
-
`,
|
|
259
|
+
`,Qt=i.div`
|
|
260
260
|
max-width: calc(100% - 30px);
|
|
261
261
|
width: calc(100% - 40px);
|
|
262
262
|
white-space: nowrap;
|
|
263
263
|
overflow: hidden;
|
|
264
|
-
`,
|
|
264
|
+
`,Xt=i(He)`
|
|
265
265
|
${e=>`${Lt.bankAccountName.style(e.windowSize)}`};
|
|
266
266
|
color: ${e=>e.theme.colors.primary};
|
|
267
267
|
max-width: ${`calc(100% - ${n.sp3})`};
|
|
268
268
|
text-transform: capitalize;
|
|
269
269
|
overflow: hidden;
|
|
270
|
-
`,
|
|
270
|
+
`,Ht=i.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
color: ${e=>e.theme.colors.hero};
|
|
273
273
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
274
274
|
align-items: ${e=>e.windowSize==="small"?"start":"center"};
|
|
275
|
-
`,
|
|
275
|
+
`,Jt=i(b)`
|
|
276
276
|
margin-left: ${n.sp1};
|
|
277
277
|
`,en=i.div`
|
|
278
278
|
width: ${n.sp1};
|
|
@@ -381,13 +381,13 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
381
381
|
`,gn=i(b)`
|
|
382
382
|
margin-bottom: ${n.sp2};
|
|
383
383
|
display: flex;
|
|
384
|
-
`,J=i.div`
|
|
385
|
-
color: ${e=>e.theme.colors.hero};
|
|
386
384
|
`,K=i.div`
|
|
385
|
+
color: ${e=>e.theme.colors.hero};
|
|
386
|
+
`,Q=i.div`
|
|
387
387
|
color: ${o.primaryDark};
|
|
388
388
|
`,xn=i.div`
|
|
389
389
|
margin-top: ${n.sp4};
|
|
390
|
-
`,{common:wn,spendManagement:{zeniAccounts:l}}=
|
|
390
|
+
`,{common:wn,spendManagement:{zeniAccounts:l}}=H.getLocalizedStrings(),$e="checkingAccountCreation-form",On=({zeniAccountListView:e,analytics:a,maxInsuredAmount:$,isBillPayEnabled:C,isExpressPayEnabled:s,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:S,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:M,showTreasuryPromo:L,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const I=X(),y=Ie({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const A=De(),[O,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,R]=g.useState(!1),[je,be]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,U)=>{P(h,U)},ve={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(a.trackAccountsListPageClicked("Pay Someone"),R(!0)):(h==="sendMoney"?a.trackSendMoneyClick():h==="checkDeposit"?a.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&a.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},Se={onOkClick:()=>{},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(U=>U.id===e.newCheckingAccount.accountId);a.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{a.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),R(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Not Now on Bills pop up"),R(!1)}},Be=y.handleSubmit(h=>{a.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe($),$,wn.currency.currencySymbol).toUpperCase(),Me=t.jsx(ut,{onSettingsClick:B,isBillPayEnabled:C,isExpressPayEnabled:s,zeniBankProps:ve,analytics:a});return t.jsxs($n,{children:[O?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:$e,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:Se,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:$e,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Ne,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Oe(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:A.colors.grey5,border:`1px solid ${A.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(yn,{children:[t.jsx(Re,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(kn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(mt,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:be}),t.jsxs(bn,{children:[t.jsxs(zn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(An,{children:G("0,0",{amount:je,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Ue,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:I==="medium-compact"||I==="small",backgroundColor:A.colors.grey4,style:{zIndex:3,...z.largeSemiBold.cssObject},rightSideComponent:Me,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(fn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Bt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{a.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:a,onReloadTransactions:S,maxInsuredAmountString:te,onTreasuryGetStartedClick:M,treasuryYieldPercentage:w,treasuryInsuredAmount:p,showTreasuryPromo:L})})]})},$n=i.div`
|
|
391
391
|
display: flex;
|
|
392
392
|
min-height: 100%;
|
|
393
393
|
flex-direction: column;
|
|
@@ -438,4 +438,4 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
438
438
|
&:hover {
|
|
439
439
|
color: ${e=>e.theme.colors.primary};
|
|
440
440
|
}
|
|
441
|
-
`;export{
|
|
441
|
+
`;export{On as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as N,fk as $,l as O,M as j,j as a,Y as z,gk as p,gP as u,o as s,gm as B}from"./index-ji6aa7AC.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const o=j.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},M={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},v={value:"checkDeposit",label:o.moveMoney.checkDeposit},w=[y,g,M,v],A=[M,g,y,v],D=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:x,analytics:h,onSettingsClick:k})=>{const i=N(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||$(i),b=O.hasBillPayAccess(i.loggedInUserRoleMap),P=m.filter(t=>t.value==="accountStatement"),c=f===!0?w:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),S=b?r:r.filter(t=>t.value!=="payBill");return a.jsxs(C,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(E,{onClick:k,"data-testid":z("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?P:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:S,title:o.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},E=d(B)`
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
min-width: ${s.sp4};
|
|
4
4
|
width: ${s.sp4};
|