@zeniai/web-cockpit-ui 1.14.32-qa → 1.14.33-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-MP6kdpXK-BAG6ONUf.js → ACHDetailsPage-BeF1WMnC-1VBfz86m.js} +1 -1
- package/dist/assets/{AIPerformancePage-BhOaFmfv-DJPCQGme.js → AIPerformancePage-CxD_UAbI-CDXEWRTT.js} +26 -26
- package/dist/assets/{AccountInfoPage-D9Ft_CT9-Co34pWp7.js → AccountInfoPage-DcY-ZzlZ-B4iecNyJ.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DvWx52e0-JoBHhmtJ.js → AccountInfoPageContent-CaoKCM-U-CngVOAi6.js} +30 -30
- package/dist/assets/{AccountLockedInfoModal-B1_3C1ER-CsXXKJaZ.js → AccountLockedInfoModal-CJmhyeRY-C979nTcy.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-D9e7qhm0-DJD0R9bB.js → AccountReconDetailsDrawerPage-sSMPfl5H-IX-cEHy1.js} +13 -13
- package/dist/assets/{AccountRow-CiIWoLq3-BYr2bUH2.js → AccountRow-Buzf5t6f-kuIKrhUG.js} +14 -14
- package/dist/assets/{AccountsPromoCardStack-CC72plKm-Matqa_MR.js → AccountsPromoCardStack-Dlcbuic0-Kc3shiMd.js} +30 -30
- package/dist/assets/{AddAddressForCardDrawer-CIj76DoU-B9TffAvk.js → AddAddressForCardDrawer-BLTkxUcq-D-V6n_7V.js} +1 -1
- package/dist/assets/{AddToWalletPage-B3vdkyWl-VZV_7F8R.js → AddToWalletPage-B5LKICXr-nsC3Wra1.js} +17 -17
- package/dist/assets/{AgingReportsPage-CbkMxxO_-BABl_foK.js → AgingReportsPage-_hwnvPm7-Bkolnb9C.js} +15 -15
- package/dist/assets/{AllUserItems-DJo9kLSI-CnxvFofk.js → AllUserItems-DohW-333-Bg7h27YQ.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-DcAh6DLg-COmx3rdg.js → ApAgingDetailPage-CfzCrv7O-Cr8uPh7t.js} +3 -3
- package/dist/assets/{AppBasePage-DztnPkfs-C6ROiaUG.js → AppBasePage-Nz4YL7cO-BTGamgks.js} +16 -16
- package/dist/assets/{AppDrawerContent-DDmKn21i-B0r6j2g7.js → AppDrawerContent-DipGyZ1n-BX_zKp-X.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-Di8tAJ8K-sRJdWOYr.js → ApprovalRulesSettingsPage-CDJ2Pb6i-IB0wqs_T.js} +1 -1
- package/dist/assets/ArAgingChart-C2EOYS7A-C5CyuZdZ.js +24 -0
- package/dist/assets/{ArAgingDetailPage-B3JQ08nH-yWZ4Q_gU.js → ArAgingDetailPage-hLTSTpD2-Bw2ArYRS.js} +1 -1
- package/dist/assets/{AttachmentView-p8mBqYjm-DXZMkL5k.js → AttachmentView-BMvudk_o-Dwirdwse.js} +6 -6
- package/dist/assets/{BankAccountSection-AuQLRvdb-C_Pp6K1g.js → BankAccountSection-BKK0TqfR-LMfrwS2j.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-HvUMABu0-7weYEdUg.js → BankAccountWarningSection-DvJdsXOf-4phuqOcH.js} +19 -19
- package/dist/assets/{BankConnectionsSettingsPage-D61w90F9-DfyisqdH.js → BankConnectionsSettingsPage-jdyMMWYg-Bm41i4Ok.js} +8 -8
- package/dist/assets/{BillDetailPage-nqHoph6T-DVUv4kUT.js → BillDetailPage-BAc9ZaEX-C9SGsi6f.js} +7 -7
- package/dist/assets/BillPayApprovalRuleDetailPage-C8VknJRe-CzEtziL7.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-Bd87v4ca-Bux_Krxh.js → BillPayApprovalRulesPage-ycrs-KJM-BHzKI2PU.js} +7 -7
- package/dist/assets/{BillPayPromoPage-CNiTD_mM-BuGb7q9e.js → BillPayPromoPage-B3cmYoMb-CSle0M5N.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-BUSwkzqv-DIcHGcbo.js → BillPaySetUpPage-Fs62VXvw-Bx0yDXtw.js} +2 -2
- package/dist/assets/{BillingSettingsPage-aPRvtlqA-CvfD2Y8F.js → BillingSettingsPage-Dt9jBMTF-CKtbFl0q.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-BU3VuxEm-VUKCHen3.js → BillsBulkReviewDrawerPage-Qcl9aUuk-D6jtO37l.js} +1 -1
- package/dist/assets/{BoxItem-CZKWkdxd-B5o_Xoj8.js → BoxItem-BYcXwroy-BhSt87hz.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CeDGi-RH-xh2K8rbM.js → BusinessVerificationPage-il8wYjJ_-BF6mKhyz.js} +5 -5
- package/dist/assets/CardNumberSubText-Cz8Y1Z97-BSIcPMWK.js +21 -0
- package/dist/assets/{CashbackDetailPage-V-W_U5k1-DPPyNC8_.js → CashbackDetailPage-Dv5Z7Tvy-DUAllv2v.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-BP-zAMYI-C3fXrPWG.js → ChargeCardDetailPage-CGTduWWN-DnO3oIwM.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DORW9YE4-V1Xd3RQj.js → ChargeCardListPage-DNLZxp9I-CaP_yIbe.js} +16 -16
- package/dist/assets/{ChargeCardListTable-C32mZrwY-BKVvlwyx.js → ChargeCardListTable-BnHOs06b-DLTVfaw9.js} +14 -14
- package/dist/assets/{ChargeCardPromoPage-CE4kH4Js-DA3SyzWk.js → ChargeCardPromoPage-C9ByS2z5-BjMS3S7B.js} +13 -13
- package/dist/assets/{ChargeCardSetupPage-CumpB2GQ-CLFpKwEI.js → ChargeCardSetupPage-Baw4VtU6-D0oScUuZ.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DPIAjww0-B4pg53DT.js → ChargeCardStatementsPage-D0nZbDIZ-1YWyw7g9.js} +6 -6
- package/dist/assets/ChargeCardUtils-CTnXnilO-BBCNz-CS.js +1 -0
- package/dist/assets/{ChaseOverlay-BGZfbx0H-CY_E45BY.js → ChaseOverlay-2qpcZYP8-CJCeLw1J.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-C78K4Qka-r2b9sK0R.js +206 -0
- package/dist/assets/{CollapsableReportTable-B0wI9SM1-DyxRAEGL.js → CollapsableReportTable-CPOIqiL0-DbaBQG3h.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DyOVRvtQ-qzbkNJ8X.js → CompanyOfficerDetailsSection-D1BmCIsK-m6kNq19-.js} +33 -33
- package/dist/assets/{CompanyPassportCard-C_YUK3R3-BmAXdeyi.js → CompanyPassportCard-B9fOwnpa-DBu7cZ44.js} +5 -5
- package/dist/assets/{CompanyPassportPage-QFJ0G7X7-usFLRy-E.js → CompanyPassportPage-BzDOHw_n-dFO_707Z.js} +29 -29
- package/dist/assets/{CompleteProfile-DVE16v3y-CMtnbQZR.js → CompleteProfile-BTqueNNu-B4BPhx4J.js} +1 -1
- package/dist/assets/{ConfettiBurst-BA8BvtO--w2UtNkAF.js → ConfettiBurst-BlFjJIUj-BOxRLp2J.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ncBGwfXK-BUe0tXGP.js → CreateOrEditVendorPage-DAGCdI1c-CqgwhqM1.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-DqEVQgMx-DFK6MZ6X.js → CreditCardPaymentDrawerPage-KsuS7yuN-N-hLZRAg.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-vmErttTD-CytN37qx.js → CreditCardPaymentPlgSection-BfhV7QBL-BhBBV1aP.js} +8 -8
- package/dist/assets/{CurrencySelectField-BEb19UaA-BoldRT0Z.js → CurrencySelectField-oVIC5R45-C6cv-Oxl.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-L4l1ybmh-B2kuCczW.js → CustomerOnboardingActivationPage-6I-6xoA6-Cwq_b8uj.js} +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-BXvzWHpN-S0OXpAyk.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D3Zm658F-BuH9tDfF.js → CustomerOnboardingDetailPageSkeleton-DYXcx90D-BxeHZzZC.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BXsJFpEX-DgMgRgZi.js → CustomerOnboardingNoStepsPage-DEUNNIB_-BP-ljsoU.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-D3zpI1df-COxdjvpq.js → CustomerOnboardingPage-kAcxVmRC-DNxJ1pNK.js} +2 -2
- package/dist/assets/{CustomerOnboardingProductSuitePage-DjVZfC2C-9VLKFifa.js → CustomerOnboardingProductSuitePage-BbRqtmnL-BAF_MH-3.js} +1 -1
- package/dist/assets/{Dashboard-wY0FneRs-CscNuWPH.js → Dashboard-usLyPMhz-DKjprsmr.js} +114 -114
- package/dist/assets/{DashboardReportPage-CMgr0CSc-DFK7qDD5.js → DashboardReportPage-CoozPVLS-CcNCmbui.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-B73UBY5T-CojDVgPF.js → DashboardSidebarBackgroundAnimation-BNQW5HZE-Bnv32Td_.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DrqBG940-BL30cPZ9.js → DepositAccTransactionItem-CsLHfDqr-CddFy5eB.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-CgNs2M1G-D-tMCRB2.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-vRHD5DmW-CB41e-Go.js → DomesticWireDetailsPage-CwYc-sKw-DZOTiRB6.js} +1 -1
- package/dist/assets/{DownloadOverlay-D_UoB4Xy-CXZqPF3W.js → DownloadOverlay-ttUEv-XY-B3Vfsv4m.js} +1 -1
- package/dist/assets/{DrawerPage-ijHe0bCp-DiEqZBob.js → DrawerPage-5dnYzzvI-CLtoYH0R.js} +5 -5
- package/dist/assets/{EditPeoplePage-BehcmP1s-B0OWtRsu.js → EditPeoplePage-DUr2MZOG-DxkDxmQg.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-Cz82Vz26-BRJ7TMrj.js → EditReimbursementDetailPage-Byuxh0RG-DRJG6qtk.js} +51 -51
- package/dist/assets/{EntityDetailPage-CN-ewzjy-BWpB3zGM.js → EntityDetailPage-DBjBJovr-BZu-LHUW.js} +2 -2
- package/dist/assets/{EntitySummarySection-B4ozhtlU-Bh59rhzI.js → EntitySummarySection-NvNokzqb-CeOsDBDU.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-BmNuSoUs-u9wwMA7C.js → ExpenseAutomationOverviewPage-Cc7NPgFU-9lD98Awj.js} +12 -12
- package/dist/assets/{ExpenseAutomationPage-Cz3JsW-E-BrcVbkfQ.js → ExpenseAutomationPage-zQeR27lq-D9JB9UuZ.js} +30 -30
- package/dist/assets/{ExpressPayPage-CgrGtZ4F-DhVG-NpX.js → ExpressPayPage-P0p3Ao-R-6DvUhx-N.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-Dk_c37Rm-DmGR9BMT.js → FeaturePreviewPage-CbR7b5uO-BzHxS3Tw.js} +2 -2
- package/dist/assets/{FollowStepsSection-BVi7m38_-DCvEuFsi.js → FollowStepsSection-9Kfkt8Hp-vQQ1D5qp.js} +22 -22
- package/dist/assets/{GlobalReviewListPage-DiZGC9B1-DVmZQU9C.js → GlobalReviewListPage-B3b-DcRO-BNwj7Mm0.js} +14 -14
- package/dist/assets/{HelpButton-DiIoYeXn-B1h-JEp9.js → HelpButton-3gV_f3S3-lwdvDDRM.js} +4 -4
- package/dist/assets/{InformationCardStack-C8-4dhWR-CkAP-hMp.js → InformationCardStack-B67nQ7o3-70ioyZnE.js} +4 -4
- package/dist/assets/{InsightsCardStack-BKm0dSeJ-BPY6fmB5.js → InsightsCardStack-BLuzgFq1-CYTvRA9m.js} +9 -9
- package/dist/assets/{InsightsSection-C9MHOCQd-CxH8mnp9.js → InsightsSection-B95Utg4C-iNRD4dcB.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-4qlL5Dsx-pk08ZRqz.js → IntegrationsSettingsPage-Cj9RN4lm-CCmWJemi.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqCtPykV-RePKT-cw.js → InternationalWireSwiftDetailsPage-CnvGCMx6-D7qGQOLS.js} +9 -9
- package/dist/assets/{InternationalWireVerificationPage-Cl-p0inO-N3ibBM1E.js → InternationalWireVerificationPage-BO-9Inma-D_Mt5TJx.js} +10 -10
- package/dist/assets/{InviteFormPage-L6j0rOBW-BljG3gyG.js → InviteFormPage-BcKX87YR-CYsY9f6q.js} +20 -20
- package/dist/assets/{InvitePageListView-KYjMIc4q-BvLSTtNP.js → InvitePageListView-pwXs_uWn-CHeWg1i1.js} +34 -34
- package/dist/assets/{InvitePeoplePage-CbZqVsTp-ByvmG5mg.js → InvitePeoplePage-DyqidszV-DRWrwVY4.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-DZC4oscG-qxWcqOIO.js → InvoiceUploadSection-Bwx4jgsp-C4xLrK-Y.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-DMdZCfqA-CZcxwjMQ.js → IssueChargeCardPage-B4uzwROv-BzOoA0d9.js} +16 -16
- package/dist/assets/{LabeledAddressValue-CBOrzSsG-nee1vU4U.js → LabeledAddressValue-_1wNunap-DPLTMfFc.js} +1 -1
- package/dist/assets/LabeledAddressValueField-CLeHoJsD-px_h_iQz.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BoXsUqpR-oiIFvQRa.js → LabeledControlledCheckBoxField-DUmCd9rT-BXqi_HoZ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CQPkrdRe-DDLZPwbC.js → LabeledCreatableSingleSelectField-Ca24Ziei--NVG8mh3.js} +2 -2
- package/dist/assets/{LabeledDocumentField-DEeeTuVw-uCiSHKoS.js → LabeledDocumentField-DtGNCNrD-wnVc7cxH.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-DYRkxlY--Bk-7Qy7i.js → LabeledDropDownFormattedTextField-CEhwMb_t-CLtWVSHb.js} +1 -1
- package/dist/assets/{LabeledText-DQiR_FIX-Cq-hk8XI.js → LabeledText-DR7J2Gsy-D6g3ui7D.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-dgPgTmNg-BgLjIn8p.js → LabeledUserSingleSelectWithSubtitlesField-DdWbwo9k-Czxe1ikP.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-azPB8idg-Dod-yMmJ.js → LabeledZeniRolesDropDownField-CmUbFFow-BrHi88m7.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-Ct0HcxvN-CoVcew-v.js → LinkJETransactionPage-oW3lDkXa-DkODhkzT.js} +5 -5
- package/dist/assets/{LowBalancePopup-Zvy2iURT-CKL7oXqu.js → LowBalancePopup-C5KvkK3M-BgprDmea.js} +4 -4
- package/dist/assets/{MagicLinkACHDetailsPage-BY6pEieF-CMSi32Px.js → MagicLinkACHDetailsPage-BVWg6hrX-C9bebDTy.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BK5RZSiS-BptWrimx.js → MagicLinkDomesticWireDetailsPage-S1k7ze9H-BgzVGtM2.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-hK5cNiNB-WwKIYKSe.js → MagicLinkInternationalWireDetailsPage-DpzfQbRD-cJcinQZd.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Drn_p982-Dd9Y_AlA.js → MagicLinkSuccessPage-m9Kweywk-DPq-0HkP.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DRMHVOzF-BonTYr-V.js → MagicLinkTitleSection-BPRyg1HR-DwrF96BI.js} +9 -9
- package/dist/assets/{MailingDetailsSection-DgdAYgpS-CFXayn-8.js → MailingDetailsSection-BX5rIuJZ-GJvkvLxh.js} +6 -6
- package/dist/assets/{MeetingCalenderPopup-CAh7iae0-CIOK3_iA.js → MeetingCalenderPopup-CCW2D5Ua-5MpvaUBJ.js} +1 -1
- package/dist/assets/{Menu-bleLgSLu-DaNN7jzz.js → Menu-CD6YLYW5-BUcHbzF7.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DRxmQCbq-Bx9nexN4.js → MyBankConnectionsSettingsPage-DBU4_Dkv-CA478OM7.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-BYLhb47G-pes3OjvP.js → MyPendingActivationChargeCardListPage-0eqXgmvH-DDnJ08y8.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-eVfCRTfx-C1C2MWMx.js → MyProfileSettingsPage-D1sATCot-CiU5osoA.js} +11 -11
- package/dist/assets/{NavBarWithPicker-BE2MW7hB-C2Q1UUPB.js → NavBarWithPicker-BcrWHAVt-DQ0-NtsG.js} +5 -5
- package/dist/assets/{NavigationArrow-eEaMttBX-dVTivT8M.js → NavigationArrow-DTaeLGbL-DWcftJmW.js} +1 -1
- package/dist/assets/{NavigationDots-CNwL0a7I-eyaik967.js → NavigationDots-D5YXMwOb-ClISbBMH.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CSWqCqAC-3LX-Lnzn.js → NewGlobalMerchantPage-CN03ui3Y-C_ZaSy9f.js} +9 -9
- package/dist/assets/{NoDataChart-DNmdY5gQ-CMwiaxGm.js → NoDataChart-DUJ9H-CB-CyrJ4tsx.js} +3 -3
- package/dist/assets/{NoDataTable-DW2wAX3o-7ZoMqIrJ.js → NoDataTable-D5EYJl2y-D34hDm8V.js} +1 -1
- package/dist/assets/{NotFoundPage-BMJTG-tj-BCL9lImd.js → NotFoundPage-C2-zYoie-CGmUYuaR.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Vd3UvdLu-S0VOV4Ql.js → NotificationSettingsPage-Cb4Zozvx-oYcOdShZ.js} +11 -11
- package/dist/assets/NotificationsListConfig-BjKpPm-b-CxIsjRl-.js +1 -0
- package/dist/assets/{NotificationsPage-BaekDEw7-Cs7zF3k-.js → NotificationsPage-AZg3QlbQ-D78nbIsq.js} +7 -7
- package/dist/assets/{OpExByVendorPage-DNyTA9nx-D6E7lJvv.js → OpExByVendorPage-BdIQF_eO-BbwfOOQV.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-DQ82QsuS.js → OverlayContainerPage-Bmu909Fo-GqncdcC9.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DbP4ybN4-DeKOl1Oc.js → PandLWithForecastPage-Cmvdl5M2-CNGL67AQ.js} +6 -6
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Dd4Aen8j-Ctc3Ha-y.js → PaymentAccountSetupBillingAddressSection-B8u08pzI-DF4VkZQD.js} +7 -7
- package/dist/assets/{PeoplePage-B3n7ek2h-uuc0_T22.js → PeoplePage-DUgY9uhQ-BI4tRk6e.js} +18 -18
- package/dist/assets/{PortfolioAllocationFormPage-CzA_c7hR-D4H-GZTH.js → PortfolioAllocationFormPage-8W6M--6J-DJsnJ4Vy.js} +7 -7
- package/dist/assets/{PortfolioDetails-Drgv4Osg-Wtx195rT.js → PortfolioDetails-Cgsx9aCA-CD6Y9pXv.js} +23 -23
- package/dist/assets/{ProductsCarousel-BnnfJR0o-1ucX8gqh.js → ProductsCarousel-Bm2Y2y3o-D8cSCMGA.js} +5 -5
- package/dist/assets/{PromoBaseCards-BGHJivI8-QTKlmjbr.js → PromoBaseCards-B8vPeDYr-Bg7A0tbR.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-uiW9eeZu-CJhmYtAn.js → QBOConnectionDialog-i-PJJPa4-DxwwTSCV.js} +6 -6
- package/dist/assets/{QBOSetupSection-DPb0VAii-CLt6Rb6_.js → QBOSetupSection-CRrnYKUh-BMqz355n.js} +9 -9
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DfsK1S1y-CiVWnu5i.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-C1AFF_DM-vNX_0PWy.js → ReimbursementApprovalRulesPage-Chrc3t9S-DMaAKkim.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-Du6R1zje-DfmTmZh3.js → ReimbursementDetailPage-DGNdthlv-DXOu_PKg.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-CW9eyjp9-hg5pl-np.js → ReimbursementPromoPage-BvFwudpI-fyHwGBP5.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-CbPwgIqt-DlHsYtWb.js → ReimbursementSetUpPage-Cbax1ApT-Kz2PKPQw.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-vhtiYbWq-Lzawyxxx.js +1 -0
- package/dist/assets/{ReloadCard-Dvn17Oxl-DzvJVrId.js → ReloadCard-7jt7MZTY-jJYtAM8l.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-C5_qr5qe-ClZSH2bH.js → ReportTableViewSelector-BiBxQPuW-B7nOy64b.js} +10 -10
- package/dist/assets/{ReportsPage-BNcymVwf-C0BED4Ok.js → ReportsPage-DFob2c55-CLnoeHN_.js} +9 -9
- package/dist/assets/{RevenueChart-DILkui6c-DnsmI5K2.js → RevenueChart-ClhUfdMh-CpBjkld6.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-ZYzvK95X-KVKmpgCn.js → ReviewDetailsPage-FQiCTlke-BueAy9wA.js} +5 -5
- package/dist/assets/{ReviewOverlay-DhUFI1ES-r1eu-OFz.js → ReviewOverlay-CfF_qd7Q-BVas4NW7.js} +4 -4
- package/dist/assets/{RoleWithToolTip-_W95JBwt-C0fe2sAV.js → RoleWithToolTip-BF8jX30M-BQV_yix7.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-iQXV-V_H-BhZNXgbs.js → ScheduleDetailsFixedAssetsPage-C_eajy25-BQa4CLNT.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-KgHwQGrw-B2V1iuf9.js → ScheduleDetailsPage-CEyK426x-DlwSFPgG.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Bixq8Q7W-N1kxr5zg.js → ScheduleSequenceTable-CzCC1xOo-EzBXtTh_.js} +12 -12
- package/dist/assets/{ScreenRoutes-65j87oC2.js → ScreenRoutes-Dmw--oxB.js} +1 -1
- package/dist/assets/SetUpAccountSection-nOqMRPh8-vlNwq74j.js +378 -0
- package/dist/assets/{SetUpDefaultSection-CI0mxu3H-JpA1rufD.js → SetUpDefaultSection-BbQ_Qx2--B86sDbA4.js} +4 -4
- package/dist/assets/{SignIn-DslenepV-m8WTqnO1.js → SignIn-DTytMyjr-DTD0fjUW.js} +11 -11
- package/dist/assets/{SignInScreen-Bs1sd9WX.js → SignInScreen-BrlyZMZC.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D7SzmCmM-DsyAjyVx.js → SpendManagementListViewPage-CD0Beu1e-D4PVe6Wj.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DKaDr4mu-CQG-8bWa.js → SpendManagementPerTabPage-ILwwf3e3-COE_74Nb.js} +20 -20
- package/dist/assets/{SpendManagementSection-Ddfq2u6H-DjhY5rM_.js → SpendManagementSection-o0Xvlal3-BKW5ZBrL.js} +5 -5
- package/dist/assets/{SpendMgmtSetupAccountSection-CPnNzjr--CVGBUj7h.js → SpendMgmtSetupAccountSection-DkUfJ6ei-eGKMrIbZ.js} +6 -6
- package/dist/assets/StatementItem-GyeTS2vu-I_cwOwLC.js +31 -0
- package/dist/assets/StatementsPage-DU5Dhq7q-X7x6AfrD.js +58 -0
- package/dist/assets/{StatusSwitcher-kWLQCCwS-B1OCqMuJ.js → StatusSwitcher-u6thj-sM-D7WcEtAO.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BKm9FxhL-x8uzq0sl.js → SubTabSwitcher-B9ILKi1e-C1FFp5it.js} +1 -1
- package/dist/assets/{SummaryCard-DBMfNfN2-CzWqfaGl.js → SummaryCard-Drap3bb1-OUDJGe2t.js} +1 -1
- package/dist/assets/{TaskManagementPage-D_wjK-S2-5FRXGPBR.js → TaskManagementPage-DoT0Xz7g-BnIzBFOV.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-2vDR_AEV-BCS0yx4E.js → TimeRangeSwitcher-DbGrn4DP-BrqZ4F1S.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BB3_i5V0-_2lvvQWN.js → TimeframeSwitcher-sbgG6A6l-DKwQYGX_.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CdP0ViK8-Blh3jpmT.js → TimeframeSwitcherWithToggle-arAZfZIA-BYSHVoSf.js} +1 -1
- package/dist/assets/{TopExCard-BGgGFzmK-CseYSNZP.js → TopExCard-97hb0R08-oohbJ27j.js} +6 -6
- package/dist/assets/{TopExDetailPage-CbzYG54M-Cn_cL4Fl.js → TopExDetailPage-CoLyDCB7-BRzep-Wg.js} +14 -14
- package/dist/assets/{TransactionDetailPage-C-CfEtCO-B6iRDC7J.js → TransactionDetailPage-q5aE5bnJ-C9mH8fBv.js} +36 -36
- package/dist/assets/{TransactionList-C0xK6_zI-DXurFqrv.js → TransactionList-C8S87idW-B0vRhDhu.js} +5 -5
- package/dist/assets/{TransactionListBig-CIX6CdX--k6cdfuui.js → TransactionListBig-B0GroSXv-ojyO1c5S.js} +13 -13
- package/dist/assets/{TransactionListPage-B7ppBJig-Cw4vRsI1.js → TransactionListPage-CP6h2Q1r-BmmiKCLG.js} +4 -4
- package/dist/assets/{TransactionVendorDetailPage---HGdQiZ-B2-rEsH7.js → TransactionVendorDetailPage-Cgsraa0T-BApyW7FO.js} +5 -5
- package/dist/assets/{TransferDrawerPage-DerGmul8-CuVOWq-U.js → TransferDrawerPage-0MWoLTHi-C82yVCJT.js} +19 -19
- package/dist/assets/{TreasuryOverviewPage-DW2gZwip-BnPT0qco.js → TreasuryOverviewPage-CaP2pdVj-CkpX4aDB.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-DzqdEmPJ-Cgk-JJnE.js → TreasuryPromoPage-CjCAsIAs-CadFGU9_.js} +13 -13
- package/dist/assets/{TreasurySetupPage-Bo0HQeeU-CiRulceo.js → TreasurySetupPage-zxxClgmz-BWHuPLvU.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-DS_VK4WN-Cnn4qXHn.js → TreasuryStatementsPage-BCDakhB_-Dkxgdp5X.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-DgwqyL6v-BEtv0yga.js → TreasuryTaxLetterPage-Bq3Zcz28-DnH415Xd.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-ZrSACgLJ-B-C18Uw6.js → TreasuryTransferOrReviewPage-C8OGAEPm-eyZeuDLP.js} +41 -41
- package/dist/assets/{TrendChart-D07k3uRr-DX_P6NGJ.js → TrendChart-BVaBWGSG-Ds21FTze.js} +4 -4
- package/dist/assets/{TrendWithTransactions-ibwuOssC-wAxC5G58.js → TrendWithTransactions-wA_XpWa7-C0mi4yW2.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-D1m2Ok2e-Bc7XjWkf.js → UncategorizedAccountsMappingPage-CZyZ7HgM-D-Ryn1XR.js} +12 -12
- package/dist/assets/{UnitIntegrationPage-BJxRjjfK-CSfDNJiC.js → UnitIntegrationPage-ahzf74jD-CPsHbbNb.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-DI_GZA8A-D7qH6H92.js → UploadAdditionalDocumentOverlay-DT_NocG4-CIDmugko.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-80vvc7gE-DfCBbxkB.js → Vendor2FAPopup-_SmOnjiJ-BvddVgMj.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CQcuiNPr-CceAJ-hu.js → VendorACHDetailsPage-qP4fOIER-l6-CVPAY.js} +1 -1
- package/dist/assets/{VendorDetailPage-Dx_yfZDH-CdV4fZHt.js → VendorDetailPage-BKztI9LK-CKRgyPOO.js} +8 -8
- package/dist/assets/{VendorDomesticWireDetailsPage-DN5x3F_Z-Bq-suC9S.js → VendorDomesticWireDetailsPage-CcIVgYDR-BfKkkMo5.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-8Jz187lD-DiuMGs7f.js → VendorFiling1099EditablePage-j3wx_7VO-1cKCPd5J.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-CokvYaRq-C8O10dnC.js → VendorFirstReviewPage-Tael17gH-BSZ6S2Fg.js} +10 -10
- package/dist/assets/{VendorInternationalWireDetailsPage-lo9l2Q88-BNP_VZvO.js → VendorInternationalWireDetailsPage-CQU1yW6x-D3zIOhMs.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CPj3zrDk-Gct01KpS.js → VendorInternationalWireSwiftDetailsPage-YdTFG4UK-HD_aU67y.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BqoW4DlP-BublwzKM.js → VendorsAccountsSection-DA43fzxN-CEnHSVzd.js} +2 -2
- package/dist/assets/{VerifyDevice-D8iPRJ3k-CjjdiKnG.js → VerifyDevice-qwJe3UlY-DI265SnA.js} +1 -1
- package/dist/assets/{VideoPopup-SdlRHLkM-agneM1Zx.js → VideoPopup-DjHyf6Dq-C8Ilxi36.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-qYWFsE3s-zj7-7ffo.js → WarningsDrawerPage-B3y_Dk0z-CVkQeOY3.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-BL2a5Dmz-B_6wvsrQ.js → ZeniAccountDetailPage-3Rwc-ka_-CYgkNxj0.js} +9 -9
- package/dist/assets/{ZeniAccountListViewPage-CWqzDWcO-DwWqzBYy.js → ZeniAccountListViewPage-Dz4Ts37w-BlEIF_qT.js} +14 -14
- package/dist/assets/ZeniAccountNavBarPieces-DOWoY-ph-BAkijH3D.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CBm3w0kN-DJjJeczH.js → ZeniAccountPromoPage-BdOMtMQi-qk2A1Lmg.js} +7 -7
- package/dist/assets/{ZeniAccountSetupPage-C5VzT9lH-Cdnhgc2k.js → ZeniAccountSetupPage-BaAbcpDN-CSOgtN8Q.js} +3 -3
- package/dist/assets/{ZeniCopyright-BUctH39C-C_feHk3O.js → ZeniCopyright-CDUB4TcP-DBmQcK_q.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-BvyfsZDl-QvFPfzOa.js +63 -0
- package/dist/assets/{analyticsHelper-B34YX2ij.js → analyticsHelper-BV1ACqmi.js} +1 -1
- package/dist/assets/{analyticsHelper-B3uAu0es-CqogBTHJ.js → analyticsHelper-BvNZGrlc-zOCblMc4.js} +1 -1
- package/dist/assets/{chartTypes-CJmQ6FtI-TiHHrGYV.js → chartTypes-eIJ-SPRj-DgIvSxsR.js} +1 -1
- package/dist/assets/{commonDimensions-WRL2ZVK_-CxdZfQVs.js → commonDimensions-BhQMg8M1--cVW0mQg.js} +1 -1
- package/dist/assets/{detailCommon-Dfxas1Kf-D_ZxAMOH.js → detailCommon--19QlDMD-5WfydMar.js} +6 -6
- package/dist/assets/{downloadPdf-B1f0mDl2-BZJtGTOh.js → downloadPdf-CdQzDva3-CMvkrxkC.js} +1 -1
- package/dist/assets/{index-LQh-jIrB.js → index-DgtolMNd.js} +3415 -3415
- package/dist/assets/{mapLoadingInProgressToTreeNode-BG784RuM-B-LxqW1w.js → mapLoadingInProgressToTreeNode-5V5katgj-pmtLmZyl.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CtIgxsPZ-DPeWjfgv.js → mapSectionWithAcOnlyToTreeNode-BJxygmqD-B65-U7gY.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CcgVbOH5-TVZJ590D.js → mapSpacerToTreeNode-D64394wQ-BNpO7tp-.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DTlwFauL-CZ3n-orV.js → mapTimeframeBalancesToTreeNode-DCKSi6a2-BUe3Z-yR.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CU583ICK-CZ9bt-pf.js → mapTimeframeBalancesToTreeNode-n7enawjr-hpvcbBQH.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B_n9jWVz-Bh46qWxB.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B_QU_sNV-DhxtbpgW.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DTfegixr-3BrKm7V-.js → toCOABalancesWithID-BzuCDtG--YB748AUv.js} +1 -1
- package/dist/assets/{toChartData-CH5DcWUY-CCr3PEX8.js → toChartData-CYJPtvhS-BAYbqY8t.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BdPkQoh7-2QT0NfKg.js → treasuryColorHelper-BKdnWQWY-COtNKsBN.js} +1 -1
- package/dist/assets/{uploadAttachment-COwu5Mqo-D1mpbLnD.js → uploadAttachment-joBVPGv5-DTeHZMKC.js} +13 -13
- package/dist/assets/{uploadReceipts-dxsKhm9I-BSggA-oy.js → uploadReceipts-dxsKhm9I-D8UHf0Pl.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ArAgingChart-tm5ZiNuY-4-nNFTyo.js +0 -24
- package/dist/assets/BillPayApprovalRuleDetailPage-fZnmOmyN-R8AfUVmE.js +0 -27
- package/dist/assets/CardNumberSubText-1BRQQyfd-JE07s-Fs.js +0 -21
- package/dist/assets/ChargeCardUtils-Wp4Ko18L-GTVU2RZO.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-Bl52b4SW-CZzuzj_7.js +0 -206
- package/dist/assets/CustomerOnboardingContainerPage-BB4D77z8-C0-g-aXs.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-2xDjOUwm-DDOM6-AH.js +0 -66
- package/dist/assets/LabeledAddressValueField-YuLcra47-Cc5nlJue.js +0 -45
- package/dist/assets/NotificationsListConfig-DbHYPEWZ-DjqGq2mH.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cvok7KBA-C0WmzojS.js +0 -26
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DmRIywf6-C6sXIYK8.js +0 -1
- package/dist/assets/SetUpAccountSection-D8FMVhkL--eJk_Euq.js +0 -378
- package/dist/assets/StatementItem-B2uPIFUk-jLxVfDq5.js +0 -31
- package/dist/assets/StatementsPage-o7MvNKvd-D45F8BwH.js +0 -58
- package/dist/assets/ZeniAccountNavBarPieces-C0MyICK2-Bjp8UANv.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-q37z6XvR-omF-65ky.js +0 -63
|
@@ -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,M 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,f 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,r as p,gX as Oe,at as Re,b8 as Ye,aw as Fe,av as Ve,b9 as Ge,au as Je,y as _,gY as Xe,am as Ke,af as Ze,gZ as _e,T as qe,g_ as Qe,az as et,fk as tt,cC as ot,B as at,J as it,bO as nt}from"./index-DgtolMNd.js";import{b as l,n as a}from"./vendor-rkTZJa59.js";import{$ as rt}from"./BoxItem-BYcXwroy-BhSt87hz.js";import{w as lt}from"./downloadPdf-CdQzDva3-CMvkrxkC.js";import{H as ct}from"./DepositAccTransactionItem-CsLHfDqr-CddFy5eB.js";import{T as st}from"./ZeniAccountNavBarPieces-DOWoY-ph-BAkijH3D.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-BhQMg8M1--cVW0mQg.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,B 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]),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`
|
|
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(_t,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(qt,{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),[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 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(_e)`
|
|
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(_)`
|
|
22
22
|
color: ${e=>e.theme.colors.hero};
|
|
23
23
|
text-align: center;
|
|
24
24
|
`,$t=a.div`
|
|
@@ -190,7 +190,7 @@ 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 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(qe)`
|
|
194
194
|
text-transform: capitalize;
|
|
195
195
|
color: ${e=>`${e.windowSize==="small"?e.theme.colors.hero:e.theme.colors.champion}`};
|
|
196
196
|
display: flex;
|
|
@@ -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,B 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(_)`
|
|
216
216
|
margin-left: ${o.sp2};
|
|
217
217
|
`,de=a(w)`
|
|
218
218
|
margin-left: ${o.sp2};
|
|
219
|
-
`,
|
|
219
|
+
`,_t=a(Ke)`
|
|
220
220
|
color: ${e=>e.theme.colors.primary};
|
|
221
|
-
`,
|
|
221
|
+
`,qt=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,B 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(_)`
|
|
239
239
|
color: ${e=>e.theme.colors.hero};
|
|
240
240
|
margin-right: ${o.sp2};
|
|
241
241
|
`,N=a.div`
|
|
@@ -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,M as Q,a1 as Fe,j as t,bV as Y,f 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,s as Ye,y as We,T as Ve,bv as Ze,b6 as ye,w as b,Y as qe,l as Je,bJ as He,cV as F,_ as N,C as j,B as X,fd as Ke,J as Qe,g as Xe,p as et,cx as tt,bO as nt,fE as it,r 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-DgtolMNd.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-DOWoY-ph-BAkijH3D.js";import{v as ht}from"./ZeniTransferAmountSlider-BvyfsZDl-QvFPfzOa.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,B as Q,a1 as Fe,j as t,bV as W,g
|
|
|
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(),
|
|
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(),W=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=qe(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||Je.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(Z,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",w)});break;case"totalInterest":k=t.jsx(Z,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(Z,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(xn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(q,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(H,{children:G("0,0[.]00",$?.totalBalance.current)})]}),t.jsxs(q,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(H,{children:G("0,0[.]00",$?.totalBalance.hold)})]}),t.jsxs(q,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(H,{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 He({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:[W(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),z("totalBalance")]}),t.jsx(F,{amount:$?.totalBalance.available})]}),t.jsxs(It,{windowSize:p,children:[t.jsxs(qt,{children:[t.jsxs(V,{children:[W(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(Jt,{children:[t.jsxs(V,{children:[W(d.spendManagement.zeniAccounts.common.totalYieldEarned),z("totalInterest")]}),t.jsx(F,{amount:$?.totalInterest.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsxs(Yt,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Wt,{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(Ht,{isClickEnabled:!0,windowSize:p,onClick:()=>s?.(r.id,r.accountName),"data-testid":N("deposit-account-clicked",r.id),children:[t.jsxs(Zt,{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`
|
|
@@ -228,17 +228,17 @@ 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
|
|
|
228
228
|
`,Ot=i(b)`
|
|
229
229
|
color: ${e=>e.theme.colors.hero};
|
|
230
230
|
margin-right: ${n.sp1};
|
|
231
|
-
`,
|
|
231
|
+
`,Yt=i(X)`
|
|
232
232
|
color: ${e=>e.theme.colors.hero};
|
|
233
|
-
`,
|
|
233
|
+
`,Wt=i.span`
|
|
234
234
|
margin-left: 2px;
|
|
235
235
|
`,Vt=i(X)`
|
|
236
236
|
color: ${e=>e.theme.colors.hero};
|
|
237
|
-
`,
|
|
237
|
+
`,Zt=i.div`
|
|
238
238
|
display: flex;
|
|
239
239
|
align-items: center;
|
|
240
240
|
width: calc(100% - 96px);
|
|
241
|
-
`,
|
|
241
|
+
`,qt=i.div``,Jt=i.div``,Ht=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,B as Q,a1 as Fe,j as t,bV as W,g
|
|
|
369
369
|
`,gn=i(Lt)`
|
|
370
370
|
width: ${n.sp3};
|
|
371
371
|
height: ${n.sp3};
|
|
372
|
-
`,
|
|
372
|
+
`,Z=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
|
+
`,q=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,B as Q,a1 as Fe,j as t,bV as W,g
|
|
|
381
381
|
`,xn=i(b)`
|
|
382
382
|
margin-bottom: ${n.sp2};
|
|
383
383
|
display: flex;
|
|
384
|
-
`,H=i.div`
|
|
385
|
-
color: ${e=>e.theme.colors.hero};
|
|
386
384
|
`,J=i.div`
|
|
385
|
+
color: ${e=>e.theme.colors.hero};
|
|
386
|
+
`,H=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",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(
|
|
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(Y,{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(Y,{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(Y,{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;
|
|
@@ -404,12 +404,12 @@ 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
|
|
|
404
404
|
flex-direction: column;
|
|
405
405
|
align-items: center;
|
|
406
406
|
margin-top: ${n.sp4};
|
|
407
|
-
`,jn=i(
|
|
407
|
+
`,jn=i(Ye)`
|
|
408
408
|
padding-left: ${n.sp8};
|
|
409
409
|
padding-right: ${n.sp8};
|
|
410
410
|
color: ${e=>e.theme.colors.primary};
|
|
411
411
|
word-break: break-word;
|
|
412
|
-
`,bn=i(
|
|
412
|
+
`,bn=i(We)`
|
|
413
413
|
color: ${e=>e.theme.colors.hero};
|
|
414
414
|
padding-left: ${n.sp6};
|
|
415
415
|
padding-right: ${n.sp6};
|
|
@@ -422,7 +422,7 @@ 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
|
|
|
422
422
|
flex-direction: column;
|
|
423
423
|
align-items: center;
|
|
424
424
|
`,zn=i.span`
|
|
425
|
-
font-weight: ${
|
|
425
|
+
font-weight: ${Ze.medium};
|
|
426
426
|
margin-left: ${n.sp1};
|
|
427
427
|
`,Cn=i(Ve)`
|
|
428
428
|
color: ${o.success};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import{Y as P,fq as $,l as O,M as j,j as a,_ as w,gr as p,gW as u,o as s,gt as z}from"./index-DgtolMNd.js";import{n as d}from"./vendor-rkTZJa59.js";const o=j.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},M={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},v={value:"checkDeposit",label:o.moveMoney.checkDeposit},B=[y,g,M,v],A=[M,g,y,v],D=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:h,analytics:x,onSettingsClick:S})=>{const i=P(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||$(i),b=O.hasBillPayAccess(i.loggedInUserRoleMap),k=m.filter(t=>t.value==="accountStatement"),c=f===!0?B:A,r=h===!0?c:c.filter(t=>t.value!=="sendMoney"),N=b?r:r.filter(t=>t.value!=="payBill");return a.jsxs(_,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(E,{onClick:S,"data-testid":w("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?k:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>x?.trackAccountsListPageClicked("Move Money")})]})},E=d(z)`
|
|
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,fq as me,j as i,aX as pe,
|
|
1
|
+
import{u as ce,e as v,a2 as ae,Y as xe,fq as me,j as i,aX as pe,M as _,T as ue,o,c8 as he,s as K,K as L,_ as W,c as j,c7 as ge,ab as z,a1 as k,a6 as q,aU as we,C as x,f as A,c9 as je,a7 as $e,ap as ye,r as Y,J as $,g as C,B as T,d as Se}from"./index-DgtolMNd.js";import{b as D,n}from"./vendor-rkTZJa59.js";import{x as fe}from"./MeetingCalenderPopup-CCW2D5Ua-5MpvaUBJ.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%;
|
|
@@ -61,7 +61,7 @@ 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
|
|
|
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(q)`
|
|
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,fq as me,j as i,aX as pe,B as I,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(q)`
|
|
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,fq as me,j as i,aX as pe,B as I,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
|
+
`,_e=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
|
+
`,Ie=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,fq as me,j as i,aX as pe,B as I,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(K)`
|
|
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,fq as me,j as i,aX as pe,B as I,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=_.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountsPromo,w=_.getLocalizedStrings().common,d=_.getLocalizedStrings().commonSetUp.businessVerification.terms,ie=({maxInsuredAmountString:e})=>{const s=v();return i.jsxs(Te,{windowSize:s,children:[i.jsxs(_e,{windowSize:s,children:[i.jsx(Ie,{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))})]})},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.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})]})]})]})]})},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.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:I})=>{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"&&I?.()},[U,I,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(K,{style:{marginTop:o.sp2},children:r.promoText2})]}),c==="small"||c==="medium-compact"||c==="medium-regular"?i.jsx(Ke,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:a}):i.jsx(qe,{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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as Se,e as we,a2 as O,a as be,ca as Ae,
|
|
1
|
+
import{u as Se,e as we,a2 as O,a as be,ca as Ae,M as xe,a8 as U,j as t,cP as Ce,f as Pe,C as d,aX as ke,m as Fe,F as ve,dO as je,aS as Te,a4 as ze,o as Ee,r as a,y as Ve}from"./index-DgtolMNd.js";import{b as f,n as S}from"./vendor-rkTZJa59.js";import{D as De}from"./HelpButton-3gV_f3S3-lwdvDDRM.js";import{q as $e}from"./SetUpDefaultSection-BbQ_Qx2--B86sDbA4.js";import{f as Ie}from"./SpendMgmtSetupAccountSection-DkUfJ6ei-eGKMrIbZ.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-DT_NocG4-CIDmugko.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"./MeetingCalenderPopup-CCW2D5Ua-5MpvaUBJ.js";import"./ChargeCardUtils-CTnXnilO-BBCNz-CS.js";import"./CreditCardPaymentPlgSection-BfhV7QBL-BhBBV1aP.js";import"./ChaseOverlay-2qpcZYP8-CJCeLw1J.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:Ue,commonSetUp:_,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:W}=Be,{zeniAccountSetUp:z}=W,{setUp:E}=_,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:q,authParams:H,accountsPromoConfig:M,onFetchLinkTokenClick:Z,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:X,onBusinessVerificationSectionClick:K,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=Se(),i=we(),[A,g]=f.useState(!1),{fetchState:h,companyBillPayInfo:V,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,$=O(h),x=O(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,P)=>{const n=P[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=D.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),X(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&g(!0),A&&$==="In-Progress"&&h==="Completed"&&g(!1)},[o,h,$]),f.useEffect(()=>{const y=v.watch((P,{name:n})=>{n!=null&&P!=null&&Ae(()=>fe(n,P))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const C=pe?.isZeniAccountEnabled===!0,j=V?.isBusinessVerified===!0,ge=h==="In-Progress"||h==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const he=j?_.setUp.setupVerifiedSubTitle:z.setupSubTitle,I=b.mode==="light"?new U(b.colors.brandColorJadeLight):new U(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?g(!0):K?.()};return t.jsxs(Re,{children:[t.jsx(Ce,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>g(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:H,filesEndPoint:q,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>g(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:z.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(_e,{windowSize:i,children:he}),ge?t.jsx(We,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(qe,{windowSize:i,children:[t.jsx($e,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},status:V?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:M})]})})})]}),j&&!C?t.jsx(ze,{formId:R(B),primaryBtn:{label:z.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Ue.strings.empty},style:{padding:`12px ${Ee.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!C,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=S.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -21,7 +21,7 @@ import{u as Se,e as we,a2 as O,a as be,ca as Ae,B as xe,a8 as U,j as t,cP as Ce,
|
|
|
21
21
|
padding-top: ${e=>c.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
22
22
|
padding-bottom: ${e=>c.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
23
23
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,
|
|
24
|
+
`,We=S.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: calc(100vh - 110px);
|
|
@@ -29,7 +29,7 @@ import{u as Se,e as we,a2 as O,a as be,ca as Ae,B as xe,a8 as U,j as t,cP as Ce,
|
|
|
29
29
|
justify-content: center;
|
|
30
30
|
align-items: center;
|
|
31
31
|
background-color: ${e=>e.theme.colors.grey4};
|
|
32
|
-
`,
|
|
32
|
+
`,qe=S.div`
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
|
package/dist/assets/{ZeniCopyright-BUctH39C-C_feHk3O.js → ZeniCopyright-CDUB4TcP-DBmQcK_q.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{M as r,j as e}from"./index-DgtolMNd.js";function a(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{a};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import{j as g,M as E,_ as L,o as i,f as j,w as M}from"./index-DgtolMNd.js";import{b as $,n as m}from"./vendor-rkTZJa59.js";const S=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function O({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:b,setTotalBalance:k}){const[l,A]=$.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),z=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),b(r),k(u)},D=e=>`${C(e)}${S.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),b(t)},Y=$.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),b(f(e,a))},[b]);return $.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,b,n,Y]),g.jsxs(B,{sliderValue:l,children:[g.jsx(V,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:z}),g.jsx(H,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(G,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:D(l)}),g.jsx(N,{children:n.map((e,t)=>g.jsx(Q,{onClick:()=>T(t),"data-testid":L("slider-label",e.toString()),style:{left:F(t)},children:g.jsx(X,{isSelected:l>=t,children:I(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},F=o=>{switch(o){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},I=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?S.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),V=m.input`
|
|
2
|
+
width: 100%;
|
|
3
|
+
&[type="range"]::-webkit-slider-runnable-track {
|
|
4
|
+
height: 2px;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
background-color: ${o=>o.theme.colors.grey3};
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&[type="range"] {
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&[type="range"]::-webkit-slider-thumb {
|
|
15
|
+
-webkit-appearance: none;
|
|
16
|
+
height: ${i.sp5};
|
|
17
|
+
width: ${i.sp5};
|
|
18
|
+
border-radius: 100%;
|
|
19
|
+
margin-top: -${i.sp3}; // Centers thumb on the track
|
|
20
|
+
box-shadow: ${i.sp0} ${i.sp0} 2px ${j.blackColor};
|
|
21
|
+
background-image: ${o=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/slider-icon-${o.theme.mode==="dark"?"light":"dark"}.svg)`};
|
|
22
|
+
background-repeat: no-repeat;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
`,B=m.div`
|
|
26
|
+
position: relative;
|
|
27
|
+
width: 70%;
|
|
28
|
+
margin-left: 30px;
|
|
29
|
+
margin-right: 30px;
|
|
30
|
+
margin-bottom: 20px;
|
|
31
|
+
margin-top: ${i.sp5};
|
|
32
|
+
min-height: ${i.sp8};
|
|
33
|
+
`,H=m.div`
|
|
34
|
+
position: absolute;
|
|
35
|
+
height: 2px;
|
|
36
|
+
margin-top: -${i.sp2};
|
|
37
|
+
background-color: ${o=>o.theme.colors.hero};
|
|
38
|
+
`,N=m.div`
|
|
39
|
+
position: absolute;
|
|
40
|
+
bottom: 0;
|
|
41
|
+
top: ${i.sp5};
|
|
42
|
+
width: 100%;
|
|
43
|
+
display: flex;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
`,Q=m.span`
|
|
46
|
+
position: absolute;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
transform: translateX(-50%);
|
|
49
|
+
`,X=m(M)`
|
|
50
|
+
color: ${o=>o.isSelected?o.theme.colors.primary:o.theme.colors.grey1};
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
`,G=m(M)`
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: -${i.sp5};
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
color: ${j.primaryDark};
|
|
57
|
+
background-color: ${j.success};
|
|
58
|
+
display: flex;
|
|
59
|
+
border-radius: ${i.sp1};
|
|
60
|
+
justify-content: center;
|
|
61
|
+
align-items: center;
|
|
62
|
+
padding: 2px ${i.sp2};
|
|
63
|
+
`;export{O as v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{kb as o}from"./index-
|
|
1
|
+
import{kb as o}from"./index-DgtolMNd.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
|
package/dist/assets/{analyticsHelper-B3uAu0es-CqogBTHJ.js → analyticsHelper-BvNZGrlc-zOCblMc4.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{M as o,l as s}from"./index-DgtolMNd.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a0 as i}from"./index-
|
|
1
|
+
import{a0 as i}from"./index-DgtolMNd.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
|
package/dist/assets/{commonDimensions-WRL2ZVK_-CxdZfQVs.js → commonDimensions-BhQMg8M1--cVW0mQg.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as t}from"./index-
|
|
1
|
+
import{C as t}from"./index-DgtolMNd.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{e as
|
|
1
|
+
import{e as $,j as r,q as g,bj as M,o as n,aO as S,b6 as f,C as h,y as b,M as j,r as p}from"./index-DgtolMNd.js";import{b as v,n as s,j as P}from"./vendor-rkTZJa59.js";import{J as D}from"./CollapsableReportTable-CPOIqiL0-DbaBQG3h.js";const c={tooltipLeftPosition:new h(p[0],-156),tooltipTopPosition:new h(p[3],p[4]),tooltipWidth:new h(300,350)},u=P`
|
|
2
2
|
position: relative;
|
|
3
|
-
`,
|
|
3
|
+
`,y=s.div`
|
|
4
4
|
color: ${e=>e.theme.colors.primary};
|
|
5
5
|
${e=>e.windowSize==="small"?u:null}
|
|
6
|
-
`,
|
|
6
|
+
`,z=s(M)``,Y=s.div`
|
|
7
7
|
display: inline-block;
|
|
8
8
|
padding-left: ${n.sp2};
|
|
9
9
|
vertical-align: middle;
|
|
10
10
|
${e=>e.windowSize!=="small"?u:null}
|
|
11
|
-
`,O=s(
|
|
11
|
+
`,O=s(S)`
|
|
12
12
|
padding-left: ${n.sp3};
|
|
13
13
|
`,C=s(f)`
|
|
14
14
|
width: ${n.sp4};
|
|
@@ -33,6 +33,6 @@ import{e as x,j as r,p as g,bj as M,o as n,aO as b,b6 as f,C as h,t as j,B as v,
|
|
|
33
33
|
left: ${e=>c.tooltipLeftPosition.valuePx(e.windowSize)};
|
|
34
34
|
width: ${e=>c.tooltipWidth.valuePx(e.windowSize)};
|
|
35
35
|
top: calc(100% + ${e=>c.tooltipTopPosition.valuePx(e.windowSize)});
|
|
36
|
-
`,k=s(
|
|
36
|
+
`,k=s(b)`
|
|
37
37
|
color: ${e=>e.theme.colors.hero};
|
|
38
|
-
`,
|
|
38
|
+
`,I=e=>{const{infotipDescription:o,windowSize:i,isToolTipOpen:t}=e;return t===!1?null:r.jsx(T,{windowSize:i,children:r.jsx(k,{children:o})})};function A({balance:e,dateText:o,showInfotip:i,infotipDescription:t}){const l=$(),[w,d]=v.useState(!1),x=()=>w?r.jsx(F,{onClick:()=>{d(m=>!m)}}):r.jsx(C,{onClick:()=>{d(m=>!m)}});return r.jsxs(y,{windowSize:l,children:[r.jsx(z,{children:D(e)}),r.jsx(O,{children:o}),i===!0?r.jsx(g,{onClickAway:()=>d(!1),children:r.jsxs(Y,{windowSize:l,children:[r.jsx(x,{}),r.jsx(I,{isToolTipOpen:w,infotipDescription:t,windowSize:l})]})}):null]})}const{dateFormat:a}=j.getLocalizedStrings(),_=(e,o)=>{const{startDate:i,endDate:t}=e;return o&&i.month()!==t.month()?`in ${i.format(a.visual.MMMYYFormat)} - ${t.format(a.visual.MMMYYFormat)}`:i.month()===t.month()?`in ${i.format(a.visual.MMMDFormat)} - ${t.format(a.visual.MMMDCommaYYFormat)}`:`in ${i.format(a.visual.MMMDCommaYYFormat)} - ${t.format(a.visual.MMMDCommaYYFormat)}`},q=(e,o)=>{if(o.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let i=e.length-1;return o.thisPeriod!=null&&(i=e.findIndex(t=>t.startDate.isSame(o.thisPeriod.startDate,"date")&&t.endDate.isSameOrBefore(o.thisPeriod.endDate))),{startIndex:Math.max(i+1-o.numberOfPeriods,0),length:o.numberOfPeriods}},J=(e,o)=>{const i=e.length-1-o.offsetFromEnd;return{thisPeriod:e[i],numberOfPeriods:o.length,orderBy:"ascending_date"}},N=(e,o)=>{const i=o.startIndex+o.length-1>e.length?e.length-1:o.startIndex+o.length-1;return{thisPeriod:e[i],numberOfPeriods:o.length,orderBy:"ascending_date"}};export{_ as G,A as H,q as N,J as k,N as q};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bL as l,bM as f,bN as d}from"./index-
|
|
1
|
+
import{bL as l,bM as f,bN as d}from"./index-DgtolMNd.js";async function w(e,o,s,t,r=!1){t?.(!0);try{const a=await l({urlEndPoint:e,authParams:s,fileType:"pdf"});if(a.ok){const i=f(a.headers,o),n=await a.arrayBuffer();d(n,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{w};
|