@zeniai/web-cockpit-ui 1.15.11-dev → 1.15.12-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-CR6ypd9o-CPuvu8Ya.js → ACHDetailsPage-BY65AQjO-Cl2Tlmft.js} +3 -3
- package/dist/assets/{AIPerformancePage-C1OU9y7O-Cy2fQhSN.js → AIPerformancePage-B0a7EX_p-BepCOVvT.js} +17 -17
- package/dist/assets/AccountInfoPage-DUYpaV3v-CL9yEZEk.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js → AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js} +13 -13
- package/dist/assets/{AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js → AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js → AccountReconDetailsDrawerPage-BgPmbG_g-9wGOY4BN.js} +6 -6
- package/dist/assets/{AccountRow-CYv0Uw-I-DQCZ-Htb.js → AccountRow-B9ZIzZy7-C9nPv4rY.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js → AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js} +8 -8
- package/dist/assets/AddAddressForCardDrawer-B1oucxyM-I6biD8O7.js +6 -0
- package/dist/assets/{AddToWalletPage-C8keLYK6-Bn2sefuz.js → AddToWalletPage-B1GVnxRf-CndQH9vq.js} +7 -7
- package/dist/assets/{AgingReportsPage-L84_Ka8x-B6lkNbiG.js → AgingReportsPage-Bpp4te8m-HodwoOcT.js} +3 -3
- package/dist/assets/{AllUserItems-Duwm6ypi-CNUX4dOE.js → AllUserItems-CzugF5fn-8WnbDsqH.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js → ApAgingDetailPage-CyUQeZY0-DHH2Dilv.js} +4 -4
- package/dist/assets/{AppBasePage-DpK4Drat-Bt4q9XbU.js → AppBasePage-Di7hObbX-uZJvqLhK.js} +6 -6
- package/dist/assets/{AppDrawerContent-CR_WXwBz-CFNPiFQp.js → AppDrawerContent-KdrUuifo-DcEK8qwb.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js → ApprovalRulesSettingsPage-BRIgTh7x-CF-Pagn9.js} +1 -1
- package/dist/assets/{ArAgingChart-q1DoAAzl-IMdyrhPv.js → ArAgingChart-DeE5uhiT-BcI5cuvH.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js → ArAgingDetailPage-CFiIUBWl-BXhWrXr_.js} +2 -2
- package/dist/assets/{AttachmentView-CwbFyo5O-DSfNvuAU.js → AttachmentView-CfacSLcU-gwYezuYM.js} +7 -7
- package/dist/assets/{BankAccountSection-DNYhcdas-Ddz8QKzl.js → BankAccountSection-Bm8vdxFd-DKKdvH8R.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js → BankAccountWarningSection-M3w6kP33-ChP5wvhC.js} +13 -13
- package/dist/assets/{BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js → BankConnectionsSettingsPage-Dfrp0CKz-Dc4Qac0T.js} +9 -9
- package/dist/assets/{BillDetailPage-CJMkS2TO-CUCvdJLF.js → BillDetailPage-BA1D1bO3-Ofkt6QPd.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js → BillPayApprovalRuleDetailPage-DR8YzZt1-CQcbdF34.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js → BillPayApprovalRulesPage-CfZ4aSPM-C6nI7yKc.js} +11 -11
- package/dist/assets/{BillPayPromoPage-CKOYCq5V-C6OfnMF1.js → BillPayPromoPage-CP9Nvd2Q-CSZ8mSrV.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-Dibv-FD4-kIfalP85.js → BillPaySetUpPage-BwEONKu_-DARv5ESb.js} +6 -6
- package/dist/assets/{BillingSettingsPage-CG9gklV0-CGGGPaut.js → BillingSettingsPage-DicGyWCt-DwbmjVcE.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js → BillsBulkReviewDrawerPage-fS3-YEdi-DKZKHDla.js} +1 -1
- package/dist/assets/{BoxItem-DD7d5_ky-D2d9aLr-.js → BoxItem-Cr0Y9YBV-C2AawtqJ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-KfKed7nf-Bzkiryv0.js → BusinessVerificationPage-CvL9cdJm-Drj-tMQU.js} +3 -3
- package/dist/assets/CardNumberSubText-CXBKzGK5-CCtn2y_n.js +21 -0
- package/dist/assets/{CashbackDetailPage-D1ejnH4R-BltiUdCI.js → CashbackDetailPage-DOdPOiws-CAJxdhJ3.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js → ChargeCardDetailPage-DfhAyysD-Cgd92Yem.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js → ChargeCardListPage-Bnnu4TVk-DFZAYaNm.js} +20 -20
- package/dist/assets/{ChargeCardListTable-43l6tEOp-BbcKoGZ2.js → ChargeCardListTable-D7zGM8uo-70otSDDQ.js} +40 -40
- package/dist/assets/{ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js → ChargeCardPaymentHistoryPage-U00GbINt-BIwIfF30.js} +13 -13
- package/dist/assets/ChargeCardPromoPage-BpBiwjfr-DWB9eQGN.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js → ChargeCardSetupPage-Duj6901M-CIASuReJ.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js → ChargeCardStatementsPage-IkU86L31-ClrDQTtP.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js → CheckDepositDrawerPage-fHeTkRJF-CdLdCkIH.js} +13 -13
- package/dist/assets/{CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js → CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js} +32 -32
- package/dist/assets/{CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js → CompanyOfficerDetailsSection-DzDZe6MU-DWguMF6d.js} +10 -10
- package/dist/assets/{CompanyPassportCard-C5C3AykH-DcHAKmoT.js → CompanyPassportCard-BwiwJ82k-WRVY9XX8.js} +4 -4
- package/dist/assets/{CompanyPassportPage-D9zWgLlj-CWyCqrqW.js → CompanyPassportPage-Bz3rzG9k-e3d2ccIM.js} +15 -15
- package/dist/assets/{CompleteProfile-CMnTwbXr-DZqd8rFQ.js → CompleteProfile-CRXV-nNq-DpRL426l.js} +2 -2
- package/dist/assets/ConfettiBurst-CapRdPno-Dlg4XvfD.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js → CreateOrEditVendorPage-BjPotKnf-De1W0m4N.js} +12 -12
- package/dist/assets/{CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js → CreditCardPaymentDrawerPage-BTZ2Lph6-DMwCUXwV.js} +13 -13
- package/dist/assets/{CurrencySelectField-iXGB-cNy-BRjQHy5W.js → CurrencySelectField-DY0HeU0G-CSYPXeIb.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js → CustomerOnboardingActivationPage-BIKXkkcY-IFMHYYO1.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-BG6Jz35S.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js → CustomerOnboardingDetailPageSkeleton-DYiAmFsM-C0-Ot9Uw.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js → CustomerOnboardingNoStepsPage-gssFllMT-DT9hupvU.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js → CustomerOnboardingPage-CBJHj8BH-KUidrPxI.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js → CustomerOnboardingProductSuitePage-2V3vSjB8-BYRuju-o.js} +12 -12
- package/dist/assets/{Dashboard-BgpeTLE--ZF2wZzkh.js → Dashboard-BVvkfPf9-hp4sQi7A.js} +1 -1
- package/dist/assets/{DashboardReportPage-DJtJdsj5-D0j90p2O.js → DashboardReportPage-DHQ79h9V-C3FgTbgA.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js → DashboardSidebarBackgroundAnimation-B8Q-YA_s-DLXiBeQj.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js → DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js → DepositAccTransactionListPage-BMNdp-3Q-CyOUea8P.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js → DomesticWireDetailsPage-CCP6xoW_-BlmZjbpt.js} +1 -1
- package/dist/assets/{DownloadOverlay-CAfyh0W2-BJk2KPOA.js → DownloadOverlay-B2bK30rG-B-m5Mv2I.js} +18 -18
- package/dist/assets/{DrawerPage-DUeVKq0Q-DB8bkP9s.js → DrawerPage-BRJDrBlv-D28-uO54.js} +8 -8
- package/dist/assets/{EditPeoplePage-dVrpOcc1-DgbweCi9.js → EditPeoplePage-I8E1Rs3x-DbyrgA_C.js} +6 -6
- package/dist/assets/{EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js → EditReimbursementDetailPage-C7BPmFMR-DTPMhwLH.js} +19 -19
- package/dist/assets/EntityDetailPage-BraBJ2k1-Wq1E4JPl.js +18 -0
- package/dist/assets/{EntitySummarySection-CTU-YsQl-CSwZth_c.js → EntitySummarySection-DPmL3Bnf-CHA6TrKp.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js → ExpenseAutomationOverviewPage-CDaO_5Vj-gZyomnai.js} +12 -12
- package/dist/assets/{ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js → ExpenseAutomationPage-DUenmMQD-Yh_8CeIf.js} +59 -59
- package/dist/assets/{ExpressPayPage-DMLKT4Nf-6YIrNvk0.js → ExpressPayPage-DxO1mXNE-DeRja-sm.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js → FeaturePreviewPage-BWPNZcYs-CdJLxzVS.js} +1 -1
- package/dist/assets/{FollowStepsSection-DkBj9-hs-mJdSbXed.js → FollowStepsSection-DhVGeocZ-Ddk_z58q.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-D1fbfssG-CByDE9EN.js → GlobalReviewListPage-8eiQXg7N-pPWYTyKl.js} +5 -5
- package/dist/assets/{InformationCardStack-CBsOTiOc-CgAe3fDD.js → InformationCardStack-CHVjIv01-Y1Eih__r.js} +2 -2
- package/dist/assets/{InsightsCardStack-BEpCIgoE-Bd7MJjyH.js → InsightsCardStack-x_tohY2Z-DNptH2Sv.js} +2 -2
- package/dist/assets/{InsightsSection-DcKb1p5B-QoDxUPcZ.js → InsightsSection-D7g00fg7-Bl1k6KMG.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js → IntegrationsSettingsPage-DVRtPRi9-ig1iJJpM.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js → InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js → InternationalWireVerificationPage-CHvUYgd8-B9TQJM22.js} +3 -3
- package/dist/assets/{InviteFormPage-BpgeFttq-BbrTw2ZL.js → InviteFormPage-Cw0TIkwc-D0dTmTLg.js} +25 -25
- package/dist/assets/{InvitePageListView-B6wJomGk-pTRfOIaC.js → InvitePageListView-B4gEzFp2-1aqNeIHc.js} +19 -19
- package/dist/assets/{InvitePeoplePage-BArRXjlz-BHQlwXvg.js → InvitePeoplePage-Bnsqv_IY-DhNBoZS8.js} +5 -5
- package/dist/assets/{InvoiceUploadSection-CTqSftrm-CyVrgEkl.js → InvoiceUploadSection-CW4hHmAi-DKFSw8te.js} +20 -20
- package/dist/assets/{IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js → IssueChargeCardPage-sM826Uvu-DMhbp0aa.js} +21 -21
- package/dist/assets/{LabeledAddressValue-D09c5wJR-784mespz.js → LabeledAddressValue-AuzW29LK-99vdzqZR.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js → LabeledAddressValueField-C_KatgTA-ByiPbJgm.js} +1 -1
- package/dist/assets/LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js → LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js → LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js} +2 -2
- package/dist/assets/LabeledDocumentField-CVBhbPHv-9665D02s.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js → LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js} +5 -5
- package/dist/assets/{LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js → LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js} +1 -1
- package/dist/assets/{LabeledText-BJrI_PVT-oE-g3K8U.js → LabeledText-Da0Yn6u8-CFgd90E4.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js → LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js} +9 -9
- package/dist/assets/{LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js → LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.js} +7 -7
- package/dist/assets/{LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js → LinkJETransactionPage-Dx4OE1-O-HLvvvZHd.js} +9 -9
- package/dist/assets/{LockCardPage-ChGk6VJX-BzQI96FY.js → LockCardPage-B3P6wcK_-Ckpg2eew.js} +23 -23
- package/dist/assets/{LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js → LowBalancePopup-Dp1vEYQQ-DIw_NRSy.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CrMUHXPB.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-CWTR8m-D.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-UtoyLAup.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js → MagicLinkSuccessPage-Iva17nX0-DhK2jGAZ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js → MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js} +1 -1
- package/dist/assets/MailingDetailsSection-IQJY4Yl0-C_b76P8R.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js → MyBankConnectionsSettingsPage-Ad6xGN08-JjXBlik9.js} +6 -6
- package/dist/assets/{MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js → MyPendingActivationChargeCardListPage-BYZ61huS-YKZjMs5X.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js → MyProfileSettingsPage-bEru4GQJ-Cj303JTH.js} +6 -6
- package/dist/assets/{NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js → NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js} +4 -4
- package/dist/assets/{NavigationArrow-9HOMBxoh-CWFuMeOE.js → NavigationArrow-CKvBs9-h-DGD1r2EE.js} +1 -1
- package/dist/assets/{NavigationDots-DPf5iy8f-DNlf5jCf.js → NavigationDots-BdcVrwsL-D_WEvn6f.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js → NewGlobalMerchantPage-Cx38uQAS-BBICE4OG.js} +7 -7
- package/dist/assets/{NoDataChart-CDHiYyiO-DHWgty-U.js → NoDataChart-BbyxZE2g-CtN5BYbf.js} +2 -2
- package/dist/assets/{NoDataTable-BoAJZxdS-ClNYPP1-.js → NoDataTable-BNZWGvtm-S9Fe9Ovx.js} +1 -1
- package/dist/assets/{NotFoundPage-C-EoeDss-DqOvJ6YN.js → NotFoundPage-CssnEz-k-ccXdF3op.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js → NotificationSettingsPage-DmgxnO9I-BH2rOJH7.js} +15 -15
- package/dist/assets/{NotificationsListConfig-CBQwRqMo-DVBdjTys.js → NotificationsListConfig-DdMKLqFI-DwvXMwFg.js} +1 -1
- package/dist/assets/{NotificationsPage-BPfRskWZ-_QOFXGgt.js → NotificationsPage-B9XIE39J-CejudHUF.js} +12 -12
- package/dist/assets/{OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js → OpExByVendorPage-5wnFvYXt-D6A9jnRY.js} +4 -4
- package/dist/assets/{OverlayContainerPage-IDTUbuAC-B16J5Isr.js → OverlayContainerPage-IDTUbuAC-dv-sDcTQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js → PandLWithForecastPage-CrtKdSaD-CYng6puq.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js → PaymentAccountSetupBillingAddressSection-CQki5l4P-CuMomXeK.js} +9 -9
- package/dist/assets/{PeoplePage-BHfn-oLF-CGOapKvG.js → PeoplePage-BCjxJl1y-JBCpiTMQ.js} +10 -10
- package/dist/assets/{Preview-B9tjpKKL.js → Preview-DMKZka6j.js} +1 -1
- package/dist/assets/{ProductsCarousel-ChWN6HhX-DEhcI5NW.js → ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js} +1 -1
- package/dist/assets/{PromoBaseCards-BWpqciJW-DEw7mp3r.js → PromoBaseCards-6vRaZnUg-CBqkAept.js} +12 -12
- package/dist/assets/{QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js → QBOConnectionDialog-C-v9bhUW-CtiRv4Zj.js} +2 -2
- package/dist/assets/{QBOSetupSection-CR7JQ_H9-CokKwnfI.js → QBOSetupSection-DPhwp1AB-DxJDpMHr.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js → ReimbursementApprovalRuleDetailPage-Crz8RArL-DQzyot-2.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js → ReimbursementApprovalRulesPage-CHrPVveg-DDlyKkun.js} +13 -13
- package/dist/assets/{ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js → ReimbursementDetailPage-BlfifQuc-DXXQTfQu.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js → ReimbursementPromoPage-B6rhhOye-CmIRL-Wr.js} +12 -12
- package/dist/assets/{ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js → ReimbursementSetUpPage-BQwRjKZ5-CWVOKlly.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js → ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-DXx1vhRK.js} +1 -1
- package/dist/assets/{ReloadCard-Bf1jxC4B-CjPHohhm.js → ReloadCard-DETUOoLJ-Dww2RtAQ.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DOQm7O9r-DcS436ql.js → ReportTableViewSelector-DSDclygb-CPmwPKtZ.js} +29 -29
- package/dist/assets/{ReportsPage-Deg59aYB-VaMTaqOC.js → ReportsPage-BrmMmYET-qm3o80ge.js} +4 -4
- package/dist/assets/{RevenueChart-C1RR_51e-Bn1LRvSc.js → RevenueChart-B711QWTX-ztc9NA65.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js → ReviewDetailsPage-Bkw0FfE--BL2mmyys.js} +52 -52
- package/dist/assets/{ReviewOverlay-CKB9LulM-CUNk2W-s.js → ReviewOverlay-CkB3Z8hH-CX5FMXRQ.js} +11 -11
- package/dist/assets/{RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js → RoleWithToolTip-CkpqxMzB-CgYpd1vG.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js → ScheduleDetailsFixedAssetsPage-C-4zVu03-B-3H4CNH.js} +9 -9
- package/dist/assets/{ScheduleDetailsPage-9oUScaFD-Czq02-r0.js → ScheduleDetailsPage-D4mYRUnv-CIK0kUkx.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js → ScheduleSequenceTable-q-031a_C-Cl6g3k1V.js} +8 -8
- package/dist/assets/{ScreenRoutes-DhG0rKVC.js → ScreenRoutes-D9-sd0S3.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js → SetUpAccountSection-Mm8JelXc-DJkSxyLc.js} +6 -6
- package/dist/assets/{SignIn-CLLS0cqt-G1jKv-f1.js → SignIn-faWXqi7o-BVPJ-uzq.js} +16 -16
- package/dist/assets/{SignInScreen-BdhVUUiU.js → SignInScreen-DTTr8TvQ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C1hg05PB-BMXGChah.js → SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js → SpendManagementPerTabPage-vZNK6DuA-DHQi0ok2.js} +23 -23
- package/dist/assets/{SpendManagementSection-DFiL_yNI-ca-vlRub.js → SpendManagementSection-CeDmloNd-CJQVf2yR.js} +1 -1
- package/dist/assets/StatementItem-CJShifEl-gXZiawe9.js +31 -0
- package/dist/assets/StatementsPage-BRxP-Jwn-CibgKP9E.js +58 -0
- package/dist/assets/{StatusSwitcher-DPzwQ_o1-DkaIBc47.js → StatusSwitcher-CPuONMOx-IUewbXcR.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js → SubTabSwitcher-ibTbIxr5-87SzITqK.js} +1 -1
- package/dist/assets/SummaryCard-vWpHXMPE-j4-YbXA_.js +1 -0
- package/dist/assets/{TaskManagementPage-BRAt26fv-om-zuIgh.js → TaskManagementPage-COs5ebo9-LStJ5YyB.js} +22 -22
- package/dist/assets/{TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js → TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js → TimeframeSwitcher-BYXKRKtc-BTNUudrw.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js → TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js} +2 -2
- package/dist/assets/{TopExCard-LesAF7Ot-CWhGtv9n.js → TopExCard-Bs4nI9Q9-C9Jpq9jc.js} +10 -10
- package/dist/assets/{TopExDetailPage-BTG2W95T-CAgJv3QR.js → TopExDetailPage-B0kS11k0-IiO7dIt-.js} +8 -8
- package/dist/assets/{TransactionDetailPage-BqHVfK2K-CBoMen48.js → TransactionDetailPage-BXl6y7sy-B_wNV2dF.js} +1 -1
- package/dist/assets/{TransactionList-CGmpQyNM-BGohJsUE.js → TransactionList-BYXPQXN1-C2WkgSOj.js} +11 -11
- package/dist/assets/{TransactionListBig-CSYpIxGa-Bd2xJZzC.js → TransactionListBig-lrbHUS38-D0fzERPt.js} +16 -16
- package/dist/assets/{TransactionListPage-CV5U_pA6-DsUhS_R3.js → TransactionListPage-OOLJzsmw-Dmoozb9S.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js → TransactionVendorDetailPage-CmjrngD2-DvxXX996.js} +4 -4
- package/dist/assets/{TransferDrawerPage-Cm5reG35-B5qd6-NU.js → TransferDrawerPage-CnFrzA_M-C6390hZV.js} +15 -15
- package/dist/assets/{TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js → TreasuryOverviewPage-CGxccIcU-CgXb0qH5.js} +25 -25
- package/dist/assets/{TreasuryPromoPage-BagqhZgO-BswlnynL.js → TreasuryPromoPage-BmMVa8cX-BOYWbSX7.js} +8 -8
- package/dist/assets/{TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js → TreasuryStatementsPage-DL94A9mN-DZ6yoZ74.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js → TreasuryTaxLetterPage-BJ9-ZsCQ-DnDmd1Op.js} +2 -2
- package/dist/assets/{TrendChart-CqxpheW7-DiPHNgeC.js → TrendChart-ClyJQTBF-TLthRW_O.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CK_je__x-C1Qk91i9.js → TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js → UncategorizedAccountsMappingPage-BLwx8CVj-dhOY5qHO.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-ULhazfl5-DPlYAGvC.js → UnitIntegrationPage-CgbOyIBt-nz_B7FQx.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js → UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js} +1 -1
- package/dist/assets/Vendor2FAPopup-DQtP0bm--CecMTi1i.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CuCteqbL-CrfAmoz7.js +1 -0
- package/dist/assets/{VendorDetailPage-DPiVnh93-CAOlBr9d.js → VendorDetailPage-CFkDOdUe-B1GqtBiD.js} +93 -93
- package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-N7obKAAe.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js → VendorFiling1099EditablePage-Bkn9p2Sf-xXTYWhq9.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js → VendorFirstReviewPage-CKvnB4Q7-wJi46XXQ.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js → VendorInternationalWireDetailsPage--B2XU_hP-CbzsnIo2.js} +8 -8
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-BecYrM5_.js +1 -0
- package/dist/assets/{VendorsAccountsSection-vd0V4UXY-BNPavepY.js → VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js} +3 -3
- package/dist/assets/{VerifyDevice-DbyjJVTH-_0YHPiw6.js → VerifyDevice-dFsnt44d-C1LsKxM_.js} +3 -3
- package/dist/assets/{VideoPlayer-CoI7aj8a-B3tmTxCF.js → VideoPlayer-Dy6rImBJ-QOYygi-i.js} +2 -2
- package/dist/assets/{VideoPopup-Bp7fCV1r-BulLqsQx.js → VideoPopup-DM5Buf4j-CFLugl6n.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-jMslD0FX-CrUmOPLP.js → WarningsDrawerPage-C8i8v3rq-BqkJBNMa.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js → ZeniAccountDetailPage-CI7znfzM-Vqgai5nW.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js → ZeniAccountListViewPage-CBnYQpc8-Dv81IpSI.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js → ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js → ZeniAccountPromoPage-B_NJMHHV-DWsuBCOP.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js → ZeniAccountSetupPage-C9cJ0F8e-BF5g947U.js} +1 -1
- package/dist/assets/{ZeniCopyright-C8wXM9Gr-qMGnv8al.js → ZeniCopyright-DzWFQiAt-07AcK5yb.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js → ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-flwj0i1s.js → add-to-wallet-DgdBD8_G-pWZi41H8.js} +1 -1
- package/dist/assets/{analytics-EizVTK6x.js → analytics-BvXI56dE.js} +1 -1
- package/dist/assets/{analyticsHelper-DjynPp_X-s29on7ka.js → analyticsHelper-CzevEN9D-BUYGstD0.js} +1 -1
- package/dist/assets/{analyticsHelper-BRPQgKH6.js → analyticsHelper-DP-LgJhR.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DbFUNUBk.js → arrow-south-east-round-PEovUgvH-B9_UwdI_.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-T83isyAA.js → auto-transfer-rule-mbafm5D3-CRwly3T1.js} +1 -1
- package/dist/assets/{chartTypes-CXNoxZp_-CJ_wyUtd.js → chartTypes-n3TS0IBf-DRx7aLxA.js} +1 -1
- package/dist/assets/{commonDimensions-i9Qxk1O2-XYIUogON.js → commonDimensions-6BcP8EhU-CPpjZ-C4.js} +1 -1
- package/dist/assets/{commonTypes-CcEHeA3z-sEqnsPbS.js → commonTypes-Q1WP-Ym3-Cmq2uCPt.js} +1 -1
- package/dist/assets/{constants-BGXrwDfx.js → constants-B97TsRRb.js} +1 -1
- package/dist/assets/{core-C5wq1_Bk.js → core-CIefpDlV.js} +1 -1
- package/dist/assets/{dash.all.min-B4_top4V.js → dash.all.min-RUznf6Xj.js} +1 -1
- package/dist/assets/{detailCommon-DVTOw71--Wk0Evzej.js → detailCommon-D3YbmSu3-CiTGsaNF.js} +7 -7
- package/dist/assets/{downloadPdf-1-N8Pf0G-CMW67koi.js → downloadPdf-Bf11NXjY-DUwuSlsF.js} +1 -1
- package/dist/assets/{empty-fb3xJ2Vb.js → empty-BQQX0XD1.js} +1 -1
- package/dist/assets/{empty-DuP8pCf7.js → empty-DJIJO66a.js} +1 -1
- package/dist/assets/{epic-4LjfR2JF.js → epic-C6ygjjdM.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BtixTK1k.js → gift-box-Cmt9OgIZ-BWCTqneo.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt--UnjJCr0.js → graphic-no-data-l-DU4J8fDt-C8GXOUxr.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js → graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BSCdA5zo.js → handshake-BPg58FML-BCnezDN8.js} +1 -1
- package/dist/assets/{index-tW1FBxGF.js → index-BzA0Xv0P.js} +1 -1
- package/dist/assets/{index-Ko3PkHk3.js → index-CQs92n2L.js} +1 -1
- package/dist/assets/{index-CzJUh-iK.js → index-DAj0zPwk.js} +1 -1
- package/dist/assets/{index-J8KI2Uyc.js → index-DtRGsySN.js} +1 -1
- package/dist/assets/{index-DVgY55Ab.js → index-WEj6FS32.js} +10 -8
- package/dist/assets/{index-_TIifI_v.js → index-rikpsdq-.js} +1 -1
- package/dist/assets/{index-DqRCO-H6.js → index-smQbM7l5.js} +1 -1
- package/dist/assets/{lexical-xuKHFvUb.js → lexical-Dp1JhPKz.js} +1 -1
- package/dist/assets/{liveblocks-B14TpO3l.js → liveblocks-CrODURpx.js} +1 -1
- package/dist/assets/{lottie-BIQaRIZs.js → lottie-hIwSKdQS.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js → mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js → mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-COTrRRrU.js} +1 -1
- package/dist/assets/{mui-CR-wYMmN.js → mui-BTtN6lbG.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Dp0GDjdb.js → page-detail-CWX5S47F-vL4oE1Hd.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CInIhD3e.js → radio-default-CiSgisfh-CzTG_UVX.js} +1 -1
- package/dist/assets/{react-D2cRiLcJ.js → react-BZDhaeWn.js} +1 -1
- package/dist/assets/{react-C8urvt-z.js → react-CZT8R2xg.js} +1 -1
- package/dist/assets/{react-D_2r5dmn.js → react-D8h_J9ua.js} +1 -1
- package/dist/assets/{react-BW87X3sj.js → react-DTawl0rf.js} +1 -1
- package/dist/assets/{react-DHV7aTmN.js → react-FdUpWGdd.js} +2 -2
- package/dist/assets/{react-CCZeJYV_.js → react-RUf-G1wy.js} +1 -1
- package/dist/assets/{react-BHi_eEiU.js → react-dGc0O2tO.js} +1 -1
- package/dist/assets/{react-CcqTmi2W.js → react-yNxKnTJa.js} +1 -1
- package/dist/assets/{recharts-C3mrSjO2.js → recharts-BfU_srYC.js} +1 -1
- package/dist/assets/{sentry-DMXY90dB.js → sentry-B0WgNUxa.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BYs2EC5i.js → shield-DOlUxcFf-Z1Xg2OMK.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BzzH0Io4-q6KiTxht.js +1 -0
- package/dist/assets/{toChartData-Dv-QcYgv-C4sd-ifC.js → toChartData-Bl-lEYbQ-Cv_10vbn.js} +1 -1
- package/dist/assets/{uploadAttachment-DSmux1Yp-Dl4ms4pR.js → uploadAttachment-B_0cN84g-C7pQHANb.js} +8 -8
- package/dist/assets/{uploadReceipts-DJRtId-4-CHJq-raT.js → uploadReceipts-DJRtId-4-B1jpX457.js} +1 -1
- package/dist/assets/{url-20Ls3nS_.js → url-CHEcUoer.js} +1 -1
- package/dist/assets/{url-DojBAuFA.js → url-D-l_68oE.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-C5_U_XBl.js → useLongPress-GCK2COYQ-BysG3lqG.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-l2et8N9o.js → usp-line-BBd1wKwW-ZROsAmzr.js} +1 -1
- package/dist/assets/{utils-BCuN6woZ.js → utils-DZQMbqmw.js} +1 -1
- package/dist/assets/{zeni-epic-state-BXMuLX_S.js → zeni-epic-state-DnAAAEmj.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-CyJ0eFqc-oDTaIYye.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-D1XOklKz-D41jak46.js +0 -6
- package/dist/assets/CardNumberSubText-sE2DGwYG-B174guLL.js +0 -21
- package/dist/assets/ChargeCardPromoPage-D0np03A--Bpq9wCjH.js +0 -222
- package/dist/assets/ConfettiBurst-BRie0bid-CKCgsLzT.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +0 -1
- package/dist/assets/EntityDetailPage-Cpdbw3XR-C8k1xBJc.js +0 -18
- package/dist/assets/LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js +0 -16
- package/dist/assets/LabeledDocumentField--JZn0qDn-Ck_rkdmF.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js +0 -1
- package/dist/assets/MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js +0 -21
- package/dist/assets/StatementItem-CdytKcBE-CavJc8fo.js +0 -31
- package/dist/assets/StatementsPage-DU32IYXF-Dj_pMhMm.js +0 -58
- package/dist/assets/SummaryCard-D3ev0zFr-CHfcyxTY.js +0 -1
- package/dist/assets/Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DnB2b-v_-C755XLlO.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js +0 -1
- package/dist/assets/toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{
|
|
2
|
-
${B(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(C,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(j,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...S.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},
|
|
1
|
+
import{J as D,V as s,B,c as C,r as j,b as S,o as n,F as M,y as $,a as E,d as L,x as P,M as z,p as h,e as N,l as T,u,f as A}from"./index-WEj6FS32.js";import{n as a}from"./mui-BTtN6lbG.js";import{cG as F}from"./zeni-epic-state-DnAAAEmj.js";import"./sentry-B0WgNUxa.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="69f215e4-9661-4c3e-911b-ea64f29fb106",r._sentryDebugIdIdentifier="sentry-dbid-69f215e4-9661-4c3e-911b-ea64f29fb106")}catch{}})();const e=M.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=D(),I=r!=null?F(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=R(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=O(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(Q,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{children:[s.jsx(U,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:B(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
|
|
2
|
+
${B(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(C,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(j,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...S.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},R=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},O=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},Q=a.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
padding-top: ${n.sp3};
|
|
@@ -13,15 +13,15 @@ import{Q as D,V as s,B,c as C,r as j,b as S,o as n,F as M,y as $,a as E,d as L,x
|
|
|
13
13
|
width: 100%;
|
|
14
14
|
`,H=a.div`
|
|
15
15
|
position: relative;
|
|
16
|
-
`,
|
|
16
|
+
`,J=a.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
margin: ${n.sp3} ${n.sp8} 102px ${n.sp8};
|
|
20
|
-
`,
|
|
20
|
+
`,U=a(z)`
|
|
21
21
|
color: ${r=>r.theme.colors.primary};
|
|
22
22
|
margin-bottom: ${n.sp3};
|
|
23
23
|
margin-right: ${n.sp6};
|
|
24
|
-
`,
|
|
24
|
+
`,W=a.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: row;
|
|
27
27
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as Te,
|
|
1
|
+
import{a9 as Te,J as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bS as B,o,bB as Le,b as D,co as W,cp as F,cq as R,ac as Ne,em as He,p as y,er as Ee,aP as C,T as ue,ai as w,F as X,bJ as Ie,bN as Me,aT as Ue,y as b,gY as Oe,ff as ae,u,al as q,hw as We,b7 as Fe,a$ as Re,hx as Je,f as Ye,hy as Ge,e as Ve,g$ as _e,d4 as Ke,am as Xe,a as qe,ch as Ze}from"./index-WEj6FS32.js";import{a as r}from"./sentry-B0WgNUxa.js";import{n as a}from"./mui-BTtN6lbG.js";import{FS as Qe,bL as J}from"./zeni-epic-state-DnAAAEmj.js";import{$ as et}from"./BoxItem-Cr0Y9YBV-C2AawtqJ.js";import{w as tt}from"./downloadPdf-Bf11NXjY-DUwuSlsF.js";import{H as ot}from"./DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js";import{U as at}from"./ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-BfU_srYC.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./commonDimensions-6BcP8EhU-CPpjZ-C4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="8def06e6-18f0-4dc9-91cf-1dd1f905bc0b",e._sentryDebugIdIdentifier="sentry-dbid-8def06e6-18f0-4dc9-91cf-1dd1f905bc0b")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.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"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.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"})),ut=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100vh;
|
|
@@ -8,12 +8,12 @@ import{a9 as Te,Q as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bS as B,o,bB as
|
|
|
8
8
|
background-color: ${e=>e.theme.colors.grey5};
|
|
9
9
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
10
10
|
background-color: ${e=>e.theme.colors.grey4};
|
|
11
|
-
`,ie="editNickName-form",Y="checkingAccountNickName",ht={tickLabelText:new qe("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new b(u[3],u[8]),accountDetailHeaderPaddingBottom:new b(u[3],u[6]),accountDetailHeaderPaddingLeft:new b(u[3],u[8]),accountDetailContentMarginTop:new b(u[5],u[7]),areaChartHeight:new b(114,209),accountDetailHeaderGap:new b(18,100,184),accBtnsGap:new b(0,u[11]),styledNoTransactionIconSize:new b(60,120)},{common:N,spendManagement:mt}=X.getLocalizedStrings(),{zeniAccounts:i}=mt,V=X.getLocalizedStrings().dateFormat,xt=X.getLocalizedStrings().peoplePage,ne=e=>t.jsx(_t,{children:e}),he=r.memo(({accountHistory:e})=>{const d=H(),n=pe(),[m,$]=r.useState(),j=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let p="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),p=G(l[0].payload?.date).format(V.visual.DMMMYYYYFormat)),t.jsxs(Vt,{children:[t.jsx(le,{children:p}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:p,y:c}=l,{value:v}=l.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const S=A?G(v).format(V.visual.MMMformat):G(v).format(V.visual.MMMDFormat);return t.jsx(zt,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,d]),k=r.useCallback(({cx:l,cy:p,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==p)&&$({x:l,y:p}),t.jsx(Jt,{cx:l,cy:p,strokeWidth:1,r:u[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(uo,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(d),width:"99%",children:t.jsxs(nt,{data:j,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ht,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Et,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(It,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:u[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:d,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:j,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:d,zeniAccountDetail:e}),t.jsxs(At,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(Mt,{windowSize:f,children:[t.jsxs(Rt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Gt,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[j?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(no,{}),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(bt,{windowSize:f,children:[t.jsxs(wt,{children:[t.jsx(Qt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Zt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((p,c)=>t.jsx(ot,{data:p,boxType:et(c,e.transactionList.length)},p.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:d,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:j,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,S]=r.useState(!1),[E,I]=r.useState(!1),[Q,xe]=r.useState(!1),Z=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||Ze(ee.loggedInUserRoleMap);r.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]),r.useEffect(()=>{Q===!0&&setTimeout(()=>{xe(!1)},800)},[Q]);const ge=n.transactionList.length>4,M=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),O=n.accountUpdateStatus.editName.fetchState,oe=Be(O),be=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},je={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};r.useEffect(()=>{oe==="In-Progress"&&O==="Completed"&&(I(!1),c.reset())},[oe,O,c]),r.useEffect(()=>{E&&v(Y)},[E,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ae=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:Z==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,Z]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(jt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:M.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(W,{titleComponent:t.jsx(R,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(F,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(W,{titleComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(W,{titleComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:je,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:Y,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Ee(c.formState.errors,Y)===!0?y.importantLight:M.colors.background,border:`1px solid ${M.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:Ae,onAccountDetailClick:x,onViewAllTransactionClick:j,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:p,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ut,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:d})=>{const n=H(),[m,$]=r.useState(!1),[,j]=Oe(),[x,g]=r.useState(!1),k=()=>{j(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(St,{children:[t.jsx(Yt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),d("totalBalance")]})}),t.jsx(qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(Dt,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Ot,{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(Ft,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
|
|
11
|
+
`,ie="editNickName-form",Y="checkingAccountNickName",ht={tickLabelText:new qe("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new b(u[3],u[8]),accountDetailHeaderPaddingBottom:new b(u[3],u[6]),accountDetailHeaderPaddingLeft:new b(u[3],u[8]),accountDetailContentMarginTop:new b(u[5],u[7]),areaChartHeight:new b(114,209),accountDetailHeaderGap:new b(18,100,184),accBtnsGap:new b(0,u[11]),styledNoTransactionIconSize:new b(60,120)},{common:N,spendManagement:mt}=X.getLocalizedStrings(),{zeniAccounts:i}=mt,G=X.getLocalizedStrings().dateFormat,xt=X.getLocalizedStrings().peoplePage,ne=e=>t.jsx(_t,{children:e}),he=r.memo(({accountHistory:e})=>{const d=H(),n=pe(),[m,$]=r.useState(),j=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let p="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),p=J(l[0].payload?.date).format(G.visual.DMMMYYYYFormat)),t.jsxs(Gt,{children:[t.jsx(le,{children:p}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:p,y:c}=l,{value:v}=l.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const S=A?J(v).format(G.visual.MMMformat):J(v).format(G.visual.MMMDFormat);return t.jsx(zt,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,d]),k=r.useCallback(({cx:l,cy:p,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==p)&&$({x:l,y:p}),t.jsx(Vt,{cx:l,cy:p,strokeWidth:1,r:u[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(uo,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(d),width:"99%",children:t.jsxs(nt,{data:j,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ht,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Et,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(It,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:u[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:d,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:j,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:d,zeniAccountDetail:e}),t.jsxs(At,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(Mt,{windowSize:f,children:[t.jsxs(Rt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Jt,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[j?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(no,{}),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(bt,{windowSize:f,children:[t.jsxs(wt,{children:[t.jsx(Zt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((p,c)=>t.jsx(ot,{data:p,boxType:et(c,e.transactionList.length)},p.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:d,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:j,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,S]=r.useState(!1),[E,I]=r.useState(!1),[Z,xe]=r.useState(!1),Q=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||Qe(ee.loggedInUserRoleMap);r.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]),r.useEffect(()=>{Z===!0&&setTimeout(()=>{xe(!1)},800)},[Z]);const ge=n.transactionList.length>4,M=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),O=n.accountUpdateStatus.editName.fetchState,oe=Be(O),be=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},je={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};r.useEffect(()=>{oe==="In-Progress"&&O==="Completed"&&(I(!1),c.reset())},[oe,O,c]),r.useEffect(()=>{E&&v(Y)},[E,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ae=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(V,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(V,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(V,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:Q==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,Q]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(jt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:M.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(W,{titleComponent:t.jsx(R,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(F,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(W,{titleComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(W,{titleComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:je,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:Y,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Ee(c.formState.errors,Y)===!0?y.importantLight:M.colors.background,border:`1px solid ${M.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:Ae,onAccountDetailClick:x,onViewAllTransactionClick:j,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:p,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ut,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:d})=>{const n=H(),[m,$]=r.useState(!1),[,j]=Oe(),[x,g]=r.useState(!1),k=()=>{j(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(St,{children:[t.jsx(Yt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),d("totalBalance")]})}),t.jsx(qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(Dt,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Ot,{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(Ft,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: center;
|
|
16
|
-
`,yt=a(
|
|
16
|
+
`,yt=a(Je)`
|
|
17
17
|
width: ${e=>h.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
18
18
|
height: ${e=>h.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
19
19
|
margin-top: 128px;
|
|
@@ -150,7 +150,7 @@ import{a9 as Te,Q as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bS as B,o,bB as
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
margin-left: ${o.sp3};
|
|
153
|
-
`,
|
|
153
|
+
`,Jt=a.div`
|
|
154
154
|
display: flex;
|
|
155
155
|
flex-direction: row;
|
|
156
156
|
align-items: center;
|
|
@@ -168,7 +168,7 @@ import{a9 as Te,Q as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bS as B,o,bB as
|
|
|
168
168
|
`,Yt=a(w)`
|
|
169
169
|
display: flex;
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
|
-
`,
|
|
171
|
+
`,Gt=a.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
align-items: center;
|
|
174
174
|
flex-direction: column;
|
|
@@ -180,7 +180,7 @@ import{a9 as Te,Q as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bS as B,o,bB as
|
|
|
180
180
|
border-radius: ${o.sp1};
|
|
181
181
|
padding: ${o.sp0} ${o.sp2};
|
|
182
182
|
background-color: ${y.blackColor};
|
|
183
|
-
`,
|
|
183
|
+
`,Vt=a.circle`
|
|
184
184
|
stroke: ${e=>e.theme.colors.brandColorJade};
|
|
185
185
|
fill: ${e=>e.theme.colors.grey5};
|
|
186
186
|
`,le=a(w)`
|
|
@@ -202,7 +202,7 @@ import{a9 as Te,Q as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bS as B,o,bB as
|
|
|
202
202
|
margin-right: ${o.sp2};
|
|
203
203
|
cursor: pointer;
|
|
204
204
|
color: ${e=>e.theme.colors.hero};
|
|
205
|
-
`,Xt=a(
|
|
205
|
+
`,Xt=a(Ge)`
|
|
206
206
|
height: ${o.sp3};
|
|
207
207
|
width: ${o.sp3};
|
|
208
208
|
margin-left: ${o.sp2};
|
|
@@ -216,9 +216,9 @@ import{a9 as Te,Q as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bS as B,o,bB as
|
|
|
216
216
|
margin-left: ${o.sp2};
|
|
217
217
|
`,de=a(w)`
|
|
218
218
|
margin-left: ${o.sp2};
|
|
219
|
-
`,
|
|
219
|
+
`,Zt=a(Fe)`
|
|
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;
|
|
@@ -254,7 +254,7 @@ import{a9 as Te,Q as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bS as B,o,bB as
|
|
|
254
254
|
&:hover {
|
|
255
255
|
color: ${e=>e.theme.colors.primary};
|
|
256
256
|
}
|
|
257
|
-
`,ao=a(
|
|
257
|
+
`,ao=a(Ve)`
|
|
258
258
|
height: ${o.sp3};
|
|
259
259
|
width: ${o.sp3};
|
|
260
260
|
color: ${y.success};
|
|
@@ -273,7 +273,7 @@ import{a9 as Te,Q as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bS as B,o,bB as
|
|
|
273
273
|
padding: 12px ${o.sp3};
|
|
274
274
|
color: ${e=>e.theme.colors.hero};
|
|
275
275
|
border-radius: ${o.sp1};
|
|
276
|
-
`,
|
|
276
|
+
`,V=a(w)`
|
|
277
277
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
278
278
|
margin-top: ${o.sp2};
|
|
279
279
|
display: flex;
|
|
@@ -295,6 +295,6 @@ import{a9 as Te,Q as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bS as B,o,bB as
|
|
|
295
295
|
`,po=a.div`
|
|
296
296
|
height: -webkit-fill-available;
|
|
297
297
|
align-self: center;
|
|
298
|
-
`,uo=a(
|
|
298
|
+
`,uo=a(Ze)`
|
|
299
299
|
opacity: 0.25;
|
|
300
300
|
`;export{zo as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as Q,a9 as Me,aQ as _e,g as De,aY as Ee,aO as Fe,V as t,co as W,p as o,ac as Ge,o as n,em as Ne,er as Ue,cp as ne,cq as ie,ht as Re,aN as G,bS as fe,bB as Oe,b as C,F as K,aq as We,al as Ye,f as Ve,b_ as qe,bJ as ye,ai as j,aw as Ze,cc as Je,ff as F,aP as N,y as b,am as X,gW as He,a as Qe,d as Ke,an as Xe,c_ as et,ch as tt,g4 as nt,u,dM as it,fI as ot,hu as rt,r as st,gX as at,bN as ct,aT as lt}from"./index-WEj6FS32.js";import{a as g}from"./sentry-B0WgNUxa.js";import{n as i}from"./mui-BTtN6lbG.js";import{FS as dt}from"./zeni-epic-state-DnAAAEmj.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-CRwly3T1.js";import{o as ut}from"./shield-DOlUxcFf-Z1Xg2OMK.js";import{U as mt}from"./ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js";import{v as ht}from"./ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="83fe6a4a-e2b9-4da8-a57d-e76654959148",e._sentryDebugIdIdentifier="sentry-dbid-83fe6a4a-e2b9-4da8-a57d-e76654959148")}catch{}})();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}}}=K.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:$,style:S})=>{const a=Q(),v=(c,T)=>Object.entries(T).reduce((I,[A,w])=>I.replace(new RegExp(`__${A}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(s),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(wt,{style:S,children:[t.jsx($t,{}),a!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:a,children:a==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(bt,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsxs(At,{windowSize:a,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,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:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},wt=i.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -177,7 +177,7 @@ import{Q as H,a9 as Me,aQ as _e,g as De,aY as Ee,aO as Fe,V as t,co as W,p as o,
|
|
|
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 b(u[7],u[6]),containerWidth:new b(96,67),containerTopMargin:new b(u[4],u[6]),BankAccListTopMargin:new b(u[4],u[8]),containerSidePadding:new b(u[3],u[0]),accountRowTopBottomPadding:new b(u[3],u[4]),accountRowBottomMargin:new b(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new b(u[3],u[0])},Pt={bankAccountName:new
|
|
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 b(u[7],u[6]),containerWidth:new b(96,67),containerTopMargin:new b(u[4],u[6]),BankAccListTopMargin:new b(u[4],u[8]),containerSidePadding:new b(u[3],u[0]),accountRowTopBottomPadding:new b(u[3],u[4]),accountRowBottomMargin:new b(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new b(u[3],u[0])},Pt={bankAccountName:new Qe("standardRegular","largeMedium")},d=K.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Bt=({fetchState:e,onReloadTransactions:s})=>e==="Error"?t.jsxs(cn,{children:[t.jsx(ln,{onClick:s,"data-testid":N("zeni-account-list-reload"),children:t.jsx(dn,{})}),t.jsx(pn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Tt=({zeniAccountListView:e,zeniAccountsConfigDetail:s,maxInsuredAmountString:$,analytics:S,onZeniAccountRowClick:a,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:L,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:I,fetchState:A,summary:w}=e,p=Q(),M=Ze(),y=M.loggedInUserRoleMap.deposit_accounts_user===!0||dt(M.loggedInUserRoleMap),_=r=>{S.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},z=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(q,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",$)});break;case"totalInterest":k=t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(q,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(xn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(H,{children:G("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(Z,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(H,{children:G("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(Z,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(H,{children:G("0,0[.]00",w?.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:He(r)});return Je({componentName:"checking.list",enabled:A==="Completed"}),t.jsx(It,{children:A==="Completed"?t.jsxs(un,{windowSize:p,children:[t.jsxs(Et,{windowSize:p,children:[t.jsxs(Rt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),z("totalBalance")]}),t.jsx(F,{amount:w?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(Zt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),z("insuredBalance")]}),t.jsx(F,{amount:w?.insuredBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(Vt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",$)})]}),t.jsxs(Jt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),z("totalInterest")]}),t.jsx(F,{amount:w?.totalInterest.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsxs(Wt,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Yt,{children:s.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(wn,{windowSize:p,children:t.jsx(xt,{yieldPercentage:L,insuredAmount:c,onGetStartedClick:()=>{S.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Nt,{windowSize:p,children:[I.depositAccounts.map((r,k)=>t.jsxs(Ht,{isClickEnabled:!0,windowSize:p,onClick:()=>a?.(r.id,r.accountName),"data-testid":N("deposit-account-clicked",r.id),children:[t.jsxs(qt,{children:[U(k),t.jsxs(Qt,{children:[t.jsx(Kt,{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:v})})},It=i.div`
|
|
181
181
|
display: block;
|
|
182
182
|
height: 100%;
|
|
183
183
|
`,Mt=i.div`
|
|
@@ -238,7 +238,7 @@ import{Q as H,a9 as Me,aQ as _e,g as De,aY as Ee,aO as Fe,V as t,co as W,p as o,
|
|
|
238
238
|
display: flex;
|
|
239
239
|
align-items: center;
|
|
240
240
|
width: calc(100% - 96px);
|
|
241
|
-
`,Zt=i.div``,
|
|
241
|
+
`,Zt=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)};
|
|
@@ -256,7 +256,7 @@ import{Q as H,a9 as Me,aQ as _e,g as De,aY as Ee,aO as Fe,V as t,co as W,p as o,
|
|
|
256
256
|
border-color: ${e=>e.theme.colors.primary};
|
|
257
257
|
color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
|
|
258
258
|
}
|
|
259
|
-
`,
|
|
259
|
+
`,Qt=i.div`
|
|
260
260
|
max-width: calc(100% - 30px);
|
|
261
261
|
width: calc(100% - 40px);
|
|
262
262
|
white-space: nowrap;
|
|
@@ -381,13 +381,13 @@ import{Q as H,a9 as Me,aQ as _e,g as De,aY as Ee,aO as Fe,V as t,co as W,p as o,
|
|
|
381
381
|
`,xn=i(j)`
|
|
382
382
|
margin-bottom: ${n.sp2};
|
|
383
383
|
display: flex;
|
|
384
|
-
`,Q=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
|
`,wn=i.div`
|
|
389
389
|
margin-top: ${n.sp4};
|
|
390
|
-
`,{common:$n,spendManagement:{zeniAccounts:l}}=K.getLocalizedStrings(),$e="checkingAccountCreation-form",Wn=({zeniAccountListView:e,analytics:s,maxInsuredAmount:$,isBillPayEnabled:S,isExpressPayEnabled:a,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:L,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:I,showTreasuryPromo:A,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const M=
|
|
390
|
+
`,{common:$n,spendManagement:{zeniAccounts:l}}=K.getLocalizedStrings(),$e="checkingAccountCreation-form",Wn=({zeniAccountListView:e,analytics:s,maxInsuredAmount:$,isBillPayEnabled:S,isExpressPayEnabled:a,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:L,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:I,showTreasuryPromo:A,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const M=Q(),y=Me({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),[be,je]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,O)=>{P(h,O)},Se={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(s.trackAccountsListPageClicked("Pay Someone"),R(!0)):(h==="sendMoney"?s.trackSendMoneyClick():h==="checkDeposit"?s.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&s.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},ve={onOkClick:()=>{},onCancelClick:()=>{s.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(O=>O.id===e.newCheckingAccount.accountId);s.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{s.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),R(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Not Now on Bills pop up"),R(!1)}},Be=y.handleSubmit(h=>{s.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe($),$,$n.currency.currencySymbol).toUpperCase(),Ie=t.jsx(mt,{onSettingsClick:B,isBillPayEnabled:S,isExpressPayEnabled:a,zeniBankProps:Se,analytics:s});return t.jsxs(fn,{children:[U?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:$e,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:ve,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:$e,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Ne,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Ue(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:z.colors.grey5,border:`1px solid ${z.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(kn,{children:[t.jsx(Re,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(bn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(jn,{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:je}),t.jsxs(An,{children:[t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(zn,{children:G("0,0",{amount:be,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Sn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Oe,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:M==="medium-compact"||M==="small",backgroundColor:z.colors.grey4,style:{zIndex:3,...C.largeSemiBold.cssObject},rightSideComponent:Ie,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:()=>{s.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:s,onReloadTransactions:L,maxInsuredAmountString:te,onTreasuryGetStartedClick:I,treasuryYieldPercentage:w,treasuryInsuredAmount:p,showTreasuryPromo:A})})]})},fn=i.div`
|
|
391
391
|
display: flex;
|
|
392
392
|
min-height: 100%;
|
|
393
393
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aw as N,fS as P,V as a,aP as _,h0 as p,hv as y,F as B,o as r,h2 as D}from"./index-
|
|
1
|
+
import{aw as N,fS as P,V as a,aP as _,h0 as p,hv as y,F as B,o as r,h2 as D}from"./index-WEj6FS32.js";import{n as f}from"./mui-BTtN6lbG.js";import{bS as I}from"./zeni-epic-state-DnAAAEmj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="0b4bbd80-605f-4be1-a2d6-c291fc4e486e",e._sentryDebugIdIdentifier="sentry-dbid-0b4bbd80-605f-4be1-a2d6-c291fc4e486e")}catch{}})();const n=B.getLocalizedStrings().spendManagement.zeniAccounts,g=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],m={value:"payBill",label:n.moveMoney.payBills},b={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},O=[m,b,v,M],$=[v,b,m,M],T=({zeniBankProps:e,isBillPayEnabled:i,isExpressPayEnabled:c,analytics:h,onSettingsClick:w})=>{const l=N(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),S=I(l.loggedInUserRoleMap),k=g.filter(t=>t.value==="accountStatement"),d=i===!0?O:$,u=c===!0?d:d.filter(t=>t.value!=="sendMoney"),x=S?u:u.filter(t=>t.value!=="payBill");return a.jsxs(j,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?a.jsx(z,{onClick:w,"data-testid":_("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:s?k:g,title:n.moveMoney.title}),s?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:x,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},z=f(D)`
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
min-width: ${r.sp4};
|
|
4
4
|
width: ${r.sp4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as ae,
|
|
1
|
+
import{g as ae,J as v,aQ as ce,aw as xe,fS as me,V as i,bB as pe,fr as ue,f as he,o,cC as ge,aq as q,r as M,aP as F,ae as j,F as _,M as we,aY as z,aO as k,aT as Z,by as je,y as x,p as A,cD as ye,aU as $e,ba as fe,u as L,a as y,d as C,am as T,af as Se}from"./index-WEj6FS32.js";import{a as W}from"./sentry-B0WgNUxa.js";import{n}from"./mui-BTtN6lbG.js";import{M as B}from"./usp-line-BBd1wKwW-ZROsAmzr.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="12f236d5-450d-4874-90a7-985d28cf20dc",e._sentryDebugIdIdentifier="sentry-dbid-12f236d5-450d-4874-90a7-985d28cf20dc")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(L[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,L[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},I={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -19,7 +19,7 @@ import{g as ae,Q as v,aQ as ce,aw as xe,fS as me,V as i,bB as pe,fr as ue,f as h
|
|
|
19
19
|
margin: auto;
|
|
20
20
|
padding: ${o.sp5} ${o.sp0};
|
|
21
21
|
color: ${e=>e.theme.colors.primary};
|
|
22
|
-
`,
|
|
22
|
+
`,O=n.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"||e.windowSize==="medium-regular"?"column":"row"};
|
|
25
25
|
align-items: center;
|
|
@@ -34,7 +34,7 @@ import{g as ae,Q as v,aQ as ce,aw as xe,fS as me,V as i,bB as pe,fr as ue,f as h
|
|
|
34
34
|
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
35
35
|
align-items: center;
|
|
36
36
|
justify-content: center;
|
|
37
|
-
`,
|
|
37
|
+
`,N=n.div`
|
|
38
38
|
width: ${e=>e.windowSize==="small"?"auto":"330px"};
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
@@ -61,21 +61,21 @@ import{g as ae,Q as v,aQ as ce,aw as xe,fS as me,V as i,bB as pe,fr as ue,f as h
|
|
|
61
61
|
color: ${e=>e.theme.colors.champion};
|
|
62
62
|
`,f=n($e)`
|
|
63
63
|
color: ${e=>e.theme.colors.champion};
|
|
64
|
-
`,S=n(
|
|
64
|
+
`,S=n(Z)`
|
|
65
65
|
color: ${e=>e.theme.colors.champion};
|
|
66
66
|
`,b=n(ye)`
|
|
67
67
|
color: ${e=>e.theme.colors.champion};
|
|
68
68
|
`,p=n.div``,u=n.div`
|
|
69
69
|
padding-left: ${o.sp3};
|
|
70
|
-
`,
|
|
70
|
+
`,Q=n(B)`
|
|
71
71
|
color: ${A.graphColor16Dark};
|
|
72
|
-
`,K=n(B)`
|
|
73
|
-
color: ${A.graphColor19Dark};
|
|
74
72
|
`,X=n(B)`
|
|
73
|
+
color: ${A.graphColor19Dark};
|
|
74
|
+
`,K=n(B)`
|
|
75
75
|
color: ${A.graphColor11};
|
|
76
76
|
`,ee=n(B)`
|
|
77
77
|
color: ${A.success};
|
|
78
|
-
`,Be=n(
|
|
78
|
+
`,Be=n(Z)`
|
|
79
79
|
margin: ${e=>e.windowSize==="small"?o.sp1:`auto ${o.sp5}`};
|
|
80
80
|
color: ${e=>e.theme.colors.grey1};
|
|
81
81
|
`,Ie=n.div`
|
|
@@ -115,7 +115,7 @@ import{g as ae,Q as v,aQ as ce,aw as xe,fS as me,V as i,bB as pe,fr as ue,f as h
|
|
|
115
115
|
justify-content: space-between;
|
|
116
116
|
align-items: flex-start;
|
|
117
117
|
padding-left: ${o.sp2};
|
|
118
|
-
`,
|
|
118
|
+
`,J=n.div`
|
|
119
119
|
width: 100%;
|
|
120
120
|
min-width: ${e=>h.bankRectBoxMinWidth.valuePx(e.windowSize)};
|
|
121
121
|
height: ${e=>h.bankRectBoxHeight.valuePx(e.windowSize)};
|
|
@@ -130,7 +130,7 @@ import{g as ae,Q as v,aQ as ce,aw as xe,fS as me,V as i,bB as pe,fr as ue,f as h
|
|
|
130
130
|
margin-top: ${o.sp2};
|
|
131
131
|
border-top: 1px solid ${e=>e.theme.colors.grey2};
|
|
132
132
|
color: ${e=>e.theme.colors.primary};
|
|
133
|
-
`,
|
|
133
|
+
`,E=n.div`
|
|
134
134
|
width: 100%;
|
|
135
135
|
height: 298px;
|
|
136
136
|
display: flex;
|
|
@@ -166,10 +166,10 @@ import{g as ae,Q as v,aQ as ce,aw as xe,fS as me,V as i,bB as pe,fr as ue,f as h
|
|
|
166
166
|
color: ${e=>e.theme.colors.grey5};
|
|
167
167
|
padding-right: 12px;
|
|
168
168
|
padding-top: 20px;
|
|
169
|
-
`,
|
|
169
|
+
`,Je=n(T)`
|
|
170
170
|
color: ${e=>e.theme.colors.grey5};
|
|
171
171
|
padding-right: 12px;
|
|
172
|
-
`,
|
|
172
|
+
`,Ee=n(C)`
|
|
173
173
|
${e=>`${I.yAxisAmount.style(e.windowSize)}`};
|
|
174
174
|
color: ${e=>e.theme.colors.primary};
|
|
175
175
|
`,V=n(C)`
|
|
@@ -181,4 +181,4 @@ import{g as ae,Q as v,aQ as ce,aw as xe,fS as me,V as i,bB as pe,fr as ue,f as h
|
|
|
181
181
|
height: ${e=>h.styledLogoHeight.valuePx(e.windowSize)};
|
|
182
182
|
color: ${e=>e.theme.colors.primary};
|
|
183
183
|
cursor: pointer;
|
|
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(Pe,{children:i.jsxs(Ue,{windowSize:s,children:[i.jsxs(G,{children:[i.jsx(V,{windowSize:s,children:r.iconTexts.title}),i.jsxs(
|
|
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(Pe,{children:i.jsxs(Ue,{windowSize:s,children:[i.jsxs(G,{children:[i.jsx(V,{windowSize:s,children:r.iconTexts.title}),i.jsxs(J,{windowSize:s,isBankRect:!0,children:[i.jsxs(E,{children:[i.jsx(We,{windowSize:s,children:r.iconTexts.unInsuredAmount}),i.jsx(Ye,{children:r.iconTexts.unInsured})]}),i.jsxs(Me,{children:[i.jsx(Fe,{windowSize:s,children:r.iconTexts.insuredAmount}),i.jsx(Le,{children:r.iconTexts.insured})]})]})]}),i.jsxs(G,{children:[i.jsx(V,{windowSize:s,children:i.jsx(Ve,{windowSize:s})}),i.jsx(J,{windowSize:s,isBankRect:!1,children:i.jsxs(E,{children:[i.jsx(Ge,{children:e}),i.jsx(Je,{children:r.iconTexts.fdicCovered})]})})]})]})}),i.jsx(De,{children:r.iconTexts.footNote})]}),i.jsx(He,{windowSize:s,children:r.iconTexts.yAxisAmounts.map((l,t)=>i.jsx(Ee,{windowSize:s,children:l},t))})]})},qe=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let c=g;return s>l&&(c=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(O,{windowSize:t,children:[i.jsx(ie,{maxInsuredAmountString:c}),i.jsxs(N,{windowSize:t,children:[i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(K,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(S,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(S,{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(S,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.expertSupport.bold}),i.jsx(S,{children:r.expertSupport.regular})]})]})]})]})},Ze=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let c=g;return s>l&&(c=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(O,{windowSize:t,children:[i.jsxs(N,{windowSize:t,children:[i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(K,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx($,{children:r.earnUptoText.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(f,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx($,{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(f,{children:r.noHiddenFee.bold}),i.jsx($,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.expertSupport.bold}),i.jsx($,{children:r.expertSupport.regular})]})]})]}),i.jsx(ie,{maxInsuredAmountString:c})]})},li=({meetingUrl:e,maxAnnualPercentageYield:s,maxInsuredAmount:l,analytics:t,zeniAccountSetupView:g,exampleBankBalance:c,onSetupButtonClick:ne,onBackClick:oe,onClickMenuIcon:re,onSetupZeniAccountSuccess:P})=>{const se=ae(),a=v(),{zeniAccountTermsDetails:R}=g,U=ce(R?.fetchStatus.fetchState),[te,H]=W.useState(!1),le=()=>{t.trackAccountsPromoPageClicked("Schedule Demo"),H(!0)};W.useEffect(()=>{U==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&P?.()},[U,P,R?.fetchStatus]);const D=xe(),de=D.loggedInUserRoleMap.deposit_accounts_user===!0||me(D);return i.jsxs(be,{children:[i.jsx(pe,{title:r.title,backgroundColor:se.colors.grey5,onBackClick:oe,showBackButton:!0,showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:re,source:"ZeniAccountPromoPage"}),te===!0?i.jsx(ue,{onCancelClick:()=>{H(!1)},meetingUrl:e}):null,i.jsxs(ze,{windowSize:a,children:[a==="small"?i.jsxs(ve,{children:[r.promoText1,w.strings.colon,i.jsx(he,{style:{marginTop:o.sp2},children:r.promoText2})]}):i.jsxs(ke,{children:[i.jsxs(ge,{children:[r.promoText1,w.strings.colon]}),i.jsx(q,{style:{marginTop:o.sp2},children:r.promoText2})]}),a==="small"||a==="medium-compact"||a==="medium-regular"?i.jsx(qe,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}):i.jsx(Ze,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}),de?null:i.jsxs(Ae,{children:[i.jsxs(Ce,{windowSize:a,children:[i.jsx(M,{variant:"secondary",label:r.scheduleDemoButton,onClick:le,"data-testid":F("accounts-promo-schedule-demo-button")}),i.jsx(Be,{windowSize:a,children:r.orText}),i.jsx(M,{variant:"primary",label:r.setupAccountsButton,loading:!1,onClick:ne,"data-testid":F("accounts-promo-setup-accounts-button")})]}),i.jsx(Ie,{children:i.jsxs(Y,{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(Re,{children:i.jsx(Y,{children:r.disclaimer})})]})]})]})};export{li as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as be,
|
|
1
|
+
import{g as be,J as we,aQ as U,a9 as Se,cE as Ae,aV as B,V as t,f9 as xe,p as Pe,y as p,bB as Ce,T as ke,ac as ve,fs as Te,dO as Fe,ft as Ve,bw as Ie,aR as Ee,o as De,fv as je,F as ze,u as a,al as Oe}from"./index-WEj6FS32.js";import{a as g}from"./sentry-B0WgNUxa.js";import{n as w}from"./mui-BTtN6lbG.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="960bd9ff-ac66-4c04-87ae-6eb224503943",e._sentryDebugIdIdentifier="sentry-dbid-960bd9ff-ac66-4c04-87ae-6eb224503943")}catch{}})();const c={titleWidth:new p(343,580,726,826),setupDetailsRowGap:new p(12,a[5],a[5]),sectionRowGap:new p(a[5],a[9],a[9]),iconWidthHeight:new p(20,a[4]),subTitlePaddingTop:new p(12,a[3]),subTitlePaddingBottom:new p(a[3],a[3]),overlayWidth:new p(100,100,59)},_="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:R,spendManagement:_e}=ze.getLocalizedStrings(),{zeniAccounts:W}=_e,{zeniAccountSetUp:I}=W,{setUp:E}=R,nt=({isDisabled:e,meetingUrl:f,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:H,authParams:Z,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:K,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const A=be(),i=we(),[x,h]=g.useState(!1),{fetchState:y,companyBillPayInfo:D,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:j}=l,z=U(y),P=U(u.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>L(l),[l]),values:L(l)}),fe=T.handleSubmit(b=>{d.trackEnableZeniAccounts(),G()}),me=async(b,k)=>{const n=k[v];if(b.includes(v)){if(b.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=j.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),x&&z==="In-Progress"&&y==="Completed"&&h(!1)},[o,y,z]),g.useEffect(()=>{const b=T.watch((k,{name:n})=>{n!=null&&k!=null&&Ae(()=>me(n,k))});return()=>{b.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,P,u.fetchState]);const C=pe?.isZeniAccountEnabled===!0,F=D?.isBusinessVerified===!0,ge=y==="In-Progress"||y==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,P,u.fetchState]);const he=F?R.setUp.setupVerifiedSubTitle:I.setupSubTitle,O=A.mode==="light"?new B(A.colors.brandColorJadeLight):new B(A.colors.brandColorJadeDark),ye=()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):K?.()};return t.jsxs($e,{children:[t.jsx(xe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:x,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:Z,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:I.setupTitle,backgroundColor:A.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(Re,{windowSize:i,children:he}),ge?t.jsx(We,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...T,children:t.jsx("form",{id:$(_),onSubmit:fe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Te,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(Fe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},status:D?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:j,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),F&&!C?t.jsx(Ee,{formId:$(_),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${De.sp3}`}}):null,t.jsx(je,{isFooterRendered:F&&!C,meetingUrl:f,analytics:d,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:f,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:f.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
package/dist/assets/{ZeniCopyright-C8wXM9Gr-qMGnv8al.js → ZeniCopyright-DzWFQiAt-07AcK5yb.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{F as r,V as t}from"./index-
|
|
1
|
+
import{F as r,V as t}from"./index-WEj6FS32.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="24b97aa3-d82c-4653-b3b3-b9f1bc2a39ac",e._sentryDebugIdIdentifier="sentry-dbid-24b97aa3-d82c-4653-b3b3-b9f1bc2a39ac")}catch{}})();function o(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{o as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as f,aP as z,o as i,p as j,ai as Y,F}from"./index-
|
|
1
|
+
import{V as f,aP as z,o as i,p as j,ai as Y,F}from"./index-WEj6FS32.js";import{a as w}from"./sentry-B0WgNUxa.js";import{n as m}from"./mui-BTtN6lbG.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="497b14ee-a7fb-42f7-bf45-e582e8506471",t._sentryDebugIdIdentifier="sentry-dbid-497b14ee-a7fb-42f7-bf45-e582e8506471")}catch{}})();const I=F.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:y,setYieldEarned:$,setTotalBalance:x}){const[c,k]=w.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,p=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),S=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:u}=P(r);k(r),$(o),x(u)},M=e=>`${D(e)}${I.transferDrawer.calculator.sliderTooltipText}`,D=e=>e===0?p[0]:e>0&&e<1?p[1]:e>=1&&e<2?p[2]:e>=2&&e<3?p[3]:p[4],P=e=>{const r=D(e),[o,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},T=e=>{const{returnedYield:r,totalAmount:o}=P(e);k(e),x(o),$(r)},v=w.useCallback((e,r,o,u)=>{let a=0,s=0,C=0,A=0;if(e<o[0])a=r[0];else{for(let d=0;d<o.length-1;d++)if(e>=o[d]&&e<o[d+1]){a=r[d+1],s=(o[d+1]-o[d])*u,C=e-o[d],A=C/s*u+d;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return w.useEffect(()=>{const e=g+y;x(e),v(e,p,n,l)},[g,y,x,p,l,$,n,v]),f.jsxs(_,{sliderValue:c,children:[f.jsx(L,{sliderValue:c,type:"range",min:0,max:p.length-1,step:l,value:c,onChange:S}),f.jsx(B,{style:{width:`calc(${c/(p.length-1)*100}% - ${c*7.5}px)`}}),f.jsx(G,{sliderValue:c,style:{left:`calc(${c/(p.length-1)*100}% - ${c*10+20}px)`},children:M(c)}),f.jsx(H,{children:n.map((e,r)=>f.jsx(N,{onClick:()=>T(r),"data-testid":z("slider-label",e.toString()),style:{left:V(r)},children:f.jsx(X,{isSelected:c>=r,children:E(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},V=t=>{switch(t){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%"}},E=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),L=m.input`
|
|
2
2
|
width: 100%;
|
|
3
3
|
&[type="range"]::-webkit-slider-runnable-track {
|
|
4
4
|
height: 2px;
|