@zeniai/web-cockpit-ui 1.13.94-dev → 1.13.95-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-C77hriAS-Bp9UERQr.js → ACHDetailsPage-CTeCxcke-DEZ1DdXH.js} +1 -1
- package/dist/assets/{AIPerformancePage-DWLZz5fl-xe6YeuvR.js → AIPerformancePage-DHndW6Jx-BmfxnNcs.js} +16 -16
- package/dist/assets/{AccountInfoPage-CHH8xpX7-OTuTPmWc.js → AccountInfoPage-DX6r16Bm-C_0exxSE.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CslCCxyA-CKIHtSb5.js → AccountInfoPageContent-DuUO6Fmo-ChKBTH6K.js} +7 -7
- package/dist/assets/{AccountReconDetailsDrawerPage-Bg65723V-z_C0MUXO.js → AccountReconDetailsDrawerPage-XjxpxHaM-BlVBZ7kJ.js} +1 -1
- package/dist/assets/{AccountRow-CBhTc-CO-BhHbolQV.js → AccountRow-BUDNnxLp-lnjPiXai.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-C1FN6ldb-CTHlY162.js → AccountsPromoCardStack-BkYuVRiC-CxxRy5F_.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-DKbwVrFG-IuCuUpQj.js → AddAddressForCardDrawer-CaKymF5H-Dj9EwadM.js} +1 -1
- package/dist/assets/{AddToWalletPage-BLH7hMIs-p7f4w_jj.js → AddToWalletPage-CO_ranRc-Y0gvdbgy.js} +9 -9
- package/dist/assets/{AgingReportsPage-iXp5N9xa-BuwByTSa.js → AgingReportsPage-CmvGohzQ-CnwGJP78.js} +4 -4
- package/dist/assets/{AllUserItems-SiwAGR6X-CB3qDmMz.js → AllUserItems-Bcd_lx2s-D5cL7TJF.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-CSv-Yx3u-CQfdnkLR.js → ApAgingDetailPage-B6h9L4qX-C7HrCT0Q.js} +2 -2
- package/dist/assets/{AppBasePage-BVhJh2iM-DhwgHBUl.js → AppBasePage-bPmQIx1U-LDUbxoeo.js} +1 -1
- package/dist/assets/{AppDrawerContent-TBHNokFo-a7xFQjLd.js → AppDrawerContent-D4e_1ju1-Dhj_wy1v.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DmPsbDZd-DdnQZTKs.js → ApprovalRulesSettingsPage-D7d0RwUR-D1d_wH6A.js} +1 -1
- package/dist/assets/{ArAgingChart-CPyAljB5-C1xslsyT.js → ArAgingChart-CfBXj53W-SUndSl9y.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-BLc5FDm2-BOdfR_tV.js → ArAgingDetailPage-D-HZa9vX-DvZl4P3_.js} +1 -1
- package/dist/assets/{AttachmentView-sMKTopf8-CQuqGqLW.js → AttachmentView-BF2v7v3I-BI4HJynu.js} +1 -1
- package/dist/assets/{BankAccountSection-DoGfRREZ-B2ezqzYk.js → BankAccountSection-Cm_J2y31-CDMRL_3y.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BhSSRCzK-DNfJcwlK.js → BankAccountWarningSection-BnsmtuKk-DP1_s4k_.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DIKMwQoQ-OeAXgZvH.js → BankConnectionsSettingsPage-BawBUQ6M-CMfekVh9.js} +22 -22
- package/dist/assets/{BillDetailPage-DSYeib0o-BwJVgfN9.js → BillDetailPage-DFHM1n3a-CZEScqpR.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-DDFr9CL_-CYlqmWUc.js → BillPayApprovalRuleDetailPage-PGRG0N6y-BxcnUNyI.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-3Yak-MB--CaAqhGEn.js → BillPayApprovalRulesPage-ByawtRCM-DDp-vV61.js} +1 -1
- package/dist/assets/{BillPayPromoPage-nRvSJMZU-aGHL9LIB.js → BillPayPromoPage-BvA5aJV2-CaYtY57T.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BWrp4v6b-DQFkIYKy.js → BillPaySetUpPage-D4dtDoPF-pJA12_gD.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DtBZmdxq-BCytA-g_.js → BillingSettingsPage-C0c3igP5-ap-9LOcf.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DCz41OgH-BEoVAqH0.js → BillsBulkReviewDrawerPage-ChobILB2-GJEoEUgd.js} +1 -1
- package/dist/assets/{BoxItem-DBi8kqn3-BDAOAuEh.js → BoxItem-qV71vsVl-DibKZa0V.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BfPqcCH3-Dr7d8VRo.js → BusinessVerificationPage-CYL-J6jv-Dor_XGL3.js} +1 -1
- package/dist/assets/{CardNumberSubText-CkmaTF_l-Kwic4R2k.js → CardNumberSubText-BkMaMdcB-ChxBB6AF.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BlcEXdet-B9yAfRkP.js → CashbackDetailPage-Bkvu7uCA-BYpe0YrA.js} +9 -9
- package/dist/assets/{ChargeCardDetailPage-BARovLsv-j69HZx4R.js → ChargeCardDetailPage-B8JhA6aM-0cEMZGgL.js} +1 -1
- package/dist/assets/{ChargeCardListPage-C1XbbZJ2-BE2YBCij.js → ChargeCardListPage-DayFsVdx-7umY7GOL.js} +1 -1
- package/dist/assets/{ChargeCardListTable-HXAc8Lqx-wKEbgM6d.js → ChargeCardListTable-Ck15ShIF-B2Jd56oy.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-B8aTlJ8l-5K-z8G1R.js → ChargeCardPromoPage-ZvHc9uZ8-BCAw2lta.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-XI-WplXI-vUgUcPsh.js → ChargeCardSetupPage-QROShfxq-C4kf_hhx.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CYopWAg4-fr_o5tML.js → ChargeCardStatementsPage-DlFimewo-dsUOLazz.js} +1 -1
- package/dist/assets/{ChargeCardUtils-BEtXxds6-iY4L_brM.js → ChargeCardUtils-Buf1Xa4X-CfiY3Rp3.js} +1 -1
- package/dist/assets/{ChaseOverlay-BySoceqB-DYKQzq4d.js → ChaseOverlay-Cp5-sc7K-q-w46Qrq.js} +2 -2
- package/dist/assets/CheckDepositDrawerPage-ClJh5smc-CaqzSYGu.js +206 -0
- package/dist/assets/CollapsableReportTable-CKu2AawV-BR9Jh8-F.js +2932 -0
- package/dist/assets/{CompanyOfficerDetailsSection-QQIIHW41-xH4MKkl5.js → CompanyOfficerDetailsSection-CHi8zT6M-2vvUSfpo.js} +1 -1
- package/dist/assets/{CompanyPassportCard-D2b6Ztes-ot6tMI66.js → CompanyPassportCard-DW8AIAcy-ChQaVIG_.js} +1 -1
- package/dist/assets/{CompanyPassportPage-Bkd2l8Xj-psAfEsoz.js → CompanyPassportPage-CG1U8xfQ-z31zr_09.js} +1 -1
- package/dist/assets/{CompleteProfile-DYv1reCa-3AIo6bvw.js → CompleteProfile-Lnfcm8Mq-A9UckRww.js} +1 -1
- package/dist/assets/{ConfettiBurst-CDUVssuw-hjqW22eh.js → ConfettiBurst-Ca6cfnuf-0CP5GWxx.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-mlx8B4Jv-DUHw5PtN.js → CreateOrEditVendorPage-BuBYOkXS-C5Z5SPL2.js} +5 -5
- package/dist/assets/{CreditCardPaymentDrawerPage-DBTT4Ptu-Dc8GvYzf.js → CreditCardPaymentDrawerPage-8d6cEGBi-DeW_T_vn.js} +6 -6
- package/dist/assets/{CreditCardPaymentPlgSection-CH8Ic2sK-CXQECn24.js → CreditCardPaymentPlgSection-B9DUkdWm-rJN3aibi.js} +5 -5
- package/dist/assets/{CurrencySelectField-BpuAi_Wp-COgh-Qif.js → CurrencySelectField-BUtL_oMC-vjfdBgAC.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CJn_cLk6-D6OFbgAy.js → CustomerOnboardingActivationPage-BZIt8djd-6s7QTCQc.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DLE82ybr-CRS91glj.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cr10sdrX-B55KDkTQ.js → CustomerOnboardingDetailPageSkeleton-n8n9mzuh-1Pj7fv61.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-9Jl0VpUx-BiS5ICyP.js → CustomerOnboardingNoStepsPage-f_PloOrf-B7YeJUhG.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-OCG7AjuD-DJnYkmg8.js → CustomerOnboardingPage-B_vGVChf-BBpgC_P8.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-vXKRghjP-hldhfPSg.js → CustomerOnboardingProductSuitePage-hXloSEH1-tV_sIlVM.js} +1 -1
- package/dist/assets/{Dashboard-BOJNXopc-byUhih3W.js → Dashboard-DN58fmab-BSfq0dju.js} +1 -1
- package/dist/assets/DashboardReportPage-DIx6h5UA-DE9i6tXD.js +370 -0
- package/dist/assets/{DepositAccTransactionItem-BVGKoyyZ-CtkDwopW.js → DepositAccTransactionItem-DNv9nV2t-sabH0i0g.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-kkdrU5Mo-3snjZA89.js → DepositAccTransactionListPage-CWEabc_8-D6J4mdt4.js} +1 -1
- package/dist/assets/{DocumentSecurityBanner-C_LxmFZ8-Bt6Lz_p3.js → DocumentSecurityBanner-B6VGrs_d-jwQl4fBm.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BhE0GcbL-CklyzXqp.js → DomesticWireDetailsPage-BYIbT0cd-MsB82_Nr.js} +1 -1
- package/dist/assets/{DownloadOverlay-LH6MXphu-kt8sJEjY.js → DownloadOverlay-RhRX-Goq-0pJzo8tq.js} +1 -1
- package/dist/assets/{DrawerPage-C3wbST4Q-CLJNN7bG.js → DrawerPage-C01myF5D-L_T-Mi_O.js} +1 -1
- package/dist/assets/{EditPeoplePage-C53vRVhe-BSK-mQZ3.js → EditPeoplePage-BMm08q5E-B2z1Cy4i.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BBQIYJrj-a2qRFgyX.js → EditReimbursementDetailPage-C5FnQpPh-sK_g6wjY.js} +1 -1
- package/dist/assets/{EntityDetailPage-Ba0fzVNR-DpkKGCO_.js → EntityDetailPage-BkpeRVR1-B6XILqHa.js} +1 -1
- package/dist/assets/{EntitySummarySection-DA6Vsjwj-DPw5fEaJ.js → EntitySummarySection-DpxcfRng-Umu6Fw_D.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-glEgQT6c-Dj_Wb6rt.js → ExpenseAutomationOverviewPage-BJ1ba0Oz-BAbt9eHm.js} +3 -3
- package/dist/assets/{ExpenseAutomationPage-CsJiE1ap-BnkOrNDa.js → ExpenseAutomationPage-C7GKFlgt-B1fB3w-U.js} +3 -3
- package/dist/assets/{ExpressPayPage-i9LGeqy_-wmqq-4AX.js → ExpressPayPage-pgy9CEaP-C4tOK1_E.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Bl2C_tQd-DJQ0amFl.js → FeaturePreviewPage-Bpnn3Eao-DWGadm42.js} +1 -1
- package/dist/assets/{FollowStepsSection-KcgZahKS-BPKITv3B.js → FollowStepsSection-D4Do4Mtd-Bgez_ajJ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D2NH1omi-CTNsB5Nb.js → GlobalReviewListPage-D_50hOfK-D74gQQCX.js} +8 -8
- package/dist/assets/{HelpButton-YqQNv-UM-CruBHlAV.js → HelpButton-BBLa-U8R-5BfdLJDT.js} +1 -1
- package/dist/assets/{InformationCardStack-OhjUoNBj-DBwYrPQy.js → InformationCardStack-CNCEEO1z-BPT-WizN.js} +1 -1
- package/dist/assets/{InsightsCardStack-CDrOBeoJ-DTHqugyU.js → InsightsCardStack-BangbyzX-C-dfE00z.js} +1 -1
- package/dist/assets/{InsightsSection-CBaItqYN-Dz4Ilz30.js → InsightsSection-DNfDisn9-CMHRFpDc.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CuPS5otW-BirDKZz3.js → IntegrationsSettingsPage-ColuS6Tk-CdBeqhKb.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DQsW7Uzb-CUGMa7hJ.js → InternationalWireSwiftDetailsPage-BG4x1tCL-5AAkqkwh.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-BE1xcmQo-s1fsXNah.js → InternationalWireVerificationPage-B22ThS6Q-B85Ehc7_.js} +1 -1
- package/dist/assets/{InviteFormPage-CUDsc0Y3-BT3er91i.js → InviteFormPage-Cixm85d1-N6lcykk5.js} +15 -15
- package/dist/assets/{InvitePageListView-DJildrs1-BRenHpuK.js → InvitePageListView-DBcwM1lk-DLgO5vEV.js} +1 -1
- package/dist/assets/{InvitePeoplePage-6upCRZjT-Cy37Dy58.js → InvitePeoplePage-DIq28HlK-DxgsZvQF.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-CyacFv78-bjw3W0fU.js → InvoiceUploadSection-D5vmrKLq-CaJvqPBS.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-6iTrYJEM-BjNouHGB.js → IssueChargeCardPage-DjW6ZTWB-DVAoNzJY.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CDy1Q4J--CkXQxeFy.js → LabeledAddressValue-CDidTB7_-BYCZE34N.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DbR_ehJJ-kXFBzBc8.js → LabeledAddressValueField-CVVc36IB-mrR3y5nG.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CXNDX5oe-Cc00saAR.js → LabeledControlledCheckBoxField-CGN805d2-BvA9NcSn.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B_TreAUT-DzJBfD6q.js → LabeledCreatableSingleSelectField-PunIRbD6-DSy2bCTv.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CUTXDuQL-CB7-inDg.js → LabeledDocumentField-DgGIyJH_-hDHBkxrT.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-yPu_zrn8-f9OAJ2TU.js → LabeledDropDownFormattedTextField-BDVtmFqG-j2xXgXWn.js} +1 -1
- package/dist/assets/{LabeledText-gvxUV2ku-Cf06N418.js → LabeledText-BW7VKf6E-PGkPpMVO.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bh1Ts3Yn-DTgSGsxS.js → LabeledUserSingleSelectWithSubtitlesField-Cmc8qo-r-M7EEhfxE.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-xA0_8wFb-Dd3nBqBN.js → LabeledZeniRolesDropDownField-Cl6BAapU-DdwZAoZU.js} +9 -9
- package/dist/assets/{LinkJETransactionPage-f4-YwvQe-D8ooeWsr.js → LinkJETransactionPage-CtYsRhte-gAytw1dS.js} +1 -1
- package/dist/assets/{LowBalancePopup-C7oCDqcx-2Rje4uhG.js → LowBalancePopup-C_c9t4ho-r8GHfwbA.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-Bqe3RDsV-CZa4p9hj.js → MagicLinkACHDetailsPage-KZmNuH71-eLFzvgps.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DPU-8FAH-CSBTwaek.js → MagicLinkDomesticWireDetailsPage-DCkibDQs-DjBoqAab.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DeXZfP0h-D3k-uGEY.js → MagicLinkInternationalWireDetailsPage-CR1BJE-p-BVc964tl.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CArToNjz-DqyiFP-T.js → MagicLinkSuccessPage-D9VscY-N-BvVpg8o7.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CP0OhLNZ-BeBei-_2.js → MagicLinkTitleSection-DwxRtyUO-Dj3CNxLB.js} +1 -1
- package/dist/assets/{MailingDetailsSection-TgN7VRhK-CYe74YT_.js → MailingDetailsSection-B3AtsI4y-Cg3vKD8Z.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-vr7DE2aj-DAZs4R6M.js → MeetingCalenderPopup-5ibEhgcm-p1sBC8Am.js} +1 -1
- package/dist/assets/{Menu-DNn9-W-C-DaYpba-h.js → Menu-B3jEZq8P-CBWyxFfA.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-TawXQ1Zb-BllmvVI4.js → MyBankConnectionsSettingsPage-BLqGgTGR-DFR7-MdN.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CPgV9E8n-BAkl0Cop.js → MyPendingActivationChargeCardListPage-GXGFSZqe-DQBMtuje.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DuXTV0pM-5CplCRBg.js → MyProfileSettingsPage-CwBD0rUF-Bso1ueKy.js} +1 -1
- package/dist/assets/{NavBarWithPicker-Cdali7jG-B142_aE-.js → NavBarWithPicker-wTsy1SAG-B0aq1ozI.js} +1 -1
- package/dist/assets/{NavigationArrow-DaoZtCA8-BHc3euQ9.js → NavigationArrow-PxVotVGU-BN6LQQ8z.js} +2 -2
- package/dist/assets/{NavigationDots-BhF2AV0Y-DUHF5KEe.js → NavigationDots-BhLlf9IS-Cc6rFgNx.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BaoJ7yB8-BF04eMSd.js → NewGlobalMerchantPage-BnXD_AkF-7b5iQIvJ.js} +1 -1
- package/dist/assets/{NoDataChart-IPJ1xGPZ-BKJQDDL9.js → NoDataChart-DLfKZ9J--1T9pg2HM.js} +1 -1
- package/dist/assets/{NoDataTable-D5U81gbD-BirLBEpp.js → NoDataTable-BRKuhxS0-sx0oHeyw.js} +1 -1
- package/dist/assets/{NotFoundPage-C7BswX2A-DQWUyCMU.js → NotFoundPage-BD417YGL-rToNH_nB.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BQyqFWby-GjMlWRuD.js → NotificationSettingsPage-Mb9ed249-CQss7Tea.js} +1 -1
- package/dist/assets/{NotificationsListConfig-kLqWFg2Q-DecPdYAb.js → NotificationsListConfig-CISUs4yA-Up6zrNe0.js} +1 -1
- package/dist/assets/{NotificationsPage-DjRkTZVT-udgcPcnZ.js → NotificationsPage-WTGOES7C-D5gXR2ud.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CSasi7Uo-CoBJ4a1U.js → OpExByVendorPage-D4Ur1QRV-CtpvGOvR.js} +6 -6
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-CokciX1J.js → OverlayContainerPage-C0rUb6-5-DLDjA1WL.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D8YwSYiz-BlQ8i7AP.js → PandLWithForecastPage-DSvdGyym-C1hZzOpv.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWwcQZfk-DK-YnIzr.js → PaymentAccountSetupBillingAddressSection-Bs8f-d_P-BeYSvOrY.js} +1 -1
- package/dist/assets/{PeoplePage-mrXiZ4VG-Cp2NcBr2.js → PeoplePage-ByFdUCgV-C-dQ5ifc.js} +17 -17
- package/dist/assets/PortfolioAllocationFormPage-BY5JJCu--Db_AJDDA.js +207 -0
- package/dist/assets/PortfolioDetails-Du2wncho-DR6hA4On.js +218 -0
- package/dist/assets/{ProductsCarousel-DpevGHyq-M7sMCRPA.js → ProductsCarousel-6mui8g8D-BXwmVYBD.js} +1 -1
- package/dist/assets/{PromoBaseCards-BreO0rHq-CmneT-LE.js → PromoBaseCards-CASb_Nf9-BmTbWgM7.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BCWc6AK--ExlTvgR6.js → QBOConnectionDialog-AF50P_eR-DhzipR7w.js} +5 -5
- package/dist/assets/{QBOSetupSection-D_doa7hh-C2_irMwi.js → QBOSetupSection-hObNFdKz-3XFNnwv5.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BSFxsbcx-5oswA6u0.js → ReimbursementApprovalRuleDetailPage-NuprN06r-BkFlu4jO.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-X9bJFM6L-DS04bVT9.js → ReimbursementApprovalRulesPage-DP8frTz1-BIghkZwb.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BJmSB65P-B9Io-y6T.js → ReimbursementDetailPage-B9F6pND6-DNevCo1s.js} +3 -3
- package/dist/assets/{ReimbursementPromoPage-DO7dI9S7-IIxWWc2q.js → ReimbursementPromoPage-CUNbpcAP-BJXAeXWj.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Wjj6aNpc-BXv92xHK.js → ReimbursementSetUpPage-ihfYAhDw-BJyrWltl.js} +2 -2
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-GPuEjGqi-qY4F19Li.js → ReimbursementsBulkReviewDrawerPage-CafTodEa-vUUwSS79.js} +1 -1
- package/dist/assets/{ReloadCard-cApojDpl-BTIiWZRj.js → ReloadCard-aQ5Ma2ne-srF7XfGP.js} +1 -1
- package/dist/assets/ReportTableViewSelector-CjZe9dc3-B94C9OUt.js +150 -0
- package/dist/assets/ReportsPage-PDTasuAQ-CD592IPM.js +121 -0
- package/dist/assets/{RevenueChart-xoOc_3W3-Dzhhcd2T.js → RevenueChart-CJYsWcyb-COXSVzci.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CF-R6wwN-BMnS8ktk.js → ReviewDetailsPage-47Qg28PV-DD0ehHxI.js} +8 -8
- package/dist/assets/{ReviewOverlay-Bora7h_H-BkZGLYKt.js → ReviewOverlay-DvYSZ8u9-D1sec7oa.js} +1 -1
- package/dist/assets/{RoleWithToolTip-k62RaqAZ-Bav1TewG.js → RoleWithToolTip-DoD_vW-E-xeMdlQFI.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bd6qfpob-BxOEwKtI.js → ScheduleDetailsFixedAssetsPage-BMX7jbBN-B126g4bO.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-scOS36lS-CAMrRW5Y.js → ScheduleDetailsPage-CNtV2SVn-Ddz0O5ah.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BIhbFnjb-DCpkIU0H.js → ScheduleSequenceTable-CMrsG_y3-ZI5_od4y.js} +1 -1
- package/dist/assets/{ScreenRoutes-C1ZbXccz.js → ScreenRoutes-Xqggk2Tm.js} +1 -1
- package/dist/assets/{SetUpAccountSection-ehZfUFEf-BgFNCBNu.js → SetUpAccountSection-D3nUQAk8-DKZLa9Zq.js} +37 -37
- package/dist/assets/{SetUpDefaultSection-DnYtx3XN-CNoT73Ow.js → SetUpDefaultSection-C2MgZHUf-x0_RVnLC.js} +1 -1
- package/dist/assets/{SignIn-k9MFplB1-eud7vdJb.js → SignIn-Bud28HbX-Xl-uNzmG.js} +1 -1
- package/dist/assets/{SignInScreen-CqP6hQef.js → SignInScreen-BV0zmhf7.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B11exjM8-CE2MaiYn.js → SpendManagementListViewPage-B8R0PEMD-BbaRv050.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-ByXU-omE-DWwC2JuF.js → SpendManagementPerTabPage-CTdgMCHu-CAOhzan7.js} +1 -1
- package/dist/assets/{SpendManagementSection-CAewVL0Z-GsJe1fhq.js → SpendManagementSection-CnD0V00y-Dmq0cMig.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-BY2LT0qv-CgVflLnR.js → SpendMgmtSetupAccountSection-D7LHyfpa-46XD5tWn.js} +5 -6
- package/dist/assets/{StatementItem-BJoMxmJY-BVhb_2i3.js → StatementItem-Dn796WZD-1Rb-SXfR.js} +4 -4
- package/dist/assets/{StatementsPage-C_O76V3t-DoehdMaa.js → StatementsPage-L75Co_mK-C_J6xieF.js} +1 -1
- package/dist/assets/{StatusSwitcher-39NGxygM-8g3Kr8Ie.js → StatusSwitcher-CxbcO6mR-C4PCbece.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BcL8UKX8-CtPS6-C1.js → SubTabSwitcher-mCKmnU9--jUtM0Bft.js} +1 -1
- package/dist/assets/{SummaryCard-VT7YJ6jy-DeCNM95f.js → SummaryCard-BoA0mdbI-C3rDEBSG.js} +1 -1
- package/dist/assets/{TaskManagementPage-p-3BLn0_-TCdTn4Be.js → TaskManagementPage-CbSLSOpI-BFGgqlJt.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-Cjs5znYy-Dn_2XKTn.js → TimeRangeSwitcher-DIszv8B4-D-1vIZUO.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BJrFD5A7-CapG6nwB.js → TimeframeSwitcher-C8tn7HgF-Db6tSjO9.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CrWRqA_S-Bvp4VoyC.js → TimeframeSwitcherWithToggle-DqvG5zv2-DqYusAPI.js} +1 -1
- package/dist/assets/{TopExCard-DAwlJbbc-Ch08mChi.js → TopExCard-B2pg-xWB-DR721esp.js} +1 -1
- package/dist/assets/{TopExDetailPage-BgUJytuV-V8CGIoou.js → TopExDetailPage-Ch-SwhrE-C3B3fW9M.js} +1 -1
- package/dist/assets/{TransactionDetailPage-C8yIuCvF-lo-j_-eB.js → TransactionDetailPage-4ehnnMwj-CxGtpuw5.js} +1 -1
- package/dist/assets/{TransactionList-DG-KZUjZ-CV9wox71.js → TransactionList-Bds8YVxl-eo-qwfAU.js} +1 -1
- package/dist/assets/{TransactionListBig-iGiOjwVK-Dc9vBqnr.js → TransactionListBig-YrccrGWK-DQRVfhmg.js} +1 -1
- package/dist/assets/{TransactionListPage-C9Z_z4mC-UBhyOHuK.js → TransactionListPage-EBZJJ3Bb-C5h_p4zd.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-5uo1FPul-BOddX9Sk.js → TransactionVendorDetailPage-DIvXenmH-BygJi1pY.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BKzo-4Wj-D-t2nTop.js → TransferDrawerPage-CK9V-5BR-DZ9c1lfC.js} +20 -20
- package/dist/assets/{TreasuryOverviewPage-C6kTg0L3-DDk4OCh2.js → TreasuryOverviewPage-Dhm7htH5-BUj5D_CB.js} +3 -3
- package/dist/assets/{TreasuryPromoPage-CAS0pdES-D8v7EASC.js → TreasuryPromoPage-CiE4S4u6-qiSczFzX.js} +1 -1
- package/dist/assets/{TreasurySetupPage-CcLiQWOT-B7yrMsSh.js → TreasurySetupPage-WygAmXcw-WQiA9bVD.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-Dm-3SPtA-C2bOR_YK.js → TreasuryStatementsPage-zycSYzUL-CE8VEsG8.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-0RsINpqA-DJWdIr-H.js → TreasuryTaxLetterPage-l_CSMKSV-CFFwa7b-.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-C_4CQVIe-BOkn6wNn.js → TreasuryTransferOrReviewPage-CkHJE0PT-CVfr6xd-.js} +7 -7
- package/dist/assets/{TrendChart-CkPRxjLa-ClAmXRdb.js → TrendChart-Buu-BMJt-1SixfBeO.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DJYMqIOI-wnxxIB4C.js → TrendWithTransactions-C6sLZFPh-CJcdwvxU.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-BapLceo--CgdItlB5.js → UncategorizedAccountsMappingPage-Ct1KSgHe-BkPn1VDr.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-C9zNzH3B-gVQYcxZB.js → UnitIntegrationPage-DeG7GwFV-BTOJ5_nM.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BNaV6i2S-BuH4CmLJ.js → UploadAdditionalDocumentOverlay-BBEBrd1k-C8YmGx6j.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-_Cn9FJ7D-cKAPYes9.js → Vendor2FAPopup-B2qGbIlK-CbqUscDE.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-B1vHY6rG-VScnw-FL.js → VendorACHDetailsPage-CIb3Lffi-IjDSrk-_.js} +1 -1
- package/dist/assets/{VendorDetailPage-Dkl7AlIZ-5XPeaOqt.js → VendorDetailPage-DrZlWYNf-CitGu9Ha.js} +7 -7
- package/dist/assets/{VendorDomesticWireDetailsPage-Co8Uc_OS-I5CTiy_-.js → VendorDomesticWireDetailsPage-BGfsxhx5-BBlyKElB.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-M0gQJLkE-DzG8EXIY.js → VendorFiling1099EditablePage-DpYIPFDo-Cny4xMig.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-Bte87pqn-DeG8_h9I.js → VendorFirstReviewPage-JJMuxJAj-CEkUZQNo.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DdfkKEFx-sHwHhQTJ.js → VendorInternationalWireDetailsPage-B7IVMovj-B5VUl76d.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CtQifsRT-BsMO6lfl.js → VendorInternationalWireSwiftDetailsPage-C7y7HA0_-iAtQaOvZ.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CxyObm3T-BgRsSYOY.js → VendorsAccountsSection-CKizD1gN-BJJ_j-nc.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-D5nPLGJh-5sMWIR75.js → WarningsDrawerPage-REjc7j42-TgqIuesy.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CKS9mcn3-BBMilYy5.js → ZeniAccountDetailPage-BYQt_cqt-B9TUZXOz.js} +3 -3
- package/dist/assets/{ZeniAccountListViewPage-CORl7azj-By_13T1c.js → ZeniAccountListViewPage-DPLQmd2c-BJzMmpCX.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-88z7CFPI-kEgSzIRo.js → ZeniAccountNavBarPieces-CB_hOCVm-Dgt-KBoE.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-Car62P8Q-Bdd82q-1.js → ZeniAccountPromoPage-DjbDqqNB-DbFXyEm9.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-B5uOzSDL-B_JyTC9y.js → ZeniAccountSetupPage-BKgmStQ8-DvOkzvTm.js} +1 -1
- package/dist/assets/{ZeniCopyright-BcMyDAdQ-B3RH4DR7.js → ZeniCopyright-gnzM8wV--B3wiitHw.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Css3_ojA-DueYRoaC.js → ZeniTransferAmountSlider-D5uBFeau-CCzhbeOi.js} +1 -1
- package/dist/assets/{analyticsHelper-X-GRY9hH-MGNhQKMp.js → analyticsHelper-Cdzg4Zjw-BD3QBCs9.js} +1 -1
- package/dist/assets/{analyticsHelper-DsBQxHgn.js → analyticsHelper-g-8qlEdt.js} +1 -1
- package/dist/assets/{chartTypes-C5XZr0AA-C8J0rp67.js → chartTypes-BTdgphvt-COUgSR4v.js} +1 -1
- package/dist/assets/{commonDimensions-DBedC6J7-SSiZbAOc.js → commonDimensions-Ctzi29iY-mgtHXo4p.js} +1 -1
- package/dist/assets/{detailCommon-CIjWXBC2-K-4pS5u-.js → detailCommon-SwpJm2mb--HDCa1ev.js} +3 -3
- package/dist/assets/{downloadPdf-B21yi0DO-ZMTPTkC7.js → downloadPdf-YcATpN2g-D3XIUalG.js} +1 -1
- package/dist/assets/{index-ji6aa7AC.js → index-QTXYT_IZ.js} +6 -6
- package/dist/assets/mapLoadingInProgressToTreeNode-C8MSAhen-AfMjxweq.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-XPbCtxen-DAUQseD_.js → mapSectionWithAcOnlyToTreeNode-C0LfGztS-DTztJDdH.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BBfTCdRQ-bgZlN15f.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClOTGsb4-B5ylNJVM.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DcljRs6K-orb0-qTl.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BL3c3wFj-BCJhDRyN.js +1 -0
- package/dist/assets/{play-icon-D7s0M2vV-zKqEqpdy.js → play-icon-DaxUpyZT-ss_3TDIT.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CWk-QcRU-Db3b2mU1.js → toCOABalancesWithID-Vfz3d1qt-Dmwd2xoZ.js} +1 -1
- package/dist/assets/{toChartData-BMMsnVqz-Cij6F0sj.js → toChartData-CiTmOVzN-DBayRNk7.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CDRG_Dxk-BbsHEkM1.js → treasuryColorHelper-BbkDcDKI-pPmAbCLc.js} +1 -1
- package/dist/assets/{uploadAttachment-5FffgOcW-DgFFpcCF.js → uploadAttachment-BLQvpBKI-CHSynwi0.js} +1 -1
- package/dist/assets/{uploadReceipts-Buvz7DfG-Dl3fgjOi.js → uploadReceipts-Buvz7DfG-D7H47NIP.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/CheckDepositDrawerPage-DOyXGzFg-BAQPRuRk.js +0 -206
- package/dist/assets/CollapsableReportTable-FShSCFEn-62FniBRb.js +0 -2860
- package/dist/assets/CustomerOnboardingContainerPage-Dln-_Yb0-BjXolAob.js +0 -1
- package/dist/assets/DashboardReportPage-Cuiynx8W-ac_35yhz.js +0 -349
- package/dist/assets/PortfolioAllocationFormPage-DAFisXnQ-DjoPfEuL.js +0 -207
- package/dist/assets/PortfolioDetails-BBOVIetI-BvRwtbCV.js +0 -218
- package/dist/assets/ReportTableViewSelector-BVUqQ9hl-WfosyobX.js +0 -150
- package/dist/assets/ReportsPage-CdiHHtXH-B1iwxprE.js +0 -120
- package/dist/assets/mapLoadingInProgressToTreeNode-CPDYMovk-DjQU3oZy.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CJ13HyFX-D7QAWDUL.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D8UCPznF-C5zbYkry.js +0 -1
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import{j as e,M as H,o as n,iB as J,q as U,d2 as K,u as X,X as Q,_ as N,C as W,bs as f,g as k,bG as q,w as A,dp as V,ae as Z,al as ee,b4 as ie,bc as se,f as ne,d4 as re,n as le}from"./index-ji6aa7AC.js";import{n as s,b as te}from"./vendor-CnQcJ2Lu.js";import{l as oe}from"./treasuryColorHelper-CDRG_Dxk-BbsHEkM1.js";const{common:o,spendManagement:{treasury:l},dateFormat:ae}=H.getLocalizedStrings(),y={portfolioYieldMarginTop:new W(-4,le[0]),sliderWidth:new W(143,177)},Oe=({isInReview:i,isSetup:r,fundDetails:m,allocation:d,amount:g,page:v})=>{const h=de(m);return e.jsxs(me,{children:[!r&&e.jsx(xe,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${l.portfolioAllocation.title}`}),h.map((a,x)=>e.jsx(ce,{portfolio:a,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:r,isLast:x===h.length-1,amount:g,page:v},m[x]?.fundCode||x))]})},de=i=>i.map(r=>[{label:l.overviewPage.fundTile.liquidity,value:r.liquidityTimeline||o.strings.hyphen},{label:l.overviewPage.fundTile.fundSizeLabel,value:J(r.fundSize,r.currencyCode)},{label:l.overviewPage.fundTile.maturityLabel,value:`${r.maturity} ${o.timeStrings.days}`},{label:l.overviewPage.fundTile.expenseRatioLabel,value:`${r.expenseRatio}${o.strings.percentage} ${l.overviewPage.fundTile.includedInTheYield}`},{label:l.overviewPage.fundTile.riskRatingLabel,value:r.riskRating||o.strings.hyphen},{label:l.overviewPage.fundTile.compositionLabel,value:Array.isArray(r.compositions)&&r.compositions.length>0?`${r.compositions[0].investedIn} ${r.compositions[0].percentage}${o.strings.percentage}`:o.strings.hyphen,tag:Array.isArray(r.compositions)&&r.compositions.length>1?`+${r.compositions.length-1}`:void 0,compositions:r.compositions??[]}]),ce=({portfolio:i,fund:r,fundIndex:m,allocationPercentage:d,isInReview:g,isSetup:v,isLast:h,amount:a,page:x})=>{const _=K().analytics,L=X(),t=Q(),j=a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,G]=te.useState(!1),u=oe(m,L),$=()=>{p||_.trackTreasuryProspectusClick(r.fundName,r.fundCode,x),G(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(pe,{children:e.jsxs(he,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(ue,{windowSize:t,children:[e.jsxs(fe,{isInReview:g,windowSize:t,children:[e.jsx(we,{children:r.fundCode}),e.jsx(ye,{color:u.fundNameColor,children:`${r.fundCompanyName} ${r.fundName}`})]}),t!=="small"&&e.jsxs(T,{onClick:$,children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:g?e.jsxs(O,{style:{alignItems:"flex-start"},children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsx(B,{children:j!=null?N("0,0.[00]",{amount:j,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):o.strings.empty})]}):e.jsxs(je,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(O,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,style:{marginRight:n.sp3},children:[r.yield,o.strings.percentage]})]})]}),t==="small"&&e.jsx(Pe,{children:v?e.jsxs(Ye,{children:[e.jsxs(Ie,{children:[e.jsxs(Ae,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]}),e.jsxs(T,{onClick:$,style:{marginBottom:n.sp2},children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}):g?e.jsxs(ke,{children:[e.jsxs(E,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsx(B,{children:j!=null?N("0,0.[00]",{amount:j,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):o.strings.empty}),e.jsxs(T,{onClick:$,style:{margin:`${n.sp2} ${n.sp0}`,...h?{marginBottom:n.sp0}:{}},children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),e.jsxs(F,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]}):e.jsxs(Le,{children:[e.jsxs(E,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(T,{onClick:$,children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),e.jsxs(F,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(be,{children:[e.jsx(D,{children:r.description}),e.jsx($e,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Se,{windowSize:t,children:[e.jsx(D,{children:o.strings.dividerDot}),e.jsx(D,{style:{minWidth:"140px"},children:c.label}),e.jsxs(D,{style:{color:c.label===l.overviewPage.fundTile.fundSizeLabel?u.fundNameColor:L.colors.primary,borderBottom:`1px solid ${L.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.sp2},children:[c.value,!!c.tag&&c.label===l.overviewPage.fundTile.compositionLabel&&e.jsx(f,{variant:"list-description",data:{title:o.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(R=>({text:`${o.strings.dividerDot} ${R.investedIn}`,amount:`${R.percentage}${o.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(Te,{children:c.tag})})]})]},c.label))}),e.jsxs(De,{onClick:()=>window.open(r.url,"_blank"),children:[e.jsx(ve,{children:`${l.overviewPage.fundTile.asOfLabel} ${r.asOfDate.format(ae.visual.MMMDCommaYYYYformat)}`}),e.jsx(Ce,{})]})]}),(!h||v)&&e.jsx(ze,{style:{width:"100%",marginBottom:n.sp3}})]})},pe=s.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
gap: ${n.sp2};
|
|
5
|
-
width: 100%;
|
|
6
|
-
`,xe=s(U)`
|
|
7
|
-
color: ${i=>i.theme.colors.hero};
|
|
8
|
-
`,me=s.div`
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: center;
|
|
12
|
-
width: 100%;
|
|
13
|
-
`,ge=s.div`
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: space-between;
|
|
18
|
-
width: 100%;
|
|
19
|
-
align-items: flex-start;
|
|
20
|
-
`,he=s.div`
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
23
|
-
width: 100%;
|
|
24
|
-
margin-bottom: ${n.sp2};
|
|
25
|
-
`,ue=s.div`
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
align-items: flex-start;
|
|
29
|
-
width: ${i=>i.windowSize==="small"?"auto":"245px"};
|
|
30
|
-
`,fe=s(q)`
|
|
31
|
-
color: ${k.graphColor34Dark};
|
|
32
|
-
max-width: 280px;
|
|
33
|
-
`,we=s.span`
|
|
34
|
-
color: ${i=>i.theme.colors.primary};
|
|
35
|
-
margin-right: ${n.sp1};
|
|
36
|
-
`,ye=s.span`
|
|
37
|
-
color: ${i=>i.color??k.graphColor34Dark};
|
|
38
|
-
`,O=s.div`
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
align-items: flex-end;
|
|
42
|
-
width: 129px;
|
|
43
|
-
`,w=s(ee)`
|
|
44
|
-
color: ${i=>i.theme.colors.primary};
|
|
45
|
-
min-width: ${n.sp7};
|
|
46
|
-
text-align: left;
|
|
47
|
-
`,b=s(q)`
|
|
48
|
-
color: ${k.success};
|
|
49
|
-
margin-top: ${i=>y.portfolioYieldMarginTop.valuePx(i.windowSize)};
|
|
50
|
-
`,S=s(A)`
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: row;
|
|
53
|
-
align-items: flex-start;
|
|
54
|
-
gap: ${n.sp1};
|
|
55
|
-
color: ${i=>i.theme.colors.hero};
|
|
56
|
-
`,ve=s(ne)`
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-direction: row;
|
|
59
|
-
align-items: flex-start;
|
|
60
|
-
gap: ${n.sp1};
|
|
61
|
-
`,B=s(A)`
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: row;
|
|
64
|
-
align-items: flex-start;
|
|
65
|
-
gap: ${n.sp1};
|
|
66
|
-
color: ${i=>i.theme.colors.primary};
|
|
67
|
-
`,je=s.div`
|
|
68
|
-
display: flex;
|
|
69
|
-
flex-direction: row;
|
|
70
|
-
align-items: center;
|
|
71
|
-
gap: ${n.sp2};
|
|
72
|
-
width: 240px;
|
|
73
|
-
`,Y=s.div`
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: row;
|
|
76
|
-
align-items: center;
|
|
77
|
-
position: relative;
|
|
78
|
-
flex: 1;
|
|
79
|
-
`,$e=s.div``,I=s.input`
|
|
80
|
-
width: ${({windowSize:i})=>y.sliderWidth.valuePx(i)};
|
|
81
|
-
cursor: default;
|
|
82
|
-
pointer-events: none;
|
|
83
|
-
|
|
84
|
-
&[type="range"]::-webkit-slider-runnable-track {
|
|
85
|
-
height: 2px;
|
|
86
|
-
background-color: ${i=>i.theme.colors.grey3};
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&[type="range"] {
|
|
90
|
-
-webkit-appearance: none;
|
|
91
|
-
appearance: none;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&[type="range"]::-webkit-slider-thumb {
|
|
95
|
-
visibility: hidden;
|
|
96
|
-
}
|
|
97
|
-
`,M=s.div`
|
|
98
|
-
position: absolute;
|
|
99
|
-
height: 2px;
|
|
100
|
-
background-color: ${i=>i.color??k.graphColor34Dark};
|
|
101
|
-
`,T=s(A)`
|
|
102
|
-
color: ${i=>i.theme.colors.hero};
|
|
103
|
-
align-self: flex-start;
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: row;
|
|
106
|
-
align-items: center;
|
|
107
|
-
gap: ${n.sp1};
|
|
108
|
-
cursor: pointer;
|
|
109
|
-
`,C=s(Z)`
|
|
110
|
-
width: 12px;
|
|
111
|
-
height: 12px;
|
|
112
|
-
color: ${i=>i.theme.colors.hero};
|
|
113
|
-
`,be=s.div`
|
|
114
|
-
display: flex;
|
|
115
|
-
flex-direction: column;
|
|
116
|
-
width: 100%;
|
|
117
|
-
justify-self: flex-start;
|
|
118
|
-
gap: ${n.sp2};
|
|
119
|
-
margin-bottom: ${n.sp3};
|
|
120
|
-
`,D=s(U)`
|
|
121
|
-
color: ${i=>i.theme.colors.hero};
|
|
122
|
-
`,Se=s.div`
|
|
123
|
-
display: flex;
|
|
124
|
-
flex-direction: row;
|
|
125
|
-
align-items: center;
|
|
126
|
-
gap: ${i=>i.windowSize==="small"?n.sp1:n.sp2};
|
|
127
|
-
`,Te=s(se)`
|
|
128
|
-
color: ${i=>i.theme.colors.hero};
|
|
129
|
-
padding: 1px 6px;
|
|
130
|
-
border: 1px solid ${i=>i.theme.colors.grey2};
|
|
131
|
-
border-radius: ${n.sp1};
|
|
132
|
-
`,Ce=s(re)`
|
|
133
|
-
width: 12px;
|
|
134
|
-
height: 12px;
|
|
135
|
-
`,De=s.div`
|
|
136
|
-
display: flex;
|
|
137
|
-
flex-direction: row;
|
|
138
|
-
align-items: baseline;
|
|
139
|
-
gap: ${n.sp2};
|
|
140
|
-
width: fit-content;
|
|
141
|
-
cursor: pointer;
|
|
142
|
-
color: ${i=>i.theme.colors.hero};
|
|
143
|
-
|
|
144
|
-
&:hover {
|
|
145
|
-
color: ${i=>i.theme.colors.primary};
|
|
146
|
-
text-decoration: underline;
|
|
147
|
-
}
|
|
148
|
-
`,z=s(V)`
|
|
149
|
-
cursor: pointer;
|
|
150
|
-
width: 12px;
|
|
151
|
-
height: 12px;
|
|
152
|
-
min-width: 12px;
|
|
153
|
-
min-height: 12px;
|
|
154
|
-
color: ${i=>i.theme.colors.hero};
|
|
155
|
-
`,ze=s.div`
|
|
156
|
-
display: flex;
|
|
157
|
-
flex: 1;
|
|
158
|
-
background-color: ${i=>i.theme.colors.grey3};
|
|
159
|
-
min-height: 1px;
|
|
160
|
-
max-height: 1px;
|
|
161
|
-
`,P=s(ie)`
|
|
162
|
-
width: ${n.sp3};
|
|
163
|
-
height: ${n.sp3};
|
|
164
|
-
color: ${i=>i.theme.colors.hero};
|
|
165
|
-
margin-bottom: -3px;
|
|
166
|
-
cursor: pointer;
|
|
167
|
-
:hover {
|
|
168
|
-
color: ${i=>i.theme.colors.primary};
|
|
169
|
-
}
|
|
170
|
-
`,Pe=s.div`
|
|
171
|
-
display: flex;
|
|
172
|
-
flex-direction: row;
|
|
173
|
-
justify-content: space-between;
|
|
174
|
-
align-items: flex-start;
|
|
175
|
-
width: 100%;
|
|
176
|
-
margin-top: ${n.sp2};
|
|
177
|
-
`,ke=s.div`
|
|
178
|
-
display: flex;
|
|
179
|
-
flex-direction: row;
|
|
180
|
-
align-items: flex-start;
|
|
181
|
-
justify-content: space-between;
|
|
182
|
-
width: 100%;
|
|
183
|
-
`,Le=s.div`
|
|
184
|
-
display: flex;
|
|
185
|
-
flex-direction: row;
|
|
186
|
-
align-items: center;
|
|
187
|
-
justify-content: space-between;
|
|
188
|
-
width: 100%;
|
|
189
|
-
`,E=s.div`
|
|
190
|
-
display: flex;
|
|
191
|
-
flex-direction: column;
|
|
192
|
-
align-items: flex-start;
|
|
193
|
-
flex: 1;
|
|
194
|
-
`,F=s.div`
|
|
195
|
-
display: flex;
|
|
196
|
-
flex-direction: column;
|
|
197
|
-
align-items: flex-end;
|
|
198
|
-
`,Ye=s.div`
|
|
199
|
-
display: flex;
|
|
200
|
-
flex-direction: column;
|
|
201
|
-
width: 100%;
|
|
202
|
-
gap: ${n.sp2};
|
|
203
|
-
`,Ie=s.div`
|
|
204
|
-
display: flex;
|
|
205
|
-
flex-direction: row;
|
|
206
|
-
width: 100%;
|
|
207
|
-
gap: ${n.sp2};
|
|
208
|
-
justify-content: space-between;
|
|
209
|
-
`,Me=s.div`
|
|
210
|
-
display: flex;
|
|
211
|
-
flex-direction: column;
|
|
212
|
-
align-items: center;
|
|
213
|
-
`,Ae=s.div`
|
|
214
|
-
display: flex;
|
|
215
|
-
flex-direction: row;
|
|
216
|
-
align-items: center;
|
|
217
|
-
gap: ${n.sp3};
|
|
218
|
-
`;export{Oe as E};
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import{u as Q,X as ie,aV as me,a as fe,j as o,m as ge,M as X,bC as ee,F as xe,C as F,a3 as be,o as a,bD as ye,bE as we,bF as _e,bG as $e,bH as ve,f as ce,bI as Ce,n as p,w as ke,H as K,bJ as je,a7 as Ie,q as Se,b0 as Ne}from"./index-ji6aa7AC.js";import{b as f,f as de,n as d}from"./vendor-CnQcJ2Lu.js";import{r as O,a as Fe}from"./CollapsableReportTable-FShSCFEn-62FniBRb.js";const W=X.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Oe=e=>({this_period:{start_date:e.thisPeriod.startDate.format(W),end_date:e.thisPeriod.endDate.format(W)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Pe=e=>e!=null?{start_date:e.startDate.format(W),end_date:e.endDate.format(W)}:void 0;function De(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,include_cover_page:e.includeCoverPage,company_name:e.companyName,statement_file_type:e.statementFileType,statements:e.statements,first_month_of_fy:e.firstMonthOfFY,book_close_date:e.bookCloseDate!=null?e.bookCloseDate.format(W):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:Oe(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Pe(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed}}async function ao(e,c,n){const t=X.getLocalizedStrings().downloadReport,r=`${e}?query=${encodeURIComponent(JSON.stringify(De(n)))}`;try{const h=await ye({urlEndPoint:r,authParams:c,fileType:n.statementFileType});if(h.ok){const b=we(h.headers,t.defaultFileName),y=await h.arrayBuffer();_e(y,b)}else console.error(`${t.reportErrorMessage} ${h.statusText}`)}catch(h){console.error(`${t.reportErrorMessage} ${JSON.stringify(h)}`)}}const Ee=d.div`
|
|
2
|
-
padding: 0 ${a.sp3} 0 ${a.sp3};
|
|
3
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
|
-
background: ${e=>e.theme.colors.grey5};
|
|
5
|
-
border-radius: ${a.sp1};
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
align-items: center;
|
|
9
|
-
position: relative;
|
|
10
|
-
height: ${a.sp8};
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
`,Be=d(Se)`
|
|
13
|
-
color: ${e=>e.theme.colors.primary};
|
|
14
|
-
margin-top: -2px;
|
|
15
|
-
`,Le=d(Ne)`
|
|
16
|
-
color: ${e=>e.theme.colors.hero};
|
|
17
|
-
width: 12px;
|
|
18
|
-
height: 12px;
|
|
19
|
-
margin: auto ${a.sp0};
|
|
20
|
-
:hover {
|
|
21
|
-
color: ${e=>e.theme.colors.primary};
|
|
22
|
-
}
|
|
23
|
-
`,Ae=e=>{const{value:c,onClick:n}=e,t=Q();return o.jsxs(Ee,{onClick:n,children:[o.jsx(Be,{style:{color:t.colors.primary},children:c}),o.jsx(Le,{})]})},Te=de.memo(Ae);function Me({backgroundColor:e,foregroundColor:c,animated:n,width:t,height:r}){return o.jsxs(je,{speed:2,width:t,height:r,viewBox:`0 0 ${t} ${r}`,animate:n!=!1,backgroundColor:e,foregroundColor:c,style:{marginBottom:a.sp2},children:[o.jsx("rect",{x:"45",y:p[3],rx:"5",ry:"5",width:"120",height:p[4]}),o.jsx("rect",{x:"45",y:p[8],rx:"5",ry:"5",width:"120",height:p[4]}),o.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:p[4]}),o.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:p[4]})]})}function he({nestedClass:e,isLastNode:c,config:n,parentNodeIDs:t}){const r=O("checkbox_and_name_only",[],e.classId[0]),h={children:[],id:r,isLastNode:c,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:n}};return h.children=e.children.map((b,y)=>he({nestedClass:b,config:n,isLastNode:y===e.children.length-1,parentNodeIDs:[...t,r]})),h}function Re(e,c){const n=e.map((t,r)=>{const h=O("checkbox_and_name_only",[],t.classId[0]),b={children:[],id:h,isLastNode:t.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:t.className,data:t,numOfBalances:0},config:c}},y=t.children.map(P=>he({nestedClass:P,config:c,isLastNode:r===t.children.length-1,parentNodeIDs:[h]}));return b.children.push(...y),b});return{config:c,headerNodes:[],contentNodes:[...n]}}function ze(e,c){Object.assign(e.config,c);const n=e.contentNodes;return n.forEach(t=>ue(t,c)),{config:c,headerNodes:[],contentNodes:[...n]}}function ue(e,c){Object.assign(e.reportElementData.config,c),e.children.forEach(n=>ue(n,c))}const oe={contentPaddingLeft:new F(p[3],p[3],p[2]),contentPaddingRight:new F(p[3],p[3],p[2])},We=d.div`
|
|
24
|
-
height: ${e=>e.height}px;
|
|
25
|
-
width: 100%;
|
|
26
|
-
`,He=({reportId:e,firstMonthOfFY:c,nestedClassHierarchy:n,classesToBeFilteredOut:t,selectedView:r,showClassAccountNumber:h,scrollPosition:b,onScroll:y,nodeOpenStatus:P,onNodeCollapseToggled:Z,onToggleCheck:D})=>{const H=Q(),Y=ie(),[$,j]=f.useState(void 0),[T,w]=f.useState(!1),[M,E]=f.useState({}),[g,R]=f.useState(void 0),[B,v]=f.useState(r),G="none",L=i=>r==="account_group"?!0:t?.length>0?t.find(l=>l[0]===i[0])!=null:!1,I=(i,l)=>{w(!0),E(i),D?.(i,l,r==="account_group"?!0:void 0),_(i,l)},_=(i,l)=>{const m=V(i);for(const C of m.children)D?.(C.classId,l),_(C.classId,l)},V=i=>{let l=n.filter(m=>m.classId[0]===i[i.length-1])[0];for(let m=i.length-2;m>=0;m--)l=l.children.filter(C=>C.classId[0]===i[m])[0];return l},q=i=>{if(i.length>1){const l=V(i.slice(1));let m=!1;for(const C of l.children)if(t.find(s=>s[0]===C.classId[0])===void 0){m=!0;break}m===!0?D?.(l.classId,!0):D?.(l.classId,!1),E(l.classId)}};f.useEffect(()=>{T&&q(M)}),f.useEffect(()=>{const i={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:G,firstMonthOfFY:c,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:L,showClassAccountNumber:h};if($==null||!K(g,n)||!K(B,r)||T===!0){const l=Re(n,i);R(n),j(l),v(r)}else{const l=ze($,i);j(l),v(r)}},[n,r,t]);const[U,J]=f.useState(5),A=i=>{const l=i+p[6];J(l)};return $!=null?o.jsx(We,{height:U,children:o.jsx(Fe,{backgroundColor:r==="classes"?new Ie(H.colors.background):void 0,rootNodes:$,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:oe.contentPaddingLeft.value(Y),right:oe.contentPaddingRight.value(Y)},scrollPosition:b,onScroll:y,nodeOpenStatus:P,onNodeCollapseToggled:Z,onToggleCheck:I,onReportTableHeightChanged:A})}):null},k={width:new F(350,400,400),height:new F(165,165,165),buttonWidth:new F(62,62),buttonHeight:new F(p[5],p[5]),containerWidth:new F(150,400,400)},Ye=d.div`
|
|
27
|
-
position: relative;
|
|
28
|
-
pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
|
|
29
|
-
`,Ge=d.div`
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
width: ${e=>k.containerWidth.valuePx(e.windowSize)};
|
|
33
|
-
`,Ve=d($e)`
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: row;
|
|
36
|
-
width: fit-content;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
color: ${e=>e.theme.colors.primary};
|
|
39
|
-
.dropdownIcon {
|
|
40
|
-
color: ${e=>e.theme.colors.hero};
|
|
41
|
-
}
|
|
42
|
-
&:hover {
|
|
43
|
-
.dropdownIcon {
|
|
44
|
-
color: ${e=>e.theme.colors.primary};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
gap: ${a.sp2};
|
|
48
|
-
margin-top: 12px;
|
|
49
|
-
align-items: center;
|
|
50
|
-
`,qe=d(ve)`
|
|
51
|
-
color: ${e=>e.theme.colors.hero};
|
|
52
|
-
width: ${a.sp4};
|
|
53
|
-
height: ${a.sp4};
|
|
54
|
-
&:hover {
|
|
55
|
-
color: ${e=>e.theme.colors.primary};
|
|
56
|
-
}
|
|
57
|
-
`,Ue=d.div`
|
|
58
|
-
display: flex;
|
|
59
|
-
width: ${e=>e.width}px;
|
|
60
|
-
align-items: flex-start;
|
|
61
|
-
justify-content: space-between;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
border: 1px solid ${e=>e.theme.colors.grey5};
|
|
64
|
-
border-radius: ${a.sp1};
|
|
65
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp2} ${e.theme.colors.dropShadowHover}`};
|
|
66
|
-
margin-top: 10px;
|
|
67
|
-
padding-top: ${a.sp1};
|
|
68
|
-
background: ${e=>e.theme.colors.grey5};
|
|
69
|
-
`,te=d.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: flex-start;
|
|
72
|
-
justify-content: space-between;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
width: 100%;
|
|
75
|
-
background-color: ${e=>e.checked===!0?e.theme.colors.background:"transparent"};
|
|
76
|
-
& input[type="radio"] {
|
|
77
|
-
-webkit-appearance: none;
|
|
78
|
-
-moz-appearance: none;
|
|
79
|
-
appearance: none;
|
|
80
|
-
display: inline-block;
|
|
81
|
-
width: ${a.sp3};
|
|
82
|
-
height: ${a.sp3};
|
|
83
|
-
padding: 2px;
|
|
84
|
-
background-clip: content-box;
|
|
85
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
86
|
-
border-radius: 50%;
|
|
87
|
-
margin: ${a.sp0} ${a.sp2} ${a.sp0} ${a.sp2};
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
input[type="radio"]:checked {
|
|
92
|
-
background-color: ${e=>e.theme.colors.primary};
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
input[type="radio"]:disabled {
|
|
96
|
-
cursor: default;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&:hover {
|
|
100
|
-
background: ${e=>e.theme.colors.background};
|
|
101
|
-
}
|
|
102
|
-
`,se=d(ke)`
|
|
103
|
-
height: ${a.sp6};
|
|
104
|
-
display: flex;
|
|
105
|
-
justify-content: center;
|
|
106
|
-
align-items: center;
|
|
107
|
-
`,Ze=d.div`
|
|
108
|
-
display: flex;
|
|
109
|
-
flex-wrap: wrap;
|
|
110
|
-
justify-content: flex-start;
|
|
111
|
-
height: 100%;
|
|
112
|
-
width: inherit;
|
|
113
|
-
overflow-y: auto;
|
|
114
|
-
.hide-icon {
|
|
115
|
-
display: none;
|
|
116
|
-
}
|
|
117
|
-
min-height: 165px;
|
|
118
|
-
max-height: 353px;
|
|
119
|
-
overscroll-behavior: contain;
|
|
120
|
-
`,Je=d.div`
|
|
121
|
-
width: 100%;
|
|
122
|
-
height: 65px;
|
|
123
|
-
`,ne=d.label`
|
|
124
|
-
color: ${e=>e.theme.colors.primary};
|
|
125
|
-
cursor: ${e=>e.disabled===!0?"default":"pointer"};
|
|
126
|
-
`,Ke=d(ce)`
|
|
127
|
-
display: flex;
|
|
128
|
-
align-items: center;
|
|
129
|
-
column-gap: ${a.sp2};
|
|
130
|
-
margin-left: ${a.sp5};
|
|
131
|
-
color: ${e=>e.theme.colors.hero};
|
|
132
|
-
&:hover {
|
|
133
|
-
cursor: pointer;
|
|
134
|
-
color: ${e=>e.theme.colors.primary};
|
|
135
|
-
}
|
|
136
|
-
`,Qe=d.div`
|
|
137
|
-
display: flex;
|
|
138
|
-
flex: 1;
|
|
139
|
-
width: inherit;
|
|
140
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
141
|
-
min-height: 1px;
|
|
142
|
-
max-height: 1px;
|
|
143
|
-
`,Xe=d(Ce)`
|
|
144
|
-
width: ${a.sp3};
|
|
145
|
-
height: ${a.sp3};
|
|
146
|
-
`,eo=d(ce)`
|
|
147
|
-
margin-left: ${a.sp5};
|
|
148
|
-
margin-top: -12px;
|
|
149
|
-
color: ${e=>e.theme.colors.hero};
|
|
150
|
-
`,{reportViewSelector:N,common:{footer:ae}}=X.getLocalizedStrings(),re="tableViewSelector",le=e=>`${e}_form`;function ro({reportId:e,firstMonthOfFY:c,nodes:n,classesListFetchState:t,selectedView:r,classesToBeFilteredOut:h,showClassAccountNumber:b,onOpenAccountViewMode:y,onSaveClick:P,isClassViewDisabled:Z,downloadPage:D,showAccountGroups:H=!0,onResyncReports:Y,reportsResyncFetchState:$,lastRefreshSuccessTime:j}){const T=Q(),w=ie(),[M,E]=f.useState(!1),[g,R]=f.useState(r),[B,v]=f.useState({}),G=(s,u)=>(s.forEach(x=>{u.push(x.classId),u=G(x.children,u)}),u),L=G(n,[]),[I,_]=f.useState(g==="classes"?h:L),V=t!=="Completed"||g==="classes"&&I.length===L.length;me({componentName:`reports.${e}`});const q=s=>s==="classes"?N.classes.label:H===!0?N.accountGroups.label:N.accounts.label,U=fe({mode:"all"}),J=U.handleSubmit(()=>{E(!1),g==="classes"?P?.("classes",I):P?.("account_group")}),A=s=>{if(R(s),s==="classes")v({}),_([]);else{_(L);let u={};n.forEach(x=>{const S=O("checkbox_and_name_only",[],x.classId[0]);u=Object.assign({},u,{[S]:!1})}),v(u)}},i=()=>{M===!0&&m(),E(!M);let s={};n.forEach(u=>{const x=O("checkbox_and_name_only",[],u.classId[0]);r==="account_group"||I.find(S=>S[0]===u.classId[0])!==void 0?s=Object.assign({},s,{[x]:!1}):s=Object.assign({},s,{[x]:!0})}),v(s)},l=(s,u,x)=>{if(x===!0&&(R("classes"),_(L)),u===!0){const S=O("checkbox_and_name_only",[],s[0]);B[S]=!0,v(B),_(z=>z.filter(pe=>pe[0]!==s[0]))}else{const S=O("checkbox_and_name_only",[],s[0]);B[S]=!1,I.find(z=>z[0]===s[0])===void 0&&_(z=>[...z,s])}},m=()=>{E(!1),R(r),_(h)},C=()=>{$!=="In-Progress"&&Y?.()};return f.useEffect(()=>{if(t==="Completed"&&g==="account_group"){let s={};n.forEach(u=>{const x=O("checkbox_and_name_only",[],u.classId[0]);s=Object.assign({},s,{[x]:!1})}),v(s)}},[t]),o.jsx(ge,{onClickAway:m,children:o.jsxs(Ye,{isDisabled:Z??!1,children:[D===!0?o.jsx(Te,{value:q(r),onClick:()=>{y?.(),i()}}):o.jsxs(Ge,{windowSize:w,children:[o.jsxs(Ve,{onClick:s=>{s.preventDefault(),y?.(),i()},children:[o.jsx(qe,{className:"dropdownIcon"}),q(r)]}),r==="classes"?o.jsx(Ke,{onClick:C,children:$==="In-Progress"?N.generatingReportByClass:o.jsxs(o.Fragment,{children:[j&&`${ee(j)}`,o.jsx(Xe,{})]})}):null]}),M?o.jsx(xe,{...U,children:o.jsx("form",{id:le(re),onSubmit:J,children:o.jsxs(Ue,{width:k.width.value(w),children:[o.jsx(te,{checked:g==="account_group",children:o.jsxs(se,{onClick:()=>g!=="account_group"?A("account_group"):null,children:[o.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:s=>A(s.currentTarget.value),checked:g==="account_group",disabled:t!=="Completed"}),o.jsx(ne,{disabled:t!=="Completed",children:H===!0?N.accountGroups.dropdownLabel:N.accounts.dropdownLabel})]})}),o.jsx(Qe,{}),o.jsxs(te,{checked:g==="classes",children:[o.jsxs(se,{onClick:()=>t==="Completed"?A("classes"):null,children:[o.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:s=>t==="Completed"?A(s.currentTarget.value):null,checked:g==="classes",disabled:t!=="Completed"}),o.jsx(ne,{disabled:t!=="Completed",children:N.classes.dropdownLabel})]}),$!=="In-Progress"&&j?o.jsx(eo,{children:ee(j)}):null,t==="Completed"?o.jsx(Ze,{id:"sectionformcontainer",children:o.jsx(oo,{reportId:e,firstMonthOfFY:c,nestedClassHierarchy:n,classesToBeFilteredOut:I,selectedView:g,nodeOpenStatus:B,showClassAccountNumber:b,onToggleCheck:l})}):o.jsx(Me,{backgroundColor:T.colors.grey3,foregroundColor:T.colors.grey4,width:k.width.value(w),height:k.height.value(w),animated:!0})]}),o.jsx(Je,{children:o.jsx(be,{formId:le(re),primaryBtn:{label:ae.save,style:{width:k.buttonWidth.valuePx(w),height:k.buttonHeight.valuePx(w)},isLoading:!1,isDisabled:V,size:"small"},showCancel:!0,cancelBtn:{label:ae.cancel,style:{width:k.buttonWidth.valuePx(w),height:k.buttonHeight.valuePx(w)},onClick:m,size:"small",shouldResetOnCancel:!0},style:{padding:a.sp3}})})]})})}):null]})})}const oo=de.memo(He,K);export{ao as c,ro as h};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import{X as W,u as G,M as y,t as le,l as _,j as c,Y as k,be as de,aY as pe,aW as ue,C as B,o as C,a5 as he,d as fe,bf as me,n as w,D as A,H as K,bg as ge,a7 as _e,aB as be,a_ as Se}from"./index-ji6aa7AC.js";import{b as T,f as J,n as g}from"./vendor-CnQcJ2Lu.js";import{m as z,l as H}from"./analyticsHelper-X-GRY9hH-MGNhQKMp.js";import{h as we}from"./ReportTableViewSelector-BVUqQ9hl-WfosyobX.js";import{a as X,p as Ce}from"./TimeRangeSwitcher-Cjs5znYy-Dn_2XKTn.js";import{M as ye}from"./TimeframeSwitcherWithToggle-CrWRqA_S-Bvp4VoyC.js";import{DownloadOverlayButton as xe}from"./DownloadOverlay-LH6MXphu-kt8sJEjY.js";import{a as Oe,r as F,b as Q}from"./CollapsableReportTable-FShSCFEn-62FniBRb.js";import{T as ee,I as te,L as $,D as Re,g as se}from"./mapSectionWithAcOnlyToTreeNode-XPbCtxen-DAUQseD_.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-D8UCPznF-C5zbYkry.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-BJrFD5A7-CapG6nwB.js";import"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./AccountRow-CBhTc-CO-BhHbolQV.js";function oe({section:e,sectionId:t,numOfBalances:a,config:i}){return Q("no_filter",i.filterAccountsWithNilBalances,i.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(o=>Ae({accountGroup:o,sectionType:t,numOfBalances:a,title:o.accountGroupName,isLastNode:!0,config:i}))}function Ae({accountGroup:e,sectionType:t,numOfBalances:a,title:i,isLastNode:o,config:r}){const p=F("section",[],i+t),d={children:[],id:p,isLastNode:o,reportElementData:{element:{kind:"section",title:i,sectionType:t,data:e,numOfBalances:a},config:r}},n=Q("no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),f=n.map((m,b)=>se({account:m,sectionType:t,numOfBalances:a,title:m.account.accountName,config:r,isLastNode:b===n.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:m.children.length>0,isLastNode:b===n.length-1}]}}));return d.children.push(...f),d}function ne({sectionWithAcOnly:e,sectionType:t,numOfBalances:a,config:i}){return e.accounts.map((o,r)=>se({account:o,sectionType:t,numOfBalances:a,title:o.account.accountName,config:i,isLastNode:r===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:o.children.length>0,isLastNode:r===e.accounts.length-1}]}}))}function ae({balances:e,config:t,nodeId:a}){return{children:[],id:a??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Be(e,t,a,i=!0){Object.assign(e.config,t);const o=ie(a),r=Y({balances:o,config:t});return{config:t,headerNodes:i?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const ie=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let a=[];return Object.keys(t.sections).forEach(i=>{t.sections[i].balances.length>0&&(a=[...t.sections[i].balances,...t.sections[i].additionalBalances])}),a}default:return[]}};function ve(e,t,a=!0){const i=y.getLocalizedStrings().reports.sections,o=y.getLocalizedStrings().reports.balanceSheet,r=ie(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&r.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,d=ae({balances:r,config:t}),n=[];return n.push(d),Object.keys(e.rootSectionsWithSubSectionIds).forEach(f=>{const m=F("title_string_only",[],f),b={children:[],id:m,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:i[f],data:void 0,numOfBalances:0},config:t}};n.push(b),e.rootSectionsWithSubSectionIds[f].forEach(s=>{if(_.isBalanceSheetReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const l=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});n.push(...l)}else n.push(ee({section:e.sections[s],sectionType:s,numOfBalances:p,title:o[s],isLastNode:!0,config:t}));else if(s==="equity"){const l=ne({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});n.push(...l)}else{const l=e.sections[s];n.push(te({sectionWithAcOnly:l,sectionType:s,numOfBalances:p,title:o[s],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(s)===!0&&n.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:o[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:a?[d]:[],contentNodes:n}}function Le({calculatedSection:e,numOfBalances:t,title:a,isLastNode:i,config:o}){return{children:[],id:F("calculated_section_type1",[],a),isLastNode:i,reportElementData:{element:{kind:"calculated_section_type1",title:a,data:e,numOfBalances:t},config:o}}}function Te(e,t,a=!0){const i=y.getLocalizedStrings().reports.sections,o=y.getLocalizedStrings().reports.cashFlow,r=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&r.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,d=ae({balances:r,config:t}),n=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(f=>{const m=F("title_string_only",[],f),b={children:[],id:m,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:i[f],data:void 0,numOfBalances:0},config:t}};n.push(b),e.rootSectionsWithSubSectionIds[f].forEach(s=>{if(_.isCashFlowReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0){const l=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});n.push(...l)}else{const l=ne({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});n.push(...l)}else _.isCashFlowReportViewCalculatedSectionType1ID(s)===!0?n.push(Le({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:o[s],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(s)===!0&&n.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:o[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:a?[d]:[],contentNodes:[d,...n]}}function ke(e,t,a=!0){const i=y.getLocalizedStrings().reports,o=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],r=t.mode!=null&&t.mode==="this_period_vs_period_before"&&o.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:o,config:t}),d=[];return d.push(p),e.idsInOrder.forEach(n=>{_.isPandLReportViewSectionID(n)===!0?d.push(Re({section:e.sections[n],sectionType:n,numOfBalances:r,title:i.sections[n],isLastNode:!0,config:t})):_.isPandLReportViewCalculatedSectionID(n)===!0&&d.push($({calculatedSection:e.calculatedSections[n],numOfBalances:r,title:i.sections[n],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:d}}function Pe(e,t,a=!0){const i=y.getLocalizedStrings().reports,o=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],r=t.mode!=null&&t.mode==="this_period_vs_period_before"&&o.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:o,config:t}),d=[];return d.push(p),e.idsInOrder.forEach(n=>{if(_.isPandLReportViewSectionID(n)===!0&&(e.sections[n].accountGroups.length>0?d.push(ee({section:e.sections[n],sectionType:n,numOfBalances:r,title:i.sections[n],isLastNode:!0,config:t})):d.push(te({sectionWithAcOnly:e.sections[n],sectionType:n,numOfBalances:r,title:i.sections[n],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(n)===!0){const f=e.calculatedSections[n];f!=null&&d.push($({calculatedSection:f,numOfBalances:r,title:i.sections[n],isLastNode:!0,config:t}))}}),{config:t,headerNodes:a?[p]:[],contentNodes:d}}const Z={contentPaddingLeft:new B(w[0],w[0],w[0]),contentPaddingRight:new B(w[3],w[3],w[8])},Ne=g.div`
|
|
2
|
-
height: ${e=>e.height}px;
|
|
3
|
-
width: 99.9%;
|
|
4
|
-
margin-top: ${C.sp2};
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
6
|
-
`;function Ie({report:e,displayOrder:t,reportFormat:a,analytics:i,isZeniUser:o,onAdditionalBalanceSelectionChanged:r,onAccountBalanceClick:p,onTableScroll:d,onElementCollapseStateChanged:n,isCompareModeOn:f}){const m=W(),b=G(),[s,l]=T.useState(void 0),[N,x]=T.useState(void 0),v=!(m==="small"||m==="medium-compact"),E="name+balances_actual",V=f===!0?"this_period_vs_period_before":"none",j=()=>{let h=[];switch(e.reportId){case"profit_and_loss":{const u=e;h=(u.sections.expenses.balances.length>0?u.sections.expenses:u.sections.income).additionalBalances.map(D=>_.toTimeframeTick(D));break}case"profit_and_loss_by_classes":{const u=e;h=(u.sections.expenses.balances.length>0?u.sections.expenses:u.sections.income).additionalBalances.map(D=>_.toTimeframeTick(D));break}case"cash_flow":{h=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(u=>_.toTimeframeTick(u));break}case"balance_sheet":{h=e.sections.equity.additionalBalances.map(u=>_.toTimeframeTick(u));break}}return h.length>0&&h.find(u=>u.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};T.useEffect(()=>{const h={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:V,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:a,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Se(),showClassAccountNumber:o};if(s==null||!K(N,e)){const u=Me(e,h,v);x(e),l(u)}else{const u=Be(s,h,e,v);l(u)}},[f,e]);const[O,R]=T.useState(5),I=h=>{const u=h+135;R(u)},M=h=>h?.trackPageLoaded(Fe(e));return s!=null?c.jsxs(c.Fragment,{children:[c.jsx(ge,{analytics:i,onLoad:M}),c.jsx(Ne,{height:O,children:c.jsx(Oe,{backgroundColor:new _e(b.colors.grey4),rootNodes:s,type:E,compareMode:j(),isSticky:{isStickyHeader:v,isStickyName:v},treeNodePadding:{left:Z.contentPaddingLeft.value(m),right:Z.contentPaddingRight.value(m)},onAccountClick:p==null?void 0:(h,u)=>{p(h,u)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:h=>r?.(h==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(h,u)=>n?.(e.reportId,h,u),onReportTableHeightChanged:I,onScroll:h=>d?.(e.reportId,h)})})]}):null}const Me=(e,t,a=!0)=>{switch(e.reportId){case"profit_and_loss":return Pe(e,t,a);case"profit_and_loss_by_classes":return ke(e,t,a);case"cash_flow":return Te(e,t,a);case"balance_sheet":return ve(e,t,a);default:return}},Fe=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},je=g.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: row;
|
|
9
|
-
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
10
|
-
justify-content: center;
|
|
11
|
-
width: 100%;
|
|
12
|
-
align-items: center;
|
|
13
|
-
`,$e=g.div`
|
|
14
|
-
display: flex;
|
|
15
|
-
position: relative;
|
|
16
|
-
`,Ee=g(be)`
|
|
17
|
-
padding: 12px;
|
|
18
|
-
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
19
|
-
cursor: ${e=>e.isSelected?"default":"pointer"};
|
|
20
|
-
margin: ${e=>e.spaceAround?`0 ${C.sp4}`:0};
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
align-items: center;
|
|
24
|
-
&:hover {
|
|
25
|
-
color: ${e=>e.theme.colors.primary};
|
|
26
|
-
}
|
|
27
|
-
`,Ve=g.div`
|
|
28
|
-
height: 2px;
|
|
29
|
-
background-color: ${e=>e.theme.colors.primary};
|
|
30
|
-
border-radius: 1px;
|
|
31
|
-
position: absolute;
|
|
32
|
-
bottom: 0;
|
|
33
|
-
left: 0;
|
|
34
|
-
transition: left 0.35s;
|
|
35
|
-
&.profit_and_loss {
|
|
36
|
-
width: 106px;
|
|
37
|
-
left: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.profit_and_loss_by_classes {
|
|
41
|
-
width: 106px;
|
|
42
|
-
left: 0;
|
|
43
|
-
}
|
|
44
|
-
&.balance_sheet {
|
|
45
|
-
width: 114px;
|
|
46
|
-
left: 30%;
|
|
47
|
-
}
|
|
48
|
-
&.cash_flow {
|
|
49
|
-
width: 160px;
|
|
50
|
-
left: 63%;
|
|
51
|
-
}
|
|
52
|
-
`;function De({reportId:e,isSelected:t,onClick:a}){const i=o=>{switch(o){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[o];default:return console.warn("Unsupported report"),""}};return c.jsx(Ee,{"data-testid":k("reportSwitcher",e),onClick:()=>{t===!1&&a(e)},isSelected:t,spaceAround:e==="balance_sheet",children:i(e)})}function ze({reportIds:e,selectedReport:t,onReportSelectionChanged:a}){const i=o=>{a?.(o)};return c.jsx(je,{"data-testid":k("report-switcher-container"),children:c.jsx($e,{"data-testid":k("report-switcher-content"),children:e.map(o=>o!=="profit_and_loss_by_classes"&&c.jsxs("div",{children:[c.jsx(De,{reportId:o,isSelected:t===o,onClick:i}),c.jsx(Ve,{className:`Slider ${t}`})]},`reportSegment-${o}`))})})}const P={contentContainerLeftRightMargin:new B(w[3],w[3],w[8]),contentRightPadding:new B(w[3],w[3],w[8]),tickSkelectionContainerWidth:new B(343,600,905,1240)},Ue=new B(4,4),We=new B(4,4),Ge={selectedNumberOfPeriods:(e,t)=>e?We.value(t):Ue.value(t)},Ye=g.div`
|
|
53
|
-
display: flex;
|
|
54
|
-
flex: 1 1 auto;
|
|
55
|
-
min-height: 100%;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
58
|
-
`,He=g.div`
|
|
59
|
-
display: flex;
|
|
60
|
-
flex: 1 1 auto;
|
|
61
|
-
flex-direction: column;
|
|
62
|
-
height: calc(100vh - ${C.sp10});
|
|
63
|
-
margin: ${e=>`${C.sp2} ${C.sp0} ${C.sp0} ${P.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
|
|
64
|
-
`,Ze=g.div`
|
|
65
|
-
display: flex;
|
|
66
|
-
width: 100%;
|
|
67
|
-
height: 100%;
|
|
68
|
-
flex-direction: row;
|
|
69
|
-
justify-content: center;
|
|
70
|
-
align-items: center;
|
|
71
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
72
|
-
`,qe=g.div`
|
|
73
|
-
position: absolute;
|
|
74
|
-
margin-top: ${e=>e.windowSize==="small"?"250px":"195px"};
|
|
75
|
-
`,Ke=g.div`
|
|
76
|
-
display: flex;
|
|
77
|
-
width: 100%;
|
|
78
|
-
height: calc(100% - 60px);
|
|
79
|
-
flex-direction: column;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
align-items: center;
|
|
82
|
-
`,Je=g.div`
|
|
83
|
-
height: 96px;
|
|
84
|
-
width: 96px;
|
|
85
|
-
background: ${e=>e.theme.colors.background};
|
|
86
|
-
border-radius: 50%;
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
& svg {
|
|
89
|
-
margin: ${C.sp5};
|
|
90
|
-
color: ${e=>e.theme.colors.grey1};
|
|
91
|
-
}
|
|
92
|
-
&:hover {
|
|
93
|
-
& svg {
|
|
94
|
-
color: ${e=>e.theme.colors.primary};
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
`,Xe=g(he)`
|
|
98
|
-
margin-top: ${C.sp3};
|
|
99
|
-
color: ${e=>e.theme.colors.hero};
|
|
100
|
-
`,ce=({style:e,isLoading:t})=>t?c.jsx(Ze,{style:e,children:c.jsx(fe,{size:"ExtraLarge",start:!0})}):null,S=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},U=({selectedReport:e,isCompareModeOn:t,windowSize:a})=>{const i=e.availableNumberOfPeriods;let o=Ge.selectedNumberOfPeriods(t,a);return i!=null&&(o=Math.min(o,i)),o};function Lt(e){const t=W(),a=G(),{onUpdateAccountViewMode:i,onUpdateClassesToFilterOut:o,onAdditionalBalanceSelectionChanged:r,onTimeframeSelectionChanged:p,isCompareMode:d,selectedReportAndTimeframeFetchState:n,onClickMenuIcon:f}=e,m=(O,R)=>{O!==b?.accountViewMode&&i?.(O),R&&o?.(R)};T.useEffect(()=>{if(e.fetchState==="Completed"){const O=S(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(O,e.isCompareMode,U({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const b=tt(e),s=y.getLocalizedStrings().reports.common,l=le(),N=l!=null&&_.hasInvestorBankerLevelAccess(l.loggedInUserRole)?"detailed":"more_detailed",x=l!=null&&_.hasInvestorBankerLevelAccess(l.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&b?.accountViewMode==="account_group"&&x.push("detailed");const[v,E]=J.useState(x.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:v,disabledFormatForRole:x,roleBasedClassesSelectedFormat:N,setSelectedFormat:E};if(n.fetchState==="Error"||e.fetchState==="Error")return c.jsxs(Ke,{"data-testid":k("report-page-error-reload-page"),children:[c.jsx(Je,{"data-testid":k("report-page-error-reload-icon"),onClick:e.onReloadReport,children:c.jsx(de,{})}),c.jsx(Xe,{children:s.failed})]});const j=e.fetchState;if(n.fetchState!=="Completed"&&(j==="In-Progress"||j==="Not-Started"))return c.jsx(ce,{isLoading:!0});{const O=c.jsx(pe,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:b!=null&&e.dataAvailable!=null?c.jsx(xe,{defaultOptions:b,analytics:e.analytics,referrer:L(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:m,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(R,I,M)=>{r(d,R,I,M)},onTimeframeSelectionChanged:(R,I,M)=>{p?.(R,I,M)}}):c.jsx(c.Fragment,{})}}});return c.jsxs(Ye,{children:[c.jsx(ue,{title:y.getLocalizedStrings().reports.title,backgroundColor:a.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:f,rightSideComponent:O,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),c.jsx(Qe,{...e})]})}}function Qe(e){const t=W(),a=G(),i=T.useRef(null),{selectedReportAndTimeframeFetchState:o}=e,r=["month","quarter","year"],p=(s,l)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",L(e.selectedReport),z(e.selectedTimeframe),l);const N=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...S(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(x=>x!=="this_period_vs_last_period"):[...S(e).filter.additionalBalances,"this_period_vs_last_period"].filter(x=>x!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,N,U({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},d=(s,l)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),l&&e.onUpdateClassesToFilterOut?.(l)},n=S(e),f=i.current?.clientWidth??P.tickSkelectionContainerWidth.value(t),m=(e.profitAndLossClassesViewReport.fetchState==="In-Progress"||e.reportsResyncFetchState==="In-Progress")&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",b=o.fetchState==="In-Progress"||m;return c.jsxs(He,{windowSize:t,"data-testid":k("reports-page-content-container"),children:[c.jsx(nt,{windowSize:t,ref:i,children:c.jsx(ye,{timeframe:{allowedTimeframes:r,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),L(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,L(e.selectedReport),z(e.selectedTimeframe));const l=S(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,l.additionalBalances,l.balancesRange.numberOfPeriods)}}})}),o.fetchState==="Not-Started"||o.fetchState==="In-Progress"?c.jsx(it,{windowSize:t,children:c.jsx(ct,{children:c.jsx(me,{width:f,height:X-w[2],backgroundColor:a.colors.grey3,style:{borderRadius:C.sp2}})})}):c.jsx(at,{windowSize:t,children:c.jsx(Ce,{firstMonthOfFY:n.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:q(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:q(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,l)=>{e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,H(n.firstMonthOfFY,e.selectedTimeframe,l)),e.onThisPeriodChanged?.(l,U({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const l=et(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,H(n.firstMonthOfFY,e.selectedTimeframe,l.thisPeriod)),e.onCOABalancesRangeChanged?.(l)}})}),c.jsx(rt,{windowSize:t,children:c.jsx(ze,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(st(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),o.fetchState==="Not-Started"||o.fetchState==="In-Progress"||m?c.jsx(ce,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:b}):c.jsxs(c.Fragment,{children:[c.jsx(re,{report:S(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser}),_.isPAndLReport(e.selectedReport)?c.jsx(qe,{windowSize:t,children:c.jsx(we,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:d,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,reportsResyncFetchState:e.reportsResyncFetchState,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const q=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let a=e.length-1;return t.thisPeriod!=null&&(a=e.findIndex(i=>i.startDate.isSame(t.thisPeriod.startDate,"date")&&i.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(a+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},et=(e,t)=>{const a=e.length-1-t.offsetFromEnd;return{thisPeriod:e[a],numberOfPeriods:t.length,orderBy:"ascending_date"}};function tt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,d=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(d!=null&&d.balances.length>0){const n=p==="ascending_date"?d.balances.length-1:0;t=d.balances[n]}}const a=S(e).firstMonthOfFY,i=S(e).bookCloseDate,o=S(e).dataAvailable,r=S(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:a,bookCloseDate:i,dataAvailable:o,timeframe:e.selectedTimeframe,additionalBalances:r,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const L=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},st=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},re=J.memo(Ie,(e,t)=>ot(e,t,["report","analytics","isCompareModeOn","isZeniUser"]));re.displayName="Reports table";const ot=(e,t,a)=>a.reduce((i,o)=>i===!0&&K(e[`${o}`],t[`${o}`]),!0),nt=g.div`
|
|
101
|
-
padding-right: ${e=>P.contentRightPadding.valuePx(e.windowSize)};
|
|
102
|
-
`,at=g.div`
|
|
103
|
-
margin-top: ${C.sp3};
|
|
104
|
-
padding-right: ${e=>P.contentRightPadding.valuePx(e.windowSize)};
|
|
105
|
-
`,it=g.div`
|
|
106
|
-
margin-top: ${C.sp3};
|
|
107
|
-
padding-right: ${e=>P.contentRightPadding.valuePx(e.windowSize)};
|
|
108
|
-
`,ct=g.div`
|
|
109
|
-
display: flex;
|
|
110
|
-
flex-direction: row;
|
|
111
|
-
justify-content: flex-start;
|
|
112
|
-
min-height: ${X}px;
|
|
113
|
-
box-sizing: content-box;
|
|
114
|
-
width: 100%;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
`,rt=g.div`
|
|
118
|
-
margin-top: ${C.sp4};
|
|
119
|
-
padding-right: ${e=>P.contentRightPadding.valuePx(e.windowSize)};
|
|
120
|
-
`;export{Lt as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a}from"./CollapsableReportTable-FShSCFEn-62FniBRb.js";function l({balances:e,config:n,nodeId:t}){return{children:[],id:t??a("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:n}}}function d({title:e,balances:n,config:t,nodeId:i}){return{children:[],id:i??a("loading_in_progress",[],e),isLastNode:!1,reportElementData:{element:{kind:"loading_in_progress",title:"",data:n,numOfBalances:n.length},config:t}}}export{l as d,d as l};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a}from"./CollapsableReportTable-FShSCFEn-62FniBRb.js";function i({title:t,balances:e=[],config:n,nodeId:r}){return{children:[],id:r??a("spacer_row",[],t),isLastNode:!1,reportElementData:{element:{kind:"spacer_row",title:"",data:e,numOfBalances:e.length},config:n}}}export{i as l};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r}from"./CollapsableReportTable-FShSCFEn-62FniBRb.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??r("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as s};
|