@zeniai/web-cockpit-ui 1.14.36-dev → 1.14.37-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-3oKbHC1_-Qn9d1Xyv.js → ACHDetailsPage-B-YGNgNu-Bmzj5VCx.js} +1 -1
- package/dist/assets/{AIPerformancePage-Cn2skpeY-BNc-HLpr.js → AIPerformancePage-BtD_7Ftm-Dc6s17nv.js} +26 -26
- package/dist/assets/{AccountInfoPage-Dxnr3s2C-ByHNSUfv.js → AccountInfoPage-BtnzwNNq-dHfnRP44.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CMT1vJ_n-DgA1oKva.js → AccountInfoPageContent-B4wK76bm-bje-d7jv.js} +30 -30
- package/dist/assets/{AccountLockedInfoModal-2GuYlOQJ-Cb5egJeS.js → AccountLockedInfoModal-4JAQCp4H-oFdcTD1v.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-Cu_lsw9T-Ct4NG0ON.js → AccountReconDetailsDrawerPage-Ddi5U4Ae-yt2cu51z.js} +13 -13
- package/dist/assets/{AccountRow-BcSPuOPF-R9MJWqpQ.js → AccountRow-m99usqft-CVwqPSiA.js} +14 -14
- package/dist/assets/{AccountsPromoCardStack-Ch88Cvn8-B36ZrxM-.js → AccountsPromoCardStack-D-dhzSE8-DDW4X8m8.js} +30 -30
- package/dist/assets/{AddAddressForCardDrawer-Df4OROTJ-Ccg4Z6Tb.js → AddAddressForCardDrawer-Bc7FcxQ9-CPCqNMQu.js} +1 -1
- package/dist/assets/{AddToWalletPage-DgVLkIkz-CQF3I5rp.js → AddToWalletPage-y4kvtUka-DDEooDf0.js} +19 -19
- package/dist/assets/{AgingReportsPage-M1xr5QPt-DB06_ukJ.js → AgingReportsPage-DrNIGwGn-SYUURrNK.js} +15 -15
- package/dist/assets/{AllUserItems-CzMARJS5-DMwRKAgK.js → AllUserItems-B7zg_GaP-Be7aIkSs.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-C3YN724_-CRhegmmd.js → ApAgingDetailPage-DnnUrY0w-YKhaNkmF.js} +3 -3
- package/dist/assets/{AppBasePage-CP4BX_QO-B6mlxKAR.js → AppBasePage-Bk7AUQvW-DewGDFAI.js} +16 -16
- package/dist/assets/{AppDrawerContent-Dc3UorVz-DdpZ1z1h.js → AppDrawerContent-BoIqLCcg-DSqSJb6O.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-DHw_cGEb-DsqpcHH3.js → ApprovalRulesSettingsPage-C9F_rLkj-CMuUFv_Y.js} +1 -1
- package/dist/assets/ArAgingChart-DIwVIc---JSQnHbrf.js +24 -0
- package/dist/assets/{ArAgingDetailPage-BU6gubOU-BkAN4ZrM.js → ArAgingDetailPage-DxW2xm-N-C3cyEzON.js} +1 -1
- package/dist/assets/{AttachmentView-Cjq9bT2R-B9cOvAgG.js → AttachmentView-BlhBiGC5-BQVXVdi4.js} +6 -6
- package/dist/assets/{BankAccountSection-DcBAe_nk-Cj8Y52AW.js → BankAccountSection-A8IfSLFo-DZ6IsEkG.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-CgdNj2lq-DoFj2r_M.js → BankAccountWarningSection-DFi3iK9n-Bwv6p1-d.js} +19 -19
- package/dist/assets/{BankConnectionsSettingsPage-DN-l_MKN-CZ9NiTex.js → BankConnectionsSettingsPage-CKGG85vp-aivbIsnx.js} +10 -10
- package/dist/assets/{BillDetailPage-DSNj9dZa-GtcAJ7zm.js → BillDetailPage-BOVwHvyV-BfaeR7sU.js} +11 -11
- package/dist/assets/BillPayApprovalRuleDetailPage-BVdiHMjx-H3-_-QUF.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-3E7Zb7Tv-8xvci8F-.js → BillPayApprovalRulesPage-Dl45oEp5-Bp4yjfcf.js} +7 -7
- package/dist/assets/{BillPayPromoPage-iqi-3PsJ-BJG1XRwv.js → BillPayPromoPage-CEX8Udbv-Bz1WZJJS.js} +32 -32
- package/dist/assets/{BillPaySetUpPage-DkBnCNVT-DuhN0B9J.js → BillPaySetUpPage-CSfEFV18-C8fnmfrq.js} +2 -2
- package/dist/assets/{BillingSettingsPage-Bxl_rTxp-CiR8VS-8.js → BillingSettingsPage-hu1pz4dA-DIqnmxGS.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-BAQfge2H-BRM7aN30.js → BillsBulkReviewDrawerPage-DIY4Aa7i-DWQniSAN.js} +1 -1
- package/dist/assets/{BoxItem-BiXktaUJ-Cfy2EaaH.js → BoxItem-BnivUbj--D0CHtSbc.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BvtQdbIO-BG9aG986.js → BusinessVerificationPage-BZB4KFum-B7vFGHC7.js} +7 -7
- package/dist/assets/CardNumberSubText-CIysZ6zp-BeRdb8DH.js +21 -0
- package/dist/assets/{CashbackDetailPage-CKSxtvZL-C5tKHPnX.js → CashbackDetailPage-C-MPq54h-Di99A_id.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-Dwb3MwPx-DGZ2FMyW.js → ChargeCardDetailPage-CGyuANsu-BXb0v708.js} +40 -40
- package/dist/assets/{ChargeCardListPage-CQ3lUqTC-ClOjN4Tj.js → ChargeCardListPage-BbzjzgAv-D6IqTZDO.js} +27 -27
- package/dist/assets/{ChargeCardListTable-B2MUmgfU-D_6CnuuE.js → ChargeCardListTable-D-wd0edv-Ccs8wgch.js} +14 -14
- package/dist/assets/{ChargeCardPromoPage-DNZ_qrk1-Ckodpm9A.js → ChargeCardPromoPage-Cs-Xlghn-TDUeeTRa.js} +14 -14
- package/dist/assets/{ChargeCardSetupPage-DX4VlcBt-9AzPA1m8.js → ChargeCardSetupPage-CfCGkFxz-Ba3kpJjD.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DlVfCfY8-Ciq-TW-L.js → ChargeCardStatementsPage-Jc6k_2Gg-C9xm6yF8.js} +6 -6
- package/dist/assets/ChargeCardUtils-Vw0LoIey-LQKRCzhH.js +1 -0
- package/dist/assets/{ChaseOverlay-DYQYE0RM-Cl7PDEtm.js → ChaseOverlay-Cm-3BKNK-ByPesCFg.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-C653BICE-BliVsvVN.js → CheckDepositDrawerPage-BAwg3duC-unpJ_-VW.js} +11 -11
- package/dist/assets/{CollapsableReportTable-KGZROyWO-BB5JbMLM.js → CollapsableReportTable-C_qcwMWq-DwhvFgWQ.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-WlKm-fM0-DT0aWaVM.js → CompanyOfficerDetailsSection-_m4C7Xgf-B3wASBKA.js} +30 -30
- package/dist/assets/{CompanyPassportCard-BXQt77bL-CgrFJoow.js → CompanyPassportCard-BiuPML3b-oaTBtIaM.js} +5 -5
- package/dist/assets/{CompanyPassportPage-CdM9x1g7-DHJ-ptII.js → CompanyPassportPage-BHf1pHbJ-Buj_TW7B.js} +29 -29
- package/dist/assets/{CompleteProfile-g0ErQlZA-BaxE51VT.js → CompleteProfile-DKEFybHA-C1kFizxR.js} +1 -1
- package/dist/assets/{ConfettiBurst-Cu0ce9ZQ-B47uGNY_.js → ConfettiBurst-BvcmPG2b-ZMa2QlEG.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Zn--1Mu0-xtwEugAO.js → CreateOrEditVendorPage-EpWC9Uuv-Dc0tZPg8.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-BSS4YcVE-BNPDfaX6.js → CreditCardPaymentDrawerPage-DI-za1T2-bRyqVvzT.js} +19 -19
- package/dist/assets/{CreditCardPaymentPlgSection-QKLSnyR5-DUyvaz3Z.js → CreditCardPaymentPlgSection-BGu0Am-e-aYbEN-hH.js} +8 -8
- package/dist/assets/{CurrencySelectField-DxrwSaJK-Cu5VbUzb.js → CurrencySelectField-DL628Rog-Bmtvp9OQ.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-BbfI4g9k-bQf7ee-N.js → CustomerOnboardingActivationPage-DzuWnPaH-_LvR1atL.js} +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-BLgcij7A-B0ZyZA5y.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyIeAi4x-Ciojhx6k.js → CustomerOnboardingDetailPageSkeleton-Bx_rpQHj-BvbC0CJP.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-BbHZQvuH-pcu4RngU.js → CustomerOnboardingNoStepsPage-CSI_jqkM-BvTSxYdS.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-BGKjRruK-C_-kvbjL.js → CustomerOnboardingPage-CuS2FfSh--tD5QTKd.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-Cmwfbh1x-D3ospPa7.js → CustomerOnboardingProductSuitePage-B4HtoU9G-k9fDWiOr.js} +1 -1
- package/dist/assets/{Dashboard-DCbGYUNO-CggBXce9.js → Dashboard-bFhMc4h1-CwTlVIc3.js} +114 -114
- package/dist/assets/{DashboardReportPage-7sacscjb-CCrnEMLn.js → DashboardReportPage-B1pKZHaH-C002ABtg.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CcQR2lMq-Cf2eLsVD.js → DashboardSidebarBackgroundAnimation-CLaTbvuZ-DTILeRgb.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-u7kiVxu3-Cq_mC_h_.js → DepositAccTransactionItem-DnzXR7B4-BzeCDAAx.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-C0F0N3XK-CpXVyO43.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-CjliTPRp-Cxo45rzx.js → DomesticWireDetailsPage-BS3N4ATj-Z9M0LUQc.js} +1 -1
- package/dist/assets/{DownloadOverlay-LzyYQ7X7-Cqsz6Go0.js → DownloadOverlay-yXed0RbK-CILknCuS.js} +1 -1
- package/dist/assets/{DrawerPage-DVu3OGym-ELFavZIA.js → DrawerPage-LV8__F8R-DnqAUVKa.js} +5 -5
- package/dist/assets/{EditPeoplePage-COZuksUu-BAJ712Zd.js → EditPeoplePage-GBNK0lo_-DOfo7pqS.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-P7gybbTe-DhmHzkez.js → EditReimbursementDetailPage-COApDpVm-BQmgcdfZ.js} +59 -59
- package/dist/assets/{EntityDetailPage-CMAFiXng-EHp1vVUv.js → EntityDetailPage-DdZmhyPX-DWJHl4Bk.js} +2 -2
- package/dist/assets/{EntitySummarySection-BezHSTT7-CA4YQ14w.js → EntitySummarySection-Cn7rnQeI-CBO7wVuQ.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-CX5wpbbp-BxzSM0jW.js → ExpenseAutomationOverviewPage-ipXT_MCO-bp6l5ftT.js} +17 -17
- package/dist/assets/ExpenseAutomationPage-BXyGtnBz-BNGaSmRn.js +1650 -0
- package/dist/assets/{ExpressPayPage-KpzY-AC4-B3x4TcSO.js → ExpressPayPage-C0J3X657-nQamsxue.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-T7VgNi57-XquGM-uR.js → FeaturePreviewPage-lIDKDiwy-ByXy-FSZ.js} +2 -2
- package/dist/assets/{FollowStepsSection-BffVXexb-Wb7yroWy.js → FollowStepsSection-CtCRMD2R-CbwNNmmr.js} +23 -23
- package/dist/assets/{GlobalReviewListPage-DPJug-7p-FbhUXbzf.js → GlobalReviewListPage-DXPuMshX-BcxIk4p1.js} +14 -14
- package/dist/assets/{HelpButton-BkxT0f9t-DltO0YWd.js → HelpButton-Dmp2RZDD-B2Rab4OD.js} +4 -4
- package/dist/assets/{InformationCardStack-CiO7p4bX-Ca7THwnz.js → InformationCardStack-bpQXbFWJ-Cm38YEZv.js} +4 -4
- package/dist/assets/{InsightsCardStack-CCx4eRv0-BoXCNjZt.js → InsightsCardStack-BzyYnnH_-BColy9W-.js} +9 -9
- package/dist/assets/{InsightsSection-CQRpIy9c-BVaWF-TR.js → InsightsSection-BVjjBkzp-DdtTOhLh.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-CDHIF3ky-BZdWjiMh.js → IntegrationsSettingsPage-DjMaGIv9-C8FJSTfl.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-BTB0YTLP-Fw5hYyJd.js → InternationalWireSwiftDetailsPage-DXYaOaYh-D23V0HqY.js} +13 -13
- package/dist/assets/{InternationalWireVerificationPage-DZAa5CXK-CShVs05a.js → InternationalWireVerificationPage-yPrzoGA9-BxdDeF-a.js} +10 -10
- package/dist/assets/{InviteFormPage-CVIA_4cc-xvdMmRWy.js → InviteFormPage-xQ6xN_gt-BMpnhTIU.js} +20 -20
- package/dist/assets/{InvitePageListView-BapkK9dR-CMoNigd7.js → InvitePageListView-BmkX934z-BfZaFs-7.js} +40 -40
- package/dist/assets/InvitePeoplePage-BxxEjVs5-CabY1R7G.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CfoxMKse-CDgcPY9V.js → InvoiceUploadSection-BxfSI49h-Brw0wgV3.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-DoNxoxCV-BuHBJdzr.js → IssueChargeCardPage-ByK_ayX6-rSu6Sks_.js} +22 -22
- package/dist/assets/{LabeledAddressValue-DzKLuwO0-Dbmo8xwC.js → LabeledAddressValue-Bk-opSoh-CfhrR6VE.js} +1 -1
- package/dist/assets/LabeledAddressValueField-RFI4bpOj-V_HSBjtL.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BsXmJGaz-B9D7gdxU.js → LabeledControlledCheckBoxField-DtVQoSev-CxGQ4PV5.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CNcoKtBi-DbNXS5w-.js → LabeledCreatableSingleSelectField-BFmP_-GA-Dc6F7WMx.js} +2 -2
- package/dist/assets/{LabeledDocumentField-DB-XX9hy-ARW_yKHV.js → LabeledDocumentField-CyW3tPI--BGc7rzmx.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-ChF-tfZl-CoOdklmM.js → LabeledDropDownFormattedTextField-_b5VDmOJ-XXRUXuQU.js} +3 -3
- package/dist/assets/{LabeledText-DQjY46zj-CJXj8rFi.js → LabeledText-Bc8QavrT-DRMQG5Fd.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dg_jyvIT-BII3s1HZ.js → LabeledUserSingleSelectWithSubtitlesField-CE-MxVSk-Bf2C7jq-.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-qeHXm7K1-iR_szjxt.js → LabeledZeniRolesDropDownField-BqlbDyA1-Z63nBo8a.js} +6 -6
- package/dist/assets/{LinkJETransactionPage-DWq96C-C-BScn3NVF.js → LinkJETransactionPage-DE8ch_W7-BbSoAkGH.js} +6 -6
- package/dist/assets/{LowBalancePopup-DIu4EJtv-FHHWLFWk.js → LowBalancePopup-DWXEyi2S-BS-B0i1n.js} +4 -4
- package/dist/assets/{MagicLinkACHDetailsPage-0uTQmYPp-CFGb5gZH.js → MagicLinkACHDetailsPage-CJ57XAxp-B8DWH8Pe.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CtkSDg_U-DqPdzilp.js → MagicLinkDomesticWireDetailsPage-Ba1gbLAX-C3b71Pt2.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-qNEvVVcm-C2m2KEe0.js → MagicLinkInternationalWireDetailsPage-U3ygf3uO-B8lQWMEo.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D4C3XF4W-EgVx2lLe.js → MagicLinkSuccessPage-CGjxH6Hl-BGgftVAk.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DXZCLfIM-2GWQnCnZ.js → MagicLinkTitleSection-Dzfctx8H-BBKMnm9G.js} +9 -9
- package/dist/assets/{MailingDetailsSection-7_w5PfFQ-C9R3FLGa.js → MailingDetailsSection-N-M1JzkW-CJwTbRpR.js} +6 -6
- package/dist/assets/{MeetingCalenderPopup-2P6uhLqh-CkyOJaM-.js → MeetingCalenderPopup-BJgsd-6e-BVSiedfG.js} +1 -1
- package/dist/assets/{Menu-Ya9EH9T1-XEx08cqQ.js → Menu-DCl4YiCd-B0YQHXqY.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Bz9BP12B-B0raEGfA.js → MyBankConnectionsSettingsPage-BZP3Dbes-DmpNjSAQ.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-BxFFCBYU-CmVzmveh.js → MyPendingActivationChargeCardListPage-Cc8Onh73-CbDOi7oK.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-BRTEYBf1-BuzCCWQu.js → MyProfileSettingsPage-7YrgIr-M-ZiI_qPOd.js} +11 -11
- package/dist/assets/{NavBarWithPicker-Cx1ldzdT-ByHGGAzI.js → NavBarWithPicker-Bbu7_9sU-Drz87Xca.js} +4 -4
- package/dist/assets/{NavigationArrow-Cic_S7sL-CafjbEnx.js → NavigationArrow-DNJkGq5e-CFURJ7Q6.js} +1 -1
- package/dist/assets/{NavigationDots-BnqdhDar-BHuykGzD.js → NavigationDots-BDhrBzmw-D1HC0qJi.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BMLnV68V-Df2U2-Pi.js → NewGlobalMerchantPage-DSyitl-a-Cmd_Uf-_.js} +11 -11
- package/dist/assets/{NoDataChart-CyIzcvzb-CVVPhPRo.js → NoDataChart-Bww-GG_z-Bc_skb_f.js} +3 -3
- package/dist/assets/{NoDataTable-Cf9Qv-ms-BIxVQmVT.js → NoDataTable-DRSEE7HT-D9jhDjAA.js} +1 -1
- package/dist/assets/{NotFoundPage-BP2jA51O-DvlpUk9Z.js → NotFoundPage-BepvWGxk-DxNfmeBZ.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Bhj72XzL-DgHNUBYw.js → NotificationSettingsPage-CR6XVZlL-wDdA0j9g.js} +17 -17
- package/dist/assets/NotificationsListConfig-CBjTcLzj-jvVy89VO.js +1 -0
- package/dist/assets/{NotificationsPage-DEQ0muyV-AFyu-A1B.js → NotificationsPage-BgUc61wf-BZgONaPK.js} +29 -29
- package/dist/assets/{OpExByVendorPage-BPvIdjMh-GjqInlE8.js → OpExByVendorPage-BkgsQ4lY-7o0GC3_0.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-B4CijHVT.js → OverlayContainerPage-Bmu909Fo-C009NgjC.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CgMYDel--CrwH5GHU.js → PandLWithForecastPage-B0pUD9U8-DO8PheB4.js} +6 -6
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CfUpfrt6-DiMg5_6V.js → PaymentAccountSetupBillingAddressSection-YvYPpyzH-C8eu7aCq.js} +12 -12
- package/dist/assets/{PeoplePage-BrL4O-03-BHA1i9-R.js → PeoplePage-mobCML9r-CoCd3iyK.js} +18 -18
- package/dist/assets/{PortfolioAllocationFormPage-C24sa7Lv-D7dV2koR.js → PortfolioAllocationFormPage-CB9lfs6z-DLoszR7s.js} +7 -7
- package/dist/assets/{PortfolioDetails-wAtPiO4w-C8Xq6LTb.js → PortfolioDetails-zYYGkoC--vz6_lm4y.js} +23 -23
- package/dist/assets/{ProductsCarousel-B8KxzJsX-BAeIItJs.js → ProductsCarousel-B4zdUn5q-DoM0qjnT.js} +5 -5
- package/dist/assets/{PromoBaseCards-DKu8lmMb-CbitZiAU.js → PromoBaseCards-CgGg3lpk-Dz6RYIDW.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-CSRVcpvB-DsmFVlUU.js → QBOConnectionDialog-BBVBEJWA-dgJxEpfC.js} +9 -9
- package/dist/assets/{QBOSetupSection-CwO2OwTA-DfOK3FQy.js → QBOSetupSection-pBOQk_mE-Dd7Gnjqf.js} +10 -10
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Ck2KbJ_R-BX6Ge_l2.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CWZIqbqf-2nP7no61.js → ReimbursementApprovalRulesPage-D7LTvUrz-DlssbBj8.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-DaiOed8i-t4bX9i7-.js → ReimbursementDetailPage-CbgWCawo-C7_BdWis.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-CTpCa9C7-WAySoU1n.js → ReimbursementPromoPage-DmV5eoIo-DOkiivOI.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-Cd0w6zdZ-CapxuQlm.js → ReimbursementSetUpPage-kAlaG5Ag-CleK9Kyi.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-70qXVn3v-C1moxDIU.js +1 -0
- package/dist/assets/{ReloadCard-D8XT-nw--BGnVgOtj.js → ReloadCard-DoOxxK_q-CpkIPzoZ.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-kf12PTIw-_koMJS6q.js → ReportTableViewSelector-7OJVsL-G-DHAAlp0N.js} +10 -10
- package/dist/assets/{ReportsPage-D0dEACVc-CgqzQVRZ.js → ReportsPage-29ims7Ks-DeqwxbGw.js} +9 -9
- package/dist/assets/{RevenueChart-D67Egnoj-B0BJYpf4.js → RevenueChart-CLtUUYr5-BiKK-4fc.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-DX3JdY2D-BVW8q6gp.js → ReviewDetailsPage-DNDzoyA5-DEPI6irg.js} +5 -5
- package/dist/assets/{ReviewOverlay-BUmIoEZp-D3xvXshe.js → ReviewOverlay-VleZWRhn-92ozUwMn.js} +4 -4
- package/dist/assets/{RoleWithToolTip-QUDWRgyn-DzrP2xLD.js → RoleWithToolTip-DsEos8I_-DRhh0Kxb.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-ffFbqWqR-mWiNohG4.js → ScheduleDetailsFixedAssetsPage-Cv84NP5--DgtnhyGw.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-Btyinpxx-TW4CABi6.js → ScheduleDetailsPage-D4IKW5z6-Dgpd_Bt3.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-nubG9ZPF-CmzJbQeN.js → ScheduleSequenceTable-qHcZL82y-hvYO0uf8.js} +17 -17
- package/dist/assets/{ScreenRoutes-BC18Q4eZ.js → ScreenRoutes-BMiRN1n5.js} +1 -1
- package/dist/assets/SetUpAccountSection-CjOOpWa2-DlvlGnwo.js +378 -0
- package/dist/assets/{SetUpDefaultSection-D54P9sLQ-DIoImqvg.js → SetUpDefaultSection-Ax1FuH_A-CyAf_lFy.js} +9 -9
- package/dist/assets/{SignIn-DQERofSd-BPkKMSDj.js → SignIn-Bj2czf21-DLn_5Hl2.js} +11 -11
- package/dist/assets/{SignInScreen-BbeWg9hl.js → SignInScreen-EkV2uFui.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B9iJVZhK-Dd5zS51l.js → SpendManagementListViewPage-7oQurX8D-Btm2dsFE.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-DiduNPFx-BvN2qFiJ.js → SpendManagementPerTabPage-DG8qRSeQ-DkldK9oK.js} +12 -12
- package/dist/assets/{SpendManagementSection-BPJDk9AQ-DNTgKL_h.js → SpendManagementSection-CzGLKJ01-CMEY5Je9.js} +5 -5
- package/dist/assets/{SpendMgmtSetupAccountSection-BVOwbOVv-BbEelpUf.js → SpendMgmtSetupAccountSection-BSuY_zqo-DgJtGLqh.js} +6 -6
- package/dist/assets/StatementItem-teWYG-k5-DINRmcX_.js +31 -0
- package/dist/assets/{StatementsPage-BzG0fWr9-B7zKsVpb.js → StatementsPage-Kqug4TjC-i8j_G7aT.js} +6 -6
- package/dist/assets/{StatusSwitcher-aZiGS6I4-CW57CAir.js → StatusSwitcher-BXzanE6h-DMj6aTv0.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BPzCR9_G-CKWRfEmM.js → SubTabSwitcher-Dc78MPYF-BBOjByHP.js} +1 -1
- package/dist/assets/{SummaryCard-DE3DiW4z-DCcTNI78.js → SummaryCard-DDpG4vry-B5U4mOGE.js} +1 -1
- package/dist/assets/{TaskManagementPage-bmYzZzlx-BQOYF4T3.js → TaskManagementPage-DQXNMGNK-CKRAR0zh.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-D10b_iT0-B6MHaMu9.js → TimeRangeSwitcher-BQL2dhVh-BEcsPUsE.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-w4308CL0-B-m8rZcD.js → TimeframeSwitcher-CXvrXTdI-C26WdHZR.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DP7dCTZ--Dr3OM9sZ.js → TimeframeSwitcherWithToggle-C_hQ5Vj--Bx-1-ivl.js} +1 -1
- package/dist/assets/{TopExCard-C9Dwe5gi-HuLCC_VB.js → TopExCard-CmajFYfY-r8AKz4at.js} +6 -6
- package/dist/assets/{TopExDetailPage-Ch4gEAFc-CW6a2lM7.js → TopExDetailPage-DNfBQfSC-C7SERVmo.js} +14 -14
- package/dist/assets/TransactionDetailPage-DZPHVxna-gW9ty_N8.js +912 -0
- package/dist/assets/{TransactionList-Dy4LSOLF-DLQzM8h7.js → TransactionList-DifBTNrV-XDxlPwJi.js} +5 -5
- package/dist/assets/{TransactionListBig-BOmqcsRt-CoBJs1L1.js → TransactionListBig-Bjmt3Xib-2_W_aEC_.js} +13 -13
- package/dist/assets/{TransactionListPage-D1XobIP_-CQ1XF-sO.js → TransactionListPage-CpFiD4Aw-CR2PsPHW.js} +4 -4
- package/dist/assets/TransactionVendorDetailPage-BSZ4IBis-BYhm_gdm.js +80 -0
- package/dist/assets/{TransferDrawerPage-DEK-tLwC-CMAkImaq.js → TransferDrawerPage-CiGIqLHQ-D46lOtpY.js} +19 -19
- package/dist/assets/{TreasuryOverviewPage-Bv8YOcOu-DgYbKZRI.js → TreasuryOverviewPage-C21g82G6-DYbFAWwM.js} +45 -45
- package/dist/assets/{TreasuryPromoPage-BpJ4G2tW-wrKqn45d.js → TreasuryPromoPage-lNMQil_1-N_uS5Aq-.js} +21 -21
- package/dist/assets/{TreasurySetupPage-DmXhUnJ2-CTKxmbjB.js → TreasurySetupPage-CHjK0p7r-CRu0aFPY.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-iOhX7bQX-C-86zNAp.js → TreasuryStatementsPage-CKAdFoHY-CmvodGfK.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-SKYFef4J-CxXJUgOP.js → TreasuryTaxLetterPage-DPdcmb53-THnCfe4J.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-BAQy6UbF-5smN8wwG.js → TreasuryTransferOrReviewPage-DmGpNvWn-BuegZV7_.js} +42 -42
- package/dist/assets/{TrendChart-DrNmAOxp-D32D_fQx.js → TrendChart-BJF_aBUS-9NcnnooQ.js} +4 -4
- package/dist/assets/{TrendWithTransactions-CFapbjqF-Tluomzgb.js → TrendWithTransactions-DXSMdecG-qeajZlKV.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-BjyEIyD--q-mXglLO.js → UncategorizedAccountsMappingPage-DMiXdRb9-CRgBjITM.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-CMRuNXKH-W-172t0m.js → UnitIntegrationPage-Dqakwr1P-QWF0IWfi.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-BJNFsBN7-CW3s6tmn.js → UploadAdditionalDocumentOverlay-DOy8Wvxm-COI977Ym.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-Dk_XUHkP-BfvRXa0R.js → Vendor2FAPopup-DR_Uif4s-CCjiwhTD.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DS1-IldK-BBUTN6DM.js → VendorACHDetailsPage-_nmRyuvM-BAqZ8tTf.js} +1 -1
- package/dist/assets/{VendorDetailPage-CzECD1Tt-BxCeFQBa.js → VendorDetailPage-DYhBGXTe-B5kyd9_T.js} +8 -8
- package/dist/assets/{VendorDomesticWireDetailsPage-Bd-dOP2Q-B1c_niFG.js → VendorDomesticWireDetailsPage-OzrrojiZ-CWHL3BiA.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C7D_fWCV-ar_0EIM_.js → VendorFiling1099EditablePage-C6i7dipR-DmIuqd6b.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-B4YffYJO-BW-F4-km.js → VendorFirstReviewPage-DrelrPYn-CtZKswhg.js} +10 -10
- package/dist/assets/{VendorInternationalWireDetailsPage-D1i4RwUe-BBAccWWe.js → VendorInternationalWireDetailsPage-BglZ4_v2-DWh5FNhJ.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-QqA8DADQ-CetqwMx2.js → VendorInternationalWireSwiftDetailsPage-MKHHcDL4-D4F7IynK.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C8qo0vKx-DOST9l3F.js → VendorsAccountsSection-COwLgrG_-BeiJbKgP.js} +2 -2
- package/dist/assets/{VerifyDevice-Cku9_tdW-BTj-mHAb.js → VerifyDevice-FO7331hS-BHG8lbd_.js} +1 -1
- package/dist/assets/{VideoPlayer-DqxblGWn-BXG0P4e3.js → VideoPlayer-C7GWTYSG-C3qJA87L.js} +1 -1
- package/dist/assets/{VideoPopup-8253nBrT-DoJHFZMN.js → VideoPopup-CB0BXhOA-BgnE8vln.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-B08Au4yQ-B9IzdYhz.js → WarningsDrawerPage-B081ksn8-BvnCWJxm.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-Dx-w2w6D-4cfDv73S.js → ZeniAccountDetailPage-Bbx7ge3Z-BwrSFwiV.js} +16 -16
- package/dist/assets/{ZeniAccountListViewPage-DH4BnQ7k-CHjigIuG.js → ZeniAccountListViewPage-CgOxwjk1-Cy-Kh2JX.js} +13 -13
- package/dist/assets/ZeniAccountNavBarPieces-BkN8_5Zi-BtKjHrnJ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D4J2Yoil-BDHpq4Eb.js → ZeniAccountPromoPage-DrMHkTuM-DZxJwu1v.js} +9 -9
- package/dist/assets/{ZeniAccountSetupPage-DTkO1ASr-1XYqtTaw.js → ZeniAccountSetupPage-BCpKadR1-BZqzR_uG.js} +3 -3
- package/dist/assets/{ZeniCopyright-BiSq0yhI-CQbT1WRc.js → ZeniCopyright-juRAWlbw-DJRbuiIq.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-BtI1L6UN-f_1E8Iwf.js +63 -0
- package/dist/assets/{analyticsHelper-lnjVamrT.js → analyticsHelper-Bgft_1pJ.js} +1 -1
- package/dist/assets/{analyticsHelper-Dc3DtVTm-Y5fPzPLq.js → analyticsHelper-DQQo4LQc-Dpi2pZTl.js} +1 -1
- package/dist/assets/{chartTypes-C7uaeRCc-CtqAquQd.js → chartTypes-eqxFaFS5-B43Gm107.js} +1 -1
- package/dist/assets/{commonDimensions-MaxjMSVa-n5Ul9FT7.js → commonDimensions-C2hbzHZW-OFUCUhbG.js} +1 -1
- package/dist/assets/{detailCommon-OK9JA2hc-EAouVA2X.js → detailCommon-fC811KkH-D6H3c8Ux.js} +6 -6
- package/dist/assets/{downloadPdf-QtapKpnq-D53WP2BZ.js → downloadPdf-CgcD1OYw-ZvBiL7F-.js} +1 -1
- package/dist/assets/{index-4y_mNX1u.js → index-Du1ejFtI.js} +3415 -3415
- package/dist/assets/{mapLoadingInProgressToTreeNode-pvoDlh5w-BH0I_ZXQ.js → mapLoadingInProgressToTreeNode-CM7N02af-DstULqSu.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CVUpGQKE-B2Y7wF15.js → mapSectionWithAcOnlyToTreeNode-MzhgtFpc-aX7osQA1.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-P_HzYMUQ-T8bNyKbZ.js → mapSpacerToTreeNode-C7hklF---Dg7CM6wp.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CB6RE8w9-CAzsziRN.js → mapTimeframeBalancesToTreeNode-CEJ9v-Q3-B6zmleAa.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B8xJouuF-0J2xTAj5.js → mapTimeframeBalancesToTreeNode-D36HLTqR-CiOqATy_.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BAAatv-Y-C-hpmEKv.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BhdfWhpd-Diyt9jMU.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-JkvOa9nR-BuY_FDkW.js → toCOABalancesWithID-DCFbumLL-BUL3FzIP.js} +1 -1
- package/dist/assets/{toChartData-CEfu5Lvp-ztIWW0aM.js → toChartData-Dh9v_zba-IkjT0Y7p.js} +1 -1
- package/dist/assets/{treasuryColorHelper-Bvcahv9r-CJj1lXeK.js → treasuryColorHelper-ZXa62meg-C9-TrKv9.js} +1 -1
- package/dist/assets/{uploadAttachment-DNrYcaTL-7XpOhOp_.js → uploadAttachment-DOhn3y-C-AUYll2HA.js} +14 -14
- package/dist/assets/{uploadReceipts-dxsKhm9I-Dv2hG-YC.js → uploadReceipts-dxsKhm9I-Cdyoe2Us.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ArAgingChart-D6396NAQ-B7eZ8sbL.js +0 -24
- package/dist/assets/BillPayApprovalRuleDetailPage-Bn_93mxC-PbuiMjZ5.js +0 -27
- package/dist/assets/CardNumberSubText-usoiubBx-JT9ehyHX.js +0 -21
- package/dist/assets/ChargeCardUtils-i4In9Us5-BeJKYV4x.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DkXWw44M-DCp1xd8r.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BTMDl7KO-CkFA5sso.js +0 -66
- package/dist/assets/ExpenseAutomationPage-CaeVli6J-DwDyMFlL.js +0 -1650
- package/dist/assets/InvitePeoplePage-ChM26gAd-3PSfXhTf.js +0 -12
- package/dist/assets/LabeledAddressValueField-C-fJPbDr-BL1p3tu1.js +0 -45
- package/dist/assets/NotificationsListConfig-BcRqz3T--CwofCBLm.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DWAgRWah-DAeIJHt1.js +0 -26
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D_IG6Yzl-B2GWCVK0.js +0 -1
- package/dist/assets/SetUpAccountSection-C9PPpmcc-puvAr14h.js +0 -378
- package/dist/assets/StatementItem-DPiBruWm-BTp46EGg.js +0 -31
- package/dist/assets/TransactionDetailPage-y3Jwxln6-CGGNkWbu.js +0 -912
- package/dist/assets/TransactionVendorDetailPage-DNbFFCAy-DiSmfMU1.js +0 -80
- package/dist/assets/ZeniAccountNavBarPieces-ce5jAGIl-DVfSolpZ.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-B-iWjIM--_5mAEjc_.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a2 as A,a as
|
|
1
|
+
import{a2 as A,a as B,B as P,j as r,bo as K,b as d,l as q,F as U,bp as W,w as f,bq as X,o,K as D,br as Z,t as L,bs as G,bt as C,b6 as J,g as y,ap as b,bu as Q}from"./index-Du1ejFtI.js";import{b as c,n as t}from"./vendor-rkTZJa59.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-4JAQCp4H-oFdcTD1v.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./handshake-BPg58FML-CVKh3Eii.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=i.countryCallingCode,x=i.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,O=2,re="456px",te="256px",V=6,n=P.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,w]=c.useState(F),[h,E]=c.useState(I),S=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},R=()=>{j.trim().length===V&&e.onVerifyOtp(j)},M=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{S==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(s=>s+1),u.setValue(m,""))},[S,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{E(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[h]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(K,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>O,children:r.jsx(Y,{unlockDate:q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=O,children:r.jsx(U,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(W,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(Ee,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(X,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(m,s),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(N,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(N,{children:r.jsx(ye,{children:n.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:n.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),w(F),E(I))},children:n.resend}),h>0&&r.jsxs(he,{children:[P.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:R,style:{width:82},loading:i,disabled:j.trim().length!==V||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},oe=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-width: ${te};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as B,j as o,
|
|
1
|
+
import{e as B,j as o,e$ as F,o as c}from"./index-Du1ejFtI.js";import{b as e,n as f,k as S}from"./vendor-rkTZJa59.js";const k=t=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function O({src:t,config:a,controls:p=!0,height:m="100%",loop:E=!1,muted:d=!1,showPlayButton:n=!1,style:u,thumbnail:C,width:h="100%",onEnded:_,onPlay:s}){const g=B(),[r,l]=e.useState(!1),i={};a?.youtube&&(i.youtube=a.youtube);const x=()=>{l(!0),s?.()},y=()=>{l(!1),_?.()},w=()=>{l(!0),s?.()};return o.jsxs(o.Fragment,{children:[o.jsx(F,{src:t,playing:r,controls:r?p:!1,muted:d,loop:E,width:h,height:m,style:u,light:n&&!r?C??!0:!1,onEnded:y,onPlay:w,config:i}),n&&!r&&o.jsx(b,{onClick:x,children:o.jsx(v,{windowSize:g})})]})}const A=S`
|
|
2
2
|
0% {
|
|
3
3
|
transform: rotate(0deg);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as
|
|
1
|
+
import{e as s,j as i,p as l,$ as a,g as c,o as n,C as r}from"./index-Du1ejFtI.js";import{n as t}from"./vendor-rkTZJa59.js";import{z as h}from"./VideoPlayer-C7GWTYSG-C3qJA87L.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -9,7 +9,7 @@ import{e as d,j as i,q as l,_ as a,f as c,o as n,C as r}from"./index-4y_mNX1u.js
|
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
align-items: center;
|
|
11
11
|
background: ${c.blackColor}CC;
|
|
12
|
-
`,
|
|
12
|
+
`,w=t.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
justify-content: space-between;
|
|
@@ -20,12 +20,12 @@ import{e as d,j as i,q as l,_ as a,f as c,o as n,C as r}from"./index-4y_mNX1u.js
|
|
|
20
20
|
border-radius: ${n.sp2};
|
|
21
21
|
position: relative;
|
|
22
22
|
top: 5%;
|
|
23
|
-
width: ${e=>
|
|
24
|
-
height: ${e=>
|
|
23
|
+
width: ${e=>d.width.valuePx(e.windowSize)};
|
|
24
|
+
height: ${e=>d.height.valuePx(e.windowSize)};
|
|
25
25
|
padding: ${n.sp3};
|
|
26
26
|
background: ${e=>e.theme.colors.grey3};
|
|
27
27
|
`,x=t.div`
|
|
28
28
|
position: relative;
|
|
29
29
|
width: 100%;
|
|
30
30
|
height: 100%;
|
|
31
|
-
`;function
|
|
31
|
+
`;function f(e){const o=s();return i.jsx(p,{windowSize:o,role:"presentation",children:i.jsx(l,{onClickAway:()=>e.onCancelClick(),children:i.jsx(w,{windowSize:o,"data-testid":a("video-popup"),children:i.jsx(x,{children:i.jsx(h,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{f as C};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{e as C,l as B,
|
|
2
|
-
${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(
|
|
1
|
+
import{e as C,l as B,B as D,j as s,eR as j,eV as S,K as M,v as E,o as n,C as $,J as L,y as P,a3 as z,c7 as N,g as h,T,az as A,eF as R,q as g}from"./index-Du1ejFtI.js";import{n as t}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const e=D.getLocalizedStrings(),w={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)},F={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}=V(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}=q(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}=G(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(K,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(U,{windowSize:l,children:[s.jsx(W,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{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(X,{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}},V=(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}},q=(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}},G=(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}},K=t.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
padding-top: ${n.sp3};
|
|
6
|
-
`,
|
|
6
|
+
`,Q=t.div`
|
|
7
7
|
min-height: ${r=>w.navBarHeight.valuePx(r.windowSize)};
|
|
8
8
|
position: sticky;
|
|
9
9
|
background-color: ${r=>r.theme.colors.grey4};
|
|
@@ -17,11 +17,11 @@ import{e as C,l as B,M as S,j as s,eS as j,eW as D,K as M,v as E,o as n,C as $,J
|
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
margin: ${n.sp3} ${n.sp8} 102px ${n.sp8};
|
|
20
|
-
`,
|
|
20
|
+
`,_=t(N)`
|
|
21
21
|
color: ${r=>r.theme.colors.primary};
|
|
22
22
|
margin-bottom: ${n.sp3};
|
|
23
23
|
margin-right: ${n.sp6};
|
|
24
|
-
`,
|
|
24
|
+
`,U=t.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: row;
|
|
27
27
|
align-items: center;
|
|
@@ -34,8 +34,8 @@ import{e as C,l as B,M as S,j as s,eS as j,eW as D,K as M,v as E,o as n,C as $,J
|
|
|
34
34
|
padding-top: ${r=>w.navBarPaddingTop.valuePx(r.windowSize)};
|
|
35
35
|
padding-bottom: ${r=>w.navBarPaddingBottom.valuePx(r.windowSize)};
|
|
36
36
|
height: 100%;
|
|
37
|
-
`,
|
|
38
|
-
${r=>`${
|
|
37
|
+
`,W=t(P)`
|
|
38
|
+
${r=>`${F.title.style(r.windowSize)}`};
|
|
39
39
|
display: flex;
|
|
40
40
|
flex: 1 1 auto;
|
|
41
41
|
color: ${r=>r.theme.colors.primary};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,
|
|
1
|
+
import{a as Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,B as Z,a0 as B,bp as L,o,aX as Le,v as D,bV as R,bX as Y,bY as F,F as Ne,cH as He,g as y,cv as Me,$ as C,m as ue,w,b6 as Ee,bg as Ie,a6 as Ue,C as j,fi as We,cV as ae,q as p,gX as Oe,at as Re,b8 as Ye,aw as Fe,av as Ve,b9 as Ge,au as Je,t as q,gY as Xe,am as Ke,af as Ze,gZ as qe,T as _e,g_ as Qe,az as et,fk as tt,cC as ot,n as at,J as it,bO as nt}from"./index-Du1ejFtI.js";import{b as l,n as a}from"./vendor-rkTZJa59.js";import{$ as rt}from"./BoxItem-BnivUbj--D0CHtSbc.js";import{w as lt}from"./downloadPdf-CgcD1OYw-ZvBiL7F-.js";import{H as ct}from"./DepositAccTransactionItem-DnzXR7B4-BzeCDAAx.js";import{T as st}from"./ZeniAccountNavBarPieces-BkN8_5Zi-BtKjHrnJ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./commonDimensions-C2hbzHZW-OFUCUhbG.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 Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,M as Z,a0 as B,bp a
|
|
|
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",V="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:H,spendManagement:ht}=Z.getLocalizedStrings(),{zeniAccounts:i}=ht,G=Z.getLocalizedStrings().dateFormat,mt=Z.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=l.memo(({accountHistory:e})=>{const h=M(),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(G.visual.DMMMYYYYFormat)),t.jsxs(Vt,{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(G.visual.MMMformat):P.zeniDate(v).format(G.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]),C=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]),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:H.texts.noData})}):t.jsx(It,{children:t.jsx(Oe,{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(Ht,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Mt,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(Ye,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Fe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:r=>g(r),padding:{right:p[4]},interval:f}),t.jsx(Ve,{tick:!1,axisLine:!1}),t.jsx(Ge,{position:m,content:({payload:r})=>x(r),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(Je,{activeDot:C,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:C})=>{const f=M(),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":k("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(Yt,{"data-testid":k("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(_t,{children:i.zeniAccountDetail.transactions}),C?t.jsxs(qt,{onClick:g,"data-testid":k("view-all-account-transactions"),children:[t.jsx(eo,{children:i.zeniAccountDetail.viewAll}),t.jsx(Qt,{})]}):null]}),t.jsx(Ct,{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:C,onCloseAccountClick:f,onEditNameClick:r,onReloadZeniAccountDetailPage:d})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[z,S]=l.useState(!1),[E,I]=l.useState(!1),[q,xe]=l.useState(!1),Q=M(),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(()=>{q===!0&&setTimeout(()=>{xe(!1)},800)},[q]);const ge=n.transactionList.length>4,U=pe(),[fe,ye]=l.useState(!1),[$e,W]=l.useState(!1),O=n.accountUpdateStatus.editName.fetchState,oe=Be(O),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?W(!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"&&O==="Completed"&&(I(!1),c.reset())},[oe,O,c]),l.useEffect(()=>{E&&v(V)},[E,v]);const Ce={pageName:"detailPage",onOptionSelection:je},ke=n.accountDetail?.accountName??"",A=n.accountSummary,ve=c.handleSubmit(s=>{r?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),W(!1)},onCancelClick:()=>{W(!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(K,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(X,{children:B("0,0[.]00",A?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(K,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(X,{children:B("0,0[.]00",A?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(K,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(X,{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:Q==="small"?"bottom":"top",title:T,children:t.jsx(lo,{})})})},[A,Q]),Ae=t.jsx(st,{zeniBankProps:Ce,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:ke,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:C,showMenuIcon:!1,backgroundColor:U.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),z?t.jsx(R,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(Y,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${H.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(R,{titleComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(Y,{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(F,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(Y,{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(He,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,V)===!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":k("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=M(),[m,$]=l.useState(!1),[,b]=We(),[x,g]=l.useState(!1),C=()=>{b(e.accountDetail?.accountNumber??""),g(!0)};return l.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(kt,{children:[t.jsxs(vt,{children:[t.jsx(Ft,{children:t.jsxs(le,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(Zt,{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(Xt,{"data-testid":k("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"right",title:x?H.copyToClipBoard.copied:H.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(oo,{}):t.jsx(to,{onClick:C,"data-testid":k("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(Kt,{"data-testid":k("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(Wt,{}),t.jsx(Ot,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},gt=a.div`
|
|
11
|
+
`,ie="editNickName-form",V="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:H,spendManagement:ht}=Z.getLocalizedStrings(),{zeniAccounts:i}=ht,G=Z.getLocalizedStrings().dateFormat,mt=Z.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=l.memo(({accountHistory:e})=>{const h=M(),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(G.visual.DMMMYYYYFormat)),t.jsxs(Vt,{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(G.visual.MMMformat):P.zeniDate(v).format(G.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(Gt,{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:H.texts.noData})}):t.jsx(It,{children:t.jsx(Oe,{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(Ht,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Mt,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(Ye,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Fe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:r=>g(r),padding:{right:p[4]},interval:f}),t.jsx(Ve,{tick:!1,axisLine:!1}),t.jsx(Ge,{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=M(),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(Yt,{"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(Qt,{})]}):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),Q=M(),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,W]=l.useState(!1),O=n.accountUpdateStatus.editName.fetchState,oe=Be(O),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?W(!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"&&O==="Completed"&&(I(!1),c.reset())},[oe,O,c]),l.useEffect(()=>{E&&v(V)},[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"),W(!1)},onCancelClick:()=>{W(!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:Q==="small"?"bottom":"top",title:T,children:t.jsx(lo,{})})})},[A,Q]),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(F,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(Y,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${H.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(R,{titleComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(Y,{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(F,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(Y,{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(He,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,V)===!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=M(),[m,$]=l.useState(!1),[,b]=We(),[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(Ft,{children:t.jsxs(le,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(Zt,{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?H.copyToClipBoard.copied:H.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(Wt,{}),t.jsx(Ot,{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
|
-
`,ft=a(
|
|
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
|
-
`,yt=a(
|
|
21
|
+
`,yt=a(q)`
|
|
22
22
|
color: ${e=>e.theme.colors.hero};
|
|
23
23
|
text-align: center;
|
|
24
24
|
`,$t=a.div`
|
|
@@ -48,10 +48,10 @@ import{a as Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,M as Z,a0 as B,bp a
|
|
|
48
48
|
padding-left: ${e=>u.accountDetailHeaderPaddingLeft.valuePx(e.windowSize)};
|
|
49
49
|
justify-content: space-between;
|
|
50
50
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
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;
|
|
@@ -190,19 +190,19 @@ import{a as Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,M as Z,a0 as B,bp a
|
|
|
190
190
|
gap: ${o.sp1};
|
|
191
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;
|
|
197
197
|
align-items: center;
|
|
198
|
-
`,
|
|
198
|
+
`,Xt=a(ot)`
|
|
199
199
|
height: ${o.sp3};
|
|
200
200
|
width: ${o.sp3};
|
|
201
201
|
margin-left: ${o.sp2};
|
|
202
202
|
margin-right: ${o.sp2};
|
|
203
203
|
cursor: pointer;
|
|
204
204
|
color: ${e=>e.theme.colors.hero};
|
|
205
|
-
`,
|
|
205
|
+
`,Kt=a(Qe)`
|
|
206
206
|
height: ${o.sp3};
|
|
207
207
|
width: ${o.sp3};
|
|
208
208
|
margin-left: ${o.sp2};
|
|
@@ -212,13 +212,13 @@ import{a as Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,M as Z,a0 as B,bp a
|
|
|
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
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;
|
|
@@ -235,7 +235,7 @@ import{a as Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,M as Z,a0 as B,bp a
|
|
|
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`
|
|
@@ -262,7 +262,7 @@ import{a as Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,M as Z,a0 as B,bp a
|
|
|
262
262
|
width: ${o.sp4};
|
|
263
263
|
min-width: ${o.sp4};
|
|
264
264
|
height: ${o.sp4};
|
|
265
|
-
`,io=a(
|
|
265
|
+
`,io=a(Xe)`
|
|
266
266
|
width: ${o.sp4};
|
|
267
267
|
min-width: ${o.sp4};
|
|
268
268
|
height: ${o.sp4};
|
|
@@ -278,9 +278,9 @@ import{a as Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,M as Z,a0 as B,bp a
|
|
|
278
278
|
margin-top: ${o.sp2};
|
|
279
279
|
display: flex;
|
|
280
280
|
justify-content: space-between;
|
|
281
|
-
`,K=a.div`
|
|
282
|
-
color: ${e=>e.theme.colors.hero};
|
|
283
281
|
`,X=a.div`
|
|
282
|
+
color: ${e=>e.theme.colors.hero};
|
|
283
|
+
`,K=a.div`
|
|
284
284
|
color: ${y.primaryDark};
|
|
285
285
|
`,lo=a(Ee)`
|
|
286
286
|
width: ${o.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as K,a as Ie,a2 as _e,u as De,ab as Ee,
|
|
1
|
+
import{e as K,a as Ie,a2 as _e,u as De,ab as Ee,B as Q,a1 as Fe,j as t,bV as W,g as o,F as Ge,o as n,cH as Ne,cv as Ue,bX as ne,bY as ie,gU as Re,a0 as G,bp as fe,aX as Oe,v as C,r as We,t as Ye,T as Ve,bv as qe,b6 as ye,w as b,Y as Ze,l as He,bJ as Je,cV as F,$ as N,C as j,n as X,fd as Ke,J as Qe,y as Xe,k as et,cx as tt,bO as nt,fE as it,q as u,dM as ot,fm as rt,gV as st,K as at,ff as ct,bg as lt,a6 as dt}from"./index-Du1ejFtI.js";import{b as g,n as i}from"./vendor-rkTZJa59.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import{T as mt}from"./ZeniAccountNavBarPieces-BkN8_5Zi-BtKjHrnJ.js";import{v as ht}from"./ZeniTransferAmountSlider-BtI1L6UN-f_1E8Iwf.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const gt=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}}}=Q.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:v})=>{const s=K(),S=(c,T)=>Object.entries(T).reduce((M,[A,$])=>M.replace(new RegExp(`__${A}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),L=[{icon:t.jsx(zt,{}),title:S(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:S(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(vt,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(St,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:v,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:L.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(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,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($e,{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(At,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:L.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($e,{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:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},$t=i.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -177,7 +177,7 @@ import{e as K,a as Ie,a2 as _e,u as De,ab as Ee,M as Q,a1 as Fe,j as t,bV as W,f
|
|
|
177
177
|
width: ${n.sp3};
|
|
178
178
|
height: ${n.sp3};
|
|
179
179
|
color: ${o.brandColorGoldDark};
|
|
180
|
-
`,Lt=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])},Pt={bankAccountName:new Qe("standardRegular","largeMedium")},d=Q.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Bt=({fetchState:e,onReloadTransactions:a})=>e==="Error"?t.jsxs(cn,{children:[t.jsx(ln,{onClick:a,"data-testid":N("zeni-account-list-reload"),children:t.jsx(dn,{})}),t.jsx(pn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(it,{fetchState:e,styles:{margin:"auto"}}),Tt=({zeniAccountListView:e,zeniAccountsConfigDetail:a,maxInsuredAmountString:w,analytics:v,onZeniAccountRowClick:s,onReloadTransactions:S,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:L,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:M,fetchState:A,summary:$}=e,p=K(),I=
|
|
180
|
+
`,Lt=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])},Pt={bankAccountName:new Qe("standardRegular","largeMedium")},d=Q.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Bt=({fetchState:e,onReloadTransactions:a})=>e==="Error"?t.jsxs(cn,{children:[t.jsx(ln,{onClick:a,"data-testid":N("zeni-account-list-reload"),children:t.jsx(dn,{})}),t.jsx(pn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(it,{fetchState:e,styles:{margin:"auto"}}),Tt=({zeniAccountListView:e,zeniAccountsConfigDetail:a,maxInsuredAmountString:w,analytics:v,onZeniAccountRowClick:s,onReloadTransactions:S,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:L,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:M,fetchState:A,summary:$}=e,p=K(),I=Ze(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||He.hasAnyFinOpRole(I.loggedInUserRoleMap),_=r=>{v.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"}},z=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(q,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",w)});break;case"totalInterest":k=t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(q,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(xn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(H,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(J,{children:G("0,0[.]00",$?.totalBalance.current)})]}),t.jsxs(Z,{children:[t.jsx(H,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(J,{children:G("0,0[.]00",$?.totalBalance.hold)})]}),t.jsxs(Z,{children:[t.jsx(H,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(J,{children:G("0,0[.]00",$?.totalBalance.available)})]})]});break}return t.jsx(mn,{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(gn,{}):t.jsx(hn,{})})})},U=r=>t.jsx(Ut,{color:Ke(r)});return Je({componentName:"checking.list",enabled:A==="Completed"}),t.jsx(Mt,{children:A==="Completed"?t.jsxs(un,{windowSize:p,children:[t.jsxs(Et,{windowSize:p,children:[t.jsxs(Rt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),z("totalBalance")]}),t.jsx(F,{amount:$?.totalBalance.available})]}),t.jsxs(It,{windowSize:p,children:[t.jsxs(Zt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),z("insuredBalance")]}),t.jsx(F,{amount:$?.insuredBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(Vt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",w)})]}),t.jsxs(Ht,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),z("totalInterest")]}),t.jsx(F,{amount:$?.totalInterest.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsxs(Wt,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Yt,{children:a.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx($n,{windowSize:p,children:t.jsx(xt,{yieldPercentage:L,insuredAmount:c,onGetStartedClick:()=>{v.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Nt,{windowSize:p,children:[M.depositAccounts.map((r,k)=>t.jsxs(Jt,{isClickEnabled:!0,windowSize:p,onClick:()=>s?.(r.id,r.accountName),"data-testid":N("deposit-account-clicked",r.id),children:[t.jsxs(qt,{children:[U(k),t.jsxs(Kt,{children:[t.jsx(Qt,{windowSize:p,children:r.accountName}),t.jsxs(Xt,{windowSize:p,children:[t.jsx(Ft,{children:t.jsx(en,{children:r.maskedAccountNumber})}),t.jsxs(Gt,{children:[p==="small"?null:t.jsx(tn,{}),t.jsx(nn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(on,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),y?null:t.jsx(_t,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":N("add-fund",r.id),children:t.jsx(Dt,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(rn,{onClick:P,"data-testid":N("add-new-internal-zeni-account"),children:[t.jsx(sn,{}),t.jsx(an,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Bt,{fetchState:A,onReloadTransactions:S})})},Mt=i.div`
|
|
181
181
|
display: block;
|
|
182
182
|
height: 100%;
|
|
183
183
|
`,It=i.div`
|
|
@@ -214,12 +214,12 @@ import{e as K,a as Ie,a2 as _e,u as De,ab as Ee,M as Q,a1 as Fe,j as t,bV as W,f
|
|
|
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
|
+
`,Ut=i(ct)`
|
|
218
218
|
min-width: ${n.sp7};
|
|
219
219
|
width: ${n.sp7};
|
|
220
220
|
height: ${n.sp7};
|
|
221
221
|
margin-right: 12px;
|
|
222
|
-
`,
|
|
222
|
+
`,Rt=i.div`
|
|
223
223
|
${e=>e.windowSize!=="small"?`
|
|
224
224
|
width: 50%;
|
|
225
225
|
`:null}
|
|
@@ -234,11 +234,11 @@ import{e as K,a as Ie,a2 as _e,u as De,ab as Ee,M as Q,a1 as Fe,j as t,bV as W,f
|
|
|
234
234
|
margin-left: 2px;
|
|
235
235
|
`,Vt=i(X)`
|
|
236
236
|
color: ${e=>e.theme.colors.hero};
|
|
237
|
-
`,
|
|
237
|
+
`,qt=i.div`
|
|
238
238
|
display: flex;
|
|
239
239
|
align-items: center;
|
|
240
240
|
width: calc(100% - 96px);
|
|
241
|
-
`,
|
|
241
|
+
`,Zt=i.div``,Ht=i.div``,Jt=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)};
|
|
@@ -369,11 +369,11 @@ import{e as K,a as Ie,a2 as _e,u as De,ab as Ee,M as Q,a1 as Fe,j as t,bV as W,f
|
|
|
369
369
|
`,gn=i(Lt)`
|
|
370
370
|
width: ${n.sp3};
|
|
371
371
|
height: ${n.sp3};
|
|
372
|
-
`,
|
|
372
|
+
`,q=i(b)`
|
|
373
373
|
padding: ${n.sp2} ${n.sp3};
|
|
374
374
|
color: ${e=>e.theme.colors.hero};
|
|
375
375
|
border-radius: ${n.sp1};
|
|
376
|
-
`,
|
|
376
|
+
`,Z=i(b)`
|
|
377
377
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
378
378
|
margin-top: ${n.sp2};
|
|
379
379
|
display: flex;
|
|
@@ -381,13 +381,13 @@ import{e as K,a as Ie,a2 as _e,u as De,ab as Ee,M as Q,a1 as Fe,j as t,bV as W,f
|
|
|
381
381
|
`,xn=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
|
`,H=i.div`
|
|
385
|
+
color: ${e=>e.theme.colors.hero};
|
|
386
|
+
`,J=i.div`
|
|
387
387
|
color: ${o.primaryDark};
|
|
388
388
|
`,$n=i.div`
|
|
389
389
|
margin-top: ${n.sp4};
|
|
390
|
-
`,{common:wn,spendManagement:{zeniAccounts:l}}=Q.getLocalizedStrings(),we="checkingAccountCreation-form",
|
|
390
|
+
`,{common:wn,spendManagement:{zeniAccounts:l}}=Q.getLocalizedStrings(),we="checkingAccountCreation-form",Rn=({zeniAccountListView:e,analytics:a,maxInsuredAmount:w,isBillPayEnabled:v,isExpressPayEnabled:s,onBackClick:S,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:L,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:M,showTreasuryPromo:A,treasuryYieldPercentage:$,treasuryInsuredAmount:p})=>{const I=K(),y=Ie({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const z=De(),[U,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,O)=>{P(h,O)},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(O=>O.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(w),w,wn.currency.currencySymbol).toUpperCase(),Me=t.jsx(mt,{onSettingsClick:B,isBillPayEnabled:v,isExpressPayEnabled:s,zeniBankProps:ve,analytics:a});return t.jsxs(fn,{children:[U?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:we,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:Se,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:we,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:Ue(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:z.colors.grey5,border:`1px solid ${z.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(kn,{children:[t.jsx(Re,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(bn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(ht,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:be}),t.jsxs(An,{children:[t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(zn,{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(Sn,{})})]}),t.jsxs(vn,{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(Oe,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:S,showMenuIcon:I==="medium-compact"||I==="small",backgroundColor:z.colors.grey4,style:{zIndex:3,...C.largeSemiBold.cssObject},rightSideComponent:Me,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(yn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Tt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{a.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:a,onReloadTransactions:L,maxInsuredAmountString:te,onTreasuryGetStartedClick:M,treasuryYieldPercentage:$,treasuryInsuredAmount:p,showTreasuryPromo:A})})]})},fn=i.div`
|
|
391
391
|
display: flex;
|
|
392
392
|
min-height: 100%;
|
|
393
393
|
flex-direction: column;
|
|
@@ -422,7 +422,7 @@ import{e as K,a as Ie,a2 as _e,u as De,ab as Ee,M as Q,a1 as Fe,j as t,bV as W,f
|
|
|
422
422
|
flex-direction: column;
|
|
423
423
|
align-items: center;
|
|
424
424
|
`,zn=i.span`
|
|
425
|
-
font-weight: ${
|
|
425
|
+
font-weight: ${qe.medium};
|
|
426
426
|
margin-left: ${n.sp1};
|
|
427
427
|
`,Cn=i(Ve)`
|
|
428
428
|
color: ${o.success};
|
|
@@ -438,4 +438,4 @@ import{e as K,a as Ie,a2 as _e,u as De,ab as Ee,M as Q,a1 as Fe,j as t,bV as W,f
|
|
|
438
438
|
&:hover {
|
|
439
439
|
color: ${e=>e.theme.colors.primary};
|
|
440
440
|
}
|
|
441
|
-
`;export{
|
|
441
|
+
`;export{Rn as default};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import{Y as $,fq as P,l as w,B,j as i,$ as O,gr as p,gW as u,o as s,gt as j}from"./index-Du1ejFtI.js";import{n as d}from"./vendor-rkTZJa59.js";const o=B.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},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},z=[y,g,v,M],A=[v,g,y,M],D=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:h,analytics:x,onSettingsClick:b})=>{const l=$(),a=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),k=w.hasBillPayAccess(l.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=f===!0?z:A,r=h===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return i.jsxs(_,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!a?i.jsx(E,{onClick:b,"data-testid":O("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:a?S:m,title:o.moveMoney.title}),a?null:i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>x?.trackAccountsListPageClicked("Move Money")})]})},E=d(j)`
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
min-width: ${s.sp4};
|
|
4
|
+
width: ${s.sp4};
|
|
5
|
+
height: ${s.sp4};
|
|
6
|
+
color: ${e=>e.theme.colors.hero};
|
|
7
|
+
&:hover {
|
|
8
|
+
color: ${e=>e.theme.colors.primary};
|
|
9
|
+
}
|
|
10
|
+
`,_=d.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
14
|
+
`;export{D as T};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as ce,e as v,a2 as ae,Y as xe,
|
|
1
|
+
import{u as ce,e as v,a2 as ae,Y as xe,fq as me,j as i,aX as pe,B as I,T as ue,o,c8 as he,r as q,K as L,$ as W,c as j,c7 as ge,ab as z,a1 as k,a6 as K,aU as we,C as x,g as A,c9 as je,a7 as $e,ap as ye,q as Y,J as $,y as C,n as T,M as Se}from"./index-Du1ejFtI.js";import{b as D,n}from"./vendor-rkTZJa59.js";import{x as fe}from"./MeetingCalenderPopup-BJgsd-6e-BVSiedfG.js";import{M as B}from"./usp-line-BBd1wKwW-u-VMxix8.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(Y[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,Y[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -19,7 +19,7 @@ import{u as ce,e as v,a2 as ae,Y as xe,fr as me,j as i,aX as pe,M as _,T as ue,o
|
|
|
19
19
|
margin: auto;
|
|
20
20
|
padding: ${o.sp5} ${o.sp0};
|
|
21
21
|
color: ${e=>e.theme.colors.primary};
|
|
22
|
-
`,
|
|
22
|
+
`,N=n.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"||e.windowSize==="medium-regular"?"column":"row"};
|
|
25
25
|
align-items: center;
|
|
@@ -34,7 +34,7 @@ import{u as ce,e as v,a2 as ae,Y as xe,fr as me,j as i,aX as pe,M as _,T as ue,o
|
|
|
34
34
|
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
35
35
|
align-items: center;
|
|
36
36
|
justify-content: center;
|
|
37
|
-
`,
|
|
37
|
+
`,V=n.div`
|
|
38
38
|
width: ${e=>e.windowSize==="small"?"auto":"330px"};
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
@@ -61,7 +61,7 @@ import{u as ce,e as v,a2 as ae,Y as xe,fr as me,j as i,aX as pe,M as _,T as ue,o
|
|
|
61
61
|
color: ${e=>e.theme.colors.champion};
|
|
62
62
|
`,S=n($e)`
|
|
63
63
|
color: ${e=>e.theme.colors.champion};
|
|
64
|
-
`,f=n(
|
|
64
|
+
`,f=n(K)`
|
|
65
65
|
color: ${e=>e.theme.colors.champion};
|
|
66
66
|
`,b=n(je)`
|
|
67
67
|
color: ${e=>e.theme.colors.champion};
|
|
@@ -75,7 +75,7 @@ import{u as ce,e as v,a2 as ae,Y as xe,fr as me,j as i,aX as pe,M as _,T as ue,o
|
|
|
75
75
|
color: ${A.graphColor11};
|
|
76
76
|
`,ee=n(B)`
|
|
77
77
|
color: ${A.success};
|
|
78
|
-
`,Be=n(
|
|
78
|
+
`,Be=n(K)`
|
|
79
79
|
margin: ${e=>e.windowSize==="small"?o.sp1:`auto ${o.sp5}`};
|
|
80
80
|
color: ${e=>e.theme.colors.grey1};
|
|
81
81
|
`,Re=n.div`
|
|
@@ -91,12 +91,12 @@ import{u as ce,e as v,a2 as ae,Y as xe,fr as me,j as i,aX as pe,M as _,T as ue,o
|
|
|
91
91
|
margin: ${o.sp3} auto ${o.sp0} auto;
|
|
92
92
|
max-width: 731px;
|
|
93
93
|
color: ${e=>e.theme.colors.hero};
|
|
94
|
-
`,
|
|
94
|
+
`,Ie=n.div`
|
|
95
95
|
display: flex;
|
|
96
96
|
flex-direction: column;
|
|
97
97
|
width: 100%;
|
|
98
98
|
max-width: ${e=>h.iconInnerRowMaxWidth.valuePx(e.windowSize)};
|
|
99
|
-
`,
|
|
99
|
+
`,_e=n.div`
|
|
100
100
|
display: flex;
|
|
101
101
|
justify-content: flex-end;
|
|
102
102
|
`,Ue=n.div`
|
|
@@ -162,7 +162,7 @@ import{u as ce,e as v,a2 as ae,Y as xe,fr as me,j as i,aX as pe,M as _,T as ue,o
|
|
|
162
162
|
`,Fe=n(T)`
|
|
163
163
|
color: ${e=>e.theme.colors.brandColorRuby};
|
|
164
164
|
padding-right: 12px;
|
|
165
|
-
`,Ge=n(
|
|
165
|
+
`,Ge=n(q)`
|
|
166
166
|
color: ${e=>e.theme.colors.grey5};
|
|
167
167
|
padding-right: 12px;
|
|
168
168
|
padding-top: 20px;
|
|
@@ -181,4 +181,4 @@ import{u as ce,e as v,a2 as ae,Y as xe,fr as me,j as i,aX as pe,M as _,T as ue,o
|
|
|
181
181
|
height: ${e=>h.styledLogoHeight.valuePx(e.windowSize)};
|
|
182
182
|
color: ${e=>e.theme.colors.primary};
|
|
183
183
|
cursor: pointer;
|
|
184
|
-
`,r=
|
|
184
|
+
`,r=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountsPromo,w=I.getLocalizedStrings().common,d=I.getLocalizedStrings().commonSetUp.businessVerification.terms,ie=({maxInsuredAmountString:e})=>{const s=v();return i.jsxs(Te,{windowSize:s,children:[i.jsxs(Ie,{windowSize:s,children:[i.jsx(_e,{children:i.jsxs(Ue,{windowSize:s,children:[i.jsxs(G,{children:[i.jsx(Z,{windowSize:s,children:r.iconTexts.title}),i.jsxs(E,{windowSize:s,isBankRect:!0,children:[i.jsxs(J,{children:[i.jsx(De,{windowSize:s,children:r.iconTexts.unInsuredAmount}),i.jsx(Fe,{children:r.iconTexts.unInsured})]}),i.jsxs(Le,{children:[i.jsx(We,{windowSize:s,children:r.iconTexts.insuredAmount}),i.jsx(Ye,{children:r.iconTexts.insured})]})]})]}),i.jsxs(G,{children:[i.jsx(Z,{windowSize:s,children:i.jsx(Ze,{windowSize:s})}),i.jsx(E,{windowSize:s,isBankRect:!1,children:i.jsxs(J,{children:[i.jsx(Ge,{children:e}),i.jsx(Ee,{children:r.iconTexts.fdicCovered})]})})]})]})}),i.jsx(Me,{children:r.iconTexts.footNote})]}),i.jsx(He,{windowSize:s,children:r.iconTexts.yAxisAmounts.map((l,t)=>i.jsx(Je,{windowSize:s,children:l},t))})]})},qe=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let a=g;return s>l&&(a=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(N,{windowSize:t,children:[i.jsx(ie,{maxInsuredAmountString:a}),i.jsxs(V,{windowSize:t,children:[i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(f,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(O,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(f,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.noHiddenFee.bold}),i.jsx(f,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.expertSupport.bold}),i.jsx(f,{children:r.expertSupport.regular})]})]})]})]})},Ke=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let a=g;return s>l&&(a=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(N,{windowSize:t,children:[i.jsxs(V,{windowSize:t,children:[i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(y,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(O,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(y,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.noHiddenFee.bold}),i.jsx(y,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.expertSupport.bold}),i.jsx(y,{children:r.expertSupport.regular})]})]})]}),i.jsx(ie,{maxInsuredAmountString:a})]})},ti=({meetingUrl:e,maxAnnualPercentageYield:s,maxInsuredAmount:l,analytics:t,zeniAccountSetupView:g,exampleBankBalance:a,onSetupButtonClick:ne,onBackClick:oe,onClickMenuIcon:re,onSetupZeniAccountSuccess:_})=>{const se=ce(),c=v(),{zeniAccountTermsDetails:P}=g,U=ae(P?.fetchStatus.fetchState),[te,H]=D.useState(!1),le=()=>{t.trackAccountsPromoPageClicked("Schedule Demo"),H(!0)};D.useEffect(()=>{U==="In-Progress"&&P?.fetchStatus.fetchState==="Completed"&&_?.()},[U,_,P?.fetchStatus]);const M=xe(),de=M.loggedInUserRoleMap.deposit_accounts_user===!0||me(M);return i.jsxs(be,{children:[i.jsx(pe,{title:r.title,backgroundColor:se.colors.grey5,onBackClick:oe,showBackButton:!0,showMenuIcon:c==="small"||c==="medium-compact",onClickMenuIcon:re,source:"ZeniAccountPromoPage"}),te===!0?i.jsx(fe,{onCancelClick:()=>{H(!1)},meetingUrl:e}):null,i.jsxs(ze,{windowSize:c,children:[c==="small"?i.jsxs(ve,{children:[r.promoText1,w.strings.colon,i.jsx(ue,{style:{marginTop:o.sp2},children:r.promoText2})]}):i.jsxs(ke,{children:[i.jsxs(he,{children:[r.promoText1,w.strings.colon]}),i.jsx(q,{style:{marginTop:o.sp2},children:r.promoText2})]}),c==="small"||c==="medium-compact"||c==="medium-regular"?i.jsx(qe,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:a}):i.jsx(Ke,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:a}),de?null:i.jsxs(Ae,{children:[i.jsxs(Ce,{windowSize:c,children:[i.jsx(L,{variant:"secondary",label:r.scheduleDemoButton,onClick:le,"data-testid":W("accounts-promo-schedule-demo-button")}),i.jsx(Be,{windowSize:c,children:r.orText}),i.jsx(L,{variant:"primary",label:r.setupAccountsButton,loading:!1,onClick:ne,"data-testid":W("accounts-promo-setup-accounts-button")})]}),i.jsx(Re,{children:i.jsxs(F,{children:[r.terms.terms1,i.jsx(j,{href:d.consentUrl,linkText:d.consent}),d.term2,i.jsx(j,{href:d.depositUrl,linkText:d.depositTerms}),d.term3,i.jsx(j,{href:d.privacyPolicyUrl,linkText:d.privacy}),d.term4,i.jsx(j,{href:d.tosUrl,linkText:d.tos}),d.term5,r.terms.terms3]})}),i.jsx(Pe,{children:i.jsx(F,{children:r.disclaimer})})]})]})]})};export{ti as default};
|