@zeniai/web-cockpit-ui 1.13.83-qa → 1.13.84-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-_VHVuqJw-Bymc8CZ3.js → ACHDetailsPage-Bya_wRcI-Cbp0qhsx.js} +3 -3
- package/dist/assets/{AIPerformancePage-C89zANQm-DAbfunq3.js → AIPerformancePage-Bc2kKHSK-BgXzMS_3.js} +24 -24
- package/dist/assets/AccountInfoPage-d3ST-rTL-C_leII_k.js +18 -0
- package/dist/assets/{AccountInfoPageContent-B8SOX9i5-7d4Bt0bR.js → AccountInfoPageContent-BhU-TVmh-BdzRn56o.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-BVnXwxD4-DEurx_N4.js → AccountReconDetailsDrawerPage-Dp2R5isq-DTMzR1zA.js} +18 -18
- package/dist/assets/AccountRow-t4I1y-2K-CgC6OUhN.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-9UqzeTvF-CzL1CjSW.js → AccountsPromoCardStack-DYUyO-ip-D1yzvIYh.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-flYKIptj-CZXNkdja.js → AddAddressForCardDrawer-CNSnxc8q-xbp24EPr.js} +1 -1
- package/dist/assets/{AddToWalletPage-qMFXqjhm-BLIVGZdo.js → AddToWalletPage-Q8uWTckm-XMYIU9V3.js} +30 -30
- package/dist/assets/{AgingReportsPage-CdVOTjjc-BjXskb5q.js → AgingReportsPage-B-DOb7my-C3NgaG-U.js} +4 -4
- package/dist/assets/{AllUserItems-6g-IFiDP-BF7NBOrr.js → AllUserItems-B86Y2Fmg-DavCuBOs.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-DNG6y6eT-DhHZsXHm.js → ApAgingDetailPage-CMYJgTzS-sOBU6gP5.js} +3 -3
- package/dist/assets/{AppBasePage-C0Sy0oae-DvEJ-ATe.js → AppBasePage-DJO-V2ox-D56HdnuV.js} +4 -4
- package/dist/assets/{AppDrawerContent-BAYPGtYY-CUnHM7PZ.js → AppDrawerContent-5_QaBLwS-CM4yA7GZ.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-D52kq1hZ-BYg8vnKt.js → ApprovalRulesSettingsPage-CPbVQ97S-DsB9ftyn.js} +6 -6
- package/dist/assets/{ArAgingChart-Bso6mAzK-j6sfc3fv.js → ArAgingChart-l020Rk_S-DwzSqVCY.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-BxtXGjOk-CBtuYc3L.js → ArAgingDetailPage-BeUPeHBJ-DWBF7rvM.js} +2 -2
- package/dist/assets/{AttachmentView-cjbbz-rh-BnkWjld0.js → AttachmentView-Afp_U4fV-ChOQ6Ub6.js} +8 -8
- package/dist/assets/{BankAccountSection-Cf1NyJua-CA0IxE0G.js → BankAccountSection-CNQgxgSJ-Ca43edcO.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-hZNBR8bC-DgrV5hrK.js → BankAccountWarningSection-V0HHzW57-BXTr_4tn.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-C42Z61VJ-BjXrRucN.js → BankConnectionsSettingsPage-Bk8K0xUn-B_F9KKkf.js} +22 -22
- package/dist/assets/{BillDetailPage-C9ABXSip-Dyhvss4T.js → BillDetailPage-D9d6X0o4-D-GS6Om8.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-C_P8uDLH-c09oNfGD.js → BillPayApprovalRuleDetailPage-CSVTc5Mn-BViwJkEX.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-B-e1bydX-37-nfPS6.js → BillPayApprovalRulesPage-DIOOCVKH-D1Pdhh1K.js} +3 -3
- package/dist/assets/{BillPayPromoPage-CdGuDH1_-DoTWyE5k.js → BillPayPromoPage-C44YKAlE-CyfJbYHe.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-BJzAf5ei-BfqA1r1q.js → BillPaySetUpPage-erTIfKkS-e9d2uLlE.js} +2 -2
- package/dist/assets/BillingSettingsPage-CmvoTc8r-CgKVc-Hp.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-OSbHVAMk-B7pVq5dd.js +1 -0
- package/dist/assets/{BoxItem-BMejIo17-DfTWFZ7_.js → BoxItem-UFBGpfBB-Cl1_IwAU.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-B4T4eKqS-Bye3WrQZ.js → BusinessVerificationPage-Cl7jz1DF-B1c4YlYQ.js} +8 -8
- package/dist/assets/{CardNumberSubText-DU4-NQyz-186D7nSj.js → CardNumberSubText-DyFZudV_-D11cIePr.js} +1 -1
- package/dist/assets/{CashbackDetailPage-gEd-o4kR-C4wVKPgt.js → CashbackDetailPage-D0_YW2Dy-BvqJCdMM.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-Bi0lqA56-BFxB7GLk.js → ChargeCardDetailPage-YkvyvIEk-BL54Gn2n.js} +58 -58
- package/dist/assets/{ChargeCardListPage-D0DuXZ7e-DlfCFnes.js → ChargeCardListPage-4vg8Q6bl-B7zHIOPp.js} +35 -35
- package/dist/assets/{ChargeCardListTable-C1RWnfY_-CHbl4tuS.js → ChargeCardListTable-Dl-rblE6-cI3INYu9.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-BzcIsHeK-CL-PWL5a.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-DNUctoFI-CLAGahbp.js → ChargeCardSetupPage-BSiJnRP_-C-GYT256.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-B565dWKi-BNK7rWNj.js → ChargeCardStatementsPage-NkfA1SYG-Dm6-iBGo.js} +4 -4
- package/dist/assets/{ChargeCardUtils-BN7bbdUB-BbkRwxs1.js → ChargeCardUtils-CLpd-HDH-B3csze9l.js} +1 -1
- package/dist/assets/{ChaseOverlay-BrHcqwQQ-D5p6lw7W.js → ChaseOverlay-B1cuawle-p6HzSxTf.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-BwJ5tAF--CpJrHbza.js +206 -0
- package/dist/assets/{CollapsableReportTable-C5VV-Hqz-BgVDm2Ba.js → CollapsableReportTable-iMD5xyGN-Bi-fik_C.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-DHqtLqa--DkQW91X6.js → CompanyOfficerDetailsSection-BA7etm2I-CmO-KOuc.js} +26 -26
- package/dist/assets/{CompanyPassportCard-BtC806n1-BE2Vutw3.js → CompanyPassportCard-Dks4EQDN-Dn-jW4u-.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CZBZoHu3-CVdv1vFg.js → CompanyPassportPage-Denliwgg-BKRikNew.js} +140 -140
- package/dist/assets/{CompleteProfile-CwZtbTzm-B0JwwIUN.js → CompleteProfile-CCLq4pNY-y7V5PpLY.js} +10 -10
- package/dist/assets/ConfettiBurst-MKPxinI7-gHaE20YT.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-B43jo6gf-XWR76dqm.js → CreateOrEditVendorPage-BFejWQMx-BjDnDTWQ.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-1litLdxa-C6R9hrSu.js → CreditCardPaymentDrawerPage-B7Sesq_n-V9iiiMuJ.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-CEjV1ee_-C66jG_cF.js → CreditCardPaymentPlgSection-D5CNl0oa-C-cdC2QZ.js} +10 -10
- package/dist/assets/{CurrencySelectField-DMPtPzwJ-CVyHXZxa.js → CurrencySelectField-DYvc6rwt-ByvmhvI-.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-DUQPZIJW-C2-ZWnw3.js → CustomerOnboardingActivationPage-oUiw--hv-BRyHoZHP.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-D2xC_a0G-DLJn2o1E.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D-MkZIDQ-DF5QLwbE.js → CustomerOnboardingDetailPageSkeleton-BaDpU--M-CL7UtNSJ.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-JnxUTXUI-92Zb-Tm2.js → CustomerOnboardingNoStepsPage-C_cxcuWE-CPcXa-uY.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-Cuf1lJmu-BwFC9Sia.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-C47rlXpl-wD-8riam.js → CustomerOnboardingProductSuitePage-DEqdhh-2-wQlqTtpc.js} +4 -4
- package/dist/assets/Dashboard-DnR1KvYd-DzOeF_LG.js +778 -0
- package/dist/assets/{DashboardReportPage-B8sZBvi0-Bkka6zpc.js → DashboardReportPage-Tq4KsQuw-DPow_DwG.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-SBvKiZUo-DJaX4dE5.js → DepositAccTransactionItem-DWhVL-kH-YH09Nnsw.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DxyOodRG-CDy1pV7B.js → DepositAccTransactionListPage-BiaZBvV4-5ezA9uiX.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-2RwwRIbj-KpNSpuh7.js → DocumentSecurityBanner-eGDvEOvr-CyvEFE94.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-Bvmpk8LN-QDvn8074.js +21 -0
- package/dist/assets/{DownloadOverlay-D_7Q3gwF-BtTWiRYh.js → DownloadOverlay-C0vGOFIR-D53GsOkg.js} +20 -20
- package/dist/assets/{DrawerPage-D7ZExidR-CIWuPHJ5.js → DrawerPage-keu-rP1c-Ad94AagR.js} +8 -8
- package/dist/assets/EditPeoplePage-BTnhywM--fqULQ6DL.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CZWIuR9q-DiQem3xT.js → EditReimbursementDetailPage-jqf5akyj-Dbu8QTQE.js} +74 -74
- package/dist/assets/{EntityDetailPage-liLBcaFa-BbblawRB.js → EntityDetailPage-D0mZIEcR-BRw589Gw.js} +2 -2
- package/dist/assets/{EntitySummarySection-BEubg_Ke-Bdvy7iaP.js → EntitySummarySection-bL2stKO1-B_cCEADD.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-De7pJxb1--Us_wwQ9.js → ExpenseAutomationOverviewPage-Cm00uGHv-CZxuB80N.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-JGlqvmW0-DGGQ5kes.js → ExpenseAutomationPage-BA8sRxM--BI5FDTiq.js} +84 -84
- package/dist/assets/{ExpressPayPage-DMuL6rjt-BbpZP04j.js → ExpressPayPage-DRNbLpuL-BqPn8Tnj.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-eU2Fncgw-Df6t4vlN.js → FeaturePreviewPage-CeeAOF5C-B1ePxZD_.js} +2 -2
- package/dist/assets/{FollowStepsSection-CIOJXyXO-Ck9BhOv7.js → FollowStepsSection-DuElPK3y-BQRSekz2.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DbGsAMQF-DEii590Y.js → GlobalReviewListPage-DfjZMTms-CbpLeCqy.js} +10 -10
- package/dist/assets/HelpButton-BKCFqzW3-Ds4n43qE.js +28 -0
- package/dist/assets/{InformationCardStack-DBC0PIB2-ZpzVR8Pu.js → InformationCardStack-CmquAm7A-t9P9_NGQ.js} +5 -5
- package/dist/assets/{InsightsCardStack-BiyzY54v-DjzlYvXC.js → InsightsCardStack-D5ahtQWr-CLdQOUoS.js} +9 -9
- package/dist/assets/{InsightsSection-CB95rM5E-D6F0bC-C.js → InsightsSection-xgqf4arB-B8DybT5O.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-IozP8XCs-Covl1ghU.js → IntegrationsSettingsPage-Cl6dfKQL-DtlX3Ccg.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-CBLjT_qk-C24yuZmd.js → InternationalWireSwiftDetailsPage-D_jWoFli-DlLuf4mS.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-BDHKKPIV-Kq4wZhMp.js → InternationalWireVerificationPage-it1U4OPj-CpKm_Jls.js} +17 -17
- package/dist/assets/{InviteFormPage-DcVcYJU0-CpPhN43t.js → InviteFormPage-DTMy8xZk-2c0kPCFn.js} +23 -23
- package/dist/assets/{InvitePageListView-CtGrvvWG-DUC9eyzx.js → InvitePageListView-X7W1jRxY-C4s0X98I.js} +31 -31
- package/dist/assets/InvitePeoplePage-fzgtceuE-B5MjB6BF.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CzeBCw69-MIl0YoqM.js → InvoiceUploadSection-BhCDvIPX-wOQXy0Yc.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-DywMnIW9-DZC1TtsH.js → IssueChargeCardPage-CqE8lMsX-C6vz_dxs.js} +22 -22
- package/dist/assets/{LabeledAddressValue-aXAfyy6x-zuxWHZ35.js → LabeledAddressValue-CCEVX0ke-C3sCHRt6.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BdNErK0u-BCVVhFLg.js → LabeledAddressValueField-B9iirKZj-Cw-fixky.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-DPoSmzJi-B9fcjMs6.js → LabeledControlledCheckBoxField-Bl3-Zao6-6WoEZpzL.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DsyZw9q6-BgU9LeRU.js → LabeledCreatableSingleSelectField-v86g-OZd-YeybErPj.js} +7 -7
- package/dist/assets/LabeledDocumentField-Dv4qzOY0-lFebzE73.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-BFMEaVfR-Dv78a583.js +59 -0
- package/dist/assets/{LabeledText-CcIJZUuh-CPcjfLXi.js → LabeledText-D9feJraX-padWmGRQ.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CPJQjrJK-DWx8mI1V.js → LabeledUserSingleSelectWithSubtitlesField-BKNBvO_C-Dvjne4f2.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-WCoZXbuy-DHAUidGL.js → LabeledZeniRolesDropDownField-AwQaO42N-D65CRYdT.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-jB4x6YYH-CygKAijz.js → LinkJETransactionPage-D3I2NvQw-B2_s-lzz.js} +8 -8
- package/dist/assets/{LowBalancePopup-c-6SC1hh-B9wQAJ9M.js → LowBalancePopup-OSUi1Alp-D-EAEgV_.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-Cm98tK2_-7ec-cqHZ.js → MagicLinkACHDetailsPage-r3XSoJ11-ByBszh-P.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-26S-99Ie-D3QNyjAa.js → MagicLinkDomesticWireDetailsPage-DPG9fUzZ-DLN7eK6J.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CY-hI3QM-D4hmDiEg.js → MagicLinkInternationalWireDetailsPage-CmXJXEaN-DSJ-KZsN.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-1VMpD_t0-YoPoa1Fs.js → MagicLinkSuccessPage-CwszAuW2-CcLjVoXZ.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-BiZ9MGYp-Cl_WugVD.js → MagicLinkTitleSection-CvrbJ-of-eRuegy0D.js} +3 -3
- package/dist/assets/{MailingDetailsSection-DfxeX2uy-D2drNkzT.js → MailingDetailsSection-BJHZIZCt-CtVNeOVh.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-ifcJuMu9-ByO1X2Hh.js → MeetingCalenderPopup-C4r3bJ84-DJC2p-pW.js} +1 -1
- package/dist/assets/{Menu-B4Q04CAH-4XWj_HwH.js → Menu-MHZ6Ibt0-ClGVoJHI.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-rM_qhevU-DITmqjDy.js → MyBankConnectionsSettingsPage-DG1tuqAt-BJM-bRYR.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-CwwpQgC6-iU-kUMq9.js → MyPendingActivationChargeCardListPage-DZyxqqyJ-gmzsoe2r.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DbkgXE3d-BGJQs-jC.js → MyProfileSettingsPage-BnNbspx9-I-RR_w-w.js} +8 -8
- package/dist/assets/{NavBarWithPicker-CHrbDC5H-DmfI4NHq.js → NavBarWithPicker-3okDhiol-Mch2cVg7.js} +2 -2
- package/dist/assets/{NavigationArrow-B68QyyUR-DJ2p6cca.js → NavigationArrow-iw-yd_9S-DZPtXupp.js} +6 -9
- package/dist/assets/{NavigationDots-DYkUvR3H-CWQugA3e.js → NavigationDots-CB5JLuJi-yLXSzdJi.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CEZgARa1-Oq3mm2EE.js → NewGlobalMerchantPage-CcGws2R2-C4Fp7WXy.js} +33 -33
- package/dist/assets/NoDataChart-BsN_tNbW-BMMW2NFW.js +26 -0
- package/dist/assets/{NoDataTable-Z4rV9ZBK-p_2JIShf.js → NoDataTable-BbDo9Kma-CQu0CK8r.js} +1 -1
- package/dist/assets/{NotFoundPage-DGbe5Rh8-DP7xmEtU.js → NotFoundPage-gbtwlR8l-C5FBVYn3.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-SovYc7X1-B3BS2dbe.js → NotificationSettingsPage-slkQwvVZ-CHC42QkE.js} +16 -16
- package/dist/assets/NotificationsListConfig-DtsQwW2b-qiwAhcXr.js +1 -0
- package/dist/assets/{NotificationsPage-D1uWQ3_a-DxSIxDxP.js → NotificationsPage-BAyRPK64-CK6wfh9r.js} +32 -32
- package/dist/assets/{OpExByVendorPage-bwyUuTg3-r5i2RybY.js → OpExByVendorPage-CofD6hKi-CAsz1_Xh.js} +5 -5
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-DlNZMe2A.js → OverlayContainerPage-nhe7xtoR-BoqVZnRB.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-C316N1hQ-aHIR4J9h.js → PandLWithForecastPage-_uOEFXiy-CCb56j7T.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-07laMoUE-vyb_PzAc.js → PaymentAccountSetupBillingAddressSection-C0zGxU4f-CRvVxf4b.js} +8 -8
- package/dist/assets/{PeoplePage-nMBpp-i7-C_FzQc4I.js → PeoplePage-8GExF-Lt-BPrOO_zy.js} +19 -19
- package/dist/assets/{PortfolioAllocationFormPage-BNM5_3mQ-DaO3Xs0l.js → PortfolioAllocationFormPage-CMKEE7P7-CSoW27F2.js} +3 -3
- package/dist/assets/{PortfolioDetails-Cxr764um-DhzbvH6Q.js → PortfolioDetails-A3P3vG57-BlNZUWBn.js} +11 -11
- package/dist/assets/{ProductsCarousel-W3-LEsKP-DbLcA25z.js → ProductsCarousel-D9H3mUJ--BvtxFJIQ.js} +7 -7
- package/dist/assets/{PromoBaseCards-zZLO1ftd-CE6hJoyp.js → PromoBaseCards-CF0Bv_9G-CKYPGzvR.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-027QZpKQ-BMM6Z1LZ.js → QBOConnectionDialog-D2zi5wKm-DM4ITFKi.js} +6 -6
- package/dist/assets/{QBOSetupSection-BT0OZMcW-35drr2J_.js → QBOSetupSection-B3Dj2g2k-Cs2MQ5jD.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DsBcRdLI-4vSu0HBp.js → ReimbursementApprovalRuleDetailPage-DgpHHy3U-MMqXWdUz.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DFUfuIiJ-CI-ZWabB.js → ReimbursementApprovalRulesPage-BjFi-uJl-DaBDnL86.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-8b3khOnV-B2Q02bEe.js → ReimbursementDetailPage-BersvjG9-CiBW1b2M.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-BDuxIiMu-BQx3j8pw.js → ReimbursementPromoPage-K8dT-rtu-Dt7hPy-o.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-CQnnv-Km-dR4LVsPp.js → ReimbursementSetUpPage-CfBuIpx6-al_7hXdG.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B42Iy6Wl-CPgHrEv8.js → ReimbursementsBulkReviewDrawerPage-yaSD_tF5-D0BnyUB5.js} +1 -1
- package/dist/assets/{ReloadCard-BRfBNfTQ-BU52RUhd.js → ReloadCard-Do9Znv21-DK8BGS1A.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-CsIuIfQF-CglQQFO3.js → ReportTableViewSelector-D1UrK7VQ-C8LWU1S2.js} +7 -7
- package/dist/assets/{ReportsPage-BgjHAROL-CDbPtbWw.js → ReportsPage-dER5Ukfc-SfboVh2R.js} +9 -9
- package/dist/assets/{RevenueChart-DSSPucUL-BpbrhJFv.js → RevenueChart-CCr_XauF-D36ZxwH2.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DRTS4tm7-GkJsi7Yf.js → ReviewDetailsPage-ZoXTLGfR-B_ONtomw.js} +19 -19
- package/dist/assets/{ReviewOverlay-fCgnrRah-tZ00a0Uu.js → ReviewOverlay-Bywh-8pJ-Bg5lskK_.js} +14 -14
- package/dist/assets/{RoleWithToolTip-aKLOITw0-B48eYV-X.js → RoleWithToolTip-CX9tF-BO-DG7wC_Jt.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-ChR3tFhH-e-z1NRNI.js → ScheduleDetailsFixedAssetsPage-BEXr2qc0-3xkvpS1C.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DmVZaX9M-CeCNgksq.js → ScheduleDetailsPage-CR8uJC5O-DnUdhwKF.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CqrIr7OX-Cen2QelK.js → ScheduleSequenceTable-D7kDvImN-DWkMGP8Z.js} +50 -50
- package/dist/assets/{ScreenRoutes-ByaRWdsC.js → ScreenRoutes-erL9wWZG.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DkqyfYdP-DWiWb20O.js → SetUpAccountSection-B0J0zCOF-oWsU5thz.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-CEcqnqlD-BSjLZl3B.js → SetUpDefaultSection-ES6v0-xw-oKoRPhrf.js} +16 -16
- package/dist/assets/{SignIn-BKCeqJmF-B6GB44w2.js → SignIn-yQ-8MBRA-D6UXon_1.js} +19 -19
- package/dist/assets/{SignInScreen-BY-NI1BX.js → SignInScreen-DTuVG-E_.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DWrIY48Y-1thafgez.js → SpendManagementListViewPage-_rUojA3M-DqnZrIvk.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-BIK3QfAG-BprzbGtF.js → SpendManagementPerTabPage-Bhes-f7M-AdXufxw9.js} +47 -47
- package/dist/assets/{SpendManagementSection-BibcrHiQ-ojX7OXv7.js → SpendManagementSection-CQHWqht2-D_0KXsJm.js} +9 -9
- package/dist/assets/{SpendMgmtSetupAccountSection-BZzCEn49-xlvJK4VE.js → SpendMgmtSetupAccountSection-BHZ9nmWy-Ct-UFhaG.js} +14 -14
- package/dist/assets/{StatementItem-DujQ-hfS-Co0MjdA1.js → StatementItem-CKnsnb3u-CUpANIC7.js} +8 -8
- package/dist/assets/StatementsPage-B73U7d9e-BeHUtVc7.js +58 -0
- package/dist/assets/{StatusSwitcher-CmoFEW3h-B8khGWcG.js → StatusSwitcher-xR-S3KaW-DXC0VRqb.js} +4 -4
- package/dist/assets/{SubTabSwitcher-CZqJSgrt-BzzBfBEV.js → SubTabSwitcher-DczmDw-I-BDr0EcZn.js} +1 -1
- package/dist/assets/{SummaryCard-BC_pbmca-BA-2CDI2.js → SummaryCard-YTxf_JPz-Coldl1KM.js} +1 -1
- package/dist/assets/TaskManagementPage-LDFC29Ik-CNoI4m-y.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-6HHMsbMu-BJeGDam3.js → TimeRangeSwitcher-C5yC8ifv-CCSUflgJ.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-9Tl1lDvO-2gI3pMJ6.js → TimeframeSwitcher-D1xKpIjp-CW5UZCib.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BiHAqit5-B759eYFG.js +31 -0
- package/dist/assets/{TopExCard-BRR6W73W-BCkskQ6y.js → TopExCard-CJN2nSdQ-g0e-zKZy.js} +6 -6
- package/dist/assets/{TopExDetailPage-DzqG7MND-r9FRTnlF.js → TopExDetailPage-ClQK2WDh-DhYxPAx6.js} +11 -11
- package/dist/assets/{TransactionDetailPage-DD-5Uhso-5-XIEojv.js → TransactionDetailPage-CcNUBQmc-C-LCspti.js} +47 -47
- package/dist/assets/{TransactionList-B_1X_r62-D6FSjlP-.js → TransactionList-Dtqr5BZm--fERmRQ-.js} +13 -13
- package/dist/assets/{TransactionListBig-CUOjhYmg-CQ2RJ0bc.js → TransactionListBig-D5_iDOBi-D6XHrCJg.js} +18 -18
- package/dist/assets/{TransactionListPage-Ck8dLdRo-F9HAGy3S.js → TransactionListPage-DUCJRiyi-gKenoaPe.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-C2_Yo1np-DO9ni0JA.js → TransactionVendorDetailPage-DSpchZAl-Dh-5qwdH.js} +6 -6
- package/dist/assets/{TransferDrawerPage-D9sHV8Dz-C3BJeiz0.js → TransferDrawerPage-BKWQEojA-hbYmgGo9.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-Co2mrPcn-BY4IGK6R.js → TreasuryOverviewPage-D1D2WipM-D-3r290_.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-x3aBAAof-CzINUoky.js → TreasuryPromoPage-BKgJHnC1-CFaA1Ntn.js} +15 -15
- package/dist/assets/TreasurySetupPage-C2JtTOhh-RYkURx4_.js +152 -0
- package/dist/assets/{TreasuryStatementsPage-BIxlBphR-CLkwORFF.js → TreasuryStatementsPage-DKHWWnrU-D8FyTRXK.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-00l2eDaD-D4R_SIte.js → TreasuryTaxLetterPage-ieX9MUQd-DjUqrhOK.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-8kYRXJ8--BXlfWwAt.js → TreasuryTransferOrReviewPage-DebuIwR3-C0bGE1CG.js} +85 -85
- package/dist/assets/{TrendChart-CnawkdG8-C1f54OIB.js → TrendChart-B3VgdtYY-DKvOx-kx.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CNNCV2hi-Lc8Mvmvx.js → TrendWithTransactions-BMorBxWJ-Bk3io0dy.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-6dSPWwUH-BNmql1oS.js → UncategorizedAccountsMappingPage-BtmfySl9-ChDGqLCY.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-CQz8bAr--Be6E8wgt.js → UnitIntegrationPage-ByqJQgJ1-DOZOjWB7.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-qVx1t-kK-BfnzSXgO.js → UploadAdditionalDocumentOverlay-Dwv3x7HQ-DAFruYVO.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BwICX5Jo-DRxdFSoT.js → Vendor2FAPopup-BVCUSOMr-DusuQd4O.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-U9vQ2YO1-C3wP_7rP.js → VendorACHDetailsPage-Cyp1bTJx-Bb_u0lQ9.js} +1 -1
- package/dist/assets/{VendorDetailPage-v3AJufvV-B6BEQrJw.js → VendorDetailPage-1_rVoehK-Exna90A5.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-DY5Enpxz-CMAOISi3.js → VendorDomesticWireDetailsPage-B0wv2GP--CBJnbhVR.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BJ1K4EB2-CnqK8eQN.js → VendorFiling1099EditablePage-C5rHkQrV-BGIvQipF.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-Dqu2JeBh-BTSOdkvj.js → VendorFirstReviewPage-CDlmZHmw-QoRtPJE2.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-B3jL5IpJ-Ge2HUtcT.js → VendorInternationalWireDetailsPage-Cdy000Jx-J6b7bfbg.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-OyW2sXjN-BaDu_Rbp.js → VendorInternationalWireSwiftDetailsPage-DRN-5n5Y-CNM_VAVJ.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CnVky8J2-BnxyHrsh.js → VendorsAccountsSection-Ba7QpWAm-CKQDggOk.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-Bc8HwhJZ-CoRSEL1r.js → WarningsDrawerPage-DCUPzxfi-BYSPfHfW.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-I3Qn-mIV-D6WbzhnA.js → ZeniAccountDetailPage-DF7Tn3t3-yyv_Cgn9.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-BFUoGrvu-CvFvWDHE.js → ZeniAccountListViewPage-Cz9v3TCo-D-RvbaDA.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-BSObmR0D-w7GK2i5h.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-B_Kt_gIx-BmUo-cHo.js → ZeniAccountPromoPage-D7veJGZk-D-YrsEI2.js} +10 -10
- package/dist/assets/{ZeniAccountSetupPage-BvzXgVNr-Cojq6XAe.js → ZeniAccountSetupPage-ftl559Pj-C-xIgDUh.js} +1 -1
- package/dist/assets/{ZeniCopyright-B5gFkT_K-Bd1To88b.js → ZeniCopyright-BScA_p2_-CnTtKSEg.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-dNQVv3xh-Dj4F9WJ8.js → ZeniTransferAmountSlider-Bu23FZCA-BlrXEMp9.js} +1 -1
- package/dist/assets/analytics-BSSiLa6f.js +7 -0
- package/dist/assets/{analyticsHelper-DaI4EFSR.js → analyticsHelper-C8rNMzIR.js} +1 -1
- package/dist/assets/{analyticsHelper-CiRIn2W--BxtgqDE2.js → analyticsHelper-CGq-fGOi-peFW_WyF.js} +1 -1
- package/dist/assets/{chartTypes-om8APqYr-BLTaCwIq.js → chartTypes-ChsIdl40-BE86tbr4.js} +1 -1
- package/dist/assets/{commonDimensions-CnEuBCL0-BaKrm6VO.js → commonDimensions-Dk1fkj7r-DLRSQmNd.js} +1 -1
- package/dist/assets/{detailCommon-B8snZE0k-CD_QEBke.js → detailCommon-BdiFpATU-WeUxnZIy.js} +6 -6
- package/dist/assets/{downloadPdf-UYNSbWcH-CCjYi8d_.js → downloadPdf-h21F3Bzk-CjxZKaAj.js} +1 -1
- package/dist/assets/{index-C5RQ_I4f.js → index-C0q2xQ43.js} +3324 -3364
- package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-Ct5Hw9GL-CIhY2PIH.js → mapLoadingInProgressToTreeNode-Bimz-BOL-Dlsg7XHk.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DAi-q9qz-uRnsjJzp.js → mapSectionWithAcOnlyToTreeNode-Dy2RH2lH-Bxhhy_dm.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-NdVrr_Rq-h2jl1W7n.js → mapSpacerToTreeNode-CadZGfr8-CsWvhMid.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Bq1k2j24-C-EGB4JJ.js → mapTimeframeBalancesToTreeNode-BvXiirfs-D7NlfjoQ.js} +1 -1
- package/dist/assets/mui-BgvZYSo0.js +22 -0
- package/dist/assets/{play-icon-cU_HA46u-DKk-rWaT.js → play-icon-DD7TfH-R-B2AdmUNp.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-D8CsJNcd-D3oEVThj.js → toCOABalancesWithID-Dy9J_UtA-GKQFY-wL.js} +1 -1
- package/dist/assets/{toChartData-DUoI4wMR-BpwvMCd8.js → toChartData-BdomEAJ--DBqHs0fD.js} +1 -1
- package/dist/assets/{treasuryColorHelper-X9PYqjk_-B0f97nM8.js → treasuryColorHelper-D2LtJllD-BWyq3ShU.js} +1 -1
- package/dist/assets/{uploadAttachment-BHcSLQXP-Dd6nHf0l.js → uploadAttachment-C5PL0FaC-qWy-M3Ai.js} +29 -29
- package/dist/assets/{uploadReceipts-Buvz7DfG-TsfYrPiB.js → uploadReceipts-BH9fi3Vt-Bn1YAl68.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-DygdgdmU-DOUY2WTN.js +0 -18
- package/dist/assets/AccountRow-CpUAoVFw-BuMEboIn.js +0 -298
- package/dist/assets/BillingSettingsPage-CqFQk_xm-Wzi8-Pxm.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-Bo9JcC7R-D0jNWqxU.js +0 -1
- package/dist/assets/ChargeCardPromoPage-CIboCUSV-y-DLxjGT.js +0 -190
- package/dist/assets/CheckDepositDrawerPage-K9NmaIpu-DOGNQqAq.js +0 -206
- package/dist/assets/ConfettiBurst-Bvvql-8k-BorMAewb.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BsErtHzd-BdcZe_io.js +0 -1
- package/dist/assets/CustomerOnboardingPage-C1pKcpFC-CGanCl6o.js +0 -107
- package/dist/assets/Dashboard-CyZG5DEY-C3KfWHk8.js +0 -1251
- package/dist/assets/DomesticWireDetailsPage-BbmbS2h3-Ch-Vtjq-.js +0 -21
- package/dist/assets/EditPeoplePage-QsjUi5_S-DkWH1BmJ.js +0 -55
- package/dist/assets/HelpButton-DYFzwkI3-Cel7B9gC.js +0 -28
- package/dist/assets/InvitePeoplePage-CV75uhrr-B1Hdsrwm.js +0 -12
- package/dist/assets/LabeledDocumentField-IC75UO-m-BR65Je6h.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-DRdoEEXa-ihK1IWBq.js +0 -59
- package/dist/assets/NoDataChart-CEPkoKCh-CJB-ycSI.js +0 -26
- package/dist/assets/NotificationsListConfig-8oQmiFyf-BOGk1_4Q.js +0 -1
- package/dist/assets/StatementsPage-BEBaWRll-Dv0qqBwe.js +0 -58
- package/dist/assets/TaskManagementPage-IrjSDISn-Cdu4CkH2.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-L5acx38l-CrZfZFxd.js +0 -31
- package/dist/assets/TreasurySetupPage-COLv35Sa-D7XzYH1g.js +0 -152
- package/dist/assets/ZeniAccountNavBarPieces-B6K9Q5ca-BG64SHxp.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-C0q2xQ43.js";import{n as r,b as F}from"./vendor-CnQcJ2Lu.js";import{H as Se}from"./NavBarWithPicker-3okDhiol-Mch2cVg7.js";import{m as je}from"./analyticsHelper-CGq-fGOi-peFW_WyF.js";import{P as $e}from"./TimeframeSwitcherWithToggle-BiHAqit5-B759eYFG.js";import{a as Pe,W as be}from"./CollapsableReportTable-iMD5xyGN-Bi-fik_C.js";import{M as E}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import{T as Ce,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-Dy2RH2lH-Bxhhy_dm.js";import{s as q}from"./mapTimeframeBalancesToTreeNode-BvXiirfs-D7NlfjoQ.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-D1xKpIjp-CW5UZCib.js";import"./AccountRow-t4I1y-2K-CgC6OUhN.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-C0q2xQ43.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{z as ve}from"./SetUpAccountSection-B0J0zCOF-oWsU5thz.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-C0q2xQ43.js";import{f as ce,b as v,n as i}from"./vendor-CnQcJ2Lu.js";import{R as Ie}from"./Menu-MHZ6Ibt0-ClGVoJHI.js";import{T as Re}from"./RoleWithToolTip-CX9tF-BO-DG7wC_Jt.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-C0q2xQ43.js";import{b as k,n as t}from"./vendor-CnQcJ2Lu.js";import{E as ne}from"./PortfolioDetails-A3P3vG57-BlNZUWBn.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-D2LtJllD-BWyq3ShU.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;
|