@zeniai/web-cockpit-ui 1.14.6-qa → 1.14.7-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-DgGGv2hx-DhGqxCnw.js → ACHDetailsPage-CYMIIaPh-C8Zl6MLV.js} +3 -3
- package/dist/assets/{AIPerformancePage-cpZUms56-qBalK6QF.js → AIPerformancePage-DpQIi2ZW-BO0NE_2F.js} +35 -35
- package/dist/assets/{AccountInfoPage-CFLaCiT5-DqoBEOc-.js → AccountInfoPage-Sh-82JXU-CKtI4bnL.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-DtAZ50Qc-BeekofSV.js → AccountInfoPageContent-CsHvwqHd-BlW8CgcU.js} +13 -13
- package/dist/assets/{AccountReconDetailsDrawerPage-CMN1zNHW-CL-ockWE.js → AccountReconDetailsDrawerPage-DlKlKwh2-DpdK7fsT.js} +16 -16
- package/dist/assets/{AccountRow-DAc1wwY9-C0HqOA9-.js → AccountRow-CtIoeB6x-B01gigKX.js} +17 -17
- package/dist/assets/{AccountsPromoCardStack-Bp1wRT6M-CYo6jPNU.js → AccountsPromoCardStack-XGoMEJWB-ClZD8Pkf.js} +15 -15
- package/dist/assets/{AddAddressForCardDrawer-ChDzvTVq-GLR6_t5g.js → AddAddressForCardDrawer-C6Sfh784-BO6CLNaD.js} +2 -2
- package/dist/assets/{AddToWalletPage-BvrcjDhk-NkMR8hRQ.js → AddToWalletPage-CzD2AhWP-GEi12jel.js} +13 -13
- package/dist/assets/{AgingReportsPage-CzYUWOIt-CJFG9hw0.js → AgingReportsPage-D9YcQ7A--jEVrKNWY.js} +7 -7
- package/dist/assets/{AllUserItems-XxV2Tu4Y-sbn-nokE.js → AllUserItems-BtS-YtE0-oBJempiY.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-DTXhjXRb-tDKmCLbA.js → ApAgingDetailPage-BTJqRp9j-CVJ5DZ9g.js} +4 -4
- package/dist/assets/{AppBasePage-Cfiv8Ecs-UJWdcIkl.js → AppBasePage-B5fgkJHL-nKspGTEB.js} +4 -4
- package/dist/assets/{AppDrawerContent-ggBgpYsv-BhuQV-gE.js → AppDrawerContent-C1lzepXw-Dt703jdK.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-BlRSdCTV-LrZASIni.js → ApprovalRulesSettingsPage-Bqt15rR_-CJ2-js2Y.js} +7 -7
- package/dist/assets/{ArAgingChart-C7_e1ezL-Cfi6j3Jg.js → ArAgingChart-BGVvhkR5-CfmO25FB.js} +6 -6
- package/dist/assets/{ArAgingDetailPage-DhjFbj4K-sRIzddV0.js → ArAgingDetailPage-Ddp7z3e8-BWaOoITE.js} +2 -2
- package/dist/assets/{AttachmentView-CQD-yy-o-1NVaWP30.js → AttachmentView-pcpYs-s8-D808dzO5.js} +5 -5
- package/dist/assets/{BankAccountSection-CmOHWLFq-vSt2i69h.js → BankAccountSection-CmXQQBck-BXf6w0tF.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-DsBsO84p-Br5XLEf9.js → BankAccountWarningSection-Dp7qMaI2-DCN96rsg.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Cz6smhXo-Cdgop5x9.js → BankConnectionsSettingsPage-ldzD1a4O-CXgyrIw4.js} +38 -38
- package/dist/assets/{BillDetailPage-CYa0EITJ-0aSYVKGp.js → BillDetailPage-CBubcYMe-BO_dFsg-.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-BbU_Q81T-BVCvUvRL.js → BillPayApprovalRuleDetailPage-BxiRr1tP-COYx8jcO.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-D8ehXeiO-I0Ym-A1W.js → BillPayApprovalRulesPage-CLBGuxUe-fnAlfa5X.js} +8 -8
- package/dist/assets/{BillPayPromoPage-DuaA85G4-CW37fYt2.js → BillPayPromoPage-C3takK8D-DwgwIjWq.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BH06l9Hv-BQ5XuNfG.js → BillPaySetUpPage-CweOkcc2-D46-_5BW.js} +2 -2
- package/dist/assets/{BillingSettingsPage-BUas93LA-Bw3kXQzV.js → BillingSettingsPage-BQSZ6DMP-DRARmVD3.js} +7 -7
- package/dist/assets/{BillsBulkReviewDrawerPage-D6cSAH1--Dypef8h4.js → BillsBulkReviewDrawerPage-3trPH78u-CF22gH7n.js} +1 -1
- package/dist/assets/{BoxItem-D88gMTQn-D46Yo25S.js → BoxItem-Bf7JemSM-D8tvXCvN.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-rX7_wUAW-C4OzNGUb.js → BusinessVerificationPage-DXODyk9C-B5e28vsE.js} +8 -8
- package/dist/assets/{CardNumberSubText-CxTVkF4V-iWi8Ysv4.js → CardNumberSubText-ByVXSDZX-CD-Gw7wf.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DdDMDW2I-DEFkWzKF.js → CashbackDetailPage-9RLOXq5b-DSEoSjiZ.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-JrO7h-ff-CM_N7uQT.js → ChargeCardDetailPage-lkNsxEdO-e-8D7tkI.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CelWKqSg-Dhoo911d.js → ChargeCardListPage-DV25pQMP-BgesY_b4.js} +1 -1
- package/dist/assets/{ChargeCardListTable-B4c4WFSq-DJFUY7lB.js → ChargeCardListTable-CSWl05jK-CRlk7PbR.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-Cv34m9BS-BmZiFW4y.js +219 -0
- package/dist/assets/{ChargeCardSetupPage-PQAwr78u-msQYLFMS.js → ChargeCardSetupPage-7mEdImT--BWhFbFIQ.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DVPKN4xX-BDfS62On.js → ChargeCardStatementsPage-D_rKdZ5c-DUDd82r_.js} +3 -3
- package/dist/assets/{ChargeCardUtils-BQZTS-KQ-DN5emI4w.js → ChargeCardUtils-BB7l65Bf-DfL6sW6K.js} +1 -1
- package/dist/assets/{ChaseOverlay-DveM_aY_-SrUhZ-KA.js → ChaseOverlay-hsrWeA5X-B3bQwtbG.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-DoMhVKPu-BWBUN8tI.js → CheckDepositDrawerPage-CZNH4rCm-CxSsvi_m.js} +19 -19
- package/dist/assets/{CollapsableReportTable-CWIVhYku-DzNE0ECl.js → CollapsableReportTable-C73RBmaZ-A1Br721z.js} +46 -46
- package/dist/assets/{CompanyOfficerDetailsSection-Ci47swN_-GWpqyiJH.js → CompanyOfficerDetailsSection-CZWTSWyp-BOVUWJjT.js} +34 -34
- package/dist/assets/{CompanyPassportCard-Bw2TdWs0-BiZohcbB.js → CompanyPassportCard-D-hYeDRN-Bo9rwkQb.js} +3 -3
- package/dist/assets/{CompanyPassportPage-CKIihOM0-D1cXLT0P.js → CompanyPassportPage-fQ60DR7u-DD7YvAPU.js} +12 -12
- package/dist/assets/CompleteProfile-DnBzaAdT-JcsdBGpZ.js +52 -0
- package/dist/assets/{ConfettiBurst-CU6fcwCz-CJlWrE_E.js → ConfettiBurst-D5XTvsuG-Dl2X4lye.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BoDt1Ez7-DgN-5P6-.js → CreateOrEditVendorPage-7KdDJirx--0K-JjCB.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-D7Hka4sI-XMOTHoN6.js → CreditCardPaymentDrawerPage-BNJLUnlH-D5HY42Lo.js} +15 -15
- package/dist/assets/{CreditCardPaymentPlgSection-C86KVs5o-CMHP3c_1.js → CreditCardPaymentPlgSection-BwqznNRc-DXBqgi-A.js} +10 -10
- package/dist/assets/{CurrencySelectField-B0VTg3Rt-Dd3IQIDs.js → CurrencySelectField-PwurThUn-qsqObS4L.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-oegOz3kP-D9IgnjCf.js → CustomerOnboardingActivationPage-CHJLyOyf-vC6AUxAJ.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DyM4sCZd-DLhRqrqJ.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DhuLaWYK-DcG6KMpl.js → CustomerOnboardingDetailPageSkeleton-BqdhqyL7-D5d_8a27.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BxwT2uzY-D7TcqLpN.js → CustomerOnboardingNoStepsPage-DDio10hZ-Bwj4xg2w.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-L_1XcD2Y-DKNCW3S2.js → CustomerOnboardingPage-k2OYvIqe-DW9-8aDi.js} +9 -9
- package/dist/assets/CustomerOnboardingProductSuitePage-CxB32dUM-D8l5mASB.js +202 -0
- package/dist/assets/{Dashboard-CWSUiuiJ-CkG7yAH9.js → Dashboard-DhMPjLVy-BPpidTU7.js} +1 -1
- package/dist/assets/{DashboardReportPage-D79gYgHb-BVvCBIWA.js → DashboardReportPage-C9YvD_24-CnK8XRxa.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BCJn6a_d-BT-feK8R.js → DepositAccTransactionItem-BYFOUvho-D1tjwPkv.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage-6QMW3q5S-DniMW2S1.js → DepositAccTransactionListPage-DeN4-lBP-CBJVTEU-.js} +7 -7
- package/dist/assets/{DocumentSecurityBanner-C7TAyvIZ-DjIw6AYV.js → DocumentSecurityBanner-6cQ2cW7e-Bf5Osic5.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DGOgMHF5-CR1jD4GL.js → DomesticWireDetailsPage-BmMEth4c-Duh2OS1c.js} +1 -1
- package/dist/assets/{DownloadOverlay-BrVMY7u8-nMRk4mVN.js → DownloadOverlay-D0_pmb7k-BhK-Q9wQ.js} +6 -6
- package/dist/assets/{DrawerPage-DbmFkDa9-Djje95q9.js → DrawerPage-C5u676VK-BwyTjOJX.js} +1 -1
- package/dist/assets/EditPeoplePage-DAM71X8m-kukHxW_0.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BSXwufQy-BGfoaRvB.js → EditReimbursementDetailPage-BxjNoyj8-mj8ySbuq.js} +43 -43
- package/dist/assets/{EntityDetailPage-ClKvTCns-CiI4yzJ7.js → EntityDetailPage-BfscGvkI-DlE98_0K.js} +3 -3
- package/dist/assets/{EntitySummarySection-BcyWfLW_-llSGPYnB.js → EntitySummarySection-BCkLY2Py-lpTrhfnW.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ5_4jtz-Dwom5i2h.js → ExpenseAutomationOverviewPage-C4SCxViu-BAakN-WZ.js} +18 -18
- package/dist/assets/{ExpenseAutomationPage-SDYsJmGO-CNd8g10S.js → ExpenseAutomationPage-DF1-Q4X5-DubLusUH.js} +33 -33
- package/dist/assets/{ExpressPayPage-S33czP_U-wOnUG70H.js → ExpressPayPage-Cdtx03yB-BxTU3id1.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-COWIqmTf-CyZ-Ngo6.js → FeaturePreviewPage-nQYT4moR-CobwvrFz.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cw8htUBe-KlacKTEI.js → FollowStepsSection-CRBm3eL9-Bz_q7qOo.js} +8 -8
- package/dist/assets/{GlobalReviewListPage-DKBYTVNe-B054__m6.js → GlobalReviewListPage-3iXmpaXt-BpdqjyXr.js} +1 -1
- package/dist/assets/{HelpButton-BvPX8uxd-B7O0Ne6B.js → HelpButton-Cv7-d_qL-CciztHgu.js} +1 -1
- package/dist/assets/{InformationCardStack-CtueyMCq-B3RHQtJt.js → InformationCardStack-JCre21xs-BlkeDU23.js} +3 -3
- package/dist/assets/{InsightsCardStack-BKtPGTdt-rc65DXp-.js → InsightsCardStack-Dekfw94R-VqCo_XNV.js} +8 -8
- package/dist/assets/{InsightsSection-BFIeAUrz-CogsOJk3.js → InsightsSection-CLqfyvOO-CKwkK2Sj.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-BSyZC7Kg-CHF3rylS.js → IntegrationsSettingsPage-o9w1-WIT-BCMJ43n5.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-C9Z04pG5-ChUNSNNN.js → InternationalWireSwiftDetailsPage-DBG1ni7g-DMTAsaCM.js} +18 -18
- package/dist/assets/{InternationalWireVerificationPage-iRa0YMo6-BqMlSuW7.js → InternationalWireVerificationPage-BLU4F--p-BFU2uuwn.js} +19 -19
- package/dist/assets/{InviteFormPage-CbSJssAT-C5BLeKFh.js → InviteFormPage-Bf8Mqb7S-BtjdSecG.js} +13 -13
- package/dist/assets/{InvitePageListView-BrUBTz5B-DxiDTLU3.js → InvitePageListView-6oeT1vaB-Bpmua81S.js} +52 -52
- package/dist/assets/InvitePeoplePage-CLvVDRca-CLtgUYZW.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CRgtSthn-CdJu9_SZ.js → InvoiceUploadSection-BiIfE0Mk-DzhUPeCE.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-CdOs81el-CaQjXLma.js → IssueChargeCardPage-Dd312Qu7-BymELIm-.js} +20 -20
- package/dist/assets/{LabeledAddressValue-CoQKG0Vs-XiBnAGSr.js → LabeledAddressValue-BplX--OG-BBD4K47a.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D5zB7wnP-C-ACJntJ.js → LabeledAddressValueField-DkhJs5ky-DLdSr7t1.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-DSefRIxV-fZ095MYZ.js → LabeledControlledCheckBoxField-SJfjkDzA-q46TDnxw.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DOv10RFp-Do8dWxGN.js → LabeledCreatableSingleSelectField-CPwrvNjy-C-LowpML.js} +3 -3
- package/dist/assets/LabeledDocumentField-DLd6UnEn-DtqGgdoi.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-D6qgntCW-BJC3ifVH.js → LabeledDropDownFormattedTextField-D70GX0HR-7dIEmO5F.js} +7 -7
- package/dist/assets/{LabeledText-DiD_FvMm-CCwT2lQh.js → LabeledText-mTAE2dvH-e6RXkC8i.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-rBaXx4JB-DR0Xw0HO.js → LabeledUserSingleSelectWithSubtitlesField-Dx8TfHuB-hRPyJuOY.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-DI9XLkn7-BHhuV6HF.js → LabeledZeniRolesDropDownField-ZGHinaTy-14IF6Cak.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-BI9rvDWF-CfBfl5Qd.js → LinkJETransactionPage-CNYQO-AQ-BO9clNns.js} +8 -8
- package/dist/assets/{LowBalancePopup-ChqqEeWk-BM4fEMD_.js → LowBalancePopup-hdwaJezh-B0CYMe4t.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-DYDNDN_--DivIHnp3.js → MagicLinkACHDetailsPage--DRHcaKz-BBtLo6wh.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DQuuLyWQ-DMuYoH5t.js → MagicLinkDomesticWireDetailsPage-B5hbI4dU-0vD7L8pJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CnUTecpU-D_T2GhHn.js → MagicLinkInternationalWireDetailsPage-BdwVZCRt-BzFpmTJD.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Dyhk5vnq-BIlvFeEv.js → MagicLinkSuccessPage-DOUrPdD--h771bDUh.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CAwqT4_X-BZUCaIfF.js → MagicLinkTitleSection-Bb27jU2a-DQOPYd-Z.js} +3 -3
- package/dist/assets/{MailingDetailsSection-Cpu-qwub-DXvamX34.js → MailingDetailsSection-CdKFQB_8-K5G0AaPG.js} +2 -2
- package/dist/assets/{MeetingCalenderPopup-B5M2lm-y-C_FrJz7Q.js → MeetingCalenderPopup-B3sIZU3d-DuEMLObz.js} +3 -3
- package/dist/assets/{Menu-D0NUi1FB-BawltZy9.js → Menu-Bsk58l8k-kRDchKev.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-SYlGHINJ-UgY1mvLj.js → MyBankConnectionsSettingsPage-P1Zh6SFD-C4DvQ61H.js} +12 -12
- package/dist/assets/{MyPendingActivationChargeCardListPage-EBaDVcO8-BUhvlg7Q.js → MyPendingActivationChargeCardListPage-Cs7rVAdh-B9AXkK-5.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-a1LKde_U-C-CluQ5D.js → MyProfileSettingsPage-Cc4XfbBQ-C9qNtbAb.js} +6 -6
- package/dist/assets/{NavBarWithPicker-D3YzfX06-BOvWanjk.js → NavBarWithPicker-DFD5LZ4o-CjFvYGu-.js} +3 -3
- package/dist/assets/{NavigationArrow-C81m-KZF-DiGpo5fD.js → NavigationArrow-mL8dVddD-CApZjvsF.js} +5 -5
- package/dist/assets/{NavigationDots-CB3WQq54-bd5dE2x5.js → NavigationDots-MPqPjbnr-gK408Eu4.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BwuCbGQ_-BWfS6c1K.js → NewGlobalMerchantPage-QTvziNPs-DJ7dMRKm.js} +6 -6
- package/dist/assets/{NoDataChart-B0CMrh6X-CjUp7yyw.js → NoDataChart-C1BY1riw-DoqrJEIG.js} +1 -1
- package/dist/assets/{NoDataTable-BgcSvfNz-CZM6fS2_.js → NoDataTable-C_4AqyDp-cxOm3TqL.js} +1 -1
- package/dist/assets/{NotFoundPage-BnPqLAwW-DXn1vq6B.js → NotFoundPage-U8Zqpzgy-DGacTch6.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-wigFcdhu-BCVXYCAc.js → NotificationSettingsPage-2A4Pahmq-ugOY8DfW.js} +13 -13
- package/dist/assets/NotificationsListConfig-BIw5ASx2-BpsD8zMo.js +1 -0
- package/dist/assets/{NotificationsPage-BC-f8rc3-Cv1jpZ5r.js → NotificationsPage-B6yKJmGI-ABrq9lsr.js} +36 -36
- package/dist/assets/{OpExByVendorPage-CIh1CcAU-DhceACAT.js → OpExByVendorPage-BnTlBXeu-CtQ9Rudi.js} +4 -4
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-D_pF8lEg.js → OverlayContainerPage-BxBOhoib-0U2mSFzb.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Dj21XOWq-Bil3pCly.js → PandLWithForecastPage-CKW73tr8-DQuvWZ35.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C0eGjv2q-hYajAvBR.js → PaymentAccountSetupBillingAddressSection-CSEVISAI-Bq0DuZcX.js} +6 -6
- package/dist/assets/{PeoplePage-DHWuODjG-BG9mOlzv.js → PeoplePage-BJxZJT-l-FSQqwOWI.js} +16 -16
- package/dist/assets/{PortfolioAllocationFormPage-CYoVD723-JNLkou6k.js → PortfolioAllocationFormPage-C4pRhyet-Wf_11Z3Y.js} +4 -4
- package/dist/assets/PortfolioDetails-4fbkArz6-0_-lQYOm.js +218 -0
- package/dist/assets/{ProductsCarousel-DcSxZECS-DlL_nQ7i.js → ProductsCarousel-gGbLzHle-BYrndM43.js} +1 -1
- package/dist/assets/{PromoBaseCards-B-s9wF0Q-C_JFN1l_.js → PromoBaseCards-DUlZEg5E-CbxyeszU.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CQlXDalh-pYOnv0Lz.js → QBOConnectionDialog-C_Z2lvUz-DLhuJ1u0.js} +6 -6
- package/dist/assets/{QBOSetupSection-Dpib3Rx5-CvOyCasF.js → QBOSetupSection-DqWiwHwl-DIb9XM9r.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CutUv2m2-DV8JJchD.js → ReimbursementApprovalRuleDetailPage-JWdrVgqW-CFvIiw2A.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-Cyye_Ayg-D3NnZeto.js → ReimbursementApprovalRulesPage-BnBNwFzM-C_gjNu0y.js} +33 -33
- package/dist/assets/{ReimbursementDetailPage-C4Tsi1io-C3Ydj8yn.js → ReimbursementDetailPage-Dyjb0qZE-BT9Piz6e.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-4BFu3jYR-DJOp85Xg.js → ReimbursementPromoPage-D1EqiXEa-DCne6gHN.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-Cpl4wfuS-CLF96wxU.js → ReimbursementSetUpPage-ClJ_4WMp-Rk-zjJTF.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-iGaIl0hj-Ez4D4cLW.js → ReimbursementsBulkReviewDrawerPage-B-uGRv6i-04ZwLpFl.js} +1 -1
- package/dist/assets/{ReloadCard-F-DEmw51-DLqR0F5O.js → ReloadCard-DVYCtjFP-BRGDk89Q.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BSPNRs-f-BSuMcYEk.js → ReportTableViewSelector-BTu2hum1-C1Mbyqo-.js} +7 -7
- package/dist/assets/{ReportsPage-BQF-yVRz-qmz-Tsud.js → ReportsPage-BJEqtDDR-D_PksdU9.js} +5 -5
- package/dist/assets/{RevenueChart-ClRH1Vei-DMmGXmTr.js → RevenueChart-BFS-A4qa-BBXnyto4.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-BKfSEXv--BulgMAR_.js → ReviewDetailsPage-C6qSCmDQ-B2yUNAOk.js} +13 -13
- package/dist/assets/{ReviewOverlay-Dgnr47GU-pLIXYebD.js → ReviewOverlay-DItEmr7f-J3VxEX04.js} +1 -1
- package/dist/assets/{RoleWithToolTip-Bcjjd_2M-CEhXe82J.js → RoleWithToolTip-CqtMdboJ-Do2co-59.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bq6XAACj-b2tW9Mlc.js → ScheduleDetailsFixedAssetsPage-CKcDbns8-CVYGhsoz.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DTLTxgOx-BSog8pZ6.js → ScheduleDetailsPage-CYqYYvix-CdBl7QS5.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CEZL4GA8-Bz6Z5iY2.js → ScheduleSequenceTable-DUYFGZvc-B-XLebxH.js} +18 -18
- package/dist/assets/{ScreenRoutes-CPSDcwH4.js → ScreenRoutes-BFh5xZjd.js} +35 -35
- package/dist/assets/{SetUpAccountSection-CJsY-S6w-C1WEKP8_.js → SetUpAccountSection-DfuZHlL6-sva6HoSx.js} +21 -21
- package/dist/assets/{SetUpDefaultSection-Dbzui0hL-iIB8Rf0_.js → SetUpDefaultSection-Jl4dtzx3-CDDnDgUz.js} +10 -10
- package/dist/assets/{SignIn-yFG7aeiJ-ckyRX-3p.js → SignIn-OTT_6lLp-4uioYcss.js} +4 -4
- package/dist/assets/{SignInScreen-CezO9Lof.js → SignInScreen-VsVK9Vz1.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-cw0B29Ux-C5QKbiAX.js → SpendManagementListViewPage-BkL-3WNh-DhY9QPd5.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-Bkw1eegW-6YGIDLoT.js → SpendManagementPerTabPage-Buppd61y-KX81e_1p.js} +14 -14
- package/dist/assets/{SpendManagementSection-DuYMRljT-Bdg69CKN.js → SpendManagementSection-BGcBRKGN-CG3uT_ZE.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-DF3XzW-2-DYLliU2g.js → SpendMgmtSetupAccountSection-Cswh297O-5u1iK010.js} +13 -13
- package/dist/assets/{StatementItem-DGX-Yd6i-BY_yCToE.js → StatementItem-C3tUNT5A-D9LIbCmi.js} +4 -4
- package/dist/assets/{StatementsPage-BJ3A9NXT-DMgbNE2o.js → StatementsPage-DGryRE6z-C-mT3zfT.js} +3 -3
- package/dist/assets/{StatusSwitcher-Duc8UFd8-CiSz19gK.js → StatusSwitcher-BgWlxay9-Mp4PEzEM.js} +2 -2
- package/dist/assets/{SubTabSwitcher-U04APwPI-BuE6OItd.js → SubTabSwitcher-DwwAqq_R-DBNFWy_6.js} +1 -1
- package/dist/assets/{SummaryCard-BPy7YF4F-CCR3LVUp.js → SummaryCard-Dm0Tx9is-BV25EA5P.js} +1 -1
- package/dist/assets/{TaskManagementPage-CaPSMhTy-CpyLEYTY.js → TaskManagementPage-59XAl_cs-BbyBf_KE.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-DR2s6McL-3_tMweub.js → TimeRangeSwitcher-D7-Jph-G-Cn7zeCi8.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-CR_Pithb-DBISxzXu.js → TimeframeSwitcher-CWYQWFLF-B37Mzr7G.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CxsK8B8h-Cc3bm2cD.js → TimeframeSwitcherWithToggle-QOhQ3sac-BtE_j2V5.js} +1 -1
- package/dist/assets/{TopExCard-CykkX8Ny-DVQt4RbM.js → TopExCard-CTlizsDD-CdK-gYL3.js} +5 -5
- package/dist/assets/{TopExDetailPage-D9lST5M2-BxtgAaio.js → TopExDetailPage-Df3JbgcF-BUIhSfiv.js} +2 -2
- package/dist/assets/{TransactionDetailPage-CdEYjFbk-B6ledmKA.js → TransactionDetailPage-DvNpTjAp-3mOQ99vo.js} +30 -30
- package/dist/assets/{TransactionList-Dybq00u0-BjLYzc0q.js → TransactionList-SkSPfIsE-CE8kQBAe.js} +8 -8
- package/dist/assets/{TransactionListBig-C08_BfqV-BbvbiTrP.js → TransactionListBig-CZCV_kmJ-DVUvA7le.js} +9 -9
- package/dist/assets/{TransactionListPage-B1Yrd7M3-DonBnBnw.js → TransactionListPage-CBbyagWp-Da8WpQzF.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-C4c-gk4U-BJLuJ4bf.js → TransactionVendorDetailPage-BXnlFdHR-DkKO-vTr.js} +3 -3
- package/dist/assets/{TransferDrawerPage-R6BJFqqt-DlAyhuZ7.js → TransferDrawerPage-CxXLyKwW-pf6KUagR.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-BsLzvGJ9-B1GjNHT4.js → TreasuryOverviewPage-3JlXZfCV-Dx_gGX5K.js} +16 -16
- package/dist/assets/{TreasuryPromoPage-k4TR0X4_-eC19CXAQ.js → TreasuryPromoPage-BhAicq7r-CWtB-Ior.js} +15 -15
- package/dist/assets/{TreasurySetupPage-xA9wkaxu-DOCNmlPJ.js → TreasurySetupPage-BQG_Wd5U-DotUWNKW.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-BeGMnFii-YfwK-mig.js → TreasuryStatementsPage-dCAtvvZk-CQC0pKh5.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-D6xf_HNB-DiYrdqjP.js → TreasuryTaxLetterPage-irA0Cgkj-CtL9UaTH.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-Cy90K2k1-BwaHgqNm.js → TreasuryTransferOrReviewPage-Dd1oLBma-BqeITAG-.js} +80 -80
- package/dist/assets/{TrendChart-CJ4ymPpY-4Nl5mDmM.js → TrendChart-Ctquh3qH-BiYWLM8X.js} +2 -2
- package/dist/assets/{TrendWithTransactions-B1FMv4RR-BXjd6gRu.js → TrendWithTransactions-CoXTnQK7-BLlEO5rp.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-MX9qLxmy-NN0GCNcI.js → UncategorizedAccountsMappingPage-Cq49D6V9-TgKDL_ek.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-B1wIRNw1-DQCY0VyM.js → UnitIntegrationPage-CR0nZ7NM-R_gwAwZ8.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-DiX5Dbc--DMKXpGlq.js → UploadAdditionalDocumentOverlay-B_DFEIlC-D-vyB1J1.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Cljy86Us-CqvodjDD.js → Vendor2FAPopup-KsRgKz_Z-j8koIFf4.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BZG4bwOp-CtpzzPJH.js → VendorACHDetailsPage-MRaehbhm-DmI12dQp.js} +1 -1
- package/dist/assets/{VendorDetailPage-B8m4FkG5-D-auLoHo.js → VendorDetailPage-Cji21PBc-B3adWyVF.js} +18 -18
- package/dist/assets/{VendorDomesticWireDetailsPage-D7Mt3s3R-_HscDehj.js → VendorDomesticWireDetailsPage-DhUIW9g--qdYZ8d9x.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B1FNkNlL-Sg-MnT3r.js → VendorFiling1099EditablePage-BWFbXLhQ-C5qvIENm.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-CDmMppJJ-CtMKXiJP.js → VendorFirstReviewPage-tvh5pcvQ-B2Kk7Crs.js} +26 -26
- package/dist/assets/{VendorInternationalWireDetailsPage-X-j8j32p-CWI0CPWX.js → VendorInternationalWireDetailsPage-CfmZSb8O-B-ILWyNn.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-eJXY7B89-B0ExbgQf.js → VendorInternationalWireSwiftDetailsPage-V_1s9mWi-hnkkHj00.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DH0v9LaU-DHJI7MF_.js → VendorsAccountsSection-b9s5nqGq-DfS13Vrv.js} +6 -6
- package/dist/assets/VerifyDevice-CJgD3UmO-uodXssPo.js +67 -0
- package/dist/assets/{WarningsDrawerPage-0XqR-WSe-anF5_tw2.js → WarningsDrawerPage-CB4mJGTB-fzxOGtfc.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-poRKOvKO-DKb8kmv1.js → ZeniAccountDetailPage-CgSyyen1-PEjv41n1.js} +33 -33
- package/dist/assets/{ZeniAccountListViewPage-DAwsHVFu-BGWKwgu8.js → ZeniAccountListViewPage-DjGZpdh_-BsFv0aAo.js} +14 -14
- package/dist/assets/{ZeniAccountNavBarPieces-CK1z6uDE-EtXKthio.js → ZeniAccountNavBarPieces-BJC4d2Iu-BjaYs6wQ.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-D_AeQXK0-BigsavEn.js → ZeniAccountPromoPage-D3Yt6FIj-ypiLoIIl.js} +9 -9
- package/dist/assets/{ZeniAccountSetupPage-B5KmPY23-C7MeYCAt.js → ZeniAccountSetupPage-BeCPekI4-BoIQB_8y.js} +3 -3
- package/dist/assets/{ZeniCopyright-DawBwguL-CoKChncL.js → ZeniCopyright-Dhdl9kqY-CRu5oNtE.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BBQgQPfw-CW26dOpf.js → ZeniTransferAmountSlider-B8VFb2l--enqH4TrQ.js} +1 -1
- package/dist/assets/{analyticsHelper-mARzqEfV-glOPluPl.js → analyticsHelper-Cawv3PXO-DqLgneHd.js} +1 -1
- package/dist/assets/{analyticsHelper-DTaSIWBm.js → analyticsHelper-DBiIeSgZ.js} +1 -1
- package/dist/assets/{chartTypes-CedtWDkU-D_XzUeW6.js → chartTypes-5p7NWUHx-6R9pye-p.js} +1 -1
- package/dist/assets/{commonDimensions-ZxGdYNGR-BLBlsCik.js → commonDimensions-CQlLUBWG-C3nTCVjo.js} +1 -1
- package/dist/assets/{detailCommon-C0urnGcj-AeDRs0j5.js → detailCommon-CoAmJ6pY-B0Qu3snC.js} +4 -4
- package/dist/assets/{downloadPdf-C1cvLEsi-rU2eYPue.js → downloadPdf-CCJjnfCZ-ODxWAPRh.js} +1 -1
- package/dist/assets/{index-BEYLWYh7.js → index-C2JVdK9x.js} +2597 -2579
- package/dist/assets/{mapLoadingInProgressToTreeNode-D9ofcMAJ-DzcUuzrj.js → mapLoadingInProgressToTreeNode-CwyU1xs5-DTtIWEnS.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CAhuUnXV-B-V1WxKb.js → mapSectionWithAcOnlyToTreeNode-IKJYFM7_-BiH-dZ1q.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BPXOBdsi-fkjPbAs6.js → mapSpacerToTreeNode-D5XTLzM7-CZeCl2Hx.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BYB1q7M0-BG-ucR_V.js → mapTimeframeBalancesToTreeNode-CJMbtmIl-DGh10zzw.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BU0Ph9My-DP-H6YbL.js → mapTimeframeBalancesToTreeNode-SX6fBp6e-DSWmrMTg.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Bkav2l0W-kqY2QYd9.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ts5lOZtX-DZNSlCJx.js} +1 -1
- package/dist/assets/{play-icon-BaaR5WkW-bsECe0gv.js → play-icon-oQKnPjZi-D1s2fk0_.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-CCW7YVfm-BLH1CPxw.js → toCOABalancesWithID-DwvFse7w-YhdHXdmt.js} +1 -1
- package/dist/assets/{toChartData-C3kVg0fD-Dm5_eyYk.js → toChartData-BBvMC_VQ-D9RVT7PQ.js} +1 -1
- package/dist/assets/{treasuryColorHelper-Cc1DTnhB-C-kSfp9f.js → treasuryColorHelper-CUDK9KvQ-DUBVC7I-.js} +1 -1
- package/dist/assets/{uploadAttachment-C56u0Q20-DnHCC04X.js → uploadAttachment-P4S_2L_v-CgBJ3cvv.js} +13 -13
- package/dist/assets/{uploadReceipts-D80JLNY4-dIgIudSI.js → uploadReceipts-DhDnr0ap-Dmr6ZzO6.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ChargeCardPromoPage-BiyYawq5-C06aowQC.js +0 -219
- package/dist/assets/CompleteProfile-CikcmDmg-BRscmvQ1.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-56mBQg5m-P-4bO2TI.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-Xqdww5iU-DE5MK9MP.js +0 -202
- package/dist/assets/EditPeoplePage-CKiV3DO3-CiLuq48J.js +0 -55
- package/dist/assets/InvitePeoplePage-BbDUlUjQ-BFnCmfU7.js +0 -12
- package/dist/assets/LabeledDocumentField-CO6_e65U-C8oWnxyV.js +0 -41
- package/dist/assets/NotificationsListConfig-D2ndsr4D-C04oDiNr.js +0 -1
- package/dist/assets/PortfolioDetails-5xc1wonC-DS3ORnSc.js +0 -218
package/dist/assets/{TransactionList-Dybq00u0-BjLYzc0q.js → TransactionList-SkSPfIsE-CE8kQBAe.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bF as et,X as O,j as e,ai as it,Y as h,de as at,M as y,df as ot,d9 as rt,dg as nt,o as i,g as E,bW as st,C as q,l as f,d as dt,s as j,p as g,v as lt,dh as Q,cv as V,_ as W,f as ct}from"./index-C2JVdK9x.js";import{b as L,n,f as mt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-Bf7JemSM-D8tvXCvN.js";import{o as N}from"./commonDimensions-CQlLUBWG-C3nTCVjo.js";const D=t=>t?24:125,ft={containerPaddingBottom:new q(g[9],g[8])},A=n.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex: 1 1 auto;
|
|
@@ -15,7 +15,7 @@ import{bC as et,X as N,j as e,ai as it,Y as h,db as at,M as y,dc as ot,d6 as rt,
|
|
|
15
15
|
`,xt=n(j)`
|
|
16
16
|
display: flex;
|
|
17
17
|
cursor: pointer;
|
|
18
|
-
`;function C({firstMonthOfFY:t,isLoadNextItem:o,isLoading:d,timePeriod:a,fixedTimePeriod:r,timeframe:m,doLoadMoreTransactions:x}){let s=a;if(o)if(r!=null){const b=f.addPeriod(a.endDate.startOf("month"),t,r.numberOfPeriods,r.timeframe);s={startDate:s.endDate.add(1,"day"),endDate:b}}else{const b=f.addPeriod(a.endDate.startOf("month"),t,1,m),{startOfTimeframeFY:p,endOfTimeframeFY:w}=f.getStartOfAndEndOfTimeframeForFY(b,t,m);s={startDate:p,endDate:w}}else if(r!=null)s={startDate:f.subtractPeriod(a.startDate.startOf("month"),t,r.numberOfPeriods,r.timeframe),endDate:a.startDate.subtract(1,"day")};else{const b=f.subtractPeriod(a.startDate.startOf("month"),t,1,m),{startOfTimeframeFY:p,endOfTimeframeFY:w}=f.getStartOfAndEndOfTimeframeForFY(b,t,m);s={startDate:p,endDate:w}}const c=y.getLocalizedStrings();let u="";r==null?m==="month"?u=`${o===!0?c.transactionList.loadNextMonthPrefix:c.transactionList.loadPreviousMonthPrefix} (${f.formatZeniDate(s.startDate,c.dateFormat.visual.MMMYYYYFormat,t)})`:m==="quarter"?u=`${o===!0?c.transactionList.loadNextQuarterPrefix:c.transactionList.loadPreviousQuarterPrefix} (${c.transactionList.quarterPrefix}${f.formatZeniDate(s.startDate,c.dateFormat.visual.QYYYYformat,t)})`:u=`${o===!0?c.transactionList.loadNextYearPrefix:c.transactionList.loadPreviousYearPrefix} (${f.formatZeniDate(s.startDate,c.dateFormat.visual.YYYYformat,t)})`:u=`${o===!0?c.transactionList.loadNextMonthPrefix:c.transactionList.loadPreviousPrefix} ${r.numberOfPeriods} ${c.transactionList.monthsSuffix} - (${f.formatZeniDate(s.startDate,c.dateFormat.visual.MMMYYYYFormat,t)} - ${f.formatZeniDate(s.endDate,c.dateFormat.visual.MMMYYYYFormat,t)})`;const M=
|
|
18
|
+
`;function C({firstMonthOfFY:t,isLoadNextItem:o,isLoading:d,timePeriod:a,fixedTimePeriod:r,timeframe:m,doLoadMoreTransactions:x}){let s=a;if(o)if(r!=null){const b=f.addPeriod(a.endDate.startOf("month"),t,r.numberOfPeriods,r.timeframe);s={startDate:s.endDate.add(1,"day"),endDate:b}}else{const b=f.addPeriod(a.endDate.startOf("month"),t,1,m),{startOfTimeframeFY:p,endOfTimeframeFY:w}=f.getStartOfAndEndOfTimeframeForFY(b,t,m);s={startDate:p,endDate:w}}else if(r!=null)s={startDate:f.subtractPeriod(a.startDate.startOf("month"),t,r.numberOfPeriods,r.timeframe),endDate:a.startDate.subtract(1,"day")};else{const b=f.subtractPeriod(a.startDate.startOf("month"),t,1,m),{startOfTimeframeFY:p,endOfTimeframeFY:w}=f.getStartOfAndEndOfTimeframeForFY(b,t,m);s={startDate:p,endDate:w}}const c=y.getLocalizedStrings();let u="";r==null?m==="month"?u=`${o===!0?c.transactionList.loadNextMonthPrefix:c.transactionList.loadPreviousMonthPrefix} (${f.formatZeniDate(s.startDate,c.dateFormat.visual.MMMYYYYFormat,t)})`:m==="quarter"?u=`${o===!0?c.transactionList.loadNextQuarterPrefix:c.transactionList.loadPreviousQuarterPrefix} (${c.transactionList.quarterPrefix}${f.formatZeniDate(s.startDate,c.dateFormat.visual.QYYYYformat,t)})`:u=`${o===!0?c.transactionList.loadNextYearPrefix:c.transactionList.loadPreviousYearPrefix} (${f.formatZeniDate(s.startDate,c.dateFormat.visual.YYYYformat,t)})`:u=`${o===!0?c.transactionList.loadNextMonthPrefix:c.transactionList.loadPreviousPrefix} ${r.numberOfPeriods} ${c.transactionList.monthsSuffix} - (${f.formatZeniDate(s.startDate,c.dateFormat.visual.MMMYYYYFormat,t)} - ${f.formatZeniDate(s.endDate,c.dateFormat.visual.MMMYYYYFormat,t)})`;const M=O();return d===!0?e.jsx(A,{windowSize:M,isLoadNextItem:o,children:e.jsx(dt,{size:"Small",start:!0})}):e.jsx(A,{windowSize:M,isLoadNextItem:o,children:e.jsx(xt,{"data-testid":h("load-more-transactions",u),onClick:()=>{x?.(s,m)},children:u})})}C.displayName="LoadMoreTransactions";const{common:{strings:{empty:H}}}=y.getLocalizedStrings(),ht=n(ct)`
|
|
19
19
|
display: -webkit-box;
|
|
20
20
|
-webkit-box-orient: vertical;
|
|
21
21
|
-webkit-line-clamp: 1;
|
|
@@ -51,10 +51,10 @@ import{bC as et,X as N,j as e,ai as it,Y as h,db as at,M as y,dc as ot,d6 as rt,
|
|
|
51
51
|
-webkit-line-clamp: 1;
|
|
52
52
|
margin-left: ${i.sp3};
|
|
53
53
|
text-align: right;
|
|
54
|
-
width: ${t=>
|
|
54
|
+
width: ${t=>N.amountWidth.valuePx(t.windowSize)};
|
|
55
55
|
`,wt=n.div`
|
|
56
56
|
display: flex;
|
|
57
|
-
`;function $t({transaction:t,onItemClick:o}){const{description:d,typeName:a,amount:r,logo:m,vendorId:x}=t,s=f.isVendorTransaction(t)&&x==null;return e.jsxs(ut,{onClick:()=>o?.(t),"data-testid":h("transaction-item-medium",t.id),children:[e.jsx(Q,{photoUrl:s===!1?m?.toString()??H:H,styles:{width:i.sp4,height:i.sp4,borderRadius:i.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(wt,{children:e.jsx(V,{name:d,size:i.sp4})})}),e.jsxs(pt,{children:[e.jsx(gt,{children:d}),a!=null?e.jsx(ht,{className:"tag",children:a}):null]}),e.jsx(bt,{children:
|
|
57
|
+
`;function $t({transaction:t,onItemClick:o}){const{description:d,typeName:a,amount:r,logo:m,vendorId:x}=t,s=f.isVendorTransaction(t)&&x==null;return e.jsxs(ut,{onClick:()=>o?.(t),"data-testid":h("transaction-item-medium",t.id),children:[e.jsx(Q,{photoUrl:s===!1?m?.toString()??H:H,styles:{width:i.sp4,height:i.sp4,borderRadius:i.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(wt,{children:e.jsx(V,{name:d,size:i.sp4})})}),e.jsxs(pt,{children:[e.jsx(gt,{children:d}),a!=null?e.jsx(ht,{className:"tag",children:a}):null]}),e.jsx(bt,{children:W("0,0.00",r)})]})}function vt({data:t,boxType:o,onItemClick:d}){const a=f.toTransactionTypeStrict(t.type)==null,r=e.jsx($t,{transaction:t,onItemClick:a?void 0:d});return e.jsx(U,{content:r,boxType:o,isDisabled:a})}const{common:{strings:{empty:Z}}}=y.getLocalizedStrings(),yt=n.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
padding: ${i.sp3} ${i.sp4};
|
|
60
60
|
flex-direction: row;
|
|
@@ -77,10 +77,10 @@ import{bC as et,X as N,j as e,ai as it,Y as h,db as at,M as y,dc as ot,d6 as rt,
|
|
|
77
77
|
-webkit-line-clamp: 1;
|
|
78
78
|
margin-left: ${i.sp3};
|
|
79
79
|
text-align: right;
|
|
80
|
-
width: ${t=>
|
|
80
|
+
width: ${t=>N.amountWidth.valuePx(t.windowSize)};
|
|
81
81
|
`,Lt=n.div`
|
|
82
82
|
display: flex;
|
|
83
|
-
`;function Mt({transaction:t,onItemClick:o}){const{description:d,amount:a,logo:r,vendorId:m}=t,x=f.isVendorTransaction(t)&&m==null;return e.jsxs(yt,{onClick:()=>o?.(t),"data-testid":h("transaction-item-small",t.id),children:[e.jsx(Q,{photoUrl:x===!1?r?.toString()??Z:Z,styles:{width:i.sp4,height:i.sp4,borderRadius:i.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(Lt,{children:e.jsx(V,{name:d,size:i.sp4})})}),e.jsx(jt,{children:e.jsx(kt,{children:d})}),e.jsx(Yt,{children:
|
|
83
|
+
`;function Mt({transaction:t,onItemClick:o}){const{description:d,amount:a,logo:r,vendorId:m}=t,x=f.isVendorTransaction(t)&&m==null;return e.jsxs(yt,{onClick:()=>o?.(t),"data-testid":h("transaction-item-small",t.id),children:[e.jsx(Q,{photoUrl:x===!1?r?.toString()??Z:Z,styles:{width:i.sp4,height:i.sp4,borderRadius:i.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(Lt,{children:e.jsx(V,{name:d,size:i.sp4})})}),e.jsx(jt,{children:e.jsx(kt,{children:d})}),e.jsx(Yt,{children:W("0,0.00",a)})]})}function Pt({data:t,boxType:o,onItemClick:d}){const a=f.toTransactionTypeStrict(t.type)==null,r=e.jsx(Mt,{transaction:t,onItemClick:a?void 0:d});return e.jsx(U,{content:r,boxType:o,isDisabled:a})}function St(t){return O()==="small"?e.jsx(Pt,{...t}):e.jsx(vt,{...t})}const Dt=n.div`
|
|
84
84
|
display: flex;
|
|
85
85
|
flex: 1 1 auto;
|
|
86
86
|
flex-direction: column;
|
|
@@ -97,7 +97,7 @@ import{bC as et,X as N,j as e,ai as it,Y as h,db as at,M as y,dc as ot,d6 as rt,
|
|
|
97
97
|
display: flex;
|
|
98
98
|
flex-direction: column;
|
|
99
99
|
width: 100%;
|
|
100
|
-
`,It=(t,o)=>o.length===1?"roundedBox":t===0?"topRoundedBox":t===o.length-1?"bottomRoundedBox":"box",zt=t=>t*
|
|
100
|
+
`,It=(t,o)=>o.length===1?"roundedBox":t===0?"topRoundedBox":t===o.length-1?"bottomRoundedBox":"box",zt=t=>t*N.transactionItemHeight+45;function Ct({date:t,transactions:o,onItemClick:d}){const{dateFormat:a}=y.getLocalizedStrings();return e.jsxs(Tt,{"data-testid":h("transactions-group"),children:[e.jsx(Ft,{children:f.dateNow().year()===t.year()?t.format(a.visual.MMMDFormat):t.format(a.visual.MMMDCommaYYYYformat)}),e.jsx(Dt,{children:o.map((r,m)=>e.jsx(St,{data:r,boxType:It(m,o),onItemClick:x=>{d?.(x)},"data-testid":h("transaction-item",r.id)},m))})]})}const Ot=mt.memo(Ct),{dateFormat:Nt}=y.getLocalizedStrings();function Rt(t){const o=at(t,a=>a.date.format(Nt.visual.MMMDCommaYYYYformat)),d=ot(o,a=>a.length>0);return rt(d,a=>({date:a[0].date,transactions:nt(a,r=>r.updateTime,"desc")}))}const v=y.getLocalizedStrings(),Bt={listItemMargin:new q(g[3],g[8])},Et=n.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
flex: 1 1 auto;
|
|
103
103
|
width: 99.9%;
|
|
@@ -144,4 +144,4 @@ import{bC as et,X as N,j as e,ai as it,Y as h,db as at,M as y,dc as ot,d6 as rt,
|
|
|
144
144
|
border-radius: 2px;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
`,Jt=L.forwardRef(function({firstMonthOfFY:t,timeframe:o,timePeriod:d,transactions:a,currentScrollYOffset:r,componentName:m,showLoadNext:x,showLoadPrevious:s,onTransactionItemClick:c,onTransactionListScroll:u,onListInnerElementHeightChanged:M},b){const p=Rt(a),w=L.createRef();L.useEffect(()=>{w.current?.resetAfterIndex(0)},[a,w]);const G=b,k=L.useRef(null),[J,K]=L.useState(void 0);et({componentName:m});const X=()=>{if(k!=null&&typeof k=="object"&&k.current){const l=k.current;l!=null&&l.clientHeight>0&&l.clientHeight!=J&&(K(l.clientHeight),M?.(l.clientHeight))}},F=p.length===0,R=s!=null,T=x!=null,I=p.length+(x!=null?1:0)+(s!=null?1:0)+(F===!0?1:0),B=l=>T===!0?l-1:l,P=
|
|
147
|
+
`,Jt=L.forwardRef(function({firstMonthOfFY:t,timeframe:o,timePeriod:d,transactions:a,currentScrollYOffset:r,componentName:m,showLoadNext:x,showLoadPrevious:s,onTransactionItemClick:c,onTransactionListScroll:u,onListInnerElementHeightChanged:M},b){const p=Rt(a),w=L.createRef();L.useEffect(()=>{w.current?.resetAfterIndex(0)},[a,w]);const G=b,k=L.useRef(null),[J,K]=L.useState(void 0);et({componentName:m});const X=()=>{if(k!=null&&typeof k=="object"&&k.current){const l=k.current;l!=null&&l.clientHeight>0&&l.clientHeight!=J&&(K(l.clientHeight),M?.(l.clientHeight))}},F=p.length===0,R=s!=null,T=x!=null,I=p.length+(x!=null?1:0)+(s!=null?1:0)+(F===!0?1:0),B=l=>T===!0?l-1:l,P=O(),_=({index:l,style:$})=>T===!0&&l===0?e.jsx("div",{style:{...$},children:e.jsx(S,{windowSize:P,"data-testid":h("transaction-list","list-item-load-more"),children:e.jsx(C,{firstMonthOfFY:t,isLoadNextItem:!0,isLoading:x?.isLoading==!0,timePeriod:d,timeframe:o,fixedTimePeriod:x?.fixedTimePeriod,doLoadMoreTransactions:(Y,z)=>{x?.onLoadNextClick?.(Y,z)}})})}):R===!0&&l===I-1?e.jsx("div",{style:{...$},children:e.jsx(S,{windowSize:P,"data-testid":h("transaction-list","list-item-load-previous"),children:e.jsx(C,{firstMonthOfFY:t,isLoadNextItem:!1,isLoading:s?.isLoading==!0,timePeriod:d,fixedTimePeriod:s?.fixedTimePeriod,timeframe:o,doLoadMoreTransactions:(Y,z)=>{s?.onLoadPreviousClick?.(Y,z)}})})}):F===!1?e.jsx("div",{style:{...$},children:e.jsxs(S,{windowSize:P,children:[e.jsx(Ot,{...p[B(l)],onItemClick:c}),s==null?e.jsx(At,{}):null]})}):e.jsx("div",{style:{...$},children:e.jsx(Ht,{children:e.jsx(S,{windowSize:P,"data-testid":h("transaction-list","transactions-list-empty"),children:e.jsx(Zt,{children:Qt(d,x?.isLoading==!0||s?.isLoading==!0)})})})}),tt=l=>T===!0&&l===0?D(!0):R===!0&&l===I-1?D(!1):F===!1?zt(p[B(l)].transactions.length):D(!1);return e.jsx(Et,{children:e.jsx(it,{children:({height:l,width:$})=>e.jsx(qt,{"data-testid":h("transaction-list"),ref:w,height:l,width:$,innerRef:k,outerRef:G,onItemsRendered:X,itemCount:I,itemSize:tt,onScroll:({scrollOffset:Y})=>{u?.(Y)},initialScrollOffset:r??0,children:_})})})}),Qt=(t,o)=>o===!0?v.transactionList.fetching:t.startDate.isSame(t.endDate,"month")?`${v.transactionList.noTransactionsFoundForPrefix} (${t.startDate.format(v.dateFormat.visual.MMMYYFormat)})`:`${v.transactionList.noTransactionsFoundForPeriodPrefix} (${t.startDate.format(v.dateFormat.visual.MMMYYFormat)} - ${t.endDate.format(v.dateFormat.visual.MMMYYFormat)})`;export{Jt as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as a,X as R,
|
|
1
|
+
import{C as a,X as R,V as W,D as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as w,p as n,q as ae,g as B,o,Q as j,h as Q,aK as se,aL as le,v as de,Z as ce,_ as me,aM as pe,m as he,d as ue,K as Y,A as G,aN as X,a5 as ee}from"./index-C2JVdK9x.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-XGoMEJWB-ClZD8Pkf.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"./SummaryCard-Dm0Tx9is-BV25EA5P.js";import"./ReloadCard-DVYCtjFP-BRGDk89Q.js";import"./NavigationArrow-mL8dVddD-CApZjvsF.js";import"./NavigationDots-MPqPjbnr-gK408Eu4.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
cursor: default;
|
|
4
4
|
`,be=i.div`
|
|
@@ -157,7 +157,7 @@ import{C as a,X as R,w as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as
|
|
|
157
157
|
align-items: flex-end;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
justify-content: center;
|
|
160
|
-
`,_e=i(pe)``;function Ue({data:e,showStatementSection:b,analytics:p,isZeniUser:C,onItemClick:c,onSetAccountsStatementDate:h}){const{key:P,title:v,amount:r,logoUri:y}=e,$=W(),g=$.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess($.loggedInUserRole),m=R();return t.jsx(Te,{windowSize:m,children:t.jsx(He,{"data-testid":x("transaction-list-item-big",e.title),windowSize:m,showEditStatementIcon:D.hasAdminLevelAccess($.loggedInUserRole??[])&&C===!0,isClickEnabled:g,onClick:()=>g===!0?c?.(P,e.source):null,children:t.jsxs(Ie,{windowSize:m,children:[t.jsxs(Le,{windowSize:m,children:[t.jsx(Re,{windowSize:m,src:y,loading:"lazy"}),t.jsx(Me,{windowSize:m,children:v})]}),t.jsxs(Ee,{windowSize:m,children:[t.jsx(_e,{children:me("0,0",r)}),b&&m!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:C,onSetAccountsStatementDate:h,analytics:p})]})]})})})}const Fe=f.memo(Ue),A=w.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},M={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},
|
|
160
|
+
`,_e=i(pe)``;function Ue({data:e,showStatementSection:b,analytics:p,isZeniUser:C,onItemClick:c,onSetAccountsStatementDate:h}){const{key:P,title:v,amount:r,logoUri:y}=e,$=W(),g=$.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess($.loggedInUserRole),m=R();return t.jsx(Te,{windowSize:m,children:t.jsx(He,{"data-testid":x("transaction-list-item-big",e.title),windowSize:m,showEditStatementIcon:D.hasAdminLevelAccess($.loggedInUserRole??[])&&C===!0,isClickEnabled:g,onClick:()=>g===!0?c?.(P,e.source):null,children:t.jsxs(Ie,{windowSize:m,children:[t.jsxs(Le,{windowSize:m,children:[t.jsx(Re,{windowSize:m,src:y,loading:"lazy"}),t.jsx(Me,{windowSize:m,children:v})]}),t.jsxs(Ee,{windowSize:m,children:[t.jsx(_e,{children:me("0,0",r)}),b&&m!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:C,onSetAccountsStatementDate:h,analytics:p})]})]})})})}const Fe=f.memo(Ue),A=w.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},M={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},q=8,Ne=i.div`
|
|
161
161
|
display: flex;
|
|
162
162
|
flex: 1 1 auto;
|
|
163
163
|
flex-direction: column;
|
|
@@ -198,7 +198,7 @@ import{C as a,X as R,w as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as
|
|
|
198
198
|
scrollbar-width: thin;
|
|
199
199
|
scrollbar-color: transparent transparent;
|
|
200
200
|
&::-webkit-scrollbar {
|
|
201
|
-
width: ${
|
|
201
|
+
width: ${q}px;
|
|
202
202
|
height: ${o.sp0};
|
|
203
203
|
background-color: transparent;
|
|
204
204
|
}
|
|
@@ -214,7 +214,7 @@ import{C as a,X as R,w as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as
|
|
|
214
214
|
&:hover {
|
|
215
215
|
scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
|
|
216
216
|
&::-webkit-scrollbar {
|
|
217
|
-
width: ${
|
|
217
|
+
width: ${q}px;
|
|
218
218
|
height: ${o.sp0};
|
|
219
219
|
background-color: transparent;
|
|
220
220
|
}
|
|
@@ -223,7 +223,7 @@ import{C as a,X as R,w as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as
|
|
|
223
223
|
border-radius: 2px;
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
`,
|
|
226
|
+
`,qe=i.div`
|
|
227
227
|
position: relative;
|
|
228
228
|
padding: ${e=>l.promoBannerPadding.valuePx(e.size)};
|
|
229
229
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoBackgroundColor};
|
|
@@ -236,12 +236,12 @@ import{C as a,X as R,w as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as
|
|
|
236
236
|
box-sizing: border-box;
|
|
237
237
|
margin-bottom: ${e=>l.promoBannerMarginBottom.valuePx(e.size)};
|
|
238
238
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
239
|
-
`,
|
|
239
|
+
`,Qe=i.div`
|
|
240
240
|
display: flex;
|
|
241
241
|
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
242
242
|
align-items: ${e=>e.size==="small"?"flex-start":"center"};
|
|
243
243
|
gap: ${e=>l.promoBannerGap.valuePx(e.size)};
|
|
244
|
-
`,Xe=i(
|
|
244
|
+
`,Xe=i(Q)`
|
|
245
245
|
${e=>`${M.promoText.style(e.size)}`};
|
|
246
246
|
color: ${e=>e.theme.colors.zeniAccountsPromoDetailTextColor};
|
|
247
247
|
`,et=i.div`
|
|
@@ -271,7 +271,7 @@ import{C as a,X as R,w as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as
|
|
|
271
271
|
border: 1px solid
|
|
272
272
|
${e=>e.theme.colors.zeniAccountsPromoButtonHoverColor};
|
|
273
273
|
}
|
|
274
|
-
`,ot=i(
|
|
274
|
+
`,ot=i(Q)`
|
|
275
275
|
${e=>`${M.promoButtonText.style(e.size)}`};
|
|
276
276
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonTextColor};
|
|
277
277
|
`,it=i(se)`
|
|
@@ -281,4 +281,4 @@ import{C as a,X as R,w as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as
|
|
|
281
281
|
position: absolute;
|
|
282
282
|
bottom: ${e=>l.promoFooterPositionBottom.valuePx(e.size)};
|
|
283
283
|
right: ${e=>l.promoFooterPositionRight.valuePx(e.size)};
|
|
284
|
-
`,nt=({sectionTitle:e,totalFormatted:b})=>{const p=R();return t.jsx(We,{windowSize:p,children:t.jsxs(Oe,{windowSize:p,children:[t.jsx(Ye,{children:e}),t.jsx(Ge,{children:b})]})})};function yt({sectionTitle:e,analytics:b,transactionArray:p,isZeniUser:C,zeniAccountsPromoCardReport:c,onItemClick:h,onSetAccountsStatementDate:P,onPromoCardBtnClick:v}){const r=R(),y=N.createRef(),[$,g]=N.useState(0),m=W(),E=ie(p,function(u,S){return u+(S.amount?.amount??0)},0),T=p.length>0?p[0].amount?.currencySymbol:"",_=ne("0,0",E,T),H=({index:u,style:S})=>t.jsx("div",{style:{...S},children:t.jsx(Ke,{children:t.jsx(Ve,{windowSize:r,children:t.jsx(Fe,{data:p[u],showStatementSection:e===w.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:C,analytics:b,onItemClick:h,onSetAccountsStatementDate:P})})})}),I=N.useRef(null),U=()=>{const u=I.current;u!=null&&u.clientHeight>0&&u.clientHeight!=$&&g(u.clientHeight)},k=()=>{v?.(c?.depositAccountId??"")},L=D.hasZeniAccountsAdminLevelAccess(m.loggedInUserRoleMap);return t.jsxs(Ne,{windowSize:r,listHeight:$,"data-testid":x("transaction-list-big"),children:[t.jsx(nt,{sectionTitle:e,totalFormatted:_}),t.jsx(Ze,{children:t.jsx(re,{children:({height:u,width:S})=>t.jsxs(t.Fragment,{children:[c?.isShowDepositAccountsPromo===!0?t.jsxs(
|
|
284
|
+
`,nt=({sectionTitle:e,totalFormatted:b})=>{const p=R();return t.jsx(We,{windowSize:p,children:t.jsxs(Oe,{windowSize:p,children:[t.jsx(Ye,{children:e}),t.jsx(Ge,{children:b})]})})};function yt({sectionTitle:e,analytics:b,transactionArray:p,isZeniUser:C,zeniAccountsPromoCardReport:c,onItemClick:h,onSetAccountsStatementDate:P,onPromoCardBtnClick:v}){const r=R(),y=N.createRef(),[$,g]=N.useState(0),m=W(),E=ie(p,function(u,S){return u+(S.amount?.amount??0)},0),T=p.length>0?p[0].amount?.currencySymbol:"",_=ne("0,0",E,T),H=({index:u,style:S})=>t.jsx("div",{style:{...S},children:t.jsx(Ke,{children:t.jsx(Ve,{windowSize:r,children:t.jsx(Fe,{data:p[u],showStatementSection:e===w.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:C,analytics:b,onItemClick:h,onSetAccountsStatementDate:P})})})}),I=N.useRef(null),U=()=>{const u=I.current;u!=null&&u.clientHeight>0&&u.clientHeight!=$&&g(u.clientHeight)},k=()=>{v?.(c?.depositAccountId??"")},L=D.hasZeniAccountsAdminLevelAccess(m.loggedInUserRoleMap);return t.jsxs(Ne,{windowSize:r,listHeight:$,"data-testid":x("transaction-list-big"),children:[t.jsx(nt,{sectionTitle:e,totalFormatted:_}),t.jsx(Ze,{children:t.jsx(re,{children:({height:u,width:S})=>t.jsxs(t.Fragment,{children:[c?.isShowDepositAccountsPromo===!0?t.jsxs(qe,{width:S,size:r,children:[t.jsxs(Qe,{size:r,children:[t.jsx(Xe,{size:r,children:A.keepInterest.prefixCashBalance}),t.jsx(et,{size:r,children:xe("keepInterest",we(c.maxPossibleInterest??0))})]}),t.jsx(tt,{onClick:k,size:r,children:t.jsx(ot,{size:r,children:L?c.depositAccountId!=null?A.button:A.signUp:A.learnMore})}),t.jsx(it,{size:r,children:A.keepInterest.footer.replace(/<interest>/,c.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Je,{ref:y,height:u,width:S,style:{overflow:"unset"},itemCount:p.length,itemSize:De.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:U,itemKey:F=>p[F].key,innerRef:I,children:H})]})})})]})}export{yt as default,l as dimensions};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as z,aT as A,aU as M,j as o,Y as h,aV as q,
|
|
1
|
+
import{u as z,aT as A,aU as M,j as o,Y as h,aV as q,d as K,aW as U,o as n,s as V}from"./index-C2JVdK9x.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{d as W}from"./TransactionList-SkSPfIsE-CE8kQBAe.js";import{t as Z}from"./page-detail-CWX5S47F-B6DjZ3Gi.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"./BoxItem-Bf7JemSM-D8tvXCvN.js";import"./commonDimensions-CQlLUBWG-C3nTCVjo.js";const _=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
height: 100vh;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as
|
|
1
|
+
import{X as k,M as A,j as o,d as q,Y as L,a3 as W,o as a,C as g,a2 as Q,Q as K,cx as U,a as X,gw as F,gx as M,gy as R,c6 as Y,F as _,p as r,u as G,c9 as J,ga as z,gD as Z,al as ee,gH as oe,gI as te}from"./index-C2JVdK9x.js";import{b as I,n as d}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 D=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:h,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=k(),y=G(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(B=>B.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":L("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:h,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -20,7 +20,7 @@ import{X as H,M as A,j as o,c as q,Y as D,a3 as W,o as a,C as g,a2 as Q,Q as K,c
|
|
|
20
20
|
background-color: ${e=>e.theme.colors.grey3};
|
|
21
21
|
min-height: 1px;
|
|
22
22
|
max-height: 1px;
|
|
23
|
-
`,V="vendorDetails",de=({id:e,allAccounts:c,allClasses:h,allOwners:t,selectedVendor:m,formLocalData:p,isDisabled:C,onSaveVendor:b,saveVendorDetailLocalData:v,accountsHierarchyList:u,classHierarchyList:f})=>{const x=X({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,f,t,p)}),[l,y]=
|
|
23
|
+
`,V="vendorDetails",de=({id:e,allAccounts:c,allClasses:h,allOwners:t,selectedVendor:m,formLocalData:p,isDisabled:C,onSaveVendor:b,saveVendorDetailLocalData:v,accountsHierarchyList:u,classHierarchyList:f})=>{const x=X({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,f,t,p)}),[l,y]=I.useState(!1),$=s=>{s.preventDefault(),x.getValues().vendorDetails.vendorName!==""&&l===!1&&b?.()},j=(s,S)=>{const n=ue(s,void 0);v?.(n)},P=async(s,S)=>{(s.includes("vendorName")||s.includes("vendorOwner")||s.includes("vendorClass")||s.includes("vendorCategory"))&&(j(S),l===!0&&s.includes("vendorName")&&y(!1))};return I.useEffect(()=>{const s=x.watch((S,{name:n})=>{n!=null&&S!=null&&Y(()=>P(n,S))});return()=>{s.unsubscribe()}}),I.useEffect(()=>{m.saveStatus.fetchState==="Error"&&m.saveStatus.error?.code===409&&y(!0)},[m.saveStatus]),o.jsx(_,{...x,children:o.jsx("form",{id:e,onSubmit:$,children:o.jsx(ne,{sectionId:V,selectedVendorDetails:m,isSaveError:l,selectedAccountId:p?.vendorCategory,selectedClassId:p?.vendorClass,selectedOwnerId:p?.vendorOwner,allAccounts:c??[],allClasses:h??[],selectedVendorName:p?.vendorName,allOwners:t,isDisabled:C,accountsHierarchyList:u,classHierarchyList:f})})})},ce=(e,c,h,t)=>({[V]:{vendorName:t?.vendorName??"",vendorOwner:{allOptions:R(h),selectedOption:t?.vendorOwner},vendorCategory:{allOptions:M(e),selectedOption:t?.vendorCategory},vendorClass:{allOptions:F(c),selectedOption:t?.vendorClass}}});function ue(e,c,h){const t=e?.[V];return{vendorCategory:t.vendorCategory.selectedOption,vendorClass:t.vendorClass.selectedOption,vendorId:c,vendorName:t.vendorName,vendorOwner:t.vendorOwner?.selectedOption}}const w={containerPaddingLeft:new g(r[3],r[3],r[6]),containerPaddingRight:new g(r[3],r[3],r[8]),containerMarginTop:new g(r[2],r[2],r[4]),navbarContainerPaddingTop:new g(r[3],r[3]),navbarContainerPaddingBottom:new g(r[3],r[3]),SectionTitleMarginTop:new g(0,r[3])},T={sectionTitle:new K("h6Regular","h5Medium"),sectionTitleLineHeight:new g(30,40)},pe=d.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex: 1 1 auto;
|
|
26
26
|
min-height: 100%;
|
|
@@ -77,4 +77,4 @@ import{X as H,M as A,j as o,c as q,Y as D,a3 as W,o as a,C as g,a2 as Q,Q as K,c
|
|
|
77
77
|
${e=>`${T.sectionTitle.style(e.windowSize)}`};
|
|
78
78
|
margin-left: ${e=>e.windowSize==="small"?a.sp3:0};
|
|
79
79
|
line-height: ${e=>T.sectionTitleLineHeight.valuePx(e.windowSize)};
|
|
80
|
-
`,E="vendorDetailPage",
|
|
80
|
+
`,E="vendorDetailPage",H=e=>`${e}_form`,je=({vendorDetailView:e,onSaveSuccess:c,onCancelClick:h,onSaveVendor:t,saveVendorDetailLocalData:m})=>{const{editVendorState:p,newVendorState:C,accountsHierarchyList:b,classHierarchyList:v}=e,u=k(),{footer:f,newVendor:x}=A.getLocalizedStrings().transactionDetail.vendorDetails.createVendor,l=Object.assign({},p??C);if(I.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&c?.()},[l]),e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return o.jsx(ve,{children:o.jsx(q,{size:"ExtraLarge",start:!0})});const y=l.saveStatus?.fetchState==="In-Progress";return o.jsxs(pe,{windowSize:u,"data-testid":L("transaction-vendor-detail-page"),children:[o.jsxs(me,{windowSize:u,children:[o.jsx(we,{children:o.jsx(fe,{onClick:h,"data-testid":L("close-icon")})}),o.jsx(xe,{windowSize:u,children:x})]}),o.jsx(ge,{children:o.jsx(he,{windowSize:u,"data-testid":L("vendor-detail-page-form"),children:o.jsx(de,{id:H(E),allAccounts:e.accountList.accounts,allClasses:e.classList.classes,allOwners:e.ownerList,selectedVendor:l,formLocalData:l.vendorDetailLocalData,onSaveVendor:t,saveVendorDetailLocalData:m,accountsHierarchyList:b,classHierarchyList:v})})}),o.jsx(W,{formId:H(E),primaryBtn:{label:f.save,isLoading:y},cancelBtn:{label:f.cancel,shouldResetOnCancel:!0,onClick:h}})]})};export{je as default,H as formUniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3 as we,o as a,C as c,a2 as Ye,k as st,an as ct,Z as dt,c0 as xe,v as $e,s as ue,a1 as pe,eX as ut,a as Ve,l as ft,c3 as pt,aa as mt,a0 as ht,g as G,F as Ne,f4 as Se,f5 as ve,fD as gt,bs as De,fy as wt,gY as xt,m as o,cW as $t,bH as Xe,bm as Dt,cz as bt,b4 as Tt,e as Ze,f0 as yt,dp as Ct,bo as qe,f7 as St,f9 as vt}from"./index-BEYLWYh7.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-BBQgQPfw-CW26dOpf.js";import{r as At}from"./AccountInfoPageContent-DtAZ50Qc-BeekofSV.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"./downloadPdf-C1cvLEsi-rU2eYPue.js";import"./commonDimensions-ZxGdYNGR-BLBlsCik.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Je=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:Je,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,Z]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&pt(()=>et(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Bt,{id:Ke(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Fe,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Be,{}),t.jsx(Fe,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Be,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Jt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
|
|
1
|
+
import{j as t,X as de,Y as A,gQ as it,M as I,_ as q,K as ye,g_ as lt,d as We,a3 as we,o as a,C as c,a2 as Ye,k as st,an as ct,Z as dt,c3 as xe,v as $e,s as ue,a1 as pe,eZ as ut,a as Ve,l as ft,c6 as pt,aa as mt,a0 as ht,g as K,F as Ne,f6 as Se,f7 as ve,fF as gt,bw as De,fA as wt,g$ as xt,p as o,cZ as $t,bK as Xe,bq as Dt,cC as bt,b4 as Tt,f as Ze,f2 as Ct,ds as yt,bs as qe,f9 as St,fb as vt}from"./index-C2JVdK9x.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-B8VFb2l--enqH4TrQ.js";import{r as At}from"./AccountInfoPageContent-CsHvwqHd-BlW8CgcU.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"./downloadPdf-CCJjnfCZ-ODxWAPRh.js";import"./commonDimensions-CQlLUBWG-C3nTCVjo.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ge="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ke="transferDetailPage",me=(e,n)=>`${e}.${n}`,Ue=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:C,setShowAnnualYieldEarned:y,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:U,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:J}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),Je=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:He,onExit:Je}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,Z]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};U(se)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(C(!0),y(!0)):y(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:F})=>{F!=null&&h!=null&&pt(()=>et(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),J())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ce=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Bt,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:K.heroLight}})})]})}):null,t.jsx(Wt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Ft,{id:Ue(Ke),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Fe,{}),t.jsx(Be,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Fe,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ge),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Ce).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Ut,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ce)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>C(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>C(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Jt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -7,17 +7,17 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
7
7
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
8
8
|
border-radius: ${a.sp2};
|
|
9
9
|
box-shadow: ${e=>`${a.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
10
|
-
`,
|
|
10
|
+
`,Ft=r.form`
|
|
11
11
|
display: flex;
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
justify-content: center;
|
|
14
14
|
align-items: center;
|
|
15
|
-
`,
|
|
15
|
+
`,Bt=r.div`
|
|
16
16
|
display: flex;
|
|
17
17
|
width: 100%;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding: ${a.sp3} ${a.sp4};
|
|
20
|
-
background-color: ${
|
|
20
|
+
background-color: ${K.importantLight};
|
|
21
21
|
border-radius: ${a.sp2};
|
|
22
22
|
`,Mt=r.div`
|
|
23
23
|
display: flex;
|
|
@@ -25,15 +25,15 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
25
25
|
`,Rt=r.div``,Et=r($t)`
|
|
26
26
|
width: ${a.sp4};
|
|
27
27
|
height: ${a.sp4};
|
|
28
|
-
color: ${
|
|
28
|
+
color: ${K.important};
|
|
29
29
|
`,It=r.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
margin-left: ${a.sp2};
|
|
33
33
|
`,Ot=r(Xe)`
|
|
34
|
-
color: ${
|
|
34
|
+
color: ${K.important};
|
|
35
35
|
`,_t=r(ue)`
|
|
36
|
-
color: ${
|
|
36
|
+
color: ${K.important};
|
|
37
37
|
`,Wt=r(Dt)`
|
|
38
38
|
color: ${e=>e.theme.colors.primary};
|
|
39
39
|
margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
|
|
@@ -56,7 +56,7 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
56
56
|
margin-top: ${a.sp3};
|
|
57
57
|
white-space: pre-line;
|
|
58
58
|
`,Le=r(Xe)`
|
|
59
|
-
color: ${
|
|
59
|
+
color: ${K.success};
|
|
60
60
|
white-space: nowrap;
|
|
61
61
|
`,Nt=r(Tt)`
|
|
62
62
|
width: ${a.sp3};
|
|
@@ -98,7 +98,7 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
98
98
|
color: ${e=>e.theme.colors.primary};
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
`,
|
|
101
|
+
`,Gt=r.div`
|
|
102
102
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
103
103
|
width: ${a.sp1};
|
|
104
104
|
height: ${a.sp1};
|
|
@@ -106,21 +106,21 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
106
106
|
margin: 0 ${a.sp2};
|
|
107
107
|
background-color: ${e=>e.theme.colors.grey1};
|
|
108
108
|
border-radius: 50%;
|
|
109
|
-
`,
|
|
109
|
+
`,Kt=r.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
112
112
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
113
113
|
width: ${e=>e.windowSize==="small"?"100%":"unset"};
|
|
114
|
-
`,
|
|
114
|
+
`,Ut=r(Ze)`
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
116
|
-
`,
|
|
116
|
+
`,Ht=r(Ct)`
|
|
117
117
|
cursor: pointer;
|
|
118
118
|
width: 12px;
|
|
119
119
|
height: 12px;
|
|
120
120
|
min-width: 12px;
|
|
121
121
|
min-height: 12px;
|
|
122
122
|
color: ${e=>e.theme.colors.hero};
|
|
123
|
-
`,
|
|
123
|
+
`,Jt=r(yt)`
|
|
124
124
|
cursor: pointer;
|
|
125
125
|
width: 12px;
|
|
126
126
|
height: 12px;
|
|
@@ -135,13 +135,13 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
135
135
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
136
136
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
137
137
|
border-radius: ${a.sp2};
|
|
138
|
-
`,
|
|
138
|
+
`,Fe=r.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex: 1;
|
|
141
141
|
background-color: ${e=>e.theme.colors.grey3};
|
|
142
142
|
min-height: 1px;
|
|
143
143
|
max-height: 1px;
|
|
144
|
-
`,
|
|
144
|
+
`,Be=r.div`
|
|
145
145
|
display: flex;
|
|
146
146
|
flex-direction: row;
|
|
147
147
|
padding: ${a.sp2};
|
|
@@ -179,7 +179,7 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
179
179
|
&:hover {
|
|
180
180
|
color: ${e=>e.theme.colors.primary};
|
|
181
181
|
}
|
|
182
|
-
`,ne={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},D=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,aa=({transferDetails:e,isCalculatorOpen:n,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:T,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:
|
|
182
|
+
`,ne={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},D=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,aa=({transferDetails:e,isCalculatorOpen:n,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:T,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:C,onTransferClick:y,onDismissClick:S,onAnotherTransferClick:B,onEstablishConnectionClick:M,onBackClick:U,onFetchLinkTokenClick:R,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:H,setCurrentDrawerContent:J,clearReviewTransferDetail:i,onReviewClick:E,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:Y})=>{const x=de(),z=e.reviewTransferDetail,V=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",N=()=>e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0;return t.jsx(oa,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(Re,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Ee,{windowSize:x,children:t.jsx(Ie,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(sa,{windowSize:x,children:[t.jsx(it,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(ia,{children:V?t.jsxs(t.Fragment,{children:[D.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Me,{children:q("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[D.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(Me,{children:q("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:D.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(la,{windowSize:x,children:[t.jsx(ye,{variant:"secondary",label:D.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),Y(0),W(!1),v(0),j(!1),B()},style:{minWidth:200}}),t.jsx(ye,{variant:"primary",label:D.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):_?t.jsx(lt,{transferDetails:e,setCurrentDrawerContent:J,setShowReviewContent:H,onTransferClick:y,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Re,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Ee,{windowSize:x,children:t.jsx(Ie,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ca,{windowSize:x,children:D.transferDrawer.title}):t.jsx(da,{children:D.transferDrawer.title}),x==="small"?t.jsx(na,{children:D.transferDrawer.subTitle}):t.jsx(ra,{children:D.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(Lt,{isCalculatorOpen:n,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:T,totalBalance:w,onBackClick:U,onSaveChangesToLocalStore:C,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:R,onReviewClick:E,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:Y,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),N()?t.jsx(we,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ue(Ke),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:I.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:D.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},ra=r(ue)`
|
|
183
183
|
color: ${e=>e.theme.colors.hero};
|
|
184
184
|
`,na=r($e)`
|
|
185
185
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -241,10 +241,10 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
241
241
|
color: ${e=>e.theme.colors.primary};
|
|
242
242
|
margin-top: ${a.sp3};
|
|
243
243
|
margin-bottom: ${a.sp2};
|
|
244
|
-
`,
|
|
244
|
+
`,G={accountRowLeftRightPadding:new c(o[3],o[3]),zeniAccountListPaddingBottom:new c(o[3],o[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(o[3],o[6],o[8]),containerPaddingRight:new c(o[3],o[6],o[8])},Oe="wireTransferDetailPage",_e=e=>`${e}_form`,ua=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,he=I.getLocalizedStrings().common,fa=e=>t.jsx(ya,{color:St(e)}),pa=({depositAccountListView:e,setCurrentDrawerContent:n,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:T,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Ve({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=de();return u.useEffect(()=>{const l=d.watch(()=>{const C=e.depositAccounts.find(y=>y.id===d.getValues("selectedAccountId"));T(C)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx(wt,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ma,{windowSize:f,children:[t.jsx(Ta,{windowSize:f,children:t.jsx(De,{style:{marginTop:a.sp1},title:he.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(ba,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),n("achTransfer")}})})}),t.jsx(Ca,{windowSize:f,children:ua.selectYour}),t.jsx(Ne,{...d,children:t.jsx("form",{id:_e(Oe),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(Da,{windowSize:f,children:e.depositAccounts.map((l,C)=>t.jsx($a,{isClickEnabled:!0,windowSize:f,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(ha,{children:[t.jsx(xt,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),fa(C),t.jsxs(ga,{children:[t.jsx(xa,{windowSize:f,children:l.accountName}),t.jsx(wa,{children:q("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx(we,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:_e(Oe),cancelBtn:{label:he.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),n("achTransfer")},style:{width:93}},primaryBtn:{label:he.next,style:{width:93}}}):null]})},ma=r.div`
|
|
245
245
|
height: auto;
|
|
246
|
-
padding-left: ${e=>`${
|
|
247
|
-
padding-right: ${e=>`${
|
|
246
|
+
padding-left: ${e=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
247
|
+
padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
248
248
|
margin-bottom: auto;
|
|
249
249
|
`,ha=r.div`
|
|
250
250
|
display: flex;
|
|
@@ -267,8 +267,8 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
267
267
|
text-transform: capitalize;
|
|
268
268
|
overflow: hidden;
|
|
269
269
|
`,$a=r.div`
|
|
270
|
-
padding-left: ${e=>
|
|
271
|
-
padding-right: ${e=>
|
|
270
|
+
padding-left: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
|
|
271
|
+
padding-right: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
|
|
272
272
|
background: ${e=>e.theme.colors.grey5};
|
|
273
273
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
274
274
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal} `};
|
|
@@ -285,7 +285,7 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
285
285
|
color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
|
|
286
286
|
}
|
|
287
287
|
`,Da=r.div`
|
|
288
|
-
padding-bottom: ${e=>
|
|
288
|
+
padding-bottom: ${e=>G.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
|
|
289
289
|
`,ba=r(qe)`
|
|
290
290
|
cursor: pointer;
|
|
291
291
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -302,20 +302,20 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
302
302
|
align-items: center;
|
|
303
303
|
width: 100%;
|
|
304
304
|
top: ${a.sp0};
|
|
305
|
-
padding: ${e=>`${
|
|
305
|
+
padding: ${e=>`${G.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
|
|
306
306
|
z-index: 2;
|
|
307
307
|
background-color: ${e=>e.theme.colors.grey4};
|
|
308
|
-
`,
|
|
308
|
+
`,Ca=r(xe)`
|
|
309
309
|
color: ${e=>e.theme.colors.primary};
|
|
310
310
|
padding: ${a.sp3} ${a.sp0} ${a.sp5} ${a.sp0};
|
|
311
|
-
`,
|
|
311
|
+
`,ya=r(vt)`
|
|
312
312
|
min-width: ${a.sp5};
|
|
313
313
|
width: ${a.sp5};
|
|
314
314
|
height: ${a.sp5};
|
|
315
315
|
margin-right: ${a.sp2};
|
|
316
316
|
padding: 12px ${a.sp0};
|
|
317
317
|
box-sizing: content-box;
|
|
318
|
-
`,{common:{navBar:{back:Sa}}}=I.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},ge=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,va=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:T,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=de();return t.jsxs(t.Fragment,{children:[t.jsxs(Aa,{windowSize:l,children:[t.jsx(La,{windowSize:l,children:t.jsx(De,{title:Sa,enterDelay:600,placement:"bottom",children:t.jsx(Pa,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(
|
|
318
|
+
`,{common:{navBar:{back:Sa}}}=I.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},ge=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,va=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:T,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=de();return t.jsxs(t.Fragment,{children:[t.jsxs(Aa,{windowSize:l,children:[t.jsx(La,{windowSize:l,children:t.jsx(De,{title:Sa,enterDelay:600,placement:"bottom",children:t.jsx(Pa,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Fa,{windowSize:l,children:ge.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(ja,{windowSize:l,children:t.jsx(za,{children:ge.wireTransferDescriptionLine1})}),t.jsx(ka,{windowSize:l,children:t.jsx(At,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:T,depositAccount:g})})]}),t.jsx(we,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:ge.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},ka=r.div`
|
|
319
319
|
margin-left: ${e=>`${L.accountInfoPageWrapperMarginLeft.valuePx(e.windowSize)}`};
|
|
320
320
|
margin-right: ${e=>`${L.accountInfoPageWrapperMarginRight.valuePx(e.windowSize)}`};
|
|
321
321
|
margin-bottom: ${e=>`${L.accountInfoPageWrapperMarginBottom.valuePx(e.windowSize)}`};
|
|
@@ -348,15 +348,15 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3
|
|
|
348
348
|
margin-left: ${e=>L.descriptionMarginLeftRight.valuePx(e.windowSize)};
|
|
349
349
|
margin-right: ${e=>L.descriptionMarginLeftRight.valuePx(e.windowSize)};
|
|
350
350
|
margin-bottom: ${a.sp7};
|
|
351
|
-
`,za=r.div``,
|
|
351
|
+
`,za=r.div``,Fa=r(xe)`
|
|
352
352
|
color: ${e=>e.theme.colors.primary};
|
|
353
353
|
padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
|
|
354
354
|
margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
355
|
-
`,
|
|
355
|
+
`,Ba=({zeniAccountsConfigDetail:e,depositAccountListView:n,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:T,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[C,y]=u.useState(!1),[S,B]=u.useState(n.depositAccounts.find(M=>M.id===T));return C&&S!=null?t.jsx(va,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:y,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(pa,{depositAccountListView:n,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:y,setSelectedAccount:B,fireTrackTransferBetweenAccountsFormClicked:f})},Ka=({transferDetails:e,zeniAccountsConfigDetail:n,depositAccountListView:g,maxInsuredAmount:$,currentTenant:T,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:C,setCurrentDrawerContent:y,setShowReviewContent:S,onSaveChangesToLocalStore:B,onTransferClick:M,onReviewClick:U,onDismissClick:R,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:H,clearReviewTransferDetail:J,onFetchLinkTokenClick:i,plaidConnectionDetails:E})=>{const[W,j]=u.useState(!1),[m,v]=u.useState(!1),[Y,x]=u.useState(0),[z,V]=u.useState(0),[N,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>C.trackTransferBetweenAccountsFormClicked(ee,ie,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>n.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(aa,{transferDetails:e,isCalculatorOpen:W,showAnnualYieldEarned:m,transferAmount:Y,yieldEarned:z,totalBalance:N,zeniAccountsConfigDetail:n,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:B,onTransferClick:M,onDismissClick:R,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:H,onFetchLinkTokenClick:i,plaidConnectionDetails:E,setCurrentDrawerContent:y,clearReviewTransferDetail:J,onReviewClick:U,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:V,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ba,{zeniAccountsConfigDetail:n,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:T,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:y,onDismissClick:R})};return t.jsx(Ma,{children:oe()})},Ma=r.div`
|
|
356
356
|
display: flex;
|
|
357
357
|
flex-direction: column;
|
|
358
358
|
background-color: ${e=>e.theme.colors.grey4};
|
|
359
359
|
overflow-x: hidden;
|
|
360
360
|
height: 100%;
|
|
361
361
|
width: 100%;
|
|
362
|
-
`;export{
|
|
362
|
+
`;export{Ka as default};
|