@zeniai/web-cockpit-ui 1.13.95-dev → 1.13.96-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-CTeCxcke-DEZ1DdXH.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
- package/dist/assets/{AIPerformancePage-DHndW6Jx-BmfxnNcs.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +18 -18
- package/dist/assets/{AccountInfoPage-DX6r16Bm-C_0exxSE.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DuUO6Fmo-ChKBTH6K.js → AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js} +19 -19
- package/dist/assets/{AccountReconDetailsDrawerPage-XjxpxHaM-BlVBZ7kJ.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +13 -13
- package/dist/assets/{AccountRow-BUDNnxLp-lnjPiXai.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +9 -9
- package/dist/assets/{AccountsPromoCardStack-BkYuVRiC-CxxRy5F_.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +9 -9
- package/dist/assets/{AddAddressForCardDrawer-CaKymF5H-Dj9EwadM.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +1 -1
- package/dist/assets/{AddToWalletPage-CO_ranRc-Y0gvdbgy.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +7 -7
- package/dist/assets/{AgingReportsPage-CmvGohzQ-CnwGJP78.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +4 -4
- package/dist/assets/{AllUserItems-Bcd_lx2s-D5cL7TJF.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +9 -9
- package/dist/assets/{ApAgingDetailPage-B6h9L4qX-C7HrCT0Q.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
- package/dist/assets/{AppBasePage-bPmQIx1U-LDUbxoeo.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
- package/dist/assets/{AppDrawerContent-D4e_1ju1-Dhj_wy1v.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-D7d0RwUR-D1d_wH6A.js → ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js} +1 -1
- package/dist/assets/{ArAgingChart-CfBXj53W-SUndSl9y.js → ArAgingChart-D-Z3jfGt-DS-oqmcQ.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-D-HZa9vX-DvZl4P3_.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
- package/dist/assets/{AttachmentView-BF2v7v3I-BI4HJynu.js → AttachmentView-wIV1i6gf-__2UovKF.js} +1 -1
- package/dist/assets/{BankAccountSection-Cm_J2y31-CDMRL_3y.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BnsmtuKk-DP1_s4k_.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BawBUQ6M-CMfekVh9.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +41 -41
- package/dist/assets/{BillDetailPage-DFHM1n3a-CZEScqpR.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-PGRG0N6y-BxcnUNyI.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-ByawtRCM-DDp-vV61.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
- package/dist/assets/{BillPayPromoPage-BvA5aJV2-CaYtY57T.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
- package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
- package/dist/assets/{BillingSettingsPage-C0c3igP5-ap-9LOcf.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-ChobILB2-GJEoEUgd.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
- package/dist/assets/{BoxItem-qV71vsVl-DibKZa0V.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CYL-J6jv-Dor_XGL3.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +12 -12
- package/dist/assets/{CardNumberSubText-BkMaMdcB-ChxBB6AF.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
- package/dist/assets/{CashbackDetailPage-Bkvu7uCA-BYpe0YrA.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-B8JhA6aM-0cEMZGgL.js → ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js} +30 -30
- package/dist/assets/{ChargeCardListPage-DayFsVdx-7umY7GOL.js → ChargeCardListPage-rY7_MoJ5-CzPbszY2.js} +15 -15
- package/dist/assets/{ChargeCardListTable-Ck15ShIF-B2Jd56oy.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +24 -24
- package/dist/assets/{ChargeCardPromoPage-ZvHc9uZ8-BCAw2lta.js → ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js} +6 -6
- package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-DlFimewo-dsUOLazz.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +4 -4
- package/dist/assets/{ChargeCardUtils-Buf1Xa4X-CfiY3Rp3.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
- package/dist/assets/{ChaseOverlay-Cp5-sc7K-q-w46Qrq.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +7 -7
- package/dist/assets/{CheckDepositDrawerPage-ClJh5smc-CaqzSYGu.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CKu2AawV-BR9Jh8-F.js → CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js} +59 -59
- package/dist/assets/{CompanyOfficerDetailsSection-CHi8zT6M-2vvUSfpo.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +37 -37
- package/dist/assets/{CompanyPassportCard-DW8AIAcy-ChQaVIG_.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +1 -1
- package/dist/assets/{CompanyPassportPage-CG1U8xfQ-z31zr_09.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +35 -35
- package/dist/assets/{CompleteProfile-Lnfcm8Mq-A9UckRww.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
- package/dist/assets/{ConfettiBurst-Ca6cfnuf-0CP5GWxx.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BuBYOkXS-C5Z5SPL2.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +9 -9
- package/dist/assets/{CreditCardPaymentDrawerPage-8d6cEGBi-DeW_T_vn.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +13 -13
- package/dist/assets/{CreditCardPaymentPlgSection-B9DUkdWm-rJN3aibi.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +6 -6
- package/dist/assets/{CurrencySelectField-BUtL_oMC-vjfdBgAC.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BZIt8djd-6s7QTCQc.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-n8n9mzuh-1Pj7fv61.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-f_PloOrf-B7YeJUhG.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +8 -8
- package/dist/assets/{CustomerOnboardingPage-B_vGVChf-BBpgC_P8.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-hXloSEH1-tV_sIlVM.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
- package/dist/assets/{Dashboard-DN58fmab-BSfq0dju.js → Dashboard-CsuzQbH0-B5Hgiilv.js} +229 -228
- package/dist/assets/{DashboardReportPage-DIx6h5UA-DE9i6tXD.js → DashboardReportPage-BCkrfj3P-CIFdRg6l.js} +15 -15
- package/dist/assets/{DepositAccTransactionItem-DNv9nV2t-sabH0i0g.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-CWEabc_8-D6J4mdt4.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +2 -2
- package/dist/assets/{DocumentSecurityBanner-B6VGrs_d-jwQl4fBm.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BYIbT0cd-MsB82_Nr.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
- package/dist/assets/{DownloadOverlay-RhRX-Goq-0pJzo8tq.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +7 -7
- package/dist/assets/{DrawerPage-C01myF5D-L_T-Mi_O.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +6 -6
- package/dist/assets/{EditPeoplePage-BMm08q5E-B2z1Cy4i.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +12 -12
- package/dist/assets/{EditReimbursementDetailPage-C5FnQpPh-sK_g6wjY.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +27 -27
- package/dist/assets/{EntityDetailPage-BkpeRVR1-B6XILqHa.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
- package/dist/assets/{EntitySummarySection-DpxcfRng-Umu6Fw_D.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-BJ1ba0Oz-BAbt9eHm.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-C7GKFlgt-B1fB3w-U.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +1 -1
- package/dist/assets/{ExpressPayPage-pgy9CEaP-C4tOK1_E.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Bpnn3Eao-DWGadm42.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +1 -1
- package/dist/assets/{FollowStepsSection-D4Do4Mtd-Bgez_ajJ.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D_50hOfK-D74gQQCX.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +9 -9
- package/dist/assets/{HelpButton-BBLa-U8R-5BfdLJDT.js → HelpButton-Dv3nbc1Z-CHaoZd0g.js} +1 -1
- package/dist/assets/{InformationCardStack-CNCEEO1z-BPT-WizN.js → InformationCardStack-BALkGk48-BWmXScs3.js} +1 -1
- package/dist/assets/{InsightsCardStack-BangbyzX-C-dfE00z.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +2 -2
- package/dist/assets/{InsightsSection-DNfDisn9-CMHRFpDc.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-ColuS6Tk-CdBeqhKb.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-BG4x1tCL-5AAkqkwh.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +12 -12
- package/dist/assets/{InternationalWireVerificationPage-B22ThS6Q-B85Ehc7_.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +11 -11
- package/dist/assets/{InviteFormPage-Cixm85d1-N6lcykk5.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +6 -6
- package/dist/assets/{InvitePageListView-DBcwM1lk-DLgO5vEV.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +27 -27
- package/dist/assets/{InvitePeoplePage-DIq28HlK-DxgsZvQF.js → InvitePeoplePage-DaN4NSHW-CydccedW.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-D5vmrKLq-CaJvqPBS.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-DjW6ZTWB-DVAoNzJY.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +29 -29
- package/dist/assets/{LabeledAddressValue-CDidTB7_-BYCZE34N.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CVVc36IB-mrR3y5nG.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-CGN805d2-BvA9NcSn.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-PunIRbD6-DSy2bCTv.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +7 -7
- package/dist/assets/{LabeledDocumentField-DgGIyJH_-hDHBkxrT.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BDVtmFqG-j2xXgXWn.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
- package/dist/assets/{LabeledText-BW7VKf6E-PGkPpMVO.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Cmc8qo-r-M7EEhfxE.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-Cl6BAapU-DdwZAoZU.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +15 -15
- package/dist/assets/{LinkJETransactionPage-CtYsRhte-gAytw1dS.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +2 -2
- package/dist/assets/{LowBalancePopup-C_c9t4ho-r8GHfwbA.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-KZmNuH71-eLFzvgps.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DCkibDQs-DjBoqAab.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CR1BJE-p-BVc964tl.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D9VscY-N-BvVpg8o7.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DwxRtyUO-Dj3CNxLB.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +1 -1
- package/dist/assets/{MailingDetailsSection-B3AtsI4y-Cg3vKD8Z.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-5ibEhgcm-p1sBC8Am.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +1 -1
- package/dist/assets/{Menu-B3jEZq8P-CBWyxFfA.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-BLqGgTGR-DFR7-MdN.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-GXGFSZqe-DQBMtuje.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CwBD0rUF-Bso1ueKy.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +6 -6
- package/dist/assets/{NavBarWithPicker-wTsy1SAG-B0aq1ozI.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +2 -2
- package/dist/assets/{NavigationArrow-PxVotVGU-BN6LQQ8z.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +5 -5
- package/dist/assets/{NavigationDots-BhLlf9IS-Cc6rFgNx.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BnXD_AkF-7b5iQIvJ.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +4 -4
- package/dist/assets/{NoDataChart-DLfKZ9J--1T9pg2HM.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
- package/dist/assets/{NoDataTable-BRKuhxS0-sx0oHeyw.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
- package/dist/assets/{NotFoundPage-BD417YGL-rToNH_nB.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-Mb9ed249-CQss7Tea.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +28 -28
- package/dist/assets/{NotificationsListConfig-CISUs4yA-Up6zrNe0.js → NotificationsListConfig-BL_MxKXF-CvqrsVs-.js} +1 -1
- package/dist/assets/{NotificationsPage-WTGOES7C-D5gXR2ud.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +1 -1
- package/dist/assets/{OpExByVendorPage-D4Ur1QRV-CtpvGOvR.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-DLDjA1WL.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DSvdGyym-C1hZzOpv.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +9 -9
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bs8f-d_P-BeYSvOrY.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +7 -7
- package/dist/assets/{PeoplePage-ByFdUCgV-C-dQ5ifc.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +17 -17
- package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
- package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
- package/dist/assets/{ProductsCarousel-6mui8g8D-BXwmVYBD.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +5 -5
- package/dist/assets/{PromoBaseCards-CASb_Nf9-BmTbWgM7.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-AF50P_eR-DhzipR7w.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +5 -5
- package/dist/assets/{QBOSetupSection-hObNFdKz-3XFNnwv5.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-NuprN06r-BkFlu4jO.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DP8frTz1-BIghkZwb.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-B9F6pND6-DNevCo1s.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +3 -3
- package/dist/assets/{ReimbursementPromoPage-CUNbpcAP-BJXAeXWj.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CafTodEa-vUUwSS79.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
- package/dist/assets/{ReloadCard-aQ5Ma2ne-srF7XfGP.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CjZe9dc3-B94C9OUt.js → ReportTableViewSelector-D7B88kS6-BrGIUsj4.js} +9 -9
- package/dist/assets/{ReportsPage-PDTasuAQ-CD592IPM.js → ReportsPage-BzMzH-I3-BKZoRCt6.js} +5 -5
- package/dist/assets/{RevenueChart-CJYsWcyb-COXSVzci.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-47Qg28PV-DD0ehHxI.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +8 -8
- package/dist/assets/{ReviewOverlay-DvYSZ8u9-D1sec7oa.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DoD_vW-E-xeMdlQFI.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMX7jbBN-B126g4bO.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CNtV2SVn-Ddz0O5ah.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CMrsG_y3-ZI5_od4y.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +14 -14
- package/dist/assets/{ScreenRoutes-Xqggk2Tm.js → ScreenRoutes-iE9-v0dJ.js} +1 -1
- package/dist/assets/{SetUpAccountSection-D3nUQAk8-DKZLa9Zq.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +12 -12
- package/dist/assets/{SetUpDefaultSection-C2MgZHUf-x0_RVnLC.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +5 -5
- package/dist/assets/{SignIn-Bud28HbX-Xl-uNzmG.js → SignIn-BC8yop4g-CznicFTu.js} +19 -19
- package/dist/assets/{SignInScreen-BV0zmhf7.js → SignInScreen-k0dvslKE.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B8R0PEMD-BbaRv050.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CTdgMCHu-CAOhzan7.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +30 -30
- package/dist/assets/{SpendManagementSection-CnD0V00y-Dmq0cMig.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +1 -1
- package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
- package/dist/assets/StatementItem-CKTGWEW_-d6SqxmfH.js +31 -0
- package/dist/assets/StatementsPage-CjR4AlPy-BQRlcz37.js +58 -0
- package/dist/assets/{StatusSwitcher-CxbcO6mR-C4PCbece.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +2 -2
- package/dist/assets/{SubTabSwitcher-mCKmnU9--jUtM0Bft.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
- package/dist/assets/{SummaryCard-BoA0mdbI-C3rDEBSG.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
- package/dist/assets/{TaskManagementPage-CbSLSOpI-BFGgqlJt.js → TaskManagementPage-Oct77yO--igT2quo0.js} +18 -18
- package/dist/assets/{TimeRangeSwitcher-DIszv8B4-D-1vIZUO.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-C8tn7HgF-Db6tSjO9.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DqvG5zv2-DqYusAPI.js → TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js} +1 -1
- package/dist/assets/{TopExCard-B2pg-xWB-DR721esp.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +1 -1
- package/dist/assets/{TopExDetailPage-Ch-SwhrE-C3B3fW9M.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
- package/dist/assets/{TransactionDetailPage-4ehnnMwj-CxGtpuw5.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +23 -23
- package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
- package/dist/assets/{TransactionListBig-YrccrGWK-DQRVfhmg.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +6 -6
- package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DIvXenmH-BygJi1pY.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +1 -1
- package/dist/assets/{TransferDrawerPage-CK9V-5BR-DZ9c1lfC.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +12 -12
- package/dist/assets/{TreasuryOverviewPage-Dhm7htH5-BUj5D_CB.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-CiE4S4u6-qiSczFzX.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +11 -11
- package/dist/assets/{TreasurySetupPage-WygAmXcw-WQiA9bVD.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-zycSYzUL-CE8VEsG8.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-l_CSMKSV-CFFwa7b-.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-CkHJE0PT-CVfr6xd-.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +82 -82
- package/dist/assets/{TrendChart-Buu-BMJt-1SixfBeO.js → TrendChart-D3_4i3qH-wYUerKRk.js} +1 -1
- package/dist/assets/{TrendWithTransactions-C6sLZFPh-CJcdwvxU.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-Ct1KSgHe-BkPn1VDr.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-DeG7GwFV-BTOJ5_nM.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-BBEBrd1k-C8YmGx6j.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-B2qGbIlK-CbqUscDE.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CIb3Lffi-IjDSrk-_.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
- package/dist/assets/{VendorDetailPage-DrZlWYNf-CitGu9Ha.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +12 -12
- package/dist/assets/{VendorDomesticWireDetailsPage-BGfsxhx5-BBlyKElB.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DpYIPFDo-Cny4xMig.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-JJMuxJAj-CEkUZQNo.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +68 -68
- package/dist/assets/{VendorInternationalWireDetailsPage-B7IVMovj-B5VUl76d.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C7y7HA0_-iAtQaOvZ.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CKizD1gN-BJJ_j-nc.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-REjc7j42-TgqIuesy.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-BYQt_cqt-B9TUZXOz.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +21 -21
- package/dist/assets/{ZeniAccountListViewPage-DPLQmd2c-BJzMmpCX.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +16 -16
- package/dist/assets/{ZeniAccountNavBarPieces-CB_hOCVm-Dgt-KBoE.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DjbDqqNB-DbFXyEm9.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +15 -15
- package/dist/assets/{ZeniAccountSetupPage-BKgmStQ8-DvOkzvTm.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +4 -4
- package/dist/assets/{ZeniCopyright-gnzM8wV--B3wiitHw.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-D5uBFeau-CCzhbeOi.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
- package/dist/assets/{analyticsHelper-g-8qlEdt.js → analyticsHelper-BbcCIpO1.js} +1 -1
- package/dist/assets/{analyticsHelper-Cdzg4Zjw-BD3QBCs9.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
- package/dist/assets/{chartTypes-BTdgphvt-COUgSR4v.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
- package/dist/assets/{commonDimensions-Ctzi29iY-mgtHXo4p.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
- package/dist/assets/{detailCommon-SwpJm2mb--HDCa1ev.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +8 -8
- package/dist/assets/{downloadPdf-YcATpN2g-D3XIUalG.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
- package/dist/assets/{index-QTXYT_IZ.js → index-DyBH5SZv.js} +1148 -1164
- package/dist/assets/{mapLoadingInProgressToTreeNode-C8MSAhen-AfMjxweq.js → mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C0LfGztS-DTztJDdH.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BBfTCdRQ-bgZlN15f.js → mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DcljRs6K-orb0-qTl.js → mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-ClOTGsb4-B5ylNJVM.js → mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BL3c3wFj-BCJhDRyN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js} +1 -1
- package/dist/assets/{play-icon-DaxUpyZT-ss_3TDIT.js → play-icon-D3OSczih-8eMagn70.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-Vfz3d1qt-Dmwd2xoZ.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
- package/dist/assets/{toChartData-CiTmOVzN-DBayRNk7.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BbkDcDKI-pPmAbCLc.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
- package/dist/assets/{uploadAttachment-BLQvpBKI-CHSynwi0.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +1 -1
- package/dist/assets/{uploadReceipts-Buvz7DfG-D7H47NIP.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/BillPaySetUpPage-D4dtDoPF-pJA12_gD.js +0 -42
- package/dist/assets/ChargeCardSetupPage-QROShfxq-C4kf_hhx.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-DLE82ybr-CRS91glj.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-BY5JJCu--Db_AJDDA.js +0 -207
- package/dist/assets/PortfolioDetails-Du2wncho-DR6hA4On.js +0 -218
- package/dist/assets/ReimbursementSetUpPage-ihfYAhDw-BJyrWltl.js +0 -140
- package/dist/assets/SpendMgmtSetupAccountSection-D7LHyfpa-46XD5tWn.js +0 -206
- package/dist/assets/StatementItem-Dn796WZD-1Rb-SXfR.js +0 -31
- package/dist/assets/StatementsPage-L75Co_mK-C_J6xieF.js +0 -58
- package/dist/assets/TransactionList-Bds8YVxl-eo-qwfAU.js +0 -147
- package/dist/assets/TransactionListPage-EBZJJ3Bb-C5h_p4zd.js +0 -35
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
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,dd as nt,o as i,g as E,bT as st,C as q,l as f,c as dt,q as j,n as g,w as lt,de as Q,cs as V,_ as U,f as ct}from"./index-DyBH5SZv.js";import{b as L,n,f as mt}from"./vendor-CnQcJ2Lu.js";import{g as W}from"./BoxItem-DX1sag1G-C0OcCbod.js";import{o as O}from"./commonDimensions-DAvj4Il1-Chc9ZQai.js";const D=t=>t?24:125,ft={containerPaddingBottom:new q(g[9],g[8])},A=n.div`
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex: 1 1 auto;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: flex-end;
|
|
8
|
+
height: ${t=>D(t.isLoadNextItem)}px;
|
|
9
|
+
color: ${t=>t.theme.colors.grey1};
|
|
10
|
+
&:hover {
|
|
11
|
+
color: ${t=>t.theme.colors.champion};
|
|
12
|
+
}
|
|
13
|
+
padding-top: ${t=>t.isLoadNextItem?0:45}px;
|
|
14
|
+
padding-bottom: ${t=>ft.containerPaddingBottom.valuePx(t.windowSize)};
|
|
15
|
+
`,xt=n(j)`
|
|
16
|
+
display: flex;
|
|
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=N();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
|
+
display: -webkit-box;
|
|
20
|
+
-webkit-box-orient: vertical;
|
|
21
|
+
-webkit-line-clamp: 1;
|
|
22
|
+
margin-left: ${i.sp3};
|
|
23
|
+
padding: 1px 6px;
|
|
24
|
+
border: 1px solid ${t=>t.theme.colors.grey2};
|
|
25
|
+
border-radius: ${i.sp1};
|
|
26
|
+
color: ${t=>t.theme.colors.grey1};
|
|
27
|
+
min-width: max-content;
|
|
28
|
+
`,ut=n.div`
|
|
29
|
+
display: flex;
|
|
30
|
+
padding: ${i.sp3} ${i.sp4};
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
width: 100%;
|
|
33
|
+
`,pt=n.div`
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
align-items: center;
|
|
37
|
+
width: 100%;
|
|
38
|
+
`,gt=n(j)`
|
|
39
|
+
display: -webkit-box;
|
|
40
|
+
-webkit-box-orient: vertical;
|
|
41
|
+
-webkit-line-clamp: 1;
|
|
42
|
+
margin-left: ${i.sp3};
|
|
43
|
+
max-height: ${i.sp11};
|
|
44
|
+
text-overflow: ellipsis;
|
|
45
|
+
word-break: break-word;
|
|
46
|
+
text-align: left;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
`,bt=n(j)`
|
|
49
|
+
display: -webkit-box;
|
|
50
|
+
-webkit-box-orient: vertical;
|
|
51
|
+
-webkit-line-clamp: 1;
|
|
52
|
+
margin-left: ${i.sp3};
|
|
53
|
+
text-align: right;
|
|
54
|
+
width: ${t=>O.amountWidth.valuePx(t.windowSize)};
|
|
55
|
+
`,wt=n.div`
|
|
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:U("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(W,{content:r,boxType:o,isDisabled:a})}const{common:{strings:{empty:Z}}}=y.getLocalizedStrings(),yt=n.div`
|
|
58
|
+
display: flex;
|
|
59
|
+
padding: ${i.sp3} ${i.sp4};
|
|
60
|
+
flex-direction: row;
|
|
61
|
+
width: 100%;
|
|
62
|
+
`,jt=n.div`
|
|
63
|
+
width: 100%;
|
|
64
|
+
`,kt=n(j)`
|
|
65
|
+
display: -webkit-box;
|
|
66
|
+
-webkit-box-orient: vertical;
|
|
67
|
+
-webkit-line-clamp: 1;
|
|
68
|
+
margin-left: ${i.sp3};
|
|
69
|
+
max-height: ${i.sp11};
|
|
70
|
+
text-overflow: ellipsis;
|
|
71
|
+
word-break: break-word;
|
|
72
|
+
text-align: left;
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
`,Yt=n(j)`
|
|
75
|
+
display: -webkit-box;
|
|
76
|
+
-webkit-box-orient: vertical;
|
|
77
|
+
-webkit-line-clamp: 1;
|
|
78
|
+
margin-left: ${i.sp3};
|
|
79
|
+
text-align: right;
|
|
80
|
+
width: ${t=>O.amountWidth.valuePx(t.windowSize)};
|
|
81
|
+
`,Lt=n.div`
|
|
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:U("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(W,{content:r,boxType:o,isDisabled:a})}function St(t){return N()==="small"?e.jsx(Pt,{...t}):e.jsx(vt,{...t})}const Dt=n.div`
|
|
84
|
+
display: flex;
|
|
85
|
+
flex: 1 1 auto;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
box-shadow: ${t=>`${i.sp0} 2px ${i.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
88
|
+
border-radius: ${i.sp2};
|
|
89
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
90
|
+
`,Ft=n(lt)`
|
|
91
|
+
display: flex;
|
|
92
|
+
height: 21px;
|
|
93
|
+
margin-bottom: ${i.sp2};
|
|
94
|
+
margin-top: ${i.sp3};
|
|
95
|
+
color: ${t=>t.theme.colors.grey1};
|
|
96
|
+
`,Tt=n.div`
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
width: 100%;
|
|
100
|
+
`,It=(t,o)=>o.length===1?"roundedBox":t===0?"topRoundedBox":t===o.length-1?"bottomRoundedBox":"box",zt=t=>t*O.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 Nt=mt.memo(Ct),{dateFormat:Ot}=y.getLocalizedStrings();function Rt(t){const o=at(t,a=>a.date.format(Ot.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
|
+
display: flex;
|
|
102
|
+
flex: 1 1 auto;
|
|
103
|
+
width: 99.9%;
|
|
104
|
+
`,S=n.div`
|
|
105
|
+
margin: ${t=>`${i.sp0} ${Bt.listItemMargin.valuePx(t.windowSize)}`};
|
|
106
|
+
`,At=n.div`
|
|
107
|
+
min-height: ${i.sp8};
|
|
108
|
+
`,Ht=n.div`
|
|
109
|
+
display: flex;
|
|
110
|
+
height: 100%;
|
|
111
|
+
flex: 1 1 auto;
|
|
112
|
+
flex-direction: row;
|
|
113
|
+
justify-content: center;
|
|
114
|
+
align-items: flex-end;
|
|
115
|
+
`,Zt=n(j)`
|
|
116
|
+
display: flex;
|
|
117
|
+
color: ${t=>t.theme.colors.grey2};
|
|
118
|
+
`,qt=n(st)`
|
|
119
|
+
scrollbar-width: thin;
|
|
120
|
+
scrollbar-color: transparent transparent;
|
|
121
|
+
&::-webkit-scrollbar {
|
|
122
|
+
width: ${i.sp2};
|
|
123
|
+
height: ${i.sp0};
|
|
124
|
+
background-color: transparent;
|
|
125
|
+
}
|
|
126
|
+
&::-webkit-scrollbar-track {
|
|
127
|
+
box-shadow: inset 0 0 2px ${E.scrollbarBoxShadow};
|
|
128
|
+
-webkit-box-shadow: inset 0 0 2px ${E.scrollbarBoxShadow};
|
|
129
|
+
background-color: transparent;
|
|
130
|
+
}
|
|
131
|
+
&::-webkit-scrollbar-thumb {
|
|
132
|
+
background-color: transparent;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&:hover {
|
|
136
|
+
scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
|
|
137
|
+
&::-webkit-scrollbar {
|
|
138
|
+
width: ${i.sp2};
|
|
139
|
+
height: ${i.sp0};
|
|
140
|
+
background-color: transparent;
|
|
141
|
+
}
|
|
142
|
+
&::-webkit-scrollbar-thumb {
|
|
143
|
+
background-color: ${t=>t.theme.colors.grey1};
|
|
144
|
+
border-radius: 2px;
|
|
145
|
+
}
|
|
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=N(),_=({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(Nt,{...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
|
|
1
|
+
import{C as a,X as R,t as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as w,n,v as ae,g as B,o,Q as j,h as q,aK as se,aL as le,w as de,Z as ce,_ as me,aM as pe,m as he,c as ue,K as Y,D as G,aN as X,a5 as ee}from"./index-DyBH5SZv.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-1elvD1M0-GOX35w9m.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-XbFHvHx9-CTqdwSSS.js";import"./ReloadCard-BA_JCHcV-DL7NGQyj.js";import"./NavigationArrow-DlUdvmV7-iugv9ZVE.js";import"./NavigationDots-CFJt-T5J-B9PAzC5S.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`
|
|
@@ -97,7 +97,7 @@ import{C as a,X as L,t as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as
|
|
|
97
97
|
background: ${e=>e.theme.colors.background};
|
|
98
98
|
text-align: center;
|
|
99
99
|
border-radius: ${o.sp1};
|
|
100
|
-
`;function Ae({accountDetails:e,analytics:b,isZeniUser:p,onSetAccountsStatementDate:C}){const c=w.getLocalizedStrings().statementCloseDay.dropdown.option1,h=w.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,v]=f.useState(!1),r=e.statementCloseDay,[y,$]=f.useState(r!=="LAST_DAY_OF_THE_MONTH"?c:h),[g,m]=f.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[E,T]=f.useState(!1),_=f.useRef(r),H=W();f.useEffect(()=>{_.current!==r&&T(!1)},[r]);const I=s=>{D.hasAdminLevelAccess(H.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),v(!0),b.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},U=s=>{const d=["th","st","nd","rd"],O=s%100;return s+(d[(O-20)%10]||d[O]||d[0])};let k="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?k=w.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:k=`${w.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${U(r)} ${w.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const
|
|
100
|
+
`;function Ae({accountDetails:e,analytics:b,isZeniUser:p,onSetAccountsStatementDate:C}){const c=w.getLocalizedStrings().statementCloseDay.dropdown.option1,h=w.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,v]=f.useState(!1),r=e.statementCloseDay,[y,$]=f.useState(r!=="LAST_DAY_OF_THE_MONTH"?c:h),[g,m]=f.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[E,T]=f.useState(!1),_=f.useRef(r),H=W();f.useEffect(()=>{_.current!==r&&T(!1)},[r]);const I=s=>{D.hasAdminLevelAccess(H.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),v(!0),b.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},U=s=>{const d=["th","st","nd","rd"],O=s%100;return s+(d[(O-20)%10]||d[O]||d[0])};let k="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?k=w.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:k=`${w.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${U(r)} ${w.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const L=s=>{const d=s.target.value;d===h&&m(void 0),$(d)},u=(s,d)=>{s.stopPropagation(),m(d),$(c)},S=()=>{m(void 0),$(h)},F=()=>{const s=e.accountId,d=g??"LAST_DAY_OF_THE_MONTH";r!==d&&(T(!0),C?.(s,d)),v(!1),b.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",g!==void 0?`${g}`:"End")},te=()=>t.jsxs(J,{children:[w.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Pe,{children:g??" - "}),w.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),oe=()=>t.jsxs(ze,{role:"presentation","data-testid":x("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(V,{checked:y===c,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:c,value:c,onChange:L,checked:y===c,style:{width:"100%"},"data-testid":x("statement-close-day-input")}),te(),t.jsx(fe,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(Ce,{isSelectedDate:s===g,"data-testid":x("statement-close-day-text"),onClick:d=>u(d,s),children:t.jsx(ke,{children:s})},s))})]}),t.jsxs(V,{checked:y===h,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:h,value:h,onChange:L,checked:y===h,style:{width:"100%"},"data-testid":x("statement-close-day-input-last-day")}),t.jsx(J,{onClick:()=>S(),children:w.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(je,{children:[t.jsx(Y,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{v(!1)},style:{marginRight:o.sp3},"data-testid":x("statement-close-day-button-secondary")}),t.jsx(Y,{size:"small",variant:"primary",label:"Save",onClick:F,disabled:g==null&&y!==h,"data-testid":x("statement-close-day-button-primary")})]})]}),Z=R();return t.jsx(he,{onClickAway:()=>v(!1),children:t.jsxs("div",{onClick:I,"data-testid":x("statement-close-day-modal"),children:[E?t.jsx(ue,{size:"Small",start:!0}):k?t.jsxs(ye,{"data-testid":x("edit-statement-close-day"),children:[t.jsx(ve,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Z,children:k})]}):D.hasAdminLevelAccess(H.loggedInUserRole??[])&&p===!0?t.jsxs(be,{"data-testid":x("add-statement-close-day"),children:[t.jsx(Se,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Z,children:w.getLocalizedStrings().statementCloseDay.statement})]}):"",P?oe():""]})})}const De=new a(n[9],98),z={contentContainerPadding:new a(n[3],n[4]),minItemHeight:new a(n[9],96),imageHeight:new a(n[5],n[7]),imageWidth:new a(n[5],n[7]),amountWrapperWidth:new a(100,230),titleLeftMargin:new a(n[2],n[3])},Be={textContainer:new j("standardMedium","largeMedium")},Te=i.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
width: 100%;
|
|
103
103
|
`,He=i.div`
|
|
@@ -129,7 +129,7 @@ import{C as a,X as L,t as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as
|
|
|
129
129
|
display: flex;
|
|
130
130
|
padding: ${e=>z.contentContainerPadding.valuePx(e.windowSize)};
|
|
131
131
|
width: 100%;
|
|
132
|
-
`,
|
|
132
|
+
`,Le=i.div`
|
|
133
133
|
display: flex;
|
|
134
134
|
align-items: center;
|
|
135
135
|
width: calc(
|
|
@@ -139,7 +139,7 @@ import{C as a,X as L,t as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as
|
|
|
139
139
|
100% - ${e=>z.amountWrapperWidth.valuePx(e.windowSize)}
|
|
140
140
|
);
|
|
141
141
|
${e=>`${Be.textContainer.style(e.windowSize)}`};
|
|
142
|
-
`,
|
|
142
|
+
`,Re=i.img`
|
|
143
143
|
width: ${e=>z.imageWidth.valuePx(e.windowSize)};
|
|
144
144
|
height: ${e=>z.imageHeight.valuePx(e.windowSize)};
|
|
145
145
|
object-fit: contain;
|
|
@@ -157,7 +157,7 @@ import{C as a,X as L,t 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=
|
|
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;
|
|
@@ -281,4 +281,4 @@ import{C as a,X as L,t 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=
|
|
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};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import{u as q,aT as z,aU as A,j as o,Y as h,aV as M,c as K,aW as U,o as n,q as V}from"./index-DyBH5SZv.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{d as W}from"./TransactionList-IjM4ABdF-DZ9PEfgX.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-DX1sag1G-C0OcCbod.js";import"./commonDimensions-DAvj4Il1-Chc9ZQai.js";const _=l.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
height: 100vh;
|
|
5
|
+
width: 100%;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: ${t=>t.theme.colors.grey4};
|
|
8
|
+
box-shadow: ${t=>`${n.sp0} 2px ${n.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
9
|
+
`,G=l.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex: 1 1 auto;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
align-items: center;
|
|
15
|
+
margin: ${n.sp0};
|
|
16
|
+
`,H=l.div`
|
|
17
|
+
display: flex;
|
|
18
|
+
flex: 1 1 auto;
|
|
19
|
+
height: 100%;
|
|
20
|
+
width: 100%;
|
|
21
|
+
flex-direction: row;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
`,J=l(V)`
|
|
25
|
+
color: ${t=>t.theme.colors.hero};
|
|
26
|
+
text-align: center;
|
|
27
|
+
`,Q=l(Z)`
|
|
28
|
+
height: ${n.sp4};
|
|
29
|
+
width: ${n.sp4};
|
|
30
|
+
color: ${t=>t.theme.colors.hero};
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
&:hover {
|
|
33
|
+
color: ${t=>t.theme.colors.primary};
|
|
34
|
+
}
|
|
35
|
+
`;function mt({title:t,subTitle:T,firstMonthOfFY:y,timeframe:c,timePeriod:a,useFixedPeriod:u,dataAvailableForPeriod:p,report:e,currentScrollYOffset:C,showStatementPageIcon:L=!1,onTimePeriodChange:x,onTransactionItemClick:w,onTransactionListScroll:b,onBackClick:I,onStatementPageIconClick:N,referrerType:B}){const[g,S]=r.useState(!0),[d,$]=r.useState(!1),[f,P]=r.useState(!1),E=q();r.useEffect(()=>{e.transactions.length>0?S(!1):S(d===!1&&f===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,g,d,f]);const F=z(),j=A(B),v=`${j===""?F:j}.transactions.list`,O=a.startDate.isAfter(p.startDate,c)?{isLoading:d&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:u,onLoadPreviousClick:(s,i)=>{P(!1),$(!0),x?.(s,a,i)}}:void 0,Y=a.endDate.isBefore(p.endDate,c)?{isLoading:f&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:u,onLoadNextClick:(s,i)=>{$(!1),P(!0),x?.(s,a,i)}}:void 0;let k=null;L&&(k=o.jsx(Q,{onClick:N}));const m=r.useRef(null);function D(s,i,R){U({category:`${v}.transaction-list.react.profiler`,message:`${s} (${i}) took ${R}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:D,children:o.jsxs(_,{"data-testid":h("transaction-list-page",t),children:[o.jsx(M,{source:"TransactionListPage","data-testid":h("transaction-list-page-nav-bar"),title:t,onBackClick:I,backgroundColor:E.colors.grey4,rightSideComponent:k,scrollableContent:m.current!=null?m:void 0}),o.jsxs(G,{"data-testid":h("transaction-list",t),children:[o.jsx(J,{children:T}),g===!1?o.jsx(W,{ref:m,firstMonthOfFY:y,timeframe:c,timePeriod:a,transactions:e.transactions,currentScrollYOffset:C,onTransactionItemClick:w,onTransactionListScroll:b,showLoadPrevious:O,showLoadNext:Y,componentName:v}):o.jsx(H,{children:o.jsx(K,{size:"ExtraLarge",start:!0})})]})]})})}export{mt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as H,M as A,j as o,
|
|
1
|
+
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,cu as U,a as X,gt as F,gu as M,gv as R,c3 as Y,F as _,n as r,u as G,c6 as J,g8 as z,gA as Z,al as ee,gE as oe,gF as te}from"./index-DyBH5SZv.js";import{b as j,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 L=(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=H(),y=G(),$=N.labelWidth.value(l),I=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":D("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:L(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:L(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:L(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:L(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:I}):null]})]})},re=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -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,d 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,w as $e,q 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,bt as De,fy as wt,gY as xt,n as o,cW as $t,bH as Xe,bn as Dt,cz as bt,b5 as Tt,f as Ze,f0 as yt,dp as Ct,bp as qe,f7 as St,f9 as vt}from"./index-QTXYT_IZ.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-D5uBFeau-CCzhbeOi.js";import{r as At}from"./AccountInfoPageContent-DuUO6Fmo-ChKBTH6K.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-YcATpN2g-D3XIUalG.js";import"./commonDimensions-Ctzi29iY-mgtHXo4p.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}`,He=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:H,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,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),Ke=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:Ke,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)&&K?.("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)};H(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"),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,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:He(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(Ht,{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(Kt,{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(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:{[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,gN as it,M as I,_ as Z,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,w as $e,q 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,n as o,cW as $t,bH as Xe,bm as Dt,cz as bt,b4 as Tt,f as qe,f0 as yt,dp as Ct,bo as Ze,f7 as St,f9 as vt}from"./index-DyBH5SZv.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js";import{r as At}from"./AccountInfoPageContent-BtMF3gSM-CwB-GVxY.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-LAHtgcHF-B9uNpNRf.js";import"./commonDimensions-DAvj4Il1-Chc9ZQai.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:q,ready:te}=ut({token:v,onSuccess:Je,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,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&&q()},[V,q,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,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,q]);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:Z("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(qt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("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} ${Z("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`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -68,7 +68,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,d as We,a3
|
|
|
68
68
|
`,Xt=r.div`
|
|
69
69
|
margin-bottom: ${a.sp6};
|
|
70
70
|
width: 90%;
|
|
71
|
-
`,
|
|
71
|
+
`,qt=r.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -77,7 +77,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,d as We,a3
|
|
|
77
77
|
background-color: ${e=>e.theme.colors.grey3};
|
|
78
78
|
border-bottom-right-radius: ${a.sp1};
|
|
79
79
|
border-bottom-left-radius: ${a.sp1};
|
|
80
|
-
`,
|
|
80
|
+
`,Zt=r.div`
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: row;
|
|
83
83
|
align-items: center;
|
|
@@ -111,16 +111,16 @@ import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,d as We,a3
|
|
|
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
|
+
`,Kt=r(qe)`
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
116
|
-
`,
|
|
116
|
+
`,Jt=r(yt)`
|
|
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
|
+
`,Ht=r(Ct)`
|
|
124
124
|
cursor: pointer;
|
|
125
125
|
width: 12px;
|
|
126
126
|
height: 12px;
|
|
@@ -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,d 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:y,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:
|
|
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:y,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:K,onFetchLinkTokenClick:R,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:J,setCurrentDrawerContent:H,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:Z("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:Z("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(Ce,{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),F()},style:{minWidth:200}}),t.jsx(Ce,{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:H,setShowReviewContent:J,onTransferClick:C,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:K,onSaveChangesToLocalStore:y,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:Ke(Ge),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,7 +241,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,d as We,a3
|
|
|
241
241
|
color: ${e=>e.theme.colors.primary};
|
|
242
242
|
margin-top: ${a.sp3};
|
|
243
243
|
margin-bottom: ${a.sp2};
|
|
244
|
-
`,U={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(Ca,{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 y=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));T(y)});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(ya,{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,y)=>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(y),t.jsxs(ga,{children:[t.jsx(xa,{windowSize:f,children:l.accountName}),t.jsx(wa,{children:
|
|
244
|
+
`,U={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(Ca,{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 y=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));T(y)});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(ya,{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,y)=>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(y),t.jsxs(ga,{children:[t.jsx(xa,{windowSize:f,children:l.accountName}),t.jsx(wa,{children:Z("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
246
|
padding-left: ${e=>`${U.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
247
247
|
padding-right: ${e=>`${U.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
@@ -257,7 +257,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,d as We,a3
|
|
|
257
257
|
overflow: hidden;
|
|
258
258
|
position: relative;
|
|
259
259
|
top: 2px;
|
|
260
|
-
`,wa=r(
|
|
260
|
+
`,wa=r(qe)`
|
|
261
261
|
color: ${e=>e.theme.colors.grey1};
|
|
262
262
|
position: relative;
|
|
263
263
|
top: -${a.sp1};
|
|
@@ -286,7 +286,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,d as We,a3
|
|
|
286
286
|
}
|
|
287
287
|
`,Da=r.div`
|
|
288
288
|
padding-bottom: ${e=>U.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
|
|
289
|
-
`,ba=r(
|
|
289
|
+
`,ba=r(Ze)`
|
|
290
290
|
cursor: pointer;
|
|
291
291
|
color: ${e=>e.theme.colors.hero};
|
|
292
292
|
width: ${a.sp4};
|
|
@@ -323,7 +323,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,d as We,a3
|
|
|
323
323
|
height: auto;
|
|
324
324
|
padding: ${e=>`${a.sp0} ${L.pageContentPaddingLeftRight.valuePx(e.windowSize)}`};
|
|
325
325
|
margin-bottom: auto;
|
|
326
|
-
`,Pa=r(
|
|
326
|
+
`,Pa=r(Ze)`
|
|
327
327
|
cursor: pointer;
|
|
328
328
|
color: ${e=>e.theme.colors.hero};
|
|
329
329
|
width: ${a.sp4};
|
|
@@ -352,7 +352,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,d as We,a3
|
|
|
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
|
-
`,Fa=({zeniAccountsConfigDetail:e,depositAccountListView:n,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:T,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[y,C]=u.useState(!1),[S,F]=u.useState(n.depositAccounts.find(M=>M.id===T));return y&&S!=null?t.jsx(va,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(pa,{depositAccountListView:n,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Ga=({transferDetails:e,zeniAccountsConfigDetail:n,depositAccountListView:g,maxInsuredAmount:$,currentTenant:T,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:y,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:
|
|
355
|
+
`,Fa=({zeniAccountsConfigDetail:e,depositAccountListView:n,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:T,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[y,C]=u.useState(!1),[S,F]=u.useState(n.depositAccounts.find(M=>M.id===T));return y&&S!=null?t.jsx(va,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(pa,{depositAccountListView:n,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Ga=({transferDetails:e,zeniAccountsConfigDetail:n,depositAccountListView:g,maxInsuredAmount:$,currentTenant:T,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:y,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:K,onDismissClick:R,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:J,clearReviewTransferDetail:H,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)=>y.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:F,onTransferClick:M,onDismissClick:R,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:J,onFetchLinkTokenClick:i,plaidConnectionDetails:E,setCurrentDrawerContent:C,clearReviewTransferDetail:H,onReviewClick:K,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:V,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Fa,{zeniAccountsConfigDetail:n,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:T,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,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};
|