@zeniai/web-cockpit-ui 1.13.85-qa → 1.13.86-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-CRqyoYEz-BOyw7D7v.js → ACHDetailsPage-DGGeHZnW-CRRXdkuL.js} +3 -3
- package/dist/assets/{AIPerformancePage-DAkvkXSA-DR1Rn68p.js → AIPerformancePage-BnFh61HC-DG1jrKEt.js} +24 -24
- package/dist/assets/AccountInfoPage-BoCzcaQW-DXC6zcEv.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BWZbyIYz-BwEofkT3.js → AccountInfoPageContent-C4VpFgc_-DvP6xZz-.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-DLd_igXD-D-07Ys_g.js → AccountReconDetailsDrawerPage-DJmFBJve-DvtbeSb_.js} +18 -18
- package/dist/assets/AccountRow-vtPa0PJn-DyxPucxT.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DIly1lFF-C63cClOI.js → AccountsPromoCardStack-D5elLwcD-DFP5ej-L.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-C90j4Cwr-BT9i1kr2.js → AddAddressForCardDrawer-D9uW1sU2-CyIurqG5.js} +1 -1
- package/dist/assets/{AddToWalletPage-Bo2KesYz-B6pn-wDw.js → AddToWalletPage-D3yOWwc3-Dt5WZtr8.js} +30 -30
- package/dist/assets/{AgingReportsPage-DuoKsSkU-D2pt3N1l.js → AgingReportsPage-DlB02nzb-DT1hA1_s.js} +4 -4
- package/dist/assets/{AllUserItems-C0U1Brjm-DLoP83Sx.js → AllUserItems-Bwbb5_fm-BcHqhbO0.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-dNwAZULr-Dh1nmwAG.js → ApAgingDetailPage-Bhf_ygxm-DDVphjYY.js} +3 -3
- package/dist/assets/{AppBasePage-CfkaWEbJ-Bv3CGV1I.js → AppBasePage-DyGLpjZ0-DttRVXyT.js} +4 -4
- package/dist/assets/{AppDrawerContent-DlHQEgOZ-CDNjVPxb.js → AppDrawerContent-D_dlUPFp-BL5bhrHC.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-Pl7HoLmk-O1hX1O5a.js → ApprovalRulesSettingsPage-DLvGE0ND-DjcwfHKU.js} +6 -6
- package/dist/assets/{ArAgingChart-xI9TRvfS-CYApUAH7.js → ArAgingChart-CR7dx7XY-Cx6fMjBH.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-BMGCnP5d-DgYDd0kk.js → ArAgingDetailPage-kU_SEimL-B5vhsKkP.js} +2 -2
- package/dist/assets/{AttachmentView-C8AgUAnY-D38bw4nL.js → AttachmentView-ClQPirg--D1d3_Uda.js} +8 -8
- package/dist/assets/{BankAccountSection-DB4PEf_X--XKoeQkb.js → BankAccountSection-DLB1oftk-DEn9rP2e.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-BNO8Gl59-C7lGSojx.js → BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-BOreBo5b-5l_djXua.js → BankConnectionsSettingsPage-D1w10U35-B0hA0qGz.js} +22 -22
- package/dist/assets/{BillDetailPage-Bv86SywV-jkHBDmPc.js → BillDetailPage-Bfrn4oa6-D2E_Tt5J.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-CDXxmD-3-tKogNh_O.js → BillPayApprovalRuleDetailPage-DIzv3Xu9-yMWl3cpx.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Ci5Ok7Zj-BRD-ODg8.js → BillPayApprovalRulesPage-CPBknTMQ-BwSnwQg8.js} +3 -3
- package/dist/assets/{BillPayPromoPage-Co2j2krO-B-Hi3v0R.js → BillPayPromoPage-CKETeVet-WnOIT8cc.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-DjpCUZaT-BImJiA0N.js → BillPaySetUpPage-DIz-RZih-CC05m-y7.js} +2 -2
- package/dist/assets/BillingSettingsPage-Bm-IF_p7-8u0bw5ku.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-CVAG78EK-BwPRAmgg.js +1 -0
- package/dist/assets/{BoxItem-BqLhtWoJ-dHjwNV6l.js → BoxItem-B8KF3Skh-TmzJmYZc.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CZGOzc9Z-BxBWKK3p.js → BusinessVerificationPage-Ctqy7ZwA-J8d6V6lT.js} +8 -8
- package/dist/assets/{CardNumberSubText-23sLjCVt-p-FcxRyz.js → CardNumberSubText-CNiPWVeO-OlxmvVJt.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DY0n94jz-B2flhYaR.js → CashbackDetailPage-BNWBGKHa-bIlWYuwv.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-NWTPnGtM-GzsfA6im.js → ChargeCardDetailPage-BuCwlpLH-7rCG_cYb.js} +58 -58
- package/dist/assets/{ChargeCardListPage-D42dfnET-Dw_Gnic_.js → ChargeCardListPage-CXbTalVQ-D381djUW.js} +35 -35
- package/dist/assets/{ChargeCardListTable-B7uRDVzb-PjQ3L9G6.js → ChargeCardListTable-D4-Br785-DpvUrE9e.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-BTfg7L28-D2O1yFJS.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-Ccc8PoCm-DGeNkrzB.js → ChargeCardSetupPage-fy0EpA-m-DvURpcVh.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-JEslDm3r-DZPmPw5i.js → ChargeCardStatementsPage-B_rdiq_Y-BAKafx8N.js} +4 -4
- package/dist/assets/{ChargeCardUtils-B3JEziD7-Dyg77jk5.js → ChargeCardUtils-CtoTn6DQ-C3z4uZjJ.js} +1 -1
- package/dist/assets/{ChaseOverlay-KLet3F9X-D9O--vXG.js → ChaseOverlay-DfjQ73Ie-BOsM74a7.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-yUzhTMSu-DalHOQf6.js +206 -0
- package/dist/assets/{CollapsableReportTable-DshWn4Fc-CJTqtHsL.js → CollapsableReportTable-CHsJ-93l-CZG5w07A.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-DWqEolPc-CtOYg9is.js → CompanyOfficerDetailsSection-BlUCDRW6-r-0kIc8i.js} +26 -26
- package/dist/assets/{CompanyPassportCard-fyolEQTs-HThTUw8Q.js → CompanyPassportCard-DSRRu6RZ-D8WUh8RF.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CrgsRRVr-D-W-kZ0u.js → CompanyPassportPage-DpeoVbLk-CGE5gjRB.js} +140 -140
- package/dist/assets/{CompleteProfile-D_zq0Bxi-DzmMJrCa.js → CompleteProfile-BaTEooSW-C9pQ1jcL.js} +10 -10
- package/dist/assets/ConfettiBurst-C2engbkN-OYjDPreK.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Ct4Kfowi-EJwIqng4.js → CreateOrEditVendorPage-CaIc3Tib-CiLHzKjL.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-Cpu-7pGN-CFUmfUnI.js → CreditCardPaymentDrawerPage-DEFrzmkG-BYyXj2cB.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-DoMaCnIZ-DEDF2Bw6.js → CreditCardPaymentPlgSection-IeRxDnG7-iIog9fs2.js} +10 -10
- package/dist/assets/{CurrencySelectField-CCOtXLC7-WWI_x70H.js → CurrencySelectField-DDiCwLn7-OV5xt8fQ.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Cgzif1ji-KDPEI4Nw.js → CustomerOnboardingActivationPage-976y8y35-B5nrrrGQ.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-BL-GBLoz.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BOMwRZEO-DhpvGzW9.js → CustomerOnboardingDetailPageSkeleton-DYfidx87-rFt8SrGg.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DDloVGvk-DfWdnJkn.js → CustomerOnboardingNoStepsPage-DrLZ3k77-DwEaFPCU.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-BiUXryld-DwfZXjsS.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-BA3GAX42-CH_YxX7C.js → CustomerOnboardingProductSuitePage-CmHltdpN-Cb45Wbg-.js} +4 -4
- package/dist/assets/Dashboard-B1UeMAoF-D-P-pMiu.js +778 -0
- package/dist/assets/{DashboardReportPage-paPVk_v2-rdCWEh1c.js → DashboardReportPage-DULpVd6J-B_d0ak7a.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-BXRfgUfE-Bi5kB8pj.js → DepositAccTransactionItem-BEs_Al_8-DryszVsJ.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage--7TRlqKj-CGLWI77-.js → DepositAccTransactionListPage-CL8Rr3I4-3mitujdt.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-B0Qt1FLC-BPGORTR1.js → DocumentSecurityBanner-BgKXBGg3-gTBQRSLd.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-CVKheLW6-Cp0cNoH9.js +21 -0
- package/dist/assets/{DownloadOverlay-Cl_EXjiu-ayFegofe.js → DownloadOverlay-cne9_fIV-BGdaHI5P.js} +20 -20
- package/dist/assets/{DrawerPage-wXwAaYEB-ckpkQyBr.js → DrawerPage-B0mgBHB5-CQtDXw_Q.js} +8 -8
- package/dist/assets/EditPeoplePage-DgVDgYlm-Cq7SpjxR.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BUpJPJNu-CuY2Ig7F.js → EditReimbursementDetailPage-DWhSkrJ7-DXfnlGXX.js} +74 -74
- package/dist/assets/{EntityDetailPage-BNXqSwVL-2_wdQBQJ.js → EntityDetailPage-wnOA1SH7-aYV-tRku.js} +2 -2
- package/dist/assets/{EntitySummarySection-MZ57i-bY-wyCkXFzg.js → EntitySummarySection-Q_UUVBaU-B-zx_bhC.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-Y3IHs4dG-b03QKzrb.js → ExpenseAutomationOverviewPage-BumrdlGf-BlGx5F5V.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-C0hvPLo7-DWrp_4v0.js → ExpenseAutomationPage-DKjInf-x-DBua7HMI.js} +84 -84
- package/dist/assets/{ExpressPayPage-Bncb54-Q-SeUIlqfm.js → ExpressPayPage-wwfao-Tr-Cll3aRZR.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-BnGBEF9H-BZb3CLM5.js → FeaturePreviewPage-DriDr9id-IfgJ91nt.js} +2 -2
- package/dist/assets/{FollowStepsSection-laCvnETV-BQUar6s-.js → FollowStepsSection-5025urr9-BhQV5Gxg.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-CskEuHc5-Cjbio4XA.js → GlobalReviewListPage-BFjOsp4u-dTOZQfQK.js} +10 -10
- package/dist/assets/HelpButton-CzonsAOi-CLT44ucP.js +28 -0
- package/dist/assets/{InformationCardStack-BFJqdH9n-DFvbLLLn.js → InformationCardStack-DrD-sWV8-D-viV3aR.js} +5 -5
- package/dist/assets/{InsightsCardStack-CcoMWMiA-Cc7jKdY5.js → InsightsCardStack-CFqfiCOY-DSgzQkhY.js} +9 -9
- package/dist/assets/{InsightsSection-D9PiJagu-SWEZg4pL.js → InsightsSection-CN1BVvSr-DiHzw0Zr.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-CVmDobJ8-DDDi0Jh4.js → IntegrationsSettingsPage-BBlKuJxA-Ax55qhbj.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqW88v9N-BZw_syi-.js → InternationalWireSwiftDetailsPage-f4DZUYIx-CPv4IcAC.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-X90z_30k-dNJC2sY7.js → InternationalWireVerificationPage-5WpkXxPC-B_ootlBy.js} +17 -17
- package/dist/assets/{InviteFormPage-BK-PRmeH-C_kHyZpq.js → InviteFormPage-Bw2ykerx-B8sj-JFN.js} +23 -23
- package/dist/assets/{InvitePageListView-6-iCc4BK-Clzv1DBo.js → InvitePageListView-BHp1m02Z-DMdwrgsX.js} +31 -31
- package/dist/assets/InvitePeoplePage-BnlUrpPG-D5Pb0NSX.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D5aF4auL-B3QucxAN.js → InvoiceUploadSection-B8Xsz6dM-CaDnzQOR.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-C_xt7hKZ-BRUTBeLa.js → IssueChargeCardPage-DYrMWSZg-BXFdUqlA.js} +22 -22
- package/dist/assets/{LabeledAddressValue-DpSK0MqC-DVc8X4Rj.js → LabeledAddressValue-kKgzA0is-V3nWJqwH.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-_LY7c-ZC-5iSo6J-J.js → LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-FB40Z8J7-BETZbc8X.js → LabeledControlledCheckBoxField-CKrD5nfN-BLAx8CgU.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-paSeI8_R-CAnP3CMF.js → LabeledCreatableSingleSelectField-B3x1MZJr-CT42c88y.js} +7 -7
- package/dist/assets/LabeledDocumentField-BKPP0tRe-BoY3MkE4.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-NsCaPjuf-BLoARtnk.js +59 -0
- package/dist/assets/{LabeledText-CyXj8QWV-5OBSwFKi.js → LabeledText-BUZXeSSr-BNwrdOLI.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-Dv7itvOd.js → LabeledUserSingleSelectWithSubtitlesField--jmAGQy--CMARKL0a.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-D0cQlbhO-CKi5TGdS.js → LabeledZeniRolesDropDownField-Dt5MOz8L-BzDt2F5s.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-DaXjiQRp-BRavGLje.js → LinkJETransactionPage-DZZORFZw-hfr5eK-6.js} +8 -8
- package/dist/assets/{LowBalancePopup-CdftTvLb-B5AXSsr_.js → LowBalancePopup-BQYkTR6v-Dpy5Y7Om.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-C25i1T4c-cz3f0GSS.js → MagicLinkACHDetailsPage-B2TCqv5k-BD7w19c6.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B0r3WStl-CqjJtubA.js → MagicLinkDomesticWireDetailsPage-D0Fcshtr-WPQ-07p1.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-ev-6xJ-AHa24jnu.js → MagicLinkInternationalWireDetailsPage-BfschSvJ-Dd4Vn3ER.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-7JG3V4Qt-DW5o0jbT.js → MagicLinkSuccessPage-CLkxou_Q-BueLZWGy.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-DEe0hhml-B9tHITem.js → MagicLinkTitleSection-BcnZtmCV-D3vo1-CC.js} +3 -3
- package/dist/assets/{MailingDetailsSection-Qc65E0w3-Cq67NP7Z.js → MailingDetailsSection-B5PAttoo-Ia41UfJq.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Dh8meV6d-CsUXa-J0.js → MeetingCalenderPopup-DM1wkT0M-XWyjGw5S.js} +1 -1
- package/dist/assets/{Menu-DyfXBl_1-CnbVh3BI.js → Menu-teOpHszN-B4_aUeNn.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-CCFcVgyX-DYBcczrm.js → MyBankConnectionsSettingsPage-M74Mv2-V-BHyX40MK.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-DS966wTB-BSQg2TFQ.js → MyPendingActivationChargeCardListPage-jv9dbM48-BfFprZCr.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BRRzMoQL-C-gTgbbX.js → MyProfileSettingsPage-CrhE1vfc-DJYn2Oif.js} +8 -8
- package/dist/assets/{NavBarWithPicker-BvWih0k0-C-lpuG0Q.js → NavBarWithPicker-w36OQzVq-8jrXgC9i.js} +2 -2
- package/dist/assets/{NavigationArrow-DYSL2aDL-Dac2EKy8.js → NavigationArrow-CUVjQXS6-1gU6OEpd.js} +6 -9
- package/dist/assets/{NavigationDots-DyyCcIih-CqG31XCf.js → NavigationDots-Dt6TkUQ7-IyWw7xzb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DjEvzM4M-BNSK64RX.js → NewGlobalMerchantPage-BAq_UQw1-op2GScme.js} +33 -33
- package/dist/assets/NoDataChart-CydgbaO2-w_aLFoRL.js +26 -0
- package/dist/assets/{NoDataTable-CXNsBBVP-D2Te1bWz.js → NoDataTable-Akc9VjuK-D6ZoPHVC.js} +1 -1
- package/dist/assets/{NotFoundPage-CuuO2Mia-C8-O26Vv.js → NotFoundPage-3pCYWZU4-D50jnl0_.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-C7ilxUAV-DnV_ELoj.js → NotificationSettingsPage-BX5y9Bhs-COL29uYH.js} +16 -16
- package/dist/assets/NotificationsListConfig-BrTtuTMy-BDNvMhiy.js +1 -0
- package/dist/assets/{NotificationsPage-BjaKD99B-CUvKfjPk.js → NotificationsPage-tre5LIJg-BF-9mVwv.js} +32 -32
- package/dist/assets/{OpExByVendorPage-IuDiHnIW-BlDS0zS0.js → OpExByVendorPage-Dagfjaza-DDld7cbG.js} +5 -5
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-FBay7pFs.js → OverlayContainerPage-nhe7xtoR-DaSs4sBz.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DLvgYpF8-DxqLd7A_.js → PandLWithForecastPage-B6BwG3ZF-_AvyqFlZ.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DGZrFamS.js → PaymentAccountSetupBillingAddressSection-w6QwL-c4-K3uFRIlc.js} +8 -8
- package/dist/assets/{PeoplePage-DyqY-rIV-BF8pm7Ll.js → PeoplePage-EFDCrYUk-T7-wlZTX.js} +19 -19
- package/dist/assets/{PortfolioAllocationFormPage-DTuKtkwr-BG4VtYhF.js → PortfolioAllocationFormPage-DbGLXM2D-BjP-OUR_.js} +3 -3
- package/dist/assets/{PortfolioDetails-DJFeMG4U-DRLekQB_.js → PortfolioDetails-D2RWl4uo-6RAVkUY_.js} +11 -11
- package/dist/assets/{ProductsCarousel-CS4_yc80-CBit-Mko.js → ProductsCarousel-o-YsHwnV-CGoV5eH1.js} +7 -7
- package/dist/assets/{PromoBaseCards-BZ2m6LfO-Devee57m.js → PromoBaseCards-D21UZaz1-BXsaJgOl.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-2vJQuslh-CZnp93ZN.js → QBOConnectionDialog-DOpuFcsk-C6MlbM5w.js} +6 -6
- package/dist/assets/{QBOSetupSection-Yv3Xw-yn-BJZtDk-1.js → QBOSetupSection-Dcf_Afvz-DJunnSBU.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-tvJ2APRB-CUV7Xc-G.js → ReimbursementApprovalRuleDetailPage-DcDdM_Ss-CbDe9uVe.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-_nXCDa2A-C9-pEbKH.js → ReimbursementApprovalRulesPage-BhdyXjR--DBfuKFGn.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-CtEAsq7u-C73aER4h.js → ReimbursementDetailPage-BSWNsboq-4J24vWsJ.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-BaEX5Ej4-ZDR3rm2j.js → ReimbursementPromoPage-DJTuXxOX-CzJgodWR.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-DXOqEJL4-giukqjO0.js → ReimbursementSetUpPage-DaIc03J9-CjkHrlyV.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HQg1y1K--D5iUnsw9.js → ReimbursementsBulkReviewDrawerPage-BW6yGqNG-BnVlwyav.js} +1 -1
- package/dist/assets/{ReloadCard-stfG9ekP-tZWYlf-X.js → ReloadCard-D3-WJk3W-D2s29SSN.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-_RTCd2td-CH9Qen2G.js → ReportTableViewSelector-ZI_K0-D2-By-m2UD1.js} +7 -7
- package/dist/assets/{ReportsPage-BIzz5Dt_-D1Q_FIJG.js → ReportsPage-DsILNosH-D0tYLjKu.js} +9 -9
- package/dist/assets/{RevenueChart-DeDVVUge-B-qX3axP.js → RevenueChart-CKKeqpBi-UyvcWDiv.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DZqPpiln-Dx1cGbrV.js → ReviewDetailsPage-BTag8Rn9-DTmho_bj.js} +19 -19
- package/dist/assets/{ReviewOverlay-DcBe94Sd-Dvf9-bRZ.js → ReviewOverlay-CmbxFXT5-Bn6N1v3T.js} +14 -14
- package/dist/assets/{RoleWithToolTip-DZO2tooH--n3Ca0Pd.js → RoleWithToolTip-D25NUL6y-DukVAPbK.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cl8iBII0--TTuFPFw.js → ScheduleDetailsFixedAssetsPage-svqtgWEw-BvVYPrVO.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-D6ZxZ2uU-CW4c5WjB.js → ScheduleDetailsPage-ClifB2yP-CiC5Yaiv.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-eRImHbZn-CPGQ3vC3.js → ScheduleSequenceTable-Bzz4WFsb-D7hD25Ij.js} +50 -50
- package/dist/assets/{ScreenRoutes-BOMAdjV3.js → ScreenRoutes-BxQ22zq-.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BBZNI1Xl-eWhde88L.js → SetUpAccountSection-DHHAhE7n-C6ADn3Xk.js} +103 -103
- package/dist/assets/{SetUpDefaultSection--9Qh-utY-BI5o5mIW.js → SetUpDefaultSection-DkoRgSyp-BG63EHcf.js} +16 -16
- package/dist/assets/{SignIn-CI0Ik2va-BODAZJP8.js → SignIn-DSJylxLB-TGzVh-Ox.js} +19 -19
- package/dist/assets/{SignInScreen-DiCimdAv.js → SignInScreen-2ETG_qty.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NWkSnIdD-nax5e-Qq.js → SpendManagementListViewPage-NfjbjBOy-CNnp9KH1.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-CdWwn_b8-DGTjz-D8.js → SpendManagementPerTabPage-CJqqj2pl-vgdrFHgv.js} +47 -47
- package/dist/assets/{SpendManagementSection-DGhD95sz-D9wtCyoV.js → SpendManagementSection-C8jUu71n-DVI61rJT.js} +9 -9
- package/dist/assets/{SpendMgmtSetupAccountSection-DG4ozkeT-C_tGQMWD.js → SpendMgmtSetupAccountSection-CNcWLqIc-Bk6Q5WZ8.js} +14 -14
- package/dist/assets/{StatementItem-BlfBohft-CacjOgZD.js → StatementItem-CV3b0pVj-CWdkAyq6.js} +8 -8
- package/dist/assets/StatementsPage-ly5aBK2M-CeJNv0Uj.js +58 -0
- package/dist/assets/{StatusSwitcher-C6703BAG-DiX_YNpB.js → StatusSwitcher-CxzYEzIO-Dl4oZKu3.js} +4 -4
- package/dist/assets/{SubTabSwitcher-lf9S7Ubj-BbNRnQm4.js → SubTabSwitcher-_XBeoyd8-ky9GU4WA.js} +1 -1
- package/dist/assets/{SummaryCard-yghz4PLR-BaTl5JZP.js → SummaryCard-egXz66_a-CFL2HKlw.js} +1 -1
- package/dist/assets/TaskManagementPage-CQL5Q6wr-B8c2_TIF.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-BoPrOhKX-C7fzpFUc.js → TimeRangeSwitcher-DETvaZov-Jche-37U.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-DufweySH-BPYQJKjS.js → TimeframeSwitcher-DRQZAZ8X-B_V6wn8a.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-CuU7mRU9-lO7EaRwM.js +31 -0
- package/dist/assets/{TopExCard-DrOjlLiv-BFqCltN9.js → TopExCard-CtEulaIf-Brs7tS7N.js} +6 -6
- package/dist/assets/{TopExDetailPage-Ds4zlxKD-D3rgX0xF.js → TopExDetailPage-O4MMssGR-CSX4CqC4.js} +11 -11
- package/dist/assets/{TransactionDetailPage-Csl-Qjxp-ecrNVJsv.js → TransactionDetailPage-CfY8i6QF-Bt2lSSKs.js} +47 -47
- package/dist/assets/{TransactionList-2HeLZVn9-CruTSDil.js → TransactionList-BABUQprb-zMQcRTpf.js} +13 -13
- package/dist/assets/{TransactionListBig-p6iVof9y--08fAwJF.js → TransactionListBig-qJc1PM0U-P62ir1cv.js} +18 -18
- package/dist/assets/{TransactionListPage-tnL66tOu-BU3FmX6i.js → TransactionListPage-DuAk6fJT-Bu8_Pd-_.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-DzkUYyCr-Ce0yEwZl.js → TransactionVendorDetailPage-nHnLQdj7-C3egMB1p.js} +6 -6
- package/dist/assets/{TransferDrawerPage-B9MGSdS9-CiTYk0vi.js → TransferDrawerPage-CkbHu9oQ-Bxv-yJF0.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-BEzBuOWn-520FWVXK.js → TreasuryOverviewPage-D9qxqZOy-ZtRAjO03.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-C8X4X7iN-B9Joxl5R.js → TreasuryPromoPage-Bn_4ae7Q-q8C2bbYn.js} +15 -15
- package/dist/assets/{TreasurySetupPage-Cb_GW75l-BLuBh2kN.js → TreasurySetupPage-CpZDjXwu-BUhJXpTK.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-sOiD2QYm-YS7ms5lR.js → TreasuryStatementsPage-BXDwbrcC-37YEWdU6.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-DYzqfHym-B5Ykio8i.js → TreasuryTaxLetterPage-Cwf-e3Jz-BL-Rfzdl.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-CesaUuNp-D5h1-bi7.js → TreasuryTransferOrReviewPage-BSiDVjnO-CB9llwyL.js} +20 -20
- package/dist/assets/{TrendChart-kwGU0d90-DJx5YTVj.js → TrendChart-Dp3QrDED-8QXEOf_A.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CUlTYGIm-DTg4Mp-P.js → TrendWithTransactions-D8xzYG_f-De6kCbSg.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-D76VPNEd-CU_WfE2_.js → UncategorizedAccountsMappingPage-CteEKVJk-pzEnrChq.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-BsZCe-lq-DjFjTx_N.js → UnitIntegrationPage-BBAq4_81-C7oc8SpE.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-B3tUNhKj-D8M4A5h0.js → UploadAdditionalDocumentOverlay-Drs2Czkg-B7FMUcdL.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Bk-WKgMh-BXO2PrEq.js → Vendor2FAPopup-DKe-eMoF-BYQMXttT.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-u8a3XF33-Dgqikeaw.js → VendorACHDetailsPage-CTeRlLgu-O3tAwPNR.js} +1 -1
- package/dist/assets/{VendorDetailPage-B-RdB79n-3BQeJtFl.js → VendorDetailPage-Cw7Qe1rv-DwV1uxYo.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-Bhb1Dmge-Boz6LLe-.js → VendorDomesticWireDetailsPage-CYkst1D5-CxFVsRJR.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DHRivhBg-w7XOZ0uI.js → VendorFiling1099EditablePage-CXQx0jJQ-Dym5ZEfd.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-Cn2GBsyl--vpeGBWE.js → VendorFirstReviewPage-C1yTYtW6-D8Hy4Plk.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-Cjx1hvUL-CmrfzDq8.js → VendorInternationalWireDetailsPage-CfbGRN9B-DYM9JMPH.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BszRCCDh-BPJeVwlb.js → VendorInternationalWireSwiftDetailsPage-DTxy0byj-B-9bRZPN.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D6VSJUo1-CA-pEbLq.js → VendorsAccountsSection-B_nDMJSn-DKF52Cpa.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DReVGPEj-BAxdAGxT.js → WarningsDrawerPage-Dz3EM7AW-K261X__w.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-CFTB_WYX-TYUlxYM2.js → ZeniAccountDetailPage-C01gqJIN-5uHVG2CB.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-BmYgbIuC-D6Hh2q8q.js → ZeniAccountListViewPage-3DEdKuaM-BOxFOXWV.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-bthmMpbV-dLoPCb9S.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-AfRVTc8V-Bir6gIQQ.js → ZeniAccountPromoPage-ClgIxS0H-CzsHHXnv.js} +10 -10
- package/dist/assets/{ZeniAccountSetupPage-YXJmpz_d-D9Ab9IdN.js → ZeniAccountSetupPage-C-vwyHUJ-Dtwoz0CP.js} +1 -1
- package/dist/assets/{ZeniCopyright-CqpcrgAZ-I-SkGlS5.js → ZeniCopyright-CqFabZnN-CJTGK5CO.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DGkzRyMW-C75Na6ou.js → ZeniTransferAmountSlider-BwHzq-qG-BAnmmq0F.js} +1 -1
- package/dist/assets/analytics-BSSiLa6f.js +7 -0
- package/dist/assets/{analyticsHelper-BQq2FFmn.js → analyticsHelper-CA1CL3Na.js} +1 -1
- package/dist/assets/{analyticsHelper-sgo3pabT-BgFfQOSf.js → analyticsHelper-CvW7m-EV-BpaeVAL0.js} +1 -1
- package/dist/assets/{chartTypes-Dj-_K0Gi-mEh3KBw2.js → chartTypes-0tTBFzPe-DXv2oVtL.js} +1 -1
- package/dist/assets/{commonDimensions-CKgBEMhT-A8tfCxCO.js → commonDimensions-B68wSFi9-M2W23m0D.js} +1 -1
- package/dist/assets/{detailCommon-vtB2ffbe-CA5QwE7k.js → detailCommon-D2RAJL6g-DxVTL_IM.js} +6 -6
- package/dist/assets/{downloadPdf-CiC0AXNH-C1RfGDdO.js → downloadPdf-IPGZ8YB9-DocjrP8U.js} +1 -1
- package/dist/assets/{index-BJ9YQ2PG.js → index-GMJ2nuUF.js} +3324 -3364
- package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-0MIZwF_y-B8QHYU1y.js → mapLoadingInProgressToTreeNode-DhjVTksX-B_UltjeI.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWaIGa37-JiNMuYJO.js → mapSectionWithAcOnlyToTreeNode-DtR1UNND-CApTkkfy.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-1Bdqp9WS-xNXAZC8a.js → mapSpacerToTreeNode-oskKbJKo-DLY0eOf4.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-MPZhFWqo-DU6r59rW.js → mapTimeframeBalancesToTreeNode-BkUJJy_y-CDFowGsv.js} +1 -1
- package/dist/assets/mui-BgvZYSo0.js +22 -0
- package/dist/assets/{play-icon-CF-Mkuir-98sXfI_P.js → play-icon-C_pnFd6Q-CegFata8.js} +1 -1
- package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
- package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-D1BwrImS-DjsYQqtW.js → toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js} +1 -1
- package/dist/assets/{toChartData-DVTo0PPD-F-3VWOVb.js → toChartData-Dh91kb97-BMfM5MG4.js} +1 -1
- package/dist/assets/{treasuryColorHelper-QzSX5YTe-Cuy1aR8q.js → treasuryColorHelper-D9SYrM7P-BaWaAPGH.js} +1 -1
- package/dist/assets/{uploadAttachment-BxwOR3I5-C41XXv1y.js → uploadAttachment-BZTALP74-ypSfSLhV.js} +29 -29
- package/dist/assets/{uploadReceipts-Buvz7DfG-BARgbESN.js → uploadReceipts-BH9fi3Vt-D-CW0ltI.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-6EVpo7mW-ElHlRk7W.js +0 -18
- package/dist/assets/AccountRow-D4iz2vCr-D4oo3rJs.js +0 -298
- package/dist/assets/BillingSettingsPage-CAs7DZQz-DXA3xiXV.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-_aeqHHW3.js +0 -1
- package/dist/assets/ChargeCardPromoPage-CXiXee-8-CGyqb2Oz.js +0 -190
- package/dist/assets/CheckDepositDrawerPage-JYHyo9Hw-DRy8aFIM.js +0 -206
- package/dist/assets/ConfettiBurst-CZuMHGP8-ZppyCJ6x.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-CUgi5vEF.js +0 -1
- package/dist/assets/CustomerOnboardingPage-DHji4ZmF-GtaXVNpu.js +0 -107
- package/dist/assets/Dashboard-Cr5ugENA-CyGF57xT.js +0 -1251
- package/dist/assets/DomesticWireDetailsPage-RoRpMC50-DJdEDgfd.js +0 -21
- package/dist/assets/EditPeoplePage-xDL6VA_r-OmIXflPf.js +0 -55
- package/dist/assets/HelpButton-D5ZYyQMh-BseLBuet.js +0 -28
- package/dist/assets/InvitePeoplePage-C9AwNqIx-B6fBsOYg.js +0 -12
- package/dist/assets/LabeledDocumentField-DiMgPKtR-ebLHKkFT.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-DsjpTL6X-DASClPUP.js +0 -59
- package/dist/assets/NoDataChart-DE6NV823-DEswUAk2.js +0 -26
- package/dist/assets/NotificationsListConfig-TBQMobJ5-qBR1Ircr.js +0 -1
- package/dist/assets/StatementsPage-CUpjL5u7-IsFwOPwt.js +0 -58
- package/dist/assets/TaskManagementPage-Cf523C5f-CbUDqHnB.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-DKc91Lnx.js +0 -31
- package/dist/assets/ZeniAccountNavBarPieces-gzy5T7nu-CI0fy98a.js +0 -14
- package/dist/assets/analytics-DThoELaW.js +0 -7
- package/dist/assets/mui-C5LQ0bMa.js +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,
|
|
1
|
+
import{j as o,I as M,u as T,X as v,Y as A,aW as re,M as c,K as ie,d as ae,C as D,q as ce,o as s,J as le,ab as de,c0 as ge,c1 as pe,aS as me,p as b,l as H,a_ as he,c2 as ue,a9 as fe,aa as xe,av as we}from"./index-GMJ2nuUF.js";import{n as r,b as F}from"./vendor-CnQcJ2Lu.js";import{H as Se}from"./NavBarWithPicker-w36OQzVq-8jrXgC9i.js";import{m as je}from"./analyticsHelper-CvW7m-EV-BpaeVAL0.js";import{P as $e}from"./TimeframeSwitcherWithToggle-CuU7mRU9-lO7EaRwM.js";import{a as Pe,W as be}from"./CollapsableReportTable-CHsJ-93l-CZG5w07A.js";import{M as E}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import{T as Ce,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-DtR1UNND-CApTkkfy.js";import{s as q}from"./mapTimeframeBalancesToTreeNode-BkUJJy_y-CDFowGsv.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-DRQZAZ8X-B_V6wn8a.js";import"./AccountRow-vtPa0PJn-DyxPucxT.js";const G="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",K="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ze=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -23,11 +23,11 @@ import{j as o,D as M,u as T,X as v,Y as A,aW as re,M as c,K as ie,d as ae,C as D
|
|
|
23
23
|
align-items: center;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
margin-bottom: ${e=>e.windowSize==="small"?s.sp3:s.sp4};
|
|
26
|
-
`,Ie=r.div``,
|
|
26
|
+
`,Ie=r.div``,J=r.div`
|
|
27
27
|
width: ${e=>e.windowSize==="small"?"auto":"408px"};
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
|
-
`,
|
|
30
|
+
`,Z=r.div`
|
|
31
31
|
width: ${e=>e.windowSize==="small"?"100%":"calc(100% - 408px)"};
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
max-width: 712px;
|
|
@@ -39,7 +39,7 @@ import{j as o,D as M,u as T,X as v,Y as A,aW as re,M as c,K as ie,d as ae,C as D
|
|
|
39
39
|
border-radius: 12px;
|
|
40
40
|
border: ${e=>`1px solid ${e.theme.colors.grey5}`};
|
|
41
41
|
padding: 15px;
|
|
42
|
-
`,
|
|
42
|
+
`,C=r.div`
|
|
43
43
|
border-radius: ${s.sp12};
|
|
44
44
|
border: ${e=>`1px solid ${e.theme.colors.grey2}`};
|
|
45
45
|
padding: ${e=>e.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
|
|
@@ -70,7 +70,7 @@ import{j as o,D as M,u as T,X as v,Y as A,aW as re,M as c,K as ie,d as ae,C as D
|
|
|
70
70
|
margin: ${s.sp3} auto;
|
|
71
71
|
max-width: 422px;
|
|
72
72
|
color: ${e=>e.theme.colors.hero};
|
|
73
|
-
`,Ae=()=>{const e=T(),t=v();return o.jsxs(X,{windowSize:t,children:[o.jsx(
|
|
73
|
+
`,Ae=()=>{const e=T(),t=v();return o.jsxs(X,{windowSize:t,children:[o.jsx(Z,{windowSize:t,children:o.jsx(Q,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:K,alt:"forecast-promo",style:{width:"100%",height:"auto"}}):o.jsx("img",{src:G,alt:"forecast-promo",style:{width:"100%",height:"auto"}})})}),o.jsxs(J,{windowSize:t,children:[o.jsxs(C,{windowSize:t,children:[o.jsx(k,{children:o.jsx(ee,{})}),o.jsxs(y,{children:[o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(C,{windowSize:t,children:[o.jsx(k,{children:o.jsx(oe,{})}),o.jsxs(y,{children:[o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(C,{windowSize:t,children:[o.jsx(k,{children:o.jsx(te,{})}),o.jsxs(y,{children:[o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})]})},Fe=()=>{const e=T(),t=v();return o.jsxs(X,{windowSize:t,children:[o.jsxs(J,{windowSize:t,children:[o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(k,{children:o.jsx(ee,{})}),o.jsxs(y,{children:[o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(N,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(C,{windowSize:t,style:{width:"275px",alignSelf:"end"},children:[o.jsx(k,{children:o.jsx(oe,{})}),o.jsxs(y,{children:[o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(N,{children:c.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(k,{children:o.jsx(te,{})}),o.jsxs(y,{children:[o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(N,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]}),o.jsx(Z,{windowSize:t,children:o.jsx(Q,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:K,alt:"forecast-promo",style:{width:"640px",height:"402px"}}):o.jsx("img",{src:G,alt:"forecast-promo",style:{width:"640px",height:"402px"}})})})]})},Ne=({meetingUrl:e,onBackClick:t,onClickMenuIcon:n})=>{const a=T(),l=v(),d=()=>{window.open(e.toString(),"_blank")};return o.jsxs(ze,{"data-testid":A("forecast-promo-page"),children:[o.jsx(re,{title:c.getLocalizedStrings().forecastPromoPage.title,backgroundColor:a.colors.grey4,onBackClick:t,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:n,source:"ForecastPromoPage"}),o.jsxs(ve,{"data-testid":A("forecast-promo-container"),windowSize:l,children:[l==="small"?o.jsx(Te,{children:c.getLocalizedStrings().forecastPromoPage.promoText}):o.jsx(Le,{children:c.getLocalizedStrings().forecastPromoPage.promoText}),l==="small"?o.jsx(Ae,{}):o.jsx(Fe,{}),o.jsxs(Ie,{"data-testid":A("forecast-promo-bottom-container"),children:[o.jsx(ie,{variant:"primary",label:c.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:d}),o.jsx(Me,{children:c.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})]})};function Oe(e,t,n=!0){const a=c.getLocalizedStrings().reports,l=e.filter.balancesRange.numberOfPeriods,d=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?e.sections.expenses.balances:e.sections.income!=null?e.sections.income.balances:[],m=q({balances:d,config:t}),p=[];return p.push(m),e.idsInOrder.forEach(i=>{if(H.isPandLReportViewSectionID(i)===!0){const f=e.sections[i];if(f==null)return;f.accountGroups.length>0?p.push(Ce({section:e.sections[i],sectionType:i,numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t})):p.push(ke({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t}))}else H.isPandLReportViewCalculatedSectionID(i)===!0&&p.push(ye({calculatedSection:e.calculatedSections[i],numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t}))}),{config:t,headerNodes:n?[m]:[],contentNodes:p}}function _e(e,t,n,a=!0){Object.assign(e.config,t);const l=n.sections.expenses.balances.length>0?[...n.sections.expenses.balances,...n.sections.expenses.additionalBalances]:[...n.sections.income.balances,...n.sections.income.additionalBalances],d=q({balances:l,config:t,nodeId:e.contentNodes[0].id}),m=e.contentNodes.slice(1);return m.forEach(p=>se(p,t)),{config:t,headerNodes:a?[d]:[],contentNodes:[d,...m]}}function se(e,t){Object.assign(e.reportElementData.config,t),e.children.forEach(n=>se(n,t))}const L={contentPaddingLeft:new D(b[3],b[3],b[8]),contentPaddingRight:new D(b[3],b[3],b[8])},Be=r.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex: 1 1 auto;
|
|
76
76
|
min-height: 100%;
|
|
@@ -92,7 +92,7 @@ import{j as o,D as M,u as T,X as v,Y as A,aW as re,M as c,K as ie,d as ae,C as D
|
|
|
92
92
|
justify-content: center;
|
|
93
93
|
align-items: center;
|
|
94
94
|
background-color: ${e=>e.theme.colors.grey4};
|
|
95
|
-
`,
|
|
95
|
+
`,U=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?o.jsx(Ve,{children:o.jsx(ae,{size:"ExtraLarge",start:!0})}):null,Re=r.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
width: 100%;
|
|
98
98
|
flex-direction: column;
|
|
@@ -104,4 +104,4 @@ import{j as o,D as M,u as T,X as v,Y as A,aW as re,M as c,K as ie,d as ae,C as D
|
|
|
104
104
|
align-items: center;
|
|
105
105
|
justify-content: center;
|
|
106
106
|
margin-bottom: ${s.sp3};
|
|
107
|
-
`,De=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:m,onBackClick:p,isPandLReportFetching:i,onClickMenuIcon:f})=>{const h=v(),u=[];for(let g=0;g<e.length;++g)u.push(`${g}`);const x={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:u,valueToLabel:g=>e[parseInt(g)]?.name??"",selectedValue:`${t}`,titleTextStyle:ce.largeMedium,onPickerSelectionChanged:g=>{if(g!=null){const z=e[parseInt(g)];n?.(z.id,parseInt(g))}},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:i},onBackClick:p,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:f},$={toggle:{label:c.getLocalizedStrings().reports.forecast.vsActual,isOn:a,onValueChanged:l},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:d,onTimeframeSelectionChanged:g=>m?.(g)}};return o.jsxs(Re,{paddingLeft:L.contentPaddingLeft.value(h),paddingRight:L.contentPaddingRight.value(h),children:[o.jsx(Se,{...x}),i?"":o.jsx(We,{children:o.jsx($e,{...$})})]})},
|
|
107
|
+
`,De=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:m,onBackClick:p,isPandLReportFetching:i,onClickMenuIcon:f})=>{const h=v(),u=[];for(let g=0;g<e.length;++g)u.push(`${g}`);const x={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:u,valueToLabel:g=>e[parseInt(g)]?.name??"",selectedValue:`${t}`,titleTextStyle:ce.largeMedium,onPickerSelectionChanged:g=>{if(g!=null){const z=e[parseInt(g)];n?.(z.id,parseInt(g))}},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:i},onBackClick:p,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:f},$={toggle:{label:c.getLocalizedStrings().reports.forecast.vsActual,isOn:a,onValueChanged:l},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:d,onTimeframeSelectionChanged:g=>m?.(g)}};return o.jsxs(Re,{paddingLeft:L.contentPaddingLeft.value(h),paddingRight:L.contentPaddingRight.value(h),children:[o.jsx(Se,{...x}),i?"":o.jsx(We,{children:o.jsx($e,{...$})})]})},He=({report:e,type:t,isActualVsForecastOn:n,compareMode:a,onAccountBalanceClick:l,onCompareModeChanged:d,scrollPosition:m,onTableScroll:p,nodeOpenStatus:i,onNodeCollapseToggled:f})=>{const h=T(),u=v(),[x,$]=F.useState(void 0),[g,z]=F.useState(void 0),P=!(u==="small"||u==="medium-compact"),I=n===!0?"actual_vs_forecast":"none";return F.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:I,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:be(t)===!0&&n===!1?"filter_forecast_nil_balances":"filter_actual_forecast_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:he()};if(x==null||!le(g,e)){const w=Oe(e,S,P);z(e),$(w)}else{const w=_e(x,S,e,P);$(w)}},[t,n,e]),x!=null?o.jsx(Pe,{backgroundColor:new de(h.colors.grey4),rootNodes:x,type:t,compareMode:a,isSticky:{isStickyHeader:P,isStickyName:P},treeNodePadding:{left:L.contentPaddingLeft.value(u),right:L.contentPaddingRight.value(u)},onAccountClick:l==null?void 0:(S,w)=>{l(S,w)},onCompareModeChanged:d,scrollPosition:m,onScroll:p,nodeOpenStatus:i,onNodeCollapseToggled:f}):null};function po({selectedTimeframe:e,isForecastVsActualOn:t,compareMode:n,forecastList:a,selectedForecast:l,pandLreport:d,type:m,meetingUrl:p,analytics:i,onForecastSelectionChanged:f,onTimeframeChanged:h,onForecastVsActualsCompareToggle:u,onAccountBalanceClick:x,onCompareModeChanged:$,scrollPosition:g,onTableScroll:z,nodeOpenStatus:P,onNodeCollapseToggled:I,onBackClick:S,onClickMenuIcon:w}){const V=[a.fetchState,d.fetchState],R=l?.index??-1;return ne(V)===!0||a.fetchState==="Completed"&&a.forecasts.length===0?o.jsx(Ne,{meetingUrl:p,onBackClick:S,onClickMenuIcon:w}):Y([a.fetchState])===!0?o.jsx(U,{fetchState:Ye(V)}):o.jsxs(Be,{children:[o.jsx(De,{forecastList:a.forecasts,selectedForecastIndex:R,onForecastSelectionChanged:(j,W)=>{i?.trackForecastSwitch(M.Event.profitAndLossWithForecast,a.forecasts[W].name),f?.(j,W)},vsActualOn:t,onVsActualChanged:j=>{i?.trackForecastVsActualMode(M.Event.profitAndLossWithForecast,a.forecasts[R].name,j),u?.(j)},selectedTimeframe:e,onTimeframeChanged:j=>{i?.trackTimeframeSwitch(je(j),M.Event.profitAndLossWithForecast),h?.(j)},onBackClick:S,isPandLReportFetching:Y([d.fetchState]),onClickMenuIcon:w}),d.fetchState==="In-Progress"?o.jsx(U,{fetchState:"In-Progress"}):o.jsx(Ee,{children:o.jsx(He,{report:d,type:m,isActualVsForecastOn:t,compareMode:n,onAccountBalanceClick:x,onCompareModeChanged:$,scrollPosition:g,onTableScroll:z,nodeOpenStatus:P,onNodeCollapseToggled:I})})]})}const Ue=e=>e.reduce((t,n)=>t===!0&&n==="Completed",!0),ne=e=>e.reduce((t,n)=>t===!0||n==="Error",!1),Y=e=>e.reduce((t,n)=>t===!0||n==="Not-Started"||n==="In-Progress",!1),Ye=e=>Ue(e)===!0?"Completed":ne(e)===!0?"Error":"In-Progress";export{po as default,Y as isAnyInProgress};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{eP as Q,M as K,h5 as de,a5 as le,q as V,o as a,g as z,X as N,j as t,bB as pe,h6 as me,u as re,cg as ge,ab as F,C as W,aQ as he,eZ as ue,s as ie,h7 as fe,h8 as Se,h9 as q,ha as G,hb as X,a7 as ye,i as Y,p as xe,gi as be,f as Ce,Q as we}from"./index-GMJ2nuUF.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{z as ve}from"./SetUpAccountSection-DHHAhE7n-C6ADn3Xk.js";const Pe={containerHeight:new W(656,720)},$e=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 20px;
|
|
@@ -81,26 +81,26 @@ import{eM as Q,M as N,h2 as de,a1 as le,v as O,o as a,g as z,X as Z,j as t,bz as
|
|
|
81
81
|
color: ${z.important};
|
|
82
82
|
width: 434px;
|
|
83
83
|
text-align: center;
|
|
84
|
-
`,{cardPayment:c,common:{footer:te}}=
|
|
84
|
+
`,{cardPayment:c,common:{footer:te}}=K.getLocalizedStrings(),De=o(Ce)`
|
|
85
85
|
color: ${e=>e.theme.colors.hero};
|
|
86
86
|
text-align: center;
|
|
87
87
|
margin-top: ${a.sp2};
|
|
88
|
-
`,ae=e=>`${e}_form`,se="CardPaymentPaymentForm",
|
|
88
|
+
`,ae=e=>`${e}_form`,se="CardPaymentPaymentForm",Me=({cardPaymentView:e,clientSecret:r,cardSetupInProgress:m,handleConfirmCardSetupIntent:i,updateCardPaymentModalState:y,handleAddCardPaymentSource:d,setCardSetupInProgress:g})=>{const x=fe(),n=Se(),[l,h]=p.useState(!1),[P,$]=p.useState(!1),[b,C]=p.useState(!1),[u,w]=p.useState(!1),j=N(),_=e.cardSetupConfirmStatus.fetchState,T=e.addCardPaymentSourceStatus.fetchState,D=e.cardSetupIntentStatus.fetchState,[I,f]=p.useState(!1),H=async S=>{if(S.preventDefault(),!x||!n)return;const v=n.getElement(q),E=n.getElement(G),A=n.getElement(X);(!v||!E||!A)&&f(!0),w(!0),g(!0),v!=null&&E!=null&&A!=null&&x.confirmCardSetup(r,{payment_method:{card:v}}).then(L=>{w(!1),i(L),L.setupIntent?.id!=null&&d("card","payment_intent",L.setupIntent?.id)}).catch(()=>{w(!1),setTimeout(()=>{g(!1)},2e3)})},R=re(),U={showIcon:!0,style:{base:{...V.standardRegular.cssObject,color:R.colors.primary,"::placeholder":{color:R.colors.grey2}},invalid:{color:z.important,iconColor:z.important}}},M=_==="In-Progress"||T==="In-Progress"||D==="In-Progress"||u===!0||m===!0,O=l||P||b||_==="In-Progress"||T==="In-Progress"||D==="In-Progress"||u===!0||m===!0;return t.jsx(Ie,{windowSize:j,children:t.jsxs(je,{onSubmit:H,id:ae(se),children:[t.jsxs(Ee,{children:[t.jsx(Ae,{children:t.jsx(ke,{children:t.jsx(q,{options:U,onChange:S=>h(!!S.error)})})}),t.jsx(_e,{children:t.jsxs(Re,{children:[t.jsx(ee,{children:c.cardNumber}),t.jsx(G,{options:U,onChange:S=>$(!!S.error)})]})}),t.jsx(Te,{children:t.jsxs(Ue,{children:[t.jsx(ee,{children:c.CVC}),t.jsx(X,{options:U,onChange:S=>C(!!S.error)})]})})]}),e.cardSetupConfirmStatus.error||I?t.jsx(ne,{children:c.errorMsg}):null,t.jsx(ye,{style:{width:"100%",padding:`${a.sp3} 0 0 0`,borderTop:"none",position:"inherit"},formId:ae(se),primaryBtn:{label:te.linkCard,style:{width:"104px",height:a.sp6},isLoading:M,isDisabled:O,type:"submit"},cancelBtn:{label:te.cancel,style:{width:"104px",height:a.sp6},onClick:()=>{y(!1)}}}),t.jsxs(De,{windowSize:j,children:[c.terms.term1,t.jsx(Y,{href:c.terms.term2Link,linkText:c.terms.term2}),c.terms.term3,t.jsx(Y,{href:c.terms.term4Link,linkText:c.terms.term4})]})]})})},qe=({isCardPaymentOpen:e,cardPaymentView:r,stripeKey:m,cardSetupInProgress:i,handleConfirmCardSetupIntent:y,updateCardPaymentModalState:d,handleCreateCardSetupIntent:g,handleAddCardPaymentSource:x,handleResetCardPaymentErrorStatuses:n,setCardSetupInProgress:l})=>{const[h,P]=p.useState(""),$=de(m),b=le(r.addCardPaymentSourceStatus.fetchState),C=r.addCardPaymentSourceStatus.fetchState;p.useEffect(()=>(g(["card"]),()=>{d(!1),P(""),n()}),[]),p.useEffect(()=>{n()},[e]),p.useEffect(()=>{b==="In-Progress"&&C==="Error"?(l(!1),setTimeout(()=>{d(!1)},2e3)):b==="In-Progress"&&C==="Completed"&&(g(["card"]),setTimeout(()=>{d(!1),l(!1)},2e3))},[b,C]),p.useEffect(()=>{(r.cardSetupConfirmStatus.error||r.addCardPaymentSourceStatus.error)&&(g(["card"]),setTimeout(()=>{l(!1)},2e3))},[r.cardSetupConfirmStatus.error,r.addCardPaymentSourceStatus.error]),p.useEffect(()=>{r.clientSecret!=null&&P(r.clientSecret)},[r.clientSecret]);const u={theme:"stripe",variables:{borderRadius:a.sp1,fontSizeBase:V.standardRegular.fontSize,fontFamily:V.standardRegular.fontFamily},rules:{".Input":{border:`1px solid ${z.neutralGrey3Light}`,borderRadius:a.sp1,padding:"10px",fontSize:V.standardRegular.fontSize}}},w={clientSecret:h,appearance:u},j=N();return t.jsx(pe,{open:e,children:t.jsxs($e,{windowSize:j,isError:!!r.cardSetupConfirmStatus.error,children:[t.jsx(Le,{children:c.title}),t.jsx(ze,{children:c.subtitle}),h&&$!=null?t.jsx(me,{options:w,stripe:$,children:t.jsx(Me,{clientSecret:h,handleConfirmCardSetupIntent:y,updateCardPaymentModalState:d,handleAddCardPaymentSource:x,cardPaymentView:r,cardSetupInProgress:i,setCardSetupInProgress:l})}):t.jsx(ne,{children:c.errorMsg})]})})},{cardBrands:s}=K.getLocalizedStrings().cardPayment,J={visa:{name:s.visa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/visa.svg"},mastercard:{name:s.mastercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/mastercard.svg"},american_express:{name:s.american_express,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/amex.svg"},discover:{name:s.discover,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/discover-global.svg"},jcb:{name:s.jcb,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/jcb-card.svg"},diners_club:{name:s.diners_club,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dinersclub.svg"},unionpay:{name:s.unionpay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},rupay:{name:s.rupay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rupay-card.svg"},bancontact:{name:s.bancontact,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cmr_falabella:{name:s.cmr_falabella,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},tarjeta_naranja:{name:s.tarjeta_naranja,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},nativa:{name:s.nativa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cencosud:{name:s.cencosud,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cabal:{name:s.cabal,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},argencard:{name:s.argencard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},elo:{name:s.elo,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/elo-card.svg"},hipercard:{name:s.hipercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/hipercard.svg"},carnet:{name:s.carnet,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/carnet.svg"},maestro:{name:s.maestro,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/maestro.svg"},not_applicable:{name:s.not_applicable,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},eftpos_australia:{name:s.eftpos_australia,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},girocard:{name:s.girocard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},other:{name:s.other,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},unknown:{name:s.unknown,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}},k={sectionWidth:new W(343,580,726),iconWidthHeight:new W(20,xe[4])},Be={title:new we("standardSemiBold","largeSemiBold")},oe=e=>e?J[e]??{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}:{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},Ve=(e,r,m,i)=>({header:e,title:`${Q(J[i.cardsList[0]?.brand]?.name??"")} ${r}`,subtitle:`${Q(J[i.cardsList[0]?.brand]?.name??"")} ${m} ${i.cardsList[0]?.last4}`,status:i.cardsList[0]?.status}),He=o.img`
|
|
89
89
|
width: ${e=>e.width}px;
|
|
90
90
|
height: ${e=>e.height}px;
|
|
91
|
-
`,Ge=({paymentAccount:e,plaidConnectionDetails:r,connectedAccountProvider:m,sectionId:i,isDisabled:y,hasError:d=!1,isValid:g,style:x,analytics:n,onFetchLinkTokenClick:l,onEstablishConnectionClick:h,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:$,onEstablishConnectionSuccess:b,updateCardPaymentModalState:C,cardPaymentView:u,resetCardPaymentViewState:w,cardSetupInProgress:j=!1,googleAPIKey:_,subscriptionBillingAddress:T,subscriptionBillingAddressSectionId:
|
|
91
|
+
`,Ge=({paymentAccount:e,plaidConnectionDetails:r,connectedAccountProvider:m,sectionId:i,isDisabled:y,hasError:d=!1,isValid:g,style:x,analytics:n,onFetchLinkTokenClick:l,onEstablishConnectionClick:h,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:$,onEstablishConnectionSuccess:b,updateCardPaymentModalState:C,cardPaymentView:u,resetCardPaymentViewState:w,cardSetupInProgress:j=!1,googleAPIKey:_,subscriptionBillingAddress:T,subscriptionBillingAddressSectionId:D})=>{const I=re(),f=N(),{register:H}=ge(),R=I.mode==="light"?new F(I.colors.brandColorJadeLight):new F(I.colors.brandColorJadeDark),{common:U,customerOnboardingPage:{sections:{link_payment_account:{title:M,text:O,subText:S},card_payment_method:v}}}=K.getLocalizedStrings(),E=u.cardsList.length>0,A=u.cardsList[0]?.brand??"other",L=u.addCardPaymentSourceStatus.fetchState,B=Ve(v.header,v.titleText,v.protectedCardNo,u);let Z;return E&&(Z={header:B.header,title:B.title,subtitle:B.subtitle,status:B.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:E===!0,icon:{element:t.jsx(He,{src:oe(A).iconURL,width:k.iconWidthHeight.valuePx(f),height:k.iconWidthHeight.valuePx(f),alt:oe(A).name,loading:"lazy"}),color:new F(R)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1}),t.jsxs(Fe,{windowSize:f,children:[t.jsx(We,{type:"hidden",...H(`${i}.connected`,{validate:ce=>d?ce==="true":!0}),value:g?"true":"false"}),t.jsx(ve,{connectedAccountProvider:m,paymentAccount:e,plaidConnectionDetails:r,allBankAccounts:[],header:M,sectionTitle:M,defaultSectionTitle:O,defaultSectionSubTitle:S,sectionId:i,isDisabled:y,hasError:d,showZeniAccountSection:!1,isCompleted:e?.providerVerificationStatus?.code?.includes("verified")===!0&&e?.isLoginRequired===!1,showCompletedIcon:f==="small",onFetchLinkTokenClick:l,onEstablishConnectionClick:h,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:$,onEstablishConnectionSuccess:b,style:x,icon:{element:t.jsx(he,{width:k.iconWidthHeight.valuePx(f),height:k.iconWidthHeight.valuePx(f)}),color:R},analytics:n,productType:"onboarding",resetCardPaymentViewState:w,cardPaymentSectionValues:Z,cardPaymentView:u,updateCardPaymentModalState:C,referrer:"Onboarding",cardSetupInProgress:j}),Oe(f,U.headers.billingAddress,D,n,T,_,y)]})},Oe=(e,r,m,i,y,d,g)=>{const x={"Add street address":"street_address","Add suite":"suite","Add city":"city","Add state":"state","Select country":"country","Add ZIP code":"zip_code","Add secondary info":"secondary_info"};return t.jsxs(Ke,{children:[t.jsx(Je,{windowSize:e,isDisabled:g==="disabled",children:r}),t.jsx(be,{googleAPIKey:d??"",addressToEdit:y,sectionId:`${m}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"},onFormFieldClick:n=>{if(n.target instanceof HTMLInputElement){const{placeholder:l}=n.target;if(l){const h=x[l];h&&i.trackOnboardingBillingAddress(h)}}}})]})},Fe=o.div`
|
|
92
92
|
display: flex;
|
|
93
93
|
flex-direction: column;
|
|
94
94
|
width: ${e=>k.sectionWidth.valuePx(e.windowSize)};
|
|
95
95
|
padding-bottom: ${a.sp3};
|
|
96
|
-
`,
|
|
96
|
+
`,We=o.input`
|
|
97
97
|
display: none;
|
|
98
|
-
`,
|
|
98
|
+
`,Je=o.div`
|
|
99
99
|
${e=>`${Be.title.style(e.windowSize)}`};
|
|
100
100
|
margin-bottom: ${a.sp3};
|
|
101
101
|
margin-top: ${a.sp3};
|
|
102
102
|
color: ${e=>e.isError===!0?z.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
103
|
-
`,
|
|
103
|
+
`,Ke=o.div`
|
|
104
104
|
margin-top: ${a.sp5};
|
|
105
105
|
margin-bottom: ${a.sp4};
|
|
106
|
-
`;export{
|
|
106
|
+
`;export{Ve as M,qe as e,oe as r,Ge as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as
|
|
1
|
+
import{u as $e,X as I,M as y,j as t,Y as a,aW as le,bg as Ne,o as s,bJ as De,bK as Oe,d as U,a9 as G,bL as we,K as Le,q as be,bM as _e,a5 as Ae,bN as Ve,bO as Me,bP as We,bQ as Be,ao as He,J as H,bR as Ke,C as $,bS as Ue,bT as je,p as b,l as A,bU as ee,bV as N,a as Ee,F as Fe,bW as Ze,bX as qe,U as Xe,v as D,bY as Je,s as O,f as te,g as V,bZ as Qe,ah as Se,av as ie,b_ as ke,be as Ye,b$ as Ge}from"./index-GMJ2nuUF.js";import{f as ce,b as v,n as i}from"./vendor-CnQcJ2Lu.js";import{R as Ie}from"./Menu-teOpHszN-B4_aUeNn.js";import{T as Re}from"./RoleWithToolTip-D25NUL6y-DukVAPbK.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],K=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Xe(d==="off"?S:K));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Je,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
@@ -46,7 +46,7 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
46
46
|
&:hover {
|
|
47
47
|
color: ${e=>e.theme.colors.primary};
|
|
48
48
|
}
|
|
49
|
-
`,dt=58;function ct({sortConfig:e,onColumnSortConfigChanged:r,mode:l}){const d=y.getLocalizedStrings().peoplePage,m=
|
|
49
|
+
`,dt=58;function ct({sortConfig:e,onColumnSortConfigChanged:r,mode:l}){const d=y.getLocalizedStrings().peoplePage,m=Ee({mode:"all"}),p=v.useMemo(()=>l==="zeni_only"?K:S,[l]),x=v.useMemo(()=>p.map(o=>({label:o.value,value:o.key})),[p]),h=p.find(o=>o.key===e.sortKey);h!=null&&(h.sortOrder=e.sortOrder);const n=(o,u)=>{let w=u;e.sortKey===o&&(w=u==="ascending"?"descending":"ascending"),r?.(o,w)};return v.useEffect(()=>{const o=m.watch((u,{name:w})=>{if(w!=null&&u!=null){const{people_sort_by:f}=u;r?.(f.selectedOption.value,"ascending")}});return()=>{o.unsubscribe()}}),t.jsxs(mt,{height:dt,"data-testid":a("people-list-header-row-small"),children:[t.jsx(ut,{children:t.jsx(Fe,{...m,children:t.jsx("form",{children:t.jsx(Ze,{defaultValue:{allOptions:x,selectedOption:x.find(o=>o.value===e.sortKey)},placeholder:`${d.sortBy}:`,style:{width:"200px"},isSearchable:!1,isOptionsSortable:!1,constantSelectedValue:`${d.sortBy}:`,name:"people_sort_by"})})})}),t.jsxs(xt,{"data-testid":a("people-list-header",e.sortKey),onClick:()=>n(e.sortKey,e.sortOrder),children:[t.jsx(gt,{children:h?.value}),t.jsx(ht,{sortDataValue:e.sortKey,headerdata:h,children:t.jsx(qe,{width:s.sp3,height:s.sp3})})]})]})}const pt=ce.memo(ct),ht=i.div`
|
|
50
50
|
display: flex;
|
|
51
51
|
align-items: center;
|
|
52
52
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
@@ -81,7 +81,7 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
81
81
|
justify-content: flex-start;
|
|
82
82
|
.single-select-field__single-value {
|
|
83
83
|
color: ${e=>e.theme.colors.hero};
|
|
84
|
-
${
|
|
84
|
+
${be.smallRegular.css};
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -103,7 +103,7 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
103
103
|
}
|
|
104
104
|
`,gt=i(D)`
|
|
105
105
|
color: ${e=>e.theme.colors.hero};
|
|
106
|
-
`,{peoplePage:T}=y.getLocalizedStrings(),wt=({peopleData:e,userNameSticky:r,allClasses:l,allManagers:d,onResendInvite:m,onDeleteUser:p,onRowClick:x})=>{const[h,n]=v.useState(!1),o=I(),u=vt(e,d,l),w=e.userRole.userRoles.filter(g=>!A.hasZeniRoleOrCompanyOfficerAccess(g)),f=()=>{p?.(e)},j=()=>{x?.(e.userId)};return t.jsxs(ft,{windowSize:o,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:j,"data-testid":a("people-list-row",e.userId),children:[t.jsx(yt,{wrapperWidth:S[0].width,windowSize:o,userNameSticky:r,children:t.jsxs(
|
|
106
|
+
`,{peoplePage:T}=y.getLocalizedStrings(),wt=({peopleData:e,userNameSticky:r,allClasses:l,allManagers:d,onResendInvite:m,onDeleteUser:p,onRowClick:x})=>{const[h,n]=v.useState(!1),o=I(),u=vt(e,d,l),w=e.userRole.userRoles.filter(g=>!A.hasZeniRoleOrCompanyOfficerAccess(g)),f=()=>{p?.(e)},j=()=>{x?.(e.userId)};return t.jsxs(ft,{windowSize:o,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:j,"data-testid":a("people-list-row",e.userId),children:[t.jsx(yt,{wrapperWidth:S[0].width,windowSize:o,userNameSticky:r,children:t.jsxs(bt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(jt,{children:[e.user?.firstName?t.jsxs(St,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(It,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(kt,{wrapperWidth:S[1].width,windowSize:o,children:t.jsx(Re,{roles:w})}),t.jsxs(t.Fragment,{children:[A.hasInvestorBankerLevelAccess(e.userRole.userRoles)?t.jsx(q,{wrapperWidth:S[2].width,windowSize:o,children:t.jsx(_,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.manager?t.jsx(ve,{wrapperWidth:S[2].width,windowSize:o,children:t.jsx(_,{children:u.manager})}):t.jsx(q,{wrapperWidth:S[2].width,windowSize:o,children:t.jsx(_,{children:T.noManager})})}),A.hasInvestorBankerLevelAccess(e.userRole.userRoles)?t.jsx(q,{wrapperWidth:S[3].width,windowSize:o,children:t.jsx(_,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.department?t.jsx(ve,{wrapperWidth:S[3].width,windowSize:o,children:t.jsx(_,{children:u.department})}):t.jsx(q,{wrapperWidth:S[3].width,windowSize:o,children:t.jsx(_,{children:T.emptyDepartmentPlaceholderText})})})]}),t.jsxs(Rt,{"data-testid":a("last-seen-container",e.userId),wrapperWidth:S[4].width,windowSize:o,children:[e.userRole.invitationStatus==="accepted"?t.jsx($t,{children:u.lastSeen}):t.jsx(zt,{children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Tt,{"data-testid":a("resend-invite-text",e.userId),onClick:g=>{g.stopPropagation(),m?.(e.userId)},children:T.resendInvite.label}),t.jsx(Pt,{children:t.jsx(Nt,{children:`${T.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx(Ct,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ie,{menuItems:t.jsxs(Dt,{"data-testid":a("menu-items-container",e.userId),children:[t.jsx(fe,{"data-testid":a("edit-people-list-row"),onClick:()=>{n(!1),j()},children:T.invitePage.editTitle}),t.jsx(fe,{"data-testid":a("delete-people-list-row",e.userId),isDelete:!0,onClick:g=>{g.stopPropagation(),n(!1),f()},children:T.deleteOverlay.title})]}),setIsMenuOpen:n,isMenuOpen:h})})]})]})};function vt(e,r,l){const d=l.find(p=>e.userRole.accountingClassIDs[0]===p.classId),m=r.find(p=>p.userId===e.userRole.managerUserId);return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:Qe},manager:m?.user?`${m?.user?.firstName} ${m?.user?.lastName}`:void 0,department:d?d?.className:void 0,lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const ft=i.div`
|
|
107
107
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
108
108
|
border-radius: ${s.sp2};
|
|
109
109
|
display: flex;
|
|
@@ -177,7 +177,7 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
177
177
|
-webkit-box-orient: vertical;
|
|
178
178
|
text-overflow: ellipsis;
|
|
179
179
|
overflow: hidden;
|
|
180
|
-
|
|
180
|
+
`,$t=i(O)`
|
|
181
181
|
overflow: hidden;
|
|
182
182
|
display: -webkit-box;
|
|
183
183
|
-webkit-line-clamp: 1;
|
|
@@ -193,7 +193,7 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
193
193
|
overflow: hidden;
|
|
194
194
|
`,_=i.div`
|
|
195
195
|
width: 96%;
|
|
196
|
-
|
|
196
|
+
`,bt=i.div`
|
|
197
197
|
display: flex;
|
|
198
198
|
align-items: center;
|
|
199
199
|
`,jt=i.div`
|
|
@@ -272,7 +272,7 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
272
272
|
:hover {
|
|
273
273
|
color: ${e=>e.theme.colors.primary};
|
|
274
274
|
}
|
|
275
|
-
`,Ot={width:new
|
|
275
|
+
`,Ot={width:new $(343,580,726)},{peoplePage:k}=y.getLocalizedStrings(),Lt=({peopleData:e,allClasses:r,allManagers:l,onRowClick:d,onResendInvite:m})=>{const p=I(),x=e.userRole.userRoles.filter(o=>!A.hasZeniRoleOrCompanyOfficerAccess(o)),h=ii(l,e.userRole.managerUserId),n=si(r,e.userRole.accountingClassIDs);return t.jsxs(_t,{windowSize:p,isInviteAccepted:e.userRole.invitationStatus==="accepted","data-testid":a("people-list-row-small",e.userId),onClick:()=>{d?.(e.userId)},children:[t.jsxs(At,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(Mt,{children:t.jsxs(Wt,{children:[t.jsxs(Bt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Ht,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Kt,{className:"lastSeen",children:[t.jsx(Ut,{className:"lastSeenDateTxt",children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Et,{children:k.header.lastSeen})]}):t.jsx(Ft,{"data-testid":a("resend-invite-wrapper",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Zt,{"data-testid":a("resend-invite-text",e.userId),onClick:o=>{o.stopPropagation(),m?.(e.userId)},children:k.resendInvite.label}),t.jsx(qt,{children:t.jsx(Xt,{children:`${k.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Vt,{children:t.jsxs(se,{className:"personDetails",children:[t.jsxs(pe,{children:[t.jsxs(he,{children:[k.header.role,":"]}),t.jsx(oe,{children:t.jsx(Re,{roles:x})})]}),t.jsxs(Jt,{children:[t.jsxs(Yt,{children:[k.header.manager,":"]}),A.hasInvestorBankerLevelAccess(e.userRole.userRoles)?t.jsx(X,{children:k.notApplicable}):t.jsx(t.Fragment,{children:h?t.jsx(ei,{children:h}):t.jsx(X,{children:k.noManager})})]}),t.jsxs(Qt,{children:[t.jsxs(Gt,{children:[k.header.department,":"]}),A.hasInvestorBankerLevelAccess(e.userRole.userRoles)?t.jsx(X,{children:k.notApplicable}):t.jsx(t.Fragment,{children:n?t.jsx(ti,{children:n}):t.jsx(X,{children:k.emptyDepartmentPlaceholderText})})]})]})})]})},_t=i.div`
|
|
276
276
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
277
277
|
border-radius: ${s.sp2};
|
|
278
278
|
display: flex;
|
|
@@ -330,13 +330,13 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
330
330
|
color: ${e=>e.theme.colors.grey1};
|
|
331
331
|
`,se=i(te)`
|
|
332
332
|
color: ${e=>e.theme.colors.grey1};
|
|
333
|
-
`,
|
|
333
|
+
`,Kt=i(se)`
|
|
334
334
|
display: flex;
|
|
335
335
|
flex-direction: column;
|
|
336
336
|
align-items: flex-end;
|
|
337
|
-
`,
|
|
337
|
+
`,Ut=i.div`
|
|
338
338
|
color: ${e=>e.theme.colors.hero};
|
|
339
|
-
`,
|
|
339
|
+
`,Et=i.div``,Ft=i.div`
|
|
340
340
|
display: flex;
|
|
341
341
|
flex-direction: column;
|
|
342
342
|
align-items: flex-end;
|
|
@@ -358,7 +358,7 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
358
358
|
width: 70%;
|
|
359
359
|
`,ei=i(oe)``,ti=i(oe)``,X=i(oe)`
|
|
360
360
|
color: ${e=>e.theme.colors.grey1};
|
|
361
|
-
`,ii=(e,r)=>{const l=e.find(d=>d.userId===r);return l?.user?`${l?.user?.firstName} ${l?.user?.lastName}`:void 0},si=(e,r)=>{const l=e.find(d=>r[0]===d.classId);return l?l.className:void 0},oi=e=>I()==="small"?t.jsx(Lt,{...e}):t.jsx(wt,{...e}),J=y.getLocalizedStrings().peoplePage,ri=({peopleData:e,userNameSticky:r,onResendInvite:l,onDeleteUser:d,onRowClick:m})=>{const[p,x]=v.useState(!1),h=I(),n=li(e),o=f=>{const j=[];return f.map(g=>{const C=ke.roles.find(M=>M.value===g);return C!=null&&j.push(C?.label??""),j}),j.length>0?j.join(", "):"-"},u=()=>{d?.(e)},w=()=>{m?.(e.userId)};return t.jsxs(ni,{"data-testid":a("zeni-people-list-row-medium",e.userId),windowSize:h,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:w,children:[t.jsx(ai,{wrapperWidth:
|
|
361
|
+
`,ii=(e,r)=>{const l=e.find(d=>d.userId===r);return l?.user?`${l?.user?.firstName} ${l?.user?.lastName}`:void 0},si=(e,r)=>{const l=e.find(d=>r[0]===d.classId);return l?l.className:void 0},oi=e=>I()==="small"?t.jsx(Lt,{...e}):t.jsx(wt,{...e}),J=y.getLocalizedStrings().peoplePage,ri=({peopleData:e,userNameSticky:r,onResendInvite:l,onDeleteUser:d,onRowClick:m})=>{const[p,x]=v.useState(!1),h=I(),n=li(e),o=f=>{const j=[];return f.map(g=>{const C=ke.roles.find(M=>M.value===g);return C!=null&&j.push(C?.label??""),j}),j.length>0?j.join(", "):"-"},u=()=>{d?.(e)},w=()=>{m?.(e.userId)};return t.jsxs(ni,{"data-testid":a("zeni-people-list-row-medium",e.userId),windowSize:h,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:w,children:[t.jsx(ai,{wrapperWidth:K[0].width,windowSize:h,userNameSticky:r,children:t.jsxs(ci,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(pi,{children:[e.user?.firstName?t.jsxs(hi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"personNameTxt",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(ui,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(mi,{widthNumber:K[1].width,windowSize:h,children:t.jsx(di,{wrapperWidth:new $(100,100),windowSize:h,children:o(e.userRole.userRoles)})}),t.jsxs(fi,{"data-testid":a("people-list-row-medium-last-seen",e.userId),wrapperWidth:K[2].width,windowSize:h,children:[e.userRole.invitationStatus==="accepted"?t.jsx(yi,{children:n.lastSeen}):t.jsx(xi,{"data-testid":a("people-list-row-medium-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(gi,{"data-testid":a("people-list-row-medium-resend-invite-text",e.userId),onClick:f=>{f.stopPropagation(),l?.(e.userId)},children:J.resendInvite.label}),t.jsx(wi,{children:t.jsx(vi,{children:`${J.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx($i,{"data-testid":a("people-list-row-medium-menu",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ie,{menuItems:t.jsxs(bi,{children:[t.jsx(ye,{"data-testid":a("people-list-row-medium-menu-edit",e.userId),onClick:()=>{x(!1),w()},children:J.invitePage.editTitle}),t.jsx(ye,{"data-testid":a("people-list-row-menu-delete",e.userId),isDelete:!0,onClick:f=>{f.stopPropagation(),x(!1),u()},children:J.deleteOverlay.title})]}),setIsMenuOpen:x,isMenuOpen:p})})]})]})};function li(e){return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:ke.roles},lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const ni=i.div`
|
|
362
362
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
363
363
|
border-radius: ${s.sp2};
|
|
364
364
|
display: flex;
|
|
@@ -493,11 +493,11 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
493
493
|
-webkit-line-clamp: 1;
|
|
494
494
|
-webkit-box-orient: vertical;
|
|
495
495
|
text-overflow: ellipsis;
|
|
496
|
-
|
|
496
|
+
`,$i=i.div`
|
|
497
497
|
position: absolute;
|
|
498
498
|
right: ${`-${s.sp2}`};
|
|
499
499
|
top: ${e=>e.isInviteAccepted?"6%":"30%"};
|
|
500
|
-
|
|
500
|
+
`,bi=i.div`
|
|
501
501
|
margin: 5px ${s.sp0};
|
|
502
502
|
`,ye=i(D)`
|
|
503
503
|
height: ${s.sp6};
|
|
@@ -509,7 +509,7 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
509
509
|
:hover {
|
|
510
510
|
color: ${e=>e.theme.colors.primary};
|
|
511
511
|
}
|
|
512
|
-
`,ji={width:new
|
|
512
|
+
`,ji={width:new $(343,580,726)},Q=y.getLocalizedStrings().peoplePage,Si=({peopleData:e,onRowClick:r,onResendInvite:l})=>{const d=I();return t.jsxs(ki,{windowSize:d,"data-testid":a("zeni-people-list-row-small",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:()=>{r?.(e.userId)},children:[t.jsxs(Ii,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(Ci,{children:t.jsxs(zi,{children:[t.jsxs(Ti,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Pi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Li,{className:"lastSeen","data-testid":a("people-list-row-small-last-seen",e.userId),children:[t.jsx(_i,{className:"lastSeenDateTxt","data-testid":a("people-list-row-small-last-seen-content",e.userId),children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Ai,{children:Q.header.lastSeen})]}):t.jsx(Vi,{"data-testid":a("people-list-row-small-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Mi,{"data-testid":a("people-list-row-small-resend-invite-text",e.userId),onClick:m=>{m.stopPropagation(),l?.(e.userId)},children:Q.resendInvite.label}),t.jsx(Wi,{children:t.jsx(Bi,{children:`${Q.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Ri,{children:t.jsx(re,{className:"personDetails",children:t.jsxs(Ni,{style:{display:"flex"},children:[t.jsxs(Di,{style:{},children:[Q.header.role,":"]}),t.jsx(Oi,{children:je(e.userRole.userRoles,"zeni_only")})]})})})]})},ki=i.div`
|
|
513
513
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
514
514
|
border-radius: ${s.sp2};
|
|
515
515
|
display: flex;
|
|
@@ -587,7 +587,7 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
587
587
|
justify-content: flex-end;
|
|
588
588
|
`,Bi=i(re)`
|
|
589
589
|
color: ${e=>e.theme.colors.grey1};
|
|
590
|
-
`,Hi=e=>I()==="small"?t.jsx(Si,{...e}):t.jsx(ri,{...e}),W={overscanCount:1,rowNameLimit:55,listItemHeight:88},ne={peopleListItemHeight:138,zeniPeopleListItemHeight:106,zeniPeopleExtendedListItemHeight:130},Y={listItemPaddingRight:new b
|
|
590
|
+
`,Hi=e=>I()==="small"?t.jsx(Si,{...e}):t.jsx(ri,{...e}),W={overscanCount:1,rowNameLimit:55,listItemHeight:88},ne={peopleListItemHeight:138,zeniPeopleListItemHeight:106,zeniPeopleExtendedListItemHeight:130},Y={listItemPaddingRight:new $(b[3],b[8]),listItemPaddingLeft:new $(b[3],b[8]),zeniLastRowHeight:new $(154,136),nonZeniLastRowHeight:new $(200,136)},B=y.getLocalizedStrings().peoplePage,Ki=({peopleView:e,allManagers:r,allClasses:l,analytics:d,onColumnSortConfigChanged:m,onDeleteClick:p,onResendInvite:x,onRowClick:h,isZeniTenant:n})=>{const o=I(),u=v.useRef(null),w=!(o==="small"||o==="medium-compact"),[f,j]=v.useState(!1),[g,C]=v.useState(),M=$e(),z=e.people.findIndex(c=>c.userRole.invitationStatus==="invited"),me=c=>{j(!0),C(c)},ue=v.memo(({index:c,style:R})=>t.jsx(t.Fragment,{children:t.jsxs(Fi,{"data-testid":a("people-list-item",e.people[c].user?.userId),style:{...R,width:"fit-content",minWidth:"100%"},windowSize:o,isFirstResendInviteUser:z===c,className:"people-list-item",children:[z===c?t.jsx(Qi,{}):null,e.uiState.mode==="off"?t.jsx(oi,{allManagers:r,allClasses:l,userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n}):t.jsx(Hi,{userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n})]})}),_e);ue.displayName="ListItem";const xe=v.forwardRef((c,R)=>{const{children:L,style:F,...Z}=c;return t.jsxs("div",{ref:R,style:{...F,width:"auto"},...Z,children:[o==="small"?t.jsx(pt,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}):t.jsx(it,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}),t.jsx(Zi,{children:L})]})});xe.displayName="People list view inner element type";const Ce=c=>{const R=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,L=z===c;return R>W.rowNameLimit?W.listItemHeight+b[5]+(L?b[3]:b[0]):W.listItemHeight+(L?b[3]:b[0])},ze=c=>{const R=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,L=je(e.people[c].userRole.userRoles,e.uiState.mode).length,F=z===c,Z=e.uiState.mode==="zeni_only"?L>33?ne.zeniPeopleExtendedListItemHeight:ne.zeniPeopleListItemHeight:ne.peopleListItemHeight;return R>W.rowNameLimit?Z+b[5]+(F?b[3]:b[0]):Z+(F?b[3]:b[0])},Te={onOkClick:()=>{const c=g;d?.trackRemoveUserAccess(c.userRole.userRoles,c.userRole.userEmail),p?.(c.userId,c.userRole.userRoleId)},onCancelClick:()=>{j(!1),C(void 0)}},ge=Ae(e.people.find(c=>c.userId===g?.userId)?.update),E=e.people.find(c=>c.userId===g?.userId)?.update,Pe=g!=null?B.deleteOverlay.description.replace("‘_user-name_’",`"${Ui(g)}"`):B.deleteOverlay.description;return v.useEffect(()=>{u.current&&u.current.resetAfterIndex(0)},[e,o]),v.useEffect(()=>{E==null&&ge==="removeUsers"&&(j(!1),C(void 0))},[E,ge]),t.jsxs(Ei,{"data-testid":a("people-list-view-container"),windowSize:o,mode:e.uiState.mode,children:[f===!0?t.jsx(Ve,{titleComponent:t.jsx(Be,{children:B.deleteOverlay.title}),descriptionComponent:t.jsx(We,{children:Pe}),primaryButtonText:B.deleteOverlay.remove,secondaryButtonText:B.deleteOverlay.cancel,action:Te,proceedButtonVariant:"danger",isLoading:E==="removeUsers",isDisabled:E==="removeUsers",style:{background:M.colors.overlayColor},children:g?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Ji,{}),t.jsx(qi,{children:t.jsx(Xi,{src:g?.user.photo?.toString()??Me,alt:g?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(He,{children:({height:c,width:R})=>t.jsx(Yi,{height:c,innerElementType:xe,itemCount:e.people.length,itemSize:o==="small"?ze:Ce,width:R,ref:u,overscanCount:W.overscanCount,children:ue})})]})},Ui=e=>e.user?.firstName?`${e.user?.firstName} ${e.user?.lastName}`:e.user?.email??"",Ei=i.div`
|
|
591
591
|
/** Subtract top so list can occupy remaining available height */
|
|
592
592
|
min-height: ${`calc(100vh - ${s.sp9})`};
|
|
593
593
|
max-width: 99.9%;
|
|
@@ -595,7 +595,7 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
595
595
|
height: ${e=>e.mode==="zeni_only"?Y.zeniLastRowHeight.valuePx(e.windowSize):Y.nonZeniLastRowHeight.valuePx(e.windowSize)} !important;
|
|
596
596
|
padding-bottom: ${s.sp9};
|
|
597
597
|
}
|
|
598
|
-
`,
|
|
598
|
+
`,Fi=i.div`
|
|
599
599
|
top: ${s.sp0};
|
|
600
600
|
left: ${s.sp0};
|
|
601
601
|
padding: ${e=>`${s.sp0} ${Y.listItemPaddingRight.valuePx(e.windowSize)} ${e.isFirstResendInviteUser?s.sp5:s.sp3} ${Y.listItemPaddingLeft.valuePx(e.windowSize)} `};
|
|
@@ -624,11 +624,11 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
624
624
|
`,Qi=i.div`
|
|
625
625
|
padding-top: ${s.sp3};
|
|
626
626
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
627
|
-
`,Yi=i(
|
|
627
|
+
`,Yi=i(Ue)``,Gi=(e,r)=>{const{user:l,userId:d,userRole:m,update:p}=e,{user:x,userId:h,userRole:n,update:o}=r;return H(l,x)&&H(d,h)&&H(m,n)&&H(p,o)},es=(e,r)=>{if(e.peopleView.people.length!=r.peopleView.people.length||e.allManagers.length!=r.allManagers.length)return!1;let l=!0;for(let d=0;d<e.peopleView.people.length;++d){const m=e.peopleView.people[d],p=r.peopleView.people[d];if(l=Gi(m,p),!l)break}return l=l&&H(e.peopleView.invitePeopleState,r.peopleView.invitePeopleState),l=l&&e.peopleView.uiState.sortKey===r.peopleView.uiState.sortKey&&e.peopleView.uiState.sortOrder===r.peopleView.uiState.sortOrder,l},ts=v.memo(Ki,es);function is({peopleInviteSectionProps:e}){const r=I();return t.jsx(ss,{isSearchOpen:e.isSearchOpen&&r==="small",windowsize:r,children:r!=="small"?t.jsxs(t.Fragment,{children:[e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"unset",right:"120px"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen}),t.jsx(Le,{variant:"primary",size:"small","data-testid":a("invite-people-button"),style:{height:"29px",...be.smallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"},label:e.invitePeopleLabel,onClick:e.onInvitePeopleClick})]}):t.jsxs(t.Fragment,{children:[e.hideInviteBtn?null:t.jsx(os,{"data-testid":a("invite-people-button"),onClick:e.onInvitePeopleClick}),e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"5px",right:r!=="small"?"120px":"unset",top:"44px",width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,"data-testid":a("people-invite-search"),onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0})]})})}const ss=i.div`
|
|
628
628
|
display: flex;
|
|
629
629
|
flex-direction: column;
|
|
630
630
|
justify-content: ${e=>e.windowsize==="small"?"unset":"center"};
|
|
631
|
-
`,os=i(
|
|
631
|
+
`,os=i(Ke)`
|
|
632
632
|
height: 20px;
|
|
633
633
|
width: 20px;
|
|
634
634
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -672,4 +672,4 @@ import{u as be,X as I,M as y,j as t,Y as a,aW as le,be as Ne,o as s,bI as De,bJ
|
|
|
672
672
|
`,ds=i(G)`
|
|
673
673
|
margin-top: ${s.sp3};
|
|
674
674
|
color: ${e=>e.theme.colors.hero};
|
|
675
|
-
`,cs=()=>t.jsx(ls,{children:t.jsx(
|
|
675
|
+
`,cs=()=>t.jsx(ls,{children:t.jsx(U,{size:"ExtraLarge",start:!0})});function ps(e){const r=$e(),l=I(),{mode:d,searchText:m}=e.peopleView.uiState,{fetchState:p}=e.peopleView,{fetchState:x}=e.managersView,{fetchState:h}=e.classList,[n,o]=v.useState(!1),u={isSearchOpen:n,onSearchOpen:z=>{o(z)},onSearchTextChanged:e.personAction.onSearchTextChanged,searchPlaceHolder:y.getLocalizedStrings().peoplePage.searchPlaceHolder,searchText:m,invitePeopleLabel:y.getLocalizedStrings().peoplePage.invitePeopleText,onInvitePeopleClick:e.onInvitePeopleClick,onClickMenuIcon:e.onClickMenuIcon},w=e?.isZeniTenant!==!0&&e?.isZeniAdminUser===!0,f=()=>{const z=d==="off"?"zeni_only":"off";e.personAction.onModeChange?.(z)},j=p==="Completed"?`(${e.peopleView.people.length})`:"",g=`${d==="off"?y.getLocalizedStrings().peoplePage.peopleTitle:y.getLocalizedStrings().peoplePage.zeniPeopleTitle} ${j}`,C=v.useMemo(()=>p==="In-Progress"||p==="Not-Started"||x==="In-Progress"||x==="Not-Started"||e.shouldFetchClasses&&(h==="In-Progress"||h==="Not-Started"),[p,x,e.shouldFetchClasses,h]);function M(){return C?t.jsxs(ae,{"data-testid":a("people-page-loading"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:e.onClickMenuIcon,onZeniLogoClick:f,showZeniLogo:w,zeniLogoVisiblity:d==="zeni_only"?"visible":"hidden",isSearchOpen:n,backgroundColor:r.colors.grey4,source:"PeoplePage"}),t.jsx(cs,{})]}):p==="Error"||h==="Error"||x==="Error"?t.jsxs(ae,{"data-testid":a("people-page-error"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onZeniLogoClick:f,showZeniLogo:w,onClickMenuIcon:e.onClickMenuIcon,backgroundColor:r.colors.grey4,source:"PeoplePage"}),t.jsxs(ns,{children:[t.jsx(as,{"data-testid":a("people-page-error-reload-icon"),onClick:e.personAction.onReloadPeople,children:t.jsx(Ne,{width:s.sp6,height:s.sp6})}),t.jsx(ds,{children:y.getLocalizedStrings().peoplePage.reloadPage.label})]})]}):t.jsxs(ae,{"data-testid":a("people-page-content-container"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onZeniLogoClick:f,showZeniLogo:w,onClickMenuIcon:e.onClickMenuIcon,source:"PeoplePage",backgroundColor:r.colors.grey4}),t.jsx(rs,{"data-testid":a("people-page-content"),windowSize:l,children:e.peopleView.people.length>0?t.jsx(ts,{peopleView:e.peopleView,allManagers:e.managersView.users,allClasses:e.classList.classes,onDeleteClick:e.personAction.onPersonDelete,analytics:e.analytics,onResendInvite:e.personAction.onResendInvite,onColumnSortConfigChanged:e.onColumnSortConfigChanged,onRowClick:e.onRowClick,isZeniTenant:e.isZeniTenant}):m!==""?t.jsx(De,{emptySearchTextFirstLine:y.getLocalizedStrings().peoplePage.emptySearchTextFirstLine,emptySearchTextSecondLine:y.getLocalizedStrings().peoplePage.emptySearchTextSecondLine}):t.jsx(Oe,{message:y.getLocalizedStrings().peoplePage.emptyResultsMessage})})]})}return t.jsx("div",{children:M()})}const de=e=>t.jsx(is,{peopleInviteSectionProps:e}),js=ce.memo(ps);export{js as MemoPeople,ps as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as
|
|
1
|
+
import{X as Y,J as S,j as i,bu as Q,M as U,Y as H,C as u,a7 as J,o as n,a6 as K,Q as V,h as X,s as Z,p as l,q as _,aq as ee,f as T,g as v,v as ie,ah as te}from"./index-GMJ2nuUF.js";import{b as k,n as t}from"./vendor-CnQcJ2Lu.js";import{E as ne}from"./PortfolioDetails-D2RWl4uo-6RAVkUY_.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-D9SYrM7P-BaWaAPGH.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=U.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new V("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:W,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=Y(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:q}=W;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(o)}},[p,w,d]);const y=o=>{const f=s.find(G=>G.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},F=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&F(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(Q,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":H("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(ne,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(J,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&q.fetchState==="In-Progress",isDisabled:p&&!D}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
height: 100%;
|
|
@@ -18,7 +18,7 @@ import{X as q,H as S,j as i,bs as H,M as Q,Y as U,C as u,a3 as K,o as n,a2 as V,
|
|
|
18
18
|
top: ${n.sp0};
|
|
19
19
|
padding: ${e=>`${a.navBarContainerPaddingYaxis.valuePx(e.windowSize)} ${n.sp0}`};
|
|
20
20
|
z-index: 2;
|
|
21
|
-
`,ce=t(
|
|
21
|
+
`,ce=t(K)`
|
|
22
22
|
cursor: pointer;
|
|
23
23
|
color: ${e=>e.theme.colors.hero};
|
|
24
24
|
width: ${n.sp4};
|
|
@@ -42,7 +42,7 @@ import{X as q,H as S,j as i,bs as H,M as Q,Y as U,C as u,a3 as K,o as n,a2 as V,
|
|
|
42
42
|
flex-direction: column;
|
|
43
43
|
gap: ${n.sp3};
|
|
44
44
|
width: 100%;
|
|
45
|
-
`,he=t(
|
|
45
|
+
`,he=t(X)`
|
|
46
46
|
${e=>`${oe.stepTitle.style(e.windowSize)}`};
|
|
47
47
|
color: ${e=>e.theme.colors.primary};
|
|
48
48
|
text-align: left;
|