@zeniai/web-cockpit-ui 1.14.19-dev-betaSK01 → 1.14.20-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-CVBRtacz-BEkwx2cM.js +21 -0
- package/dist/assets/{AIPerformancePage-CJ0myi1p-CyCBKn16.js → AIPerformancePage-DnOjd2BF-CRXsdl24.js} +52 -52
- package/dist/assets/AccountInfoPage-Bt-jShgf-CCHYq--w.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CVV20YhW-q-TI4Dr6.js → AccountInfoPageContent-Cc80eQeo-579rUIpL.js} +20 -20
- package/dist/assets/AccountLockedInfoModal-B-Hn6_hG-B-4Dg7na.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-CNT6qZyD-ZHVZJgF9.js → AccountReconDetailsDrawerPage-Bz1Sk2du-CwztkqDE.js} +18 -18
- package/dist/assets/{AccountRow-COaolUm5-Bsrm5YYV.js → AccountRow-D01C0A0f-QA2NRq7R.js} +46 -46
- package/dist/assets/{AccountsPromoCardStack-BOmk5qYk-Bnozn1QW.js → AccountsPromoCardStack-DsjFJ8gZ-DjW6RsEa.js} +37 -37
- package/dist/assets/{AddAddressForCardDrawer-DQN-6ztS-C4C6h_V9.js → AddAddressForCardDrawer-DnoYIvUp-DRozqjCP.js} +2 -2
- package/dist/assets/{AddToWalletPage-CT9nivqI-BnXCEk6P.js → AddToWalletPage-BIiW9JxG-D9CD9wND.js} +122 -122
- package/dist/assets/{AgingReportsPage-DGzFK69_-DgqwpnRI.js → AgingReportsPage-WazD_3Z7-CoFeaJHD.js} +17 -17
- package/dist/assets/{AllUserItems-diZQlFqb-DwUtiew2.js → AllUserItems-CTSy4oBh-COmuQZqb.js} +18 -18
- package/dist/assets/ApAgingDetailPage--NGBXWsy-C8HiqI6Z.js +46 -0
- package/dist/assets/AppBasePage-B5br9UXD-BXEvz6Z3.js +70 -0
- package/dist/assets/{AppDrawerContent-Z3Hny9GH-BBS5jJHD.js → AppDrawerContent-vFeMNL3B-anFPhgeB.js} +13 -13
- package/dist/assets/ApprovalRulesSettingsPage-6j7VBBZ6-D1yZE3mH.js +47 -0
- package/dist/assets/ArAgingChart-BYWN3_Nl-CYX1U_rU.js +24 -0
- package/dist/assets/ArAgingDetailPage-B-hHa8A6-BrQATxNB.js +46 -0
- package/dist/assets/{AttachmentView-ChlYn2cr-DueA245P.js → AttachmentView-C2kWA5X5-XqMuBHHe.js} +8 -8
- package/dist/assets/{BankAccountSection-DdvqFTBS-3WhABy0l.js → BankAccountSection-B20IwpOn-dEqA-3oX.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-VrRQxdkB-DFivrjf8.js → BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js} +10 -10
- package/dist/assets/{BankConnectionsSettingsPage-D1Y3V93C-Bfvr_pF_.js → BankConnectionsSettingsPage-Cpg1ObB6-DR3nDiYc.js} +33 -33
- package/dist/assets/{BillDetailPage-XL8GxSiQ-Cxb-3w9d.js → BillDetailPage-DOF5ibT6-Bat6GtFx.js} +17 -17
- package/dist/assets/{BillPayApprovalRuleDetailPage-wIEW2R5G-CC_GZTsX.js → BillPayApprovalRuleDetailPage-BI1R1zT_-D9iKVE5j.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-kGddvG8V-rTKT6DIU.js → BillPayApprovalRulesPage-B3x4So_i-B5TxdAS5.js} +11 -11
- package/dist/assets/{BillPayPromoPage-VBLYqFtx-CSmxPHYz.js → BillPayPromoPage-BqzH5AIp-Bcp4yJP9.js} +10 -10
- package/dist/assets/BillPaySetUpPage-DqiNMnRE-abIQ9Tkf.js +42 -0
- package/dist/assets/BillingSettingsPage-BOAAGOLs-CdPqd8Hl.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-B76xXQJ9-CbXzjgOR.js +1 -0
- package/dist/assets/{BoxItem-DJq3mny1-nPTLB__B.js → BoxItem-DCsIK5bA-DrkhsCS_.js} +4 -4
- package/dist/assets/BusinessVerificationPage-hSVDM_Bi-eN7TBacX.js +140 -0
- package/dist/assets/{CardNumberSubText-Bo_ZeAR0-DocU3odv.js → CardNumberSubText-B_ZdgYVm-CRvH-CRy.js} +4 -4
- package/dist/assets/{CashbackDetailPage-0Yl3lHzq-CJUtuV5y.js → CashbackDetailPage-CNeEt6aE-CsctITKU.js} +32 -32
- package/dist/assets/{ChargeCardDetailPage-BaceF_92-G63YAG6z.js → ChargeCardDetailPage-C0a8jqCD-CUfhgRr0.js} +78 -78
- package/dist/assets/ChargeCardListPage-_3lJqIYP-iewbQ3J2.js +355 -0
- package/dist/assets/{ChargeCardListTable-DE1xnRyd-D2F1GAJW.js → ChargeCardListTable-Kx-_ZAZu-BvnPLhgK.js} +62 -62
- package/dist/assets/ChargeCardPromoPage-CKTkcQdI-B3wD2hqP.js +222 -0
- package/dist/assets/ChargeCardSetupPage-CGRMFERy-BQ8k2roy.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-bpyamxR5-WxHdE5xc.js → ChargeCardStatementsPage-B_7CdyKP-CMTrFXHN.js} +13 -13
- package/dist/assets/ChargeCardUtils-BcwLwgz7-DrE0N0EF.js +1 -0
- package/dist/assets/{ChaseOverlay-YVpKSII6-BIyjTgCz.js → ChaseOverlay-ClcKUdpT-Buerorcp.js} +12 -12
- package/dist/assets/CheckDepositDrawerPage-I3siSP2H-BrRdb26D.js +206 -0
- package/dist/assets/{CollapsableReportTable-CDe76ha7-3Q7qsS_e.js → CollapsableReportTable-ULd7PQST-DRS_mwem.js} +57 -57
- package/dist/assets/{CompanyOfficerDetailsSection-CeVdKqY7-DWrcELqw.js → CompanyOfficerDetailsSection-DLaAmVLG-9U29EMpY.js} +32 -32
- package/dist/assets/{CompanyPassportCard-O7LbMSSb-D53wb0da.js → CompanyPassportCard-CZQuAyI2-Du4zK6a2.js} +8 -8
- package/dist/assets/{CompanyPassportPage-B05q2F4S-DiyGLc2N.js → CompanyPassportPage-DqoVJfO--BezYa4q3.js} +154 -154
- package/dist/assets/CompleteProfile-BJV-xUlM-DoWTiT1k.js +52 -0
- package/dist/assets/ConfettiBurst-D4ga9TRN-DITQey3L.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-BZ6ZfaSo-Dn1DLrma.js → CreateOrEditVendorPage-C6efUMJu-BO_oyqIH.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-cABpaIqh-BIRd807Z.js → CreditCardPaymentDrawerPage-26ysDTts-B2nPMyDO.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-BgJ074tY-CfzZdzTd.js → CreditCardPaymentPlgSection-8NQI5gcx-CtF_TfUM.js} +12 -12
- package/dist/assets/{CurrencySelectField-BfgtNimH-BYHOS_CH.js → CurrencySelectField-CVNn0XCq-DT36t2lI.js} +6 -6
- package/dist/assets/{CustomerOnboardingActivationPage-Czg8rmEW-YInlsWzY.js → CustomerOnboardingActivationPage-D0-sOxDl-Bm2kAKIU.js} +4 -4
- package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-8rsNTWNZ.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DtYTYPnO-DzMzbH73.js → CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BXEF9ppx.js} +17 -17
- package/dist/assets/CustomerOnboardingNoStepsPage-CD1QldcG-CzeAfya1.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-CXZCAc_N-BfMJFDq7.js → CustomerOnboardingPage-DB1gXgdD-CUHFehdd.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-ucFJ1PHr-BwZiAWEx.js → CustomerOnboardingProductSuitePage-DGMmLmq8-Cbgji3lL.js} +12 -12
- package/dist/assets/{Dashboard-CAWL19Rr-CvQLInkH.js → Dashboard-CU3UQhxj-VVHJwggZ.js} +25 -25
- package/dist/assets/{DashboardReportPage-DYgKY1Ns-_VZzH9Ck.js → DashboardReportPage-DMdKWPtx-DkAIriFg.js} +27 -27
- package/dist/assets/DashboardSidebarBackgroundAnimation-BMEqBAyh-vfJQWz_r.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DeOMizAI-BUL1onQj.js → DepositAccTransactionItem-C1-JGWD1-BMvGw-zQ.js} +10 -10
- package/dist/assets/DepositAccTransactionListPage-CfwhQ7mC-B3prPdix.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-FsJvVULE-cMWuJpE8.js → DomesticWireDetailsPage-D6fDbjcO-DHXj9Zdn.js} +1 -1
- package/dist/assets/{DownloadOverlay-CVCKyDWO-CyzPCm3f.js → DownloadOverlay-CsX54puJ-DeWJ_bTZ.js} +39 -39
- package/dist/assets/{DrawerPage-l697kk-T-C0lMqvCR.js → DrawerPage-xYwGDHR6-Ch0S05SG.js} +17 -17
- package/dist/assets/EditPeoplePage-9SmQtrJz-Cw0-GcjG.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-COuH1JPm-DF1XIZnj.js → EditReimbursementDetailPage-EUO0BoRp-EVPPjvHX.js} +49 -49
- package/dist/assets/{EntityDetailPage-BqjWJTDI-qcUtYQZh.js → EntityDetailPage-CF6LS35a-CeBa6jKf.js} +3 -3
- package/dist/assets/{EntitySummarySection-B1zP9dKH-kkSLVqaS.js → EntitySummarySection-C0gR6pkr-AtoRf1sI.js} +11 -11
- package/dist/assets/ExpenseAutomationOverviewPage-B0I8v21w-C1ihD57y.js +222 -0
- package/dist/assets/{ExpenseAutomationPage-DP0P07VH-DhP4-CZe.js → ExpenseAutomationPage-BorzJM7G-DFmLOpV0.js} +88 -88
- package/dist/assets/{ExpressPayPage-CuuS2EDn-D3uvvYo2.js → ExpressPayPage-D0YWItIv-Bvps2LX7.js} +11 -11
- package/dist/assets/FeaturePreviewPage-yu8G5cHk-BxkuThqr.js +11 -0
- package/dist/assets/{FollowStepsSection-DbS5XlIB--DgM9Akw.js → FollowStepsSection-DRDFxA8H-Dg1nQMTR.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-D1a2gbca-BjGUSD3w.js → GlobalReviewListPage-D80yv7U2-CfvcgDlu.js} +11 -11
- package/dist/assets/{HelpButton-Dw0OujKs-8AApGgt1.js → HelpButton-D9ONg6cm-CuNxHNm2.js} +7 -7
- package/dist/assets/{InformationCardStack-QA9nEJlH-BHcB9j6E.js → InformationCardStack-CbKQwtHm-B7yYvAdF.js} +4 -4
- package/dist/assets/{InsightsCardStack-DKM6Xigy-B12rMXAv.js → InsightsCardStack-BWsN9_G2-DemEieR0.js} +13 -13
- package/dist/assets/InsightsSection-WZo-AWJt-DohBwSi_.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-BLjSJt9r-6t6Ass9f.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-KC-9TwlR-DtVQ4upN.js → InternationalWireSwiftDetailsPage-BXNDZ1Mk-BO2f4UVV.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-D59omOr2-BqyFDoPr.js → InternationalWireVerificationPage-BLgPJ1NJ-CMky3KEh.js} +12 -12
- package/dist/assets/InviteFormPage-DPQ4vL9--DIhY9xxd.js +312 -0
- package/dist/assets/{InvitePageListView-BO-RmmHm-B9WEWx8n.js → InvitePageListView-YUKxUGBn-CGJ_yirg.js} +58 -58
- package/dist/assets/InvitePeoplePage-C3vECRns-DBtYnb-4.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CibgDVMW-Ct_Yqg-6.js → InvoiceUploadSection-Cx6pXJiN-CgRQkeV5.js} +10 -10
- package/dist/assets/{IssueChargeCardPage-CB5DhzQb-Dowc3uml.js → IssueChargeCardPage-DZVtocCO-B49QpSq-.js} +75 -75
- package/dist/assets/LabeledAddressValue-BrB2xQYz-B09yXjLA.js +49 -0
- package/dist/assets/LabeledAddressValueField-_35LG3OI-C2eHerzm.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-o0K1dba0-BZipP4yv.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-CIhXQBns-C3KOt5qj.js → LabeledCreatableSingleSelectField-DQwGH21a-D1Rth7u2.js} +8 -8
- package/dist/assets/LabeledDocumentField-CfgzkjDY-CbC276Lv.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-pClUx8A9-Dtg8BoKW.js → LabeledDropDownFormattedTextField-DdaTvUbM-C4uCaUJ3.js} +10 -10
- package/dist/assets/{LabeledText-CW-bei7--hAClqsQN.js → LabeledText-Hi4MixDN-n_lfAbe7.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DZUt2T7b-B09ph3mF.js → LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-CKRRo1Fi.js} +22 -22
- package/dist/assets/{LabeledZeniRolesDropDownField-DNZUBYDP-ltAbPko_.js → LabeledZeniRolesDropDownField-Bm7Emr_n-JLIDvMIU.js} +11 -11
- package/dist/assets/LinkJETransactionPage-ittEPbhi-BCWKpHna.js +98 -0
- package/dist/assets/{LowBalancePopup-DcVkWdb3-vRNfAVIB.js → LowBalancePopup-ChA83eFW-dErt1yuL.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-B3NEKP0z-DUbPO0xw.js → MagicLinkACHDetailsPage-B4PPI06n-DFF50HiV.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-SvX8hE_J-6LOmcKRH.js → MagicLinkDomesticWireDetailsPage-DRK5ytSb-CTgdy9NG.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DnrUY7JS-nyREbLmz.js → MagicLinkInternationalWireDetailsPage-C2pn5xtm-DTn743zM.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-Bag5TE2J-DCGiU-tX.js +31 -0
- package/dist/assets/MagicLinkTitleSection-Ch72cLUN-CsTRlAex.js +17 -0
- package/dist/assets/{MailingDetailsSection-DFxnpK8F-CiXDBg4h.js → MailingDetailsSection-CrHHLtQN-loRqi7di.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-LNaVbSrR-TEQEw5Mb.js → MeetingCalenderPopup-B_KRQLwc-CemZcgIl.js} +3 -3
- package/dist/assets/{Menu-BCNEnlpd-D3With3F.js → Menu-Czq7AdhP-C-oEbm2f.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-DCURGC-R-BMFNqNjE.js → MyBankConnectionsSettingsPage-y3YOYnQr-BDn2GzBg.js} +13 -13
- package/dist/assets/MyPendingActivationChargeCardListPage-DJeYzaPj-Dm2kAILW.js +6 -0
- package/dist/assets/MyProfileSettingsPage-hQvoACAQ-DxTxhxW-.js +85 -0
- package/dist/assets/{NavBarWithPicker-CBOGjIl3-ajX8qLcM.js → NavBarWithPicker-DUaSGf4d-hMIZgUnq.js} +6 -6
- package/dist/assets/{NavigationArrow-C6KDDKXh-BuGIAK_3.js → NavigationArrow-ClEBtns--CBhi3Wa5.js} +5 -5
- package/dist/assets/{NavigationDots-CGOsNTLj-ZRX96j5F.js → NavigationDots-BsJyQWOZ-DQaJD5qn.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-C478pZIu-cHWkOmAB.js → NewGlobalMerchantPage-BKZGSrDk-Bj0fLOGG.js} +4 -4
- package/dist/assets/{NoDataChart-BSoXaJD0-JxM1S3Cy.js → NoDataChart-Bk9eWo52-DbkTpf0E.js} +8 -8
- package/dist/assets/{NoDataTable-iH1r029I-DLkBIcoK.js → NoDataTable-DCQbtvPN-DkrWdcTk.js} +1 -1
- package/dist/assets/{NotFoundPage-BQLKWvT9-wlLCbXww.js → NotFoundPage-CGx7FoiU-CZaJl2_e.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-R7veJvze-BqnLD-ld.js → NotificationSettingsPage-CoD8eTUS-8OIZSyCr.js} +26 -26
- package/dist/assets/NotificationsListConfig-hyqVBWDA-BxI8wBvU.js +1 -0
- package/dist/assets/{NotificationsPage-D_vooxhV-BtfMVNB5.js → NotificationsPage-BavPSx1H-CVEnlnNl.js} +60 -60
- package/dist/assets/{OpExByVendorPage-DWCdLRPc-peo3zX7H.js → OpExByVendorPage-DD8tCc8E-DObB3ZyW.js} +15 -15
- package/dist/assets/{OverlayContainerPage-1M2CZQoK-DROfCTrK.js → OverlayContainerPage-Dg-aOJQU-XdQCUH0G.js} +1 -1
- package/dist/assets/PandLWithForecastPage-bSkidYRR-D-Y5VMs1.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-YLuS3VUf-CaBoPPAw.js → PaymentAccountSetupBillingAddressSection-CGIC_vLw-BIusm93k.js} +12 -12
- package/dist/assets/{PeoplePage-CRZ7ywRU-CZLazd8w.js → PeoplePage-C-2NZJpQ-BbdMKhWr.js} +36 -36
- package/dist/assets/{PortfolioAllocationFormPage-QP1Aoj30-7H62H89u.js → PortfolioAllocationFormPage-B6JOvEvW-BSgeoBob.js} +12 -12
- package/dist/assets/{PortfolioDetails-DOlYfVij-TNjtwW2_.js → PortfolioDetails-Cpv5bi4_-C3K7fsrr.js} +40 -40
- package/dist/assets/{ProductsCarousel-CzJnAk3w-MortVhyi.js → ProductsCarousel-WDd37Mjn-NLHTDL58.js} +11 -11
- package/dist/assets/{PromoBaseCards-CLKhsYfl-BEkL1oHo.js → PromoBaseCards-BaFkKGkm-Bw-1QrdI.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-CiAUTeD2-D061mOJX.js → QBOConnectionDialog-l3ThoJCI-BaUAxpz_.js} +10 -10
- package/dist/assets/QBOSetupSection-DSrxcrXI-CnwGvTKQ.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DCzX_1-a-BNW7pXC_.js → ReimbursementApprovalRuleDetailPage-hb8mPFw0-iXwT5wDy.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DfHVzdAB-hV-2mfna.js → ReimbursementApprovalRulesPage-fs4WqNUv-BvFXhzka.js} +10 -10
- package/dist/assets/{ReimbursementDetailPage-Di8XpCvg-B7b0ZH64.js → ReimbursementDetailPage-BYw6Mc2u-ZOQaZirb.js} +14 -14
- package/dist/assets/{ReimbursementPromoPage-CJSuqONm-DlocTKyV.js → ReimbursementPromoPage-DzDuwRxU-DEtJqrhv.js} +24 -24
- package/dist/assets/ReimbursementSetUpPage-DdT6uu1--I31J4BAO.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CXvng56s-BxlZIO2c.js +1 -0
- package/dist/assets/{ReloadCard-BuBuLupE-Cty15m_t.js → ReloadCard-BPoOhxrs-D8lPs5qf.js} +5 -5
- package/dist/assets/ReportTableViewSelector-CkZW5TtX-I9C4FHDc.js +150 -0
- package/dist/assets/{ReportsPage-R29_iuow-B4_GPbvP.js → ReportsPage-C-ARKbIQ-CCoiMwuP.js} +6 -6
- package/dist/assets/{RevenueChart-D3r_Mgmm-XyYx-Hfz.js → RevenueChart-CuqZW-Jr-B_s8E_iU.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-Cimq9su3-CRN9WHDV.js → ReviewDetailsPage-BVN_Uym2-d0L-TTpG.js} +17 -17
- package/dist/assets/ReviewOverlay-CIgtaUn1-wggYVp0Q.js +152 -0
- package/dist/assets/RoleWithToolTip-Dm4yIm31-3pGQtzkX.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cbe0zp9o-DxmW_LFp.js → ScheduleDetailsFixedAssetsPage-Ce3z1VPg-SvqdKcr4.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DxmJdx3I-Bant9wup.js → ScheduleDetailsPage-O69iLj4h-CXnxPezp.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-srpDx2n6-l1UT781V.js → ScheduleSequenceTable-DMIzc2zC-3WngbgQC.js} +27 -27
- package/dist/assets/{ScreenRoutes-DPjLo75W.js → ScreenRoutes-D3pC7BH7.js} +1 -1
- package/dist/assets/SetUpAccountSection-C1_QjMwF-C_2yznzy.js +378 -0
- package/dist/assets/{SetUpDefaultSection-BWt_kYKx-Dc8telSj.js → SetUpDefaultSection-B-ZEHQUb-iLzGQnWH.js} +15 -15
- package/dist/assets/SignIn-CXQyYEJI-BbNAmrjc.js +408 -0
- package/dist/assets/SignInScreen-DtWV87E_.js +1 -0
- package/dist/assets/SpendManagementListViewPage-DEMLoStE-C1nPAYM8.js +123 -0
- package/dist/assets/{SpendManagementPerTabPage-CZaPjNjx-Bhxn4ZLQ.js → SpendManagementPerTabPage-CLf-7YyR-60GdYb7a.js} +68 -68
- package/dist/assets/{SpendManagementSection-atmLAM4T-DeXVF-9S.js → SpendManagementSection-DIVgOKWy-D35voP2u.js} +22 -22
- package/dist/assets/{SpendMgmtSetupAccountSection-h6duObCp-PJLwXWd-.js → SpendMgmtSetupAccountSection-DFyUBsg3-DRIU7IWr.js} +18 -18
- package/dist/assets/StatementItem-CSyEn4Pz-CIQDSk8U.js +31 -0
- package/dist/assets/StatementsPage-D34J2aZa-9jSr3LU8.js +58 -0
- package/dist/assets/{StatusSwitcher-BTTEP3yZ-DwSqL8zG.js → StatusSwitcher-B77NoO6o-CLTHQ9CP.js} +2 -2
- package/dist/assets/{SubTabSwitcher-BedfItte-C-XhL99Y.js → SubTabSwitcher-baJGHUgJ-BPKK4q6_.js} +6 -6
- package/dist/assets/{SummaryCard--FoJZECU-DjUF26i-.js → SummaryCard-BvuRZj8f-DCeFdYs2.js} +1 -1
- package/dist/assets/{TaskManagementPage-DchOWpNF-n_asmH-l.js → TaskManagementPage-vG8GXEJA-DX4VWYkl.js} +50 -50
- package/dist/assets/{TimeRangeSwitcher-RLCCDvSp-DYQOEgth.js → TimeRangeSwitcher-CnoZ9Rqp-QTEqL6la.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-DABwUJSm-DPkuAUy9.js → TimeframeSwitcher-W5kHnuHI-B5U_sUAn.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-DMblyoo8-ize9yIra.js → TimeframeSwitcherWithToggle-yLA5y4zJ-CFlsdObg.js} +2 -2
- package/dist/assets/{TopExCard-BwOpZFuj-CBPfgwzP.js → TopExCard-oyXmygm8-DV87vjZL.js} +7 -7
- package/dist/assets/{TopExDetailPage-BLaZA-dy-BH7Jcbvo.js → TopExDetailPage-4HMIURzm-ulBg6b5V.js} +19 -19
- package/dist/assets/{TransactionDetailPage-BSDcUBWF-RsUJuQC6.js → TransactionDetailPage-CIw_7B72-CcQHWkUG.js} +55 -55
- package/dist/assets/{TransactionList-CnOj_LA1-DJxHv2ky.js → TransactionList-B9M4ftBY-9Xoftl5l.js} +27 -27
- package/dist/assets/{TransactionListBig-vNVdUmc6-C0TF6R2i.js → TransactionListBig-D5SRFdH7-CUrzZcWs.js} +26 -26
- package/dist/assets/TransactionListPage-DCiIH4ES-DulMTWBW.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-BNY3vBm0-Cw6AkzlK.js +80 -0
- package/dist/assets/{TransferDrawerPage-BMfeqbNy-BPjvRE9M.js → TransferDrawerPage-DdgfrrRM-BBEomNnq.js} +36 -36
- package/dist/assets/{TreasuryOverviewPage-B0vqbfmt-Cncu2g9Z.js → TreasuryOverviewPage-COFbWN48-DSaB6zFu.js} +48 -48
- package/dist/assets/{TreasuryPromoPage-CQDA9os9-W40fA_vr.js → TreasuryPromoPage-EYqV98OG-CvFj_oTJ.js} +22 -22
- package/dist/assets/{TreasurySetupPage-ChKM9npc-DNsYbGBz.js → TreasurySetupPage-DEz3fabz-BopnXkx6.js} +9 -9
- package/dist/assets/TreasuryStatementsPage-JSf4JXXI-CSff_RYi.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-Id6od0WY-D3YHLWYb.js +58 -0
- package/dist/assets/{TreasuryTransferOrReviewPage-wt-8Okdj-CDylzOrV.js → TreasuryTransferOrReviewPage-D25tiep8-CregJCyC.js} +96 -96
- package/dist/assets/TrendChart-xBdkrxjQ-BHwV7FvD.js +16 -0
- package/dist/assets/{TrendWithTransactions-CaExMJVA-C_0n3oh-.js → TrendWithTransactions-CQdqelNB-BxApJhmm.js} +10 -10
- package/dist/assets/{UncategorizedAccountsMappingPage-CEHiflWp-D5pq-zY_.js → UncategorizedAccountsMappingPage-DaSjSoeK-2h_6-Ko4.js} +12 -12
- package/dist/assets/{UnitIntegrationPage-CNZbRdtN-B7b4N3wp.js → UnitIntegrationPage-zM4qGyLV-CinH_PeY.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-Y64l7Rho-BebTHNkT.js +38 -0
- package/dist/assets/{Vendor2FAPopup-CqQOI5F6-CXSUTyq5.js → Vendor2FAPopup-DO-eL5Ot-DjhAlKT-.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BwYEhxJe-BB1a4fFU.js → VendorACHDetailsPage-BDROr_dC-CAZxPDsT.js} +1 -1
- package/dist/assets/{VendorDetailPage-C5zTkWhA-Uj3MwLUr.js → VendorDetailPage-B8S-gV53-DaZx1eZP.js} +19 -19
- package/dist/assets/{VendorDomesticWireDetailsPage-DrwX_ukC-DBWePN-A.js → VendorDomesticWireDetailsPage-BrxQuXus-DYcgNh9D.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C3wjgkez-Dr8QyAeR.js → VendorFiling1099EditablePage-BK-XGzxl-CVlxfcrS.js} +16 -16
- package/dist/assets/{VendorFirstReviewPage-BmRvA38Y-B_gKBGgZ.js → VendorFirstReviewPage-CrSdEY-q-DsAt-Zva.js} +31 -31
- package/dist/assets/{VendorInternationalWireDetailsPage-DtG2HQ0g-WjpK5qgH.js → VendorInternationalWireDetailsPage-DuE2n00d-C0HY8jsi.js} +14 -14
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DLSMDEiO-DSuW-yyD.js → VendorInternationalWireSwiftDetailsPage-_0douojx-uTqjQvZ8.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-5QJEJeCr-ovimcD6K.js → VendorsAccountsSection-C2McA3-C-CAGlOz8b.js} +4 -4
- package/dist/assets/VerifyDevice-BOb4uKLq-B9iw9cGN.js +96 -0
- package/dist/assets/{WarningsDrawerPage-rcWR2KXe-BgEVT8fd.js → WarningsDrawerPage-f9lS8sCp-Yx0s05ZC.js} +11 -11
- package/dist/assets/{ZeniAccountDetailPage-i8C1YB1W-CGdZ9Fyc.js → ZeniAccountDetailPage-BnWDpR9g-BpHh2OhY.js} +27 -27
- package/dist/assets/{ZeniAccountListViewPage-DyHxeqvW-CBT4R7Fd.js → ZeniAccountListViewPage-D9ORn0_O-BQPutSAN.js} +26 -26
- package/dist/assets/ZeniAccountNavBarPieces-4jG3uNmW-B7nBCOPn.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-C5icpLpX-DtIf5jxs.js → ZeniAccountPromoPage-CswETXvx-DfER_hgz.js} +21 -21
- package/dist/assets/ZeniAccountSetupPage-7B6Vgmg6-DsByA6Pf.js +36 -0
- package/dist/assets/{ZeniCopyright-BX1-vpnA-B9MOS9At.js → ZeniCopyright-DrkcGEYL-D8qMh6Rn.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-Bw5S2HTx-CfuKg8UT.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-XP_wmSR7.js → add-to-wallet-DgdBD8_G-y8nGTHEa.js} +1 -1
- package/dist/assets/{analyticsHelper-BFpl-Msc.js → analyticsHelper-B46gu6zH.js} +1 -1
- package/dist/assets/{analyticsHelper-B3JHS_Qr-D08xKZsr.js → analyticsHelper-C37dCyKv-Ci3W403B.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DnzbA_s-.js → arrow-south-east-round-PEovUgvH-D6oVD1ix.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BA0iOPjL.js → auto-transfer-rule-mbafm5D3-DsDlaCxy.js} +1 -1
- package/dist/assets/{chartTypes-CICM6xJ3-DAE7LSQz.js → chartTypes-Cknnnhq_-BKEap-MQ.js} +1 -1
- package/dist/assets/{commonDimensions-EDu7gcyc-DiuxcTjp.js → commonDimensions-D0ovCC4N-B0G2UdHm.js} +1 -1
- package/dist/assets/{crypto-DPjkCRYF.js → crypto-BDNqpTKX.js} +1 -1
- package/dist/assets/{detailCommon-DAG_rX2o-B0QDOSIy.js → detailCommon-CKa5_aP2-CTgqAfFe.js} +9 -9
- package/dist/assets/{downloadPdf-DCmFpTS--B48gcxsA.js → downloadPdf-BJozh7zE-M2Rp1JlQ.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Bnh-gm_T.js → gift-box-Cmt9OgIZ-BqWjP_Ex.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DTLZpyxa.js → graphic-no-data-l-DU4J8fDt-BBc6l6Au.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js → graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js} +1 -1
- package/dist/assets/handshake-BPg58FML-CVKh3Eii.js +1 -0
- package/dist/assets/index-BAKoUD4u.css +1 -0
- package/dist/assets/{index-D9zAXs3-.js → index-Cnh9fv8f.js} +14551 -6041
- package/dist/assets/{liveblocks-C2xecagE.js → liveblocks-CP09Cz-7.js} +2 -2
- package/dist/assets/{lodash-D52QloPU.js → lodash-BWJmwMit.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-CtvSoL64-CS0Ie6NV.js → mapLoadingInProgressToTreeNode-DttwbPj7-BWaq84fe.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BujdmE12-MD1XTXUW.js → mapSectionWithAcOnlyToTreeNode-CKUACdvT-96C16ahX.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CY5XRFK--DC8NIrxN.js → mapSpacerToTreeNode-CeH4tptC-BD7Zb85P.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DVzQl7Bb-DDS_OBZQ.js → mapTimeframeBalancesToTreeNode-CElz2Cb0-CuxVDYys.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DLd8jhti-Bxl7AnhE.js → mapTimeframeBalancesToTreeNode-TLHaVbTv-OZW2z0IX.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CnZa-P_--DVtFUdDi.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Da50HxFS.js} +1 -1
- package/dist/assets/{mui-Ty75qFQF.js → mui-C42whWwM.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-lMo0MYzU.js → page-detail-CWX5S47F-BBa5wfAm.js} +1 -1
- package/dist/assets/{play-icon-KtJH-UgF-Bm3lFkFZ.js → play-icon-XWt7iQeF-7dWJ4Dkg.js} +3 -3
- package/dist/assets/{radio-default-CiSgisfh-Cuu8ymvq.js → radio-default-CiSgisfh-Z5w0WcFM.js} +1 -1
- package/dist/assets/{redux-CEhZD0hA.js → redux-2gfZRks6.js} +1 -1
- package/dist/assets/{routing-lj7oVq6C.js → routing-VwiwPky5.js} +1 -1
- package/dist/assets/{sentry-BE5FTzpq.js → sentry-osuhWjvS.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CDkNAu2o.js → shield-DOlUxcFf-bFVWRY1X.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-B0F8-Lgv-mwB6oBaM.js → toCOABalancesWithID-DACfD5ZE-BgoTIDec.js} +1 -1
- package/dist/assets/{toChartData-D_8GUwpP-CFofR1sw.js → toChartData-C6ap15NT-ByCawuJX.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-CGEA36Na.js → transaction-placeholder-CpOwZAMG-DYG2_sCF.js} +1 -1
- package/dist/assets/{treasuryColorHelper-C2d7wCjK-BWDQfCvz.js → treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js} +1 -1
- package/dist/assets/{uploadAttachment-CxwBrcm3-DDVTRYQ0.js → uploadAttachment-D1XtO8---B9AANbCr.js} +18 -18
- package/dist/assets/{uploadReceipts-DIYsXeyf-_3VvjCR-.js → uploadReceipts-Cl7e8jci-C-56lzXC.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-B0RUPzZV.js → useLongPress-GCK2COYQ-BoJXFS3o.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-ZlUrfnG1.js → usp-line-BBd1wKwW-u-VMxix8.js} +1 -1
- package/dist/assets/{vendor-Bs1fkIUX.js → vendor-rkTZJa59.js} +1 -1
- package/dist/assets/{verification-CW6uEyev-CQXAdM_w.js → verification-CW6uEyev-BVrJsi0i.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ACHDetailsPage-TewccRkX-DetITKOl.js +0 -21
- package/dist/assets/AccountInfoPage-CuytgM09-DMWlq-IF.js +0 -18
- package/dist/assets/ApAgingDetailPage-CtXSUVGC-DdWwytoq.js +0 -46
- package/dist/assets/AppBasePage-D6MgS-da-2jH4Fzgr.js +0 -70
- package/dist/assets/ApprovalRulesSettingsPage-BwnaDPqA-BMHJ2n3v.js +0 -47
- package/dist/assets/ArAgingChart-BvG_iPlt-BYubF9ZD.js +0 -24
- package/dist/assets/ArAgingDetailPage-Sm4672LS-o1itnQt5.js +0 -46
- package/dist/assets/AuditReportDrawerPage-CaFo0k9s-NaTvWx96.js +0 -369
- package/dist/assets/BillPaySetUpPage-CTNtHQBM-CpoUfnMM.js +0 -42
- package/dist/assets/BillingSettingsPage-CR0doM6R-DRs8JS8S.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B0ebreRX-D7v6qOnU.js +0 -1
- package/dist/assets/BusinessVerificationPage-B6lyqGIK-BfLlNZ0a.js +0 -140
- package/dist/assets/BusyIndication-_H8LL7GJ-BjR55KdD.js +0 -9
- package/dist/assets/ChargeCardListPage-_YORyJOy-uqdfjUZk.js +0 -355
- package/dist/assets/ChargeCardPromoPage-DO2UJyXm-Dwx7STGG.js +0 -222
- package/dist/assets/ChargeCardSetupPage-De5jDB3D-CMdmpmLu.js +0 -36
- package/dist/assets/ChargeCardUtils-DYpmF85C-qBaPG14m.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-Dj2do0Un-DCNBKUNr.js +0 -206
- package/dist/assets/CompleteProfile-B_dl9xEx-DFZ3KU15.js +0 -52
- package/dist/assets/ConfettiBurst-ChCmpiHq-BBDSx_jo.js +0 -1
- package/dist/assets/ControlledCheckBoxField-BIqM2o6X-Ml88Uf7U.js +0 -74
- package/dist/assets/CustomerOnboardingContainerPage-Ciaw11Nw-O_DtjvXM.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CdOEZjmC-HqvGWI7K.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-CblfOXOJ-B4cbMZpc.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-2kpIHXLb-j8eQ9Syw.js +0 -66
- package/dist/assets/EditPeoplePage-CwhUp4W2-CnFSjC3L.js +0 -55
- package/dist/assets/EmptySearchResults-CB9-FwYT-DCczU5qh.js +0 -46
- package/dist/assets/ExpenseAutomationOverviewPage-CKokJTC4-C9VvWXen.js +0 -222
- package/dist/assets/FeaturePreviewPage-D90G_5Q8-CnQvTfz2.js +0 -11
- package/dist/assets/Header-DLZFUQF8-BI2bQ6MH.js +0 -226
- package/dist/assets/HealthListRow-iF093_lw-DegqmjBi.js +0 -210
- package/dist/assets/HealthMonitorDetailDrawer-BJRgJJOH-BzVkHFE6.js +0 -401
- package/dist/assets/HealthMonitorPage-BT0gIPV6-BAgQvawR.js +0 -108
- package/dist/assets/InsightsSection-DxpsNIIy-D73VhmA2.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-DEOHHrS4-xD8BgFGo.js +0 -57
- package/dist/assets/InviteFormPage-CU5_JoYd-DtlUlrhp.js +0 -312
- package/dist/assets/InvitePeoplePage-Btu9ayOz-bG-WZTzF.js +0 -12
- package/dist/assets/LabeledAddressValue-tO6Kg-ki-DIZXgDEF.js +0 -49
- package/dist/assets/LabeledAddressValueField-CkveEJJG-BEvwzrCB.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-B50HdRDc-BPCXXpG-.js +0 -16
- package/dist/assets/LabeledDocumentField-B8uyJA2N-B3iZ1bpr.js +0 -41
- package/dist/assets/LabeledEmailInputField-D5OBo0RU-Cn7DEiyr.js +0 -182
- package/dist/assets/LabeledGroupedCheckBoxField-DLSgfRui-CIvqEp4U.js +0 -82
- package/dist/assets/LabeledItemWithButton-CNlRAl-1-D8RdmCNz.js +0 -21
- package/dist/assets/LabeledNameField-B73hOD1K-DrzOl55q.js +0 -141
- package/dist/assets/LabeledSingleSelectField-nPVDbcr0-DXhzL0iF.js +0 -136
- package/dist/assets/LabeledSingleSelectWithoutClearableField-DgT7faZC-Or3zfyeO.js +0 -38
- package/dist/assets/LinkJETransactionPage-ChyKb7xl-LR_CFAXE.js +0 -98
- package/dist/assets/Loader-Cqmoylhp-CKPikayq.js +0 -32
- package/dist/assets/MagicLinkSuccessPage-7bTkYgEa-CPPkAGGs.js +0 -31
- package/dist/assets/MagicLinkTitleSection-BlxCsth7-BHITpmKu.js +0 -17
- package/dist/assets/ManagementPage-D5egEDwP-uTkBBFJq.js +0 -556
- package/dist/assets/MatchingOperatorDropdown-C5zSNKmV-DBpzsPUC.js +0 -130
- package/dist/assets/MonthEndEmailDrawerCustomerRequestPage-CK7yjkYx-Dj2GK4HO.js +0 -39
- package/dist/assets/MonthEndReportHistoricDataPage-BuRBd_9k-DDKlEI2q.js +0 -124
- package/dist/assets/MonthEndReportPage-DOTCU96W-VybM2w9h.js +0 -28
- package/dist/assets/MoreMenuButton-Cj6SIPVt-CYCCFBqM.js +0 -134
- package/dist/assets/MyPendingActivationChargeCardListPage-BFe1hoDt-CfBCldAO.js +0 -6
- package/dist/assets/MyProfileSettingsPage-B7zND-Ux-BN19QlhA.js +0 -85
- package/dist/assets/NavBar-BjyxKUvF-gwYjTp7H.js +0 -189
- package/dist/assets/NavHeader-9VET6uub-DBlTa1KF.js +0 -236
- package/dist/assets/NotificationsListConfig-CyQxEQ13-D7e4Z7fR.js +0 -1
- package/dist/assets/OnboardingCustomerPage-jmb-3M9K-C-4WzmwX.js +0 -476
- package/dist/assets/OnboardingPage-LCaIErMj-Bhag4ahh.js +0 -408
- package/dist/assets/PandLWithForecastPage-3h8Q4kZg-CZgSqzQW.js +0 -107
- package/dist/assets/PortfolioPage-BfNGByGB-ea6OEgaP.js +0 -237
- package/dist/assets/QBOSetupSection-D-Q_DVva-q5JlqA-2.js +0 -79
- package/dist/assets/ReimbursementSetUpPage-5OtsfDPV-DQz8dNtG.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-BX722SXa-YTQZVgWe.js +0 -1
- package/dist/assets/ReloadContainer-BRXUxBxu-BAp5l7-f.js +0 -13
- package/dist/assets/ReloadContainer-fx3kImdJ-D2lKf-Yd.js +0 -17
- package/dist/assets/ReportTableViewSelector-W7zYmKIW-BpJdvlc6.js +0 -150
- package/dist/assets/ReviewOverlay-Bz1kr6zu-Dw4JE5ud.js +0 -152
- package/dist/assets/ReviewPage-Cel3qzEQ-DiaZxW5f.js +0 -306
- package/dist/assets/RoleWithToolTip-CUogd8qi-BfjjZiS9.js +0 -22
- package/dist/assets/SetUpAccountSection-2UGQI7fx-D_tNKXyG.js +0 -378
- package/dist/assets/SignIn-BF4ojxcy-ignSyaGW.js +0 -408
- package/dist/assets/SignInScreen-DjQXT0cG.js +0 -1
- package/dist/assets/SpendManagementListViewPage-DbfQ_jzA-sW1BTRjR.js +0 -123
- package/dist/assets/StatementItem-DgZtQdC5-CijP321B.js +0 -31
- package/dist/assets/StatementsPage-Az4ZzxA6-CY7Q-Hv-.js +0 -58
- package/dist/assets/StatusTag-MQXQGj2--SPp-Hljk.js +0 -38
- package/dist/assets/SubscriptionAddPlanPage-Bn4CUx_v-BcoEoxy8.js +0 -59
- package/dist/assets/SubscriptionDetailPage-BZDJEjR1-DavSO9K8.js +0 -216
- package/dist/assets/SubscriptionPage-Tpj1RZco-CfI0x1AO.js +0 -282
- package/dist/assets/SubscriptionSnackBar-CwdSE1Xz-BYx3vQ0D.js +0 -57
- package/dist/assets/SubscriptionSummaryPage-Dep_cm58-D3JscAEe.js +0 -176
- package/dist/assets/SubscriptionUpdatePlanPage-5_wWKxme-CSTH4683.js +0 -408
- package/dist/assets/SuccessAnimation-BtFsm6Oj-BU_bae75.js +0 -13
- package/dist/assets/TaskDetailPage-aleDjLBo-DJGRUSEM.js +0 -775
- package/dist/assets/TaskListRow-xLyzXOYn-CLZGelcY.js +0 -403
- package/dist/assets/TaskManagerPage-Dye8P0ua-jLCJwLcT.js +0 -176
- package/dist/assets/TextHighlightSection-Y0L_w9RR-D8_NKTqM.js +0 -584
- package/dist/assets/TransactionListPage-CrUtG598-DR2tdFwA.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-DjuFdK9S-Bn1DMv6P.js +0 -80
- package/dist/assets/TreasuryStatementsPage-C0oRa1nh-BiT4V4PF.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-BuGFH3YF-BkeOYDmd.js +0 -58
- package/dist/assets/TrendChart-a95Aii8O-Crc1NrOm.js +0 -16
- package/dist/assets/UploadAdditionalDocumentOverlay-Bxc2MMx0-Cpl1vzGP.js +0 -38
- package/dist/assets/UserMultiSelectField-UsIy6n-8-DdaF7B7O.js +0 -154
- package/dist/assets/UserWithTimestamp-i09mOCAu-Cw5lsbIN.js +0 -38
- package/dist/assets/VerifyDevice-DBnFzHim-C-LQbPfS.js +0 -67
- package/dist/assets/ZeniAccountNavBarPieces-CsSdfTKg-5k_P9-6W.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-BXHIQxgf-DcysatW3.js +0 -36
- package/dist/assets/ZeniAvatar-Cendj_Bv-Dp3oXY0H.js +0 -13
- package/dist/assets/ZeniDatePicker-El_phkQ0-z80YcUbm.js +0 -187
- package/dist/assets/ZeniDatePickerField-3DaqcxMB-QK1YG1pI.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-CxxqQPB_-BqeHyBds.js +0 -63
- package/dist/assets/add-C0nqJFLa-C2eApjPK.js +0 -1
- package/dist/assets/avatar-Dz7aEm3d-D64JGSQG.js +0 -1
- package/dist/assets/calculateSize-BUfcd-gF-DqmEdKsX.js +0 -1
- package/dist/assets/clock-CJkylEKt-CJ3FIZ_o.js +0 -1
- package/dist/assets/cockpitConstants-CT7OARAT-C430UcjZ.js +0 -1
- package/dist/assets/cockpitHelpers-CSVzBgeI-BARdDEyf.js +0 -1
- package/dist/assets/cockpitHelpers-Y5_CbmvR-BhJ5C_6h.js +0 -1
- package/dist/assets/common-CU4uS1La-DdHnWUCD.js +0 -1
- package/dist/assets/dollar-round-D18u7nlm-CXc5TAek.js +0 -1
- package/dist/assets/double-tick-D6s_OvsM-DFvZDijg.js +0 -1
- package/dist/assets/filter-cZIFUNvj-B9dfJXS9.js +0 -1
- package/dist/assets/getCockpitColor-YYDF6h1T-D0_aeMEA.js +0 -1
- package/dist/assets/groupHelper-CTA_J_U7-CPJTcSSg.js +0 -1
- package/dist/assets/hyperlink-DQyCeXx2-ChMvASRu.js +0 -1
- package/dist/assets/index-DVThwdcI.css +0 -1
- package/dist/assets/intuit-quick-books-logo-qyL3_3cm-Cj0LgD2I.js +0 -1
- package/dist/assets/loader-BwDk7JSW-DoE-nOgh.js +0 -1
- package/dist/assets/money-2cg1MuG4-BaDu1jFd.js +0 -1
- package/dist/assets/note-DCtChU1T-DArfpxk4.js +0 -1
- package/dist/assets/page-summary-D7_VQHwN-DEY33DNc.js +0 -1
- package/dist/assets/sectionColor-euXcOIkp-Cmmp8esL.js +0 -1
- package/dist/assets/tick-round-CPC394H5-C8roQJBa.js +0 -1
- package/dist/assets/undo-b_3XZ5CX-Xpx_MAU7.js +0 -1
- package/dist/assets/zeniDatePicker.helpers-Bv0wGqkO-0jS7nOtw.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as ge,E as $t,j as o,_ as P,gT as bt,M as we,a0 as W,k as Ne,m as Ze,a4 as et,o as t,C as f,a3 as Le,L as St,am as vt,u as jt,a2 as U,bA as At,cU as tt,b as R,l as z,g0 as kt,c as S,s as Tt,h as ot,d as X,n as Y,f0 as Pt,a as Ct,c9 as zt,F as Lt,fI as Dt,q as c,bu as rt,d0 as nt,bN as it,cF as Ft,cw as Mt,fc as Rt,f4 as Bt,d5 as Ot,B as It,f5 as Et,ds as Nt,c2 as _t,c1 as Vt,aR as Wt,bd as Xt,fe as Yt,fn as Gt,ab as qt}from"./index-Cnh9fv8f.js";import{n as r,b as w}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-Cpv5bi4_-C3K7fsrr.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js";const Ut=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ht=1e3;function Jt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,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(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Ht,value:l,onChange:x}),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:Kt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Qt(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Kt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Ut.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 Qt=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%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
|
|
2
2
|
width: 100%;
|
|
3
3
|
&[type="range"]::-webkit-slider-runnable-track {
|
|
4
4
|
height: 2px;
|
|
@@ -22,7 +22,7 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
22
22
|
background-repeat: no-repeat;
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,to=r.div`
|
|
26
26
|
position: relative;
|
|
27
27
|
width: 70%;
|
|
28
28
|
margin-left: 30px;
|
|
@@ -30,26 +30,26 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
30
30
|
margin-bottom: 20px;
|
|
31
31
|
margin-top: ${t.sp5};
|
|
32
32
|
min-height: ${t.sp8};
|
|
33
|
-
`,
|
|
33
|
+
`,oo=r.div`
|
|
34
34
|
position: absolute;
|
|
35
35
|
height: 2px;
|
|
36
36
|
margin-top: -${t.sp2};
|
|
37
37
|
background-color: ${e=>e.theme.colors.hero};
|
|
38
|
-
`,
|
|
38
|
+
`,ro=r.div`
|
|
39
39
|
position: absolute;
|
|
40
40
|
bottom: ${t.sp0};
|
|
41
41
|
top: ${t.sp5};
|
|
42
42
|
width: 100%;
|
|
43
43
|
display: flex;
|
|
44
44
|
justify-content: center;
|
|
45
|
-
`,
|
|
45
|
+
`,no=r.span`
|
|
46
46
|
position: absolute;
|
|
47
47
|
cursor: pointer;
|
|
48
48
|
transform: translateX(-50%);
|
|
49
|
-
`,
|
|
49
|
+
`,io=r(X)`
|
|
50
50
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
|
|
51
51
|
white-space: nowrap;
|
|
52
|
-
`,
|
|
52
|
+
`,ao=r(X)`
|
|
53
53
|
position: absolute;
|
|
54
54
|
top: -${t.sp5};
|
|
55
55
|
white-space: nowrap;
|
|
@@ -60,15 +60,15 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
60
60
|
justify-content: center;
|
|
61
61
|
align-items: center;
|
|
62
62
|
padding: 2px ${t.sp2};
|
|
63
|
-
`,
|
|
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:E},billPay:{insufficientFunds:{lowBalance:co,addOrSwitchInitiateTransfer:uo,lowBalanceIn:po}}}}=we.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.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(Uo,{}),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.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.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.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(),x=jt(),v=U(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=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(_e,{"data-testid":P("nav-bar-close-transfer-review"),onClick:l})})}),o.jsx(Ro,{windowSize:m,children:E.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:[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(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(_e,{"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:x,toAccount:T,transferDetails:e})}),o.jsx(So,{children:o.jsx(at,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:wo(e),fundAllocations:xo(e),page:"transfer review"})})]})})]}),o.jsx(et,{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:so,onClick:()=>{i(!1),n(!1)},style:{minWidth:94}},primaryBtn:{label:E.transferBtn,onClick:d,isLoading:e.fetchState==="In-Progress",isDisabled:p,style:{minWidth:94}}})]})},_=(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(x=>x.id===a),m=e.findIndex(x=>x.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(No,{src:go(l.logo),isOptionSelected:u,isForReview:d,loading:"lazy"}):o.jsx(_o,{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 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&&!l?o.jsx(Oo,{children:x?.maskedAccountNumber}):o.jsxs(Bo,{className:"option-sublabel",children:[o.jsx(Ae,{children:x?.maskedAccountNumber}),x?.accountBalance?.available?o.jsx(Eo,{className:"dot"}):null,x?.accountBalance?.available?o.jsxs(Ae,{children:[W("0,0[.]00",x.accountBalance.available),v?o.jsx(Io,{children:co}):null]}):null,x?.balanceFetchStatus?.fetchState==="In-Progress"?o.jsx(Ze,{size:"Small",start:!0}):null]})},go=e=>e.base64!==void 0?`${Bt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",wo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},xo=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
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
66
|
-
`,le=
|
|
66
|
+
`,le=r(X)`
|
|
67
67
|
color: ${e=>e.theme.colors.hero};
|
|
68
|
-
`,ce=
|
|
68
|
+
`,ce=r(Y)`
|
|
69
69
|
display: flex;
|
|
70
70
|
align-items: center;
|
|
71
|
-
|
|
71
|
+
`,$o=r.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
flex-direction: column;
|
|
74
74
|
width: 100%;
|
|
@@ -76,19 +76,19 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
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=>`${H.elementsContainerPadding.valuePx(e.windowSize)}`};
|
|
80
80
|
gap: ${t.sp4};
|
|
81
81
|
${e=>e.windowSize==="small"&&`
|
|
82
82
|
width: auto;
|
|
83
83
|
`}
|
|
84
|
-
|
|
84
|
+
`,bo=r.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
87
87
|
justify-content: space-between;
|
|
88
88
|
align-items: ${e=>e.windowSize==="small"?"stretch":"center"};
|
|
89
89
|
width: 100%;
|
|
90
90
|
background-color: ${e=>e.theme.colors.grey5};
|
|
91
|
-
`,de=
|
|
91
|
+
`,de=r.div`
|
|
92
92
|
display: flex;
|
|
93
93
|
flex-direction: column;
|
|
94
94
|
gap: ${t.sp1};
|
|
@@ -97,27 +97,27 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
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
|
+
`,So=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
|
+
`,vo=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
|
+
`,jo=r.div`
|
|
113
113
|
display: flex;
|
|
114
114
|
flex-direction: column;
|
|
115
115
|
margin-left: ${t.sp2};
|
|
116
|
-
`,
|
|
116
|
+
`,Ao=r(it)`
|
|
117
117
|
color: ${S.important};
|
|
118
|
-
`,
|
|
118
|
+
`,ko=r(Y)`
|
|
119
119
|
color: ${S.important};
|
|
120
|
-
`,
|
|
120
|
+
`,To=r.div`
|
|
121
121
|
margin-top: ${t.sp3};
|
|
122
122
|
display: flex;
|
|
123
123
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -126,19 +126,19 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
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
|
+
`,Po=r.div`
|
|
130
130
|
height: auto;
|
|
131
|
-
padding-left: ${e=>`${
|
|
132
|
-
padding-right: ${e=>`${
|
|
131
|
+
padding-left: ${e=>`${H.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
132
|
+
padding-right: ${e=>`${H.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
133
133
|
margin-bottom: auto;
|
|
134
|
-
`,
|
|
134
|
+
`,Co=r.div`
|
|
135
135
|
display: flex;
|
|
136
136
|
align-items: flex-start;
|
|
137
|
-
`,
|
|
137
|
+
`,zo=r.div``,Lo=r(nt)`
|
|
138
138
|
width: ${t.sp4};
|
|
139
139
|
height: ${t.sp4};
|
|
140
140
|
color: ${S.important};
|
|
141
|
-
`,
|
|
141
|
+
`,_e=r(Le)`
|
|
142
142
|
cursor: pointer;
|
|
143
143
|
color: ${e=>e.theme.colors.hero};
|
|
144
144
|
width: ${t.sp4};
|
|
@@ -147,117 +147,117 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
147
147
|
&:hover {
|
|
148
148
|
color: ${e=>e.theme.colors.primary};
|
|
149
149
|
}
|
|
150
|
-
`,
|
|
150
|
+
`,Do=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
|
-
`,ue=
|
|
156
|
+
`,ue=r(X)`
|
|
157
157
|
color: ${e=>e.theme.colors.hero};
|
|
158
|
-
`,
|
|
158
|
+
`,Fo=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=>`${H.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
|
|
163
|
+
`,Mo=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=>`${H.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
171
171
|
z-index: 2;
|
|
172
172
|
background-color: transparent;
|
|
173
|
-
`,
|
|
173
|
+
`,Ro=r(ot)`
|
|
174
174
|
${e=>`${Ce.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
|
+
`,Bo=r(X)`
|
|
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
|
+
`,Oo=r.span`
|
|
187
187
|
margin-left: ${t.sp2};
|
|
188
|
-
`,Ae=
|
|
188
|
+
`,Ae=r.div``,Io=r(Xt)`
|
|
189
189
|
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
190
190
|
margin-left: ${t.sp1};
|
|
191
|
-
`,
|
|
191
|
+
`,Eo=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
|
+
`,No=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
|
+
`,_o=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
|
+
`,Vo=r(Gt)`
|
|
209
209
|
min-width: inherit;
|
|
210
210
|
width: inherit;
|
|
211
211
|
height: inherit;
|
|
212
212
|
margin-right: ${t.sp2};
|
|
213
|
-
`,Ve=
|
|
213
|
+
`,Ve=r.div`
|
|
214
214
|
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
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
|
-
`,We=
|
|
218
|
+
`,We=r(Yt)`
|
|
219
219
|
min-width: inherit;
|
|
220
220
|
width: inherit;
|
|
221
221
|
height: inherit;
|
|
222
222
|
margin-right: ${t.sp2};
|
|
223
|
-
`,
|
|
223
|
+
`,Wo=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
|
+
`,Xo=r(rt)`
|
|
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
|
+
`,Yo=r(Y)`
|
|
237
237
|
color: ${e=>e.theme.colors.hero};
|
|
238
238
|
margin-top: ${t.sp3};
|
|
239
|
-
`,
|
|
239
|
+
`,Go=r(Wt)`
|
|
240
240
|
width: ${t.sp4};
|
|
241
241
|
height: ${t.sp4};
|
|
242
242
|
color: ${e=>e.theme.colors.hero};
|
|
243
|
-
`,
|
|
243
|
+
`,qo=r(_t)`
|
|
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
|
+
`,Uo=r(Vt)`
|
|
249
249
|
width: ${t.sp4};
|
|
250
250
|
height: ${t.sp4};
|
|
251
251
|
color: ${e=>e.theme.colors.hero};
|
|
252
252
|
align-self: center;
|
|
253
|
-
`,pe=
|
|
253
|
+
`,pe=r.div`
|
|
254
254
|
width: 1px;
|
|
255
255
|
height: 25px;
|
|
256
256
|
background-color: ${e=>e.theme.colors.grey1};
|
|
257
257
|
position: absolute;
|
|
258
258
|
right: 50%;
|
|
259
259
|
bottom: -25px;
|
|
260
|
-
`,{common:ke,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:Kr},billPay:{insufficientFunds:Ye}}}=we.getLocalizedStrings(),st="amount",qr="transferTo",Qr="transferFrom",_="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 Zr({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:n,maxInsuredAmount:d,plaidConnectionDetails:l,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((s,y)=>{const j=y.yield;return Math.max(s,j)},0),[H,U]=w.useState(he(B,O)),b=l.link_account_no_microdeposit,[D,xe]=w.useState(b.linkToken??null),[ee,Le]=w.useState(!1),[Fe,Me]=w.useState(!1),ye=e.transferMoneyPartiesFetchState,Re=K(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Be=K($e),Oe=K(be),Se=e.transferMoneyParties.map(s=>s.id),ve=K(Se),dt=w.useCallback(s=>{v?.(s),Me(!1),Le(!1)},[v]),ut=w.useCallback((s,y)=>{s!=null&&console.log("Plaid Connection Error",s,y)},[]),{open:te,ready:X}=Pt({token:D,onSuccess:dt,onExit:ut}),J=w.useCallback(s=>{s.preventDefault(),s.stopPropagation(),X?te():Le(!0)},[te,X]),I=Ct({mode:"all",reValidateMode:"onChange",defaultValues:w.useMemo(()=>Ge(e,n,J),[e,n])}),{isValid:pt}=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"&&X&&Me(!0)},[X,D,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),w.useEffect(()=>{Fe&&ee&&te()},[Fe,te,ee]),w.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),w.useEffect(()=>{const s=ve!=null&&JSON.stringify(ve)!==JSON.stringify(Se);(Re==="In-Progress"&&ye==="Completed"||Be!==$e||Oe!==be||s)&&I.reset(Ge(e,n,J))},[X,D,b.fetchStatus.fetchState,Re,ye,Be,Oe,be,$e,ve,Se,I,e,n,J]);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},re=j[_].transferFrom.selectedOption,oe=j[_].transferTo.selectedOption;let ne=e.transferMoneyParties.find(je=>je.id===re),ie=e.transferMoneyParties.find(je=>je.id===oe);re===e.treasuryAccount.id&&(ne=e.treasuryAccount),oe===e.treasuryAccount.id&&(ie=e.treasuryAccount);const Ee={amount:j[_].amount??0,currencyCode:"USD",currencySymbol:"$"};s.includes("transferFrom")?re===e.treasuryAccount.id?oe===e.treasuryAccount.id&&(ie=ht()):ie=e.treasuryAccount:s.includes("transferTo")&&(oe===e.treasuryAccount.id?re===e.treasuryAccount.id&&(ne=mt()):ne=e.treasuryAccount);const yt={amount:Ee,fromAccount:ne,toAccount:ie};Z(Ee.amount),m(yt)}};w.useEffect(()=>{const s=I.watch((y,{name:j})=>{j!=null&&y!=null&&zt(()=>ft(j,y))});return()=>{s.unsubscribe()}}),w.useEffect(()=>{U(he(B,O))},[B,O]);const gt=I.handleSubmit(()=>{pt&&x()}),{fromAccount:wt,toAccount:Ie,amount:L}=e.treasuryTransferMoneyLocalData,xt=s=>{if(!s||!L.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(L,j))return Ye.addMoney}else if(y?.accountBalance?.available&&z.checkIfLowBalance(L,y.accountBalance.available))return Ye.addMoney;return""};return r.jsxs(r.Fragment,{children:[T?r.jsx(Hr,{children:r.jsxs(eo,{children:[r.jsxs(to,{children:[r.jsx(oo,{}),r.jsxs(no,{children:[r.jsx(io,{children:e.error?.title}),r.jsx(ao,{children:e.error?.message})]})]}),r.jsx(ro,{children:r.jsx(uo,{"data-testid":P("amount-details-error-close"),onClick:()=>{A(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,r.jsx(so,{windowSize:i,children:r.jsx(tt,{amount:L,integerStyles:me.integerStyles.styleObject(i),decimalStyles:me.decimalStyles.styleObject(i),alwaysShowDecimal:!0})}),r.jsx(Dt,{...I,children:r.jsxs(Ur,{id:ct(lt),onSubmit:gt,children:[r.jsxs(lo,{children:[r.jsx(ze,{size:i,children:r.jsx(Xe,{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(_,Qr),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,L),defaultValue:{selectedOption:wt?.id,allOptions:fe(e,!0,n,!0,J,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}},valueToAdditionalLabel:xt})}),!n&&r.jsxs(r.Fragment,{children:[r.jsx(Pe,{}),r.jsx(ze,{size:i,children:r.jsx(Xe,{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(_,qr),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,J,!1)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})]}),r.jsx(Pe,{}),r.jsx(Lt,{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(_,st),defaultValue:L.amount===0?void 0:L.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&&r.jsxs(r.Fragment,{children:[r.jsx(Pe,{}),r.jsx(co,{size:i,children:r.jsx(at,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:L,page:"fund transfer"})})]})]}),!n&&Ie?.accType==="treasuryAccount"&&r.jsxs(po,{children:[p?r.jsxs(ho,{children:[r.jsx(mo,{windowSize:i,children:M.transferDrawer.calculator.heading.replace("__amount__",W("0,0.[00]a",{amount:d,currencySymbol:"$"})).replace("__rate__",O.toString())}),r.jsx(Qt,{interestRate:O,transferAmount:B,setYieldEarned:U,setTransferAmount:Z})]}):null,r.jsxs(go,{windowSize:i,children:[r.jsxs(yo,{windowSize:i,children:[r.jsx(wo,{children:r.jsx(fo,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${W("0,0",{amount:H,currencySymbol:"$"})}`})}),r.jsx(xo,{windowSize:i}),r.jsx($o,{children:`${M.transferDrawer.calculator.footerText.forTotalDeposit} ${W("0,0",{amount:B,currencySymbol:"$"})}`})]}),p?r.jsxs(Ke,{windowSize:i,onClick:()=>C(!1),"data-testid":P("calculator-footer-close"),children:[r.jsx(Je,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),r.jsx(bo,{className:"calculatorFooterArrowIcon"})]}):r.jsxs(Ke,{windowSize:i,onClick:()=>C(!0),"data-testid":P("calculator-footer-show"),children:[r.jsx(Je,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.showYieldCalculator}),r.jsx(So,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const fe=(e,a,u,n=!0,d,l=!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(l&&d){const p={label:Kr.transferDrawer.selectAddAccount,value:"",type:"button",onClick:d};A.push(p)}return A},Ge=(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}}}},Hr=o.div`
|
|
260
|
+
`,{common:ke,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:Ho},billPay:{insufficientFunds:Xe}}}=we.getLocalizedStrings(),st="amount",Jo="transferTo",Ko="transferFrom",N="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 Qo({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:n,maxInsuredAmount:d,plaidConnectionDetails:l,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,K]=w.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),O=a.reduce((s,y)=>{const j=y.yield;return Math.max(s,j)},0),[Q,Z]=w.useState(he(B,O)),b=l.link_account_no_microdeposit,[L,xe]=w.useState(b.linkToken??null),[ee,De]=w.useState(!1),[Fe,Me]=w.useState(!1),ye=e.transferMoneyPartiesFetchState,Re=U(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Be=U($e),Oe=U(be),Se=e.transferMoneyParties.map(s=>s.id),ve=U(Se),dt=w.useCallback(s=>{v?.(s),Me(!1),De(!1)},[v]),ut=w.useCallback((s,y)=>{s!=null&&console.log("Plaid Connection Error",s,y)},[]),{open:te,ready:G}=Pt({token:L,onSuccess:dt,onExit:ut}),q=w.useCallback(s=>{s.preventDefault(),s.stopPropagation(),G?te():De(!0)},[te,G]),I=Ct({mode:"all",reValidateMode:"onChange",defaultValues:w.useMemo(()=>Ye(e,n,q),[e,n])}),{isValid:pt}=I.formState;w.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==L&&xe(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,L]),w.useEffect(()=>{b.linkToken===L&&b.fetchStatus.fetchState==="Completed"&&G&&Me(!0)},[G,L,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),w.useEffect(()=>{Fe&&ee&&te()},[Fe,te,ee]),w.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),w.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[N].transferFrom.selectedOption,re=j[N].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 Ee={amount:j[N].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:Ee,fromAccount:ne,toAccount:ie};K(Ee.amount),m(yt)}};w.useEffect(()=>{const s=I.watch((y,{name:j})=>{j!=null&&y!=null&&zt(()=>ft(j,y))});return()=>{s.unsubscribe()}}),w.useEffect(()=>{Z(he(B,O))},[B,O]);const gt=I.handleSubmit(()=>{pt&&x()}),{fromAccount:wt,toAccount:Ie,amount:D}=e.treasuryTransferMoneyLocalData,xt=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(Zo,{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(N,Ko),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(s,y)=>_(e.transferMoneyParties,s,y,s===e.treasuryAccount.id,!1),valueToSubLabels:(s,y)=>V(e.transferMoneyParties,e.treasuryAccount,s,y,!0,!1,D),defaultValue:{selectedOption:wt?.id,allOptions:fe(e,!0,n,!0,q,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}},valueToAdditionalLabel:xt})}),!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(N,Jo),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(s,y)=>_(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(N,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(Jt,{interestRate:O,transferAmount:B,setYieldEarned:Z,setTransferAmount:K})]}):null,o.jsxs(gr,{windowSize:i,children:[o.jsxs(yr,{windowSize:i,children:[o.jsx(wr,{children:o.jsx(fr,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${W("0,0",{amount:Q,currencySymbol:"$"})}`})}),o.jsx(xr,{windowSize:i}),o.jsx($r,{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(qe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),o.jsx(br,{className:"calculatorFooterArrowIcon"})]}):o.jsxs(Ue,{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,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(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}}}},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{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
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
|
+
`,er=r.form`
|
|
270
270
|
display: flex;
|
|
271
271
|
flex-direction: column;
|
|
272
272
|
justify-content: center;
|
|
273
273
|
align-items: center;
|
|
274
|
-
`,
|
|
274
|
+
`,tr=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
|
+
`,or=r.div`
|
|
282
282
|
display: flex;
|
|
283
283
|
align-items: flex-start;
|
|
284
|
-
`,
|
|
284
|
+
`,rr=r.div``,nr=r(nt)`
|
|
285
285
|
width: ${t.sp4};
|
|
286
286
|
height: ${t.sp4};
|
|
287
287
|
color: ${S.important};
|
|
288
|
-
`,
|
|
288
|
+
`,ir=r.div`
|
|
289
289
|
display: flex;
|
|
290
290
|
flex-direction: column;
|
|
291
291
|
margin-left: ${t.sp2};
|
|
292
|
-
`,
|
|
292
|
+
`,ar=r(it)`
|
|
293
293
|
color: ${S.important};
|
|
294
|
-
`,
|
|
294
|
+
`,sr=r(Y)`
|
|
295
295
|
color: ${S.important};
|
|
296
|
-
`,
|
|
296
|
+
`,lr=r(rt)`
|
|
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
|
+
`,Ge=r(Ft)`
|
|
304
304
|
border-radius: ${t.sp2};
|
|
305
305
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
306
|
-
`,
|
|
306
|
+
`,cr=r.div`
|
|
307
307
|
display: flex;
|
|
308
308
|
flex-direction: column;
|
|
309
309
|
width: 100%;
|
|
@@ -311,13 +311,13 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
311
311
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
312
312
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
313
313
|
border-radius: ${t.sp2};
|
|
314
|
-
`,Pe=
|
|
314
|
+
`,Pe=r.div`
|
|
315
315
|
display: flex;
|
|
316
316
|
flex: 1;
|
|
317
317
|
background-color: ${e=>e.theme.colors.grey3};
|
|
318
318
|
min-height: 1px;
|
|
319
319
|
max-height: 1px;
|
|
320
|
-
`,ze=
|
|
320
|
+
`,ze=r.div`
|
|
321
321
|
display: flex;
|
|
322
322
|
flex-direction: row;
|
|
323
323
|
padding: ${t.sp2};
|
|
@@ -347,10 +347,10 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
347
347
|
margin-right: ${t.sp1} !important;
|
|
348
348
|
}
|
|
349
349
|
`}
|
|
350
|
-
`,
|
|
350
|
+
`,dr=r(ze)`
|
|
351
351
|
padding: ${({size:e})=>g.portfolioContainerPadding.valuePx(e)};
|
|
352
352
|
padding-top: ${t.sp2};
|
|
353
|
-
`,
|
|
353
|
+
`,ur=r(Le)`
|
|
354
354
|
cursor: pointer;
|
|
355
355
|
color: ${e=>e.theme.colors.hero};
|
|
356
356
|
width: ${t.sp4};
|
|
@@ -359,10 +359,10 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
359
359
|
&:hover {
|
|
360
360
|
color: ${e=>e.theme.colors.primary};
|
|
361
361
|
}
|
|
362
|
-
`,
|
|
362
|
+
`,pr=r.div`
|
|
363
363
|
margin-bottom: ${t.sp6};
|
|
364
364
|
width: 90%;
|
|
365
|
-
`,
|
|
365
|
+
`,hr=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{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
371
371
|
justify-content: center;
|
|
372
372
|
align-items: center;
|
|
373
373
|
flex-direction: column;
|
|
374
|
-
`,
|
|
374
|
+
`,mr=r(Y)`
|
|
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
|
+
`,fr=r.div`
|
|
380
380
|
${e=>me.yieldEarned.style(e.windowSize)}
|
|
381
381
|
color: ${S.success};
|
|
382
382
|
white-space: nowrap;
|
|
383
|
-
`,
|
|
383
|
+
`,gr=r.div`
|
|
384
384
|
display: flex;
|
|
385
385
|
align-items: center;
|
|
386
386
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -389,15 +389,15 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
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
|
+
`,wr=r.div`
|
|
393
393
|
display: flex;
|
|
394
394
|
flex-direction: row;
|
|
395
395
|
align-items: center;
|
|
396
|
-
`,
|
|
396
|
+
`,qe=r.div`
|
|
397
397
|
${e=>me.calculatorFooterText.style(e.windowSize)}
|
|
398
398
|
color: ${e=>e.theme.colors.hero};
|
|
399
399
|
cursor: pointer;
|
|
400
|
-
`,
|
|
400
|
+
`,Ue=r.div`
|
|
401
401
|
display: flex;
|
|
402
402
|
flex-direction: row;
|
|
403
403
|
align-items: center;
|
|
@@ -411,7 +411,7 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
411
411
|
color: ${e=>e.theme.colors.primary};
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
`,
|
|
414
|
+
`,xr=r.div`
|
|
415
415
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
416
416
|
width: ${t.sp1};
|
|
417
417
|
height: ${t.sp1};
|
|
@@ -419,72 +419,72 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
419
419
|
margin: 0 ${t.sp2};
|
|
420
420
|
background-color: ${e=>e.theme.colors.grey1};
|
|
421
421
|
border-radius: 50%;
|
|
422
|
-
`,
|
|
422
|
+
`,yr=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
|
+
`,$r=r(It)`
|
|
428
428
|
color: ${e=>e.theme.colors.hero};
|
|
429
|
-
`,
|
|
429
|
+
`,br=r(Et)`
|
|
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
|
+
`,Sr=r(Nt)`
|
|
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
|
-
`,
|
|
443
|
+
`,J={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}}=we.getLocalizedStrings(),Xr=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:n,isFirstTransfer:d,plaidConnectionDetails:l,onSaveChangesToLocalStore:m,onTransferClick:x,onAnotherTransferClick:v,onCancelClick:h,setShowReviewContent:i,onReviewClick:$,onEstablishConnectionClick:T,onFetchLinkTokenClick:A})=>{const p=ge(),{fundsData:C,currentAllocation:B,fundAllocationOptions:K,fetchState:O}=a,Q=K.find(ee=>$t(ee.allocation,B))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},Z=()=>O==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:b,toAccount:L,amount:xe}=e.treasuryTransferMoneyLocalData;return o.jsx(kr,{windowSize:p,children:e.fetchState==="Completed"?o.jsxs(Je,{windowSize:p,isTransferCompleted:!0,children:[o.jsx(Ke,{windowSize:p,children:o.jsx(Qe,{"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]",xe)}),k.transferDrawer.success.midfix,`"${b?.label}"`,k.transferDrawer.success.midfix2,`"${L?.label}".`]})}),o.jsxs(Cr,{windowSize:p,children:[o.jsx(Ne,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":P("another-transfer-button","treasury"),onClick:()=>{v()},style:{minWidth:200}}),o.jsx(Ne,{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:x,fundDetails:C,portfolioAllocation:Q,onCancelClick:h}):o.jsxs(o.Fragment,{children:[o.jsxs(Je,{windowSize:p,isTransferCompleted:!1,children:[o.jsx(Ke,{windowSize:p,children:o.jsx(Qe,{"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(Qo,{onSaveChangesToLocalStore:m,transferDetails:e,onReviewClick:$,fundDetails:C,portfolioAllocation:Q,isFirstTransfer:d,maxInsuredAmount:n,plaidConnectionDetails:l,onEstablishConnectionClick:T,onFetchLinkTokenClick:A}):o.jsx(Ze,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),Z()?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
444
|
color: ${e=>e.theme.colors.hero};
|
|
445
|
-
`,
|
|
445
|
+
`,Ar=r(X)`
|
|
446
446
|
color: ${e=>e.theme.colors.hero};
|
|
447
|
-
`,
|
|
447
|
+
`,kr=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
|
+
`,Tr=r(St)`
|
|
455
455
|
color: ${e=>e.theme.colors.primary};
|
|
456
456
|
text-align: center;
|
|
457
|
-
`,
|
|
457
|
+
`,Pr=r(vt)`
|
|
458
458
|
display: inline;
|
|
459
|
-
`,
|
|
459
|
+
`,Je=r.div`
|
|
460
460
|
height: ${e=>e.isTransferCompleted?"100%":"auto"};
|
|
461
|
-
padding-left: ${e=>`${
|
|
462
|
-
padding-right: ${e=>`${
|
|
461
|
+
padding-left: ${e=>`${J.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
462
|
+
padding-right: ${e=>`${J.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
463
463
|
margin-bottom: auto;
|
|
464
|
-
`,
|
|
464
|
+
`,Cr=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
|
-
gap: ${e=>`${
|
|
470
|
-
`,
|
|
469
|
+
gap: ${e=>`${J.buttonTrayGap.valuePx(e.windowSize)}`};
|
|
470
|
+
`,zr=r.div`
|
|
471
471
|
height: 80%;
|
|
472
472
|
display: flex;
|
|
473
473
|
flex-direction: column;
|
|
474
474
|
justify-content: center;
|
|
475
|
-
margin: ${e=>`${t.sp0} ${
|
|
475
|
+
margin: ${e=>`${t.sp0} ${J.successContentMargin.valuePx(e.windowSize)}`};
|
|
476
476
|
align-items: center;
|
|
477
|
-
`,
|
|
477
|
+
`,Ke=r.div`
|
|
478
478
|
display: flex;
|
|
479
479
|
flex-direction: row-reverse;
|
|
480
480
|
justify-content: space-between;
|
|
481
481
|
align-items: center;
|
|
482
482
|
width: 100%;
|
|
483
483
|
top: ${t.sp0};
|
|
484
|
-
padding: ${e=>`${
|
|
484
|
+
padding: ${e=>`${J.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
485
485
|
z-index: 2;
|
|
486
486
|
background-color: ${e=>e.theme.colors.grey4};
|
|
487
|
-
`,
|
|
487
|
+
`,Qe=r(Le)`
|
|
488
488
|
cursor: pointer;
|
|
489
489
|
color: ${e=>e.theme.colors.hero};
|
|
490
490
|
width: ${t.sp4};
|
|
@@ -493,14 +493,14 @@ import{K as ge,I as $t,j as r,Z as P,hG as bt,F as we,a0 as W,r as _e,i as Ue,a4
|
|
|
493
493
|
&:hover {
|
|
494
494
|
color: ${e=>e.theme.colors.primary};
|
|
495
495
|
}
|
|
496
|
-
`,
|
|
496
|
+
`,Lr=r(Tt)`
|
|
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
|
+
`,Dr=r(ot)`
|
|
502
|
+
${e=>`${vr.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{Xr as default};
|