@zeniai/web-cockpit-ui 1.14.3-prod → 1.14.4-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-IlicpbsX-C0UNBGH-.js → ACHDetailsPage-DuaBM5pi-Bsfl4ipB.js} +1 -1
- package/dist/assets/{AIPerformancePage-Cg8pnJ1F-C_O8CZ30.js → AIPerformancePage-DNJZld4y-DlnQ624v.js} +1 -1
- package/dist/assets/{AccountInfoPage-Bo4f6WXu-OGTtumoc.js → AccountInfoPage-B26iFpUV-COrK5vYd.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CgyoqeY7-Bc4PZ9Fi.js → AccountInfoPageContent-D52iIQne-B4z2FhUp.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-X4XAlKXA-Bo22UMdc.js → AccountReconDetailsDrawerPage-CB9vTHCy-kDgz9xNb.js} +1 -1
- package/dist/assets/{AccountRow-CmtPvQJV-DNVd18vb.js → AccountRow-BtJsms16-atISEBaH.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DSiki31T-BuoJ4hLa.js → AccountsPromoCardStack-DxkEUAyX-C6Idipth.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BPlI1vyY-TzeoRPlQ.js → AddAddressForCardDrawer-nrwPhSQ7-BL7-bGEF.js} +1 -1
- package/dist/assets/{AddToWalletPage-D33swzes-CjB0We2d.js → AddToWalletPage-U3xQJ0ga-Dcd-0jyv.js} +1 -1
- package/dist/assets/{AgingReportsPage-fmZS9DwN-CnJ44Yc_.js → AgingReportsPage-C-XPC3Ye-rYvlunDJ.js} +1 -1
- package/dist/assets/{AllUserItems-Ah7nd-Zu-1jkajmbP.js → AllUserItems-D9bUKynh-BFnDPP1t.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-BXFmj8CM-C2SplbsJ.js → ApAgingDetailPage-Ct-dl0QP-DXgQdgKD.js} +1 -1
- package/dist/assets/{AppBasePage-A25scWRX-BXcivvyE.js → AppBasePage-DR85cYP5-CKd2IfUf.js} +1 -1
- package/dist/assets/{AppDrawerContent-DDwmivCK-DbLKCcAF.js → AppDrawerContent-CEALC8UE-BILKJ-kK.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-CKtm-n4R-Brr0-ruo.js → ApprovalRulesSettingsPage-OEXjss85-tD_Jhzeu.js} +1 -1
- package/dist/assets/{ArAgingChart-0NSve898-C_eZDcEe.js → ArAgingChart-CU6nYJDL-CM4ji1yR.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-2P188mhw-ahkvJ-bh.js → ArAgingDetailPage-SlPH0ZP_-B2JfdfGL.js} +1 -1
- package/dist/assets/{AttachmentView-C4mcX4Zi-gvSv496C.js → AttachmentView-B_a5fakI-p04obxYu.js} +1 -1
- package/dist/assets/{BankAccountSection-3-6tRy48-WAMq1xbV.js → BankAccountSection-CHFSoKtQ-CqSlxhlX.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-DiVd7shS-BYHKM6y4.js → BankAccountWarningSection-BEPUwZxt-C_LY2V1e.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DORa-BJl-t40LiWP_.js → BankConnectionsSettingsPage-RqqXRKg2-DAiCkGb4.js} +1 -1
- package/dist/assets/{BillDetailPage-CntHvNW--D8qCbD0s.js → BillDetailPage-Cri2O4fW-C0ZK-tRn.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-B2xSwMW8-BxTRfc56.js → BillPayApprovalRuleDetailPage-CflhMC1k-DSH7D8uO.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-D3zs2AXf-Ci2KxZPq.js → BillPayApprovalRulesPage-B3w9pJTA-orF7dUvE.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CuRyMElO-BHHuwtA3.js → BillPayPromoPage-DK2kXArZ-BqGVG9s8.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-l5cRtorO-DuhK3CkD.js → BillPaySetUpPage-C3pMQJHf-8nsMcIJV.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CX5yCTyc-BLlrba5n.js → BillingSettingsPage-B3Z4o1Ju-DzUjBP3P.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-hbvOVMQk-JsnXPd1z.js → BillsBulkReviewDrawerPage-DRFjIKgb-CMXz0HSw.js} +1 -1
- package/dist/assets/{BoxItem-D3QYSB_0-BPj8kBEc.js → BoxItem-CCvSsuyr-BBXHe_fK.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BqA2qWYz-C1r37ehl.js → BusinessVerificationPage-HAKln9TW-BSV3Qs6U.js} +1 -1
- package/dist/assets/{CardNumberSubText-DbBXFWnu-Dp7GP8yo.js → CardNumberSubText-BN0HQsC5-CWEnH6iY.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DmWiLgGr-Cd-pwV2E.js → CashbackDetailPage-CWMrI6N5-BxS-Dkms.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-CWsbYZI_-CMQ6YrtU.js → ChargeCardDetailPage-C7i4P8xn-B3JRdCZ3.js} +1 -1
- package/dist/assets/{ChargeCardListPage-7OVFjrMz-CsMGwJ5f.js → ChargeCardListPage-rjBPLgqe-BpTrAAxV.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BHhRhMRt-C-f4XYCm.js → ChargeCardListTable-DZky8Lwh-DgWmlfmu.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-Bz3R_LIK-CUYVJHy7.js → ChargeCardPromoPage-BEzLSyck-BrFXUjQo.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-Cd8IdYSm-BJ-yF3Xu.js → ChargeCardSetupPage-6yjkxRan-BdrXiky8.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-64aocTjB-B-A3uSQ9.js → ChargeCardStatementsPage-DbW7AzXa-DYLtBdX7.js} +1 -1
- package/dist/assets/{ChargeCardUtils-C9viDXeo-BzioGr9g.js → ChargeCardUtils-KGLTWfKZ-CRECzEnA.js} +1 -1
- package/dist/assets/{ChaseOverlay-CIiRuAKM-BMa_6pMP.js → ChaseOverlay-ZotQ5CpW-RSeyMejc.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DjKaXOhO-CPNpSW32.js → CheckDepositDrawerPage-DmxBu2PA-BnBD1jJD.js} +1 -1
- package/dist/assets/{CollapsableReportTable-NkWEC75c-rxks0upi.js → CollapsableReportTable-CFXAvolG-CQrO1G35.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-ELXdYttn-CKHt2M5T.js → CompanyOfficerDetailsSection-BvZ8RVfx-DY2fXGl1.js} +1 -1
- package/dist/assets/{CompanyPassportCard-C9oh6f6c-9sVsY9Y4.js → CompanyPassportCard-DoaxcZ7_-Dlt7qVWw.js} +1 -1
- package/dist/assets/{CompanyPassportPage-DqwIHSwq-B2fSpF1I.js → CompanyPassportPage-DQvFR_RP-2b-NpySm.js} +1 -1
- package/dist/assets/{CompleteProfile-BIlg3hln-DUMoBBuY.js → CompleteProfile-Bx56Tens-Bp6BKQMJ.js} +1 -1
- package/dist/assets/{ConfettiBurst-DTCsF6tY-CYBCEjQ0.js → ConfettiBurst-DnYSdE1w-C_kRgLNS.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-eK7muw60-Bda7Gic4.js → CreateOrEditVendorPage-DHxKxmOq-6AZoO2-8.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-C5y6Qeh2-StdVp1xj.js → CreditCardPaymentDrawerPage-C46M2-tK-CyO0OcFI.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-BfHK2O6G-BgtPZTLk.js → CreditCardPaymentPlgSection-DNMXEbs0-CN_Z_iqU.js} +1 -1
- package/dist/assets/{CurrencySelectField-Cq-8I5M7-C14AtGNv.js → CurrencySelectField-V5pEFFIR-DxCFsYXe.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-C9-hMQWD-Bm_55IOo.js → CustomerOnboardingActivationPage-T-V2eiKa-BzwOahLR.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DGD2vqOH-Dk1W0Xxd.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CTWkmWXm-B6vdAmLZ.js → CustomerOnboardingDetailPageSkeleton-BSE7KmYp-DMJVvdjg.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CMsvHUPO-B47L_U4H.js → CustomerOnboardingNoStepsPage-BukqpZ8B-g9Ys8rck.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-CUUtm6Cl-CmFCsIUc.js → CustomerOnboardingPage-8A2Z3y9v-CQUPonbG.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-pN8y9rAE-DSmevI0K.js → CustomerOnboardingProductSuitePage-Dpr8oJNi-BITYzDSc.js} +1 -1
- package/dist/assets/{Dashboard-xlal4qqq-D75mIu3R.js → Dashboard-P0yPNp-4-BauQYqj7.js} +1 -1
- package/dist/assets/{DashboardReportPage-CBhxD-B4-CqfXcK2i.js → DashboardReportPage-Bkx6FmDQ-DrOh2ion.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B2nnVYf9-CZoPe685.js → DepositAccTransactionItem-Cx08KL0D-NXPGi5St.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-C8rgdc0N-umjrUNX0.js → DepositAccTransactionListPage-BDExP7eh-C9s7xFTm.js} +1 -1
- package/dist/assets/{DocumentSecurityBanner-D-c2msUb-UQCncMyZ.js → DocumentSecurityBanner-omOUa698-BgeIyoJ0.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-racBIxWu-CzBe-8o6.js → DomesticWireDetailsPage-_6h8wT5x-Cjkkj6Kq.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cvo4oa42-D0v42OV-.js → DownloadOverlay-DPU0VkUu-BD-J-Z9x.js} +1 -1
- package/dist/assets/{DrawerPage-ChV5Xh-2-DdUuczXj.js → DrawerPage-CWKR8Rw5-D35RUrwO.js} +1 -1
- package/dist/assets/{EditPeoplePage-CMtniu66-CV0twq-1.js → EditPeoplePage-DZaNNyln-Dni-Dy0I.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-Bx4frTSg-DgeajyJl.js → EditReimbursementDetailPage-CcGcN8w2-DnTWFBTS.js} +1 -1
- package/dist/assets/{EntityDetailPage-CZSlVlVM-DPTpX1Yw.js → EntityDetailPage-D3LRtQ3C-D1SrxFEt.js} +1 -1
- package/dist/assets/{EntitySummarySection-BVcKIen2-CccJ6seG.js → EntitySummarySection-BWdoghlh-BqXiq7Ak.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-BWGtpYKA-Cx4YSym3.js → ExpenseAutomationOverviewPage-mO5gwQc_-CBD5LQwd.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-PAOsfgJ8-ChSfYdrv.js → ExpenseAutomationPage-DMvlc3hY-CmUekSgZ.js} +1 -1
- package/dist/assets/{ExpressPayPage-CwQ5ge-1-BX-hSKhX.js → ExpressPayPage-CqqA3yus-GSO-aktT.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BFHtMaGo-BayA9EAi.js → FeaturePreviewPage-DFhnoUW--PEMTGy87.js} +1 -1
- package/dist/assets/{FollowStepsSection-d9o0CLQV-BJmWTYN7.js → FollowStepsSection-B788Zc2c-BIRdmDst.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DDVOPoeM-CIE1kKJX.js → GlobalReviewListPage-Dj4hMBFz-BrGnmruD.js} +1 -1
- package/dist/assets/{HelpButton-Cms9G_Fp-2WehKGOI.js → HelpButton-BDMRH4As-BAeJZ0ZL.js} +1 -1
- package/dist/assets/{InformationCardStack--nHJ7Vje-Dkhp6XCh.js → InformationCardStack-Ba4PzwbG-BR5xH1h_.js} +1 -1
- package/dist/assets/{InsightsCardStack-DogY3RH--DSQiGNJk.js → InsightsCardStack-4ht4YZWA-BvYBsgG3.js} +1 -1
- package/dist/assets/{InsightsSection-BFSU6XTB-DlYKlavh.js → InsightsSection-0LvR4mZQ-BXvcA3NA.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CH8yZ1rE-CSa2hEby.js → IntegrationsSettingsPage-6BJsk-Zu-DYYmlYHf.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-5xZXSwfn-B8Oxz6bU.js → InternationalWireSwiftDetailsPage-DhOLruXZ-fb8Y8SzP.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CYE3BuMX-DxUX48rv.js → InternationalWireVerificationPage-Dd_gqrju-CkA6_WG9.js} +1 -1
- package/dist/assets/{InviteFormPage-CpSZgL3C-Ckp_31L9.js → InviteFormPage-C4UNR9b6-Dbmt2iqv.js} +1 -1
- package/dist/assets/{InvitePageListView-CxWgQb_H-wtuMSkE-.js → InvitePageListView-Byp3MA_v-C63JZukW.js} +1 -1
- package/dist/assets/{InvitePeoplePage-D2dxkMSc-B9jJ7kU8.js → InvitePeoplePage-BiKieQDe-B-mgQ55x.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-CesF-8aw-BotIl0dt.js → InvoiceUploadSection-DZL57cJT-Cpi14hxt.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-BHoqeA-T-B4OYRnjS.js → IssueChargeCardPage-BtPK5cNg-f0oqEWZi.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BzK11ds6-VQ6qen6d.js → LabeledAddressValue-BSIB8Qf_-CWkXGolG.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DCYUeYio-BtPs_SaG.js → LabeledAddressValueField-B42nS3_A-CeldxyTV.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-uBDSnSo1-Bvk0pzC1.js → LabeledControlledCheckBoxField-C4A2B6vg-Dc5c0RMY.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DCazn6yx-CjTuMpAS.js → LabeledCreatableSingleSelectField-CBDrFWBx-BkSLhEXT.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Cip0e83a-BNXRIxfa.js → LabeledDocumentField-C_-ej9Ow-nTysT8e3.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BEG28_NH-Qiot-78E.js → LabeledDropDownFormattedTextField-Cwc0pxm3-DK64hUnP.js} +1 -1
- package/dist/assets/{LabeledText-CuwxNLlP-HSGMGhV0.js → LabeledText-3TJmm0tF-Ddjx7_cN.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BST69Rvq-RPWJl6fn.js → LabeledUserSingleSelectWithSubtitlesField-BeKUbkvn-BMIMFh_y.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-CsBQ5HAf-DxI8JXwF.js → LabeledZeniRolesDropDownField-Y4xH8vGm-PgpTQQCH.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-Dqx2CF7d-BNgN5bgK.js → LinkJETransactionPage-Dx5YK4tN-Dya16_iS.js} +1 -1
- package/dist/assets/{LowBalancePopup-B7YSf5nh-CsGBnoJc.js → LowBalancePopup-BEQHyRLg-BWnlcStV.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-Onv3TsOp-Dw7IWMa3.js → MagicLinkACHDetailsPage-CAfhLmSb-CMNOXNUE.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DyQ47uYn-BGdBY6jv.js → MagicLinkDomesticWireDetailsPage-Bmk401kR-C2rBEYlP.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-AvrrYI-DKGpIDjp.js → MagicLinkInternationalWireDetailsPage-sEXYjLgT-CpYYWmdQ.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BSHuvzHb-ClpgJR-X.js → MagicLinkSuccessPage-BJ8DC1kk-CN-ehDSa.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-C7oqHWqv-Cve1Ec6c.js → MagicLinkTitleSection-DT1byqwI-DnGCC5VX.js} +1 -1
- package/dist/assets/{MailingDetailsSection-Cl8HeSLQ-Di1kZcXz.js → MailingDetailsSection-iqN9dgmJ-g8n62IAD.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Crufcivq-SCooeI6G.js → MeetingCalenderPopup-Ck4DBnLb-CpWe-W42.js} +1 -1
- package/dist/assets/{Menu-Bxgksma7-CGfzlGcc.js → Menu-DdDY0xYV-BEvu9l3u.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CP2msF1X-DRoRaWNO.js → MyBankConnectionsSettingsPage-BssdQbZt-Ds86Lwyb.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BycRkfNQ-Co-uiOvH.js → MyPendingActivationChargeCardListPage-Bk15K6aY-BqVCghWS.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-RuUJD6J4-DrkCJkMY.js → MyProfileSettingsPage-DXBK98XL-D5oWdQ5y.js} +1 -1
- package/dist/assets/{NavBarWithPicker-JELo6Q4S-DgrxL4Q8.js → NavBarWithPicker-CiTE0-y8-CPt98nkB.js} +1 -1
- package/dist/assets/{NavigationArrow-CFSP9IjV-BDPlMxna.js → NavigationArrow-DSUT4aub-bld7hpTo.js} +1 -1
- package/dist/assets/{NavigationDots-GHAOWiXe-C00dJvsi.js → NavigationDots-BjzeF34D-DIvAMSYi.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DwEjytGo-CLtqyRLu.js → NewGlobalMerchantPage-Y5YIhEkg-D5RIN3qo.js} +1 -1
- package/dist/assets/{NoDataChart-CwAwvz9y-CAZ2RhpX.js → NoDataChart-3HE6nhZn-KnvhULUo.js} +1 -1
- package/dist/assets/{NoDataTable-BAMPdDP7-CnHeLXmY.js → NoDataTable-BTw1BmAf-D-xHUU6S.js} +1 -1
- package/dist/assets/{NotFoundPage-CaEcM3_c-CNYgD_B5.js → NotFoundPage-tRMR7UW4-B7lUiNIg.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-Bam34Xpg-o1DFOYfU.js → NotificationSettingsPage-CQqmntm6-B8_yJBxG.js} +1 -1
- package/dist/assets/{NotificationsListConfig-B68mFIbn-CjWHvn7d.js → NotificationsListConfig-Dm1G55mu-Cc65HnmX.js} +1 -1
- package/dist/assets/{NotificationsPage-C5ordrdT-BT8sRNDX.js → NotificationsPage-Asdeuaqq-DMOj6G-9.js} +1 -1
- package/dist/assets/{OpExByVendorPage-DY3NOyYr-CAnJtQ56.js → OpExByVendorPage-BLq8Ctj1-DHO-2zH3.js} +1 -1
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-yvQy0ay4.js → OverlayContainerPage-GWXnlbZH-vRusHYvy.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BX6aj5Y6-CSW0ZzvW.js → PandLWithForecastPage-DwJKEUDv-5-npUXfm.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-f5qsN-3Y-BFSC5u7z.js → PaymentAccountSetupBillingAddressSection-wujd9fIw-BUpA-nlO.js} +1 -1
- package/dist/assets/{PeoplePage-BkXdO_eN-D8c8Zd9e.js → PeoplePage-DPfCZF1U-ih22mCnT.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-C_lmPeC9-Dm9PZi_1.js → PortfolioAllocationFormPage-D9mZATtO-Cu--vkc1.js} +4 -4
- package/dist/assets/PortfolioDetails-Cgq2JdwS-B0wDIzGK.js +218 -0
- package/dist/assets/{ProductsCarousel-BP9cI12D-aYCnCu_A.js → ProductsCarousel-B77mX5vy-BuRkFwev.js} +1 -1
- package/dist/assets/{PromoBaseCards-6W04d7zP-ClklThb1.js → PromoBaseCards-D-19cOmP-CKnOOHiw.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DjT-h910-CPFpjptW.js → QBOConnectionDialog-Afsdvgkl-Dnac_hvL.js} +1 -1
- package/dist/assets/{QBOSetupSection-DXfY8nFt-Olt5KNVD.js → QBOSetupSection-CIINq6G--Cnu25hcY.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-I93XcmAv-CtokgBoP.js → ReimbursementApprovalRuleDetailPage-BauwtxXL-DtvNXa98.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-D8mME0QI-CHFyQ4xu.js → ReimbursementApprovalRulesPage-CJ_7q2S5-b-A-IkdZ.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CsqyYapD-F_VuuiAR.js → ReimbursementDetailPage-BfA-gWiV-Bz1PmPly.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CjjAZH_R-BvUAeJcf.js → ReimbursementPromoPage-BugyRgus-DwYL_lE_.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CmENGPDd-BeUnj_zr.js → ReimbursementSetUpPage-U56eB_bc-DGWsmH4h.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DodlV376-hL2xkg8x.js → ReimbursementsBulkReviewDrawerPage-BF7-BQrP-DrY6-0C1.js} +1 -1
- package/dist/assets/{ReloadCard-DCswXdRU-BAsMasVk.js → ReloadCard-CUwDcZ5d-BVApZyZw.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CuJjacY9-8lLaEIG5.js → ReportTableViewSelector-DPZiNtOP-DD38m_51.js} +1 -1
- package/dist/assets/{ReportsPage-BS1znKom-BVeWC9nb.js → ReportsPage-DG2RyIza-BvPfPFTp.js} +1 -1
- package/dist/assets/{RevenueChart-QYZoX_2o-CvhVRoCi.js → RevenueChart-DV12hQwS-s1trcTd0.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DlcjxoKl-Cp-lYmOr.js → ReviewDetailsPage-C2qnZOx_-C9QZtDTi.js} +1 -1
- package/dist/assets/{ReviewOverlay-qo1v9-E4-CxFyX_yh.js → ReviewOverlay-B0us5qds-CxXUYzRM.js} +1 -1
- package/dist/assets/{RoleWithToolTip-7IBT7PpV-CUOSEplM.js → RoleWithToolTip-KqICk9kG-DmYDkHVn.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-kz4Xwcye-DnUUXFDF.js → ScheduleDetailsFixedAssetsPage-C6OEABHj-BQN5vgw0.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-guEjspG5-CeIlUwB7.js → ScheduleDetailsPage-CrzvMwbJ-CP5_7ojA.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-4Yc3ZRdp-CVZXhATG.js → ScheduleSequenceTable-BUDWyViz-9AsBg7Zc.js} +1 -1
- package/dist/assets/{ScreenRoutes-CMlTunyn.js → ScreenRoutes-DUKbex1c.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BlokopoC-7jG64JL0.js → SetUpAccountSection-Imz6rw6K-DioSxUN3.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-CjXLrIH0-CtINN9W6.js → SetUpDefaultSection-bAd0d4qo-PUApdyLc.js} +1 -1
- package/dist/assets/{SignIn-B4sJUaDd-dAXqSVkI.js → SignIn-C1k0afjs-BsJ29JBx.js} +1 -1
- package/dist/assets/{SignInScreen-AOmnN2Dc.js → SignInScreen-Dia63Br4.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-LA2GQyOi-C2ac9bjk.js → SpendManagementListViewPage-CvjkWB-_-SMCEdzKT.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BSV94PVx-CXEVJ2Ak.js → SpendManagementPerTabPage-DYq_U4nN-Bt3zwfrs.js} +1 -1
- package/dist/assets/{SpendManagementSection-D5lkkIVU-D6lU_gtA.js → SpendManagementSection-CHBLAXiF-_awyWpSH.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-B2F0oKk_-3XC76Hxi.js → SpendMgmtSetupAccountSection-C7lpDD5w-_yXLXZJi.js} +1 -1
- package/dist/assets/{StatementItem-CfkMZIbO-B2Ly1ikY.js → StatementItem-ClfyhiJC-DBO5FYei.js} +1 -1
- package/dist/assets/{StatementsPage-DmbLst4p-CejlH0Bm.js → StatementsPage-BLtMccZw-DwxygkeE.js} +1 -1
- package/dist/assets/{StatusSwitcher-BQK9o7R4-foqZrYQ3.js → StatusSwitcher-DrlUYFAO-CEIbzGSQ.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DWeDSFKx-COlLTo8J.js → SubTabSwitcher-Dyq1x5SP-GVBqxQwY.js} +1 -1
- package/dist/assets/{SummaryCard-egnXlcLU-YAaVP_bS.js → SummaryCard-CzHp89o2-CnJxg-nf.js} +1 -1
- package/dist/assets/{TaskManagementPage-CMRKQ-Ko-Bz29dCZT.js → TaskManagementPage-V4Jb53tv-BJIV-q4a.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-OxjJ576j-0y2TGgIj.js → TimeRangeSwitcher-BxJX9ASF-CIlk1Ow0.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DrC9bvMo-Dm43M-6V.js → TimeframeSwitcher-C5xMAnLt-DSHjKIW6.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-C7fCh8tl-CmAjDLQX.js → TimeframeSwitcherWithToggle-DMX6o1BS-CjA07rpv.js} +1 -1
- package/dist/assets/{TopExCard-wnzLjnaP-CcSbbk7u.js → TopExCard-D6jvucRB-CrTEQZYn.js} +1 -1
- package/dist/assets/{TopExDetailPage-BbKGbGU5-B57B9iTn.js → TopExDetailPage-QpVoLtzq-iFCHXke5.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DztoB9X4-SzcStHjT.js → TransactionDetailPage-3aDWdlUB-B0XsE2gb.js} +1 -1
- package/dist/assets/{TransactionList-DmEyc2C4-BZmO6-Cl.js → TransactionList-k8YmeJcr-MUQoIUD6.js} +1 -1
- package/dist/assets/{TransactionListBig-BK_J4i4g-DyuztAhi.js → TransactionListBig-vTaTpmta-Cq5jSX6I.js} +1 -1
- package/dist/assets/{TransactionListPage-Ca55hjDg-Dizd2CM3.js → TransactionListPage-CYnJEUFj-DqrWZiop.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-7_O3STPw-g9_fmA0j.js → TransactionVendorDetailPage-BdGJYzkn-BavW_ppw.js} +1 -1
- package/dist/assets/{TransferDrawerPage-CvCsaIq--CQKexr26.js → TransferDrawerPage-JhER6Fzb-D43akvxL.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DIKQKR_u-B3w2F50p.js → TreasuryOverviewPage-etZMI5qq-DiD9U0db.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BpgRih0--DFQGVED-.js → TreasuryPromoPage-DMQCUGTI-B2n7b1DJ.js} +1 -1
- package/dist/assets/{TreasurySetupPage-CZ1BTHXX-BjXgtgqe.js → TreasurySetupPage-CLLUfgvc-EYd9wl82.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DgoatXf4-Ddf8NF45.js → TreasuryStatementsPage-CbJuuQJf-Y3IHssMy.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DZsnsmnk-DUkZnHwq.js → TreasuryTaxLetterPage-CNZRB1JA-xJYaD87a.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-BFRIDROn-BSrklinF.js → TreasuryTransferOrReviewPage-_KQow8xx-83MqpleX.js} +76 -76
- package/dist/assets/{TrendChart-BfsNpqPF-kLTMO-WH.js → TrendChart-DgcS2Qi8-DiEt2rLi.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CcmSvqVJ-CX0x6dcT.js → TrendWithTransactions-BV5_3PZZ-BJ-il-PK.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-LqkF-E1i-mnpByyhh.js → UncategorizedAccountsMappingPage-Bsm7bAwr-CUxNTAzV.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-uA8jq1yR-ORnJ5BV1.js → UnitIntegrationPage-ChuaH8ac-67iZtJui.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-N0bSxafO-CuxtXaUj.js → UploadAdditionalDocumentOverlay-Bz_n0Pn3-CI7EeNcG.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-e-xRW6rn-CZH1D4tR.js → Vendor2FAPopup-R19bkGMS-BNz9_Z6D.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Cca7Gf4u-Chp946g2.js → VendorACHDetailsPage-C_RgFepi-k1b3Hisb.js} +1 -1
- package/dist/assets/{VendorDetailPage-Bk_NbpIs-CEkPyv5z.js → VendorDetailPage-uA1hH2Jz-DSdoHVu-.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-BI35k3uH-Aos-6LJk.js → VendorDomesticWireDetailsPage-9tAj_M02-D-y5y0QJ.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Cr3OoQa1-C1eR_FYi.js → VendorFiling1099EditablePage-DG0cllTw-tqIqoC2I.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-O82qXI11-Ge2vrmBp.js → VendorFirstReviewPage-Bt-yNa1d-CeKmMJ9w.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-a5jqRn0i-BITOmNJd.js → VendorInternationalWireDetailsPage-CgI4LQyI-CnHBKCEY.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CR3nUSIG-ts7-RbfC.js → VendorInternationalWireSwiftDetailsPage-BrMTSUIo-DlQUEivq.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DUUy43AG-sFtsOlZR.js → VendorsAccountsSection-WaX0Qe7x-zY81ntXq.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-ANVg-uR9-C8DWT0CB.js → WarningsDrawerPage-Cafo6rCY-Co-TDult.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DuaoV3nD-d6WX23s4.js → ZeniAccountDetailPage-B7wC3QXT-DjGEfIBK.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-DJoQlRuS-Z4238iRO.js → ZeniAccountListViewPage-pAoiX5t8-DOYCD6Jl.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-DciiSI3f-C4FzAg_J.js → ZeniAccountNavBarPieces-DK__bQjs-Cwwi7p69.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-C4TGOls6-Cozx8bU2.js → ZeniAccountPromoPage-DI4EDGF1-Dm33SaFx.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CvIAyaFj-BDO8Yn3B.js → ZeniAccountSetupPage-C7Sl8Kvq-BAfFQNWK.js} +1 -1
- package/dist/assets/{ZeniCopyright-9rssOaZJ-BRsOy5VV.js → ZeniCopyright-Clbu-tZt-BzfKJCS4.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-0yTtw1XU-BtVerYxj.js → ZeniTransferAmountSlider-CF39KlIc-BCG0SSs3.js} +1 -1
- package/dist/assets/{analyticsHelper-BLAu2yM--34PYnKEc.js → analyticsHelper-BF4C5cfp-CH2DxjTE.js} +1 -1
- package/dist/assets/{analyticsHelper-CIuGuGC5.js → analyticsHelper-DsnuBBTs.js} +1 -1
- package/dist/assets/{chartTypes-Br4XSz7W-Cif-HDWY.js → chartTypes-BuFzxmL_-B2IChMB8.js} +1 -1
- package/dist/assets/{commonDimensions-DYyjzo8L-m6hIGl23.js → commonDimensions-DNp72kDa-Cicm30TI.js} +1 -1
- package/dist/assets/{detailCommon-CXtdUvH5-CXW7HkvU.js → detailCommon-ClngFipo-C59qs-Xf.js} +1 -1
- package/dist/assets/{downloadPdf-Ceik9x1F-EWRzf9gV.js → downloadPdf-CvBnJ3dy-Cd8LdAT0.js} +1 -1
- package/dist/assets/{index-DdQors_-.js → index-1Afae-x7.js} +5 -5
- package/dist/assets/{mapLoadingInProgressToTreeNode-CTk8G3Gw-fP7KaB-E.js → mapLoadingInProgressToTreeNode-_i8eyx1f-er3yaSsO.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DSfitd4--BvBA7iNR.js → mapSectionWithAcOnlyToTreeNode-CG5X_Lif-C_NtY9qL.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-NDmnO3-w-Dgv7ryG8.js → mapSpacerToTreeNode-C58mhpiy-Byst5W8N.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CCDxZE7U-CSoTwq9D.js → mapTimeframeBalancesToTreeNode-By8Tp-Gv-owcstXxo.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DxbCC6c3-O5YH083D.js → mapTimeframeBalancesToTreeNode-oCLMU9SF-PWyybgFN.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-nb9z_DUI-CP6K29YR.js → mapTimeframeHeaderLoadingInProgressToTreeNode-GuK79d7h-CJh54W1Z.js} +1 -1
- package/dist/assets/{play-icon-CUEtOPwa-BhvsYTHT.js → play-icon-CIcjP313-CSSPDV3d.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-BuGHg1ur-C5ZkHgh9.js → toCOABalancesWithID-C-bTJwi8-NxSrtpOt.js} +1 -1
- package/dist/assets/{toChartData-C5QlPh1F-D0xC-IVy.js → toChartData-Cy5VqMOG-C5DMk1vW.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D1HNtoAk-DOH4ShKe.js → treasuryColorHelper-DAviLn_P-C2Dhk4Qd.js} +1 -1
- package/dist/assets/{uploadAttachment-zGYCP5sV-DTQbusKK.js → uploadAttachment-Xl-SHr7p-Ro9goyXY.js} +1 -1
- package/dist/assets/{uploadReceipts-D80JLNY4-D3heMhfi.js → uploadReceipts-D80JLNY4-DxXv1Yav.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/CustomerOnboardingContainerPage-BVOEIC7A-B1ewTe6u.js +0 -1
- package/dist/assets/PortfolioDetails-BvN3T8NL-BEt9ngzF.js +0 -218
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as
|
|
1
|
+
import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,c as Qe,a3 as He,o as t,C as f,a2 as Ce,k as $t,al as bt,u as St,a1 as pe,bs as vt,cO as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,v as W,s as X,eX as kt,a as Tt,c3 as Pt,F as Ct,fD as zt,m as c,bm as tt,cW as ot,bH as rt,cz as Dt,cq as Lt,f7 as Ft,e$ as Mt,d2 as Rt,e as Bt,f0 as Ot,dp as It,bY as Et,bX as _t,aP as Nt,bc as Vt,f9 as Yt,fi as Wt,aa as Xt}from"./index-1Afae-x7.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-Cgq2JdwS-B0wDIzGK.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"./treasuryColorHelper-DAviLn_P-C2Dhk4Qd.js";const Gt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function qt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=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(Jt,{sliderValue:s,children:[o.jsx(Ht,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Ut,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Kt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Qt(h)})},h))})]})}const Kt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${Gt.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%"}},Qt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ht=r.input`
|
|
2
2
|
width: 100%;
|
|
3
3
|
&[type="range"]::-webkit-slider-runnable-track {
|
|
4
4
|
height: 2px;
|
|
@@ -46,10 +46,10 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
46
46
|
position: absolute;
|
|
47
47
|
cursor: pointer;
|
|
48
48
|
transform: translateX(-50%);
|
|
49
|
-
`,ro=r(
|
|
49
|
+
`,ro=r(W)`
|
|
50
50
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
|
|
51
51
|
white-space: nowrap;
|
|
52
|
-
`,no=r(
|
|
52
|
+
`,no=r(W)`
|
|
53
53
|
position: absolute;
|
|
54
54
|
top: -${t.sp5};
|
|
55
55
|
white-space: nowrap;
|
|
@@ -60,15 +60,15 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
60
60
|
justify-content: center;
|
|
61
61
|
align-items: center;
|
|
62
62
|
padding: 2px ${t.sp2};
|
|
63
|
-
`,
|
|
63
|
+
`,q={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])},Te={pageTitle:new R("h6Regular","h5Regular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")},{common:{edit:io},dateFormat:{visual:{DMMMYYYYFormat:ao}},spendManagement:{treasury:{transferDrawer:E},billPay:{insufficientFunds:{lowBalance:so,addOrSwitchInitiateTransfer:lo,lowBalanceIn:co}}}}=we.getLocalizedStrings(),uo=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:n})=>{const d=ge();if(d==="small"){const s=go(e,u,n.treasuryAccount.id);return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:s.topAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.topAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.topAccount?.id??"",!0,s.topAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.topAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.topAccount?.id??"",!0,!0,!0)})]})]}),ie(s.topAccount,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),s.arrowDirection==="up"?o.jsx(Wo,{}):o.jsx(Xo,{}),o.jsxs(ce,{style:s.bottomAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.bottomAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.bottomAccount?.id??"",!0,s.bottomAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.bottomAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.bottomAccount?.id??"",!0,!1,!0)})]})]}),ie(s.bottomAccount,n.treasuryAccount.id,d,!0)?o.jsx(ue,{}):null]})]})}else return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:e?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"Transfer Funds From"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,e?.id??"",!0,e?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[e?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ie(e,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),o.jsx(Yo,{}),o.jsxs(ce,{style:u?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"To"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,u?.id??"",!0,u?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[u?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ie(u,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]})]})},po=(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},ho=({transferDetails:e,fundDetails:a,portfolioAllocation:u,setShowReviewContent:n,onTransferClick:d,onCancelClick:s})=>{const m=ge(),x=St(),v=pe(e.fetchState),[h,i]=w.useState(!1);w.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=po($,e.treasuryAccount,A);return o.jsxs(o.Fragment,{children:[o.jsxs(Ao,{windowSize:m,children:[o.jsx(Do,{windowSize:m,children:o.jsx(vt,{title:"Close",enterTouchDelay:600,placement:"bottom",children:o.jsx(Ee,{"data-testid":P("nav-bar-close-transfer-review"),onClick:s})})}),o.jsx(Lo,{windowSize:m,children:E.reviewAndConfirm}),o.jsx(No,{windowSize:m,children:o.jsx(Je,{amount:A,alwaysShowDecimal:!0,integerStyles:Te.integerStyles.styleObject(m),decimalStyles:Te.decimalStyles.styleObject(m)})}),o.jsx(Co,{}),o.jsx(Vo,{children:o.jsxs(o.Fragment,{children:[E.review.prefix,`"${T?.label}" `,E.success.midfix,` "${$?.label}" `,E.review.suffix.replace("__date__",z.zeniDate(z.getNextNthWorkingDay(z.dateNow().toDate(),[0,6],1).toDateString()).format(ao))]})}),p?o.jsx(jt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:co.replace("__account__",$?.id===e.treasuryAccount.id?$?.label??"":`${$?.label??""} ${$?.maskedAccountNumber??""}`),description:lo}):null,h?o.jsx(jo,{children:o.jsxs($o,{children:[o.jsxs(ko,{children:[o.jsx(Po,{}),o.jsxs(bo,{children:[o.jsx(So,{children:e.error?.title}),o.jsx(vo,{children:e.error?.message})]})]}),o.jsx(To,{children:o.jsx(Ee,{"data-testid":P("close-error-transfer-review"),onClick:()=>{i(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(zo,{windowSize:m,children:o.jsxs(wo,{windowSize:m,children:[o.jsx(xo,{windowSize:m,children:o.jsx(uo,{fromAccount:$,themeContext:x,toAccount:T,transferDetails:e})}),o.jsx(yo,{children:o.jsx(nt,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:fo(e),page:"transfer review"})})]})})]}),o.jsx(He,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:E.review.footNote,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:io,onClick:()=>{i(!1),n(!1)},style:{minWidth:94}},primaryBtn:{label:E.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(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:S.brandColorGoldDark})});if(a==="")return o.jsx(_o,{isForReview:d,children:o.jsx(Lt,{})});const s=e.find(x=>x.id===a),m=e.findIndex(x=>x.id===a);if(s!=null){if(s.accType==="depositAccount")return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:Ft(m)})});if(s.accType==="paymentAccount")return s.logo!==void 0&&(s.logo.base64||s.logo.url)?o.jsx(Oo,{src:mo(s.logo),isOptionSelected:u,isForReview:d,loading:"lazy"}):o.jsx(Io,{isOptionSelected:u,isForReview:d,children:o.jsx(Eo,{})})}return null},V=(e,a,u,n,d,s,m)=>{if(!u)return null;if(u===a.id)return(s||!n)&&a.balance?o.jsx(ve,{children:Y("0,0[.]00",a.balance)}):null;const x=e.find(h=>h.id===u);let v=!1;return d===!0&&m!=null&&x?.accountBalance?.available?.amount!=null&&(v=z.checkIfLowBalance(m,x.accountBalance.available)),n===!0&&!s?o.jsx(Mo,{children:x?.maskedAccountNumber}):o.jsxs(Fo,{className:"option-sublabel",children:[o.jsx(ve,{children:x?.maskedAccountNumber}),x?.accountBalance?.available?o.jsx(Bo,{className:"dot"}):null,x?.accountBalance?.available?o.jsxs(ve,{children:[Y("0,0[.]00",x.accountBalance.available),v?o.jsx(Ro,{children:so}):null]}):null,x?.balanceFetchStatus?.fetchState==="In-Progress"?o.jsx(Qe,{size:"Small",start:!0}):null]})},mo=e=>e.base64!==void 0?`${Mt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",fo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},go=(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"},ie=(e,a,u,n)=>u==="small"?e?.id===a&&n:e?.id===a,ae=r.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
66
|
-
`,se=r(
|
|
66
|
+
`,se=r(W)`
|
|
67
67
|
color: ${e=>e.theme.colors.hero};
|
|
68
68
|
`,le=r(X)`
|
|
69
69
|
display: flex;
|
|
70
70
|
align-items: center;
|
|
71
|
-
`,
|
|
71
|
+
`,wo=r.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
flex-direction: column;
|
|
74
74
|
width: 100%;
|
|
@@ -76,12 +76,12 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
76
76
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
77
77
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
78
78
|
border-radius: ${t.sp2};
|
|
79
|
-
padding: ${e=>`${
|
|
79
|
+
padding: ${e=>`${q.elementsContainerPadding.valuePx(e.windowSize)}`};
|
|
80
80
|
gap: ${t.sp4};
|
|
81
81
|
${e=>e.windowSize==="small"&&`
|
|
82
82
|
width: auto;
|
|
83
83
|
`}
|
|
84
|
-
`,
|
|
84
|
+
`,xo=r.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
87
87
|
justify-content: space-between;
|
|
@@ -97,27 +97,27 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
97
97
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
98
98
|
border-radius: ${t.sp2};
|
|
99
99
|
width: ${e=>e.windowSize==="small"?"auto":"288px"};
|
|
100
|
-
|
|
100
|
+
`,yo=r.div`
|
|
101
101
|
padding: ${t.sp2} ${t.sp3};
|
|
102
102
|
background-color: ${e=>e.theme.colors.grey4};
|
|
103
103
|
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
104
104
|
border-radius: ${t.sp2};
|
|
105
|
-
|
|
105
|
+
`,$o=r.div`
|
|
106
106
|
display: flex;
|
|
107
107
|
width: 100%;
|
|
108
108
|
justify-content: space-between;
|
|
109
109
|
padding: ${t.sp3} ${t.sp4};
|
|
110
110
|
background-color: ${S.importantLight};
|
|
111
111
|
border-radius: ${t.sp2};
|
|
112
|
-
`,
|
|
112
|
+
`,bo=r.div`
|
|
113
113
|
display: flex;
|
|
114
114
|
flex-direction: column;
|
|
115
115
|
margin-left: ${t.sp2};
|
|
116
|
-
`,
|
|
116
|
+
`,So=r(rt)`
|
|
117
117
|
color: ${S.important};
|
|
118
|
-
`,
|
|
118
|
+
`,vo=r(X)`
|
|
119
119
|
color: ${S.important};
|
|
120
|
-
`,
|
|
120
|
+
`,jo=r.div`
|
|
121
121
|
margin-top: ${t.sp3};
|
|
122
122
|
display: flex;
|
|
123
123
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -126,15 +126,15 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
126
126
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
127
127
|
border-radius: ${t.sp2};
|
|
128
128
|
box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
129
|
-
`,
|
|
129
|
+
`,Ao=r.div`
|
|
130
130
|
height: auto;
|
|
131
|
-
padding-left: ${e=>`${
|
|
132
|
-
padding-right: ${e=>`${
|
|
131
|
+
padding-left: ${e=>`${q.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
132
|
+
padding-right: ${e=>`${q.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
133
133
|
margin-bottom: auto;
|
|
134
|
-
`,
|
|
134
|
+
`,ko=r.div`
|
|
135
135
|
display: flex;
|
|
136
136
|
align-items: flex-start;
|
|
137
|
-
`,
|
|
137
|
+
`,To=r.div``,Po=r(ot)`
|
|
138
138
|
width: ${t.sp4};
|
|
139
139
|
height: ${t.sp4};
|
|
140
140
|
color: ${S.important};
|
|
@@ -147,65 +147,65 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
147
147
|
&:hover {
|
|
148
148
|
color: ${e=>e.theme.colors.primary};
|
|
149
149
|
}
|
|
150
|
-
`,
|
|
150
|
+
`,Co=r.div`
|
|
151
151
|
display: flex;
|
|
152
152
|
flex: 1;
|
|
153
153
|
background-color: ${e=>e.theme.colors.grey3};
|
|
154
154
|
min-height: 1px;
|
|
155
155
|
max-height: 1px;
|
|
156
|
-
`,de=r(
|
|
156
|
+
`,de=r(W)`
|
|
157
157
|
color: ${e=>e.theme.colors.hero};
|
|
158
|
-
`,
|
|
158
|
+
`,zo=r.div`
|
|
159
159
|
display: flex;
|
|
160
160
|
flex-direction: column;
|
|
161
161
|
padding-top: ${t.sp3};
|
|
162
|
-
padding-bottom: ${e=>`${
|
|
163
|
-
`,
|
|
162
|
+
padding-bottom: ${e=>`${q.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
|
|
163
|
+
`,Do=r.div`
|
|
164
164
|
display: flex;
|
|
165
165
|
flex-direction: row;
|
|
166
166
|
justify-content: flex-end;
|
|
167
167
|
align-items: center;
|
|
168
168
|
width: 100%;
|
|
169
169
|
top: ${t.sp0};
|
|
170
|
-
padding: ${e=>`${
|
|
170
|
+
padding: ${e=>`${q.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
171
171
|
z-index: 2;
|
|
172
172
|
background-color: transparent;
|
|
173
|
-
`,
|
|
173
|
+
`,Lo=r(et)`
|
|
174
174
|
${e=>`${Te.pageTitle.style(e.windowSize)}`};
|
|
175
175
|
color: ${e=>e.theme.colors.primary};
|
|
176
176
|
padding: ${t.sp3} ${t.sp0} ${t.sp2} ${t.sp0};
|
|
177
177
|
${e=>e.windowSize==="small"&&`
|
|
178
178
|
padding-bottom: ${t.sp0};
|
|
179
179
|
`}
|
|
180
|
-
`,
|
|
180
|
+
`,Fo=r(W)`
|
|
181
181
|
color: ${e=>e.theme.colors.hero};
|
|
182
182
|
display: flex;
|
|
183
183
|
flex-direction: row;
|
|
184
184
|
align-items: center;
|
|
185
185
|
gap: ${t.sp2};
|
|
186
|
-
`,
|
|
186
|
+
`,Mo=r.span`
|
|
187
187
|
margin-left: ${t.sp2};
|
|
188
|
-
`,ve=r.div``,
|
|
188
|
+
`,ve=r.div``,Ro=r(Vt)`
|
|
189
189
|
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
190
190
|
margin-left: ${t.sp1};
|
|
191
|
-
`,
|
|
191
|
+
`,Bo=r.div`
|
|
192
192
|
width: ${t.sp1};
|
|
193
193
|
height: ${t.sp1};
|
|
194
194
|
min-width: ${t.sp1};
|
|
195
195
|
background-color: ${e=>e.theme.colors.grey1};
|
|
196
196
|
border-radius: 50%;
|
|
197
|
-
`,
|
|
197
|
+
`,Oo=r.img`
|
|
198
198
|
display: flex;
|
|
199
199
|
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
200
200
|
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
201
201
|
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
202
202
|
margin-right: ${t.sp2};
|
|
203
|
-
`,
|
|
203
|
+
`,Io=r.div`
|
|
204
204
|
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
205
205
|
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
206
206
|
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
207
207
|
margin-right: ${t.sp2};
|
|
208
|
-
`,
|
|
208
|
+
`,Eo=r(Wt)`
|
|
209
209
|
min-width: inherit;
|
|
210
210
|
width: inherit;
|
|
211
211
|
height: inherit;
|
|
@@ -215,37 +215,37 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
215
215
|
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
216
216
|
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
217
217
|
margin-right: ${t.sp2};
|
|
218
|
-
`,Ne=r(
|
|
218
|
+
`,Ne=r(Yt)`
|
|
219
219
|
min-width: inherit;
|
|
220
220
|
width: inherit;
|
|
221
221
|
height: inherit;
|
|
222
222
|
margin-right: ${t.sp2};
|
|
223
|
-
`,
|
|
223
|
+
`,_o=r.div`
|
|
224
224
|
width: ${e=>e.isForReview?t.sp6:t.sp4};
|
|
225
225
|
height: ${e=>e.isForReview?t.sp6:t.sp4};
|
|
226
226
|
margin-right: 12px;
|
|
227
227
|
margin-left: ${t.sp1};
|
|
228
228
|
color: ${e=>e.theme.colors.hero};
|
|
229
|
-
`,
|
|
229
|
+
`,No=r(tt)`
|
|
230
230
|
color: ${e=>e.theme.colors.primary};
|
|
231
231
|
margin: ${t.sp2} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
232
232
|
${e=>e.windowSize==="small"&&`
|
|
233
233
|
margin-top: ${t.sp1};
|
|
234
234
|
margin-bottom: ${t.sp1};
|
|
235
235
|
`}
|
|
236
|
-
`,
|
|
236
|
+
`,Vo=r(X)`
|
|
237
237
|
color: ${e=>e.theme.colors.hero};
|
|
238
238
|
margin-top: ${t.sp3};
|
|
239
239
|
`,Yo=r(Nt)`
|
|
240
240
|
width: ${t.sp4};
|
|
241
241
|
height: ${t.sp4};
|
|
242
242
|
color: ${e=>e.theme.colors.hero};
|
|
243
|
-
`,
|
|
243
|
+
`,Wo=r(Et)`
|
|
244
244
|
width: ${t.sp4};
|
|
245
245
|
height: ${t.sp4};
|
|
246
246
|
color: ${e=>e.theme.colors.hero};
|
|
247
247
|
align-self: center;
|
|
248
|
-
`,
|
|
248
|
+
`,Xo=r(_t)`
|
|
249
249
|
width: ${t.sp4};
|
|
250
250
|
height: ${t.sp4};
|
|
251
251
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -257,7 +257,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
257
257
|
position: absolute;
|
|
258
258
|
right: 50%;
|
|
259
259
|
bottom: -25px;
|
|
260
|
-
`,{common:je,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:qo},billPay:{insufficientFunds:Ve}}}=we.getLocalizedStrings(),it="amount",Go="transferTo",Ko="transferFrom",_="transferDetails",at="transferDetailPage",Ae=(e,a)=>`${e}.${a}`,st=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:s,onSaveChangesToLocalStore:m,onReviewClick:x,onEstablishConnectionClick:v,onFetchLinkTokenClick:h}){const i=ge(),$=g.largeLabelWidth.value(i),[T,A]=w.useState(!1),[p,C]=w.useState(!1),[B,Z]=w.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),O=a.reduce((l,y)=>{const j=y.yield;return Math.max(l,j)},0),[Q,H]=w.useState(he(B,O)),b=s.link_account_no_microdeposit,[D,xe]=w.useState(b.linkToken??null),[J,ze]=w.useState(!1),[De,Le]=w.useState(!1),ye=e.transferMoneyPartiesFetchState,Fe=pe(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Me=pe($e),Re=pe(be),lt=w.useCallback(l=>{v?.(l),Le(!1),ze(!1)},[v]),ct=w.useCallback((l,y)=>{l!=null&&console.log("Plaid Connection Error",l,y)},[]),{open:ee,ready:U}=kt({token:D,onSuccess:lt,onExit:ct}),q=w.useCallback(l=>{l.preventDefault(),l.stopPropagation(),U?ee():ze(!0)},[ee,U]),I=Tt({mode:"all",reValidateMode:"onChange",defaultValues:w.useMemo(()=>We(e,n,q),[e,n])}),{isValid:dt}=I.formState;w.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==D&&xe(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,D]),w.useEffect(()=>{b.linkToken===D&&b.fetchStatus.fetchState==="Completed"&&U&&Le(!0)},[U,D,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),w.useEffect(()=>{De&&J&&ee()},[De,ee,J]),w.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),w.useEffect(()=>{(Fe==="In-Progress"&&ye==="Completed"||Me!==$e||Re!==be)&&I.reset(We(e,n,q))},[U,D,b.fetchStatus.fetchState,Fe,ye,Me,Re,be,$e,I,e,n,q]);const ut=()=>e.transferMoneyParties.find(l=>l.id!==e.treasuryAccount.id&&l.accType==="depositAccount"),pt=()=>{const l=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(y=>y.id===l)},ht=async(l,y)=>{if(l!=null){const j={...y},te=j[_].transferFrom.selectedOption,oe=j[_].transferTo.selectedOption;let re=e.transferMoneyParties.find(Se=>Se.id===te),ne=e.transferMoneyParties.find(Se=>Se.id===oe);te===e.treasuryAccount.id&&(re=e.treasuryAccount),oe===e.treasuryAccount.id&&(ne=e.treasuryAccount);const Oe={amount:j[_].amount??0,currencyCode:"USD",currencySymbol:"$"};l.includes("transferFrom")?te===e.treasuryAccount.id?oe===e.treasuryAccount.id&&(ne=ut()):ne=e.treasuryAccount:l.includes("transferTo")&&(oe===e.treasuryAccount.id?te===e.treasuryAccount.id&&(re=pt()):re=e.treasuryAccount);const wt={amount:Oe,fromAccount:re,toAccount:ne};Z(Oe.amount),m(wt)}};w.useEffect(()=>{const l=I.watch((y,{name:j})=>{j!=null&&y!=null&&Pt(()=>ht(j,y))});return()=>{l.unsubscribe()}}),w.useEffect(()=>{H(he(B,O))},[B,O]);const mt=I.handleSubmit(()=>{dt&&x()}),{fromAccount:ft,toAccount:Be,amount:L}=e.treasuryTransferMoneyLocalData,gt=l=>{if(!l||!L.amount)return"";const y=e.transferMoneyParties.find(j=>j.id===l);if(l===e.treasuryAccount.id){const j=e.treasuryAccount.balance;if(j&&z.checkIfLowBalance(L,j))return Ve.addMoney}else if(y?.accountBalance?.available&&z.checkIfLowBalance(L,y.accountBalance.available))return Ve.addMoney;return""};return o.jsxs(o.Fragment,{children:[T?o.jsx(Qo,{children:o.jsxs(Jo,{children:[o.jsxs(er,{children:[o.jsx(or,{}),o.jsxs(rr,{children:[o.jsx(nr,{children:e.error?.title}),o.jsx(ir,{children:e.error?.message})]})]}),o.jsx(tr,{children:o.jsx(cr,{"data-testid":P("amount-details-error-close"),onClick:()=>{A(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(ar,{windowSize:i,children:o.jsx(Je,{amount:L,integerStyles:me.integerStyles.styleObject(i),decimalStyles:me.decimalStyles.styleObject(i),alwaysShowDecimal:!0})}),o.jsx(Ct,{...I,children:o.jsxs(Ho,{id:st(at),onSubmit:mt,children:[o.jsxs(sr,{children:[o.jsx(Pe,{size:i,children:o.jsx(Ye,{label:{label:je.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:Ae(_,Ko),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!0,!1,L),defaultValue:{selectedOption:ft?.id,allOptions:fe(e,!0,n,!0,q,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}},valueToAdditionalLabel:gt})}),!n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(Pe,{size:i,children:o.jsx(Ye,{label:{label:je.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:Ae(_,Go),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!1,!1),defaultValue:{selectedOption:Be?.id,allOptions:fe(e,!1,n,!0,q,!1)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})]}),o.jsx(ke,{}),o.jsx(zt,{showAdditionalInfoLabel:!1,label:{label:je.labels.amount,width:$},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:g.formFieldPaddingRight.valuePx(i),width:"auto"},formattedTextField:{type:"number",name:Ae(_,it),defaultValue:L.amount===0?void 0:L.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},placeholder:M.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(lr,{size:i,children:o.jsx(nt,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:L,page:"fund transfer"})})]})]}),!n&&Be?.accType==="treasuryAccount"&&o.jsxs(dr,{children:[p?o.jsxs(ur,{children:[o.jsx(pr,{windowSize:i,children:M.transferDrawer.calculator.heading.replace("__amount__",W("0,0.[00]a",{amount:d,currencySymbol:"$"})).replace("__rate__",O.toString())}),o.jsx(Gt,{interestRate:O,transferAmount:B,setYieldEarned:H,setTransferAmount:Z})]}):null,o.jsxs(mr,{windowSize:i,children:[o.jsxs(wr,{windowSize:i,children:[o.jsx(fr,{children:o.jsx(hr,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${W("0,0",{amount:Q,currencySymbol:"$"})}`})}),o.jsx(gr,{windowSize:i}),o.jsx(xr,{children:`${M.transferDrawer.calculator.footerText.forTotalDeposit} ${W("0,0",{amount:B,currencySymbol:"$"})}`})]}),p?o.jsxs(Ue,{windowSize:i,onClick:()=>C(!1),"data-testid":P("calculator-footer-close"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),o.jsx(yr,{className:"calculatorFooterArrowIcon"})]}):o.jsxs(Ue,{windowSize:i,onClick:()=>C(!0),"data-testid":P("calculator-footer-show"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.showYieldCalculator}),o.jsx($r,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const fe=(e,a,u,n=!0,d,s=!1,m,x)=>{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(s&&d){const p={label:qo.transferDrawer.selectAddAccount,value:"",type:"button",onClick:d};A.push(p)}return A},We=(e,a,u)=>{const{fromAccount:n,toAccount:d,amount:s}=e.treasuryTransferMoneyLocalData;return{transferDetails:{[it]:s.amount===0?void 0:s.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}}}},Qo=r.div`
|
|
260
|
+
`,{common:je,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:Go},billPay:{insufficientFunds:Ve}}}=we.getLocalizedStrings(),it="amount",Uo="transferTo",qo="transferFrom",_="transferDetails",at="transferDetailPage",Ae=(e,a)=>`${e}.${a}`,st=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 Ko({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:n,maxInsuredAmount:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onReviewClick:x,onEstablishConnectionClick:v,onFetchLinkTokenClick:h}){const i=ge(),$=g.largeLabelWidth.value(i),[T,A]=w.useState(!1),[p,C]=w.useState(!1),[B,Z]=w.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),O=a.reduce((l,y)=>{const j=y.yield;return Math.max(l,j)},0),[Q,H]=w.useState(he(B,O)),b=s.link_account_no_microdeposit,[D,xe]=w.useState(b.linkToken??null),[J,ze]=w.useState(!1),[De,Le]=w.useState(!1),ye=e.transferMoneyPartiesFetchState,Fe=pe(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Me=pe($e),Re=pe(be),lt=w.useCallback(l=>{v?.(l),Le(!1),ze(!1)},[v]),ct=w.useCallback((l,y)=>{l!=null&&console.log("Plaid Connection Error",l,y)},[]),{open:ee,ready:G}=kt({token:D,onSuccess:lt,onExit:ct}),U=w.useCallback(l=>{l.preventDefault(),l.stopPropagation(),G?ee():ze(!0)},[ee,G]),I=Tt({mode:"all",reValidateMode:"onChange",defaultValues:w.useMemo(()=>Ye(e,n,U),[e,n])}),{isValid:dt}=I.formState;w.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==D&&xe(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,D]),w.useEffect(()=>{b.linkToken===D&&b.fetchStatus.fetchState==="Completed"&&G&&Le(!0)},[G,D,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),w.useEffect(()=>{De&&J&&ee()},[De,ee,J]),w.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),w.useEffect(()=>{(Fe==="In-Progress"&&ye==="Completed"||Me!==$e||Re!==be)&&I.reset(Ye(e,n,U))},[G,D,b.fetchStatus.fetchState,Fe,ye,Me,Re,be,$e,I,e,n,U]);const ut=()=>e.transferMoneyParties.find(l=>l.id!==e.treasuryAccount.id&&l.accType==="depositAccount"),pt=()=>{const l=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(y=>y.id===l)},ht=async(l,y)=>{if(l!=null){const j={...y},te=j[_].transferFrom.selectedOption,oe=j[_].transferTo.selectedOption;let re=e.transferMoneyParties.find(Se=>Se.id===te),ne=e.transferMoneyParties.find(Se=>Se.id===oe);te===e.treasuryAccount.id&&(re=e.treasuryAccount),oe===e.treasuryAccount.id&&(ne=e.treasuryAccount);const Oe={amount:j[_].amount??0,currencyCode:"USD",currencySymbol:"$"};l.includes("transferFrom")?te===e.treasuryAccount.id?oe===e.treasuryAccount.id&&(ne=ut()):ne=e.treasuryAccount:l.includes("transferTo")&&(oe===e.treasuryAccount.id?te===e.treasuryAccount.id&&(re=pt()):re=e.treasuryAccount);const wt={amount:Oe,fromAccount:re,toAccount:ne};Z(Oe.amount),m(wt)}};w.useEffect(()=>{const l=I.watch((y,{name:j})=>{j!=null&&y!=null&&Pt(()=>ht(j,y))});return()=>{l.unsubscribe()}}),w.useEffect(()=>{H(he(B,O))},[B,O]);const mt=I.handleSubmit(()=>{dt&&x()}),{fromAccount:ft,toAccount:Be,amount:L}=e.treasuryTransferMoneyLocalData,gt=l=>{if(!l||!L.amount)return"";const y=e.transferMoneyParties.find(j=>j.id===l);if(l===e.treasuryAccount.id){const j=e.treasuryAccount.balance;if(j&&z.checkIfLowBalance(L,j))return Ve.addMoney}else if(y?.accountBalance?.available&&z.checkIfLowBalance(L,y.accountBalance.available))return Ve.addMoney;return""};return o.jsxs(o.Fragment,{children:[T?o.jsx(Zo,{children:o.jsxs(Ho,{children:[o.jsxs(Jo,{children:[o.jsx(tr,{}),o.jsxs(or,{children:[o.jsx(rr,{children:e.error?.title}),o.jsx(nr,{children:e.error?.message})]})]}),o.jsx(er,{children:o.jsx(lr,{"data-testid":P("amount-details-error-close"),onClick:()=>{A(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(ir,{windowSize:i,children:o.jsx(Je,{amount:L,integerStyles:me.integerStyles.styleObject(i),decimalStyles:me.decimalStyles.styleObject(i),alwaysShowDecimal:!0})}),o.jsx(Ct,{...I,children:o.jsxs(Qo,{id:st(at),onSubmit:mt,children:[o.jsxs(ar,{children:[o.jsx(Pe,{size:i,children:o.jsx(We,{label:{label:je.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:Ae(_,qo),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!0,!1,L),defaultValue:{selectedOption:ft?.id,allOptions:fe(e,!0,n,!0,U,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}},valueToAdditionalLabel:gt})}),!n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(Pe,{size:i,children:o.jsx(We,{label:{label:je.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:Ae(_,Uo),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!1,!1),defaultValue:{selectedOption:Be?.id,allOptions:fe(e,!1,n,!0,U,!1)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})]}),o.jsx(ke,{}),o.jsx(zt,{showAdditionalInfoLabel:!1,label:{label:je.labels.amount,width:$},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:g.formFieldPaddingRight.valuePx(i),width:"auto"},formattedTextField:{type:"number",name:Ae(_,it),defaultValue:L.amount===0?void 0:L.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},placeholder:M.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(sr,{size:i,children:o.jsx(nt,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:L,page:"fund transfer"})})]})]}),!n&&Be?.accType==="treasuryAccount"&&o.jsxs(cr,{children:[p?o.jsxs(dr,{children:[o.jsx(ur,{windowSize:i,children:M.transferDrawer.calculator.heading.replace("__amount__",Y("0,0.[00]a",{amount:d,currencySymbol:"$"})).replace("__rate__",O.toString())}),o.jsx(qt,{interestRate:O,transferAmount:B,setYieldEarned:H,setTransferAmount:Z})]}):null,o.jsxs(hr,{windowSize:i,children:[o.jsxs(gr,{windowSize:i,children:[o.jsx(mr,{children:o.jsx(pr,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${Y("0,0",{amount:Q,currencySymbol:"$"})}`})}),o.jsx(fr,{windowSize:i}),o.jsx(wr,{children:`${M.transferDrawer.calculator.footerText.forTotalDeposit} ${Y("0,0",{amount:B,currencySymbol:"$"})}`})]}),p?o.jsxs(Ge,{windowSize:i,onClick:()=>C(!1),"data-testid":P("calculator-footer-close"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),o.jsx(xr,{className:"calculatorFooterArrowIcon"})]}):o.jsxs(Ge,{windowSize:i,onClick:()=>C(!0),"data-testid":P("calculator-footer-show"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.showYieldCalculator}),o.jsx(yr,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const fe=(e,a,u,n=!0,d,s=!1,m,x)=>{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(s&&d){const p={label:Go.transferDrawer.selectAddAccount,value:"",type:"button",onClick:d};A.push(p)}return A},Ye=(e,a,u)=>{const{fromAccount:n,toAccount:d,amount:s}=e.treasuryTransferMoneyLocalData;return{transferDetails:{[it]:s.amount===0?void 0:s.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}}}},Zo=r.div`
|
|
261
261
|
margin-top: ${t.sp3};
|
|
262
262
|
display: flex;
|
|
263
263
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -266,44 +266,44 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
266
266
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
267
267
|
border-radius: ${t.sp2};
|
|
268
268
|
box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
269
|
-
`,
|
|
269
|
+
`,Qo=r.form`
|
|
270
270
|
display: flex;
|
|
271
271
|
flex-direction: column;
|
|
272
272
|
justify-content: center;
|
|
273
273
|
align-items: center;
|
|
274
|
-
`,
|
|
274
|
+
`,Ho=r.div`
|
|
275
275
|
display: flex;
|
|
276
276
|
width: 100%;
|
|
277
277
|
justify-content: space-between;
|
|
278
278
|
padding: ${t.sp3} ${t.sp4};
|
|
279
279
|
background-color: ${S.importantLight};
|
|
280
280
|
border-radius: ${t.sp2};
|
|
281
|
-
`,
|
|
281
|
+
`,Jo=r.div`
|
|
282
282
|
display: flex;
|
|
283
283
|
align-items: flex-start;
|
|
284
|
-
`,
|
|
284
|
+
`,er=r.div``,tr=r(ot)`
|
|
285
285
|
width: ${t.sp4};
|
|
286
286
|
height: ${t.sp4};
|
|
287
287
|
color: ${S.important};
|
|
288
|
-
`,
|
|
288
|
+
`,or=r.div`
|
|
289
289
|
display: flex;
|
|
290
290
|
flex-direction: column;
|
|
291
291
|
margin-left: ${t.sp2};
|
|
292
|
-
`,
|
|
292
|
+
`,rr=r(rt)`
|
|
293
293
|
color: ${S.important};
|
|
294
|
-
`,
|
|
294
|
+
`,nr=r(X)`
|
|
295
295
|
color: ${S.important};
|
|
296
|
-
`,
|
|
296
|
+
`,ir=r(tt)`
|
|
297
297
|
color: ${e=>e.theme.colors.primary};
|
|
298
298
|
margin: ${t.sp5} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
299
299
|
${e=>e.windowSize==="small"&&`
|
|
300
300
|
margin-top: ${t.sp1};
|
|
301
301
|
margin-bottom: ${t.sp1};
|
|
302
302
|
`}
|
|
303
|
-
`,
|
|
303
|
+
`,We=r(Dt)`
|
|
304
304
|
border-radius: ${t.sp2};
|
|
305
305
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
306
|
-
`,
|
|
306
|
+
`,ar=r.div`
|
|
307
307
|
display: flex;
|
|
308
308
|
flex-direction: column;
|
|
309
309
|
width: 100%;
|
|
@@ -347,10 +347,10 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
347
347
|
margin-right: ${t.sp1} !important;
|
|
348
348
|
}
|
|
349
349
|
`}
|
|
350
|
-
`,
|
|
350
|
+
`,sr=r(Pe)`
|
|
351
351
|
padding: ${({size:e})=>g.portfolioContainerPadding.valuePx(e)};
|
|
352
352
|
padding-top: ${t.sp2};
|
|
353
|
-
`,
|
|
353
|
+
`,lr=r(Ce)`
|
|
354
354
|
cursor: pointer;
|
|
355
355
|
color: ${e=>e.theme.colors.hero};
|
|
356
356
|
width: ${t.sp4};
|
|
@@ -359,10 +359,10 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
359
359
|
&:hover {
|
|
360
360
|
color: ${e=>e.theme.colors.primary};
|
|
361
361
|
}
|
|
362
|
-
`,
|
|
362
|
+
`,cr=r.div`
|
|
363
363
|
margin-bottom: ${t.sp6};
|
|
364
364
|
width: 90%;
|
|
365
|
-
`,
|
|
365
|
+
`,dr=r.div`
|
|
366
366
|
background-color: ${e=>e.theme.colors.background};
|
|
367
367
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
368
368
|
border-top: none;
|
|
@@ -371,16 +371,16 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
371
371
|
justify-content: center;
|
|
372
372
|
align-items: center;
|
|
373
373
|
flex-direction: column;
|
|
374
|
-
`,
|
|
374
|
+
`,ur=r(X)`
|
|
375
375
|
color: ${e=>e.theme.colors.hero};
|
|
376
376
|
margin: ${e=>e.windowSize==="small"?t.sp3:`${t.sp3} ${t.sp8}`};
|
|
377
377
|
white-space: pre-line;
|
|
378
378
|
text-align: center;
|
|
379
|
-
`,
|
|
379
|
+
`,pr=r.div`
|
|
380
380
|
${e=>me.yieldEarned.style(e.windowSize)}
|
|
381
381
|
color: ${S.success};
|
|
382
382
|
white-space: nowrap;
|
|
383
|
-
`,
|
|
383
|
+
`,hr=r.div`
|
|
384
384
|
display: flex;
|
|
385
385
|
align-items: center;
|
|
386
386
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -389,7 +389,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
389
389
|
background-color: ${e=>e.theme.colors.grey3};
|
|
390
390
|
border-bottom-right-radius: ${t.sp1};
|
|
391
391
|
border-bottom-left-radius: ${t.sp1};
|
|
392
|
-
`,
|
|
392
|
+
`,mr=r.div`
|
|
393
393
|
display: flex;
|
|
394
394
|
flex-direction: row;
|
|
395
395
|
align-items: center;
|
|
@@ -397,7 +397,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
397
397
|
${e=>me.calculatorFooterText.style(e.windowSize)}
|
|
398
398
|
color: ${e=>e.theme.colors.hero};
|
|
399
399
|
cursor: pointer;
|
|
400
|
-
`,
|
|
400
|
+
`,Ge=r.div`
|
|
401
401
|
display: flex;
|
|
402
402
|
flex-direction: row;
|
|
403
403
|
align-items: center;
|
|
@@ -411,7 +411,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
411
411
|
color: ${e=>e.theme.colors.primary};
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
`,
|
|
414
|
+
`,fr=r.div`
|
|
415
415
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
416
416
|
width: ${t.sp1};
|
|
417
417
|
height: ${t.sp1};
|
|
@@ -419,55 +419,55 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
419
419
|
margin: 0 ${t.sp2};
|
|
420
420
|
background-color: ${e=>e.theme.colors.grey1};
|
|
421
421
|
border-radius: 50%;
|
|
422
|
-
`,
|
|
422
|
+
`,gr=r.div`
|
|
423
423
|
display: flex;
|
|
424
424
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
425
425
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
426
426
|
width: ${e=>e.windowSize==="small"?"100%":"unset"};
|
|
427
|
-
`,
|
|
427
|
+
`,wr=r(Bt)`
|
|
428
428
|
color: ${e=>e.theme.colors.hero};
|
|
429
|
-
`,
|
|
429
|
+
`,xr=r(Ot)`
|
|
430
430
|
cursor: pointer;
|
|
431
431
|
width: 12px;
|
|
432
432
|
height: 12px;
|
|
433
433
|
min-width: 12px;
|
|
434
434
|
min-height: 12px;
|
|
435
435
|
color: ${e=>e.theme.colors.hero};
|
|
436
|
-
|
|
436
|
+
`,yr=r(It)`
|
|
437
437
|
cursor: pointer;
|
|
438
438
|
width: 12px;
|
|
439
439
|
height: 12px;
|
|
440
440
|
min-width: 12px;
|
|
441
441
|
min-height: 12px;
|
|
442
442
|
color: ${e=>e.theme.colors.hero};
|
|
443
|
-
`,K={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])}
|
|
443
|
+
`,K={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])},$r={formTitle:new R("h6Regular","h5Regular")},{common:Ue,spendManagement:{treasury:k}}=we.getLocalizedStrings(),Nr=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:n,isFirstTransfer:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onTransferClick:x,onAnotherTransferClick:v,onCancelClick:h,setShowReviewContent:i,onReviewClick:$,onEstablishConnectionClick:T,onFetchLinkTokenClick:A})=>{const p=ge(),{fundsData:C,currentAllocation:B,fundAllocationOptions:Z,fetchState:O}=a,Q=Z.find(J=>xt(J.allocation,B))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},H=()=>O==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:b,toAccount:D,amount:xe}=e.treasuryTransferMoneyLocalData;return o.jsx(vr,{windowSize:p,children:e.fetchState==="Completed"?o.jsxs(qe,{windowSize:p,isTransferCompleted:!0,children:[o.jsx(Ke,{windowSize:p,children:o.jsx(Ze,{"data-testid":P("cross-transfer-success-close-button"),onClick:()=>{h()}})}),o.jsxs(Tr,{windowSize:p,children:[o.jsx(yt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),o.jsx(jr,{children:o.jsxs(o.Fragment,{children:[k.transferDrawer.success.prefix,o.jsx(Ar,{children:Y("0,0.[00]",xe)}),k.transferDrawer.success.midfix,`"${b?.label}"`,k.transferDrawer.success.midfix2,`"${D?.label}".`]})}),o.jsxs(kr,{windowSize:p,children:[o.jsx(Ie,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":P("another-transfer-button","treasury"),onClick:()=>{v()},style:{minWidth:200}}),o.jsx(Ie,{variant:"primary",label:k.transferDrawer.backToTreasury,"data-testid":P("back-to-treasury-button"),onClick:()=>{h()},style:{minWidth:200}})]})]})]}):u?o.jsx(ho,{transferDetails:e,setShowReviewContent:i,onTransferClick:x,fundDetails:C,portfolioAllocation:Q,onCancelClick:h}):o.jsxs(o.Fragment,{children:[o.jsxs(qe,{windowSize:p,isTransferCompleted:!1,children:[o.jsx(Ke,{windowSize:p,children:o.jsx(Ze,{"data-testid":P("cross-amount-details-close-button"),onClick:()=>{h()}})}),p==="small"?o.jsx(Pr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}):o.jsx(Cr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}),p==="small"?o.jsx(Sr,{children:k.transferDrawer.subTitle}):o.jsx(br,{children:k.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?o.jsx(Ko,{onSaveChangesToLocalStore:m,transferDetails:e,onReviewClick:$,fundDetails:C,portfolioAllocation:Q,isFirstTransfer:d,maxInsuredAmount:n,plaidConnectionDetails:s,onEstablishConnectionClick:T,onFetchLinkTokenClick:A}):o.jsx(Qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),H()?o.jsx(He,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:st(at),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Ue.review},cancelBtn:{label:Ue.cancel,onClick:()=>{h()}}}):null]})})},br=r(X)`
|
|
444
444
|
color: ${e=>e.theme.colors.hero};
|
|
445
|
-
`,
|
|
445
|
+
`,Sr=r(W)`
|
|
446
446
|
color: ${e=>e.theme.colors.hero};
|
|
447
|
-
`,
|
|
447
|
+
`,vr=r.div`
|
|
448
448
|
display: flex;
|
|
449
449
|
flex-direction: column;
|
|
450
450
|
background-color: ${e=>e.theme.colors.grey4};
|
|
451
451
|
overflow-x: hidden;
|
|
452
452
|
height: 100vh;
|
|
453
453
|
width: 100%;
|
|
454
|
-
`,
|
|
454
|
+
`,jr=r($t)`
|
|
455
455
|
color: ${e=>e.theme.colors.primary};
|
|
456
456
|
text-align: center;
|
|
457
|
-
`,
|
|
457
|
+
`,Ar=r(bt)`
|
|
458
458
|
display: inline;
|
|
459
|
-
`,
|
|
459
|
+
`,qe=r.div`
|
|
460
460
|
height: ${e=>e.isTransferCompleted?"100%":"auto"};
|
|
461
461
|
padding-left: ${e=>`${K.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
462
462
|
padding-right: ${e=>`${K.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
463
463
|
margin-bottom: auto;
|
|
464
|
-
`,
|
|
464
|
+
`,kr=r.div`
|
|
465
465
|
display: flex;
|
|
466
466
|
justify-content: center;
|
|
467
467
|
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
468
468
|
margin-top: ${t.sp6};
|
|
469
469
|
gap: ${e=>`${K.buttonTrayGap.valuePx(e.windowSize)}`};
|
|
470
|
-
`,
|
|
470
|
+
`,Tr=r.div`
|
|
471
471
|
height: 80%;
|
|
472
472
|
display: flex;
|
|
473
473
|
flex-direction: column;
|
|
@@ -493,14 +493,14 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
|
|
|
493
493
|
&:hover {
|
|
494
494
|
color: ${e=>e.theme.colors.primary};
|
|
495
495
|
}
|
|
496
|
-
`,
|
|
496
|
+
`,Pr=r(At)`
|
|
497
497
|
color: ${e=>e.theme.colors.primary};
|
|
498
498
|
margin-top: ${t.sp3};
|
|
499
499
|
margin-bottom: ${t.sp0};
|
|
500
500
|
margin-right: ${t.sp3};
|
|
501
|
-
`,
|
|
502
|
-
${e=>`${
|
|
501
|
+
`,Cr=r(et)`
|
|
502
|
+
${e=>`${$r.formTitle.style(e.windowSize)}`};
|
|
503
503
|
color: ${e=>e.theme.colors.primary};
|
|
504
504
|
margin-top: ${t.sp3};
|
|
505
505
|
margin-bottom: ${t.sp2};
|
|
506
|
-
`;export{
|
|
506
|
+
`;export{Nr as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as $,j as s,l as u,u as Z,Y as j,ai as z,b5 as B,b6 as F,au as P,p as w,at as R,aa as O,b7 as q,av as K,b9 as _,o as L,g as G,s as N}from"./index-
|
|
1
|
+
import{M as $,j as s,l as u,u as Z,Y as j,ai as z,b5 as B,b6 as F,au as P,p as w,at as R,aa as O,b7 as q,av as K,b9 as _,o as L,g as G,s as N}from"./index-1Afae-x7.js";import{b as v,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as D,u as Q}from"./chartTypes-BuFzxmL_-B2IChMB8.js";import{o as X}from"./toCOABalancesWithID-C-bTJwi8-NxSrtpOt.js";import{V as H}from"./toChartData-Cy5VqMOG-C5DMk1vW.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 I=k.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,J=k.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as D,j as i,c as R,o as t,M as F,C as c,Y as S,ai as E,al as Y,c0 as K,m as a,s as X,a2 as q}from"./index-
|
|
1
|
+
import{X as D,j as i,c as R,o as t,M as F,C as c,Y as S,ai as E,al as Y,c0 as K,m as a,s as X,a2 as q}from"./index-1Afae-x7.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-DgcS2Qi8-DiEt2rLi.js";import{C as W}from"./NoDataChart-3HE6nhZn-KnvhULUo.js";import{F as _}from"./InsightsSection-0LvR4mZQ-BXvcA3NA.js";import{d as Z}from"./TransactionList-k8YmeJcr-MUQoIUD6.js";const G=n.div`
|
|
2
2
|
display: inline-block;
|
|
3
3
|
`,J=n.div`
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as ce,X as se,w as Ke,a1 as en,g3 as R,hb as U,M as q,a as nn,hc as tn,hd as Te,c3 as on,j as t,aV as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,he as dn,c as un,hf as X,hg as pn,a3 as mn,hh as Ve,C as u,s as gn,o as l,cg as fe,a7 as W,g8 as oe,hi as ie,m as d,Q as Ae,g as $e,fx as _e,v as Se,aA as xn}from"./index-
|
|
1
|
+
import{u as ce,X as se,w as Ke,a1 as en,g3 as R,hb as U,M as q,a as nn,hc as tn,hd as Te,c3 as on,j as t,aV as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,he as dn,c as un,hf as X,hg as pn,a3 as mn,hh as Ve,C as u,s as gn,o as l,cg as fe,a7 as W,g8 as oe,hi as ie,m as d,Q as Ae,g as $e,fx as _e,v as Se,aA as xn}from"./index-1Afae-x7.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-BDMRH4As-BAeJZ0ZL.js";import{h as wn}from"./VendorsAccountsSection-WaX0Qe7x-zY81ntXq.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"./MeetingCalenderPopup-Ck4DBnLb-CpWe-W42.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},He={title:new Ae("standardMedium","largeMedium")},bn=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a1 as b,j as t,hk as R,hl as _,X as F,M as O,bO as U,i as C,bQ as z,bR as N,a as M,F as G,cc as H,l as T,c8 as D,C as g,c9 as K,g as A,f as Z,c as J,K as Q,o as i,s as X,m as B,Z as Y,ao as ee}from"./index-
|
|
1
|
+
import{a1 as b,j as t,hk as R,hl as _,X as F,M as O,bO as U,i as C,bQ as z,bR as N,a as M,F as G,cc as H,l as T,c8 as D,C as g,c9 as K,g as A,f as Z,c as J,K as Q,o as i,s as X,m as B,Z as Y,ao as ee}from"./index-1Afae-x7.js";import{b as c,n as f}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 V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as R,fa as x,a1 as U,l as W,X as Y,M as _,j as i,c3 as q,F as A,Y as K,fb as X,o as a,g as G,cd as H,a3 as J,C as y,a2 as Q,c0 as Z,ao as ee,an as te,m as c}from"./index-
|
|
1
|
+
import{a as R,fa as x,a1 as U,l as W,X as Y,M as _,j as i,c3 as q,F as A,Y as K,fb as X,o as a,g as G,cd as H,a3 as J,C as y,a2 as Q,c0 as Z,ao as ee,an as te,m as c}from"./index-1Afae-x7.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:b,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=R({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),$=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{$==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[$,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:b,"data-testid":K("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:b},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
|
|
2
2
|
margin-top: 19px;
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
margin-bottom: ${a.sp2};
|
package/dist/assets/{Vendor2FAPopup-e-xRW6rn-CZH1D4tR.js → Vendor2FAPopup-R19bkGMS-BNz9_Z6D.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a1 as o,M as k,j as i,hk as v,hl as j}from"./index-
|
|
1
|
+
import{a1 as o,M as k,j as i,hk as v,hl as j}from"./index-1Afae-x7.js";import{b as e}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 z=({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=k.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(v,{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{z as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as u}from"./index-
|
|
1
|
+
import{j as u}from"./index-1Afae-x7.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-DuaBM5pi-Bsfl4ipB.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-BEPUwZxt-C_LY2V1e.js";import"./MagicLinkTitleSection-DT1byqwI-DnGCC5VX.js";import"./BankAccountSection-CHFSoKtQ-CqSlxhlX.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
|