@zeniai/web-cockpit-ui 1.14.11-dev → 1.14.12-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-BQBpkHfF-5WBNzAYc.js +21 -0
- package/dist/assets/{AIPerformancePage-pQP8EI_S-DOdJRYuT.js → AIPerformancePage-C459GJxs-fTjD1LWj.js} +49 -49
- package/dist/assets/{AccountInfoPage-DxAa9GD7-BDuKQBCM.js → AccountInfoPage-DWqJj9l6-B6y2ESMc.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-tNTpX5pA-DZsnTAw6.js → AccountInfoPageContent-Ca328DM4-QVdlDPGz.js} +17 -17
- package/dist/assets/{AccountReconDetailsDrawerPage-CbZaDfU0-D6InUwmP.js → AccountReconDetailsDrawerPage-BqIo4mya-DvoWQJ-A.js} +13 -13
- package/dist/assets/{AccountRow-BpBK8mVs-D3-rIOZV.js → AccountRow-Bk3xWobY-C3BJwyhC.js} +33 -33
- package/dist/assets/{AccountsPromoCardStack-DBCYok4Z-BX2c8K6j.js → AccountsPromoCardStack-Co90dxxm-D8gTFju4.js} +35 -35
- package/dist/assets/{AddAddressForCardDrawer-BP8sDedz-fAvU3zAk.js → AddAddressForCardDrawer-XNGsKMvs-D3xdyQox.js} +2 -2
- package/dist/assets/{AddToWalletPage-Dsw1GIbh-C-TkI1oG.js → AddToWalletPage-BiQWQXvz-Db3v8rAa.js} +26 -26
- package/dist/assets/{AgingReportsPage-COC3iACh-ihUmY_za.js → AgingReportsPage-ClR6ctjm-BIaxAdn5.js} +8 -8
- package/dist/assets/{AllUserItems-DKoDASKq-BK1HOlxO.js → AllUserItems-RFWkNfw--KR4FkXJv.js} +10 -10
- package/dist/assets/{ApAgingDetailPage-BKAJMyRm-D4FAXjMB.js → ApAgingDetailPage-F-pd4-We-CpSc-V5Y.js} +2 -2
- package/dist/assets/{AppBasePage-6fgXwSBv-PwB9ZP6-.js → AppBasePage-B9-FGKn--2PuIe5q1.js} +6 -6
- package/dist/assets/{AppDrawerContent-DnYw60Xv-DEM6VfAx.js → AppDrawerContent-C6P8rk3y-D4vfBiW2.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-X4EYoBfl-BbXFDQ_-.js → ApprovalRulesSettingsPage-CPNEEGTF-D1-OmKoO.js} +5 -5
- package/dist/assets/{ArAgingChart-CNghm3pm-Dc-aS72N.js → ArAgingChart-D9qmMVoC-xX4UMVP_.js} +6 -6
- package/dist/assets/ArAgingDetailPage-DMuZM6P_-BndjVsLP.js +46 -0
- package/dist/assets/{AttachmentView-Bp678glv-Bz7vnOLP.js → AttachmentView-B2ZOED0q-BJNMGobn.js} +7 -7
- package/dist/assets/{BankAccountSection-DCHOrv1O-CHEMQ8hk.js → BankAccountSection-C8G4yj75-DuLz4nvb.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Bof6a4Ai-D6cSyNpo.js → BankAccountWarningSection-CWXa-X6f-DfZDDQCz.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-KWPfd_oN-Cw1WYpDv.js → BankConnectionsSettingsPage-B5IQ5w6f-iwQpc5z9.js} +11 -11
- package/dist/assets/{BillDetailPage-D5FyJKQZ-F16Zazrc.js → BillDetailPage-B-PMkZ44-BthpQ-iy.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-C17DUKc8-dVTzDWJq.js → BillPayApprovalRuleDetailPage-CdLKENJ--UWgYicIp.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-C6b0Dx9D-GKQByTVv.js → BillPayApprovalRulesPage-BueljBn0-Bfh6hqvA.js} +10 -10
- package/dist/assets/{BillPayPromoPage-BhbcKNjD-Dc50ymZA.js → BillPayPromoPage-WXntEliq-BogAEb_N.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-DFkYsW2C-ejvkAWu2.js → BillPaySetUpPage-By7rYetf-BUuU8LQN.js} +2 -2
- package/dist/assets/{BillingSettingsPage-DQ-GDRoK-DLGZh1Tj.js → BillingSettingsPage-D-XtlyVU-DEnOD97y.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-DzTwDeIy-Ds5BqJGh.js → BillsBulkReviewDrawerPage-P8siJ8lO-Bp2c_793.js} +1 -1
- package/dist/assets/{BoxItem-a04JWA45-DJp9lW-u.js → BoxItem-Bcy7IYuZ-DautVok3.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BCr_ObVJ-OqegkAuZ.js → BusinessVerificationPage-BoSLJbyU-BkzAyvoH.js} +12 -12
- package/dist/assets/{CardNumberSubText-B5ejHnml-CLY9anWS.js → CardNumberSubText-VsMOF0Xv-C9_EOnyV.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DX_XsNhS-BMZOysYo.js → CashbackDetailPage-DNbRs50r--xwa0kLc.js} +25 -25
- package/dist/assets/{ChargeCardDetailPage-Ckbi7U9j-D_fwMr5K.js → ChargeCardDetailPage-BSDS8Kqb-CvvgjUiJ.js} +57 -57
- package/dist/assets/{ChargeCardListPage-CglfbPqr-D7muWz7z.js → ChargeCardListPage-Bzr8qMC0-COqTxfBS.js} +20 -20
- package/dist/assets/{ChargeCardListTable-BxAeA97m-C-BUBRdZ.js → ChargeCardListTable-CTp6TFBR-DoKiJmmd.js} +41 -41
- package/dist/assets/{ChargeCardPromoPage-BfsQUUYb-D4zqkYsh.js → ChargeCardPromoPage-dIg8OIlx-XWvzHV4l.js} +31 -31
- package/dist/assets/{ChargeCardSetupPage-Bq953HsV-BJMN-xIh.js → ChargeCardSetupPage-B1wzJjgH-CBaIBhaa.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-B_5uvkaq-QS7pzZOg.js → ChargeCardStatementsPage-CePfbLPp-w444eaXi.js} +10 -10
- package/dist/assets/ChargeCardUtils-DC2v2EHU-BFBTkwUP.js +1 -0
- package/dist/assets/{ChaseOverlay-LcVAgdoT-D1Jb2EIj.js → ChaseOverlay-B-Sx71yo-C-AskbE-.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-uABg3PMN-BZAFC99F.js +206 -0
- package/dist/assets/{CollapsableReportTable-CKmPwC_x-DvM2BIk1.js → CollapsableReportTable-mEqm05fp-D6CvF14n.js} +57 -57
- package/dist/assets/{CompanyOfficerDetailsSection-BlLsNJaD-grOU-fb_.js → CompanyOfficerDetailsSection-BzYsDrr2-CsOvplVx.js} +28 -28
- package/dist/assets/{CompanyPassportCard-ElwK6uOD-uKq6JSMM.js → CompanyPassportCard-Ct6tCZqT-Ck2ikxpq.js} +8 -8
- package/dist/assets/{CompanyPassportPage-B6mGjsJZ-QyXjNlOK.js → CompanyPassportPage-D9NQ4bXl-sWP3h2Qt.js} +7 -7
- package/dist/assets/CompleteProfile-CN_hAW-2-Cag0kPdJ.js +36 -0
- package/dist/assets/{ConfettiBurst-CjhkW_Be-tE_S1zJ3.js → ConfettiBurst-DqSwVGBC-DTqMp1Lq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DHvmRSee-B7H_LsnK.js → CreateOrEditVendorPage-D27A1926-Dhm0ZELF.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-BIaTYAUf-Rj5ttUPd.js → CreditCardPaymentDrawerPage-BI37dSwx-62q04GEy.js} +11 -11
- package/dist/assets/{CreditCardPaymentPlgSection-mUqReF9z-IZFYMes7.js → CreditCardPaymentPlgSection-CAsn4Ae6-BjGYp9i3.js} +12 -12
- package/dist/assets/CurrencySelectField-5uG4FfJ9-BDdfhX8u.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CIOyRd8r-BQMewqvn.js → CustomerOnboardingActivationPage-Be-GrAiK-C2g5Nk62.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-B9qcJNx5-DvSZ9aFU.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-A_l9Qen8-BtaF5eWl.js → CustomerOnboardingDetailPageSkeleton-DhGp71bj-DHW9XHps.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-D5BcbVEK-CYF4Do82.js → CustomerOnboardingNoStepsPage-CdOGTNXC-k7L31nJ8.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-N-8Zd7M_-BLw-RmQq.js → CustomerOnboardingPage-ClPsywa3-CFzRDdjv.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZwacur5-CHyEWXN_.js → CustomerOnboardingProductSuitePage-pnHglqXq-BoMrKg2u.js} +8 -8
- package/dist/assets/{Dashboard-CQoNm84Z-CGt51QX0.js → Dashboard-avtbjFLf-DvcVqu7f.js} +1 -1
- package/dist/assets/{DashboardReportPage-D4BoWobJ-DB51j3mA.js → DashboardReportPage-CqJAu5WP-DxhW1pos.js} +13 -13
- package/dist/assets/{DepositAccTransactionItem-C6_OrohL-DcY3deV_.js → DepositAccTransactionItem-Da0GWYei-DZh1aBKG.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-Db90ITIq-B9ylpAgD.js +66 -0
- package/dist/assets/{DocumentSecurityBanner-Bo9Hgo-I-DBmSgZgH.js → DocumentSecurityBanner-Bxg3ctYZ-hOyP50NE.js} +2 -2
- package/dist/assets/DomesticWireDetailsPage-DGcVKriv-H9iyT4_J.js +21 -0
- package/dist/assets/{DownloadOverlay-BoIyiJ9R-BzDhGwzl.js → DownloadOverlay-BdGiqnp7-B--FKXJU.js} +25 -25
- package/dist/assets/{DrawerPage-C_kxrXIc-CYxcqhiW.js → DrawerPage-DCfm1BVs-BnE3GKCd.js} +5 -5
- package/dist/assets/EditPeoplePage-CBPmCcoG-Dv-eYAXF.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C-Lj-_YG-D3CWZXPH.js → EditReimbursementDetailPage-C-nYgUua-657t3H5o.js} +68 -68
- package/dist/assets/{EntityDetailPage-Cqkhzu9O-CQdpKsUY.js → EntityDetailPage-4HX_rHUf-CQIILZS8.js} +3 -3
- package/dist/assets/{EntitySummarySection-Dqgxknt6-CcorkWsq.js → EntitySummarySection-C9VeOBpT-CyjmmYl7.js} +3 -3
- package/dist/assets/{ExpenseAutomationOverviewPage-CEsyeJ9u-IlYsieJj.js → ExpenseAutomationOverviewPage-8jTkscWa-CSL-Ff0N.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-DxpK2JR5-b76Jf9fI.js → ExpenseAutomationPage-D1wcc9GW-BnW2S6f_.js} +84 -84
- package/dist/assets/{ExpressPayPage-DBWJERD9-DkcgiQRL.js → ExpressPayPage-Cj6cvMwQ-B3xsIydY.js} +12 -12
- package/dist/assets/FeaturePreviewPage-BBkfKvIu-BO0Ix0ac.js +11 -0
- package/dist/assets/{FollowStepsSection-BrJecw-e-CQdWJjWJ.js → FollowStepsSection-DjfnVH8N-DC94T1ld.js} +13 -13
- package/dist/assets/{GlobalReviewListPage-Duoi9mD_-Der2mhxZ.js → GlobalReviewListPage-CEOzc0We-Dzo-H4fB.js} +8 -8
- package/dist/assets/{HelpButton-C1djo0zO-BW6NBTNW.js → HelpButton-BdhMFvtG-BQoUMZgM.js} +5 -5
- package/dist/assets/{InformationCardStack-BE5eaq-x-7TOfUxxA.js → InformationCardStack-DFOumIBr-DYp-Y1-6.js} +5 -5
- package/dist/assets/InsightsCardStack-rByhzgji-C_39DSFU.js +79 -0
- package/dist/assets/{InsightsSection-nzKuS0T9-CcXyZxZ8.js → InsightsSection-jnWJ877y-B7dup9Hm.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-45ETlpC6-ClhfPkcQ.js → IntegrationsSettingsPage-DF-jcHzr-CezJdw9j.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-B21X5YFS-DWJjZuCw.js → InternationalWireSwiftDetailsPage-BFMqW1oQ-DTpqOglD.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-BzagdPaG-Cl81RiNZ.js → InternationalWireVerificationPage-Cq7swzrt-CjhvwwKs.js} +17 -17
- package/dist/assets/{InviteFormPage-BNdBP-Mm-BdFbqKES.js → InviteFormPage-DXl2sEn9-BCdDtuKU.js} +25 -25
- package/dist/assets/{InvitePageListView-ChzmK7Rt-D29gFXI6.js → InvitePageListView-B5fRPcOg-CSGuFFZf.js} +51 -51
- package/dist/assets/InvitePeoplePage-DvGON1va-CZwxU8KK.js +12 -0
- package/dist/assets/{InvoiceUploadSection-B8o-l15n-Da7WgU-0.js → InvoiceUploadSection-opkVsXZH-CITMTH3B.js} +41 -41
- package/dist/assets/{IssueChargeCardPage-BW0cXQqh-BmbmlACe.js → IssueChargeCardPage-CZU1qbHO-Bk0rsSk1.js} +27 -27
- package/dist/assets/{LabeledAddressValue-BioQUVCV-fsudcvfQ.js → LabeledAddressValue-CCd3y8zQ-iyUnGXzQ.js} +1 -1
- package/dist/assets/LabeledAddressValueField-XuFlx-oK-BwOm2urL.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-CGT7KsYZ-jRPtCjyI.js → LabeledControlledCheckBoxField-CCQn4-_S-DGlsZAic.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-nys9pbO0-0SJcSq-w.js → LabeledCreatableSingleSelectField-uQKngCdt-D9uymIz_.js} +3 -3
- package/dist/assets/LabeledDocumentField-TFmz23mS-VXex-CEg.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-DWP9oUzM-TYwr2dWi.js → LabeledDropDownFormattedTextField-BrUNxsKy-CYES9RG5.js} +7 -7
- package/dist/assets/{LabeledText-QrjXGWwJ-Csl1kB9E.js → LabeledText-ByqI7uq0-D8BGktgf.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-CRz-dhMo.js → LabeledUserSingleSelectWithSubtitlesField-Dg1Lpwl0--1MhGerh.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-C2PAZOPW-ChSwcxj4.js → LabeledZeniRolesDropDownField-DZL4GZtE-BNEsxcqO.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-BF6-BdWE-DO5i53f_.js → LinkJETransactionPage-CJlBllrr-ETCcWTop.js} +8 -8
- package/dist/assets/{LowBalancePopup-ZZ8Ap8Ls-CO5moJjL.js → LowBalancePopup-BEvuAR0Z-Kia1x8I_.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-BDXiOwx_-D5AHGKn1.js → MagicLinkACHDetailsPage-DloX1GWg-CtJ6plz2.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B1-CK91r-BBsb3LWh.js → MagicLinkDomesticWireDetailsPage-DewjvM4v-DF6PmcFA.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-D2rnWzME-pHczJsmC.js → MagicLinkInternationalWireDetailsPage-CVhazlxQ-B8pL68gZ.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-dxBSlbub-ClJhOXum.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CmTUPCA1-crT0_cjI.js → MagicLinkTitleSection-d1edBt3w-BD8o8cwj.js} +4 -4
- package/dist/assets/MailingDetailsSection-CsK09X11-D22aceHc.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js → MeetingCalenderPopup-MtSyJ1AS-Dyh9nazJ.js} +1 -1
- package/dist/assets/{Menu-frAXxk4e-ChxiZJil.js → Menu-BV79l8xf-CtLHaQYM.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-BtC6C9fL-CIbylXW-.js → MyBankConnectionsSettingsPage-D-xDtURG-CDD3juRJ.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-tXIpyxdq-DyLbYr-a.js → MyPendingActivationChargeCardListPage-VEhml0PW-BbFLOnd_.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BmMskLyK-BRbEv4qP.js → MyProfileSettingsPage-DPJ0fJdQ-HGd1_8K1.js} +8 -8
- package/dist/assets/{NavBarWithPicker-ByLynfu6-DkhTP5l5.js → NavBarWithPicker-CuJe05iJ-CEMXAgd3.js} +6 -6
- package/dist/assets/{NavigationArrow-D5-YpdfE-BYBuxDoB.js → NavigationArrow-BwXNdvOg-DB9DQksO.js} +5 -5
- package/dist/assets/{NavigationDots-MA8SVlUT-BNaROjbH.js → NavigationDots-BQfoX9p0-BJMutEpY.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DtTW2Du8-teWW5fR7.js → NewGlobalMerchantPage-IeE86L-X-BtZvif-9.js} +21 -21
- package/dist/assets/{NoDataChart-BdzVnx59-Zwl7GRg0.js → NoDataChart-C9yfE8vY-CyPn8PGK.js} +1 -1
- package/dist/assets/{NoDataTable-B4J5Ou18-BjRs61V8.js → NoDataTable-DF9QNT4a-B8P0Ebsk.js} +1 -1
- package/dist/assets/{NotFoundPage-BeAXQOme-HRJfFoZt.js → NotFoundPage-DSaizJve-BYRmXif6.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CRZRet42-B4tscA88.js → NotificationSettingsPage-DeAeFHmj-AgKU0y_T.js} +13 -13
- package/dist/assets/{NotificationsListConfig-CkSDaMij-aj-ed0aI.js → NotificationsListConfig-DuzDckh--DIE08d6S.js} +1 -1
- package/dist/assets/{NotificationsPage-Dqe96fU8-DGXpNPVr.js → NotificationsPage-B7ZC7ezP-CzbzVwOm.js} +32 -32
- package/dist/assets/{OpExByVendorPage-CXtkN87m-D6OjOLM9.js → OpExByVendorPage-DzODetHf-C_mWOIaM.js} +7 -7
- package/dist/assets/{OverlayContainerPage-Cy_Jxf8N-B2CxgCWd.js → OverlayContainerPage-GWXnlbZH-Bzp-AyLZ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DTOqkynU-9NyuYxx1.js → PandLWithForecastPage-FEi5USqF-Dh26joVS.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C6WFeB3A-C9tSnFrF.js → PaymentAccountSetupBillingAddressSection-BbL4x5pQ-D9T2pc9O.js} +11 -11
- package/dist/assets/{PeoplePage-D-j114xg-s5ngzrYI.js → PeoplePage-B35T31YZ-DeAagHOG.js} +1 -1
- package/dist/assets/PortfolioAllocationFormPage-D3FP_MRr-DXcXxyUV.js +207 -0
- package/dist/assets/{PortfolioDetails-Bbfo0XDo-F8wi_TkN.js → PortfolioDetails-Dtz3YEPu-CLhPVP_M.js} +29 -29
- package/dist/assets/{ProductsCarousel-COUx0Xdj-Bk25WJ5z.js → ProductsCarousel-DIlEuuqg-DDOJtugP.js} +6 -6
- package/dist/assets/{PromoBaseCards-DG1CAZvU-Kp-BaaPo.js → PromoBaseCards-DTsaas8S-vBFc1f2h.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-DLVcifji-BzsFl8lU.js → QBOConnectionDialog-Cvt38cmU-D0iq5FNX.js} +10 -10
- package/dist/assets/QBOSetupSection-Dijb03ZX-1HKzJLXv.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-bkJIpwyU-pBLvNKjP.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CTk2aZMz-oZhsGYfa.js → ReimbursementApprovalRulesPage-BG8uMxNw-Cf6pCIHH.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-BofsP0W--DVgChjvg.js → ReimbursementDetailPage-Cs7XeZrC-D-NQ4ltb.js} +17 -17
- package/dist/assets/ReimbursementPromoPage-CKITZNUc-2-Ea8pDZ.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-Em6S1wkj-DAxU1I0b.js → ReimbursementSetUpPage-DD5P181p-C0K4OEHu.js} +8 -8
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DpWChhvB-CNq5fdbL.js → ReimbursementsBulkReviewDrawerPage-C0eORL7o-B8b5o1o8.js} +1 -1
- package/dist/assets/{ReloadCard-CZ1Ix5em-CJhVpNi9.js → ReloadCard-CZ4IXHy1-BJxA7jIu.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BRA3CT_O-BWHSw_d5.js → ReportTableViewSelector-Do0yQJxY-CNf50Tz7.js} +28 -28
- package/dist/assets/{ReportsPage-CauV3wnZ-Bfok01xk.js → ReportsPage-BUi475EG-yOqvkhUn.js} +5 -5
- package/dist/assets/{RevenueChart-BeM_1hYw-DP9fkCbH.js → RevenueChart-DPNqxQ4n-BN71k4Px.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-C5xC8Cf1-Bcj2cFMw.js → ReviewDetailsPage-DTCC2C0D-CbWjRazt.js} +16 -16
- package/dist/assets/{ReviewOverlay-DdWa7GLG-YdWdWayu.js → ReviewOverlay-CPN-RHG--Bk6qHS4b.js} +15 -15
- package/dist/assets/RoleWithToolTip-Bst2IdUy-DGhNj3An.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BlhhW9A6-Cgf6Hq7_.js → ScheduleDetailsFixedAssetsPage-BSz5BdJ4-CLAcrRlD.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BKWKZuAL-CQ6iSQsN.js → ScheduleDetailsPage-DKVlaW9e-SKWttzgw.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BzWPTqDM-Dgu5c0RS.js → ScheduleSequenceTable-BhpHoReF-CFX3LJjF.js} +50 -50
- package/dist/assets/{ScreenRoutes-BBcvidtT.js → ScreenRoutes-B4X7AN4H.js} +62 -62
- package/dist/assets/{SetUpAccountSection-Trj1x2HL-CiAxSNYR.js → SetUpAccountSection-Blh-Vipv-948X1LRE.js} +23 -23
- package/dist/assets/{SetUpDefaultSection-BQzNGjO7-an74W3Da.js → SetUpDefaultSection-DsyZbNsv-D0zBNq1O.js} +8 -8
- package/dist/assets/{SignIn-Duk9PNwU-Y2eo5FDG.js → SignIn-DehOoUba-DOHewgw9.js} +19 -19
- package/dist/assets/{SignInScreen-BDl851xo.js → SignInScreen-CkgAQ_YN.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CREdM633-Cg0NFbb7.js → SpendManagementListViewPage-C23fDDXZ-BPWPXBga.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-BZ6ISWXe-BYNegFz5.js → SpendManagementPerTabPage-Cx0sB3qO-wloMSaZU.js} +28 -28
- package/dist/assets/{SpendManagementSection-bMsztUap-upI-ZdzC.js → SpendManagementSection-DbZYpbtO-DS4pqXC3.js} +13 -13
- package/dist/assets/{SpendMgmtSetupAccountSection-Btdtp-ry-M7exC_NJ.js → SpendMgmtSetupAccountSection-BkUIdz9m-BSOUg3BU.js} +18 -18
- package/dist/assets/{StatementItem-XLqlrHIu-VoU4RUpG.js → StatementItem-BF8L0fc_-C244j_B_.js} +5 -5
- package/dist/assets/{StatementsPage-DWiXiOFU-DZPVh_4x.js → StatementsPage-96e3ZbSU-D7usTGed.js} +4 -4
- package/dist/assets/{StatusSwitcher-D1XZ-pbx-DwwsmfkA.js → StatusSwitcher-jwpQ49F7-D9kXIopT.js} +4 -4
- package/dist/assets/{SubTabSwitcher-Bt3F7ANv-e4DBICdr.js → SubTabSwitcher-B8H6McwL-DbChhvTl.js} +7 -7
- package/dist/assets/{SummaryCard-edbbHOmb-DIbjh5sC.js → SummaryCard-Bv4ja9yJ-CEGyY5M9.js} +1 -1
- package/dist/assets/{TaskManagementPage-BhtJBdco-CawcFnLk.js → TaskManagementPage-D7tD4WRl-CyzvnBh9.js} +26 -26
- package/dist/assets/{TimeRangeSwitcher-D9KzhRYO-DSUt4L30.js → TimeRangeSwitcher-Cr-ObvZ9-_GLiJwhW.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-CbEHKZvd-CUipNC15.js → TimeframeSwitcher-YkFxZedG-D2Jl4z2_.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-Cb91RXpD-Bqbdu9xs.js → TimeframeSwitcherWithToggle-4h9WX4z9-DcT4eGJv.js} +2 -2
- package/dist/assets/{TopExCard-DD9Rf9T6-CfNVkG6m.js → TopExCard-DtrsuLFD-CD31vD_h.js} +5 -5
- package/dist/assets/{TopExDetailPage-DaDuwFrj-BOsQHlTA.js → TopExDetailPage-HMRdJt_a-CqlXXHAH.js} +16 -16
- package/dist/assets/{TransactionDetailPage-0fIW4o-6-BKhKFulx.js → TransactionDetailPage-CkWEdpTW-DkF9a8kj.js} +34 -34
- package/dist/assets/{TransactionList-CLjBadiP-By9OtkVt.js → TransactionList-8rOZr8BD-BFZ_UeU1.js} +8 -8
- package/dist/assets/{TransactionListBig-CwBxP1xB-DEm91bPU.js → TransactionListBig-DGx1qy2c-Cj8rID58.js} +24 -24
- package/dist/assets/{TransactionListPage-S1nTM7Yy-Hu_PcxrN.js → TransactionListPage-CnbufCaM-BnCVec09.js} +3 -3
- package/dist/assets/TransactionVendorDetailPage-UpZX_EgR-BhFMpvuw.js +80 -0
- package/dist/assets/{TransferDrawerPage-BJDNWagE-B5RBpIT8.js → TransferDrawerPage-cUyg27nq-BRj8U3av.js} +26 -26
- package/dist/assets/{TreasuryOverviewPage-DB-ZH19K-0cVLv_tv.js → TreasuryOverviewPage-DoPe6v4O-CCqccW1l.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-3MwRPpCt-B5X2lU4M.js → TreasuryPromoPage-Db20FO_G-sfhrpc5P.js} +21 -21
- package/dist/assets/{TreasurySetupPage--G4JCzdh-Ck5w0LPU.js → TreasurySetupPage-BoVhd65r-CwafywLn.js} +10 -10
- package/dist/assets/TreasuryStatementsPage-BONCF7O1-B0fw544j.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-NCZ0Y4yr-1T7-yG_S.js +58 -0
- package/dist/assets/{TreasuryTransferOrReviewPage-ByM1UIiU-CjSaFqgC.js → TreasuryTransferOrReviewPage-DAmZboLO-20agXPX1.js} +44 -44
- package/dist/assets/{TrendChart-B0CS3MXT-D7qhkgQT.js → TrendChart-DQXhBbqy-BDomlWCz.js} +3 -3
- package/dist/assets/{TrendWithTransactions-D4OAA6yK-BF-AbaMY.js → TrendWithTransactions-Du-a-c_9-BQa8Yj73.js} +9 -9
- package/dist/assets/{UncategorizedAccountsMappingPage-C6jaWqrE-zTG-_1nm.js → UncategorizedAccountsMappingPage-mSPC4LpU-BFboIJY0.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-5LOvIFvr-Bzw8mu6B.js → UnitIntegrationPage-B5O9G4QH-D5ADrdli.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-CLQLrn0v-SNsFu9LY.js → UploadAdditionalDocumentOverlay-CnjzAGYo-LBzsfon2.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-BOl520xa-LnECkqk5.js → Vendor2FAPopup-CYcCB8tr-CXCRP0gB.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-B5jKUOjo-CQSiDv6a.js → VendorACHDetailsPage-C6EuQBcH-TUoKo8Rz.js} +1 -1
- package/dist/assets/{VendorDetailPage-B0GRXPKg--VPcZWOw.js → VendorDetailPage-CnSXWVCg-1hnRc8cc.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-CeI3QihK-q_cf3oNF.js → VendorDomesticWireDetailsPage-CVTkzHFB-BV1I21DW.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-aNGSdZBf-MeHUgDES.js → VendorFiling1099EditablePage-TJb9mpk0-CoXUKsdg.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-CjwnZLcm-DmkymrJ0.js → VendorFirstReviewPage-gBLVMddY-CjxHy67B.js} +40 -40
- package/dist/assets/{VendorInternationalWireDetailsPage-w-46Xxg--xMskWvbV.js → VendorInternationalWireDetailsPage-Bhm7j6HC-DsFGzuk8.js} +15 -15
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C5dogij9-DD3MG-8Z.js → VendorInternationalWireSwiftDetailsPage-MgN7VFET-DYSQMIco.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DBYoP6us-C4im8TRF.js → VendorsAccountsSection-Cn-8Yemv-Ba4x1KCB.js} +8 -8
- package/dist/assets/{WarningsDrawerPage-CZcR7kH4-sqfZfsTI.js → WarningsDrawerPage-Cc_Rty0A-C8AX9SCt.js} +22 -22
- package/dist/assets/{ZeniAccountDetailPage-C-NQEE2--DiLlSCD5.js → ZeniAccountDetailPage-BU2TTiDP-g3X34Mnd.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-Cb8Ptf-w-Bz8qB5Gm.js → ZeniAccountListViewPage-DbcnkYvX-BflkDx8D.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-CeJHAl4O-DAWPUiSq.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D5ihjbrM-uye9J5Yp.js → ZeniAccountPromoPage-D-5ArrRO-D5w2UaAO.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-BRxz_tnh-hDbWbkKw.js → ZeniAccountSetupPage-DXYR0Ipo-B3amHFDO.js} +5 -5
- package/dist/assets/{ZeniCopyright-Bi82glrb-Dz0CNsex.js → ZeniCopyright-DPd1ifIT-DgcZx02q.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-di46G5TN-DYM1NSO4.js +63 -0
- package/dist/assets/{analyticsHelper-DijVlDk5.js → analyticsHelper-3e_AZjy7.js} +1 -1
- package/dist/assets/{analyticsHelper-D3DK7bgU-BvVFcTDm.js → analyticsHelper-DrNmU0vn-Br27aA8M.js} +1 -1
- package/dist/assets/{chartTypes-DJY-6KK0-Bzq8Fcov.js → chartTypes-YTQv3tre-G_MCNcTV.js} +1 -1
- package/dist/assets/{commonDimensions-DRK1vfDX-CO7PCzy1.js → commonDimensions-BtmBVXgZ-C8cgTp9k.js} +1 -1
- package/dist/assets/{detailCommon-6K-6m9pv-2y9fI_2t.js → detailCommon-hHyz3hj3-Ch-6FqzV.js} +9 -9
- package/dist/assets/{downloadPdf-DAA4T-qo-CPXN54rf.js → downloadPdf-CDvgLzWC-CPQqckVY.js} +1 -1
- package/dist/assets/{index-CIAgrDi2.js → index-Dhj1_7g2.js} +4147 -4247
- package/dist/assets/{mapLoadingInProgressToTreeNode-BAlOrI07-CQVT-QlQ.js → mapLoadingInProgressToTreeNode-BfoqmoAq-CfCX7DmO.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-B9fPZZTu.js → mapSectionWithAcOnlyToTreeNode-BjtxR9iQ-iXp5bvzM.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Cxd9BEJr--PDlNxOC.js → mapSpacerToTreeNode-D8o529OP-D7qZ7B73.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cf8fsAZJ-D1uR1QLu.js → mapTimeframeBalancesToTreeNode-BirMnIzY-BLeanjGG.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BzFUtqqU-DR76PT1e.js → mapTimeframeBalancesToTreeNode-NA69l84M-B1SJFT_Z.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-oHDpC_ju.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BCqRt8GN-DK4OBREu.js} +1 -1
- package/dist/assets/{play-icon-DY_hSiAf-DitmQkz7.js → play-icon-DyIc5aGx-BmGFKkF-.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-BaqBVqJ_-1rnUe3A4.js → toCOABalancesWithID-2jQJLb8S-BXYka2hz.js} +1 -1
- package/dist/assets/{toChartData-7MYPev1U-zJcYDtq1.js → toChartData-Dsjd8dGe-Igu99-cv.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CDhLDRLr-CltoUNO8.js → treasuryColorHelper-EG8VpBia-BOX0NA6c.js} +1 -1
- package/dist/assets/{uploadAttachment-DqCoxBNU-CxpASWHI.js → uploadAttachment-CVUM4FN--B82Va_J6.js} +24 -24
- package/dist/assets/{uploadReceipts-CU1mDxNv-0vPSSd-N.js → uploadReceipts-D80JLNY4-Cvp7FmYB.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D6-Uk4xr-CqCQg7ha.js +0 -21
- package/dist/assets/ArAgingDetailPage-DD4M5tUJ-CHn9GwO8.js +0 -46
- package/dist/assets/ChargeCardUtils-Bivw83fy-L79bEW0e.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-SpI62oU7-Q03dZELD.js +0 -206
- package/dist/assets/CompleteProfile-C1PIn6EM-BoaPrgBO.js +0 -52
- package/dist/assets/CurrencySelectField-DS-pGcuE-DLCIpnvb.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-cw9bBAdD.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-Cxvs7tMg-CslTnL-f.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DzKlJFvy-D6rsk0GH.js +0 -21
- package/dist/assets/EditPeoplePage-auUWC3gB-DhunvsTv.js +0 -55
- package/dist/assets/FeaturePreviewPage-CwGJVCMk-c-nKLWL3.js +0 -11
- package/dist/assets/InsightsCardStack-EzAsNm_U-Cm_xrDcd.js +0 -79
- package/dist/assets/InvitePeoplePage-DgqE2Y-0-DKu709Rv.js +0 -12
- package/dist/assets/LabeledAddressValueField-Cw-p18du-D9T5QqTG.js +0 -45
- package/dist/assets/LabeledDocumentField-Y6TKpyZ8-CW27Za_m.js +0 -41
- package/dist/assets/MagicLinkSuccessPage-IHajRicG-TvKR0rcg.js +0 -31
- package/dist/assets/MailingDetailsSection-AiehjqI1-CrcmbjEa.js +0 -21
- package/dist/assets/PortfolioAllocationFormPage-C4XzSjzr-AaZTXsTp.js +0 -207
- package/dist/assets/QBOSetupSection-BeRZZ-Q_-a6rhf4W-.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CrbiufS3-Bj0-a-7-.js +0 -26
- package/dist/assets/ReimbursementPromoPage-CA2cUBsx-DqpwfsT0.js +0 -112
- package/dist/assets/RoleWithToolTip-BP8MTZdU-BOm9Us2_.js +0 -22
- package/dist/assets/TransactionVendorDetailPage-CTTTAais-CKKUnVWe.js +0 -80
- package/dist/assets/TreasuryStatementsPage-DBykLGfz-gFLjSnAI.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-DgbrzE9u-BsWgo8r5.js +0 -58
- package/dist/assets/VerifyDevice-C-ZVbaIJ-BL0Q3Y3x.js +0 -67
- package/dist/assets/ZeniAccountNavBarPieces-DX2iXF2E-CQG9bWdR.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-B4d4bp7D-Cs4p2KhU.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,X as
|
|
1
|
+
import{j as t,X as G,a as he,M as U,c3 as ye,H as ge,l as K,bO as be,bQ as fe,bR as xe,F as ve,a4 as we,C as p,cw as le,cx as Ce,o as y,ao as $e,cg as oe,u as ne,cy as je,cz as X,cm as Q,ah as q,c6 as De,cA as Te,q as a,co as Se,_ as ke,g as V,c as Fe,Q as Oe,bs as Ae,v as Le,b4 as ze}from"./index-Dhj1_7g2.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-CWXa-X6f-DfZDDQCz.js";import{T as Ie}from"./MailingDetailsSection-CsK09X11-D22aceHc.js";import{S as Pe}from"./CurrencySelectField-5uG4FfJ9-BDdfhX8u.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-XuFlx-oK-BwOm2urL.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=G(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(qe,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(He,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Ee=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -47,13 +47,13 @@ import{j as t,X as Q,a as he,B as N,c6 as ye,J as ge,l as J,bR as be,bT as fe,bU
|
|
|
47
47
|
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?V.importantLight:e.theme.colors.background};
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
50
|
+
`,Me=g.label`
|
|
51
51
|
color: ${e=>e.hasError===!0?V.important:e.additionalInfoTextColor??e.theme.colors.grey1};
|
|
52
52
|
width: auto;
|
|
53
|
-
${e=>`${
|
|
53
|
+
${e=>`${ae.infoLabel.style(e.windowSize)}`};
|
|
54
54
|
padding-right: ${y.sp3};
|
|
55
55
|
text-align: right;
|
|
56
|
-
`,
|
|
56
|
+
`,Be=g.div`
|
|
57
57
|
display: flex;
|
|
58
58
|
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
59
59
|
justify-content: flex-end;
|
|
@@ -64,32 +64,32 @@ import{j as t,X as Q,a as he,B as N,c6 as ye,J as ge,l as J,bR as be,bT as fe,bU
|
|
|
64
64
|
color: ${e=>e.theme.colors.grey1};
|
|
65
65
|
background: ${e=>e.theme.colors.overlayColor};
|
|
66
66
|
border-radius: ${y.sp1};
|
|
67
|
-
`,
|
|
67
|
+
`,qe=g.div`
|
|
68
68
|
padding-right: ${y.sp3};
|
|
69
69
|
padding-top: ${y.sp1};
|
|
70
70
|
display: flex;
|
|
71
71
|
justify-content: flex-end;
|
|
72
|
-
`,
|
|
72
|
+
`,He=g.label`
|
|
73
73
|
display: flex;
|
|
74
74
|
justify-content: flex-end;
|
|
75
75
|
color: ${e=>e.isDisabled?e.theme.colors.grey2:e.isError?V.important:e.theme.colors.hero};
|
|
76
|
-
${e=>`${
|
|
76
|
+
${e=>`${ae.infoLabel.style(e.size)}`};
|
|
77
77
|
padding-right: ${y.sp3};
|
|
78
78
|
text-align: right;
|
|
79
79
|
margin-top: ${e=>e.hasToolTip===!0?y.sp1:y.sp0};
|
|
80
|
-
`,
|
|
80
|
+
`,Ne=g.div`
|
|
81
81
|
display: flex;
|
|
82
82
|
margin-right: ${y.sp2};
|
|
83
83
|
margin-top: 2px;
|
|
84
84
|
align-items: center;
|
|
85
|
-
`,
|
|
85
|
+
`,Ue=g(ze)`
|
|
86
86
|
width: ${y.sp3};
|
|
87
87
|
height: ${y.sp3};
|
|
88
88
|
color: inherit;
|
|
89
|
-
`,S={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(
|
|
89
|
+
`,S={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Qe=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:D,isDisabled:k,style:C})=>{const b=G(),{getValues:$}=oe(),j=ne(),m=U.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=S.largeLabelWidth.value(b),z=n?.accountType?.type,T=n?.countryCode==null,E=n?.currencyCode==null,F=["phone","email","other"];return t.jsx(Ge,{style:C,children:t.jsxs(Ke,{children:[t.jsx(je,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:L(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(R,{}),t.jsx(_e,{isDisabled:T===!0?"disabled":D===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(R,{}),E!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(X,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(R,{})]}):null,n!=null&&z!=null&&n.dynamicForm[z]!=null&&i.length>0?Object.keys(n.dynamicForm[z]).map(s=>{const r=i.filter(_=>_.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const _=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(De,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:_,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:k,style:{width:"auto"},showAdditionalInfoLabel:!1},W(o,"dynamicForm",h,r.name)),t.jsx(R,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(X,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:_,allOptions:r.valuesAllowed??[]}}},W(o,"dynamicForm",h,r.name)),t.jsx(R,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(Y,{size:b,children:[t.jsx(Q,{label:r.label+c.colon,htmlFor:W(o,"dynamicForm",h,r.name),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x}}),t.jsx(Z,{labelWidth:x,size:b,children:r.valuesAllowed?.map(M=>t.jsx(q,{label:{label:M.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:W(o,"dynamicForm",h,r.name),id:r.name,value:M.value,registerOptions:{required:!0}}},M.value))})]},W(o,"dynamicForm",h,r.name)),t.jsx(R,{})]});default:return null}}else return null}):null,t.jsxs(Xe,{size:b,children:[t.jsxs(Y,{size:b,children:[t.jsx(Q,{label:c.addSource,htmlFor:L(o,"source"),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:S.toolTipWidth.valuePx(b)}),t.jsxs(Z,{labelWidth:x,size:b,children:[t.jsx(q,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[0],value:F[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(q,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[1],value:F[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(q,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[2],value:F[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(Te,{type:"text",name:L(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:j.colors.background,border:`1px solid ${j.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(R,{})]})})},L=(e,i)=>`${e}.${i}`,W=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Ge=g.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
flex-direction: column;
|
|
92
|
-
`,
|
|
92
|
+
`,Ke=g.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
95
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -113,7 +113,7 @@ import{j as t,X as Q,a as he,B as N,c6 as ye,J as ge,l as J,bR as be,bT as fe,bU
|
|
|
113
113
|
z-index: 1;
|
|
114
114
|
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
115
115
|
}
|
|
116
|
-
`,
|
|
116
|
+
`,Y=g.div`
|
|
117
117
|
display: flex;
|
|
118
118
|
flex-direction: row;
|
|
119
119
|
width: 100%;
|
|
@@ -121,7 +121,7 @@ import{j as t,X as Q,a as he,B as N,c6 as ye,J as ge,l as J,bR as be,bT as fe,bU
|
|
|
121
121
|
background-color: ${e=>e.theme.colors.grey5};
|
|
122
122
|
min-height: ${e=>S.labelHeight.valuePx(e.size)};
|
|
123
123
|
align-items: center;
|
|
124
|
-
`,
|
|
124
|
+
`,Z=g.div`
|
|
125
125
|
display: flex;
|
|
126
126
|
flex-direction: row;
|
|
127
127
|
width: ${e=>`calc(100% - ${e.labelWidth}px)`};
|
|
@@ -130,7 +130,7 @@ import{j as t,X as Q,a as he,B as N,c6 as ye,J as ge,l as J,bR as be,bT as fe,bU
|
|
|
130
130
|
flex-grow: 1;
|
|
131
131
|
height: ${e=>S.controlHeight.valuePx(e.size)};
|
|
132
132
|
align-items: center;
|
|
133
|
-
`,P={paddingTopBottomContainer:new p(
|
|
133
|
+
`,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},J="internationalDetailsPage",v="internationalWireSection",Ye="mailingAddressSection",ee=e=>`${e}_form`,Ze=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m=G(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,z=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:I.useMemo(()=>te(e),[e]),values:te(e)}),[E,F]=I.useState(!1),[s,r]=I.useState(!1),h=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,_=U.getLocalizedStrings().common.footer,{international:M}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,A)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){F(!0);return}const B=d===`${v}.vendorCountry`,N=d===`${v}.vendorCurrency`;N&&A[v].vendorCurrency.selectedOption!=null&&C(A[v].vendorCurrency.selectedOption,D,i);const pe={...A},me=ie(pe,e,B,N,f);k(me,D,i,N||B)};I.useEffect(()=>{const d=T.watch((A,{name:B})=>{B!=null&&A!=null&&ye(()=>se(B,A))});return()=>{d.unsubscribe()}});const H=I.useCallback(()=>{const d=T.getValues(),A=ie(d,e,!1,!1,f);k(A,D,i,!1),F(!1)},[T,e,f,k,D,i]),de=I.useCallback(()=>{E&&H(),j(n)},[E,H,j,n]),ce=T.handleSubmit(d=>{E&&H(),b()}),ue=!ge(w!=null?K.getFormattedAddress(w):w,o!=null?K.getFormattedAddress(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(We,{header:M.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(Re,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(J),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Qe,{wireAccountToCreate:c,dynamicFormFetchState:z,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Ie,{sectionId:Ye,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(J),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:_.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Je=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Je(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
|
|
134
134
|
padding-left: ${e=>P.paddingLeftContainer.valuePx(e.size)};
|
|
135
135
|
padding-right: ${e=>P.paddingRightContainer.valuePx(e.size)};
|
|
136
136
|
padding-top: ${e=>P.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -149,4 +149,4 @@ import{j as t,X as Q,a as he,B as N,c6 as ye,J as ge,l as J,bR as be,bT as fe,bU
|
|
|
149
149
|
color: ${e=>e.theme.colors.champion};
|
|
150
150
|
margin-left: ${e=>P.marginLeft.valuePx(e.size)};
|
|
151
151
|
margin-top: ${y.sp3};
|
|
152
|
-
`,ft=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,
|
|
152
|
+
`,ft=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,z=m.vendorBasic?.currencyCode!=null||c;return I.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Ze,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:D,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:j,onAccountDetailsUpdated:k,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:z})};export{ft as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as l}from"./index-
|
|
1
|
+
import{j as l}from"./index-Dhj1_7g2.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-BFMqW1oQ-DTpqOglD.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-CWXa-X6f-DfZDDQCz.js";import"./MailingDetailsSection-CsK09X11-D22aceHc.js";import"./LabeledAddressValueField-XuFlx-oK-BwOm2urL.js";import"./MagicLinkTitleSection-d1edBt3w-BD8o8cwj.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as ie,u as oe,
|
|
1
|
+
import{X as ie,u as oe,M as te,C as c,g3 as w,a8 as T,j as i,hj as g,hi as m,o as n,Q as re,g as ne,dv as se,v as le,q as a}from"./index-Dhj1_7g2.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},k={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,11 +27,11 @@ import{X as ie,u as oe,B as te,C as c,g5 as w,a8 as L,j as i,hm as m,hl as g,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=>`${k.title.style(e.windowSize)}`};
|
|
31
31
|
`,S=l.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
|
|
34
|
+
`,b=l.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: row;
|
|
37
37
|
align-items: flex-start;
|
|
@@ -44,12 +44,12 @@ import{X as ie,u as oe,B as te,C as c,g5 as w,a8 as L,j as i,hm as m,hl as g,o a
|
|
|
44
44
|
max-width: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
45
45
|
max-height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
46
46
|
margin-right: ${e=>s.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
47
|
-
|
|
48
|
-
${e=>`${
|
|
47
|
+
`,$=l.div`
|
|
48
|
+
${e=>`${k.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};
|
|
52
|
-
`,
|
|
52
|
+
`,y=l(se)`
|
|
53
53
|
width: ${n.sp4};
|
|
54
54
|
height: ${n.sp4};
|
|
55
55
|
`,j=l.div`
|
|
@@ -65,4 +65,4 @@ import{X as ie,u as oe,B as te,C as c,g5 as w,a8 as L,j as i,hm as m,hl as g,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:I,showTitle:L=!0}){const r=ie(),d=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:_,accruedExpensesRecommendations:E,fixedAssetsAccountHierarchy:B,fixedAssetsAccountList:M,fixedAssetsRecommendations:R,prepaidExpensesAccountHierarchy:F,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:P,selectedAccruedExpensesAccountIds:W,selectedFixedAssetsAccountIds:q,selectedPrepaidExpensesAccountIds:H}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=s.labelWidth.value(r),V=w(F,P,"Accounts"),D=w(B,R,"Accounts"),G=w(O,E,"Accounts"),J=P[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=>H.includes(o.accountId)??!1),Z=M.filter(o=>q.includes(o.accountId)??!1),ee=_.filter(o=>W.includes(o.accountId)??!1),x={valueContainer:o=>({...o,padding:`2px ${n.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},h=d.mode==="light"?new T(d.colors.brandColorJadeLight):new T(d.colors.brandColorJadeDark);return i.jsxs(de,{windowSize:r,children:[L?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(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:V,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=>m(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(g,{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=>m(o,M)}})})}),I?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(g,{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=>m(o,_)}})})})]}):null]})]})}export{xe as h};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import{X as C,l as B,
|
|
2
|
-
${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(
|
|
1
|
+
import{X as C,l as B,M as D,j as s,eM as j,eQ as S,K as M,f as E,o as n,C as $,Q as L,h as P,a3 as z,c0 as N,g as w,k as A,ay as Q,eA as R,q as g}from"./index-Dhj1_7g2.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},T={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=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(_,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(Y,{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(U,{isStepInError:i.status==="Error",children:s.jsxs(W,{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};
|
|
6
|
-
`,
|
|
7
|
-
min-height: ${r=>
|
|
6
|
+
`,H=t.div`
|
|
7
|
+
min-height: ${r=>h.navBarHeight.valuePx(r.windowSize)};
|
|
8
8
|
position: sticky;
|
|
9
9
|
background-color: ${r=>r.theme.colors.grey4};
|
|
10
10
|
border-bottom: 1px solid transparent;
|
|
11
11
|
z-index: 1;
|
|
12
12
|
top: ${n.sp0};
|
|
13
13
|
width: 100%;
|
|
14
|
-
`,H=t.div`
|
|
15
|
-
position: relative;
|
|
16
14
|
`,K=t.div`
|
|
15
|
+
position: relative;
|
|
16
|
+
`,X=t.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
margin: ${n.sp3} ${n.sp8} 102px ${n.sp8};
|
|
20
|
-
`,
|
|
20
|
+
`,Y=t(N)`
|
|
21
21
|
color: ${r=>r.theme.colors.primary};
|
|
22
22
|
margin-bottom: ${n.sp3};
|
|
23
23
|
margin-right: ${n.sp6};
|
|
24
|
-
`,
|
|
24
|
+
`,_=t.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: row;
|
|
27
27
|
align-items: center;
|
|
@@ -29,28 +29,28 @@ import{X as C,l as B,B as D,j as s,eP as j,eT as S,K as M,v as E,o as n,C as $,Q
|
|
|
29
29
|
top: 0;
|
|
30
30
|
left: 0;
|
|
31
31
|
right: 0;
|
|
32
|
-
padding-right: ${r=>
|
|
33
|
-
padding-left: ${r=>
|
|
34
|
-
padding-top: ${r=>
|
|
35
|
-
padding-bottom: ${r=>
|
|
32
|
+
padding-right: ${r=>h.navBarPaddingRight.valuePx(r.windowSize)};
|
|
33
|
+
padding-left: ${r=>h.navBarPaddingLeft.valuePx(r.windowSize)};
|
|
34
|
+
padding-top: ${r=>h.navBarPaddingTop.valuePx(r.windowSize)};
|
|
35
|
+
padding-bottom: ${r=>h.navBarPaddingBottom.valuePx(r.windowSize)};
|
|
36
36
|
height: 100%;
|
|
37
|
-
`,
|
|
38
|
-
${r=>`${
|
|
37
|
+
`,J=t(P)`
|
|
38
|
+
${r=>`${T.title.style(r.windowSize)}`};
|
|
39
39
|
display: flex;
|
|
40
40
|
flex: 1 1 auto;
|
|
41
41
|
color: ${r=>r.theme.colors.primary};
|
|
42
42
|
align-items: center;
|
|
43
43
|
justify-content: center;
|
|
44
44
|
overflow: hidden;
|
|
45
|
-
`,
|
|
45
|
+
`,U=t.div`
|
|
46
46
|
display: flex;
|
|
47
|
-
background-color: ${r=>r.isStepInError?
|
|
47
|
+
background-color: ${r=>r.isStepInError?w.alertLight:r.theme.colors.grey5};
|
|
48
48
|
border: ${r=>`1px solid ${r.theme.colors.grey3}`};
|
|
49
49
|
border-radius: ${n.sp2};
|
|
50
50
|
margin-bottom: ${n.sp3};
|
|
51
|
-
border-color: ${r=>r.isStepInError?
|
|
51
|
+
border-color: ${r=>r.isStepInError?w.brandColorGold:r.theme.colors.grey2};
|
|
52
52
|
flex-direction: column;
|
|
53
|
-
`,
|
|
53
|
+
`,W=t.div`
|
|
54
54
|
display: flex;
|
|
55
55
|
margin: 12px ${n.sp3} 12px ${n.sp3};
|
|
56
56
|
align-items: center;
|
|
@@ -63,13 +63,13 @@ import{X as C,l as B,B as D,j as s,eP as j,eT as S,K as M,v as E,o as n,C as $,Q
|
|
|
63
63
|
align-items: center;
|
|
64
64
|
`,re=t.div`
|
|
65
65
|
display: flex;
|
|
66
|
-
color: ${r=>r.isStepInError?
|
|
66
|
+
color: ${r=>r.isStepInError?w.brandColorGoldDark:r.theme.colors.primary};
|
|
67
67
|
margin-left: ${n.sp2};
|
|
68
68
|
align-items: center;
|
|
69
|
-
`,oe=t(
|
|
69
|
+
`,oe=t(Q)`
|
|
70
70
|
width: ${n.sp4};
|
|
71
71
|
height: ${n.sp4};
|
|
72
|
-
color: ${
|
|
72
|
+
color: ${w.success};
|
|
73
73
|
`,ne=t(R)`
|
|
74
74
|
width: ${n.sp4};
|
|
75
75
|
height: ${n.sp4};
|
|
@@ -87,6 +87,6 @@ import{X as C,l as B,B as D,j as s,eP as j,eT as S,K as M,v as E,o as n,C as $,Q
|
|
|
87
87
|
`,ie=t(A)`
|
|
88
88
|
display: flex;
|
|
89
89
|
align-items: end;
|
|
90
|
-
color: ${
|
|
90
|
+
color: ${w.brandColorGoldDark};
|
|
91
91
|
margin-left: ${n.sp2};
|
|
92
92
|
`;export{$e as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Te,X as
|
|
1
|
+
import{a as Te,X as M,w as Pe,l as P,u as pe,a2 as Be,j as t,M as Q,a0 as B,bs as L,o,aV as Le,f as D,bO as W,bQ as F,bR as G,F as Ne,cA as He,g as y,co as Me,_ as v,c as ue,v as w,b4 as Ee,be as Ie,a6 as Oe,C as j,fc as Ue,cO as ae,q as p,gQ as Re,as as We,b6 as Fe,av as Ge,au as Ve,b7 as Ye,at as Je,e as Z,gR as Xe,am as Ke,af as Qe,gS as Ze,k as _e,gT as qe,ay as et,fe as tt,cv as ot,m as at,Q as it,bH as nt}from"./index-Dhj1_7g2.js";import{b as r,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as lt}from"./BoxItem-Bcy7IYuZ-DautVok3.js";import{w as rt}from"./downloadPdf-CDvgLzWC-CPQqckVY.js";import{H as ct}from"./DepositAccTransactionItem-Da0GWYei-DZh1aBKG.js";import{T as st}from"./ZeniAccountNavBarPieces-CeJHAl4O-DAWPUiSq.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-BtmBVXgZ-C8cgTp9k.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100vh;
|
|
@@ -8,20 +8,20 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
8
8
|
background-color: ${e=>e.theme.colors.grey5};
|
|
9
9
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
10
10
|
background-color: ${e=>e.theme.colors.grey4};
|
|
11
|
-
`,ie="editNickName-form",Y="checkingAccountNickName",ut={tickLabelText:new it("extraSmallRegular","smallRegular")},u={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:M,spendManagement:ht}=_.getLocalizedStrings(),{zeniAccounts:i}=ht,G=_.getLocalizedStrings().dateFormat,mt=_.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=r.memo(({accountHistory:e})=>{const h=H(),n=pe(),[m,f]=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=P.zeniDate(l[0].payload?.date).format(G.visual.DMMMYYYYFormat)),t.jsxs(Yt,{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 z=!1;e.accountHistoryWithBalance.length>360&&(z=!0);const S=z?P.zeniDate(v).format(G.visual.MMMformat):P.zeniDate(v).format(G.visual.MMMDFormat);return t.jsx(zt,{translateX:d,translateY:c,children:t.jsx(Lt,{windowSize:h,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,h]),k=r.useCallback(({cx:l,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==d)&&f({x:l,y:d}),t.jsx(Gt,{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: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:$.brandColorJade,stopOpacity:1}),t.jsx(Ht,{offset:"100%",stopColor:$.brandColorJade,stopOpacity:.03})]})}),t.jsx(Ve,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Fe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:p[4]},interval:y}),t.jsx(Ye,{tick:!1,axisLine:!1}),t.jsx(Ge,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:$.brandColorJade}}),t.jsx(Je,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:$.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:h,onAccountDetailClick:n,downloadEndPoint:m,authParams:f,showLoader:b,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const y=H(),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(Dt,{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(Vt,{"data-testid":C("download-bank-verification-letter"),onClick:()=>rt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,f,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(ft,{windowSize:y,children:[t.jsxs(jt,{children:[t.jsx(Qt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Zt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(eo,{children:i.zeniAccountDetail.viewAll}),t.jsx(qt,{})]}):null]}),t.jsx(kt,{children:e.transactionList.map((d,c)=>t.jsx(ct,{data:d,boxType:lt(c,e.transactionList.length)},d.id))})]}):t.jsxs(gt,{children:[t.jsx(yt,{windowSize:y}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const So=({authParams:e,downloadEndPoint:h,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:f,onViewAllTransactionClick:b,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:y,onEditNameClick:l,onReloadZeniAccountDetailPage:d})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[z,S]=r.useState(!1),[E,I]=r.useState(!1),[Z,xe]=r.useState(!1),q=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||P.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(()=>{Z===!0&&setTimeout(()=>{xe(!1)},800)},[Z]);const ge=n.transactionList.length>4,U=pe(),[ye,$e]=r.useState(!1),[fe,W]=r.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:()=>{y?.(),S(!1)},onCancelClick:()=>{S(!1)}},be={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};r.useEffect(()=>{oe==="In-Progress"&&O==="Completed"&&(I(!1),c.reset())},[oe,O,c]),r.useEffect(()=>{E&&v(Y)},[E,v]);const ke={pageName:"detailPage",onOptionSelection:je},Ce=n.accountDetail?.accountName??"",A=n.accountSummary,ve=c.handleSubmit(s=>{l?.(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=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(co,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(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:De(s),display:"flex",placement:q==="small"?"bottom":"top",title:T,children:t.jsx(ro,{})})})},[A,q]),Ae=t.jsx(st,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:f});return t.jsxs(wt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:U.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),z?t.jsx(R,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(V,{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,fe?t.jsx(R,{titleComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(V,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(R,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(V,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:be,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(Me,{type:"text",name:Y,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:He(c.formState.errors,Y)===!0?$.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:$e,showLoader:ye,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(At,{children:[t.jsx(Tt,{onClick:d,"data-testid":C("account-detail-reload"),children:t.jsx(Bt,{})}),t.jsx(Pt,{children:mt.reloadPage.label})]}):t.jsx(pt,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},xt=({zeniAccountDetail:e,getToolTipContent:h})=>{const n=H(),[m,f]=r.useState(!1),[,b]=We(),[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(Ft,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(_t,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("hide-account-number"),onClick:()=>{f(!1)}})})}),t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"right",title:x?M.copyToClipBoard.copied:M.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(oo,{}):t.jsx(to,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("show-account-number"),onClick:()=>{f(!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:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Wt,{}),t.jsx(Ot,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},gt=a.div`
|
|
11
|
+
`,ie="editNickName-form",V="checkingAccountNickName",ut={tickLabelText:new it("extraSmallRegular","smallRegular")},u={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:H,spendManagement:ht}=Q.getLocalizedStrings(),{zeniAccounts:i}=ht,Y=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=P.zeniDate(l[0].payload?.date).format(Y.visual.DMMMYYYYFormat)),t.jsxs(Vt,{children:[t.jsx(le,{children:d}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:d,y:c}=l,{value:C}=l.payload;let z=!1;e.accountHistoryWithBalance.length>360&&(z=!0);const S=z?P.zeniDate(C).format(Y.visual.MMMformat):P.zeniDate(C).format(Y.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=r.useCallback(({cx:l,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==d)&&$({x:l,y:d}),t.jsx(Yt,{cx:l,cy:d,strokeWidth:1,r:p[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(so,{children:t.jsx(po,{children:H.texts.noData})}):t.jsx(It,{children:t.jsx(Re,{height:u.areaChartHeight.value(h),width:"99%",children:t.jsxs(We,{data:b,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Nt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ht,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Mt,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(Fe,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Ge,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:p[4]},interval:f}),t.jsx(Ve,{tick:!1,axisLine:!1}),t.jsx(Ye,{position:m,content:({payload:l})=>x(l),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=r.memo(({zeniAccountDetail:e,getToolTipContent:h,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:b,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=M(),l=r.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:l}),t.jsxs(Et,{windowSize:f,children:[t.jsxs(Wt,{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:()=>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,{}),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:lt(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:l,onReloadZeniAccountDetailPage:d})=>{const c=Te({mode:"all"}),{setFocus:C}=c,[z,S]=r.useState(!1),[E,I]=r.useState(!1),[_,xe]=r.useState(!1),q=M(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||P.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(()=>{_===!0&&setTimeout(()=>{xe(!1)},800)},[_]);const ge=n.transactionList.length>4,O=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),R=n.accountUpdateStatus.editName.fetchState,oe=Be(R),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},be={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};r.useEffect(()=>{oe==="In-Progress"&&R==="Completed"&&(I(!1),c.reset())},[oe,R,c]),r.useEffect(()=>{E&&C(V)},[E,C]);const ke={pageName:"detailPage",onOptionSelection:je},ve=n.accountDetail?.accountName??"",A=n.accountSummary,Ce=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},ze=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(co,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(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:De(s),display:"flex",placement:q==="small"?"bottom":"top",title:T,children:t.jsx(ro,{})})})},[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:O.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),z?t.jsx(W,{titleComponent:t.jsx(G,{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(W,{titleComponent:t.jsx(G,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(W,{titleComponent:t.jsx(G,{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(He,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,V)===!0?y.importantLight:O.colors.background,border:`1px solid ${O.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:h,getToolTipContent:ze,onAccountDetailClick:x,onViewAllTransactionClick:b,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(At,{children:[t.jsx(Tt,{onClick:d,"data-testid":v("account-detail-reload"),children:t.jsx(Bt,{})}),t.jsx(Pt,{children:mt.reloadPage.label})]}):t.jsx(pt,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},xt=({zeniAccountDetail:e,getToolTipContent:h})=>{const n=M(),[m,$]=r.useState(!1),[,b]=Ue(),[x,g]=r.useState(!1),k=()=>{b(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(Ct,{children:[t.jsx(Gt,{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:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Kt,{"data-testid":v("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":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(re,{children:[ne(i.common.totalYieldEarned),h("totalInterest")]}),t.jsxs(Ot,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Ut,{}),t.jsx(Rt,{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`
|
|
25
25
|
margin-top: ${e=>u.accountDetailContentMarginTop.valuePx(e.windowSize)};
|
|
26
26
|
margin-right: ${e=>u.accountDetailHeaderPaddingRight.valuePx(e.windowSize)};
|
|
27
27
|
margin-left: ${e=>u.accountDetailHeaderPaddingLeft.valuePx(e.windowSize)};
|
|
@@ -51,12 +51,12 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
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;
|
|
@@ -89,7 +89,7 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
89
89
|
color: ${e=>e.theme.colors.primary};
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`,Pt=a(
|
|
92
|
+
`,Pt=a(Oe)`
|
|
93
93
|
margin-top: ${o.sp3};
|
|
94
94
|
color: ${e=>e.theme.colors.hero};
|
|
95
95
|
`,Bt=a(Ie)`
|
|
@@ -103,7 +103,7 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
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``,Ht=a.stop``,Mt=a.stop``,Et=a.div`
|
|
107
107
|
display: flex;
|
|
108
108
|
flex-direction: row;
|
|
109
109
|
gap: ${e=>u.accBtnsGap.valuePx(e.windowSize)};
|
|
@@ -120,11 +120,11 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
`,
|
|
123
|
+
`,Ot=a.div`
|
|
124
124
|
display: flex;
|
|
125
125
|
flex-direction: row;
|
|
126
126
|
align-items: baseline;
|
|
127
|
-
`,
|
|
127
|
+
`,Ut=a.div`
|
|
128
128
|
align-self: center;
|
|
129
129
|
background-color: ${e=>e.theme.colors.grey1};
|
|
130
130
|
border-radius: 50%;
|
|
@@ -132,10 +132,10 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
132
132
|
height: ${o.sp1};
|
|
133
133
|
margin: ${o.sp0} ${o.sp1};
|
|
134
134
|
margin-top: 2px;
|
|
135
|
-
`,
|
|
135
|
+
`,Rt=a(at)`
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
137
|
margin-top: ${o.sp1};
|
|
138
|
-
`,
|
|
138
|
+
`,Wt=a.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: row;
|
|
141
141
|
align-items: center;
|
|
@@ -150,7 +150,7 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
margin-left: ${o.sp3};
|
|
153
|
-
`,
|
|
153
|
+
`,Ft=a.div`
|
|
154
154
|
display: flex;
|
|
155
155
|
flex-direction: row;
|
|
156
156
|
align-items: center;
|
|
@@ -165,10 +165,10 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
margin-right: ${o.sp3};
|
|
168
|
-
`,
|
|
168
|
+
`,Gt=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 Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
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
|
+
`,Yt=a.circle`
|
|
184
184
|
stroke: ${e=>e.theme.colors.brandColorJade};
|
|
185
185
|
fill: ${e=>e.theme.colors.grey5};
|
|
186
186
|
`,le=a(w)`
|
|
187
|
-
color: ${e=>e.isSublabel===!0
|
|
187
|
+
color: ${e=>e.isSublabel===!0?y.neutralGrey1Light:y.brandColorPearl};
|
|
188
188
|
`,re=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;
|
|
@@ -208,17 +208,17 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
208
208
|
margin-left: ${o.sp2};
|
|
209
209
|
margin-right: ${o.sp2};
|
|
210
210
|
color: ${e=>e.theme.colors.hero};
|
|
211
|
-
`,
|
|
211
|
+
`,Qt=a.div`
|
|
212
212
|
display: flex;
|
|
213
213
|
align-items: baseline;
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
|
-
`,se=a(
|
|
215
|
+
`,se=a(Z)`
|
|
216
216
|
margin-left: ${o.sp2};
|
|
217
217
|
`,de=a(w)`
|
|
218
218
|
margin-left: ${o.sp2};
|
|
219
|
-
`,
|
|
219
|
+
`,Zt=a(Ke)`
|
|
220
220
|
color: ${e=>e.theme.colors.primary};
|
|
221
|
-
`,
|
|
221
|
+
`,_t=a.div`
|
|
222
222
|
display: flex;
|
|
223
223
|
align-items: center;
|
|
224
224
|
cursor: pointer;
|
|
@@ -231,11 +231,11 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
231
231
|
color: ${e=>e.theme.colors.primary};
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
`,qt=a(
|
|
234
|
+
`,qt=a(Qe)`
|
|
235
235
|
width: ${o.sp3};
|
|
236
236
|
height: ${o.sp3};
|
|
237
237
|
color: ${e=>e.theme.colors.grey1};
|
|
238
|
-
`,eo=a(
|
|
238
|
+
`,eo=a(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 Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
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};
|
|
@@ -281,7 +281,7 @@ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw a
|
|
|
281
281
|
`,X=a.div`
|
|
282
282
|
color: ${e=>e.theme.colors.hero};
|
|
283
283
|
`,K=a.div`
|
|
284
|
-
color: ${
|
|
284
|
+
color: ${y.primaryDark};
|
|
285
285
|
`,ro=a(Ee)`
|
|
286
286
|
width: ${o.sp3};
|
|
287
287
|
height: ${o.sp3};
|