@zeniai/web-cockpit-ui 1.14.17-qa → 1.14.18-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-DDccOBrQ-xtRCcN-J.js +21 -0
- package/dist/assets/{AIPerformancePage-4oC8MJWN-3x4rvqkH.js → AIPerformancePage-u3qF__mF-Cwmno93h.js} +42 -42
- package/dist/assets/{AccountInfoPage-mOPytffA-BHPN2sFX.js → AccountInfoPage-vDWC6AMf-DzR0-3Io.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-VULusDEd-Bbj6r5XK.js → AccountInfoPageContent-0PqU7bCV-D6wFAbY2.js} +13 -13
- package/dist/assets/{AccountReconDetailsDrawerPage-89APlrhb-OpGiG4Fe.js → AccountReconDetailsDrawerPage-DEqtU-rh-Deoo-ctA.js} +19 -19
- package/dist/assets/{AccountRow-DJd-IAIl-C8ES_stT.js → AccountRow-DTQ6Qoyr-_b2APADd.js} +25 -25
- package/dist/assets/{AccountsPromoCardStack-DE39TpIu-D-Yop5mF.js → AccountsPromoCardStack-DkYqKp1i-mDnDl8sy.js} +33 -33
- package/dist/assets/{AddAddressForCardDrawer-CKdcU_pi-CwaicPlo.js → AddAddressForCardDrawer-DB3HtvgV-DDm-Yx81.js} +2 -2
- package/dist/assets/{AddToWalletPage-DPXW2fbY-CtMlIrQx.js → AddToWalletPage-DvgM0-kj-TsEzz5fI.js} +22 -22
- package/dist/assets/{AgingReportsPage--CLUwcIa-BsmrKMJu.js → AgingReportsPage-BP6-oG6W-DRhLxK4p.js} +16 -16
- package/dist/assets/{AllUserItems-CC9l-O5G-B5y_zhUe.js → AllUserItems-w6M8k5yU-DRpE6VjZ.js} +9 -9
- package/dist/assets/ApAgingDetailPage-BZuNGMx_-DRH7p0_b.js +46 -0
- package/dist/assets/{AppBasePage-CgHKYFmd-DpxCZRxE.js → AppBasePage-l_TUUps8-K0ozDeR0.js} +10 -10
- package/dist/assets/{AppDrawerContent-Cofo0-5p-Bon4ebWD.js → AppDrawerContent-_gInVeZf-CqHabOEw.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-DsshEbzW-bVy7ndBX.js → ApprovalRulesSettingsPage-CKRde9he-CmSQRugq.js} +7 -7
- package/dist/assets/{ArAgingChart-K2LSe8mo-8wVTOMUv.js → ArAgingChart-Dg0oBo5K-CF9AvFJC.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DCFL9YAy-C_v7XA9q.js → ArAgingDetailPage-CNizMSbt-CgouefYI.js} +4 -4
- package/dist/assets/{AttachmentView-Cn3VnVyO-2AecVG_r.js → AttachmentView-B8hloBca-DRZOHo7x.js} +7 -7
- package/dist/assets/{BankAccountSection-Au9_D0Ji-CWUpdxVP.js → BankAccountSection-4HNC0ypd-BpuQrkpU.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-927iR_QB-DZ1ZjG-a.js → BankAccountWarningSection-BqgTMjDy-DwldrkYy.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-CXab8fzD-DrAzYcY3.js → BankConnectionsSettingsPage-BBQh1oT8-CYERxE0e.js} +26 -26
- package/dist/assets/{BillDetailPage-yIdrE7YG-MPJpbHEH.js → BillDetailPage-R4oRrdsm-Bhl-v3vo.js} +20 -20
- package/dist/assets/{BillPayApprovalRuleDetailPage-BJl_-eJN-DfaKZiCw.js → BillPayApprovalRuleDetailPage-d_A1-Gv_-D0vt2nJT.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-rXaFCSLp-B4hJZE4K.js → BillPayApprovalRulesPage-5q5b2drs-DNrIHclU.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BLi_wIbj-CSiPqqF2.js → BillPayPromoPage-Dz_R3Vd_-D4VHTD7W.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-BFmpWT_x-BdnlBxHY.js → BillPaySetUpPage-CwTRrElO-Dy2xJbwX.js} +2 -2
- package/dist/assets/{BillingSettingsPage-Da01aYql-CO5KbCIq.js → BillingSettingsPage-_XJCl2yq-D0rAMBJt.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-J2kO9_8C-DvF5RYPT.js → BillsBulkReviewDrawerPage-B_S35aKX-pMNSaHSP.js} +1 -1
- package/dist/assets/{BoxItem-CQlEDklH-CpOQze_E.js → BoxItem-9JmA6QqI-D4hhkbCR.js} +4 -4
- package/dist/assets/{BusinessVerificationPage-DWhXCuG5-CLLfRzHs.js → BusinessVerificationPage-DJKOIC1M-BEeGVZ1S.js} +11 -11
- package/dist/assets/{CardNumberSubText-BTjxrF3b-Dd1chwrY.js → CardNumberSubText-CewmMWju-DJiRPNiZ.js} +1 -1
- package/dist/assets/{CashbackDetailPage-qcMtGUQ0-CNgA1vkF.js → CashbackDetailPage-HtjAmPa8-DEVbhkAr.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-BurpUHl9-CHOF0hOK.js → ChargeCardDetailPage-D_5vb_92-DYjdXqRv.js} +27 -27
- package/dist/assets/{ChargeCardListPage-CBIYOllB-C5IIqKJ8.js → ChargeCardListPage-BT-8bueF-C8QRxzgr.js} +23 -23
- package/dist/assets/{ChargeCardListTable-BTZu7ldI-HV9pRu0d.js → ChargeCardListTable-oJTQcOkc-HAou4pja.js} +104 -104
- package/dist/assets/ChargeCardPromoPage-Dp01F4cn-Br2kcjZo.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-QOdjFcsr-DPZS2Ku4.js → ChargeCardSetupPage-cqydgFPZ-KP5FKJ0i.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-C1UmjyIW-D6OuW8Qw.js → ChargeCardStatementsPage-URwhXATj-BVz6_ztr.js} +8 -8
- package/dist/assets/{ChargeCardUtils-C3fhOMpV-Bs2JPnXP.js → ChargeCardUtils-DBEgXAMc-DYsQMmpv.js} +1 -1
- package/dist/assets/{ChaseOverlay-RPex2o5e-DW09zrbw.js → ChaseOverlay-HTpWDuLt-D0qtM7hD.js} +10 -10
- package/dist/assets/CheckDepositDrawerPage-DLc3qfVH-Dq_DIMy3.js +206 -0
- package/dist/assets/{CollapsableReportTable-Ds0h8x1N-Cp0fRlE2.js → CollapsableReportTable-PpQgBBRC-BpxIl-X-.js} +93 -93
- package/dist/assets/{CompanyOfficerDetailsSection-B8yGAFVj-DKWPUUTw.js → CompanyOfficerDetailsSection-C1aPsDga-DX0GYxxu.js} +35 -35
- package/dist/assets/{CompanyPassportCard-BDei9Pfp-D0uwhtPQ.js → CompanyPassportCard-DMKqBgwh-20YLIkOw.js} +6 -6
- package/dist/assets/{CompanyPassportPage-DFA733vS-BIvmx8nC.js → CompanyPassportPage-CHHPIqN_-CQsnT2Hp.js} +37 -37
- package/dist/assets/CompleteProfile-D6jHfaC2-Cwowcy8N.js +36 -0
- package/dist/assets/{ConfettiBurst-97CCPVCH-DogXPRqs.js → ConfettiBurst-14a5kaEE-D-oFz-sG.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BSi6pOXN-60R3TaVL.js → CreateOrEditVendorPage-K5rhe_y3-6e_B7drg.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-ZletyeGG-ChI8BG09.js → CreditCardPaymentDrawerPage-LQ--HUI9-Ct-Z_PH4.js} +20 -20
- package/dist/assets/{CreditCardPaymentPlgSection-BE982atG-ChH0EM9O.js → CreditCardPaymentPlgSection-BM05WC-i-Bk08bY1j.js} +12 -12
- package/dist/assets/{CurrencySelectField-cnP09xH2-CzK_uHkh.js → CurrencySelectField-bhkJTNUW-TAA9r3NA.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DhcKiTJ_-BwUbkzAO.js → CustomerOnboardingActivationPage-BHD1irjF-BuHM5vzQ.js} +9 -9
- package/dist/assets/CustomerOnboardingContainerPage-BhS5NmVt-CloO5_fX.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-jguCmaVx-df6TlzkN.js → CustomerOnboardingDetailPageSkeleton-B--kAA3i-BtWP8-CX.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-xakP7IDr-C-0r2BD6.js → CustomerOnboardingNoStepsPage-sHKAos8m-1qMzs8BU.js} +5 -5
- package/dist/assets/{CustomerOnboardingPage-Ct5YbyHs-CAyxa338.js → CustomerOnboardingPage-B_S5G-6o-Cv0ITZ4_.js} +10 -10
- package/dist/assets/{CustomerOnboardingProductSuitePage-CugfvMkw-CslbljsJ.js → CustomerOnboardingProductSuitePage-CVi8WuQY-DZMQtVHo.js} +12 -12
- package/dist/assets/{Dashboard-XbVGCnvI-_hcViTk2.js → Dashboard-CIMiF6eU-SPzOaUuR.js} +1 -1
- package/dist/assets/{DashboardReportPage-OeEPg2kx-C3vOR__5.js → DashboardReportPage-6z6qBQSB-C79wD_Nr.js} +21 -21
- package/dist/assets/{DepositAccTransactionItem-Dy6qzuSL-CpAkao08.js → DepositAccTransactionItem-BQYFrzDW-VNbpp2iU.js} +10 -10
- package/dist/assets/DepositAccTransactionListPage-xSNsUwS4-DJcgYerm.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-B0tbjNLO-CzO-wZCX.js → DomesticWireDetailsPage-b1iB1HBM-CrTulX9A.js} +1 -1
- package/dist/assets/{DownloadOverlay-BKKO1nm1-C2Pb_CvM.js → DownloadOverlay-C3oy6eq7-CCVozCSE.js} +12 -12
- package/dist/assets/{DrawerPage-osM8gPVn-DjFhvXE_.js → DrawerPage-DLVTld-y-Cb3VyNgX.js} +12 -12
- package/dist/assets/EditPeoplePage-DKJNf1oJ-6CdgkITi.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DvLeCixY-DsVIw_1c.js → EditReimbursementDetailPage-zgUt303N-BpiV7KXr.js} +80 -80
- package/dist/assets/{EntityDetailPage-BzJbAOSj--n76aj0W.js → EntityDetailPage-DY4i6GZK-DN-UWde9.js} +3 -3
- package/dist/assets/{EntitySummarySection-Drj07P9h-B2lq71iV.js → EntitySummarySection-BbxeYdm8-Bf_NXajy.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-BQ9dwGkq-CJ6yhltW.js → ExpenseAutomationOverviewPage-D3x3XpmU-fjM7OZCO.js} +31 -30
- package/dist/assets/{ExpenseAutomationPage-DLld6Lux-0w2CvM4U.js → ExpenseAutomationPage-BTAjM6yZ-yDXqzAOJ.js} +56 -56
- package/dist/assets/{ExpressPayPage-QBNV0dC8-ZmY9Sslu.js → ExpressPayPage-C30-lVTo-C8uKTmQz.js} +11 -11
- package/dist/assets/FeaturePreviewPage-BRqSxk9H-D2VfZkvq.js +11 -0
- package/dist/assets/{FollowStepsSection-1RCO2W7K-8GLsxGi6.js → FollowStepsSection-B171fPtM-D2ueI9DZ.js} +28 -28
- package/dist/assets/{GlobalReviewListPage-ByMZFe7Y-DU4g2-mq.js → GlobalReviewListPage-BaZx32sB-CsLBtCph.js} +14 -14
- package/dist/assets/HelpButton-ewiNuwlj-a7BLQVoR.js +28 -0
- package/dist/assets/{InformationCardStack-C0AmMOu2-CsXKnz33.js → InformationCardStack-BtxneVKK-CvEQzEwX.js} +6 -6
- package/dist/assets/{InsightsCardStack-BiIDBYY8-BDWjMJ74.js → InsightsCardStack-CCee6pLA-D-hqWx-q.js} +7 -7
- package/dist/assets/InsightsSection-BZNwdoG4-BHWxrsk5.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-7wAnV8kG-a8zGkb-o.js → IntegrationsSettingsPage-CsY38-LI-tUcaBNIE.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-C7D15jtK-CNlL_DBa.js → InternationalWireSwiftDetailsPage-sSSgjYdh-CECQrN0I.js} +17 -17
- package/dist/assets/{InternationalWireVerificationPage-GDKPXtU--DouJAx7L.js → InternationalWireVerificationPage-zv0FIhUz-BUPdBF6w.js} +14 -14
- package/dist/assets/{InviteFormPage-CKGJHYWa-ThYyvIC6.js → InviteFormPage-DxszbbOJ-CJWqS0tA.js} +19 -19
- package/dist/assets/{InvitePageListView-CWXyDZU2-B1FV1J7C.js → InvitePageListView-BYVWTwTc-Dq61wzB9.js} +46 -46
- package/dist/assets/InvitePeoplePage-CJ4KyyxI-Ci7vEwdq.js +12 -0
- package/dist/assets/InvoiceUploadSection-Dy_H9a8Y-CvpINn7W.js +140 -0
- package/dist/assets/{IssueChargeCardPage-DLX44XaR-DJEU4BAz.js → IssueChargeCardPage-CPmj_trJ-CTV2OfvE.js} +19 -19
- package/dist/assets/LabeledAddressValue-BVpwGdA2-5vfMRzOg.js +49 -0
- package/dist/assets/LabeledAddressValueField-Eka4fXzu-BSJMd52k.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-B6cLYSmS-HQU25j6e.js → LabeledControlledCheckBoxField-BnfJ3gKr-7p5KdXvW.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CV4GQQ7F-DB0whr2c.js → LabeledCreatableSingleSelectField-CJT-CuQl-C0rlBcX2.js} +4 -4
- package/dist/assets/{LabeledDocumentField-BFhyNqP8-BF1FtSO9.js → LabeledDocumentField-BoraKtTI-BRERXK8W.js} +6 -6
- package/dist/assets/{LabeledDropDownFormattedTextField-gE3aWP_T-D1puR-he.js → LabeledDropDownFormattedTextField-elNvxcOB-BPm7rTz8.js} +7 -7
- package/dist/assets/{LabeledText-0pRIcJw5-DnreSqVg.js → LabeledText-DhZgeQqu-Dz4gRnMS.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-Ckf3XRJ6.js → LabeledUserSingleSelectWithSubtitlesField-D63Z4SE5-Hunv1W3n.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField--l6D29VX-2y_t8N2x.js → LabeledZeniRolesDropDownField-MwrQ9tKT-DwAqMpNU.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-DLcpx9ns-B4OQKP_z.js → LinkJETransactionPage-BpQXs8JH-CczVuOJd.js} +6 -6
- package/dist/assets/{LowBalancePopup-BuelKDeS-DmsngLwA.js → LowBalancePopup-DPbr0gUO-BMtDcyj7.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-NIkquHvv-DhLEEbR7.js → MagicLinkACHDetailsPage-D11FRh9u-CA4ESgf_.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdaNz396-CGsvsJCT.js → MagicLinkDomesticWireDetailsPage-CG7yqz6X-CxkGJZaJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CnEhS5PP-BfdXlGYo.js → MagicLinkInternationalWireDetailsPage-PkDENzkO-BALvlHZZ.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D_VJZV0O-DKgCh3Z1.js → MagicLinkSuccessPage-BS9ddhQA-DfzVlezu.js} +2 -2
- package/dist/assets/MagicLinkTitleSection-CBYkZ8RD-DOnIUCAU.js +17 -0
- package/dist/assets/{MailingDetailsSection-CTrx1xoB-DJHX02qB.js → MailingDetailsSection-Cx1s77og-DXexyF-i.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DWvpTRQJ-B65gs1hH.js → MeetingCalenderPopup-DNthMj1J-DCVu9x9-.js} +1 -1
- package/dist/assets/{Menu-CbQ6Zkdp-D6lRjeT8.js → Menu-CIjXHu3p-BVUzW_3W.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-9dQLb8iw-h322l6cg.js → MyBankConnectionsSettingsPage-D77Axpyj-Dsr9teql.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-B2-YthuF-CH0O9Vq4.js → MyPendingActivationChargeCardListPage-CnZZJsMY-KyflajTT.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-CfmYPv4_-m8ou3iA-.js → MyProfileSettingsPage-iXkYV9nQ-C8PmA-Fq.js} +6 -6
- package/dist/assets/NavBarWithPicker-D8Mx-0SS-CQTf4kGi.js +30 -0
- package/dist/assets/{NavigationArrow-9pvhzLz8-Cjtb_5vy.js → NavigationArrow-DOvptaEZ-B1BrtWg6.js} +2 -2
- package/dist/assets/{NavigationDots-CXPwKFh1-D0BlOlke.js → NavigationDots-HukimDRY-BSdcE3Mo.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D6ZpP6J1-BvWRpxN8.js → NewGlobalMerchantPage-BlOMnHda-Cw8vvr0B.js} +12 -12
- package/dist/assets/{NoDataChart-BUR7CF8w-D1wb8NU8.js → NoDataChart-DyGfwFNo-Bpe0xKgS.js} +1 -1
- package/dist/assets/{NoDataTable-3L4pbKR0-DADiNiUz.js → NoDataTable-CJseWuln-x_ccMVrT.js} +1 -1
- package/dist/assets/{NotFoundPage-CgZfmKbj-zfL-Bldu.js → NotFoundPage-UG00-OBF-BoQnjyIO.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BwYT3Tdc-NOzItap9.js → NotificationSettingsPage-COyRIY7z-B69eM29f.js} +17 -17
- package/dist/assets/NotificationsListConfig-BR7QDiGp-CoZ9cxNa.js +1 -0
- package/dist/assets/{NotificationsPage-6qNQYQK4-BVdwZRiv.js → NotificationsPage-DNSiZHw_-DhSCbYyU.js} +38 -38
- package/dist/assets/{OpExByVendorPage-C28MBvmW-DRKZbvH2.js → OpExByVendorPage-DmSYppgo-B8QxoNs0.js} +7 -7
- package/dist/assets/{OverlayContainerPage-9K5jaX8Z-Co7rIc3P.js → OverlayContainerPage-DB42kFLd-BB8Mm-uG.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-onJJ3Fh4-VHgA6a_C.js → PandLWithForecastPage-Cvpj3Rx7-BBqZBlne.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-nGuJ5fbq-Bl9Hzudf.js → PaymentAccountSetupBillingAddressSection-CsldB-k7-VgWcdB9R.js} +9 -9
- package/dist/assets/{PeoplePage-CKzezKqB-C-ecacKb.js → PeoplePage-CZhJF86l-BUJerLay.js} +33 -33
- package/dist/assets/PortfolioAllocationFormPage-9GM9dOrM-B8ssUltJ.js +207 -0
- package/dist/assets/{PortfolioDetails-CIv1yXo2-Cn8bwh7v.js → PortfolioDetails-BmAHjCVw-CsG6lf5x.js} +42 -42
- package/dist/assets/{ProductsCarousel-CSUQ6rVw-Bd7wsnlW.js → ProductsCarousel-DnbMUIHf-CibvwP8L.js} +7 -7
- package/dist/assets/{PromoBaseCards-2L1JfY-v-2Z0dVig4.js → PromoBaseCards-BC5rOok_-CbjLwgXv.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNP_b7aK-Bxywaa9r.js → QBOConnectionDialog-Ci5zNza5-6_E7GkKa.js} +4 -4
- package/dist/assets/{QBOSetupSection-CGrGCC2j-ZviOH5QS.js → QBOSetupSection-BTOCiyES-BQ9iHLEQ.js} +12 -12
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DqxyCfuQ-TKf1S-sK.js → ReimbursementApprovalRuleDetailPage-BfU-6jeB-4BEDb2U8.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-D_RMSSoW-Bf_KsPWO.js → ReimbursementApprovalRulesPage-M8JZSUOE-C8eBggiH.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-BkT7zJoE-DxIxRel2.js → ReimbursementDetailPage-D54RyrP4-DTi4hKLb.js} +23 -23
- package/dist/assets/ReimbursementPromoPage-B2uVT4md-CMAH_EoV.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-lH4Z7Lqi-BjSmn0a4.js → ReimbursementSetUpPage-DgZLqhEv-7jHyoRwK.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Bvh4mRws-H31l-TPn.js → ReimbursementsBulkReviewDrawerPage-DdaqWcd4-DhSMDa4E.js} +1 -1
- package/dist/assets/{ReloadCard-BQKVLlzZ-kVLw1q8k.js → ReloadCard-Brl4XdzV-avg2x7k6.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Cvk4LxRf-EyWXn90g.js → ReportTableViewSelector-BUwsckE_-Cr50tsiY.js} +9 -9
- package/dist/assets/{ReportsPage-C2cIfu51-5H5N0irE.js → ReportsPage-B_p1fu0v-DX66zZ_7.js} +4 -4
- package/dist/assets/{RevenueChart-ByCekdyG-CbrdKEhj.js → RevenueChart-Wm8uOprY-DjqKlnHO.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-DGyfz9q5-JDs12zdM.js → ReviewDetailsPage-KBHsF8bJ-BZe7KZL0.js} +26 -26
- package/dist/assets/{ReviewOverlay-Dp5yLAdR-D5ldovaw.js → ReviewOverlay-Dw0qj7TA-qOb8xPV_.js} +21 -21
- package/dist/assets/{RoleWithToolTip-B7xRZ-3a-C1CQ4C1p.js → RoleWithToolTip-XfK92pcD-DtUyDW-U.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BvJX-G-F-DjgDOThV.js → ScheduleDetailsFixedAssetsPage-BWlIEli5-C8Xnu1wF.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CNpkuW7O-8EQwuxLj.js → ScheduleDetailsPage-C1xCJX3o-Cpr_7FVH.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-B_90qPjE-D3mQ-hUZ.js → ScheduleSequenceTable-BprYPV37-CbJbmsNz.js} +48 -48
- package/dist/assets/{ScreenRoutes-Df1GkgZA.js → ScreenRoutes--7yT1DKW.js} +62 -62
- package/dist/assets/{SetUpAccountSection-D5x8PZG1-BA29puUF.js → SetUpAccountSection-Dr1TfnG_-Cel5DtZp.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-BsOdnADR-fIw9FyAe.js → SetUpDefaultSection-Be5NU_Em-BdXA12e3.js} +9 -9
- package/dist/assets/{SignIn-Bt7hCYjV-CwfH0JLW.js → SignIn-CE6RYJOs-ty2bYK-D.js} +20 -20
- package/dist/assets/{SignInScreen-CWUZN0CQ.js → SignInScreen-B_Dlksbi.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C5cJKuRq-C1_jwmdt.js → SpendManagementListViewPage-BESddx6p-DEy09jpS.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-IBAw8wc4-Bn0g9_Tf.js → SpendManagementPerTabPage-BzOooEMS-CS5nadJ3.js} +56 -56
- package/dist/assets/{SpendManagementSection-yNP3swb6-BIaTdSBC.js → SpendManagementSection-CczioNZH-D_OdnYKx.js} +12 -12
- package/dist/assets/{SpendMgmtSetupAccountSection-CYxt9dN8-BxpldXSf.js → SpendMgmtSetupAccountSection-CVFRXVhZ-KbAbVozh.js} +22 -22
- package/dist/assets/{StatementItem-q9U89Htr-DJqALh3W.js → StatementItem-Cptht91w-CXR-Xt2m.js} +8 -8
- package/dist/assets/StatementsPage-Bk_DWBsO-D9kCpcdC.js +58 -0
- package/dist/assets/{StatusSwitcher-CtuL5COG-Bd0whTb6.js → StatusSwitcher-B3gZD4Xk-Bh4cnysY.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DHiC-mOv-B69z0IV-.js → SubTabSwitcher-ymwMdmPQ-Bui2S7lB.js} +3 -3
- package/dist/assets/{SummaryCard-D4Me-qWU-Cw61JFxF.js → SummaryCard-CVO_hW5i-BNIAsEAp.js} +1 -1
- package/dist/assets/{TaskManagementPage-D-F7ufTD-E-k_0ZqR.js → TaskManagementPage-C8FiHas2-CSgpx3sK.js} +38 -38
- package/dist/assets/{TimeRangeSwitcher-CGN9Hq2L-DPvzjSG7.js → TimeRangeSwitcher-CPklgWMn-CIOi92rx.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-BN4-ACoQ-DRoCnrrw.js → TimeframeSwitcher-Do-13K0C-DY9TYA6Y.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BkzCFclG-CATb3Hw3.js → TimeframeSwitcherWithToggle-CtVJiYRA-BFfeCNSf.js} +2 -2
- package/dist/assets/{TopExCard-Wuzj4gLV-C7hKo1xh.js → TopExCard-CAbVMarX-DzMoRGlM.js} +5 -5
- package/dist/assets/{TopExDetailPage-DMYNc-gj-BOIId_ra.js → TopExDetailPage-CN49s925-BpBrFgHR.js} +10 -10
- package/dist/assets/{TransactionDetailPage-CcryBjJ4-BBoQstAc.js → TransactionDetailPage-Q9XC1VgP-B1t0fuZa.js} +35 -35
- package/dist/assets/{TransactionList-BrOpzi25-BpXcE9sq.js → TransactionList-Pn-voMDJ-cxv4xlA8.js} +12 -12
- package/dist/assets/{TransactionListBig-D6QMNaV6-dxXwqgSe.js → TransactionListBig-D4U1VfMP-q6KLDBuW.js} +25 -25
- package/dist/assets/{TransactionListPage-BB_LkPKR-D44T4dDk.js → TransactionListPage-Dcr5n_hs-BCiA3wu6.js} +4 -4
- package/dist/assets/TransactionVendorDetailPage-DxDXndQ6-Cuilftgh.js +80 -0
- package/dist/assets/TransferDrawerPage-CuQct69A-B079B2IU.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-EDaXKMNQ-D8fnAwU_.js → TreasuryOverviewPage-BDYqKBrS-CScokRvu.js} +56 -56
- package/dist/assets/{TreasuryPromoPage-Brja4nGR-4ejoYZft.js → TreasuryPromoPage-CTkEFZ57-BEp9DAWk.js} +22 -23
- package/dist/assets/{TreasurySetupPage-8ZXXBvyU-CSrGG7JX.js → TreasurySetupPage-KI_5DQnD-D9S_zLnk.js} +3 -3
- package/dist/assets/{TreasuryStatementsPage-BjT1FVfa-CDFhhK60.js → TreasuryStatementsPage-DB1KkguP-BSv5nFQ9.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-Cxk8TjrI-BYzTKoII.js → TreasuryTaxLetterPage-DbHBl6-e-B10fxK69.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-CLJ2x2M1-Q00AAxLj.js +506 -0
- package/dist/assets/{TrendChart-D2B0mwGW-CDLMKcy5.js → TrendChart-Ck4SVLtn-DxCRoE-5.js} +5 -5
- package/dist/assets/{TrendWithTransactions-Ch8smOOz-dEqRqTOG.js → TrendWithTransactions-BiWHzfIf-CM8I_QYq.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-CCIn9g7v-q0ijIBJ8.js → UncategorizedAccountsMappingPage-BEbiQMPB-P5OqOc0G.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-SY0L_D7Z-CKGuE_M5.js → UnitIntegrationPage-DghvgER8-G5psF27e.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-BowxerPw-BznAQGh0.js → UploadAdditionalDocumentOverlay-BasudeQ3-BthiTAoM.js} +2 -2
- package/dist/assets/Vendor2FAPopup-BVYQk2Yt-C9WsXmh_.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-Ba1oMHkp-YzZn8D1q.js → VendorACHDetailsPage-DYwQERlH-B1gQMIfP.js} +1 -1
- package/dist/assets/{VendorDetailPage-CjBeVAkw-D_BTgh0F.js → VendorDetailPage-D-Mcnqod-jIU9WO5F.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-DJcyNUun-XfBIF9jc.js → VendorDomesticWireDetailsPage-sx958z_p-CRI6ZI2U.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CUWkLY0f-CuezbVxz.js → VendorFiling1099EditablePage-D0AAdqa3-D6a_Y5gP.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-XUgEai-M-D0i_iEBg.js → VendorFirstReviewPage-DS7Qb6O_-DE9J3Hnv.js} +30 -30
- package/dist/assets/{VendorInternationalWireDetailsPage-BgHCBv0S-D_ke2Imn.js → VendorInternationalWireDetailsPage-CUw0lbm5-B48sIzNH.js} +13 -13
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-axseacZL-DrQ20j5u.js → VendorInternationalWireSwiftDetailsPage-2BGGr3aV-bgtv6P0O.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-oYghWvs6-CBTS5C2m.js → VendorsAccountsSection-D5-r6xWp-BXiiVWTo.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B1his2AN-DWCRBrQ3.js → WarningsDrawerPage-BEuiclea-2arBaAmM.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-B21kawRR-DGJGfsGD.js → ZeniAccountDetailPage-DvUTbTBC-BePzTP3_.js} +31 -31
- package/dist/assets/{ZeniAccountListViewPage-D9lefqbT-aMx9U6Vt.js → ZeniAccountListViewPage-BpAa6XZc-xCgx2LuK.js} +22 -22
- package/dist/assets/ZeniAccountNavBarPieces-CBRZuAIU-D4DE3sLv.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-B8aWqCOQ-C46UIAAl.js → ZeniAccountPromoPage-BDzkOGum-ucUtzXa7.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-BmFF5yvk-ncauPk_L.js → ZeniAccountSetupPage-B6ExD1mo-DRJ8Xy53.js} +1 -1
- package/dist/assets/{ZeniCopyright-eQoaUH08-BAcaltmK.js → ZeniCopyright-BcpJPWHG-DnS0u_xy.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-B6ftMZ_m-CBjZaRui.js → ZeniTransferAmountSlider-BQDqgNKJ-Buxspfp3.js} +2 -2
- package/dist/assets/{analyticsHelper-Bns4muDg-CNix0JAa.js → analyticsHelper-BP6myd2z-CsiFRwZa.js} +1 -1
- package/dist/assets/{analyticsHelper-DIkeHXkP.js → analyticsHelper-CL3ebWyT.js} +1 -1
- package/dist/assets/{chartTypes-ZJYcsh-k-QASYidAg.js → chartTypes-BU-pRq_m-4W1rDqui.js} +1 -1
- package/dist/assets/{commonDimensions-NUQEpowf-IZPez2Zj.js → commonDimensions-BpaqG_u8-Hm0X7sCE.js} +1 -1
- package/dist/assets/{detailCommon-DMKakaa6-Bgcgnt6c.js → detailCommon-dG26UIR2-hMVwnMUq.js} +6 -6
- package/dist/assets/{downloadPdf-CNrmv_yZ-CxSqkh2v.js → downloadPdf-B5Tb5dp_-Ct6A3VYi.js} +1 -1
- package/dist/assets/{index-D3AeqRGt.js → index-C5chxI3W.js} +4203 -4371
- package/dist/assets/{mapLoadingInProgressToTreeNode-CwLhcXcQ-DE5uV0w5.js → mapLoadingInProgressToTreeNode-DOBKyY4b-Cji_pzGZ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D8iLkGEE-DaBUvlwh.js → mapSectionWithAcOnlyToTreeNode-Bja0zC1h-BgIeww8r.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CF_gEYDy-omwVP5Kf.js → mapSpacerToTreeNode-BnX1Qa3P-BdNPRcx1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Dp2QmYvb-FnBEwh3Z.js → mapTimeframeBalancesToTreeNode-BTMBlZfj-BF58Lu6L.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B672MK55-1iS28pBs.js → mapTimeframeBalancesToTreeNode-DRU0rg28-CA6THCw5.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-y-nXGJ6b.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CafUd-oV-Xm435fDX.js} +1 -1
- package/dist/assets/{play-icon-CgWP2Myd-CjzXITiB.js → play-icon-CwzVvYsB-Do7CqLGc.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DJNZCEmi-D9lE8sxN.js → toCOABalancesWithID-CTIZoP69-DeVrMVx4.js} +1 -1
- package/dist/assets/{toChartData-HYsxUPzh-CN6TOhlP.js → toChartData-yWFIkpKX-RS3uH3U9.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BgV2H9Kv-BBaiHC7Z.js → treasuryColorHelper-I90KNlm_-BYEIYIdA.js} +1 -1
- package/dist/assets/{uploadAttachment-BgjFjkkw-CHJQ_-jA.js → uploadAttachment-BIyTb3QF-DLfW32Gd.js} +35 -35
- package/dist/assets/{uploadReceipts-CwjPukNh-CnV2uz7X.js → uploadReceipts-CB79ouJi-D3aL_mpJ.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BwrF_fEr-Bl6tw_2_.js +0 -21
- package/dist/assets/ApAgingDetailPage-CsQ3DujX-DlJxm9wv.js +0 -46
- package/dist/assets/ChargeCardPromoPage-us_v89rV-BWpqYDUH.js +0 -222
- package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-DZabwxX9.js +0 -206
- package/dist/assets/CompleteProfile-BpX6H4vJ-CZDJQ04r.js +0 -52
- package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-tWYvfVXz.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BisaE6sH-CNi5QHjT.js +0 -66
- package/dist/assets/EditPeoplePage-ixJkT03_-BL4teQzP.js +0 -55
- package/dist/assets/FeaturePreviewPage-CpBX-Xic-CzzPQxyN.js +0 -11
- package/dist/assets/HelpButton-CzTfBZQj-CySfZ02w.js +0 -28
- package/dist/assets/InsightsSection-C-kpIvRH-BPjMKWaa.js +0 -27
- package/dist/assets/InvitePeoplePage-CPBMZNa--CIaNjMb9.js +0 -12
- package/dist/assets/InvoiceUploadSection-C0WzT0uv-BIhpe2Cm.js +0 -140
- package/dist/assets/LabeledAddressValue-B8awEVKI-D-PU1InD.js +0 -49
- package/dist/assets/LabeledAddressValueField-Dl5yKg2N-CEGK2Y9X.js +0 -45
- package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-CTdvPKXv.js +0 -17
- package/dist/assets/NavBarWithPicker-Bzkl4W0x-CfzrLfDY.js +0 -30
- package/dist/assets/NotificationsListConfig-CeeJpJ2p-9azM46PI.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-DY6maLGs.js +0 -207
- package/dist/assets/ReimbursementPromoPage-DQsLI50f-DvOFKYbI.js +0 -112
- package/dist/assets/StatementsPage-BM5Glizw-KJqDC7mS.js +0 -58
- package/dist/assets/TransactionVendorDetailPage-RajWBB1I-n3kajgLY.js +0 -80
- package/dist/assets/TransferDrawerPage-D-KFK0BM-BSonC9br.js +0 -362
- package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-pA_lhDcW.js +0 -506
- package/dist/assets/Vendor2FAPopup-DvWVDx58-BBDrtmPb.js +0 -1
- package/dist/assets/VerifyDevice-XUExnmR9-BVFZuTkv.js +0 -67
- package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-CS3RCOOK.js +0 -14
|
@@ -1,506 +0,0 @@
|
|
|
1
|
-
import{e as ge,I as $t,j as o,$ as P,gR as bt,M as xe,a0 as W,J as Ee,m as Ke,a4 as et,o as t,C as f,a3 as Le,L as St,am as vt,u as jt,a2 as J,bx as At,cS as tt,X as R,l as z,f_ as kt,g as S,s as Tt,h as ot,d as X,n as Y,e_ as Pt,a as Ct,c7 as zt,F as Lt,fG as Dt,q as c,br as rt,c_ as nt,bL as it,cD as Ft,cu as Mt,fa as Rt,f2 as Bt,d6 as Ot,B as It,f3 as _t,dt as Et,c0 as Nt,b$ as Vt,aR as Wt,bd as Xt,fc as Yt,fl as Gt,ab as qt}from"./index-D3AeqRGt.js";import{n as r,b as x}from"./vendor-CnQcJ2Lu.js";import{V as at}from"./PortfolioDetails-CIv1yXo2-Cn8bwh7v.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-BgV2H9Kv-BBaiHC7Z.js";const Jt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ht=1e3;function Ut({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=x.useState(a);x.useEffect(()=>{m(a)},[a]);const w=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Ht,value:l,onChange:w}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(io,{isSelected:l>=h,children:Kt(h)})},h))})]})}const Qt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Jt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Zt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Kt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
|
|
2
|
-
width: 100%;
|
|
3
|
-
&[type="range"]::-webkit-slider-runnable-track {
|
|
4
|
-
height: 2px;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&[type="range"] {
|
|
10
|
-
-webkit-appearance: none;
|
|
11
|
-
appearance: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&[type="range"]::-webkit-slider-thumb {
|
|
15
|
-
-webkit-appearance: none;
|
|
16
|
-
height: ${t.sp5};
|
|
17
|
-
width: ${t.sp5};
|
|
18
|
-
border-radius: 100%;
|
|
19
|
-
margin-top: -${t.sp3}; // Centers thumb on the track
|
|
20
|
-
box-shadow: ${t.sp0} ${t.sp0} 2px ${S.blackColor};
|
|
21
|
-
background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/slider-icon-${e.theme.mode==="dark"?"light":"dark"}.svg)`};
|
|
22
|
-
background-repeat: no-repeat;
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
}
|
|
25
|
-
`,to=r.div`
|
|
26
|
-
position: relative;
|
|
27
|
-
width: 70%;
|
|
28
|
-
margin-left: 30px;
|
|
29
|
-
margin-right: 30px;
|
|
30
|
-
margin-bottom: 20px;
|
|
31
|
-
margin-top: ${t.sp5};
|
|
32
|
-
min-height: ${t.sp8};
|
|
33
|
-
`,oo=r.div`
|
|
34
|
-
position: absolute;
|
|
35
|
-
height: 2px;
|
|
36
|
-
margin-top: -${t.sp2};
|
|
37
|
-
background-color: ${e=>e.theme.colors.hero};
|
|
38
|
-
`,ro=r.div`
|
|
39
|
-
position: absolute;
|
|
40
|
-
bottom: ${t.sp0};
|
|
41
|
-
top: ${t.sp5};
|
|
42
|
-
width: 100%;
|
|
43
|
-
display: flex;
|
|
44
|
-
justify-content: center;
|
|
45
|
-
`,no=r.span`
|
|
46
|
-
position: absolute;
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
transform: translateX(-50%);
|
|
49
|
-
`,io=r(X)`
|
|
50
|
-
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
|
|
51
|
-
white-space: nowrap;
|
|
52
|
-
`,ao=r(X)`
|
|
53
|
-
position: absolute;
|
|
54
|
-
top: -${t.sp5};
|
|
55
|
-
white-space: nowrap;
|
|
56
|
-
color: ${S.primaryDark};
|
|
57
|
-
background-color: ${S.success};
|
|
58
|
-
display: flex;
|
|
59
|
-
border-radius: ${t.sp1};
|
|
60
|
-
justify-content: center;
|
|
61
|
-
align-items: center;
|
|
62
|
-
padding: 2px ${t.sp2};
|
|
63
|
-
`,H={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),reviewContentWrapperPaddingBottom:new f(c[5],c[8]),elementsContainerPadding:new f(c[3],c[4])},Ce={pageTitle:new R("h6Regular","h5Regular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")},{common:{edit:so},dateFormat:{visual:{DMMMYYYYFormat:lo}},spendManagement:{treasury:{transferDrawer:_},billPay:{insufficientFunds:{lowBalance:co,addOrSwitchInitiateTransfer:uo,lowBalanceIn:po}}}}=xe.getLocalizedStrings(),ho=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:n})=>{const d=ge();if(d==="small"){const l=yo(e,u,n.treasuryAccount.id);return o.jsxs(o.Fragment,{children:[o.jsxs(de,{style:l.topAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(ue,{children:l.topAccountLabel}),o.jsxs(ce,{windowSize:d,children:[N(n.transferMoneyParties,l.topAccount?.id??"",!0,l.topAccount?.id===n.treasuryAccount.id,!0),o.jsxs(se,{windowSize:d,children:[l.topAccount?.label,o.jsx(le,{children:V(n.transferMoneyParties,n.treasuryAccount,l.topAccount?.id??"",!0,!0,!0)})]})]}),ae(l.topAccount,n.treasuryAccount.id,d,!1)?o.jsx(pe,{}):null]}),l.arrowDirection==="up"?o.jsx(qo,{}):o.jsx(Jo,{}),o.jsxs(de,{style:l.bottomAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(ue,{children:l.bottomAccountLabel}),o.jsxs(ce,{windowSize:d,children:[N(n.transferMoneyParties,l.bottomAccount?.id??"",!0,l.bottomAccount?.id===n.treasuryAccount.id,!0),o.jsxs(se,{windowSize:d,children:[l.bottomAccount?.label,o.jsx(le,{children:V(n.transferMoneyParties,n.treasuryAccount,l.bottomAccount?.id??"",!0,!1,!0)})]})]}),ae(l.bottomAccount,n.treasuryAccount.id,d,!0)?o.jsx(pe,{}):null]})]})}else return o.jsxs(o.Fragment,{children:[o.jsxs(de,{style:e?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(ue,{children:"Transfer Funds From"}),o.jsxs(ce,{windowSize:d,children:[N(n.transferMoneyParties,e?.id??"",!0,e?.id===n.treasuryAccount.id,!0),o.jsxs(se,{windowSize:d,children:[e?.label,o.jsx(le,{children:V(n.transferMoneyParties,n.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ae(e,n.treasuryAccount.id,d,!1)?o.jsx(pe,{}):null]}),o.jsx(Go,{}),o.jsxs(de,{style:u?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(ue,{children:"To"}),o.jsxs(ce,{windowSize:d,children:[N(n.transferMoneyParties,u?.id??"",!0,u?.id===n.treasuryAccount.id,!0),o.jsxs(se,{windowSize:d,children:[u?.label,o.jsx(le,{children:V(n.transferMoneyParties,n.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ae(u,n.treasuryAccount.id,d,!1)?o.jsx(pe,{}):null]})]})},mo=(e,a,u)=>{if(!e)return!0;if(e.id===a.id){const n=a.balance;return n?z.checkIfLowBalance(u,n):!0}if("accountBalance"in e){const n=e.accountBalance?.available;return n==null?!1:z.checkIfLowBalance(u,n)}return!1},fo=({transferDetails:e,fundDetails:a,portfolioAllocation:u,setShowReviewContent:n,onTransferClick:d,onCancelClick:l})=>{const m=ge(),w=jt(),v=J(e.fetchState),[h,i]=x.useState(!1);x.useEffect(()=>{v==="In-Progress"&&e.fetchState==="Error"&&e.error!=null?i(!0):i(!1)},[e.error]);const{fromAccount:$,toAccount:T,amount:A}=e.treasuryTransferMoneyLocalData,p=mo($,e.treasuryAccount,A);return o.jsxs(o.Fragment,{children:[o.jsxs(Po,{windowSize:m,children:[o.jsx(Mo,{windowSize:m,children:o.jsx(At,{title:"Close",enterTouchDelay:600,placement:"bottom",children:o.jsx(Ne,{"data-testid":P("nav-bar-close-transfer-review"),onClick:l})})}),o.jsx(Ro,{windowSize:m,children:_.reviewAndConfirm}),o.jsx(Xo,{windowSize:m,children:o.jsx(tt,{amount:A,alwaysShowDecimal:!0,integerStyles:Ce.integerStyles.styleObject(m),decimalStyles:Ce.decimalStyles.styleObject(m)})}),o.jsx(Do,{}),o.jsx(Yo,{children:o.jsxs(o.Fragment,{children:[_.review.prefix,`"${T?.label}" `,_.success.midfix,` "${$?.label}" `,_.review.suffix.replace("__date__",z.zeniDate(z.getNextNthWorkingDay(z.dateNow().toDate(),[0,6],1).toDateString()).format(lo))]})}),p?o.jsx(kt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:po.replace("__account__",$?.id===e.treasuryAccount.id?$?.label??"":`${$?.label??""} ${$?.maskedAccountNumber??""}`),description:uo}):null,h?o.jsx(To,{children:o.jsxs(vo,{children:[o.jsxs(Co,{children:[o.jsx(Lo,{}),o.jsxs(jo,{children:[o.jsx(Ao,{children:e.error?.title}),o.jsx(ko,{children:e.error?.message})]})]}),o.jsx(zo,{children:o.jsx(Ne,{"data-testid":P("close-error-transfer-review"),onClick:()=>{i(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(Fo,{windowSize:m,children:o.jsxs($o,{windowSize:m,children:[o.jsx(bo,{windowSize:m,children:o.jsx(ho,{fromAccount:$,themeContext:w,toAccount:T,transferDetails:e})}),o.jsx(So,{children:o.jsx(at,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:xo(e),fundAllocations:wo(e),page:"transfer review"})})]})})]}),o.jsx(et,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:_.review.footNote,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:so,onClick:()=>{i(!1),n(!1)},style:{minWidth:94}},primaryBtn:{label:_.transferBtn,onClick:d,isLoading:e.fetchState==="In-Progress",isDisabled:p,style:{minWidth:94}}})]})},N=(e,a,u,n,d)=>{if(n===!0)return o.jsx(Ve,{isOptionSelected:u,isForReview:d,children:o.jsx(We,{color:S.brandColorGoldDark})});if(a==="")return o.jsx(Wo,{isForReview:d,children:o.jsx(Mt,{})});const l=e.find(w=>w.id===a),m=e.findIndex(w=>w.id===a);if(l!=null){if(l.accType==="depositAccount")return o.jsx(Ve,{isOptionSelected:u,isForReview:d,children:o.jsx(We,{color:Rt(m)})});if(l.accType==="paymentAccount")return l.logo!==void 0&&(l.logo.base64||l.logo.url)?o.jsx(Eo,{src:go(l.logo),isOptionSelected:u,isForReview:d,loading:"lazy"}):o.jsx(No,{isOptionSelected:u,isForReview:d,children:o.jsx(Vo,{})})}return null},V=(e,a,u,n,d,l,m)=>{if(!u)return null;if(u===a.id)return(l||!n)&&a.balance?o.jsx(Ae,{children:W("0,0[.]00",a.balance)}):null;const w=e.find(h=>h.id===u);let v=!1;return d===!0&&m!=null&&w?.accountBalance?.available?.amount!=null&&(v=z.checkIfLowBalance(m,w.accountBalance.available)),n===!0&&!l?o.jsx(Oo,{children:w?.maskedAccountNumber}):o.jsxs(Bo,{className:"option-sublabel",children:[o.jsx(Ae,{children:w?.maskedAccountNumber}),w?.accountBalance?.available?o.jsx(_o,{className:"dot"}):null,w?.accountBalance?.available?o.jsxs(Ae,{children:[W("0,0[.]00",w.accountBalance.available),v?o.jsx(Io,{children:co}):null]}):null,w?.balanceFetchStatus?.fetchState==="In-Progress"?o.jsx(Ke,{size:"Small",start:!0}):null]})},go=e=>e.base64!==void 0?`${Bt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",xo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},wo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id===e.treasuryAccount.id)return e.treasuryAccount.fundAllocations},yo=(e,a,u)=>e?.id===u?{topAccount:a,bottomAccount:e,topAccountLabel:"To",bottomAccountLabel:"Transfer Funds From",arrowDirection:"up"}:{topAccount:e,bottomAccount:a,topAccountLabel:"Transfer Funds From",bottomAccountLabel:"To",arrowDirection:"down"},ae=(e,a,u,n)=>u==="small"?e?.id===a&&n:e?.id===a,se=r.div`
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
`,le=r(X)`
|
|
67
|
-
color: ${e=>e.theme.colors.hero};
|
|
68
|
-
`,ce=r(Y)`
|
|
69
|
-
display: flex;
|
|
70
|
-
align-items: center;
|
|
71
|
-
`,$o=r.div`
|
|
72
|
-
display: flex;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
width: 100%;
|
|
75
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
76
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
77
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
78
|
-
border-radius: ${t.sp2};
|
|
79
|
-
padding: ${e=>`${H.elementsContainerPadding.valuePx(e.windowSize)}`};
|
|
80
|
-
gap: ${t.sp4};
|
|
81
|
-
${e=>e.windowSize==="small"&&`
|
|
82
|
-
width: auto;
|
|
83
|
-
`}
|
|
84
|
-
`,bo=r.div`
|
|
85
|
-
display: flex;
|
|
86
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
87
|
-
justify-content: space-between;
|
|
88
|
-
align-items: ${e=>e.windowSize==="small"?"stretch":"center"};
|
|
89
|
-
width: 100%;
|
|
90
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
91
|
-
`,de=r.div`
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-direction: column;
|
|
94
|
-
gap: ${t.sp1};
|
|
95
|
-
padding: ${t.sp2} ${t.sp3};
|
|
96
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
97
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
98
|
-
border-radius: ${t.sp2};
|
|
99
|
-
width: ${e=>e.windowSize==="small"?"auto":"288px"};
|
|
100
|
-
`,So=r.div`
|
|
101
|
-
padding: ${t.sp2} ${t.sp3};
|
|
102
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
103
|
-
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
104
|
-
border-radius: ${t.sp2};
|
|
105
|
-
`,vo=r.div`
|
|
106
|
-
display: flex;
|
|
107
|
-
width: 100%;
|
|
108
|
-
justify-content: space-between;
|
|
109
|
-
padding: ${t.sp3} ${t.sp4};
|
|
110
|
-
background-color: ${S.importantLight};
|
|
111
|
-
border-radius: ${t.sp2};
|
|
112
|
-
`,jo=r.div`
|
|
113
|
-
display: flex;
|
|
114
|
-
flex-direction: column;
|
|
115
|
-
margin-left: ${t.sp2};
|
|
116
|
-
`,Ao=r(it)`
|
|
117
|
-
color: ${S.important};
|
|
118
|
-
`,ko=r(Y)`
|
|
119
|
-
color: ${S.important};
|
|
120
|
-
`,To=r.div`
|
|
121
|
-
margin-top: ${t.sp3};
|
|
122
|
-
display: flex;
|
|
123
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
124
|
-
justify-content: space-between;
|
|
125
|
-
padding: ${t.sp3} ${t.sp4};
|
|
126
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
127
|
-
border-radius: ${t.sp2};
|
|
128
|
-
box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
129
|
-
`,Po=r.div`
|
|
130
|
-
height: auto;
|
|
131
|
-
padding-left: ${e=>`${H.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
132
|
-
padding-right: ${e=>`${H.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
133
|
-
margin-bottom: auto;
|
|
134
|
-
`,Co=r.div`
|
|
135
|
-
display: flex;
|
|
136
|
-
align-items: flex-start;
|
|
137
|
-
`,zo=r.div``,Lo=r(nt)`
|
|
138
|
-
width: ${t.sp4};
|
|
139
|
-
height: ${t.sp4};
|
|
140
|
-
color: ${S.important};
|
|
141
|
-
`,Ne=r(Le)`
|
|
142
|
-
cursor: pointer;
|
|
143
|
-
color: ${e=>e.theme.colors.hero};
|
|
144
|
-
width: ${t.sp4};
|
|
145
|
-
height: ${t.sp4};
|
|
146
|
-
min-height: ${t.sp4};
|
|
147
|
-
&:hover {
|
|
148
|
-
color: ${e=>e.theme.colors.primary};
|
|
149
|
-
}
|
|
150
|
-
`,Do=r.div`
|
|
151
|
-
display: flex;
|
|
152
|
-
flex: 1;
|
|
153
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
154
|
-
min-height: 1px;
|
|
155
|
-
max-height: 1px;
|
|
156
|
-
`,ue=r(X)`
|
|
157
|
-
color: ${e=>e.theme.colors.hero};
|
|
158
|
-
`,Fo=r.div`
|
|
159
|
-
display: flex;
|
|
160
|
-
flex-direction: column;
|
|
161
|
-
padding-top: ${t.sp3};
|
|
162
|
-
padding-bottom: ${e=>`${H.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
|
|
163
|
-
`,Mo=r.div`
|
|
164
|
-
display: flex;
|
|
165
|
-
flex-direction: row;
|
|
166
|
-
justify-content: flex-end;
|
|
167
|
-
align-items: center;
|
|
168
|
-
width: 100%;
|
|
169
|
-
top: ${t.sp0};
|
|
170
|
-
padding: ${e=>`${H.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
171
|
-
z-index: 2;
|
|
172
|
-
background-color: transparent;
|
|
173
|
-
`,Ro=r(ot)`
|
|
174
|
-
${e=>`${Ce.pageTitle.style(e.windowSize)}`};
|
|
175
|
-
color: ${e=>e.theme.colors.primary};
|
|
176
|
-
padding: ${t.sp3} ${t.sp0} ${t.sp2} ${t.sp0};
|
|
177
|
-
${e=>e.windowSize==="small"&&`
|
|
178
|
-
padding-bottom: ${t.sp0};
|
|
179
|
-
`}
|
|
180
|
-
`,Bo=r(X)`
|
|
181
|
-
color: ${e=>e.theme.colors.hero};
|
|
182
|
-
display: flex;
|
|
183
|
-
flex-direction: row;
|
|
184
|
-
align-items: center;
|
|
185
|
-
gap: ${t.sp2};
|
|
186
|
-
`,Oo=r.span`
|
|
187
|
-
margin-left: ${t.sp2};
|
|
188
|
-
`,Ae=r.div``,Io=r(Xt)`
|
|
189
|
-
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
190
|
-
margin-left: ${t.sp1};
|
|
191
|
-
`,_o=r.div`
|
|
192
|
-
width: ${t.sp1};
|
|
193
|
-
height: ${t.sp1};
|
|
194
|
-
min-width: ${t.sp1};
|
|
195
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
196
|
-
border-radius: 50%;
|
|
197
|
-
`,Eo=r.img`
|
|
198
|
-
display: flex;
|
|
199
|
-
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
200
|
-
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
201
|
-
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
202
|
-
margin-right: ${t.sp2};
|
|
203
|
-
`,No=r.div`
|
|
204
|
-
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
205
|
-
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
206
|
-
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
207
|
-
margin-right: ${t.sp2};
|
|
208
|
-
`,Vo=r(Gt)`
|
|
209
|
-
min-width: inherit;
|
|
210
|
-
width: inherit;
|
|
211
|
-
height: inherit;
|
|
212
|
-
margin-right: ${t.sp2};
|
|
213
|
-
`,Ve=r.div`
|
|
214
|
-
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
215
|
-
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
216
|
-
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
217
|
-
margin-right: ${t.sp2};
|
|
218
|
-
`,We=r(Yt)`
|
|
219
|
-
min-width: inherit;
|
|
220
|
-
width: inherit;
|
|
221
|
-
height: inherit;
|
|
222
|
-
margin-right: ${t.sp2};
|
|
223
|
-
`,Wo=r.div`
|
|
224
|
-
width: ${e=>e.isForReview?t.sp6:t.sp4};
|
|
225
|
-
height: ${e=>e.isForReview?t.sp6:t.sp4};
|
|
226
|
-
margin-right: 12px;
|
|
227
|
-
margin-left: ${t.sp1};
|
|
228
|
-
color: ${e=>e.theme.colors.hero};
|
|
229
|
-
`,Xo=r(rt)`
|
|
230
|
-
color: ${e=>e.theme.colors.primary};
|
|
231
|
-
margin: ${t.sp2} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
232
|
-
${e=>e.windowSize==="small"&&`
|
|
233
|
-
margin-top: ${t.sp1};
|
|
234
|
-
margin-bottom: ${t.sp1};
|
|
235
|
-
`}
|
|
236
|
-
`,Yo=r(Y)`
|
|
237
|
-
color: ${e=>e.theme.colors.hero};
|
|
238
|
-
margin-top: ${t.sp3};
|
|
239
|
-
`,Go=r(Wt)`
|
|
240
|
-
width: ${t.sp4};
|
|
241
|
-
height: ${t.sp4};
|
|
242
|
-
color: ${e=>e.theme.colors.hero};
|
|
243
|
-
`,qo=r(Nt)`
|
|
244
|
-
width: ${t.sp4};
|
|
245
|
-
height: ${t.sp4};
|
|
246
|
-
color: ${e=>e.theme.colors.hero};
|
|
247
|
-
align-self: center;
|
|
248
|
-
`,Jo=r(Vt)`
|
|
249
|
-
width: ${t.sp4};
|
|
250
|
-
height: ${t.sp4};
|
|
251
|
-
color: ${e=>e.theme.colors.hero};
|
|
252
|
-
align-self: center;
|
|
253
|
-
`,pe=r.div`
|
|
254
|
-
width: 1px;
|
|
255
|
-
height: 25px;
|
|
256
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
257
|
-
position: absolute;
|
|
258
|
-
right: 50%;
|
|
259
|
-
bottom: -25px;
|
|
260
|
-
`,{common:ke,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:Ho},billPay:{insufficientFunds:Xe}}}=xe.getLocalizedStrings(),st="amount",Uo="transferTo",Qo="transferFrom",E="transferDetails",lt="transferDetailPage",Te=(e,a)=>`${e}.${a}`,ct=e=>`${e}_form`,g={largeLabelWidth:new f(120,120,160),labeleMarginLeft:new f(c[0],c[0]),labelMarginRight:new f(c[3],c[3]),labeleMarginBottom:new f(c[2],c[0]),labeledFieldPaddingLeft:new f(c[3],c[0]),labeledFieldPaddingRight:new f(c[3],c[2]),labeledFieldPaddingTop:new f(c[3],c[3]),labeledFieldPaddingBottom:new f(c[3],c[2]),infoLabelPaddingRight:new f(c[0],c[3]),infoLabelMarginTop:new f(c[1],c[0]),portfolioContainerPadding:new f(c[3],c[4]),rowContentSelectPaddingLeft:new f(c[3],c[4]),formFieldPaddingRight:new f(0,c[2])},me={yieldEarned:new R("smallMedium","standardMedium"),calculatorFooterText:new R("extraSmallRegular","smallRegular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")};function Zo({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:n,maxInsuredAmount:d,plaidConnectionDetails:l,onSaveChangesToLocalStore:m,onReviewClick:w,onEstablishConnectionClick:v,onFetchLinkTokenClick:h}){const i=ge(),$=g.largeLabelWidth.value(i),[T,A]=x.useState(!1),[p,C]=x.useState(!1),[B,Q]=x.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),O=a.reduce((s,y)=>{const j=y.yield;return Math.max(s,j)},0),[Z,K]=x.useState(he(B,O)),b=l.link_account_no_microdeposit,[L,we]=x.useState(b.linkToken??null),[ee,De]=x.useState(!1),[Fe,Me]=x.useState(!1),ye=e.transferMoneyPartiesFetchState,Re=J(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Be=J($e),Oe=J(be),Se=e.transferMoneyParties.map(s=>s.id),ve=J(Se),dt=x.useCallback(s=>{v?.(s),Me(!1),De(!1)},[v]),ut=x.useCallback((s,y)=>{s!=null&&console.log("Plaid Connection Error",s,y)},[]),{open:te,ready:G}=Pt({token:L,onSuccess:dt,onExit:ut}),q=x.useCallback(s=>{s.preventDefault(),s.stopPropagation(),G?te():De(!0)},[te,G]),I=Ct({mode:"all",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Ye(e,n,q),[e,n])}),{isValid:pt}=I.formState;x.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==L&&we(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,L]),x.useEffect(()=>{b.linkToken===L&&b.fetchStatus.fetchState==="Completed"&&G&&Me(!0)},[G,L,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),x.useEffect(()=>{Fe&&ee&&te()},[Fe,te,ee]),x.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),x.useEffect(()=>{const s=ve!=null&&JSON.stringify(ve)!==JSON.stringify(Se);(Re==="In-Progress"&&ye==="Completed"||Be!==$e||Oe!==be||s)&&I.reset(Ye(e,n,q))},[G,L,b.fetchStatus.fetchState,Re,ye,Be,Oe,be,$e,ve,Se,I,e,n,q]);const ht=()=>e.transferMoneyParties.find(s=>s.id!==e.treasuryAccount.id&&s.accType==="depositAccount"),mt=()=>{const s=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(y=>y.id===s)},ft=async(s,y)=>{if(s!=null){const j={...y},oe=j[E].transferFrom.selectedOption,re=j[E].transferTo.selectedOption;let ne=e.transferMoneyParties.find(je=>je.id===oe),ie=e.transferMoneyParties.find(je=>je.id===re);oe===e.treasuryAccount.id&&(ne=e.treasuryAccount),re===e.treasuryAccount.id&&(ie=e.treasuryAccount);const _e={amount:j[E].amount??0,currencyCode:"USD",currencySymbol:"$"};s.includes("transferFrom")?oe===e.treasuryAccount.id?re===e.treasuryAccount.id&&(ie=ht()):ie=e.treasuryAccount:s.includes("transferTo")&&(re===e.treasuryAccount.id?oe===e.treasuryAccount.id&&(ne=mt()):ne=e.treasuryAccount);const yt={amount:_e,fromAccount:ne,toAccount:ie};Q(_e.amount),m(yt)}};x.useEffect(()=>{const s=I.watch((y,{name:j})=>{j!=null&&y!=null&&zt(()=>ft(j,y))});return()=>{s.unsubscribe()}}),x.useEffect(()=>{K(he(B,O))},[B,O]);const gt=I.handleSubmit(()=>{pt&&w()}),{fromAccount:xt,toAccount:Ie,amount:D}=e.treasuryTransferMoneyLocalData,wt=s=>{if(!s||!D.amount)return"";const y=e.transferMoneyParties.find(j=>j.id===s);if(s===e.treasuryAccount.id){const j=e.treasuryAccount.balance;if(j&&z.checkIfLowBalance(D,j))return Xe.addMoney}else if(y?.accountBalance?.available&&z.checkIfLowBalance(D,y.accountBalance.available))return Xe.addMoney;return""};return o.jsxs(o.Fragment,{children:[T?o.jsx(Ko,{children:o.jsxs(tr,{children:[o.jsxs(or,{children:[o.jsx(nr,{}),o.jsxs(ir,{children:[o.jsx(ar,{children:e.error?.title}),o.jsx(sr,{children:e.error?.message})]})]}),o.jsx(rr,{children:o.jsx(ur,{"data-testid":P("amount-details-error-close"),onClick:()=>{A(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(lr,{windowSize:i,children:o.jsx(tt,{amount:D,integerStyles:me.integerStyles.styleObject(i),decimalStyles:me.decimalStyles.styleObject(i),alwaysShowDecimal:!0})}),o.jsx(Lt,{...I,children:o.jsxs(er,{id:ct(lt),onSubmit:gt,children:[o.jsxs(cr,{children:[o.jsx(ze,{size:i,children:o.jsx(Ge,{label:{label:ke.labels.transferFrom,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Te(E,Qo),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(s,y)=>N(e.transferMoneyParties,s,y,s===e.treasuryAccount.id,!1),valueToSubLabels:(s,y)=>V(e.transferMoneyParties,e.treasuryAccount,s,y,!0,!1,D),defaultValue:{selectedOption:xt?.id,allOptions:fe(e,!0,n,!0,q,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}},valueToAdditionalLabel:wt})}),!n&&o.jsxs(o.Fragment,{children:[o.jsx(Pe,{}),o.jsx(ze,{size:i,children:o.jsx(Ge,{label:{label:ke.labels.transferTo,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Te(E,Uo),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(s,y)=>N(e.transferMoneyParties,s,y,s===e.treasuryAccount.id,!1),valueToSubLabels:(s,y)=>V(e.transferMoneyParties,e.treasuryAccount,s,y,!1,!1),defaultValue:{selectedOption:Ie?.id,allOptions:fe(e,!1,n,!0,q,!1)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})]}),o.jsx(Pe,{}),o.jsx(Dt,{showAdditionalInfoLabel:!1,label:{label:ke.labels.amount,width:$},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:g.formFieldPaddingRight.valuePx(i),width:"auto"},formattedTextField:{type:"number",name:Te(E,st),defaultValue:D.amount===0?void 0:D.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},placeholder:M.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),n&&o.jsxs(o.Fragment,{children:[o.jsx(Pe,{}),o.jsx(dr,{size:i,children:o.jsx(at,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:D,page:"fund transfer"})})]})]}),!n&&Ie?.accType==="treasuryAccount"&&o.jsxs(pr,{children:[p?o.jsxs(hr,{children:[o.jsx(mr,{windowSize:i,children:M.transferDrawer.calculator.heading.replace("__amount__",W("0,0.[00]a",{amount:d,currencySymbol:"$"})).replace("__rate__",O.toString())}),o.jsx(Ut,{interestRate:O,transferAmount:B,setYieldEarned:K,setTransferAmount:Q})]}):null,o.jsxs(gr,{windowSize:i,children:[o.jsxs(yr,{windowSize:i,children:[o.jsx(xr,{children:o.jsx(fr,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${W("0,0",{amount:Z,currencySymbol:"$"})}`})}),o.jsx(wr,{windowSize:i}),o.jsx($r,{children:`${M.transferDrawer.calculator.footerText.forTotalDeposit} ${W("0,0",{amount:B,currencySymbol:"$"})}`})]}),p?o.jsxs(Je,{windowSize:i,onClick:()=>C(!1),"data-testid":P("calculator-footer-close"),children:[o.jsx(qe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),o.jsx(br,{className:"calculatorFooterArrowIcon"})]}):o.jsxs(Je,{windowSize:i,onClick:()=>C(!0),"data-testid":P("calculator-footer-show"),children:[o.jsx(qe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.showYieldCalculator}),o.jsx(Sr,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const fe=(e,a,u,n=!0,d,l=!1,m,w)=>{const v=e.treasuryTransferMoneyLocalData.fromAccount?.id,h=e.treasuryTransferMoneyLocalData.toAccount?.id,i=e.transferMoneyParties.find(p=>p.id===v)||e.treasuryAccount,$=e.transferMoneyParties.find(p=>p.id===h)||e.treasuryAccount;let T=e.transferMoneyParties;a||(T=T.filter(p=>p.accType!=="paymentAccount"));const A=T.map(p=>{const C={label:p.label,value:p.id};return n&&(a?C.isDisabled=p.id===h||p.accType==="paymentAccount"&&$?.accType==="paymentAccount":C.isDisabled=p.id===v||p.accType==="paymentAccount"&&i?.accType==="paymentAccount"),C});if(!u){const p={label:"Treasury",value:e.treasuryAccount.id,isDisabled:!1};n&&(a?p.isDisabled=!1:p.isDisabled=e.treasuryAccount.id===v),a?A.push(p):A.unshift(p)}if(l&&d){const p={label:Ho.transferDrawer.selectAddAccount,value:"",type:"button",onClick:d};A.push(p)}return A},Ye=(e,a,u)=>{const{fromAccount:n,toAccount:d,amount:l}=e.treasuryTransferMoneyLocalData;return{transferDetails:{[st]:l.amount===0?void 0:l.amount,transferFrom:{allOptions:fe(e,!0,a,!0,u,!0),selectedOption:n!=null?n.id:e.primaryPaymentAccount?.paymentAccountId},transferTo:{allOptions:fe(e,!1,a,!0,u,!1),selectedOption:d?.id}}}},Ko=r.div`
|
|
261
|
-
margin-top: ${t.sp3};
|
|
262
|
-
display: flex;
|
|
263
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
264
|
-
justify-content: space-between;
|
|
265
|
-
padding: ${t.sp3} ${t.sp4};
|
|
266
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
267
|
-
border-radius: ${t.sp2};
|
|
268
|
-
box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
269
|
-
`,er=r.form`
|
|
270
|
-
display: flex;
|
|
271
|
-
flex-direction: column;
|
|
272
|
-
justify-content: center;
|
|
273
|
-
align-items: center;
|
|
274
|
-
`,tr=r.div`
|
|
275
|
-
display: flex;
|
|
276
|
-
width: 100%;
|
|
277
|
-
justify-content: space-between;
|
|
278
|
-
padding: ${t.sp3} ${t.sp4};
|
|
279
|
-
background-color: ${S.importantLight};
|
|
280
|
-
border-radius: ${t.sp2};
|
|
281
|
-
`,or=r.div`
|
|
282
|
-
display: flex;
|
|
283
|
-
align-items: flex-start;
|
|
284
|
-
`,rr=r.div``,nr=r(nt)`
|
|
285
|
-
width: ${t.sp4};
|
|
286
|
-
height: ${t.sp4};
|
|
287
|
-
color: ${S.important};
|
|
288
|
-
`,ir=r.div`
|
|
289
|
-
display: flex;
|
|
290
|
-
flex-direction: column;
|
|
291
|
-
margin-left: ${t.sp2};
|
|
292
|
-
`,ar=r(it)`
|
|
293
|
-
color: ${S.important};
|
|
294
|
-
`,sr=r(Y)`
|
|
295
|
-
color: ${S.important};
|
|
296
|
-
`,lr=r(rt)`
|
|
297
|
-
color: ${e=>e.theme.colors.primary};
|
|
298
|
-
margin: ${t.sp5} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
299
|
-
${e=>e.windowSize==="small"&&`
|
|
300
|
-
margin-top: ${t.sp1};
|
|
301
|
-
margin-bottom: ${t.sp1};
|
|
302
|
-
`}
|
|
303
|
-
`,Ge=r(Ft)`
|
|
304
|
-
border-radius: ${t.sp2};
|
|
305
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
306
|
-
`,cr=r.div`
|
|
307
|
-
display: flex;
|
|
308
|
-
flex-direction: column;
|
|
309
|
-
width: 100%;
|
|
310
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
311
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
312
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
313
|
-
border-radius: ${t.sp2};
|
|
314
|
-
`,Pe=r.div`
|
|
315
|
-
display: flex;
|
|
316
|
-
flex: 1;
|
|
317
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
318
|
-
min-height: 1px;
|
|
319
|
-
max-height: 1px;
|
|
320
|
-
`,ze=r.div`
|
|
321
|
-
display: flex;
|
|
322
|
-
flex-direction: row;
|
|
323
|
-
padding: ${t.sp2};
|
|
324
|
-
padding-left: ${({size:e})=>g.rowContentSelectPaddingLeft.valuePx(e)};
|
|
325
|
-
justify-content: space-between;
|
|
326
|
-
color: ${e=>e.theme.colors.hero};
|
|
327
|
-
&:hover {
|
|
328
|
-
z-index: 1;
|
|
329
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
330
|
-
.select-control {
|
|
331
|
-
background-color: ${e=>e.theme.colors.background};
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
&:focus-within {
|
|
335
|
-
border-color: ${e=>e.theme.colors.primary};
|
|
336
|
-
color: ${e=>e.theme.colors.primary};
|
|
337
|
-
z-index: 2;
|
|
338
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
339
|
-
}
|
|
340
|
-
:first-of-type {
|
|
341
|
-
border-top-left-radius: inherit;
|
|
342
|
-
border-top-right-radius: inherit;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
${({size:e})=>e==="small"&&`
|
|
346
|
-
.select-value-container {
|
|
347
|
-
margin-right: ${t.sp1} !important;
|
|
348
|
-
}
|
|
349
|
-
`}
|
|
350
|
-
`,dr=r(ze)`
|
|
351
|
-
padding: ${({size:e})=>g.portfolioContainerPadding.valuePx(e)};
|
|
352
|
-
padding-top: ${t.sp2};
|
|
353
|
-
`,ur=r(Le)`
|
|
354
|
-
cursor: pointer;
|
|
355
|
-
color: ${e=>e.theme.colors.hero};
|
|
356
|
-
width: ${t.sp4};
|
|
357
|
-
height: ${t.sp4};
|
|
358
|
-
min-height: ${t.sp4};
|
|
359
|
-
&:hover {
|
|
360
|
-
color: ${e=>e.theme.colors.primary};
|
|
361
|
-
}
|
|
362
|
-
`,pr=r.div`
|
|
363
|
-
margin-bottom: ${t.sp6};
|
|
364
|
-
width: 90%;
|
|
365
|
-
`,hr=r.div`
|
|
366
|
-
background-color: ${e=>e.theme.colors.background};
|
|
367
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
368
|
-
border-top: none;
|
|
369
|
-
min-height: 182px;
|
|
370
|
-
display: flex;
|
|
371
|
-
justify-content: center;
|
|
372
|
-
align-items: center;
|
|
373
|
-
flex-direction: column;
|
|
374
|
-
`,mr=r(Y)`
|
|
375
|
-
color: ${e=>e.theme.colors.hero};
|
|
376
|
-
margin: ${e=>e.windowSize==="small"?t.sp3:`${t.sp3} ${t.sp8}`};
|
|
377
|
-
white-space: pre-line;
|
|
378
|
-
text-align: center;
|
|
379
|
-
`,fr=r.div`
|
|
380
|
-
${e=>me.yieldEarned.style(e.windowSize)}
|
|
381
|
-
color: ${S.success};
|
|
382
|
-
white-space: nowrap;
|
|
383
|
-
`,gr=r.div`
|
|
384
|
-
display: flex;
|
|
385
|
-
align-items: center;
|
|
386
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
387
|
-
justify-content: space-between;
|
|
388
|
-
padding: ${t.sp2} ${t.sp3};
|
|
389
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
390
|
-
border-bottom-right-radius: ${t.sp1};
|
|
391
|
-
border-bottom-left-radius: ${t.sp1};
|
|
392
|
-
`,xr=r.div`
|
|
393
|
-
display: flex;
|
|
394
|
-
flex-direction: row;
|
|
395
|
-
align-items: center;
|
|
396
|
-
`,qe=r.div`
|
|
397
|
-
${e=>me.calculatorFooterText.style(e.windowSize)}
|
|
398
|
-
color: ${e=>e.theme.colors.hero};
|
|
399
|
-
cursor: pointer;
|
|
400
|
-
`,Je=r.div`
|
|
401
|
-
display: flex;
|
|
402
|
-
flex-direction: row;
|
|
403
|
-
align-items: center;
|
|
404
|
-
gap: 6px;
|
|
405
|
-
align-self: ${e=>e.windowSize==="small"?"flex-end":"center"};
|
|
406
|
-
&:hover {
|
|
407
|
-
.calculatorFooterLeftText {
|
|
408
|
-
color: ${e=>e.theme.colors.primary};
|
|
409
|
-
}
|
|
410
|
-
.calculatorFooterArrowIcon {
|
|
411
|
-
color: ${e=>e.theme.colors.primary};
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
`,wr=r.div`
|
|
415
|
-
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
416
|
-
width: ${t.sp1};
|
|
417
|
-
height: ${t.sp1};
|
|
418
|
-
min-width: ${t.sp1};
|
|
419
|
-
margin: 0 ${t.sp2};
|
|
420
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
421
|
-
border-radius: 50%;
|
|
422
|
-
`,yr=r.div`
|
|
423
|
-
display: flex;
|
|
424
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
425
|
-
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
426
|
-
width: ${e=>e.windowSize==="small"?"100%":"unset"};
|
|
427
|
-
`,$r=r(It)`
|
|
428
|
-
color: ${e=>e.theme.colors.hero};
|
|
429
|
-
`,br=r(_t)`
|
|
430
|
-
cursor: pointer;
|
|
431
|
-
width: 12px;
|
|
432
|
-
height: 12px;
|
|
433
|
-
min-width: 12px;
|
|
434
|
-
min-height: 12px;
|
|
435
|
-
color: ${e=>e.theme.colors.hero};
|
|
436
|
-
`,Sr=r(Et)`
|
|
437
|
-
cursor: pointer;
|
|
438
|
-
width: 12px;
|
|
439
|
-
height: 12px;
|
|
440
|
-
min-width: 12px;
|
|
441
|
-
min-height: 12px;
|
|
442
|
-
color: ${e=>e.theme.colors.hero};
|
|
443
|
-
`,U={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),successContentMargin:new f(c[3],c[12]),buttonTrayGap:new f(c[4],c[5])},vr={formTitle:new R("h6Regular","h5Regular")},{common:He,spendManagement:{treasury:k}}=xe.getLocalizedStrings(),Xr=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:n,isFirstTransfer:d,plaidConnectionDetails:l,onSaveChangesToLocalStore:m,onTransferClick:w,onAnotherTransferClick:v,onCancelClick:h,setShowReviewContent:i,onReviewClick:$,onEstablishConnectionClick:T,onFetchLinkTokenClick:A})=>{const p=ge(),{fundsData:C,currentAllocation:B,fundAllocationOptions:Q,fetchState:O}=a,Z=Q.find(ee=>$t(ee.allocation,B))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},K=()=>O==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:b,toAccount:L,amount:we}=e.treasuryTransferMoneyLocalData;return o.jsx(kr,{windowSize:p,children:e.fetchState==="Completed"?o.jsxs(Ue,{windowSize:p,isTransferCompleted:!0,children:[o.jsx(Qe,{windowSize:p,children:o.jsx(Ze,{"data-testid":P("cross-transfer-success-close-button"),onClick:()=>{h()}})}),o.jsxs(zr,{windowSize:p,children:[o.jsx(bt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),o.jsx(Tr,{children:o.jsxs(o.Fragment,{children:[k.transferDrawer.success.prefix,o.jsx(Pr,{children:W("0,0.[00]",we)}),k.transferDrawer.success.midfix,`"${b?.label}"`,k.transferDrawer.success.midfix2,`"${L?.label}".`]})}),o.jsxs(Cr,{windowSize:p,children:[o.jsx(Ee,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":P("another-transfer-button","treasury"),onClick:()=>{v()},style:{minWidth:200}}),o.jsx(Ee,{variant:"primary",label:k.transferDrawer.backToTreasury,"data-testid":P("back-to-treasury-button"),onClick:()=>{h()},style:{minWidth:200}})]})]})]}):u?o.jsx(fo,{transferDetails:e,setShowReviewContent:i,onTransferClick:w,fundDetails:C,portfolioAllocation:Z,onCancelClick:h}):o.jsxs(o.Fragment,{children:[o.jsxs(Ue,{windowSize:p,isTransferCompleted:!1,children:[o.jsx(Qe,{windowSize:p,children:o.jsx(Ze,{"data-testid":P("cross-amount-details-close-button"),onClick:()=>{h()}})}),p==="small"?o.jsx(Lr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}):o.jsx(Dr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}),p==="small"?o.jsx(Ar,{children:k.transferDrawer.subTitle}):o.jsx(jr,{children:k.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?o.jsx(Zo,{onSaveChangesToLocalStore:m,transferDetails:e,onReviewClick:$,fundDetails:C,portfolioAllocation:Z,isFirstTransfer:d,maxInsuredAmount:n,plaidConnectionDetails:l,onEstablishConnectionClick:T,onFetchLinkTokenClick:A}):o.jsx(Ke,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),K()?o.jsx(et,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:ct(lt),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:He.review},cancelBtn:{label:He.cancel,onClick:()=>{h()}}}):null]})})},jr=r(Y)`
|
|
444
|
-
color: ${e=>e.theme.colors.hero};
|
|
445
|
-
`,Ar=r(X)`
|
|
446
|
-
color: ${e=>e.theme.colors.hero};
|
|
447
|
-
`,kr=r.div`
|
|
448
|
-
display: flex;
|
|
449
|
-
flex-direction: column;
|
|
450
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
451
|
-
overflow-x: hidden;
|
|
452
|
-
height: 100vh;
|
|
453
|
-
width: 100%;
|
|
454
|
-
`,Tr=r(St)`
|
|
455
|
-
color: ${e=>e.theme.colors.primary};
|
|
456
|
-
text-align: center;
|
|
457
|
-
`,Pr=r(vt)`
|
|
458
|
-
display: inline;
|
|
459
|
-
`,Ue=r.div`
|
|
460
|
-
height: ${e=>e.isTransferCompleted?"100%":"auto"};
|
|
461
|
-
padding-left: ${e=>`${U.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
462
|
-
padding-right: ${e=>`${U.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
463
|
-
margin-bottom: auto;
|
|
464
|
-
`,Cr=r.div`
|
|
465
|
-
display: flex;
|
|
466
|
-
justify-content: center;
|
|
467
|
-
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
468
|
-
margin-top: ${t.sp6};
|
|
469
|
-
gap: ${e=>`${U.buttonTrayGap.valuePx(e.windowSize)}`};
|
|
470
|
-
`,zr=r.div`
|
|
471
|
-
height: 80%;
|
|
472
|
-
display: flex;
|
|
473
|
-
flex-direction: column;
|
|
474
|
-
justify-content: center;
|
|
475
|
-
margin: ${e=>`${t.sp0} ${U.successContentMargin.valuePx(e.windowSize)}`};
|
|
476
|
-
align-items: center;
|
|
477
|
-
`,Qe=r.div`
|
|
478
|
-
display: flex;
|
|
479
|
-
flex-direction: row-reverse;
|
|
480
|
-
justify-content: space-between;
|
|
481
|
-
align-items: center;
|
|
482
|
-
width: 100%;
|
|
483
|
-
top: ${t.sp0};
|
|
484
|
-
padding: ${e=>`${U.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
485
|
-
z-index: 2;
|
|
486
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
487
|
-
`,Ze=r(Le)`
|
|
488
|
-
cursor: pointer;
|
|
489
|
-
color: ${e=>e.theme.colors.hero};
|
|
490
|
-
width: ${t.sp4};
|
|
491
|
-
height: ${t.sp4};
|
|
492
|
-
min-height: ${t.sp4};
|
|
493
|
-
&:hover {
|
|
494
|
-
color: ${e=>e.theme.colors.primary};
|
|
495
|
-
}
|
|
496
|
-
`,Lr=r(Tt)`
|
|
497
|
-
color: ${e=>e.theme.colors.primary};
|
|
498
|
-
margin-top: ${t.sp3};
|
|
499
|
-
margin-bottom: ${t.sp0};
|
|
500
|
-
margin-right: ${t.sp3};
|
|
501
|
-
`,Dr=r(ot)`
|
|
502
|
-
${e=>`${vr.formTitle.style(e.windowSize)}`};
|
|
503
|
-
color: ${e=>e.theme.colors.primary};
|
|
504
|
-
margin-top: ${t.sp3};
|
|
505
|
-
margin-bottom: ${t.sp2};
|
|
506
|
-
`;export{Xr as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a2 as o,M as v,j as i,hh as y,hi as j}from"./index-D3AeqRGt.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(y,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(j,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import{a2 as v,a as $,M as b,j as t,bn as w,F as C,bo as F,bp as S,J as d,o as n,bq as V,n as h,ap as m,d as k}from"./index-D3AeqRGt.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const l="otpInputField",Y=e=>{const x=e.verifyOtpFetchState==="In-Progress",[f,c]=p.useState(!1),a=v(e.verifyOtpFetchState),i=$({mode:"all",reValidateMode:"onChange",defaultValues:{[l]:""}}),s=i.watch(l),u=()=>{e.onCancelVerifyDevice()},y=()=>{s.length===6&&e.onVerifyOtp(s)},o=b.getLocalizedStrings().commonSetUp.twoFactorAuthentication,g=o.footerHelperText.replace(/<button_text>/,o.verify);return p.useEffect(()=>{a==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(c(!0),i.setValue(l,""))},[a,e.verifyOtpFetchState,i]),t.jsx(w,{open:!0,onClose:e.onCancelVerifyDevice,children:t.jsx(O,{children:t.jsx(C,{...i,children:t.jsxs(H,{children:[t.jsxs(A,{children:[t.jsx(D,{children:o.verifyDeviceTitle}),t.jsx(E,{children:o.verifyDeviceDescription}),t.jsx(M,{children:F(e.phoneNumber+"")})]}),t.jsx(P,{children:t.jsx(S,{value:s,valueLength:6,onChange:j=>i.setValue(l,j)})}),f===!0?t.jsx(R,{children:o.invalidCode}):null,t.jsxs(I,{children:[t.jsx(N,{children:o.codeNotReceived}),t.jsx(L,{onClick:()=>{e.onResendOtp(),c(!1),i.setValue(l,"")},children:o.resend})]}),t.jsxs(J,{children:[t.jsxs(T,{children:[t.jsx(d,{label:o.cancel,onClick:u,style:{width:82}}),t.jsx(d,{variant:"primary",label:o.verify,onClick:y,style:{width:82},loading:x,disabled:s.length!==6})]}),t.jsx(z,{children:g})]})]})})})})},O=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 456px;
|
|
5
|
-
padding: ${n.sp5} ${n.sp6};
|
|
6
|
-
background: ${e=>e.theme.colors.grey5};
|
|
7
|
-
border-radius: ${n.sp2};
|
|
8
|
-
`,D=r(V)`
|
|
9
|
-
color: ${e=>e.theme.colors.primary};
|
|
10
|
-
text-align: center;
|
|
11
|
-
`,E=r(h)`
|
|
12
|
-
color: ${e=>e.theme.colors.hero};
|
|
13
|
-
text-align: center;
|
|
14
|
-
`,M=r(h)`
|
|
15
|
-
color: ${e=>e.theme.colors.primary};
|
|
16
|
-
text-align: center;
|
|
17
|
-
`,P=r.div`
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
`,R=r(m)`
|
|
21
|
-
color: ${e=>e.theme.colors.important};
|
|
22
|
-
text-align: center;
|
|
23
|
-
`,I=r.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
align-items: center;
|
|
27
|
-
gap: ${n.sp1};
|
|
28
|
-
`,N=r(m)`
|
|
29
|
-
color: ${e=>e.theme.colors.grey1};
|
|
30
|
-
`,L=r.button`
|
|
31
|
-
color: ${e=>e.theme.colors.link};
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
background: none;
|
|
34
|
-
border: none;
|
|
35
|
-
padding: 0;
|
|
36
|
-
font: inherit;
|
|
37
|
-
|
|
38
|
-
&:hover {
|
|
39
|
-
color: ${e=>e.theme.colors.primary};
|
|
40
|
-
}
|
|
41
|
-
`,T=r.div`
|
|
42
|
-
display: flex;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
column-gap: ${n.sp3};
|
|
45
|
-
`,z=r(k)`
|
|
46
|
-
color: ${e=>e.theme.colors.hero};
|
|
47
|
-
text-align: center;
|
|
48
|
-
`,A=r.div`
|
|
49
|
-
display: flex;
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
align-items: center;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
row-gap: ${n.sp2};
|
|
54
|
-
`,H=r.div`
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
align-items: center;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
row-gap: ${n.sp3};
|
|
60
|
-
`,J=r.div`
|
|
61
|
-
display: flex;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
align-items: center;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
row-gap: ${n.sp2};
|
|
66
|
-
margin-top: ${n.sp2};
|
|
67
|
-
`;export{Y as default};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{Y as $,fn as P,l as j,M as O,j as a,$ as w,go as p,gT as u,o as s,gq as z}from"./index-D3AeqRGt.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const o=O.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},B=[y,g,v,M],A=[v,g,y,M],D=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:h,analytics:x,onSettingsClick:b})=>{const i=$(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||P(i),k=j.hasBillPayAccess(i.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=f===!0?B:A,r=h===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return a.jsxs(E,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(C,{onClick:b,"data-testid":w("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?S:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>x?.trackAccountsListPageClicked("Move Money")})]})},C=d(z)`
|
|
2
|
-
cursor: pointer;
|
|
3
|
-
min-width: ${s.sp4};
|
|
4
|
-
width: ${s.sp4};
|
|
5
|
-
height: ${s.sp4};
|
|
6
|
-
color: ${e=>e.theme.colors.hero};
|
|
7
|
-
&:hover {
|
|
8
|
-
color: ${e=>e.theme.colors.primary};
|
|
9
|
-
}
|
|
10
|
-
`,E=d.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
14
|
-
`;export{D as T};
|