@zeniai/web-cockpit-ui 1.13.90-qa → 1.13.91-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-ppaaVv4t-DerAWpBF.js → ACHDetailsPage---jqahtW-HkPM6iNK.js} +1 -1
- package/dist/assets/{AIPerformancePage-brocrTLA-D-qOCG9N.js → AIPerformancePage-CqtdCyg8-Dj0j3-W5.js} +36 -36
- package/dist/assets/{AccountInfoPage-BkqXbGUJ-CPi6xrFM.js → AccountInfoPage-Bj1CYa-r-6hrIafHf.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-DOrQxiUF-eaKGkCbW.js → AccountInfoPageContent-qqbfRfuR-DLDodhYL.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-i6rVi1gY-JXbUROYY.js → AccountReconDetailsDrawerPage-B4UwcNN9-Crki_oBL.js} +18 -18
- package/dist/assets/AccountRow-CPX-627p-B4ZaO0oz.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-BvFE5A3N-ObKkidII.js → AccountsPromoCardStack-DJRAw09x-KYhdIp34.js} +26 -26
- package/dist/assets/{AddAddressForCardDrawer-BV2BSzaD-BdS_xiVp.js → AddAddressForCardDrawer-C16ksTIf-_DtEs9T5.js} +1 -1
- package/dist/assets/{AddToWalletPage-DTEIuDRq-B2C8ipcJ.js → AddToWalletPage-CDP1oPrv-D581H1KG.js} +18 -18
- package/dist/assets/{AgingReportsPage-B8iVxaQX-BHVqW05k.js → AgingReportsPage-BE4plS7V-BI8-4bNE.js} +7 -7
- package/dist/assets/{AllUserItems-BepRyHp7-uJhUuJ3f.js → AllUserItems-hoI2_gnV-BVf131yZ.js} +8 -8
- package/dist/assets/{ApAgingDetailPage-DOObMUqB-PedjJRg4.js → ApAgingDetailPage-Lxprtz8c-v17bsYA_.js} +3 -3
- package/dist/assets/{AppBasePage-Ob8EkU54-B3S_sDum.js → AppBasePage-DNOkJf4q-CMKV9Zw9.js} +1 -1
- package/dist/assets/{AppDrawerContent-CNsKktFP-ClFlv3eL.js → AppDrawerContent-DG2Jr298-DulxRmba.js} +10 -10
- package/dist/assets/{ApprovalRulesSettingsPage-Bn7LOelK-BW8_3MdX.js → ApprovalRulesSettingsPage-DnKXln0A-Dwcdgf1j.js} +6 -6
- package/dist/assets/{ArAgingChart-C0hTtEmV-VmVxz3SE.js → ArAgingChart-BRcy3--o-CqONheoM.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-C_E_xPwf-CIbWz25g.js → ArAgingDetailPage-Djsocm6M-DY45zDqC.js} +3 -3
- package/dist/assets/{AttachmentView-CATl3tNf-bIcN6zuK.js → AttachmentView-C3AzH7cN-Csi7tXqw.js} +8 -8
- package/dist/assets/{BankAccountSection-VSbZyxoY-DFVEfVO4.js → BankAccountSection-6zosSfPV-CL3CT6a1.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-a39s142r-B8eviNRA.js → BankAccountWarningSection-CWeN3me0-QfeSw0RL.js} +6 -6
- package/dist/assets/{BankConnectionsSettingsPage-CBavGNdc-UjtlbwmQ.js → BankConnectionsSettingsPage-C6e0pgD4-B1leagLf.js} +22 -22
- package/dist/assets/{BillDetailPage-uMG3JJPb-DAfvXj70.js → BillDetailPage-DyIokQbf-BaKgZbi4.js} +9 -9
- package/dist/assets/{BillPayApprovalRuleDetailPage-Bmrg1Wxh-2SsyPJ6y.js → BillPayApprovalRuleDetailPage-BOhQfwEj-CAExLIKt.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-BN21qPTb-DE8Fo-0J.js → BillPayApprovalRulesPage-CSua3b4v-Cw1EavO3.js} +7 -7
- package/dist/assets/{BillPayPromoPage-DoP2oC8W-DaX8TRVv.js → BillPayPromoPage-CtenNypw-CjfButz0.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-o-V-9aI5-PJo8w9bW.js → BillPaySetUpPage-CAnvQ_-Q-DJBEmdYy.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CX-rbxzB-rBFZmJ_t.js → BillingSettingsPage-CjSAhEFl-tgXS9QLV.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-_qgURJjv-UExbn0pb.js → BillsBulkReviewDrawerPage-B62rj2kN-BUJLVUNP.js} +1 -1
- package/dist/assets/{BoxItem-CHPfWPEF-D1R-06zc.js → BoxItem-Cqmd_7h4-S5g5H_Jr.js} +1 -1
- package/dist/assets/BusinessVerificationPage-DT24fycp-CWdqg83h.js +140 -0
- package/dist/assets/{CardNumberSubText-dxYfM6ph-DEOIkYXa.js → CardNumberSubText-DszoXtgg-ySKglJLN.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BfTC3IBm-bb4FBcKr.js → CashbackDetailPage-DAwARNZD-3Wx6cNnB.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-npqfreRG-6-EfyUyz.js → ChargeCardDetailPage-BzbR-Z63-7lzvBesN.js} +40 -40
- package/dist/assets/{ChargeCardListPage-Dbx1ymB9-DRDAjXYS.js → ChargeCardListPage-DSOp7sFg-CW3N5mrs.js} +10 -10
- package/dist/assets/{ChargeCardListTable-qk9tQ6Kb-lo8c0x-v.js → ChargeCardListTable-BE4it4le-6GBRyFGt.js} +10 -10
- package/dist/assets/{ChargeCardPromoPage-CsItH2IC-BRai09H4.js → ChargeCardPromoPage-DOibcN9n-8P5nzLqn.js} +4 -4
- package/dist/assets/{ChargeCardSetupPage-D5LWY3-P-BFmdbREo.js → ChargeCardSetupPage-Dm_N5oDM-BxIAhVV2.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-vYbnt2WJ-CviaTt41.js → ChargeCardStatementsPage-Dhqs5CF4-Be58aAaq.js} +2 -2
- package/dist/assets/{ChargeCardUtils-k5Cmi_bM-uT1V7gQT.js → ChargeCardUtils-oF0M6Gmc-CWcylJdd.js} +1 -1
- package/dist/assets/{ChaseOverlay-DQz9r9Pp-DwtAFMH1.js → ChaseOverlay-DPgGIuyV-JigHbzQk.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-DaaWfNin-BVXQpqWr.js +206 -0
- package/dist/assets/{CollapsableReportTable-Dp1985is-CGhJR3X0.js → CollapsableReportTable-DMr2UDgH-cuAz2CYU.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-CGewbsKm-0xbi1fnR.js → CompanyOfficerDetailsSection-B_cIues7-BNMnvkxE.js} +19 -19
- package/dist/assets/{CompanyPassportCard-Dp3a8GH8-B4TBGrw7.js → CompanyPassportCard-CHF83hfN-BGYNkzga.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CS1LPj5f-pnjyNGQL.js → CompanyPassportPage-C5W3KcDY-Bzodetvj.js} +29 -29
- package/dist/assets/CompleteProfile-MP9AF8Iu-CvhmGgEz.js +36 -0
- package/dist/assets/{ConfettiBurst-DX1P5VT_-CsNzn8F8.js → ConfettiBurst-DVT9EpwF-DHA9TDKH.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BL1BXGvy-CsdFpWXr.js → CreateOrEditVendorPage-DVbYQaWM-DGXxCdMQ.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-D6-R3DiA-DUyMEAO8.js → CreditCardPaymentDrawerPage-D2qT7vsE-Bf1M1_AV.js} +10 -10
- package/dist/assets/{CreditCardPaymentPlgSection-YcsIIUkG-DrIb0IFd.js → CreditCardPaymentPlgSection-7cmMRTQm-CcPhomOR.js} +6 -6
- package/dist/assets/{CurrencySelectField-CH65s5Fc-Dcp2BQTf.js → CurrencySelectField-ClhIJFVw-Cum1rEqk.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DCHbvIb1-DK5c91dn.js → CustomerOnboardingActivationPage-D-Ihd-H0-BECSi6lI.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-C9jXmYuH-DO8DpQlg.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cz40bZgg-CWu3HzYj.js → CustomerOnboardingDetailPageSkeleton-CUxNOK4z-Ch73W5CD.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DrbkKOBx-B_LwgpIq.js → CustomerOnboardingNoStepsPage-B9ts3Tla-CfVcbZOI.js} +4 -4
- package/dist/assets/CustomerOnboardingPage-DJbFeXms-BffeJFQv.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DyGs61vw-qL5DHYs8.js → CustomerOnboardingProductSuitePage-iSJtAhvu-CITklSrx.js} +5 -5
- package/dist/assets/{Dashboard-beLswUHx-B_MalOUp.js → Dashboard-SKeHZ5QY-pKKhGZuT.js} +38 -38
- package/dist/assets/DashboardReportPage-3X6wpJL2-lEFYnnKZ.js +349 -0
- package/dist/assets/{DepositAccTransactionItem-CfAjG3HH-D05hSl8p.js → DepositAccTransactionItem-DJNio75H-BszNXL3v.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-Cj1smNoP-BSifWrOr.js → DepositAccTransactionListPage-DTIjlF2l-BqgMCmPb.js} +3 -3
- package/dist/assets/{DocumentSecurityBanner-BRFFDueV-Cy6kVOtz.js → DocumentSecurityBanner-CVNWDvAg-ZZDqDElp.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-D-qwPVDs--Pww9UWD.js +21 -0
- package/dist/assets/{DownloadOverlay-Ly2ZesqA-CgW2MbtP.js → DownloadOverlay-BLj0xso_-BlktwxlM.js} +1 -1
- package/dist/assets/{DrawerPage-BFIdjtOJ-CoQ0pur4.js → DrawerPage-CEetzMMx-BQrlKpot.js} +3 -3
- package/dist/assets/{EditPeoplePage-BPHt33f5-Bk3dHegk.js → EditPeoplePage-DDUuO0Nh-opJ_tpA8.js} +8 -8
- package/dist/assets/{EditReimbursementDetailPage-DJ_qNQbh-CHb-02Fa.js → EditReimbursementDetailPage-CT8mqYr5-RAkBtvUB.js} +24 -24
- package/dist/assets/{EntityDetailPage-DZ9vXZci-BKxX4N_B.js → EntityDetailPage-DMh6o0bo-D9tSJvlK.js} +1 -1
- package/dist/assets/{EntitySummarySection-kCA6OJs0-BxZntEIq.js → EntitySummarySection-tK_X4uAf-DnZqgJgW.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-B9K2qPQi-CLbWYQAI.js → ExpenseAutomationOverviewPage-CLUiYjKg-Cnf2er5n.js} +18 -18
- package/dist/assets/{ExpenseAutomationPage-LoGHiJzr-f6rmnsys.js → ExpenseAutomationPage-C9biTgak-CwmQJIGr.js} +82 -82
- package/dist/assets/{ExpressPayPage-B12NaLXN-CCtq8Yhl.js → ExpressPayPage-DpAixmcQ-DHNO4VFc.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-D9_aRmPj-kLENX2WT.js → FeaturePreviewPage-BohUqOFz-CnIenXNU.js} +2 -2
- package/dist/assets/{FollowStepsSection-BL8sM4vS-NJEQh7fF.js → FollowStepsSection-BAUXUzTr-DcO_IUEM.js} +10 -10
- package/dist/assets/{GlobalReviewListPage-DONc_BXP-BqymyO9D.js → GlobalReviewListPage-BxYHNkut-De1zroLC.js} +8 -8
- package/dist/assets/{HelpButton-khTPylkl-CC4TQ-Mh.js → HelpButton-8AQIbLQM-Dxn71Y7_.js} +2 -2
- package/dist/assets/{InformationCardStack-BtIMGsaQ-DAEXYJ5W.js → InformationCardStack-76GlZ-Bq-CtLoCld8.js} +4 -4
- package/dist/assets/{InsightsCardStack-lzduh7aO-aPmBS56j.js → InsightsCardStack-CvOFi2Uu-JAhaDMUB.js} +9 -9
- package/dist/assets/{InsightsSection-q1QuO6Z4-BTPE3Xuw.js → InsightsSection-DyF8JZIR-yy37hbXV.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-CpnXcxlz-BHzrWFpH.js → IntegrationsSettingsPage-mys0-i40-D_Td3Eck.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-BXBsK560-Drhj4I3h.js → InternationalWireSwiftDetailsPage-km4qEcXH-BDq6b8VU.js} +7 -7
- package/dist/assets/{InternationalWireVerificationPage-BrnMNFx7-CYsL9FjR.js → InternationalWireVerificationPage-DauhGM3c-CQuc_5ZL.js} +5 -5
- package/dist/assets/{InviteFormPage-DQTEQazA-D_TlAyX6.js → InviteFormPage-FSL8fEXT-Dygrs-_-.js} +16 -16
- package/dist/assets/{InvitePageListView-C7CaDCYN-DgDyQbel.js → InvitePageListView-zaQ1xEHJ-BmXz06Jr.js} +27 -27
- package/dist/assets/{InvitePeoplePage-Ca0ZnNhV-DhNhdRht.js → InvitePeoplePage-BNB36i8Y-COHEYzwz.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-Cm7WlMIS-CgyB8ePg.js → InvoiceUploadSection-FXrB92T6-JqJ7zAlH.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-B7w3Xky1-CKvMuV4K.js → IssueChargeCardPage-D3cUp2DE-DFSG2B0F.js} +21 -21
- package/dist/assets/{LabeledAddressValue-B5Yv4nig-CNsG-WU7.js → LabeledAddressValue-BF6r800B-CeESX1Hz.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BODlYe8J-CiIDFGvo.js → LabeledAddressValueField-DYelJL4d-Dl7kIpOx.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-BBrHodlx-DZSgDuPY.js → LabeledControlledCheckBoxField-B2ATKJBH-CXyWx4Ub.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DBovHkMc-upCPJRUw.js → LabeledCreatableSingleSelectField-B9zUAA6L-1j60EBJE.js} +6 -6
- package/dist/assets/LabeledDocumentField-DORRl3DI-WSVu_B_9.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-FpRJ9tiX-Tiw-2EM1.js +59 -0
- package/dist/assets/{LabeledText-D0aPaE6r-CDASXomo.js → LabeledText-C34I_iEo-DpYgVuJS.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--BtzlqXjH.js → LabeledUserSingleSelectWithSubtitlesField-B6aVL-fb-D9zCwLzE.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-CcfvYWTB-DW_5XewE.js → LabeledZeniRolesDropDownField-Caj0_1zM-DksZdels.js} +13 -13
- package/dist/assets/{LinkJETransactionPage-w2poqqTD-CVvitekI.js → LinkJETransactionPage-DLmZGscZ-DAJUM85q.js} +12 -12
- package/dist/assets/{LowBalancePopup-BpFvPcb8-CbbQEMsW.js → LowBalancePopup-ll1SesgY-BWe295aL.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-DUyr5VX8-DMGL4iMC.js → MagicLinkACHDetailsPage-DXzjYrdU-DXTf7zdI.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTA58UoF-Bkm4wS65.js → MagicLinkDomesticWireDetailsPage-CUwp46Wf-CEU-wofA.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DDQqyw69-BZXPgm29.js → MagicLinkInternationalWireDetailsPage-B_h0EHoZ-5KHyZ3zZ.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CKKAWryZ-BM1EXsJU.js → MagicLinkSuccessPage-BX4E-l5M-DUEIbM10.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js → MagicLinkTitleSection-DHe9TfVe-xOZGBQNN.js} +2 -2
- package/dist/assets/{MailingDetailsSection-Di5KwEqu-B9mhlAae.js → MailingDetailsSection-D8CZart4-D1oBjzV1.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-6yyRBLYC-Bbqtv452.js → MeetingCalenderPopup-D4tz-H5i-CGIgOa91.js} +3 -3
- package/dist/assets/{Menu-BOh_KLZu-CFhi0SIh.js → Menu-C9u3eDJk-Dna4rH8W.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-BBQ0YN9M-DqTc9oHU.js → MyBankConnectionsSettingsPage-DVp3h4c0-Cn5_bOe_.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcXCxGj2-C4pJ48Rp.js → MyPendingActivationChargeCardListPage-BTk8mY7B-BbdmJXam.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-D-lTTFuP-hNTZ9JYo.js → MyProfileSettingsPage-BdcDAwKZ-DhDLZRJB.js} +9 -9
- package/dist/assets/{NavBarWithPicker-CNBOk06R-BZD_yWn9.js → NavBarWithPicker-DbSWvh0o-1EJ8HziX.js} +4 -4
- package/dist/assets/{NavigationArrow-B15b66TT-BxpDaopE.js → NavigationArrow-BP8cU19I-DuPgzuQR.js} +1 -1
- package/dist/assets/{NavigationDots-5fxvl-4e-xo_TDt3y.js → NavigationDots-nvOimTil-Do5DUslv.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BeP4W8rj-BBX9UZWo.js → NewGlobalMerchantPage-D-imjD0M-pXdB0gKF.js} +6 -6
- package/dist/assets/{NoDataChart-edFKx0zh-BcXK0tqt.js → NoDataChart-VE4W-RUu-BjJTQpdm.js} +1 -1
- package/dist/assets/{NoDataTable-41nH5trW-pzm1rHwP.js → NoDataTable-d0_62BR0-vyxhk2_b.js} +1 -1
- package/dist/assets/{NotFoundPage-CRVGi6Xn-b9DBQuQL.js → NotFoundPage-BydQGX11-BGoiJNRP.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CiVAtoGY-B2aR003-.js → NotificationSettingsPage-BIzaZFzy-BGkCXx1m.js} +6 -6
- package/dist/assets/NotificationsListConfig-DVBOQJZq-BcXyCFD3.js +1 -0
- package/dist/assets/{NotificationsPage-DuHUL5V8-l7cXXilr.js → NotificationsPage-BdI4E6uL-DkzIMoYu.js} +29 -29
- package/dist/assets/{OpExByVendorPage-D611nXIC-DhuOhbiX.js → OpExByVendorPage-Dm90CRYi-fVB-9LNX.js} +5 -5
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-BL1aeWOM.js → OverlayContainerPage-nhe7xtoR-BxI5uHKy.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Cqab0euB-BjlrYFkz.js → PandLWithForecastPage-DhbFHH25-DsvGD_Sy.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cvn1adQb-Y7cu298L.js → PaymentAccountSetupBillingAddressSection-Debi_lWf-LBl6kVXa.js} +6 -6
- package/dist/assets/{PeoplePage-MCCZAx4z-BY3UpTqg.js → PeoplePage-BACu55RO-BN0ZZ-UI.js} +24 -24
- package/dist/assets/{PortfolioAllocationFormPage-Coa0Y4wN-Biro25bf.js → PortfolioAllocationFormPage-Cjz_E3BK-BKc2XOmG.js} +3 -3
- package/dist/assets/{PortfolioDetails-C9a0p99e-BupBBmbV.js → PortfolioDetails-CS2st-Mx-B7UFy1Ls.js} +8 -8
- package/dist/assets/{ProductsCarousel-B0fHKTa_-DRwb_zg1.js → ProductsCarousel-TB4uKZbg-BDTdHFcB.js} +9 -9
- package/dist/assets/{PromoBaseCards-BuCQJuXH-jJQ9UKvZ.js → PromoBaseCards-BMPp9RNQ-B5wN89Pm.js} +5 -5
- package/dist/assets/{QBOConnectionDialog-D-vB9dbo-BMExMhX5.js → QBOConnectionDialog-B1b1wGeq-OoIQ8fFk.js} +9 -9
- package/dist/assets/{QBOSetupSection-CfficE5p-B9jrvkTN.js → QBOSetupSection-Bj_y0Lo2-D2Jh1k_B.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cg_pVsAh-DD6eBHFP.js → ReimbursementApprovalRuleDetailPage-Cz4RtqYb-BX1qPBal.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-Dg1b0lJP-BNSHjAMn.js → ReimbursementApprovalRulesPage-DJlNT4Ov-DKT5YJKy.js} +20 -20
- package/dist/assets/ReimbursementDetailPage-BQiu7Gts-DqYEtmnq.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-MQpz5nNE-B2b8Se26.js → ReimbursementPromoPage-ppaPJby5-CiDmuDvG.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-BRjWHns_-hYFlsZc3.js → ReimbursementSetUpPage-B6mZrzQB-38calwmF.js} +8 -8
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-wPNRkXt8-C2MKAuWk.js → ReimbursementsBulkReviewDrawerPage-DS55QesG-DWNEdEIB.js} +1 -1
- package/dist/assets/{ReloadCard-D5woGDxx-bUwk980b.js → ReloadCard-DDDYlCsI-BiE6_qfW.js} +5 -5
- package/dist/assets/ReportTableViewSelector-Bss4AtF1-D_wRO_1z.js +133 -0
- package/dist/assets/ReportsPage-C-g9588h-XLIvq5EO.js +120 -0
- package/dist/assets/{RevenueChart-CS0JmijO-Cw-uHSTf.js → RevenueChart-DPkxzWaE-ClY8SeJE.js} +25 -25
- package/dist/assets/{ReviewDetailsPage-C7RbpKwU-D2J8IvQH.js → ReviewDetailsPage-CyF2YP3t-B_CfpE0G.js} +14 -14
- package/dist/assets/{ReviewOverlay-BwgzcM9d-BIZud1RE.js → ReviewOverlay-AoSgYufX-BCA64ah8.js} +6 -6
- package/dist/assets/{RoleWithToolTip-DkeT6zjW-DB4n5m2x.js → RoleWithToolTip-aoWU03so-Bag-xDLs.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BzZkVg7T-rhB-3onC.js → ScheduleDetailsFixedAssetsPage-Bfj3vclV-biUqkJSS.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-DiXwmlk8-DlOKlput.js → ScheduleDetailsPage-B30aUjKr-VuYOr4oZ.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CSxFNhoR-B0UeYTos.js → ScheduleSequenceTable-CStdRSyQ-YS2LkHDs.js} +22 -22
- package/dist/assets/{ScreenRoutes-4bmbtkw-.js → ScreenRoutes-DUx3gCGl.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CdUpAzlt-C1MgYcT-.js → SetUpAccountSection-nul4pyeP-CLCXvV9l.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-D4FafmO5-JKsfeRPT.js → SetUpDefaultSection-ByW3h9zl-9i3uOw78.js} +8 -8
- package/dist/assets/{SignIn-CAmRcuqx-Dg-rTZ6q.js → SignIn-R1Rsh38G-8L0Hp_zM.js} +18 -18
- package/dist/assets/{SignInScreen-DAZJjFZ6.js → SignInScreen-BE18aJB0.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DdpJprAd-B10ZaJRb.js → SpendManagementListViewPage-BqOQ7NY_-DhnClYVW.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-D2Ri2q6S-BMv0UU_O.js → SpendManagementPerTabPage--2EC1Oz4-DclxNVvC.js} +36 -36
- package/dist/assets/{SpendManagementSection-CisJALAC-cZKA8cZE.js → SpendManagementSection-COMVry1E-CYzctw4v.js} +11 -11
- package/dist/assets/{SpendMgmtSetupAccountSection-DcJhhfdt-AlupPqQd.js → SpendMgmtSetupAccountSection-fV4qxxEy-ExRAZ_sL.js} +8 -8
- package/dist/assets/{StatementItem-BOq_DDMZ-CY3Qpt1a.js → StatementItem-BksIBztP-GeqTXxSG.js} +5 -5
- package/dist/assets/{StatementsPage-C9WOCLSj-B-U-sZOJ.js → StatementsPage-DnAoeqze-BOeXA5KM.js} +1 -1
- package/dist/assets/{StatusSwitcher-CofdCR_K-BkGUOxFV.js → StatusSwitcher-b1A9RnRP-B052EzJ9.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BPVG5BHS-DY3CAvRO.js → SubTabSwitcher-CgJW4ZXd-DlWjeTn_.js} +1 -1
- package/dist/assets/{SummaryCard-D-me4TrL-3xZv8xrR.js → SummaryCard-sEKhcIH5-DRp31G9t.js} +1 -1
- package/dist/assets/TaskManagementPage-z5uvcy81-CPykjrgv.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-BK7gGqaa-d24Db5VO.js → TimeRangeSwitcher-DQ-u6pKk-DC1xB5lv.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-SD5_8TCp-DrzKb54r.js → TimeframeSwitcher-B0yxn0SJ-CwNpTd2S.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BlbY3qcY-CLuOSbn2.js +31 -0
- package/dist/assets/{TopExCard-CDgcQKGp-Bqp10Sn-.js → TopExCard-CTjfWfCk-CAtjOAda.js} +5 -5
- package/dist/assets/{TopExDetailPage-CXiEe14r-DVBrKuWG.js → TopExDetailPage-CdpvcVME-J1pxGIiS.js} +6 -6
- package/dist/assets/{TransactionDetailPage-IJyZF-Z_-C-Z95BQG.js → TransactionDetailPage-DdF9FS4b-aUNjP2MS.js} +46 -46
- package/dist/assets/{TransactionList-C34ivmk5-C5mBiYt3.js → TransactionList-CHq3WONc-CDMTLkl_.js} +13 -13
- package/dist/assets/{TransactionListBig-qruiU0xy-tMMTuqzY.js → TransactionListBig-D-Gxd5n0-BYXDLjRx.js} +18 -18
- package/dist/assets/{TransactionListPage-C31U97xd-CRQaNpPy.js → TransactionListPage-DK9-YK_1-jSebPnQW.js} +5 -5
- package/dist/assets/{TransactionVendorDetailPage-DZsvH-GM-8MuJaqmu.js → TransactionVendorDetailPage-Cc9pTpTw-dOPSJTMD.js} +6 -6
- package/dist/assets/{TransferDrawerPage-DC5q2Zpv-CmGtL5lc.js → TransferDrawerPage-DoDTECI8-BFP-sFPo.js} +33 -33
- package/dist/assets/{TreasuryOverviewPage-DSBqawrH-DycEi82C.js → TreasuryOverviewPage-wlfReqPJ-Dd6DjTk6.js} +14 -14
- package/dist/assets/{TreasuryPromoPage-D6WSBxgD-BlvVAiRS.js → TreasuryPromoPage-C9WNRb2_-Bv2i8EfH.js} +8 -8
- package/dist/assets/{TreasurySetupPage-BgSq4D0a-ad83A_r3.js → TreasurySetupPage-CjV0cOq9-BmP_R4PT.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-Dj9RAujO-DWwk9wCn.js → TreasuryStatementsPage-DqOWNGB_-hAvO09t_.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-Dw6tL_j9-CkIAlhee.js → TreasuryTaxLetterPage-BWGHcQ-i-DCm4xllr.js} +4 -4
- package/dist/assets/{TreasuryTransferOrReviewPage-cBHznYnK-BXVAiiS6.js → TreasuryTransferOrReviewPage-CgL8K7N9-BrTZBU_c.js} +19 -19
- package/dist/assets/TrendChart-76tuu9Dr-DKqkCwBC.js +16 -0
- package/dist/assets/{TrendWithTransactions-BOGQK2Zt-DsTHQyvH.js → TrendWithTransactions-B_fJTS4m-B4jhKCz-.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-Ci4VHOLB-BdOVs5yc.js → UncategorizedAccountsMappingPage-DpY1kK_K-CX5FrYpM.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-DSMTzyKA-CoAUeDRa.js → UnitIntegrationPage-BTJI7fx3-B4TaSpvh.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CBpLz-gk-Cn-PxzO4.js → UploadAdditionalDocumentOverlay-BH3bRKoG-Cxr-sGAj.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Be7OBE4e-Dw3MgVFY.js → Vendor2FAPopup-4-XtZDNS-BuVX3Yle.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-LvWgxsF7-CaN7hXyJ.js → VendorACHDetailsPage-B2knDl4H-czLYWWIH.js} +1 -1
- package/dist/assets/{VendorDetailPage-C-qpa1GC-OT8_rieb.js → VendorDetailPage-w-tghGpI-CfkAuWGF.js} +17 -17
- package/dist/assets/{VendorDomesticWireDetailsPage-Ckoq2I8V-sly11L4e.js → VendorDomesticWireDetailsPage-BXCCdTjh-Di1QWV1S.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-WZMwLILQ-Dvglnl8g.js → VendorFiling1099EditablePage-DGQO9Qqj-CEOM5YEV.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-DNhp59d9-6Npfw6ZQ.js → VendorFirstReviewPage-Lblb6X1V-39fudz_L.js} +40 -40
- package/dist/assets/{VendorInternationalWireDetailsPage-DuP916gU-CFYN39yL.js → VendorInternationalWireDetailsPage-Bi5RBKxI-CtyyMelR.js} +9 -9
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-CTfDKjHB.js → VendorInternationalWireSwiftDetailsPage-CBZmsXnL-B-d0u1XS.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C4q6FPlB-Cdm8bQji.js → VendorsAccountsSection-JI0e3gKo-BI5thaS_.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-C162biV8-CyRcKAFE.js → WarningsDrawerPage-BQzUQ5-l-D1cPDLUy.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-C3NnXuFp-hGf5hhXT.js → ZeniAccountDetailPage-DPJ4mWoO-D2fzjkqw.js} +29 -29
- package/dist/assets/{ZeniAccountListViewPage-Cn7rYnlu-BZ6tC-rC.js → ZeniAccountListViewPage-iHMJ7FU7-UZUihbgS.js} +23 -23
- package/dist/assets/ZeniAccountNavBarPieces-D1g1REsS-D07e9d9s.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BGyyQP4l-8aRktQCO.js → ZeniAccountPromoPage-OxQ03DtJ-X6atYnaZ.js} +8 -8
- package/dist/assets/{ZeniAccountSetupPage-CIh0isMw-BpYj-zTN.js → ZeniAccountSetupPage-BahzDcmm-B-umC_Qa.js} +1 -1
- package/dist/assets/{ZeniCopyright-B83zWEf0-CbbA3mi5.js → ZeniCopyright-Dpqdxu7f-CHOK6b2K.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CPg3o4xG-Cpl4hegF.js → ZeniTransferAmountSlider-DwC6pXnb-BgJArm45.js} +1 -1
- package/dist/assets/analytics-BSSiLa6f.js +7 -0
- package/dist/assets/{analyticsHelper-Bwye1Yzk.js → analyticsHelper-CPNSDy4Z.js} +1 -1
- package/dist/assets/{analyticsHelper-DlYWxxhD-6PX8-p-s.js → analyticsHelper-CZ8c8du5-Ber0nUBK.js} +1 -1
- package/dist/assets/{chartTypes-DueLK3Wl-BWSykg1r.js → chartTypes-CWLOazD0-BCrBxX2L.js} +1 -1
- package/dist/assets/{commonDimensions-D4uH020E-CzLHHjVa.js → commonDimensions-Cg7EWgSP-ztBpKI_h.js} +1 -1
- package/dist/assets/{detailCommon-D5qKBZdS-BpsfjSiy.js → detailCommon-Cp4eknjq-ClKRuZos.js} +7 -7
- package/dist/assets/{downloadPdf-s4pLtuS_-DfJmhSyn.js → downloadPdf-f3F0OqWf-DUwLrQQm.js} +1 -1
- package/dist/assets/{index-Dc18sb8X.js → index-Dq4DW5h0.js} +3324 -3326
- package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-M0QN8LkC-DSfxQmfa.js → mapLoadingInProgressToTreeNode-DCLD3rcY-_6B85me3.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrtVdHui-qBoPPypE.js → mapSectionWithAcOnlyToTreeNode-C-VOXE5I-ChyvQWp0.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-yPPIJHBw-BXxWoQQn.js → mapSpacerToTreeNode-DlDwFA_F-CYv3KN_2.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-px916zpo-CuLGcUKr.js → mapTimeframeBalancesToTreeNode-EEyJwCnX-HEZ0R9-O.js} +1 -1
- package/dist/assets/mui-BgvZYSo0.js +22 -0
- package/dist/assets/{play-icon-Bih37F_s-C6sD6kbP.js → play-icon-CFa9Uibr-CaxUs2iQ.js} +3 -3
- package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
- package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CAhfOfUa-BLsrlpgK.js → toCOABalancesWithID-DT8-C5u1-CE-3jMAY.js} +1 -1
- package/dist/assets/{toChartData-BicnbT0F-CzNzHCD-.js → toChartData-63e3B91H-DoSBXci0.js} +1 -1
- package/dist/assets/{treasuryColorHelper-A_YlwvaQ-CVHETTwa.js → treasuryColorHelper-BGGfolJy-B6Wl_Wly.js} +1 -1
- package/dist/assets/{uploadAttachment-DVoWdoWD-D5s5ylN5.js → uploadAttachment-YcPIDoZ--DIC1ZEM7.js} +19 -19
- package/dist/assets/{uploadReceipts-Buvz7DfG-DS0aCuAZ.js → uploadReceipts-BH9fi3Vt-CnyK0TMw.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountRow-D9vDRsjv-XcUg9HnZ.js +0 -298
- package/dist/assets/BusinessVerificationPage-YKJ-CZfb-CA1EyVwE.js +0 -140
- package/dist/assets/CheckDepositDrawerPage-B1Qp-xbY-CG1lluPq.js +0 -206
- package/dist/assets/CompleteProfile-CJOsHnBa-CTqixosH.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-DPk_xOir.js +0 -1
- package/dist/assets/CustomerOnboardingPage-CIbBaMcO-D6XARpKC.js +0 -107
- package/dist/assets/DashboardReportPage-BM6TqjrJ-CXS5ZOn0.js +0 -349
- package/dist/assets/DomesticWireDetailsPage-BZ8jSo8r-CvJ1Feba.js +0 -21
- package/dist/assets/LabeledDocumentField-CIlbLPtO-CyOwq3qY.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Dpt7UG-o-BXwTt2kH.js +0 -59
- package/dist/assets/NotificationsListConfig-BjItJJe9-DzH6eIvg.js +0 -1
- package/dist/assets/ReimbursementDetailPage-CE_jx7cM-NMeD4tV1.js +0 -314
- package/dist/assets/ReportTableViewSelector-Bc5xUtnG-B_lLxJq7.js +0 -150
- package/dist/assets/ReportsPage-J8DrZz78-BDQBNTzo.js +0 -120
- package/dist/assets/TaskManagementPage-BSmG6YR2-DNj3Vzrv.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BwvVsB_p-D2v3J1KI.js +0 -31
- package/dist/assets/TrendChart-dARoUu-T-DLWmmph8.js +0 -16
- package/dist/assets/ZeniAccountNavBarPieces-DHYLxQKr-i6WaheRu.js +0 -14
- package/dist/assets/analytics-DThoELaW.js +0 -7
- package/dist/assets/mui-C5LQ0bMa.js +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as ie,u as oe,M as te,C as c,
|
|
1
|
+
import{X as ie,u as oe,M as te,C as c,g6 as w,ab as L,j as i,hm as m,hl as g,o as n,Q as re,g as ne,dw as se,v as le,p as a}from"./index-Dq4DW5h0.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},P={title:new re("standardMedium","largeMedium")},de=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
|
|
@@ -27,7 +27,7 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
|
|
|
27
27
|
margin-bottom: ${n.sp0};
|
|
28
28
|
`,ae=l.div`
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
|
-
${e=>`${
|
|
30
|
+
${e=>`${P.title.style(e.windowSize)}`};
|
|
31
31
|
`,S=l.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
@@ -45,7 +45,7 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
|
|
|
45
45
|
max-height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
46
46
|
margin-right: ${e=>s.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
47
47
|
`,$=l.div`
|
|
48
|
-
${e=>`${
|
|
48
|
+
${e=>`${P.title.style(e.windowSize)}`};
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
50
|
`,v=l(le)`
|
|
51
51
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -65,4 +65,4 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
|
|
|
65
65
|
background-color: ${e=>e.theme.colors.grey5};
|
|
66
66
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
67
67
|
border-radius: ${n.sp2};
|
|
68
|
-
`,z=(e,u)=>`${e}.${u}`;function xe({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:
|
|
68
|
+
`,z=(e,u)=>`${e}.${u}`;function xe({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:k,showTitle:I=!0}){const r=ie(),d=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:_,accruedExpensesRecommendations:E,fixedAssetsAccountHierarchy:B,fixedAssetsAccountList:M,fixedAssetsRecommendations:R,prepaidExpensesAccountHierarchy:W,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:T,selectedAccruedExpensesAccountIds:F,selectedFixedAssetsAccountIds:H,selectedPrepaidExpensesAccountIds:V}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=s.labelWidth.value(r),q=w(W,T,"Accounts"),D=w(B,R,"Accounts"),G=w(O,E,"Accounts"),J=T[0]?.account?.reason??"",Q=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),N=R[0]?.account?.reason??"",X=t.tooltip.replace("__based__",N).replace("__account__",t.vendorSection.fixedAssetsAccount),K=E[0]?.account?.reason??"",U=t.tooltip.replace("__based__",K).replace("__account__",t.vendorSection.accruedExpensesAccount),Y=C.filter(o=>V.includes(o.accountId)??!1),Z=M.filter(o=>H.includes(o.accountId)??!1),ee=_.filter(o=>F.includes(o.accountId)??!1),x={valueContainer:o=>({...o,padding:`2px ${n.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},h=d.mode==="light"?new L(d.colors.brandColorJadeLight):new L(d.colors.brandColorJadeDark);return i.jsxs(de,{windowSize:r,children:[I?i.jsx(ae,{windowSize:r,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:r,children:[i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.prepaidExpenseTitle}),i.jsx(v,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(m,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:Q,sticky:!1},valueToId:o=>g(o,C)}})})}),i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.FixedAssetsTitle}),i.jsx(v,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(m,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:D,selectedOptions:Z.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:X,sticky:!1},valueToId:o=>g(o,M)}})})}),k?i.jsxs(i.Fragment,{children:[i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.AccruedExpensesTitle}),i.jsx(v,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(m,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:U,sticky:!1},valueToId:o=>g(o,_)}})})})]}):null]})]})}export{xe as h};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{X as
|
|
2
|
-
${
|
|
1
|
+
import{X as C,l as B,M as D,j as s,eP as j,eT as S,K as M,q as E,o as n,C as $,Q as L,h as P,a6 as z,c0 as N,g as w,k as A,ee as T,eD as R,p as g}from"./index-Dq4DW5h0.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},Q={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=q(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=F(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=G(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
|
|
2
|
+
${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(W,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},q=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=t.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
padding-top: ${n.sp3};
|
|
@@ -35,7 +35,7 @@ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,v as E,o as n,C as $,Q
|
|
|
35
35
|
padding-bottom: ${r=>h.navBarPaddingBottom.valuePx(r.windowSize)};
|
|
36
36
|
height: 100%;
|
|
37
37
|
`,U=t(P)`
|
|
38
|
-
${r=>`${
|
|
38
|
+
${r=>`${Q.title.style(r.windowSize)}`};
|
|
39
39
|
display: flex;
|
|
40
40
|
flex: 1 1 auto;
|
|
41
41
|
color: ${r=>r.theme.colors.primary};
|
|
@@ -66,11 +66,11 @@ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,v as E,o as n,C as $,Q
|
|
|
66
66
|
color: ${r=>r.isStepInError?w.brandColorGoldDark:r.theme.colors.primary};
|
|
67
67
|
margin-left: ${n.sp2};
|
|
68
68
|
align-items: center;
|
|
69
|
-
`,oe=t(
|
|
69
|
+
`,oe=t(T)`
|
|
70
70
|
width: ${n.sp4};
|
|
71
71
|
height: ${n.sp4};
|
|
72
72
|
color: ${w.success};
|
|
73
|
-
`,ne=t(
|
|
73
|
+
`,ne=t(R)`
|
|
74
74
|
width: ${n.sp4};
|
|
75
75
|
height: ${n.sp4};
|
|
76
76
|
color: ${r=>r.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Pe,X as
|
|
1
|
+
import{a as Pe,X as H,w as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bu as L,o,aW as Le,q as D,bN as R,bP as F,bQ as Y,F as Ne,cA as Me,g as y,co as He,Y as v,d as ue,v as w,b6 as Ee,bg as Ie,a9 as Ue,C as j,ff as We,cO as ae,p,gT as Oe,ay as Re,b8 as Fe,aB as Ye,aA as Ve,b9 as Ge,az as Je,s as Z,gU as Xe,aq as qe,ak as Ke,gV as Ze,k as _e,gW as Qe,ee as et,fh as tt,cv as ot,f as at,Q as it,ah as nt}from"./index-Dq4DW5h0.js";import{b as l,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as rt}from"./BoxItem-Cqmd_7h4-S5g5H_Jr.js";import{w as lt}from"./downloadPdf-f3F0OqWf-DUwLrQQm.js";import{H as ct}from"./DepositAccTransactionItem-DJNio75H-BszNXL3v.js";import{T as st}from"./ZeniAccountNavBarPieces-D1g1REsS-D07e9d9s.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-Cg7EWgSP-ztBpKI_h.js";const dt=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100vh;
|
|
@@ -8,17 +8,17 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
8
8
|
background-color: ${e=>e.theme.colors.grey5};
|
|
9
9
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
10
10
|
background-color: ${e=>e.theme.colors.grey4};
|
|
11
|
-
`,ie="editNickName-form",G="checkingAccountNickName",ut={tickLabelText:new it("extraSmallRegular","smallRegular")},u={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:H,spendManagement:ht}=q.getLocalizedStrings(),{zeniAccounts:i}=ht,V=q.getLocalizedStrings().dateFormat,mt=q.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=r.memo(({accountHistory:e})=>{const h=M(),n=pe(),[m,$]=r.useState(),b=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let d="",c="";return l&&l[0]&&(c=B("0,0[.]00",l[0].payload?.balance?.available),d=T.zeniDate(l[0].payload?.date).format(V.visual.DMMMYYYYFormat)),t.jsxs(Gt,{children:[t.jsx(le,{children:d}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:d,y:c}=l,{value:v}=l.payload;let D=!1;e.accountHistoryWithBalance.length>360&&(D=!0);const S=D?T.zeniDate(v).format(V.visual.MMMformat):T.zeniDate(v).format(V.visual.MMMDFormat);return t.jsx(Dt,{translateX:d,translateY:c,children:t.jsx(Lt,{windowSize:h,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,h]),k=r.useCallback(({cx:l,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==d)&&$({x:l,y:d}),t.jsx(Vt,{cx:l,cy:d,strokeWidth:1,r:p[1]})),[m]),y=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(so,{children:t.jsx(po,{children:H.texts.noData})}):t.jsx(It,{children:t.jsx(We,{height:u.areaChartHeight.value(h),width:"99%",children:t.jsxs(Re,{data:b,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Nt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ht,{offset:"0%",stopColor:f.brandColorJade,stopOpacity:1}),t.jsx(Mt,{offset:"100%",stopColor:f.brandColorJade,stopOpacity:.03})]})}),t.jsx(Fe,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Ye,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:p[4]},interval:y}),t.jsx(Ge,{tick:!1,axisLine:!1}),t.jsx(Ve,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:f.brandColorJade}}),t.jsx(Je,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:f.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:h,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:b,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const y=M(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(bt,{windowSize:y,children:[t.jsx(xt,{getToolTipContent:h,zeniAccountDetail:e}),t.jsxs(zt,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(Et,{windowSize:y,children:[t.jsxs(Rt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(ao,{}),y==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":C("download-bank-verification-letter"),onClick:()=>rt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[b?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(io,{}),y==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs($t,{windowSize:y,children:[t.jsxs(jt,{children:[t.jsx(_t,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(eo,{children:i.zeniAccountDetail.viewAll}),t.jsx(Zt,{})]}):null]}),t.jsx(kt,{children:e.transactionList.map((d,c)=>t.jsx(ct,{data:d,boxType:lt(c,e.transactionList.length)},d.id))})]}):t.jsxs(gt,{children:[t.jsx(yt,{windowSize:y}),t.jsx(ft,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const So=({authParams:e,downloadEndPoint:h,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:b,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:y,onEditNameClick:l,onReloadZeniAccountDetailPage:d})=>{const c=Pe({mode:"all"}),{setFocus:v}=c,[D,S]=r.useState(!1),[E,I]=r.useState(!1),[Q,xe]=r.useState(!1),Z=M(),ee=Te(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||T.hasAnyFinOpRole(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,U=pe(),[ye,fe]=r.useState(!1),[$e,O]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?O(!0):g(s,n.accountDetail)},we={onOkClick:()=>{y?.(),S(!1)},onCancelClick:()=>{S(!1)}},be={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(I(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{E&&v(G)},[E,v]);const ke={pageName:"detailPage",onOptionSelection:je},Ce=n.accountDetail?.accountName??"",A=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),O(!1)},onCancelClick:()=>{O(!1)}},ze=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},De=r.useCallback(s=>{let P=null;switch(s){case"insuredBalance":P=t.jsx(t.Fragment,{});break;case"totalInterest":P=t.jsx(co,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":P=t.jsxs(lo,{children:[t.jsx(no,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.available)})]})]});break}return t.jsx(N,{children:t.jsx(L,{style:{textAlign:"left",padding:o.sp1},maxWidth:ze(s),display:"flex",placement:Z==="small"?"bottom":"top",title:P,children:t.jsx(ro,{})})})},[A,Z]),Ae=t.jsx(st,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:U.colors.grey4,style:{zIndex:3,...z.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),D?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(F,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${H.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:be,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:G,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,G)===!0?f.importantLight:U.colors.background,border:`1px solid ${U.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:h,getToolTipContent:De,onAccountDetailClick:x,onViewAllTransactionClick:b,setShowLoader:fe,showLoader:ye,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(At,{children:[t.jsx(Pt,{onClick:d,"data-testid":C("account-detail-reload"),children:t.jsx(Bt,{})}),t.jsx(Tt,{children:mt.reloadPage.label})]}):t.jsx(pt,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},xt=({zeniAccountDetail:e,getToolTipContent:h})=>{const n=M(),[m,$]=r.useState(!1),[,b]=Oe(),[x,g]=r.useState(!1),k=()=>{b(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(Ct,{children:[t.jsxs(vt,{children:[t.jsx(Yt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:z.h2Regular.cssObject,decimalStyles:z.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"right",title:x?H.copyToClipBoard.copied:H.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(oo,{}):t.jsx(to,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),h("totalInterest")]}),t.jsxs(Ut,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:z.largeRegular.cssObject,decimalStyles:z.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Wt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},gt=a.div`
|
|
11
|
+
`,ie="editNickName-form",V="checkingAccountNickName",ut={tickLabelText:new it("extraSmallRegular","smallRegular")},u={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:M,spendManagement:ht}=K.getLocalizedStrings(),{zeniAccounts:i}=ht,G=K.getLocalizedStrings().dateFormat,mt=K.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=l.memo(({accountHistory:e})=>{const h=H(),n=pe(),[m,$]=l.useState(),b=l.useMemo(()=>e.accountHistoryWithBalance.map(r=>({...r,date:r.date.toISOString()})),[e.accountHistoryWithBalance]),x=l.useCallback(r=>{let d="",c="";return r&&r[0]&&(c=B("0,0[.]00",r[0].payload?.balance?.available),d=T.zeniDate(r[0].payload?.date).format(G.visual.DMMMYYYYFormat)),t.jsxs(Vt,{children:[t.jsx(re,{children:d}),t.jsx(re,{isSublabel:!0,children:c})]})},[]),g=l.useCallback(r=>{const{x:d,y:c}=r,{value:C}=r.payload;let z=!1;e.accountHistoryWithBalance.length>360&&(z=!0);const S=z?T.zeniDate(C).format(G.visual.MMMformat):T.zeniDate(C).format(G.visual.MMMDFormat);return t.jsx(zt,{translateX:d,translateY:c,children:t.jsx(Lt,{windowSize:h,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,h]),k=l.useCallback(({cx:r,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==r||m?.y!==d)&&$({x:r,y:d}),t.jsx(Gt,{cx:r,cy:d,strokeWidth:1,r:p[1]})),[m]),f=l.useMemo(()=>{const r=e.accountHistoryWithBalance.length;return r<=0?0:r>360?Math.floor(r/12):Math.floor(r/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(so,{children:t.jsx(po,{children:M.texts.noData})}):t.jsx(It,{children:t.jsx(Oe,{height:u.areaChartHeight.value(h),width:"99%",children:t.jsxs(Re,{data:b,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Nt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Mt,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Ht,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(Fe,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Ye,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:r=>g(r),padding:{right:p[4]},interval:f}),t.jsx(Ve,{tick:!1,axisLine:!1}),t.jsx(Ge,{position:m,content:({payload:r})=>x(r),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(Je,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=l.memo(({zeniAccountDetail:e,getToolTipContent:h,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:b,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),r=l.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(bt,{windowSize:f,children:[t.jsx(xt,{getToolTipContent:h,zeniAccountDetail:e}),t.jsxs(Dt,{children:[t.jsx(he,{accountHistory:r}),t.jsxs(Et,{windowSize:f,children:[t.jsxs(Rt,{onClick:n,"data-testid":v("view-account-detail-button"),children:[t.jsx(ao,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":v("download-bank-verification-letter"),onClick:()=>lt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[b?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs($t,{windowSize:f,children:[t.jsxs(jt,{children:[t.jsx(Zt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(_t,{onClick:g,"data-testid":v("view-all-account-transactions"),children:[t.jsx(eo,{children:i.zeniAccountDetail.viewAll}),t.jsx(Qt,{})]}):null]}),t.jsx(kt,{children:e.transactionList.map((d,c)=>t.jsx(ct,{data:d,boxType:rt(c,e.transactionList.length)},d.id))})]}):t.jsxs(gt,{children:[t.jsx(ft,{windowSize:f}),t.jsx(yt,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const So=({authParams:e,downloadEndPoint:h,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:b,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:r,onReloadZeniAccountDetailPage:d})=>{const c=Pe({mode:"all"}),{setFocus:C}=c,[z,S]=l.useState(!1),[E,I]=l.useState(!1),[_,xe]=l.useState(!1),Q=H(),ee=Te(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||T.hasAnyFinOpRole(ee.loggedInUserRoleMap);l.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),l.useEffect(()=>{_===!0&&setTimeout(()=>{xe(!1)},800)},[_]);const ge=n.transactionList.length>4,U=pe(),[fe,ye]=l.useState(!1),[$e,W]=l.useState(!1),O=n.accountUpdateStatus.editName.fetchState,oe=Be(O),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?W(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},be={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};l.useEffect(()=>{oe==="In-Progress"&&O==="Completed"&&(I(!1),c.reset())},[oe,O,c]),l.useEffect(()=>{E&&C(V)},[E,C]);const ke={pageName:"detailPage",onOptionSelection:je},ve=n.accountDetail?.accountName??"",A=n.accountSummary,Ce=c.handleSubmit(s=>{r?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),W(!1)},onCancelClick:()=>{W(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},ze=l.useCallback(s=>{let P=null;switch(s){case"insuredBalance":P=t.jsx(t.Fragment,{});break;case"totalInterest":P=t.jsx(co,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":P=t.jsxs(ro,{children:[t.jsx(no,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.available)})]})]});break}return t.jsx(N,{children:t.jsx(L,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:Q==="small"?"bottom":"top",title:P,children:t.jsx(lo,{})})})},[A,Q]),Ae=t.jsx(st,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:ve,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:U.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),z?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(F,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${M.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:be,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:Ce,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(Me,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:He(c.formState.errors,V)===!0?y.importantLight:U.colors.background,border:`1px solid ${U.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:h,getToolTipContent:ze,onAccountDetailClick:x,onViewAllTransactionClick:b,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(At,{children:[t.jsx(Pt,{onClick:d,"data-testid":v("account-detail-reload"),children:t.jsx(Bt,{})}),t.jsx(Tt,{children:mt.reloadPage.label})]}):t.jsx(pt,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},xt=({zeniAccountDetail:e,getToolTipContent:h})=>{const n=H(),[m,$]=l.useState(!1),[,b]=We(),[x,g]=l.useState(!1),k=()=>{b(e.accountDetail?.accountNumber??""),g(!0)};return l.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(Ct,{children:[t.jsx(Yt,{children:t.jsxs(le,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(Kt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(qt,{"data-testid":v("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"right",title:x?M.copyToClipBoard.copied:M.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(oo,{}):t.jsx(to,{onClick:k,"data-testid":v("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":v("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(le,{children:[ne(i.common.totalYieldEarned),h("totalInterest")]}),t.jsxs(Ut,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Wt,{}),t.jsx(Ot,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},gt=a.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: center;
|
|
16
|
-
`,
|
|
16
|
+
`,ft=a(Ze)`
|
|
17
17
|
width: ${e=>u.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
18
18
|
height: ${e=>u.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
19
19
|
margin-top: 128px;
|
|
20
20
|
margin-bottom: ${o.sp3};
|
|
21
|
-
`,
|
|
21
|
+
`,yt=a(Z)`
|
|
22
22
|
color: ${e=>e.theme.colors.hero};
|
|
23
23
|
text-align: center;
|
|
24
24
|
`,$t=a.div`
|
|
@@ -51,18 +51,18 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
51
51
|
`,kt=a.div`
|
|
52
52
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
53
53
|
border-radius: ${o.sp2};
|
|
54
|
-
`,
|
|
54
|
+
`,vt=a.div`
|
|
55
55
|
display: flex;
|
|
56
56
|
gap: ${o.sp3};
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
justify-content: space-between;
|
|
59
|
-
`,
|
|
59
|
+
`,Ct=a.div``,St=a.div``,Dt=a.div`
|
|
60
60
|
display: flex;
|
|
61
61
|
gap: ${o.sp3};
|
|
62
62
|
flex: 1;
|
|
63
63
|
flex-direction: column;
|
|
64
64
|
justify-content: flex-end;
|
|
65
|
-
`,
|
|
65
|
+
`,zt=a.g`
|
|
66
66
|
transform: ${e=>`translate(${e.translateX}px, ${e.translateY}px)`};
|
|
67
67
|
`,At=a.div`
|
|
68
68
|
display: flex;
|
|
@@ -103,7 +103,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
103
103
|
`,Lt=a.text`
|
|
104
104
|
fill: ${e=>e.theme.colors.hero};
|
|
105
105
|
${e=>`${ut.tickLabelText.style(e.windowSize)}`};
|
|
106
|
-
`,Nt=a.linearGradient``,
|
|
106
|
+
`,Nt=a.linearGradient``,Mt=a.stop``,Ht=a.stop``,Et=a.div`
|
|
107
107
|
display: flex;
|
|
108
108
|
flex-direction: row;
|
|
109
109
|
gap: ${e=>u.accBtnsGap.valuePx(e.windowSize)};
|
|
@@ -124,7 +124,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
124
124
|
display: flex;
|
|
125
125
|
flex-direction: row;
|
|
126
126
|
align-items: baseline;
|
|
127
|
-
`,
|
|
127
|
+
`,Wt=a.div`
|
|
128
128
|
align-self: center;
|
|
129
129
|
background-color: ${e=>e.theme.colors.grey1};
|
|
130
130
|
border-radius: 50%;
|
|
@@ -132,7 +132,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
132
132
|
height: ${o.sp1};
|
|
133
133
|
margin: ${o.sp0} ${o.sp1};
|
|
134
134
|
margin-top: 2px;
|
|
135
|
-
`,
|
|
135
|
+
`,Ot=a(at)`
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
137
|
margin-top: ${o.sp1};
|
|
138
138
|
`,Rt=a.div`
|
|
@@ -168,7 +168,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
168
168
|
`,Yt=a(w)`
|
|
169
169
|
display: flex;
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
|
-
`,
|
|
171
|
+
`,Vt=a.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
align-items: center;
|
|
174
174
|
flex-direction: column;
|
|
@@ -179,18 +179,18 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
179
179
|
min-width: 66px;
|
|
180
180
|
border-radius: ${o.sp1};
|
|
181
181
|
padding: ${o.sp0} ${o.sp2};
|
|
182
|
-
background-color: ${
|
|
183
|
-
`,
|
|
182
|
+
background-color: ${y.blackColor};
|
|
183
|
+
`,Gt=a.circle`
|
|
184
184
|
stroke: ${e=>e.theme.colors.brandColorJade};
|
|
185
185
|
fill: ${e=>e.theme.colors.grey5};
|
|
186
|
-
`,
|
|
187
|
-
color: ${e=>e.isSublabel===!0?
|
|
188
|
-
`,
|
|
186
|
+
`,re=a(w)`
|
|
187
|
+
color: ${e=>e.isSublabel===!0?y.neutralGrey1Light:y.brandColorPearl};
|
|
188
|
+
`,le=a.div`
|
|
189
189
|
display: flex;
|
|
190
190
|
gap: ${o.sp1};
|
|
191
191
|
`,Jt=a(w)`
|
|
192
192
|
color: ${e=>e.theme.colors.hero};
|
|
193
|
-
`,ce=a(
|
|
193
|
+
`,ce=a(_e)`
|
|
194
194
|
text-transform: capitalize;
|
|
195
195
|
color: ${e=>`${e.windowSize==="small"?e.theme.colors.hero:e.theme.colors.champion}`};
|
|
196
196
|
display: flex;
|
|
@@ -202,23 +202,23 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
202
202
|
margin-right: ${o.sp2};
|
|
203
203
|
cursor: pointer;
|
|
204
204
|
color: ${e=>e.theme.colors.hero};
|
|
205
|
-
`,
|
|
205
|
+
`,qt=a(Qe)`
|
|
206
206
|
height: ${o.sp3};
|
|
207
207
|
width: ${o.sp3};
|
|
208
208
|
margin-left: ${o.sp2};
|
|
209
209
|
margin-right: ${o.sp2};
|
|
210
210
|
color: ${e=>e.theme.colors.hero};
|
|
211
|
-
`,
|
|
211
|
+
`,Kt=a.div`
|
|
212
212
|
display: flex;
|
|
213
213
|
align-items: baseline;
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
|
-
`,se=a(
|
|
215
|
+
`,se=a(Z)`
|
|
216
216
|
margin-left: ${o.sp2};
|
|
217
217
|
`,de=a(w)`
|
|
218
218
|
margin-left: ${o.sp2};
|
|
219
|
-
`,
|
|
219
|
+
`,Zt=a(qe)`
|
|
220
220
|
color: ${e=>e.theme.colors.primary};
|
|
221
|
-
`,
|
|
221
|
+
`,_t=a.div`
|
|
222
222
|
display: flex;
|
|
223
223
|
align-items: center;
|
|
224
224
|
cursor: pointer;
|
|
@@ -231,11 +231,11 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
231
231
|
color: ${e=>e.theme.colors.primary};
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
`,
|
|
234
|
+
`,Qt=a(Ke)`
|
|
235
235
|
width: ${o.sp3};
|
|
236
236
|
height: ${o.sp3};
|
|
237
237
|
color: ${e=>e.theme.colors.grey1};
|
|
238
|
-
`,eo=a(
|
|
238
|
+
`,eo=a(Z)`
|
|
239
239
|
color: ${e=>e.theme.colors.hero};
|
|
240
240
|
margin-right: ${o.sp2};
|
|
241
241
|
`,N=a.div`
|
|
@@ -257,7 +257,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
257
257
|
`,oo=a(et)`
|
|
258
258
|
height: ${o.sp3};
|
|
259
259
|
width: ${o.sp3};
|
|
260
|
-
color: ${
|
|
260
|
+
color: ${y.success};
|
|
261
261
|
`,ao=a(dt)`
|
|
262
262
|
width: ${o.sp4};
|
|
263
263
|
min-width: ${o.sp4};
|
|
@@ -269,7 +269,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
269
269
|
`,no=a(w)`
|
|
270
270
|
margin-bottom: ${o.sp2};
|
|
271
271
|
display: flex;
|
|
272
|
-
`,
|
|
272
|
+
`,ro=a(w)`
|
|
273
273
|
padding: 12px ${o.sp3};
|
|
274
274
|
color: ${e=>e.theme.colors.hero};
|
|
275
275
|
border-radius: ${o.sp1};
|
|
@@ -280,9 +280,9 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
|
|
|
280
280
|
justify-content: space-between;
|
|
281
281
|
`,X=a.div`
|
|
282
282
|
color: ${e=>e.theme.colors.hero};
|
|
283
|
-
`,
|
|
284
|
-
color: ${
|
|
285
|
-
`,
|
|
283
|
+
`,q=a.div`
|
|
284
|
+
color: ${y.primaryDark};
|
|
285
|
+
`,lo=a(Ee)`
|
|
286
286
|
width: ${o.sp3};
|
|
287
287
|
height: ${o.sp3};
|
|
288
288
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as
|
|
1
|
+
import{X as K,a as Ie,a5 as _e,u as De,aJ as Ee,M as H,a0 as Fe,j as t,bN as W,g as o,F as Ge,o as n,cA as Ne,co as Re,bP as ne,bQ as ie,gQ as Oe,_ as G,bu as fe,aW as Ue,q as z,Z as We,s as Ye,k as Ve,bD as qe,b6 as ye,v as b,w as Ze,l as Qe,cO as F,Y as N,C as j,f as X,fa as Je,Q as Ke,h as He,n as Xe,cq as et,ah as tt,fB as nt,p as u,dJ as it,fj as ot,gR as rt,K as st,fc as at,bg as ct,a9 as lt}from"./index-Dq4DW5h0.js";import{b as g,n as i}from"./vendor-CnQcJ2Lu.js";import{r as dt}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as pt}from"./shield-DOlUxcFf-BCUrujod.js";import{T as ut}from"./ZeniAccountNavBarPieces-D1g1REsS-D07e9d9s.js";import{v as mt}from"./ZeniTransferAmountSlider-DwC6pXnb-BgJArm45.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const ht=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=H.getLocalizedStrings(),gt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:$,style:C})=>{const s=K(),v=(c,T)=>Object.entries(T).reduce((M,[L,w])=>M.replace(new RegExp(`__${L}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),S=[{icon:t.jsx(At,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(zt,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(Ct,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(xt,{style:C,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx($t,{}),t.jsx(ft,{})]}),t.jsx(yt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(kt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(bt,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},xt=i.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -7,7 +7,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
7
7
|
border-radius: ${n.sp2};
|
|
8
8
|
overflow: hidden;
|
|
9
9
|
width: 100%;
|
|
10
|
-
|
|
10
|
+
`,wt=i.div`
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: ${n.sp0};
|
|
13
13
|
left: ${n.sp0};
|
|
@@ -33,7 +33,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
33
33
|
rgba(199, 116, 25, 0.1) ${n.sp3}
|
|
34
34
|
);
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
`,$t=i.div`
|
|
37
37
|
position: absolute;
|
|
38
38
|
top: ${n.sp0};
|
|
39
39
|
right: ${n.sp0};
|
|
@@ -143,11 +143,11 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
143
143
|
position: relative;
|
|
144
144
|
margin-top: ${e=>e.windowSize==="small"?n.sp2:"0"};
|
|
145
145
|
padding: ${e=>e.windowSize==="small"?`0 ${n.sp2}`:"0"};
|
|
146
|
-
`,xe=i(
|
|
146
|
+
`,xe=i(X)`
|
|
147
147
|
color: ${o.heroLight};
|
|
148
148
|
white-space: pre-line;
|
|
149
149
|
text-align: ${e=>e.windowSize==="small"?"center":"left"};
|
|
150
|
-
|
|
150
|
+
`,we=i.a`
|
|
151
151
|
color: ${o.heroLight};
|
|
152
152
|
text-decoration: underline;
|
|
153
153
|
text-decoration-color: ${o.neutralGrey2Light};
|
|
@@ -177,7 +177,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
177
177
|
width: ${n.sp3};
|
|
178
178
|
height: ${n.sp3};
|
|
179
179
|
color: ${o.brandColorGoldDark};
|
|
180
|
-
`,St=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Lt={bankAccountName:new
|
|
180
|
+
`,St=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Lt={bankAccountName:new Ke("standardRegular","largeMedium")},d=H.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Pt=({fetchState:e,onReloadTransactions:a})=>e==="Error"?t.jsxs(an,{children:[t.jsx(cn,{onClick:a,"data-testid":N("zeni-account-list-reload"),children:t.jsx(ln,{})}),t.jsx(dn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Bt=({zeniAccountListView:e,zeniAccountsConfigDetail:a,maxInsuredAmountString:$,analytics:C,onZeniAccountRowClick:s,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:S,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:M,fetchState:L,summary:w}=e,p=K(),I=Ze(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||Qe.hasAnyFinOpRole(I.loggedInUserRoleMap),_=r=>{C.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},A=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(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(gn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.available)})]})]});break}return t.jsx(un,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(hn,{}):t.jsx(mn,{})})})},R=r=>t.jsx(Nt,{color:Je(r)});return t.jsx(Tt,{children:L==="Completed"?t.jsxs(pn,{windowSize:p,children:[t.jsxs(Dt,{windowSize:p,children:[t.jsxs(Rt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),A("totalBalance")]}),t.jsx(F,{amount:w?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),A("insuredBalance")]}),t.jsx(F,{amount:w?.insuredBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsx(Yt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",$)})]}),t.jsxs(Zt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),A("totalInterest")]}),t.jsx(F,{amount:w?.totalInterest.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsxs(Ut,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Wt,{children:a.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(xn,{windowSize:p,children:t.jsx(gt,{yieldPercentage:S,insuredAmount:c,onGetStartedClick:()=>{C.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Gt,{windowSize:p,children:[M.depositAccounts.map((r,k)=>t.jsxs(Qt,{isClickEnabled:!0,windowSize:p,onClick:()=>s?.(r.id,r.accountName),"data-testid":N("deposit-account-clicked",r.id),children:[t.jsxs(Vt,{children:[R(k),t.jsxs(Jt,{children:[t.jsx(Kt,{windowSize:p,children:r.accountName}),t.jsxs(Ht,{windowSize:p,children:[t.jsx(Et,{children:t.jsx(Xt,{children:r.maskedAccountNumber})}),t.jsxs(Ft,{children:[p==="small"?null:t.jsx(en,{}),t.jsx(tn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(nn,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),y?null:t.jsx(It,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":N("add-fund",r.id),children:t.jsx(_t,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(on,{onClick:P,"data-testid":N("add-new-internal-zeni-account"),children:[t.jsx(rn,{}),t.jsx(sn,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Pt,{fetchState:L,onReloadTransactions:v})})},Tt=i.div`
|
|
181
181
|
display: block;
|
|
182
182
|
height: 100%;
|
|
183
183
|
`,Mt=i.div`
|
|
@@ -194,7 +194,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
194
194
|
:hover {
|
|
195
195
|
border: 1px solid ${e=>e.theme.colors.hero};
|
|
196
196
|
}
|
|
197
|
-
`,_t=i(
|
|
197
|
+
`,_t=i(Xe)`
|
|
198
198
|
color: ${e=>e.theme.colors.hero};
|
|
199
199
|
`,Dt=i.div`
|
|
200
200
|
margin: ${e=>x.containerTopMargin.valuePx(e.windowSize)}
|
|
@@ -214,12 +214,12 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
214
214
|
${x.bankAccListBottomMargin.valuePx(e.windowSize)} ${n.sp0}`};
|
|
215
215
|
width: 100%;
|
|
216
216
|
padding: ${e=>`${n.sp0} ${x.containerSidePadding.valuePx(e.windowSize)}`};
|
|
217
|
-
`,
|
|
217
|
+
`,Nt=i(at)`
|
|
218
218
|
min-width: ${n.sp7};
|
|
219
219
|
width: ${n.sp7};
|
|
220
220
|
height: ${n.sp7};
|
|
221
221
|
margin-right: 12px;
|
|
222
|
-
`,
|
|
222
|
+
`,Rt=i.div`
|
|
223
223
|
${e=>e.windowSize!=="small"?`
|
|
224
224
|
width: 50%;
|
|
225
225
|
`:null}
|
|
@@ -228,17 +228,17 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
228
228
|
`,Ot=i(b)`
|
|
229
229
|
color: ${e=>e.theme.colors.hero};
|
|
230
230
|
margin-right: ${n.sp1};
|
|
231
|
-
`,Ut=i(
|
|
231
|
+
`,Ut=i(X)`
|
|
232
232
|
color: ${e=>e.theme.colors.hero};
|
|
233
233
|
`,Wt=i.span`
|
|
234
234
|
margin-left: 2px;
|
|
235
|
-
`,Yt=i(
|
|
235
|
+
`,Yt=i(X)`
|
|
236
236
|
color: ${e=>e.theme.colors.hero};
|
|
237
237
|
`,Vt=i.div`
|
|
238
238
|
display: flex;
|
|
239
239
|
align-items: center;
|
|
240
240
|
width: calc(100% - 96px);
|
|
241
|
-
`,
|
|
241
|
+
`,qt=i.div``,Zt=i.div``,Qt=i.div`
|
|
242
242
|
padding-left: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
|
|
243
243
|
padding-right: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
|
|
244
244
|
padding-top: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
|
|
@@ -256,23 +256,23 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
256
256
|
border-color: ${e=>e.theme.colors.primary};
|
|
257
257
|
color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
|
|
258
258
|
}
|
|
259
|
-
`,
|
|
259
|
+
`,Jt=i.div`
|
|
260
260
|
max-width: calc(100% - 30px);
|
|
261
261
|
width: calc(100% - 40px);
|
|
262
262
|
white-space: nowrap;
|
|
263
263
|
overflow: hidden;
|
|
264
|
-
`,
|
|
264
|
+
`,Kt=i(He)`
|
|
265
265
|
${e=>`${Lt.bankAccountName.style(e.windowSize)}`};
|
|
266
266
|
color: ${e=>e.theme.colors.primary};
|
|
267
267
|
max-width: ${`calc(100% - ${n.sp3})`};
|
|
268
268
|
text-transform: capitalize;
|
|
269
269
|
overflow: hidden;
|
|
270
|
-
`,
|
|
270
|
+
`,Ht=i.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
color: ${e=>e.theme.colors.hero};
|
|
273
273
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
274
274
|
align-items: ${e=>e.windowSize==="small"?"start":"center"};
|
|
275
|
-
`,
|
|
275
|
+
`,Xt=i(b)`
|
|
276
276
|
margin-left: ${n.sp1};
|
|
277
277
|
`,en=i.div`
|
|
278
278
|
width: ${n.sp1};
|
|
@@ -369,11 +369,11 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
369
369
|
`,hn=i(St)`
|
|
370
370
|
width: ${n.sp3};
|
|
371
371
|
height: ${n.sp3};
|
|
372
|
-
`,
|
|
372
|
+
`,q=i(b)`
|
|
373
373
|
padding: ${n.sp2} ${n.sp3};
|
|
374
374
|
color: ${e=>e.theme.colors.hero};
|
|
375
375
|
border-radius: ${n.sp1};
|
|
376
|
-
`,
|
|
376
|
+
`,Z=i(b)`
|
|
377
377
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
378
378
|
margin-top: ${n.sp2};
|
|
379
379
|
display: flex;
|
|
@@ -381,13 +381,13 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
381
381
|
`,gn=i(b)`
|
|
382
382
|
margin-bottom: ${n.sp2};
|
|
383
383
|
display: flex;
|
|
384
|
-
`,
|
|
384
|
+
`,Q=i.div`
|
|
385
385
|
color: ${e=>e.theme.colors.hero};
|
|
386
|
-
`,
|
|
386
|
+
`,J=i.div`
|
|
387
387
|
color: ${o.primaryDark};
|
|
388
388
|
`,xn=i.div`
|
|
389
389
|
margin-top: ${n.sp4};
|
|
390
|
-
`,{common
|
|
390
|
+
`,{common:wn,spendManagement:{zeniAccounts:l}}=H.getLocalizedStrings(),$e="checkingAccountCreation-form",Rn=({zeniAccountListView:e,analytics:a,maxInsuredAmount:$,isBillPayEnabled:C,isExpressPayEnabled:s,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:S,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:M,showTreasuryPromo:L,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const I=K(),y=Ie({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const A=De(),[R,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,O]=g.useState(!1),[je,be]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,U)=>{P(h,U)},ve={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(a.trackAccountsListPageClicked("Pay Someone"),O(!0)):(h==="sendMoney"?a.trackSendMoneyClick():h==="checkDeposit"?a.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&a.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},Se={onOkClick:()=>{},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(U=>U.id===e.newCheckingAccount.accountId);a.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{a.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),O(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Not Now on Bills pop up"),O(!1)}},Be=y.handleSubmit(h=>{a.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe($),$,wn.currency.currencySymbol).toUpperCase(),Me=t.jsx(ut,{onSettingsClick:B,isBillPayEnabled:C,isExpressPayEnabled:s,zeniBankProps:ve,analytics:a});return t.jsxs($n,{children:[R?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:$e,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:Se,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:$e,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Ne,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Re(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:A.colors.grey5,border:`1px solid ${A.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(yn,{children:[t.jsx(Oe,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(kn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(mt,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:be}),t.jsxs(bn,{children:[t.jsxs(zn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(An,{children:G("0,0",{amount:je,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Ue,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:I==="medium-compact"||I==="small",backgroundColor:A.colors.grey4,style:{zIndex:3,...z.largeSemiBold.cssObject},rightSideComponent:Me,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(fn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Bt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{a.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:a,onReloadTransactions:S,maxInsuredAmountString:te,onTreasuryGetStartedClick:M,treasuryYieldPercentage:w,treasuryInsuredAmount:p,showTreasuryPromo:L})})]})},$n=i.div`
|
|
391
391
|
display: flex;
|
|
392
392
|
min-height: 100%;
|
|
393
393
|
flex-direction: column;
|
|
@@ -422,7 +422,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
422
422
|
flex-direction: column;
|
|
423
423
|
align-items: center;
|
|
424
424
|
`,An=i.span`
|
|
425
|
-
font-weight: ${
|
|
425
|
+
font-weight: ${qe.medium};
|
|
426
426
|
margin-left: ${n.sp1};
|
|
427
427
|
`,zn=i(Ve)`
|
|
428
428
|
color: ${o.success};
|
|
@@ -438,4 +438,4 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
|
|
|
438
438
|
&:hover {
|
|
439
439
|
color: ${e=>e.theme.colors.primary};
|
|
440
440
|
}
|
|
441
|
-
`;export{
|
|
441
|
+
`;export{Rn as default};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import{w as P,fn as $,l as w,M as B,j as a,Y as O,gn as p,gS as u,o as s,gp as j}from"./index-Dq4DW5h0.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const n=B.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],y={value:"payBill",label:n.moveMoney.payBills},g={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},z=[y,g,v,M],E=[v,g,y,M],L=({zeniBankProps:e,isBillPayEnabled:x,isExpressPayEnabled:f,analytics:h,onSettingsClick:S})=>{const i=P(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||$(i),b=w.hasBillPayAccess(i.loggedInUserRoleMap),k=m.filter(t=>t.value==="accountStatement"),c=x===!0?z:E,r=f===!0?c:c.filter(t=>t.value!=="sendMoney"),N=b?r:r.filter(t=>t.value!=="payBill");return a.jsxs(C,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(A,{onClick:S,"data-testid":O("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=u(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:l?k:m,title:n.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=u(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:N,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},A=d(j)`
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
min-width: ${s.sp4};
|
|
4
|
+
width: ${s.sp4};
|
|
5
|
+
height: ${s.sp4};
|
|
6
|
+
color: ${e=>e.theme.colors.hero};
|
|
7
|
+
&:hover {
|
|
8
|
+
color: ${e=>e.theme.colors.primary};
|
|
9
|
+
}
|
|
10
|
+
`,C=d.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
14
|
+
`;export{L as T};
|