@zeniai/web-cockpit-ui 1.13.95-dev → 1.13.96-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CTeCxcke-DEZ1DdXH.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
- package/dist/assets/{AIPerformancePage-DHndW6Jx-BmfxnNcs.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +18 -18
- package/dist/assets/{AccountInfoPage-DX6r16Bm-C_0exxSE.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DuUO6Fmo-ChKBTH6K.js → AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js} +19 -19
- package/dist/assets/{AccountReconDetailsDrawerPage-XjxpxHaM-BlVBZ7kJ.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +13 -13
- package/dist/assets/{AccountRow-BUDNnxLp-lnjPiXai.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +9 -9
- package/dist/assets/{AccountsPromoCardStack-BkYuVRiC-CxxRy5F_.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +9 -9
- package/dist/assets/{AddAddressForCardDrawer-CaKymF5H-Dj9EwadM.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +1 -1
- package/dist/assets/{AddToWalletPage-CO_ranRc-Y0gvdbgy.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +7 -7
- package/dist/assets/{AgingReportsPage-CmvGohzQ-CnwGJP78.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +4 -4
- package/dist/assets/{AllUserItems-Bcd_lx2s-D5cL7TJF.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +9 -9
- package/dist/assets/{ApAgingDetailPage-B6h9L4qX-C7HrCT0Q.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
- package/dist/assets/{AppBasePage-bPmQIx1U-LDUbxoeo.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
- package/dist/assets/{AppDrawerContent-D4e_1ju1-Dhj_wy1v.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-D7d0RwUR-D1d_wH6A.js → ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js} +1 -1
- package/dist/assets/{ArAgingChart-CfBXj53W-SUndSl9y.js → ArAgingChart-D-Z3jfGt-DS-oqmcQ.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-D-HZa9vX-DvZl4P3_.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
- package/dist/assets/{AttachmentView-BF2v7v3I-BI4HJynu.js → AttachmentView-wIV1i6gf-__2UovKF.js} +1 -1
- package/dist/assets/{BankAccountSection-Cm_J2y31-CDMRL_3y.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BnsmtuKk-DP1_s4k_.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BawBUQ6M-CMfekVh9.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +41 -41
- package/dist/assets/{BillDetailPage-DFHM1n3a-CZEScqpR.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-PGRG0N6y-BxcnUNyI.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-ByawtRCM-DDp-vV61.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
- package/dist/assets/{BillPayPromoPage-BvA5aJV2-CaYtY57T.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
- package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
- package/dist/assets/{BillingSettingsPage-C0c3igP5-ap-9LOcf.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-ChobILB2-GJEoEUgd.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
- package/dist/assets/{BoxItem-qV71vsVl-DibKZa0V.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CYL-J6jv-Dor_XGL3.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +12 -12
- package/dist/assets/{CardNumberSubText-BkMaMdcB-ChxBB6AF.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
- package/dist/assets/{CashbackDetailPage-Bkvu7uCA-BYpe0YrA.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-B8JhA6aM-0cEMZGgL.js → ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js} +30 -30
- package/dist/assets/{ChargeCardListPage-DayFsVdx-7umY7GOL.js → ChargeCardListPage-rY7_MoJ5-CzPbszY2.js} +15 -15
- package/dist/assets/{ChargeCardListTable-Ck15ShIF-B2Jd56oy.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +24 -24
- package/dist/assets/{ChargeCardPromoPage-ZvHc9uZ8-BCAw2lta.js → ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js} +6 -6
- package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-DlFimewo-dsUOLazz.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +4 -4
- package/dist/assets/{ChargeCardUtils-Buf1Xa4X-CfiY3Rp3.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
- package/dist/assets/{ChaseOverlay-Cp5-sc7K-q-w46Qrq.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +7 -7
- package/dist/assets/{CheckDepositDrawerPage-ClJh5smc-CaqzSYGu.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CKu2AawV-BR9Jh8-F.js → CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js} +59 -59
- package/dist/assets/{CompanyOfficerDetailsSection-CHi8zT6M-2vvUSfpo.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +37 -37
- package/dist/assets/{CompanyPassportCard-DW8AIAcy-ChQaVIG_.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +1 -1
- package/dist/assets/{CompanyPassportPage-CG1U8xfQ-z31zr_09.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +35 -35
- package/dist/assets/{CompleteProfile-Lnfcm8Mq-A9UckRww.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
- package/dist/assets/{ConfettiBurst-Ca6cfnuf-0CP5GWxx.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BuBYOkXS-C5Z5SPL2.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +9 -9
- package/dist/assets/{CreditCardPaymentDrawerPage-8d6cEGBi-DeW_T_vn.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +13 -13
- package/dist/assets/{CreditCardPaymentPlgSection-B9DUkdWm-rJN3aibi.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +6 -6
- package/dist/assets/{CurrencySelectField-BUtL_oMC-vjfdBgAC.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BZIt8djd-6s7QTCQc.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-n8n9mzuh-1Pj7fv61.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-f_PloOrf-B7YeJUhG.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +8 -8
- package/dist/assets/{CustomerOnboardingPage-B_vGVChf-BBpgC_P8.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-hXloSEH1-tV_sIlVM.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
- package/dist/assets/{Dashboard-DN58fmab-BSfq0dju.js → Dashboard-CsuzQbH0-B5Hgiilv.js} +229 -228
- package/dist/assets/{DashboardReportPage-DIx6h5UA-DE9i6tXD.js → DashboardReportPage-BCkrfj3P-CIFdRg6l.js} +15 -15
- package/dist/assets/{DepositAccTransactionItem-DNv9nV2t-sabH0i0g.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-CWEabc_8-D6J4mdt4.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +2 -2
- package/dist/assets/{DocumentSecurityBanner-B6VGrs_d-jwQl4fBm.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BYIbT0cd-MsB82_Nr.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
- package/dist/assets/{DownloadOverlay-RhRX-Goq-0pJzo8tq.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +7 -7
- package/dist/assets/{DrawerPage-C01myF5D-L_T-Mi_O.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +6 -6
- package/dist/assets/{EditPeoplePage-BMm08q5E-B2z1Cy4i.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +12 -12
- package/dist/assets/{EditReimbursementDetailPage-C5FnQpPh-sK_g6wjY.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +27 -27
- package/dist/assets/{EntityDetailPage-BkpeRVR1-B6XILqHa.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
- package/dist/assets/{EntitySummarySection-DpxcfRng-Umu6Fw_D.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-BJ1ba0Oz-BAbt9eHm.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-C7GKFlgt-B1fB3w-U.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +1 -1
- package/dist/assets/{ExpressPayPage-pgy9CEaP-C4tOK1_E.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Bpnn3Eao-DWGadm42.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +1 -1
- package/dist/assets/{FollowStepsSection-D4Do4Mtd-Bgez_ajJ.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D_50hOfK-D74gQQCX.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +9 -9
- package/dist/assets/{HelpButton-BBLa-U8R-5BfdLJDT.js → HelpButton-Dv3nbc1Z-CHaoZd0g.js} +1 -1
- package/dist/assets/{InformationCardStack-CNCEEO1z-BPT-WizN.js → InformationCardStack-BALkGk48-BWmXScs3.js} +1 -1
- package/dist/assets/{InsightsCardStack-BangbyzX-C-dfE00z.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +2 -2
- package/dist/assets/{InsightsSection-DNfDisn9-CMHRFpDc.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-ColuS6Tk-CdBeqhKb.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-BG4x1tCL-5AAkqkwh.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +12 -12
- package/dist/assets/{InternationalWireVerificationPage-B22ThS6Q-B85Ehc7_.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +11 -11
- package/dist/assets/{InviteFormPage-Cixm85d1-N6lcykk5.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +6 -6
- package/dist/assets/{InvitePageListView-DBcwM1lk-DLgO5vEV.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +27 -27
- package/dist/assets/{InvitePeoplePage-DIq28HlK-DxgsZvQF.js → InvitePeoplePage-DaN4NSHW-CydccedW.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-D5vmrKLq-CaJvqPBS.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-DjW6ZTWB-DVAoNzJY.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +29 -29
- package/dist/assets/{LabeledAddressValue-CDidTB7_-BYCZE34N.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CVVc36IB-mrR3y5nG.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-CGN805d2-BvA9NcSn.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-PunIRbD6-DSy2bCTv.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +7 -7
- package/dist/assets/{LabeledDocumentField-DgGIyJH_-hDHBkxrT.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BDVtmFqG-j2xXgXWn.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
- package/dist/assets/{LabeledText-BW7VKf6E-PGkPpMVO.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Cmc8qo-r-M7EEhfxE.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-Cl6BAapU-DdwZAoZU.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +15 -15
- package/dist/assets/{LinkJETransactionPage-CtYsRhte-gAytw1dS.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +2 -2
- package/dist/assets/{LowBalancePopup-C_c9t4ho-r8GHfwbA.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-KZmNuH71-eLFzvgps.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DCkibDQs-DjBoqAab.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CR1BJE-p-BVc964tl.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D9VscY-N-BvVpg8o7.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DwxRtyUO-Dj3CNxLB.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +1 -1
- package/dist/assets/{MailingDetailsSection-B3AtsI4y-Cg3vKD8Z.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-5ibEhgcm-p1sBC8Am.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +1 -1
- package/dist/assets/{Menu-B3jEZq8P-CBWyxFfA.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-BLqGgTGR-DFR7-MdN.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-GXGFSZqe-DQBMtuje.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CwBD0rUF-Bso1ueKy.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +6 -6
- package/dist/assets/{NavBarWithPicker-wTsy1SAG-B0aq1ozI.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +2 -2
- package/dist/assets/{NavigationArrow-PxVotVGU-BN6LQQ8z.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +5 -5
- package/dist/assets/{NavigationDots-BhLlf9IS-Cc6rFgNx.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BnXD_AkF-7b5iQIvJ.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +4 -4
- package/dist/assets/{NoDataChart-DLfKZ9J--1T9pg2HM.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
- package/dist/assets/{NoDataTable-BRKuhxS0-sx0oHeyw.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
- package/dist/assets/{NotFoundPage-BD417YGL-rToNH_nB.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-Mb9ed249-CQss7Tea.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +28 -28
- package/dist/assets/{NotificationsListConfig-CISUs4yA-Up6zrNe0.js → NotificationsListConfig-BL_MxKXF-CvqrsVs-.js} +1 -1
- package/dist/assets/{NotificationsPage-WTGOES7C-D5gXR2ud.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +1 -1
- package/dist/assets/{OpExByVendorPage-D4Ur1QRV-CtpvGOvR.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-DLDjA1WL.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DSvdGyym-C1hZzOpv.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +9 -9
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bs8f-d_P-BeYSvOrY.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +7 -7
- package/dist/assets/{PeoplePage-ByFdUCgV-C-dQ5ifc.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +17 -17
- package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
- package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
- package/dist/assets/{ProductsCarousel-6mui8g8D-BXwmVYBD.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +5 -5
- package/dist/assets/{PromoBaseCards-CASb_Nf9-BmTbWgM7.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-AF50P_eR-DhzipR7w.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +5 -5
- package/dist/assets/{QBOSetupSection-hObNFdKz-3XFNnwv5.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-NuprN06r-BkFlu4jO.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DP8frTz1-BIghkZwb.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-B9F6pND6-DNevCo1s.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +3 -3
- package/dist/assets/{ReimbursementPromoPage-CUNbpcAP-BJXAeXWj.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CafTodEa-vUUwSS79.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
- package/dist/assets/{ReloadCard-aQ5Ma2ne-srF7XfGP.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CjZe9dc3-B94C9OUt.js → ReportTableViewSelector-D7B88kS6-BrGIUsj4.js} +9 -9
- package/dist/assets/{ReportsPage-PDTasuAQ-CD592IPM.js → ReportsPage-BzMzH-I3-BKZoRCt6.js} +5 -5
- package/dist/assets/{RevenueChart-CJYsWcyb-COXSVzci.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-47Qg28PV-DD0ehHxI.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +8 -8
- package/dist/assets/{ReviewOverlay-DvYSZ8u9-D1sec7oa.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DoD_vW-E-xeMdlQFI.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMX7jbBN-B126g4bO.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CNtV2SVn-Ddz0O5ah.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CMrsG_y3-ZI5_od4y.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +14 -14
- package/dist/assets/{ScreenRoutes-Xqggk2Tm.js → ScreenRoutes-iE9-v0dJ.js} +1 -1
- package/dist/assets/{SetUpAccountSection-D3nUQAk8-DKZLa9Zq.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +12 -12
- package/dist/assets/{SetUpDefaultSection-C2MgZHUf-x0_RVnLC.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +5 -5
- package/dist/assets/{SignIn-Bud28HbX-Xl-uNzmG.js → SignIn-BC8yop4g-CznicFTu.js} +19 -19
- package/dist/assets/{SignInScreen-BV0zmhf7.js → SignInScreen-k0dvslKE.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B8R0PEMD-BbaRv050.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CTdgMCHu-CAOhzan7.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +30 -30
- package/dist/assets/{SpendManagementSection-CnD0V00y-Dmq0cMig.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +1 -1
- package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
- package/dist/assets/StatementItem-CKTGWEW_-d6SqxmfH.js +31 -0
- package/dist/assets/StatementsPage-CjR4AlPy-BQRlcz37.js +58 -0
- package/dist/assets/{StatusSwitcher-CxbcO6mR-C4PCbece.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +2 -2
- package/dist/assets/{SubTabSwitcher-mCKmnU9--jUtM0Bft.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
- package/dist/assets/{SummaryCard-BoA0mdbI-C3rDEBSG.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
- package/dist/assets/{TaskManagementPage-CbSLSOpI-BFGgqlJt.js → TaskManagementPage-Oct77yO--igT2quo0.js} +18 -18
- package/dist/assets/{TimeRangeSwitcher-DIszv8B4-D-1vIZUO.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-C8tn7HgF-Db6tSjO9.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DqvG5zv2-DqYusAPI.js → TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js} +1 -1
- package/dist/assets/{TopExCard-B2pg-xWB-DR721esp.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +1 -1
- package/dist/assets/{TopExDetailPage-Ch-SwhrE-C3B3fW9M.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
- package/dist/assets/{TransactionDetailPage-4ehnnMwj-CxGtpuw5.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +23 -23
- package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
- package/dist/assets/{TransactionListBig-YrccrGWK-DQRVfhmg.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +6 -6
- package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DIvXenmH-BygJi1pY.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +1 -1
- package/dist/assets/{TransferDrawerPage-CK9V-5BR-DZ9c1lfC.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +12 -12
- package/dist/assets/{TreasuryOverviewPage-Dhm7htH5-BUj5D_CB.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-CiE4S4u6-qiSczFzX.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +11 -11
- package/dist/assets/{TreasurySetupPage-WygAmXcw-WQiA9bVD.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-zycSYzUL-CE8VEsG8.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-l_CSMKSV-CFFwa7b-.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-CkHJE0PT-CVfr6xd-.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +82 -82
- package/dist/assets/{TrendChart-Buu-BMJt-1SixfBeO.js → TrendChart-D3_4i3qH-wYUerKRk.js} +1 -1
- package/dist/assets/{TrendWithTransactions-C6sLZFPh-CJcdwvxU.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-Ct1KSgHe-BkPn1VDr.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-DeG7GwFV-BTOJ5_nM.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-BBEBrd1k-C8YmGx6j.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-B2qGbIlK-CbqUscDE.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CIb3Lffi-IjDSrk-_.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
- package/dist/assets/{VendorDetailPage-DrZlWYNf-CitGu9Ha.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +12 -12
- package/dist/assets/{VendorDomesticWireDetailsPage-BGfsxhx5-BBlyKElB.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DpYIPFDo-Cny4xMig.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-JJMuxJAj-CEkUZQNo.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +68 -68
- package/dist/assets/{VendorInternationalWireDetailsPage-B7IVMovj-B5VUl76d.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C7y7HA0_-iAtQaOvZ.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CKizD1gN-BJJ_j-nc.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-REjc7j42-TgqIuesy.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-BYQt_cqt-B9TUZXOz.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +21 -21
- package/dist/assets/{ZeniAccountListViewPage-DPLQmd2c-BJzMmpCX.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +16 -16
- package/dist/assets/{ZeniAccountNavBarPieces-CB_hOCVm-Dgt-KBoE.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DjbDqqNB-DbFXyEm9.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +15 -15
- package/dist/assets/{ZeniAccountSetupPage-BKgmStQ8-DvOkzvTm.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +4 -4
- package/dist/assets/{ZeniCopyright-gnzM8wV--B3wiitHw.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-D5uBFeau-CCzhbeOi.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
- package/dist/assets/{analyticsHelper-g-8qlEdt.js → analyticsHelper-BbcCIpO1.js} +1 -1
- package/dist/assets/{analyticsHelper-Cdzg4Zjw-BD3QBCs9.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
- package/dist/assets/{chartTypes-BTdgphvt-COUgSR4v.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
- package/dist/assets/{commonDimensions-Ctzi29iY-mgtHXo4p.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
- package/dist/assets/{detailCommon-SwpJm2mb--HDCa1ev.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +8 -8
- package/dist/assets/{downloadPdf-YcATpN2g-D3XIUalG.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
- package/dist/assets/{index-QTXYT_IZ.js → index-DyBH5SZv.js} +1148 -1164
- package/dist/assets/{mapLoadingInProgressToTreeNode-C8MSAhen-AfMjxweq.js → mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C0LfGztS-DTztJDdH.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BBfTCdRQ-bgZlN15f.js → mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DcljRs6K-orb0-qTl.js → mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-ClOTGsb4-B5ylNJVM.js → mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BL3c3wFj-BCJhDRyN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js} +1 -1
- package/dist/assets/{play-icon-DaxUpyZT-ss_3TDIT.js → play-icon-D3OSczih-8eMagn70.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-Vfz3d1qt-Dmwd2xoZ.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
- package/dist/assets/{toChartData-CiTmOVzN-DBayRNk7.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BbkDcDKI-pPmAbCLc.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
- package/dist/assets/{uploadAttachment-BLQvpBKI-CHSynwi0.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +1 -1
- package/dist/assets/{uploadReceipts-Buvz7DfG-D7H47NIP.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/BillPaySetUpPage-D4dtDoPF-pJA12_gD.js +0 -42
- package/dist/assets/ChargeCardSetupPage-QROShfxq-C4kf_hhx.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-DLE82ybr-CRS91glj.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-BY5JJCu--Db_AJDDA.js +0 -207
- package/dist/assets/PortfolioDetails-Du2wncho-DR6hA4On.js +0 -218
- package/dist/assets/ReimbursementSetUpPage-ihfYAhDw-BJyrWltl.js +0 -140
- package/dist/assets/SpendMgmtSetupAccountSection-D7LHyfpa-46XD5tWn.js +0 -206
- package/dist/assets/StatementItem-Dn796WZD-1Rb-SXfR.js +0 -31
- package/dist/assets/StatementsPage-L75Co_mK-C_J6xieF.js +0 -58
- package/dist/assets/TransactionList-Bds8YVxl-eo-qwfAU.js +0 -147
- package/dist/assets/TransactionListPage-EBZJJ3Bb-C5h_p4zd.js +0 -35
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,
|
|
1
|
+
import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bs as ae,aV as Ne,v as ie,Y as W,c as Ke,o as i,w as k,g as w,b4 as Ve,C as u,cO as _,Q as B,l as F,n as h,gQ as le,ar as de,au as ce,at as he,as as pe,b7 as Fe,be as Le,a5 as Me,t as Ee,fk as We,gk as Ue,K as Ge,q as A,ae as Je,iB as Xe,jc as _e,ay as Qe,eE as qe,d4 as Ze,f0 as et,ai as tt,bT as it,ia as ot,ib as rt,kc as at,bl as st,f as U,bY as xe,id as nt,b$ as lt,ie as dt,ig as ct}from"./index-DyBH5SZv.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-DAvj4Il1-Chc9ZQai.js";import{g as me}from"./BoxItem-DX1sag1G-C0OcCbod.js";import{l as se,d as xt}from"./treasuryColorHelper-BibNNRS5-DCmyWsB-.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.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 ne=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:ne.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:ne.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:ne.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:s}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const n of p)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,n)=>{let m=n;r.sortKey===p&&(m=n==="ascending"?"descending":"ascending"),s(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(n=>n.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(st,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -95,14 +95,14 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
95
95
|
cursor: pointer;
|
|
96
96
|
gap: 5px;
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
`,
|
|
98
|
+
`,G={containerPaddingLeft:new u(h[3],h[4]),containerPaddingRight:new u(h[2],h[3]),containerPaddingTop:new u(h[2],h[3]),containerPaddingBottom:new u(h[2],h[3])};function Mt({data:e,boxType:r}){const{description:s,amount:c,status:l,date:a}=e,y=E("0,0.00",c),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),j=x[0].width,f=x[1].width,p=x[2].width,n=xt(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Ft,{children:[t.jsxs(Wt,{children:[t.jsx(fe,{}),t.jsx(Ut,{children:t.jsx(Gt,{children:t.jsxs(Jt,{children:[s,l!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(_t,{color:n?.color,children:n?.value})]}):null]})})})]}),t.jsx(Qt,{children:t.jsx(qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(Zt,{children:t.jsx($e,{children:y})})})]})});return t.jsx(me,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(At,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:j,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:s}),l!=null?t.jsxs(It,{windowSize:d,children:[t.jsx(Nt,{}),t.jsx(Yt,{color:n?.color,children:n?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:f,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(Bt,{windowSize:d,width:p,children:t.jsx($e,{children:y})})]});return t.jsx(me,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const At=o.div`
|
|
99
99
|
width: 100%;
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
102
|
-
padding-left: ${e=>
|
|
103
|
-
padding-right: ${e=>
|
|
104
|
-
padding-top: ${e=>
|
|
105
|
-
padding-bottom: ${e=>
|
|
102
|
+
padding-left: ${e=>G.containerPaddingLeft.valuePx(e.windowSize)};
|
|
103
|
+
padding-right: ${e=>G.containerPaddingRight.valuePx(e.windowSize)};
|
|
104
|
+
padding-top: ${e=>G.containerPaddingTop.valuePx(e.windowSize)};
|
|
105
|
+
padding-bottom: ${e=>G.containerPaddingBottom.valuePx(e.windowSize)};
|
|
106
106
|
box-shadow: ${e=>e.theme.mode==="dark"?`${w.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${w.dropShadowNormalLight}`};
|
|
107
107
|
border-radius: ${i.sp2};
|
|
108
108
|
justify-content: space-between;
|
|
@@ -158,7 +158,7 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
160
160
|
align-items: center;
|
|
161
|
-
`,Yt=o(
|
|
161
|
+
`,Yt=o(U)`
|
|
162
162
|
color: ${e=>e.color};
|
|
163
163
|
-webkit-box-orient: vertical;
|
|
164
164
|
-webkit-line-clamp: 1;
|
|
@@ -186,12 +186,12 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
186
186
|
box-shadow: ${e=>e.theme.mode==="dark"?`${w.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${w.dropShadowNormalLight}`};
|
|
187
187
|
border-radius: ${i.sp2};
|
|
188
188
|
gap: ${i.sp1};
|
|
189
|
-
`,
|
|
189
|
+
`,Vt=o.div`
|
|
190
190
|
display: flex;
|
|
191
191
|
width: 100%;
|
|
192
192
|
justify-content: space-between;
|
|
193
193
|
align-items: flex-start;
|
|
194
|
-
`,
|
|
194
|
+
`,Ft=o.div`
|
|
195
195
|
display: flex;
|
|
196
196
|
flex-direction: column;
|
|
197
197
|
flex: 1;
|
|
@@ -206,14 +206,14 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
206
206
|
display: flex;
|
|
207
207
|
align-items: flex-start;
|
|
208
208
|
margin-bottom: ${i.sp1};
|
|
209
|
-
`,
|
|
209
|
+
`,Ut=o.div`
|
|
210
210
|
display: flex;
|
|
211
211
|
flex-direction: column;
|
|
212
212
|
align-items: flex-start;
|
|
213
213
|
margin-left: ${i.sp3};
|
|
214
214
|
flex: 1;
|
|
215
215
|
min-width: 0;
|
|
216
|
-
`,
|
|
216
|
+
`,Gt=o.div`
|
|
217
217
|
width: 100%;
|
|
218
218
|
`,Jt=o(A)`
|
|
219
219
|
display: block;
|
|
@@ -231,16 +231,16 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
231
231
|
margin-left: ${i.sp2};
|
|
232
232
|
margin-right: ${i.sp2};
|
|
233
233
|
vertical-align: middle;
|
|
234
|
-
`,
|
|
234
|
+
`,_t=o(U)`
|
|
235
235
|
display: inline;
|
|
236
236
|
color: ${e=>e.color};
|
|
237
237
|
white-space: nowrap;
|
|
238
|
-
`,
|
|
238
|
+
`,Qt=o.div`
|
|
239
239
|
display: flex;
|
|
240
240
|
align-items: center;
|
|
241
241
|
margin-top: ${i.sp1};
|
|
242
242
|
margin-left: ${i.sp6};
|
|
243
|
-
`,qt=o(
|
|
243
|
+
`,qt=o(U)`
|
|
244
244
|
color: ${e=>e.theme.colors.grey1};
|
|
245
245
|
text-align: left;
|
|
246
246
|
`,Zt=o.div`
|
|
@@ -296,12 +296,12 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
296
296
|
position: relative;
|
|
297
297
|
width: auto;
|
|
298
298
|
height: 100%;
|
|
299
|
-
`,Oe=o.div``,mi=["editPortfolio","taxLetter","statements","settings"],ui=e=>
|
|
299
|
+
`,Oe=o.div``,mi=["editPortfolio","taxLetter","statements","settings"],ui=e=>F.stringToUnionStrict(e??"",mi),J=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:J.editPortfolio},{value:"taxLetter",label:J.taxLetter},{value:"statements",label:J.statements},{value:"settings",label:J.settings}],yi=({onOptionSelection:e,onTransferClick:r})=>{const s=Ee(),c=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=s.loggedInUserRoleMap.treasury_user===!0||We(s),y=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(fi,{isTopAlign:!1,children:[t.jsx(Ue,{entity:"zeni_treasury",onOptionSelection:g=>{const x=ui(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?y:je}),!a&&(c==="small"?t.jsx(wi,{onClick:r}):t.jsx(Ge,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},fi=o.div`
|
|
300
300
|
display: flex;
|
|
301
301
|
flex-direction: row;
|
|
302
302
|
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
303
303
|
gap: ${i.sp3};
|
|
304
|
-
`,wi=o(
|
|
304
|
+
`,wi=o(_e)`
|
|
305
305
|
min-width: ${i.sp4};
|
|
306
306
|
width: ${i.sp4};
|
|
307
307
|
height: ${i.sp4};
|
|
@@ -316,7 +316,7 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
316
316
|
background-color: ${e=>e.theme.colors.grey5};
|
|
317
317
|
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
318
318
|
background-color: ${e=>e.theme.colors.grey4};
|
|
319
|
-
`,P={tickLabelText:new B("extraSmallRegular","smallRegular"),balanceIntegerStyles:new B("h5Regular","h3Regular"),integerStyles:new B("largeRegular","h6Regular"),decimalStyles:new B("standardRegular","standardRegular"),fundSummaryStyles:new B("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new B("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new u(h[3],h[8]),accountDetailHeaderPaddingBottom:new u(h[3],h[6]),accountDetailHeaderPaddingLeft:new u(h[3],h[8]),accountDetailHeaderPaddingTop:new u(h[3],h[6]),accountDetailContentMarginTop:new u(h[4],h[4]),areaChartHeight:new u(114,209),accountDetailHeaderGap:new u(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:_,common:ji}=L.getLocalizedStrings(),Re=$.memo(({accountHistory:e})=>{const r=C(),s=M(),[c,l]=$.useState(),a=$.useMemo(()=>{const n=V.zeniDate(new Date().toISOString()),m=n.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?n:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),y=$.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(n=>n.balance?.available.amount===0)),g=$.useMemo(()=>e.accountHistoryWithBalance.map(n=>({...n,date:n.date.toISOString()})),[e.accountHistoryWithBalance]),x=$.useCallback(n=>{const m=Array.isArray(n)?n:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=E("0,0[.]00",D),b=V.zeniDate(m[0].payload?.date??"").format(_.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),j=$.useCallback(n=>{const m=n,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?V.zeniDate(D).format(_.visual.MMMformat):V.zeniDate(D).format(_.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Ni,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),f=$.useCallback(({cx:n,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(c?.x!==n||c?.y!==m)&&l({x:n,y:m}),t.jsx(Wi,{cx:n,cy:m,strokeWidth:1,r:h[1]})),[c]),p=$.useMemo(()=>{const n=e.accountHistoryWithBalance.length;return n<=0?0:n>360?Math.floor(n/12):Math.floor(n/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(Zi,{children:[t.jsx(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:s.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:s.colors.grey2,stopOpacity:.02})]})}),t.jsx(ce,{dataKey:"date",stroke:s.colors.grey3,tickSize:0,tick:n=>j(n),interval:y,padding:{right:h[4]}}),t.jsx(he,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(pe,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:s.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(eo,{children:t.jsx(qi,{children:v.noData})})]}):t.jsx(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(ce,{dataKey:"date",stroke:s.colors.grey3,tickSize:0,reversed:!0,tick:n=>j(n),padding:{right:h[4]},interval:p}),t.jsx(he,{tick:!1,axisLine:!1}),t.jsx(Ve,{position:c,content:({payload:n})=>x(n),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(pe,{activeDot:f,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Re.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:s,onBackClick:c,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:y})=>{const d=C(),g=M(),x=Ye().analytics,j=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},f=e.accountSummary,p=$.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(_i,{children:[t.jsx(Qi,{children:v.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:E("0,0[.]00",f?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:E("0,0[.]00",f?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:E("0,0[.]00",f?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(He,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(uo,{}):t.jsx(Ie,{})})})},[f,d]),n=t.jsx(yi,{onOptionSelection:j,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),y()}});return t.jsxs(Di,{children:[t.jsx(Ne,{title:v.title,onBackClick:c,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:n,source:"treasury"}),t.jsxs(Ti,{windowSize:d,children:[t.jsxs(Li,{windowSize:d,children:[t.jsx(bi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:p,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Re,{accountHistory:e.accountHistory})})]}),t.jsx(vi,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(Be,{treasuryDetail:e,onColumnSortConfigChanged:s}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Yi,{})}),t.jsx(Ii,{children:ji.reloadPage.label})]}):t.jsx($i,{children:t.jsx(Ke,{size:"ExtraLarge",start:!0})})]})},Be=$.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const s=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Pi,{windowSize:s,children:t.jsx(ri,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(zi,{})})});Be.displayName="TransactionListScreen";const bi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:s,fundAllocation:c,fundsData:l})=>{const a=C(),[y,d]=$.useState(!1);return $.useEffect(()=>{y===!0&&setTimeout(()=>{d(!1)},800)},[y]),t.jsxs(Mi,{children:[t.jsxs(X,{children:[t.jsx(Fi,{children:t.jsxs(F,{children:[K(be.zeniAccountList.totalAvailableBalance),s("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(Q,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(X,{children:[t.jsxs(F,{children:[K(v.insuredFunds),s("insuredFunds")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(Q,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(F,{children:K(v.insuredFundsAmount)})]}),r&&t.jsxs(Ai,{children:[t.jsxs(Ce,{children:[t.jsx(F,{children:K(be.common.totalYieldEarned)}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(Q,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(F,{children:[K(v.sevenDayYield)," ",s("sevenDayYield")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Vi,{windowSize:a,children:[Ci(c??{},l),"%"]})})]})]})]})},vi=({analytics:e,fundsData:r,fundAllocation:s,hasAccountActivity:c})=>{const[l,a]=$.useState(!1),y=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(to,{windowSize:y,allTilesExpanded:l,children:r.map((x,j)=>{const f=l,p=se(j,d);return t.jsxs(io,{expanded:f,windowSize:y,children:[t.jsx(xo,{bgColor:p.headerBackground}),t.jsx(Si,{fund:x,fundIndex:j,fundAllocation:s!=null?s[x.fundCode]:0,hasAccountActivity:c}),!l&&t.jsx(oo,{children:t.jsxs(ao,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Ui,{})]})}),f&&t.jsxs(t.Fragment,{children:[t.jsx(Co,{}),t.jsx(ki,{analytics:e,fund:x,fundIndex:j,onHide:g})]})]},x.fundCode)})})},Si=({fund:e,fundIndex:r,fundAllocation:s})=>{const c=M(),l=se(r,c),a=C();return t.jsxs(ro,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(no,{children:t.jsxs(lo,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[s,"%"]})]})}),t.jsxs(co,{color:l.fundNameColor,children:[t.jsx(X,{children:e.fundCompanyName}),t.jsx(X,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(po,{children:[v.sevenDayYield,t.jsx(He,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ie,{})})})]}),t.jsxs(ho,{windowSize:a,children:[e.yield,"%"]})]})})]})},ki=({analytics:e,fund:r,fundIndex:s,onHide:c})=>{const l=M(),{common:a,spendManagement:y}=L.getLocalizedStrings(),d=y.treasury.promoPage,g=se(s,l);return t.jsxs(t.Fragment,{children:[t.jsx(yo,{children:r.description}),t.jsxs(fo,{children:[t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Xe(r.fundSize,r.currencyCode)})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs(wo,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx($o,{children:r.compositions.map((x,j)=>t.jsxs(jo,{children:[t.jsx(bo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},j))}),children:t.jsxs(vo,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(go,{children:[t.jsxs(So,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(ko,{})]}),t.jsxs(mo,{onClick:c,children:[d.hide,t.jsx(Ji,{})]})]})]})};function Ci(e,r){let s=0;for(const c of r){const l=e[c.fundCode]??0;l>0&&c.yield!=null&&(s+=c.yield*l)}return Number((s/100).toFixed(2))}const K=e=>t.jsx(Gi,{children:e}),zi=o.div`
|
|
319
|
+
`,P={tickLabelText:new B("extraSmallRegular","smallRegular"),balanceIntegerStyles:new B("h5Regular","h3Regular"),integerStyles:new B("largeRegular","h6Regular"),decimalStyles:new B("standardRegular","standardRegular"),fundSummaryStyles:new B("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new B("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new u(h[3],h[8]),accountDetailHeaderPaddingBottom:new u(h[3],h[6]),accountDetailHeaderPaddingLeft:new u(h[3],h[8]),accountDetailHeaderPaddingTop:new u(h[3],h[6]),accountDetailContentMarginTop:new u(h[4],h[4]),areaChartHeight:new u(114,209),accountDetailHeaderGap:new u(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Q,common:ji}=L.getLocalizedStrings(),Re=$.memo(({accountHistory:e})=>{const r=C(),s=M(),[c,l]=$.useState(),a=$.useMemo(()=>{const n=F.zeniDate(new Date().toISOString()),m=n.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?n:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),y=$.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(n=>n.balance?.available.amount===0)),g=$.useMemo(()=>e.accountHistoryWithBalance.map(n=>({...n,date:n.date.toISOString()})),[e.accountHistoryWithBalance]),x=$.useCallback(n=>{const m=Array.isArray(n)?n:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=E("0,0[.]00",D),b=F.zeniDate(m[0].payload?.date??"").format(Q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),j=$.useCallback(n=>{const m=n,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?F.zeniDate(D).format(Q.visual.MMMformat):F.zeniDate(D).format(Q.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Ni,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),f=$.useCallback(({cx:n,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(c?.x!==n||c?.y!==m)&&l({x:n,y:m}),t.jsx(Wi,{cx:n,cy:m,strokeWidth:1,r:h[1]})),[c]),p=$.useMemo(()=>{const n=e.accountHistoryWithBalance.length;return n<=0?0:n>360?Math.floor(n/12):Math.floor(n/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(Zi,{children:[t.jsx(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:s.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:s.colors.grey2,stopOpacity:.02})]})}),t.jsx(ce,{dataKey:"date",stroke:s.colors.grey3,tickSize:0,tick:n=>j(n),interval:y,padding:{right:h[4]}}),t.jsx(he,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(pe,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:s.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(eo,{children:t.jsx(qi,{children:v.noData})})]}):t.jsx(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(ce,{dataKey:"date",stroke:s.colors.grey3,tickSize:0,reversed:!0,tick:n=>j(n),padding:{right:h[4]},interval:p}),t.jsx(he,{tick:!1,axisLine:!1}),t.jsx(Fe,{position:c,content:({payload:n})=>x(n),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(pe,{activeDot:f,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Re.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:s,onBackClick:c,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:y})=>{const d=C(),g=M(),x=Ye().analytics,j=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},f=e.accountSummary,p=$.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(Qi,{children:[t.jsx(_i,{children:v.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:E("0,0[.]00",f?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:E("0,0[.]00",f?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:E("0,0[.]00",f?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(He,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(uo,{}):t.jsx(Ie,{})})})},[f,d]),n=t.jsx(yi,{onOptionSelection:j,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),y()}});return t.jsxs(Di,{children:[t.jsx(Ne,{title:v.title,onBackClick:c,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:n,source:"treasury"}),t.jsxs(Ti,{windowSize:d,children:[t.jsxs(Li,{windowSize:d,children:[t.jsx(bi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:p,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Re,{accountHistory:e.accountHistory})})]}),t.jsx(vi,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(Be,{treasuryDetail:e,onColumnSortConfigChanged:s}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Yi,{})}),t.jsx(Ii,{children:ji.reloadPage.label})]}):t.jsx($i,{children:t.jsx(Ke,{size:"ExtraLarge",start:!0})})]})},Be=$.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const s=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Pi,{windowSize:s,children:t.jsx(ri,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(zi,{})})});Be.displayName="TransactionListScreen";const bi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:s,fundAllocation:c,fundsData:l})=>{const a=C(),[y,d]=$.useState(!1);return $.useEffect(()=>{y===!0&&setTimeout(()=>{d(!1)},800)},[y]),t.jsxs(Mi,{children:[t.jsxs(X,{children:[t.jsx(Vi,{children:t.jsxs(V,{children:[K(be.zeniAccountList.totalAvailableBalance),s("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(_,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(X,{children:[t.jsxs(V,{children:[K(v.insuredFunds),s("insuredFunds")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(_,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(V,{children:K(v.insuredFundsAmount)})]}),r&&t.jsxs(Ai,{children:[t.jsxs(Ce,{children:[t.jsx(V,{children:K(be.common.totalYieldEarned)}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(_,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(V,{children:[K(v.sevenDayYield)," ",s("sevenDayYield")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Fi,{windowSize:a,children:[Ci(c??{},l),"%"]})})]})]})]})},vi=({analytics:e,fundsData:r,fundAllocation:s,hasAccountActivity:c})=>{const[l,a]=$.useState(!1),y=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(to,{windowSize:y,allTilesExpanded:l,children:r.map((x,j)=>{const f=l,p=se(j,d);return t.jsxs(io,{expanded:f,windowSize:y,children:[t.jsx(xo,{bgColor:p.headerBackground}),t.jsx(Si,{fund:x,fundIndex:j,fundAllocation:s!=null?s[x.fundCode]:0,hasAccountActivity:c}),!l&&t.jsx(oo,{children:t.jsxs(ao,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Gi,{})]})}),f&&t.jsxs(t.Fragment,{children:[t.jsx(Co,{}),t.jsx(ki,{analytics:e,fund:x,fundIndex:j,onHide:g})]})]},x.fundCode)})})},Si=({fund:e,fundIndex:r,fundAllocation:s})=>{const c=M(),l=se(r,c),a=C();return t.jsxs(ro,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(no,{children:t.jsxs(lo,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[s,"%"]})]})}),t.jsxs(co,{color:l.fundNameColor,children:[t.jsx(X,{children:e.fundCompanyName}),t.jsx(X,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(po,{children:[v.sevenDayYield,t.jsx(He,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ie,{})})})]}),t.jsxs(ho,{windowSize:a,children:[e.yield,"%"]})]})})]})},ki=({analytics:e,fund:r,fundIndex:s,onHide:c})=>{const l=M(),{common:a,spendManagement:y}=L.getLocalizedStrings(),d=y.treasury.promoPage,g=se(s,l);return t.jsxs(t.Fragment,{children:[t.jsx(yo,{children:r.description}),t.jsxs(fo,{children:[t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Xe(r.fundSize,r.currencyCode)})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs(wo,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx($o,{children:r.compositions.map((x,j)=>t.jsxs(jo,{children:[t.jsx(bo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},j))}),children:t.jsxs(vo,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(go,{children:[t.jsxs(So,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(ko,{})]}),t.jsxs(mo,{onClick:c,children:[d.hide,t.jsx(Ji,{})]})]})]})};function Ci(e,r){let s=0;for(const c of r){const l=e[c.fundCode]??0;l>0&&c.yield!=null&&(s+=c.yield*l)}return Number((s/100).toFixed(2))}const K=e=>t.jsx(Ui,{children:e}),zi=o.div`
|
|
320
320
|
display: flex;
|
|
321
321
|
flex-direction: column;
|
|
322
322
|
align-items: center;
|
|
@@ -421,10 +421,10 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
421
421
|
flex: 1;
|
|
422
422
|
min-width: 140px;
|
|
423
423
|
flex-direction: column;
|
|
424
|
-
`,
|
|
424
|
+
`,Vi=o(k)`
|
|
425
425
|
display: flex;
|
|
426
426
|
color: ${e=>e.theme.colors.hero};
|
|
427
|
-
`,
|
|
427
|
+
`,Fi=o.div`
|
|
428
428
|
color: ${e=>e.theme.colors.success};
|
|
429
429
|
${e=>P.integerStyles.style(e.windowSize)};
|
|
430
430
|
`,Ei=o.div`
|
|
@@ -444,12 +444,12 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
444
444
|
fill: ${e=>e.theme.colors.grey5};
|
|
445
445
|
`,ze=o(k)`
|
|
446
446
|
color: ${e=>e.isSublabel===!0?w.neutralGrey1Light:w.brandColorPearl};
|
|
447
|
-
`,
|
|
447
|
+
`,V=o.div`
|
|
448
448
|
display: flex;
|
|
449
449
|
gap: ${i.sp1};
|
|
450
|
-
`,
|
|
450
|
+
`,Ui=o(k)`
|
|
451
451
|
color: ${e=>e.theme.colors.hero};
|
|
452
|
-
`,
|
|
452
|
+
`,Gi=o(Je)`
|
|
453
453
|
height: 12px;
|
|
454
454
|
width: 12px;
|
|
455
455
|
margin-left: ${i.sp1};
|
|
@@ -474,11 +474,11 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
474
474
|
color: ${e=>e.theme.colors.primary};
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
`,
|
|
477
|
+
`,_i=o(k)`
|
|
478
478
|
margin-bottom: ${i.sp2};
|
|
479
479
|
display: flex;
|
|
480
480
|
text-align: left;
|
|
481
|
-
`,
|
|
481
|
+
`,Qi=o(k)`
|
|
482
482
|
padding: ${i.sp2} ${i.sp2};
|
|
483
483
|
color: ${e=>e.theme.colors.hero};
|
|
484
484
|
background: ${e=>e.theme.colors.black};
|
|
@@ -491,7 +491,7 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
491
491
|
color: ${e=>e.theme.colors.hero};
|
|
492
492
|
`,te=o.div`
|
|
493
493
|
color: ${w.primaryDark};
|
|
494
|
-
`,Ie=o(
|
|
494
|
+
`,Ie=o(Ve)`
|
|
495
495
|
width: ${i.sp3};
|
|
496
496
|
height: ${i.sp3};
|
|
497
497
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -577,7 +577,7 @@ import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bt as ae,aW as Ne,v as ie,Y a
|
|
|
577
577
|
flex-direction: row;
|
|
578
578
|
align-items: center;
|
|
579
579
|
gap: ${i.sp1};
|
|
580
|
-
`,lo=o(
|
|
580
|
+
`,lo=o(Qe)`
|
|
581
581
|
display: flex;
|
|
582
582
|
gap: ${i.sp2};
|
|
583
583
|
`,Te=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as ae,X as
|
|
1
|
+
import{u as ae,X as E,t as xe,d2 as we,a1 as $e,l as fe,M as O,j as r,aV as ye,o as i,iB as je,bs as be,w as S,K,Y as Q,Q as f,Z as F,C as v,g as t,q as _,d4 as Se,eW as ke,k as ze,f as ve,cI as Ce,n as m,dI as Le,aw as Pe,c0 as Te,a2 as Ie,v as Z,cu as De}from"./index-DyBH5SZv.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js";import{l as Re}from"./treasuryColorHelper-BibNNRS5-DCmyWsB-.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ge}from"./shield-DOlUxcFf-BCUrujod.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 _e=({isOpen:e,onClose:x})=>{const c=E(),u=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Oe,{onClick:x})}),r.jsxs(Ve,{children:[r.jsx(Ee,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(qe,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(Ye,{children:d.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},He=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -7,11 +7,11 @@ import{u as ae,X as O,t as xe,d2 as we,a1 as $e,l as fe,M as V,j as r,aW as ye,o
|
|
|
7
7
|
display: flex;
|
|
8
8
|
justify-content: end;
|
|
9
9
|
padding: ${i.sp4} ${i.sp6};
|
|
10
|
-
`,
|
|
10
|
+
`,Ve=o.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
padding: 0 ${i.sp6} 0 ${i.sp6};
|
|
14
|
-
`,
|
|
14
|
+
`,Ee=o(De)`
|
|
15
15
|
color: ${e=>e.theme.colors.primary};
|
|
16
16
|
padding-bottom: ${i.sp3};
|
|
17
17
|
${e=>e.windowSize==="small"?Z.h6Medium.css:Z.h5Medium.css};
|
|
@@ -19,7 +19,7 @@ import{u as ae,X as O,t as xe,d2 as we,a1 as $e,l as fe,M as V,j as r,aW as ye,o
|
|
|
19
19
|
color: ${e=>e.theme.colors.hero};
|
|
20
20
|
max-width: 100%;
|
|
21
21
|
align-self: stretch;
|
|
22
|
-
`,
|
|
22
|
+
`,Oe=o(Ie)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
width: ${i.sp4};
|
|
25
25
|
height: ${i.sp4};
|
|
@@ -46,13 +46,13 @@ import{u as ae,X as O,t as xe,d2 as we,a1 as $e,l as fe,M as V,j as r,aW as ye,o
|
|
|
46
46
|
color: ${e=>e.theme.colors.primary};
|
|
47
47
|
text-decoration-color: ${e=>e.theme.colors.primary};
|
|
48
48
|
}
|
|
49
|
-
`,
|
|
49
|
+
`,Ye=o.div`
|
|
50
50
|
display: inline;
|
|
51
51
|
`,re=o.li`
|
|
52
52
|
color: ${e=>e.theme.colors.hero};
|
|
53
|
-
`,
|
|
53
|
+
`,Ue=o.span`
|
|
54
54
|
display: inline;
|
|
55
|
-
`,z=0,I=5e6,We=1e4,g=
|
|
55
|
+
`,z=0,I=5e6,We=1e4,g=O.getLocalizedStrings().spendManagement.treasury.promoPage,V=[g.sliderLabel0,g.sliderLabel1,g.sliderLabel2,g.sliderLabel3,g.sliderLabel4];function Xe(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(2)}K`:`$${e.toLocaleString()}`}function ie(e){return`$${e.toLocaleString(void 0,{maximumFractionDigits:0})}`}const Ke=({analytics:e,yieldPercentage:x})=>{const[c,u]=Me.useState(15e5),d=c*x,w=()=>`${(c-z)/(I-z)*100}%`,h=ae(),$=E();return r.jsxs(Qe,{windowSize:$,children:[$==="small"?r.jsx(nr,{children:g.sliderTitle}):r.jsx(sr,{children:g.sliderTitle}),r.jsxs(Ze,{children:[$==="small"?r.jsxs(r.Fragment,{children:[r.jsx(oe,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(oe,{style:{color:t.success},children:[ie(d),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(se,{style:{color:t.success},children:[ie(d),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}),r.jsx(ze,{style:{color:h.colors.primary},children:g.sliderPerYear})]}),r.jsxs(Je,{children:[r.jsx(er,{type:"range",min:z,max:I,step:We,value:c,onChange:l=>{const b=Number(l.target.value);u(b),e.trackTreasuryCalculatorClick("Treasury Promo Page",b)},style:{background:`linear-gradient(to right, ${t.success} 0%, ${t.success} ${(c-z)/(I-z)*100}%, ${t.neutralGrey3Light} ${(c-z)/(I-z)*100}%, ${t.neutralGrey3Light} 100%)`}}),r.jsxs(or,{style:{left:w()},children:[g.sliderTooltipPrefix," ",Xe(c)]}),r.jsx(rr,{children:V.map((l,b)=>{const H=b/(V.length-1)*I<=c;return r.jsx(ir,{style:{left:`${b/(V.length-1)*100}%`},children:r.jsx(S,{style:{color:H?h.colors.primary:t.neutralGrey1Light},children:l})},b)})})]})]})},Qe=o.div`
|
|
56
56
|
width: 100%;
|
|
57
57
|
max-width: ${e=>e.windowSize==="small"?"345px":"726px"};
|
|
58
58
|
margin: 0 auto;
|
|
@@ -147,7 +147,7 @@ import{u as ae,X as O,t as xe,d2 as we,a1 as $e,l as fe,M as V,j as r,aW as ye,o
|
|
|
147
147
|
`,nr=o(Pe)`
|
|
148
148
|
color: ${e=>e.theme.colors.primary};
|
|
149
149
|
letter-spacing: -0.01em;
|
|
150
|
-
`,lr=e=>P.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.5 16.8597L9.6679 9.59848C9.84009 9.44555 10.0608 9.35843 10.291 9.35254C10.5213 9.34665 10.7461 9.42235 10.9259 9.56627L14.5048 12.4288C14.6879 12.5752 14.9175 12.6508 15.1517 12.6419C15.3859 12.6329 15.6091 12.5399 15.7804 12.38L22.4834 6.12402",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),P.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{common:tr,spendManagement:ar}=
|
|
150
|
+
`,lr=e=>P.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.5 16.8597L9.6679 9.59848C9.84009 9.44555 10.0608 9.35843 10.291 9.35254C10.5213 9.34665 10.7461 9.42235 10.9259 9.56627L14.5048 12.4288C14.6879 12.5752 14.9175 12.6508 15.1517 12.6419C15.3859 12.6329 15.6091 12.5399 15.7804 12.38L22.4834 6.12402",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),P.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{common:tr,spendManagement:ar}=O.getLocalizedStrings(),s=ar.treasury.promoPage,j={mainHeading:new f("h6Medium","h4Regular"),subHeading:new f("standardRegular","h6Regular"),fundSymbol:new f("extraSmallSemiBold","smallSemiBold"),fundName:new f("extraLargeSemiBold","h5SemiBold"),fundSubName:new f("standardMedium","h6SemiBold"),highlightValue:new f("smallRegular","largeMedium"),highlightLabel:new f("extraSmallRegular","smallRegular"),uspItemTitle:new f("extraLargeMedium","h6Medium"),uspItemDescription:new f("extraSmallRegular","standardRegular")},p={uspLogoSize:new v(m[4],m[5]),cardsGap:new v(m[4],m[6]),fundHeaderGap:new v(m[0],m[2]),fundHeaderPadding:new v(m[3],m[4]),fundHighlightsPadding:new v(m[2],m[3]),highlightItemGap:new v(m[0],m[1])},oi=({treasurySetupView:e,isSetupComplete:x,meetingUrl:c,onBackClick:u,onClickMenuIcon:d,onSetupButtonClick:w,onTreasurySetupSuccess:h})=>{const $=ae(),l=E(),b=xe(),[H,q]=P.useState(!1),[de,Y]=P.useState(!1),T=we().analytics,ce=()=>{T.trackTreasurySetupActionClick("schedule_demo"),q(!0)},{treasuryTermsDetails:pe,fundsData:U}=e,N=pe?.fetchStatus.fetchState,W=$e(N),X=U.reduce((n,a)=>{const k=a.yield?.toString()||"0%",G=parseFloat(k.replace("%",""))/100;return Math.max(n,G)},0),he=fe.hasTreasuryAdminLevelAccess(b.loggedInUserRoleMap);P.useEffect(()=>{W==="In-Progress"&&N==="Completed"&&h(x)},[W,h,N,x]);const me=[{title:`${s.usps.upTo} ${(X*100).toFixed(2)}%`,description:s.yieldLabel.trim()},{title:s.usps.insuredFundsAmount,description:s.usps.sipcInsured},{title:s.usps.highLiquidity,description:s.usps.sameDayTransfer},{title:s.usps.autoTransfers,description:s.usps.automateCashManagement}],ge=(n,a)=>n===0?r.jsx(Mr,{theme:a,windowSize:l}):n===1?r.jsx(Br,{theme:a,windowSize:l}):n===2?r.jsx(Rr,{theme:a,windowSize:l}):n===3?r.jsx(Nr,{theme:a,windowSize:l}):null;return r.jsxs(dr,{children:[r.jsx(ye,{title:s.title,backgroundColor:$.colors.grey4,onBackClick:u,showBackButton:!0,showMenuIcon:!1,onClickMenuIcon:d,source:"treasury"}),H===!0?r.jsx(Be,{onCancelClick:()=>{q(!1)},meetingUrl:c}):null,r.jsxs(Cr,{windowSize:l,children:[r.jsx(Lr,{windowSize:l,children:s.heading}),r.jsx(Pr,{windowSize:l,children:s.subHeading})]}),r.jsx(cr,{windowSize:l,children:U.map((n,a)=>{const k=Re(a,$);return r.jsxs(pr,{children:[r.jsxs(hr,{windowSize:l,bgColor:k.headerBackground,index:a,children:[r.jsx(mr,{windowSize:l,children:n.fundCode}),r.jsxs("div",{children:[r.jsx(gr,{windowSize:l,color:k.fundNameColor,children:n.fundCompanyName??n.fundName}),r.jsx(ur,{windowSize:l,color:k.fundSubNameColor,children:n.fundName})]})]}),r.jsxs(xr,{windowSize:l,bgColor:k.highlightsBackground,children:[r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[r.jsxs($r,{children:[n.yield,"%"]}),s.yieldLabel,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"I"})]}),r.jsx(te,{windowSize:l,children:s.higherReturns})]}),r.jsx(wr,{}),r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[n.liquidityTimeline,s.liquidity,n.liquidityTimeline.includes("Same-Day")?r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"II"}):null]}),r.jsx(te,{windowSize:l,children:s.quickPayments})]})]}),r.jsx(fr,{windowSize:l,children:n.description}),r.jsxs(yr,{children:[r.jsxs(D,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.fundSize]}),r.jsx(B,{color:k.fundNameColor,children:je(n.fundSize,n.currencyCode)})]}),r.jsxs(D,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.maturity]}),r.jsxs(B,{children:[n.maturity,""," ",tr.timeStrings.days]})]}),r.jsxs(D,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.expenseRatio]}),r.jsxs(B,{children:[n.expenseRatio,s.expenseRatioSuffix]})]}),r.jsxs(D,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.riskRating]}),r.jsx(B,{children:n.riskRating})]}),r.jsxs(D,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.composition]}),r.jsx(B,{children:r.jsxs(br,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,r.jsx(be,{style:{textAlign:"left",display:"inline"},maxWidth:"312px",title:r.jsxs(Sr,{children:[r.jsx(S,{children:s.compositionHeading}),n.compositions.map((G,ue)=>r.jsxs(kr,{children:[r.jsx(zr,{}),r.jsx(S,{children:G.investedIn}),r.jsx(S,{style:{marginLeft:"auto",textAlign:"right"},children:G.percentage})]},ue))]}),children:r.jsxs(vr,{children:["+",n.compositions.length-1]})})]})})]})]}),r.jsxs(jr,{onClick:()=>T.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Promo Page"),windowSize:l,href:n.url,target:"_blank",rel:"noopener noreferrer",children:[s.asOf," ",n.asOfDate.format("MMM D, YYYY"),r.jsx(Gr,{})]})]},n.fundCode)})}),r.jsx(Tr,{windowSize:l,children:r.jsx(Ir,{children:me.map((n,a)=>r.jsxs(Dr,{children:[ge(a,$),r.jsx(_r,{windowSize:l,children:n.title}),r.jsxs(Hr,{windowSize:l,children:[n.description,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:a===0?"I":a===1?"III":a===2?"II":null})]})]},a))})}),r.jsx(Ke,{analytics:T,yieldPercentage:X}),r.jsxs(Er,{windowSize:l,children:[r.jsxs(Or,{children:[r.jsx(C,{children:s.disclaimer1}),r.jsx(C,{children:s.disclaimer2}),r.jsxs(C,{children:[s.disclaimer3,r.jsx(y,{href:s.disclaimer3Link,target:"_blank",rel:"noopener noreferrer",children:s.disclaimer3Url})]}),r.jsx(C,{children:s.disclaimer4})]}),r.jsxs(C,{children:[s.agreementP1,r.jsx(y,{href:s.formCrsLink,target:"_blank",rel:"noopener noreferrer",children:s.formCrsText}),r.jsx(L,{}),r.jsx(y,{href:s.formAdvLink,target:"_blank",rel:"noopener noreferrer",children:s.formAdvText}),r.jsx(L,{}),r.jsx(y,{href:s.privacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.privacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.generalDisclosuresLink,target:"_blank",rel:"noopener noreferrer",children:s.generalDisclosuresText}),r.jsx(L,{}),r.jsx(y,{href:s.sipcInfoLink,target:"_blank",rel:"noopener noreferrer",children:s.sipcInfoText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniPrivacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniPrivacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniTermsOfServiceText})]}),r.jsx(C,{children:r.jsx(y,{href:"#",onClick:n=>{T.trackTreasuryAgreementView(),n.preventDefault(),Y(!0)},children:s.viewAgreement})})]}),he?r.jsxs(Ar,{windowSize:l,children:[r.jsx(K,{variant:"secondary",label:s.scheduleDemoButton,onClick:ce,"data-testid":Q("treasury-schedule-demo-button")}),r.jsx(Vr,{windowSize:l,children:"OR"}),r.jsx(K,{variant:"primary",label:x?s.enableButton:s.setupButton,loading:N==="In-Progress",onClick:()=>{T.trackTreasurySetupActionClick(x?"enable_now":"setup"),w()},"data-testid":Q("treasury-get-started-button")})]}):null,r.jsx(_e,{isOpen:de,onClose:()=>Y(!1)})]})},dr=o.div`
|
|
151
151
|
display: flex;
|
|
152
152
|
flex: 1 1 auto;
|
|
153
153
|
min-height: 100%;
|
|
@@ -397,10 +397,10 @@ import{u as ae,X as O,t as xe,d2 as we,a1 as $e,l as fe,M as V,j as r,aW as ye,o
|
|
|
397
397
|
row-gap: ${i.sp2};
|
|
398
398
|
background-color: ${e=>e.theme.colors.grey5};
|
|
399
399
|
gap: ${i.sp5};
|
|
400
|
-
`,
|
|
400
|
+
`,Vr=o(S)`
|
|
401
401
|
color: ${e=>e.theme.colors.hero};
|
|
402
402
|
margin: ${e=>e.windowSize==="small"?`${i.sp3} 0`:`0 ${i.sp3}`};
|
|
403
|
-
`,
|
|
403
|
+
`,Er=o.div`
|
|
404
404
|
display: flex;
|
|
405
405
|
flex-direction: column;
|
|
406
406
|
align-items: flex-start;
|
|
@@ -410,7 +410,7 @@ import{u as ae,X as O,t as xe,d2 as we,a1 as $e,l as fe,M as V,j as r,aW as ye,o
|
|
|
410
410
|
@media (max-width: 768px) {
|
|
411
411
|
padding: ${i.sp3} ${i.sp3};
|
|
412
412
|
}
|
|
413
|
-
`,
|
|
413
|
+
`,Or=o.div`
|
|
414
414
|
display: flex;
|
|
415
415
|
flex-direction: column;
|
|
416
416
|
margin-bottom: ${i.sp2};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d2 as qe,u as Ge,X as pe,a1 as me,a as he,c3 as fe,M as ge,a7 as le,j as t,cI as Ke,g as Ye,C as r,
|
|
1
|
+
import{d2 as qe,u as Ge,X as pe,a1 as me,a as he,c3 as fe,M as ge,a7 as le,j as t,cI as Ke,g as Ye,C as r,aV as Je,c as Qe,F as ye,c_ as Xe,aQ as Ze,n,l as et,K as tt,bs as it,Y as ot,cd as nt,c9 as at,a3 as st,o as i,q as xe,c0 as lt,a2 as rt,Q as ct,h as dt}from"./index-DyBH5SZv.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-Dv3nbc1Z-CHaoZd0g.js";import{Y as pt}from"./LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js";import{P as mt}from"./DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{K as re}from"./SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js";import{f as ft}from"./SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js";import gt from"./PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.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-D_WPTVKr-DYqVpuuh.js";import"./ChargeCardUtils-BvVm2SMq-B6pl3c2F.js";import"./CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js";import"./ChaseOverlay-CI8lEzod-DNTlxx9v.js";import"./PortfolioDetails-BMJ6PGMP-DtrA52bw.js";import"./treasuryColorHelper-BibNNRS5-DCmyWsB-.js";const ce=(e,s)=>`${e}.${s}`,S={labelWidth:new r(145,155),largeLabelDocumentWidth:new r(210,252),marginBottom:new r(n[2],n[0]),navBarContainerPaddingYaxis:new r(10,n[3]),containerPaddingLeft:new r(n[3],n[6],n[8]),containerPaddingRight:new r(n[3],n[6],n[8])},yt={stepTitle:new ct("h6Regular","h5Regular")},we=ge.getLocalizedStrings(),{common:de}=we,p=we.commonSetUp.businessVerification,ee=p.sourceOfFundOptions,b="additionalVerificationFields",xt=({companyOfficer:e,companyDetails:s,updateStatus:h,fileProps:f,isDetailsSubmitted:g,onClose:F,onAdditionalVerificationFieldsChanged:B,onSendForVerificationClick:W,onCloseOverlay:$})=>{const c=pe(),_=S.labelWidth.value(c),k=S.largeLabelDocumentWidth.value(c),M=me(h.fetchState),C=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>({[b]:{sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},formationDocument:s?.companyFiles.find(a=>a.documentType==="company_formation_document")}}),[s?.sourceOfFunds,s?.companyFiles])}),U=a=>ee[a]??a,O=s?.deleteFileStatusById??{},A=s?.updateFileStatusById??{},N=Object.values(O??{}).filter(a=>a!=null),H=et.reduceAllFetchState(N),R=C.handleSubmit(()=>{H.fetchState!=="In-Progress"&&W(e?.officerType??"Officer_1")}),q=async(a,x)=>{B(x[b])};return l.useEffect(()=>{const a=C.watch((x,{name:T})=>{T!=null&&x!=null&&fe(()=>q(T,x))});return()=>{a.unsubscribe()}}),M==="In-Progress"&&h.fetchState==="Completed"||g===!0?t.jsxs(Pt,{children:[t.jsxs(Ft,{children:[t.jsx(ht,{}),t.jsx(St,{windowSize:c,children:p.submittedTitle}),t.jsx(kt,{children:p.submittedDescription})]}),t.jsx(tt,{label:p.submittedButton,onClick:$,variant:"primary"})]}):t.jsxs(wt,{windowSize:c,children:[t.jsx(bt,{windowSize:c,children:t.jsx(it,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(vt,{"data-testid":ot("nav-bar-back-portfolio-allocation"),onClick:$||F})})}),t.jsxs($t,{windowSize:c,children:[t.jsx(Ot,{windowSize:c,children:p.verifyBusinessDetails}),t.jsx(At,{children:t.jsxs(Tt,{children:[t.jsx(Et,{}),t.jsx(Lt,{})]})})]}),t.jsx(be,{children:p.verifyBusinessDetailsDescription}),t.jsx(ye,{...C,children:t.jsxs("form",{id:b,onSubmit:R,children:[t.jsxs(Ct,{children:[t.jsx(mt,{}),t.jsx(pt,{name:ce(b,"formationDocument"),sizeLimit:nt,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:p.formationDocumentLabel,width:k,style:{marginBottom:S.marginBottom.valuePx(c)}},style:{width:"auto"},file:s?.companyFiles.find(a=>a.documentType==="company_formation_document"),filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},additionalInfoLabel:p.formationDocumentError.replace("_product_type_","business verification"),updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,deleteFileStatusById:O,updateFileStatusById:A}),t.jsx(jt,{}),t.jsx(at,{label:{label:p.sourceOfFundsLabel,width:_},style:{width:"auto"},additionalInfoLabel:p.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:ce(b,"sourceOfFunds"),placeholder:p.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:U,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},registerOptions:{required:!0,validate:a=>!!a?.selectedOption}},isFunctional:!0,errorInfoLabel:p.sourceOfFundsError.replace("_product_type_","business verification")})]}),t.jsx(st,{formId:b,primaryBtn:{label:de.footer.submit,style:{width:"auto",minWidth:c==="small"?"auto":"83px"},isLoading:h.fetchState==="In-Progress"},cancelBtn:{label:de.footer.back,style:{width:c==="small"?"auto":"83px"},onClick:F},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},wt=o.div`
|
|
2
2
|
height: auto;
|
|
3
3
|
padding-left: ${e=>`${S.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
4
4
|
padding-right: ${e=>`${S.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
@@ -114,7 +114,7 @@ import{d2 as qe,u as Ge,X as pe,a1 as me,a as he,c3 as fe,M as ge,a7 as le,j as
|
|
|
114
114
|
transform: translateX(0%);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
`,Dt=e=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M5.62069 7.42676H2.09973",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M21.8994 7.42676H10.1617",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M13.8383 16.6963H2.09973",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M21.8994 16.6963H18.3793",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M5.62061 7.2989C5.62061 7.59707 5.67934 7.89233 5.79344 8.16781C5.90755 8.44329 6.0748 8.6936 6.28564 8.90444C6.49649 9.11528 6.74679 9.28253 7.02227 9.39664C7.29775 9.51075 7.59301 9.56948 7.89118 9.56948C8.18936 9.56948 8.48462 9.51075 8.7601 9.39664C9.03558 9.28253 9.28588 9.11528 9.49672 8.90444C9.70757 8.6936 9.87482 8.44329 9.98892 8.16781C10.103 7.89233 10.1618 7.59707 10.1618 7.2989C10.1618 6.6967 9.92254 6.11917 9.49672 5.69336C9.07091 5.26754 8.49338 5.02832 7.89118 5.02832C7.28899 5.02832 6.71146 5.26754 6.28564 5.69336C5.85983 6.11917 5.62061 6.6967 5.62061 7.2989Z",stroke:"currentColor",strokeWidth:1.5}),l.createElement("path",{d:"M13.8383 16.6983C13.8383 17.3005 14.0775 17.878 14.5033 18.3039C14.9291 18.7297 15.5066 18.9689 16.1088 18.9689C16.711 18.9689 17.2886 18.7297 17.7144 18.3039C18.1402 17.878 18.3794 17.3005 18.3794 16.6983C18.3794 16.0961 18.1402 15.5186 17.7144 15.0928C17.2886 14.667 16.711 14.4277 16.1088 14.4277C15.5066 14.4277 14.9291 14.667 14.5033 15.0928C14.0775 15.5186 13.8383 16.0961 13.8383 16.6983Z",stroke:"currentColor",strokeWidth:1.5})),m={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,n[5],n[5]),sectionRowGap:new r(n[5],n[9],n[9]),iconWidthHeight:new r(20,n[4]),subTitlePaddingTop:new r(12,n[3]),subTitlePaddingBottom:new r(n[3],n[3]),overlayWidth:new r(100,100,59)},zt="treasurySetUpPage",V="payAccount",{commonSetUp:It,spendManagement:Vt}=ge.getLocalizedStrings(),{zeniAccounts:Bt,treasury:v}=Vt,{setUp:I}=It,mi=({isDisabled:e,meetingUrl:s,treasurySetupView:h,currentTenant:f,businessVerificationDetails:g,connectedAccountProvider:F,filesEndPoint:B,authParams:W,accountsPromoConfig:$,isAccountsEnabled:c,showTreasurySetupOverlay:_,setShowTreasurySetupOverlay:k,onFetchLinkTokenClick:M,onEnableTreasuryClick:C,onUpdatePrimaryFundingAccount:U,onUpdateTreasuryClick:O,onBusinessVerificationSectionClick:A,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:H,onEstablishConnectionClick:R,onEstablishConnectionSuccess:q,onClickMenuIcon:a,onEditFileName:x,onDeleteFile:T,updateFilesEntity:ve,onAdditionalVerificationFieldsChanged:Se,onSendForVerificationClick:ke,onUpdateFundAllocation:Ce,onConfirmFundAllocation:je,onSignUpClick:Pe,onNavigateToDashboard:Fe})=>{const j=qe().analytics,E=Ge(),d=pe(),[G,K]=l.useState("portfolio-allocation"),[te,$e]=l.useState(!1),{fetchState:ie,companyTreasuryInfo:L,isRefreshingViewInBackground:oe,updateStatus:Oe,plaidConnectionDetails:Ae,allBankAccounts:Te,selectedCompanyOfficer:Ee,primaryFundingAccount:w,allFundingAccounts:ne,currentAllocation:Le,portfolioAllocationUpdateStatus:Y,isAtomicAccountExists:De}=h,ae=me(Y.fetchState),D=f.company?.companyBillPayInfo?.businessVerificationStatus,ze=D?.code==="pending_review"||D?.code==="verified",{companyDetailsLocalData:Ie}=g,
|
|
117
|
+
`,Dt=e=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M5.62069 7.42676H2.09973",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M21.8994 7.42676H10.1617",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M13.8383 16.6963H2.09973",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M21.8994 16.6963H18.3793",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M5.62061 7.2989C5.62061 7.59707 5.67934 7.89233 5.79344 8.16781C5.90755 8.44329 6.0748 8.6936 6.28564 8.90444C6.49649 9.11528 6.74679 9.28253 7.02227 9.39664C7.29775 9.51075 7.59301 9.56948 7.89118 9.56948C8.18936 9.56948 8.48462 9.51075 8.7601 9.39664C9.03558 9.28253 9.28588 9.11528 9.49672 8.90444C9.70757 8.6936 9.87482 8.44329 9.98892 8.16781C10.103 7.89233 10.1618 7.59707 10.1618 7.2989C10.1618 6.6967 9.92254 6.11917 9.49672 5.69336C9.07091 5.26754 8.49338 5.02832 7.89118 5.02832C7.28899 5.02832 6.71146 5.26754 6.28564 5.69336C5.85983 6.11917 5.62061 6.6967 5.62061 7.2989Z",stroke:"currentColor",strokeWidth:1.5}),l.createElement("path",{d:"M13.8383 16.6983C13.8383 17.3005 14.0775 17.878 14.5033 18.3039C14.9291 18.7297 15.5066 18.9689 16.1088 18.9689C16.711 18.9689 17.2886 18.7297 17.7144 18.3039C18.1402 17.878 18.3794 17.3005 18.3794 16.6983C18.3794 16.0961 18.1402 15.5186 17.7144 15.0928C17.2886 14.667 16.711 14.4277 16.1088 14.4277C15.5066 14.4277 14.9291 14.667 14.5033 15.0928C14.0775 15.5186 13.8383 16.0961 13.8383 16.6983Z",stroke:"currentColor",strokeWidth:1.5})),m={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,n[5],n[5]),sectionRowGap:new r(n[5],n[9],n[9]),iconWidthHeight:new r(20,n[4]),subTitlePaddingTop:new r(12,n[3]),subTitlePaddingBottom:new r(n[3],n[3]),overlayWidth:new r(100,100,59)},zt="treasurySetUpPage",V="payAccount",{commonSetUp:It,spendManagement:Vt}=ge.getLocalizedStrings(),{zeniAccounts:Bt,treasury:v}=Vt,{setUp:I}=It,mi=({isDisabled:e,meetingUrl:s,treasurySetupView:h,currentTenant:f,businessVerificationDetails:g,connectedAccountProvider:F,filesEndPoint:B,authParams:W,accountsPromoConfig:$,isAccountsEnabled:c,showTreasurySetupOverlay:_,setShowTreasurySetupOverlay:k,onFetchLinkTokenClick:M,onEnableTreasuryClick:C,onUpdatePrimaryFundingAccount:U,onUpdateTreasuryClick:O,onBusinessVerificationSectionClick:A,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:H,onEstablishConnectionClick:R,onEstablishConnectionSuccess:q,onClickMenuIcon:a,onEditFileName:x,onDeleteFile:T,updateFilesEntity:ve,onAdditionalVerificationFieldsChanged:Se,onSendForVerificationClick:ke,onUpdateFundAllocation:Ce,onConfirmFundAllocation:je,onSignUpClick:Pe,onNavigateToDashboard:Fe})=>{const j=qe().analytics,E=Ge(),d=pe(),[G,K]=l.useState("portfolio-allocation"),[te,$e]=l.useState(!1),{fetchState:ie,companyTreasuryInfo:L,isRefreshingViewInBackground:oe,updateStatus:Oe,plaidConnectionDetails:Ae,allBankAccounts:Te,selectedCompanyOfficer:Ee,primaryFundingAccount:w,allFundingAccounts:ne,currentAllocation:Le,portfolioAllocationUpdateStatus:Y,isAtomicAccountExists:De}=h,ae=me(Y.fetchState),D=f.company?.companyBillPayInfo?.businessVerificationStatus,ze=D?.code==="pending_review"||D?.code==="verified",{companyDetailsLocalData:Ie}=g,J=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>ue(h),[h]),values:ue(h)}),Ve=J.handleSubmit(P=>{C()}),Be=async(P,z)=>{const u=z[V];if(P.includes(V)){if(P.includes("fundingAccount")){if(u.fundingAccount.selectedOption!=null&&w?.id!=u.fundingAccount.selectedOption){const y=ne.find(Z=>Z.id===u.fundingAccount.selectedOption);y!=null&&U(u.fundingAccount.selectedOption,y.accType)}}else if(u.account.selectedOption!=null&&w?.id!=null&&w?.zeniAccountId!=u.account.selectedOption){const y=u.account.allOptions.find(Z=>Z.value===u.account.selectedOption);y!=null&&typeof y.label=="string"&&j.trackConnectBankLink(y.value,y.label,"zeni_treasury"),O(u.account.selectedOption,w.id,w.accType)}}};l.useEffect(()=>{const P=J.watch((z,{name:u})=>{u!=null&&z!=null&&fe(()=>Be(u,z))});return()=>{P.unsubscribe()}}),l.useEffect(()=>{ae==="In-Progress"&&Y.fetchState==="Completed"&&G==="portfolio-allocation"&&k(!1)},[ae,Y.fetchState]);const se=L?.businessVerificationStatus?.code==="verified",We=L?.businessVerificationStatus?.code==="pending_review",_e=se||We,Me=ie==="In-Progress"||ie==="Not-Started",Ue=v.setup.setupSubTitle,Q=E.mode==="light"?new le(E.colors.brandColorJadeLight):new le(E.colors.brandColorJadeDark),Ne=()=>{$e(!0),k(!0),K("portfolio-allocation")},He=()=>{je(),te||(j.trackTreasuryVerificationNavigation("next",D?.code??""),ze?K("additional-verification"):A(!0))},X=()=>{k(!1)},Re=()=>{j.trackTreasuryVerificationNavigation("back",D?.code??""),K("portfolio-allocation")};return t.jsxs(_t,{children:[t.jsxs(Ke,{anchor:"right",open:_,onClose:X,PaperProps:{style:{width:m.overlayWidth.valuePercentage(d),boxShadow:"none"}},style:{backgroundColor:Ye.drawerBackground},transitionDuration:250,children:[G==="portfolio-allocation"&&t.jsx(gt,{onBackClick:X,onNextClick:He,treasurySetupView:h,onUpdateFundAllocation:Ce,isReadOnly:De&&Le!=null,isEditMode:te,isOnSetup:!0}),G==="additional-verification"&&t.jsx(xt,{updateStatus:Oe,companyOfficer:Ee,companyDetails:Ie,isDetailsSubmitted:_e,fileProps:{authParams:W,filesEndPoint:B,onEditFileName:x,onDeleteFile:T,updateFilesEntity:ve},onClose:Re,onCloseOverlay:X,onAdditionalVerificationFieldsChanged:Se,onSendForVerificationClick:ke})]}),t.jsx(Je,{title:v.setup.setupTitle,backgroundColor:E.colors.grey4,style:{zIndex:3},onBackClick:Fe,showMenuIcon:d==="medium-compact"||d==="small",onClickMenuIcon:a,source:"treasury"}),t.jsxs(Wt,{windowSize:d,children:[t.jsx(Mt,{windowSize:d,children:Ue}),Me?t.jsx(Ut,{children:t.jsx(Qe,{size:"ExtraLarge",start:!0})}):t.jsx(ye,{...J,children:t.jsx("form",{id:Ht(zt),onSubmit:Ve,children:t.jsxs(Nt,{windowSize:d,children:[t.jsx(re,{onClick:Ne,title:v.setup.title,subTitle:v.setup.subTitle,header:v.setup.header,icon:{element:t.jsx(Dt,{width:m.iconWidthHeight.valuePx(d),height:m.iconWidthHeight.valuePx(d)}),color:Q},isLoading:oe,isActiveWhileLoading:!0}),t.jsx(re,{onClick:()=>A(!1),title:I.businessVerificationTitle,subTitle:I.businessVerificationSubTitle,header:I.businessVerificationHeader,icon:{element:t.jsx(Xe,{width:m.iconWidthHeight.valuePx(d),height:m.iconWidthHeight.valuePx(d)}),color:Q},status:L?.businessVerificationStatus,isLoading:oe,isActiveWhileLoading:!0,additionalInfo:L?.businessVerificationStatus?.code==="pending_review"?I.businessVerificationAdditionalInfo:void 0}),t.jsx(ft,{connectedAccountProvider:F,plaidConnectionDetails:Ae,allBankAccounts:Te,sectionId:V,isDisabled:e,header:Bt.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:R,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:H,onEstablishConnectionSuccess:q,icon:{element:t.jsx(Ze,{width:m.iconWidthHeight.valuePx(d),height:m.iconWidthHeight.valuePx(d)}),color:Q},analytics:j,productType:"zeni_treasury",onSignUpClick:Pe,primaryFundingAccount:w,isAccountsEnabled:c,allFundingAccounts:ne,pageName:v.setup.setupPageName,accountsPromoConfig:$})]})})})]}),t.jsx(ut,{isFooterRendered:se,meetingUrl:s,analytics:j,productType:"zeni_treasury"})]})};function ue(e){const{allBankAccounts:s,allFundingAccounts:h,primaryFundingAccount:f}=e;return{[V]:{fundingAccount:{selectedOption:f?.id,allOptions:h.map(g=>({label:g.label,value:g.id,isRecommended:g.accType==="depositAccount"}))},account:{selectedOption:f?.zeniAccountId,allOptions:s.map(g=>({label:g.accountName,value:g.accountId}))}}}}const Wt=o.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
justify-content: flex-start;
|
|
120
120
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as j,X as v,j as t,
|
|
1
|
+
import{u as j,X as v,j as t,aV as z,M as C,ai as P,o as r,g as d,bT as T,C as I,n as c,q as M}from"./index-DyBH5SZv.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-DX1sag1G-C0OcCbod.js";import{o as B}from"./commonDimensions-DAvj4Il1-Chc9ZQai.js";import{J as E}from"./StatementItem-CKTGWEW_-d6SqxmfH.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-LAHtgcHF-B9uNpNRf.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:h.noStatements})})})})};return t.jsxs(V,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -11,22 +11,22 @@ import{u as j,X as v,j as t,aW as z,M as C,ai as M,o as r,g as d,bT as P,C as T,
|
|
|
11
11
|
flex-direction: row;
|
|
12
12
|
justify-content: center;
|
|
13
13
|
align-items: flex-end;
|
|
14
|
-
`,
|
|
14
|
+
`,V=o.div`
|
|
15
15
|
display: flex;
|
|
16
16
|
height: 100%;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
width: 100%;
|
|
19
19
|
padding-bottom: ${r.sp7};
|
|
20
|
-
`,
|
|
20
|
+
`,X=o(M)`
|
|
21
21
|
display: flex;
|
|
22
22
|
color: ${e=>e.theme.colors.grey2};
|
|
23
|
-
`,
|
|
23
|
+
`,A=o.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: 100%;
|
|
28
28
|
margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
|
|
29
|
-
`,
|
|
29
|
+
`,H=o(T)`
|
|
30
30
|
scrollbar-width: thin;
|
|
31
31
|
scrollbar-color: transparent transparent;
|
|
32
32
|
&::-webkit-scrollbar {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as S,X as v,j as t,
|
|
1
|
+
import{u as S,X as v,j as t,aV as L,M as z,ai as C,o as r,g as d,bT as T,C as P,n as c,q as I}from"./index-DyBH5SZv.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-DX1sag1G-C0OcCbod.js";import{o as R}from"./commonDimensions-DAvj4Il1-Chc9ZQai.js";import{J as B}from"./StatementItem-CKTGWEW_-d6SqxmfH.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-LAHtgcHF-B9uNpNRf.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:m.noTaxLetter})})})})};return t.jsxs(V,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,p=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -11,22 +11,22 @@ import{u as S,X as v,j as t,aW as L,M as z,ai as C,o as r,g as d,bT as M,C as T,
|
|
|
11
11
|
flex-direction: row;
|
|
12
12
|
justify-content: center;
|
|
13
13
|
align-items: flex-end;
|
|
14
|
-
`,
|
|
14
|
+
`,V=o.div`
|
|
15
15
|
display: flex;
|
|
16
16
|
height: 100%;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
width: 100%;
|
|
19
19
|
padding-bottom: ${r.sp7};
|
|
20
|
-
`,
|
|
20
|
+
`,X=o(I)`
|
|
21
21
|
display: flex;
|
|
22
22
|
color: ${e=>e.theme.colors.grey2};
|
|
23
|
-
`,
|
|
23
|
+
`,A=o.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: 100%;
|
|
28
28
|
margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
|
|
29
|
-
`,
|
|
29
|
+
`,H=o(T)`
|
|
30
30
|
scrollbar-width: thin;
|
|
31
31
|
scrollbar-color: transparent transparent;
|
|
32
32
|
&::-webkit-scrollbar {
|