From c289793c6db899715fd759cbaa92ad16009a4d2b Mon Sep 17 00:00:00 2001 From: Gerard Du Pre <37554513+GerardPolloRebozado@users.noreply.github.com> Date: Sat, 16 Mar 2024 14:20:58 +0100 Subject: [PATCH] Feature/switch between active and closed holdings (#3146) * Switch between active and closed holdings on the portfolio holdings page * Update changelog --------- Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> --- CHANGELOG.md | 1 + .../src/app/portfolio/portfolio.controller.ts | 2 + .../src/app/portfolio/portfolio.service.ts | 31 ++++--- apps/api/src/services/api/api.service.ts | 10 +++ .../holdings/holdings-page.component.ts | 28 ++++++- .../portfolio/holdings/holdings-page.html | 9 ++ .../holdings/holdings-page.module.ts | 2 + apps/client/src/app/services/data.service.ts | 5 ++ apps/client/src/locales/messages.de.xlf | 84 ++++++++++++------- apps/client/src/locales/messages.es.xlf | 84 ++++++++++++------- apps/client/src/locales/messages.fr.xlf | 84 ++++++++++++------- apps/client/src/locales/messages.it.xlf | 84 ++++++++++++------- apps/client/src/locales/messages.nl.xlf | 84 ++++++++++++------- apps/client/src/locales/messages.pl.xlf | 84 ++++++++++++------- apps/client/src/locales/messages.pt.xlf | 84 ++++++++++++------- apps/client/src/locales/messages.tr.xlf | 84 ++++++++++++------- apps/client/src/locales/messages.xlf | 82 +++++++++++------- .../src/lib/interfaces/filter.interface.ts | 1 + .../common/src/lib/types/holding-type.type.ts | 1 + libs/common/src/lib/types/index.ts | 2 + 20 files changed, 547 insertions(+), 299 deletions(-) create mode 100644 libs/common/src/lib/types/holding-type.type.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index f2113955c..b0c96a1f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Added a toggle to switch between active and closed holdings on the portfolio holdings page - Added support to update the cash balance of an account when adding a fee activity - Added support to update the cash balance of an account when adding an interest activity - Extended the content of the _General_ section by the product roadmap on the Frequently Asked Questions (FAQ) page diff --git a/apps/api/src/app/portfolio/portfolio.controller.ts b/apps/api/src/app/portfolio/portfolio.controller.ts index 557e8a5f5..80ea08fce 100644 --- a/apps/api/src/app/portfolio/portfolio.controller.ts +++ b/apps/api/src/app/portfolio/portfolio.controller.ts @@ -284,12 +284,14 @@ export class PortfolioController { @Headers(HEADER_KEY_IMPERSONATION.toLowerCase()) impersonationId: string, @Query('accounts') filterByAccounts?: string, @Query('assetClasses') filterByAssetClasses?: string, + @Query('holdingType') filterByHoldingType?: string, @Query('query') filterBySearchQuery?: string, @Query('tags') filterByTags?: string ): Promise { const filters = this.apiService.buildFiltersFromQueryParams({ filterByAccounts, filterByAssetClasses, + filterByHoldingType, filterBySearchQuery, filterByTags }); diff --git a/apps/api/src/app/portfolio/portfolio.service.ts b/apps/api/src/app/portfolio/portfolio.service.ts index a7f160e84..c5f8feb4a 100644 --- a/apps/api/src/app/portfolio/portfolio.service.ts +++ b/apps/api/src/app/portfolio/portfolio.service.ts @@ -398,8 +398,17 @@ export class PortfolioService { ); const isFilteredByAccount = - filters?.some((filter) => { - return filter.type === 'ACCOUNT'; + filters?.some(({ type }) => { + return type === 'ACCOUNT'; + }) ?? false; + + const isFilteredByCash = filters?.some(({ id, type }) => { + return id === 'CASH' && type === 'ASSET_CLASS'; + }); + + const isFilteredByClosedHoldings = + filters?.some(({ id, type }) => { + return id === 'CLOSED' && type === 'HOLDING_TYPE'; }) ?? false; let filteredValueInBaseCurrency = isFilteredByAccount @@ -451,7 +460,6 @@ export class PortfolioService { grossPerformancePercentageWithCurrencyEffect, investment, marketPrice, - marketPriceInBaseCurrency, netPerformance, netPerformancePercentage, netPerformancePercentageWithCurrencyEffect, @@ -462,9 +470,16 @@ export class PortfolioService { transactionCount, valueInBaseCurrency } of currentPositions.positions) { - if (quantity.eq(0)) { - // Ignore positions without any quantity - continue; + if (isFilteredByClosedHoldings === true) { + if (!quantity.eq(0)) { + // Ignore positions with a quantity + continue; + } + } else { + if (quantity.eq(0)) { + // Ignore positions without any quantity + continue; + } } const symbolProfile = symbolProfileMap[symbol]; @@ -579,10 +594,6 @@ export class PortfolioService { }; } - const isFilteredByCash = filters?.some((filter) => { - return filter.type === 'ASSET_CLASS' && filter.id === 'CASH'; - }); - if (filters?.length === 0 || isFilteredByAccount || isFilteredByCash) { const cashPositions = await this.getCashPositions({ cashDetails, diff --git a/apps/api/src/services/api/api.service.ts b/apps/api/src/services/api/api.service.ts index a469254f7..e961ec037 100644 --- a/apps/api/src/services/api/api.service.ts +++ b/apps/api/src/services/api/api.service.ts @@ -10,18 +10,21 @@ export class ApiService { filterByAccounts, filterByAssetClasses, filterByAssetSubClasses, + filterByHoldingType, filterBySearchQuery, filterByTags }: { filterByAccounts?: string; filterByAssetClasses?: string; filterByAssetSubClasses?: string; + filterByHoldingType?: string; filterBySearchQuery?: string; filterByTags?: string; }): Filter[] { const accountIds = filterByAccounts?.split(',') ?? []; const assetClasses = filterByAssetClasses?.split(',') ?? []; const assetSubClasses = filterByAssetSubClasses?.split(',') ?? []; + const holdingType = filterByHoldingType; const searchQuery = filterBySearchQuery?.toLowerCase(); const tagIds = filterByTags?.split(',') ?? []; @@ -52,6 +55,13 @@ export class ApiService { }) ]; + if (holdingType) { + filters.push({ + id: holdingType, + type: 'HOLDING_TYPE' + }); + } + if (searchQuery) { filters.push({ id: searchQuery, diff --git a/apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts b/apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts index 6635393f5..8834593e1 100644 --- a/apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts +++ b/apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts @@ -5,6 +5,7 @@ import { ImpersonationStorageService } from '@ghostfolio/client/services/imperso import { UserService } from '@ghostfolio/client/services/user/user.service'; import { PortfolioPosition, User } from '@ghostfolio/common/interfaces'; import { hasPermission, permissions } from '@ghostfolio/common/permissions'; +import { HoldingType, ToggleOption } from '@ghostfolio/common/types'; import { ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; @@ -24,6 +25,11 @@ export class HoldingsPageComponent implements OnDestroy, OnInit { public hasImpersonationId: boolean; public hasPermissionToCreateOrder: boolean; public holdings: PortfolioPosition[]; + public holdingType: HoldingType = 'ACTIVE'; + public holdingTypeOptions: ToggleOption[] = [ + { label: $localize`Active`, value: 'ACTIVE' }, + { label: $localize`Closed`, value: 'CLOSED' } + ]; public user: User; private unsubscribeSubject = new Subject(); @@ -90,14 +96,34 @@ export class HoldingsPageComponent implements OnDestroy, OnInit { }); } + public onChangeHoldingType(aHoldingType: HoldingType) { + this.holdingType = aHoldingType; + + this.holdings = undefined; + + this.fetchHoldings() + .pipe(takeUntil(this.unsubscribeSubject)) + .subscribe(({ holdings }) => { + this.holdings = holdings; + + this.changeDetectorRef.markForCheck(); + }); + } + public ngOnDestroy() { this.unsubscribeSubject.next(); this.unsubscribeSubject.complete(); } private fetchHoldings() { + const filters = this.userService.getFilters(); + + if (this.holdingType === 'CLOSED') { + filters.push({ id: 'CLOSED', type: 'HOLDING_TYPE' }); + } + return this.dataService.fetchPortfolioHoldings({ - filters: this.userService.getFilters() + filters }); } diff --git a/apps/client/src/app/pages/portfolio/holdings/holdings-page.html b/apps/client/src/app/pages/portfolio/holdings/holdings-page.html index bb8769c5a..a2bd43636 100644 --- a/apps/client/src/app/pages/portfolio/holdings/holdings-page.html +++ b/apps/client/src/app/pages/portfolio/holdings/holdings-page.html @@ -6,6 +6,15 @@
+
+ +
apps/client/src/app/components/admin-users/admin-users.html - 126 + 134 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -278,11 +278,11 @@ apps/client/src/app/components/admin-platform/admin-platform.component.html - 97 + 101 apps/client/src/app/components/admin-tag/admin-tag.component.html - 77 + 81 libs/ui/src/lib/account-balances/account-balances.component.html @@ -754,7 +754,7 @@ Registrierung apps/client/src/app/components/admin-users/admin-users.html - 88 + 96 @@ -762,7 +762,7 @@ Engagement pro Tag apps/client/src/app/components/admin-users/admin-users.html - 150 + 158 @@ -770,7 +770,7 @@ Letzte Abfrage apps/client/src/app/components/admin-users/admin-users.html - 175 + 183 @@ -814,7 +814,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 105 + 113 apps/client/src/app/components/header/header.component.html @@ -1166,7 +1166,7 @@ apps/client/src/app/pages/resources/resources-page.html - 39 + 56 @@ -1210,7 +1210,7 @@ apps/client/src/app/pages/portfolio/holdings/holdings-page.html - 23 + 32 @@ -2212,7 +2212,7 @@ Nach Konto apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 269 + 270 @@ -2220,7 +2220,7 @@ Nach Währung apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 62 + 63 @@ -2228,7 +2228,7 @@ Nach Anlageklasse apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 85 + 86 @@ -2236,7 +2236,7 @@ Nach Position apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 108 + 109 @@ -2244,7 +2244,7 @@ Nach Sektor apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 131 + 132 @@ -2252,7 +2252,7 @@ Nach Kontinent apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 155 + 156 @@ -2260,7 +2260,7 @@ Nach Land apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 312 + 313 @@ -2268,7 +2268,7 @@ Regionen apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 202 + 203 apps/client/src/app/pages/public/public-page.html @@ -2908,7 +2908,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 69 + 77 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -2920,7 +2920,7 @@ Entwickelte Länder apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 227 + 228 apps/client/src/app/pages/public/public-page.html @@ -2932,7 +2932,7 @@ Schwellenländer apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 236 + 237 apps/client/src/app/pages/public/public-page.html @@ -2944,7 +2944,7 @@ Übrige Länder apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 245 + 246 apps/client/src/app/pages/public/public-page.html @@ -4076,7 +4076,7 @@ Benutzer verwenden apps/client/src/app/components/admin-users/admin-users.html - 214 + 222 @@ -4084,7 +4084,7 @@ Benutzer löschen apps/client/src/app/components/admin-users/admin-users.html - 224 + 232 @@ -4100,7 +4100,7 @@ Nach ETF-Anbieter apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 289 + 290 @@ -4168,7 +4168,7 @@ Nach Plattform apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 43 + 44 @@ -9800,7 +9800,7 @@ Ratgeber apps/client/src/app/pages/resources/resources-page.html - 5 + 22 @@ -9808,7 +9808,7 @@ Lexikon apps/client/src/app/pages/resources/resources-page.html - 75 + 92 @@ -9892,7 +9892,7 @@ Nach Markt apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 178 + 179 @@ -9972,7 +9972,7 @@ Keine Daten verfügbar apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 257 + 258 apps/client/src/app/pages/public/public-page.html @@ -10490,6 +10490,10 @@ apps/client/src/app/pages/faq/faq-page.component.ts 48 + + apps/client/src/app/pages/resources/resources-page.component.ts + 17 + features @@ -11448,7 +11452,7 @@ apps/client/src/app/pages/resources/resources-page.component.ts - 18 + 19 @@ -13764,7 +13768,7 @@ Ups! Die historischen Daten konnten nicht geparsed werden. apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 224 + 223 @@ -14636,7 +14640,7 @@ Der aktuelle Marktpreis ist apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 318 + 317 @@ -14959,6 +14963,22 @@ 13 + + Active + Aktiv + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 30 + + + + Closed + Abgeschlossen + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 31 + + diff --git a/apps/client/src/locales/messages.es.xlf b/apps/client/src/locales/messages.es.xlf index 0ad1ae585..cac6adc54 100644 --- a/apps/client/src/locales/messages.es.xlf +++ b/apps/client/src/locales/messages.es.xlf @@ -103,7 +103,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 126 + 134 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -279,11 +279,11 @@ apps/client/src/app/components/admin-platform/admin-platform.component.html - 97 + 101 apps/client/src/app/components/admin-tag/admin-tag.component.html - 77 + 81 libs/ui/src/lib/account-balances/account-balances.component.html @@ -755,7 +755,7 @@ Registro apps/client/src/app/components/admin-users/admin-users.html - 88 + 96 @@ -763,7 +763,7 @@ Contratación diaria apps/client/src/app/components/admin-users/admin-users.html - 150 + 158 @@ -771,7 +771,7 @@ Última petición apps/client/src/app/components/admin-users/admin-users.html - 175 + 183 @@ -815,7 +815,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 105 + 113 apps/client/src/app/components/header/header.component.html @@ -1167,7 +1167,7 @@ apps/client/src/app/pages/resources/resources-page.html - 39 + 56 @@ -1211,7 +1211,7 @@ apps/client/src/app/pages/portfolio/holdings/holdings-page.html - 23 + 32 @@ -2210,7 +2210,7 @@ Por cuenta apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 269 + 270 @@ -2218,7 +2218,7 @@ Por divisa apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 62 + 63 @@ -2226,7 +2226,7 @@ Por tipo de activo apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 85 + 86 @@ -2234,7 +2234,7 @@ Por participación apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 108 + 109 @@ -2242,7 +2242,7 @@ Por sector apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 131 + 132 @@ -2250,7 +2250,7 @@ Por continente apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 155 + 156 @@ -2258,7 +2258,7 @@ Por país apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 312 + 313 @@ -2266,7 +2266,7 @@ Regiones apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 202 + 203 apps/client/src/app/pages/public/public-page.html @@ -2842,7 +2842,7 @@ Mercados desarrollados apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 227 + 228 apps/client/src/app/pages/public/public-page.html @@ -2894,7 +2894,7 @@ Otros mercados apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 245 + 246 apps/client/src/app/pages/public/public-page.html @@ -2906,7 +2906,7 @@ Mercados emergentes apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 236 + 237 apps/client/src/app/pages/public/public-page.html @@ -2934,7 +2934,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 69 + 77 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -4074,7 +4074,7 @@ Impersonate User apps/client/src/app/components/admin-users/admin-users.html - 214 + 222 @@ -4082,7 +4082,7 @@ Delete User apps/client/src/app/components/admin-users/admin-users.html - 224 + 232 @@ -4098,7 +4098,7 @@ By ETF Provider apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 289 + 290 @@ -4166,7 +4166,7 @@ By Platform apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 43 + 44 @@ -9798,7 +9798,7 @@ Guides apps/client/src/app/pages/resources/resources-page.html - 5 + 22 @@ -9806,7 +9806,7 @@ Glossary apps/client/src/app/pages/resources/resources-page.html - 75 + 92 @@ -9890,7 +9890,7 @@ By Market apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 178 + 179 @@ -9970,7 +9970,7 @@ No data available apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 257 + 258 apps/client/src/app/pages/public/public-page.html @@ -10488,6 +10488,10 @@ apps/client/src/app/pages/faq/faq-page.component.ts 48 + + apps/client/src/app/pages/resources/resources-page.component.ts + 17 + features @@ -11446,7 +11450,7 @@ apps/client/src/app/pages/resources/resources-page.component.ts - 18 + 19 @@ -13762,7 +13766,7 @@ Oops! Could not parse historical data. apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 224 + 223 @@ -14634,7 +14638,7 @@ The current market price is apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 318 + 317 @@ -14957,6 +14961,22 @@ 13 + + Active + Active + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 30 + + + + Closed + Closed + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 31 + + diff --git a/apps/client/src/locales/messages.fr.xlf b/apps/client/src/locales/messages.fr.xlf index 21a67fe36..a6cd0a575 100644 --- a/apps/client/src/locales/messages.fr.xlf +++ b/apps/client/src/locales/messages.fr.xlf @@ -114,7 +114,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 126 + 134 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -334,11 +334,11 @@ apps/client/src/app/components/admin-platform/admin-platform.component.html - 97 + 101 apps/client/src/app/components/admin-tag/admin-tag.component.html - 77 + 81 libs/ui/src/lib/account-balances/account-balances.component.html @@ -762,7 +762,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 69 + 77 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -1014,7 +1014,7 @@ Inscription apps/client/src/app/components/admin-users/admin-users.html - 88 + 96 @@ -1026,7 +1026,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 105 + 113 apps/client/src/app/components/header/header.component.html @@ -1054,7 +1054,7 @@ Engagement par Jour apps/client/src/app/components/admin-users/admin-users.html - 150 + 158 @@ -1062,7 +1062,7 @@ Dernière Requête apps/client/src/app/components/admin-users/admin-users.html - 175 + 183 @@ -1470,7 +1470,7 @@ apps/client/src/app/pages/resources/resources-page.html - 39 + 56 @@ -1522,7 +1522,7 @@ apps/client/src/app/pages/portfolio/holdings/holdings-page.html - 23 + 32 @@ -2781,7 +2781,7 @@ Par Compte apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 269 + 270 @@ -2789,7 +2789,7 @@ Par Devise apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 62 + 63 @@ -2797,7 +2797,7 @@ Par Classe d'Actifs apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 85 + 86 @@ -2805,7 +2805,7 @@ Par Position apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 108 + 109 @@ -2813,7 +2813,7 @@ Par Secteur apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 131 + 132 @@ -2821,7 +2821,7 @@ Par Continent apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 155 + 156 @@ -2829,7 +2829,7 @@ Par Pays apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 312 + 313 @@ -2837,7 +2837,7 @@ Régions apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 202 + 203 apps/client/src/app/pages/public/public-page.html @@ -2849,7 +2849,7 @@ Marchés Développés apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 227 + 228 apps/client/src/app/pages/public/public-page.html @@ -2861,7 +2861,7 @@ Marchés Émergents apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 236 + 237 apps/client/src/app/pages/public/public-page.html @@ -2873,7 +2873,7 @@ Autres marchés apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 245 + 246 apps/client/src/app/pages/public/public-page.html @@ -4073,7 +4073,7 @@ Voir en tant que ... apps/client/src/app/components/admin-users/admin-users.html - 214 + 222 @@ -4081,7 +4081,7 @@ Supprimer l'Utilisateur apps/client/src/app/components/admin-users/admin-users.html - 224 + 232 @@ -4097,7 +4097,7 @@ Par Émetteur d'ETF apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 289 + 290 @@ -4165,7 +4165,7 @@ Par Plateforme apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 43 + 44 @@ -9797,7 +9797,7 @@ Guides apps/client/src/app/pages/resources/resources-page.html - 5 + 22 @@ -9805,7 +9805,7 @@ Glossary apps/client/src/app/pages/resources/resources-page.html - 75 + 92 @@ -9889,7 +9889,7 @@ By Market apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 178 + 179 @@ -9969,7 +9969,7 @@ No data available apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 257 + 258 apps/client/src/app/pages/public/public-page.html @@ -10487,6 +10487,10 @@ apps/client/src/app/pages/faq/faq-page.component.ts 48 + + apps/client/src/app/pages/resources/resources-page.component.ts + 17 + features @@ -11445,7 +11449,7 @@ apps/client/src/app/pages/resources/resources-page.component.ts - 18 + 19 @@ -13761,7 +13765,7 @@ Oops! Could not parse historical data. apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 224 + 223 @@ -14633,7 +14637,7 @@ The current market price is apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 318 + 317 @@ -14956,6 +14960,22 @@ 13 + + Active + Active + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 30 + + + + Closed + Closed + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 31 + + diff --git a/apps/client/src/locales/messages.it.xlf b/apps/client/src/locales/messages.it.xlf index 049c7964e..bceb81015 100644 --- a/apps/client/src/locales/messages.it.xlf +++ b/apps/client/src/locales/messages.it.xlf @@ -103,7 +103,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 126 + 134 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -279,11 +279,11 @@ apps/client/src/app/components/admin-platform/admin-platform.component.html - 97 + 101 apps/client/src/app/components/admin-tag/admin-tag.component.html - 77 + 81 libs/ui/src/lib/account-balances/account-balances.component.html @@ -755,7 +755,7 @@ Iscrizione apps/client/src/app/components/admin-users/admin-users.html - 88 + 96 @@ -763,7 +763,7 @@ Partecipazione giornaliera apps/client/src/app/components/admin-users/admin-users.html - 150 + 158 @@ -771,7 +771,7 @@ Ultima richiesta apps/client/src/app/components/admin-users/admin-users.html - 175 + 183 @@ -815,7 +815,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 105 + 113 apps/client/src/app/components/header/header.component.html @@ -1167,7 +1167,7 @@ apps/client/src/app/pages/resources/resources-page.html - 39 + 56 @@ -1211,7 +1211,7 @@ apps/client/src/app/pages/portfolio/holdings/holdings-page.html - 23 + 32 @@ -2210,7 +2210,7 @@ Per account apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 269 + 270 @@ -2218,7 +2218,7 @@ Per valuta apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 62 + 63 @@ -2226,7 +2226,7 @@ Per classe asset apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 85 + 86 @@ -2234,7 +2234,7 @@ Per partecipazione apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 108 + 109 @@ -2242,7 +2242,7 @@ Per settore apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 131 + 132 @@ -2250,7 +2250,7 @@ Per continente apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 155 + 156 @@ -2258,7 +2258,7 @@ Per paese apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 312 + 313 @@ -2266,7 +2266,7 @@ Regioni apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 202 + 203 apps/client/src/app/pages/public/public-page.html @@ -2842,7 +2842,7 @@ Mercati sviluppati apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 227 + 228 apps/client/src/app/pages/public/public-page.html @@ -2894,7 +2894,7 @@ Altri mercati apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 245 + 246 apps/client/src/app/pages/public/public-page.html @@ -2906,7 +2906,7 @@ Mercati emergenti apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 236 + 237 apps/client/src/app/pages/public/public-page.html @@ -2934,7 +2934,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 69 + 77 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -4074,7 +4074,7 @@ Imita l'utente apps/client/src/app/components/admin-users/admin-users.html - 214 + 222 @@ -4082,7 +4082,7 @@ Elimina l'utente apps/client/src/app/components/admin-users/admin-users.html - 224 + 232 @@ -4098,7 +4098,7 @@ Per fornitore di ETF apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 289 + 290 @@ -4166,7 +4166,7 @@ Per piattaforma apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 43 + 44 @@ -9798,7 +9798,7 @@ Guide apps/client/src/app/pages/resources/resources-page.html - 5 + 22 @@ -9806,7 +9806,7 @@ Glossario apps/client/src/app/pages/resources/resources-page.html - 75 + 92 @@ -9890,7 +9890,7 @@ Per mercato apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 178 + 179 @@ -9970,7 +9970,7 @@ Nessun dato disponibile apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 257 + 258 apps/client/src/app/pages/public/public-page.html @@ -10488,6 +10488,10 @@ apps/client/src/app/pages/faq/faq-page.component.ts 48 + + apps/client/src/app/pages/resources/resources-page.component.ts + 17 + features @@ -11446,7 +11450,7 @@ apps/client/src/app/pages/resources/resources-page.component.ts - 18 + 19 @@ -13762,7 +13766,7 @@ Oops! Could not parse historical data. apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 224 + 223 @@ -14634,7 +14638,7 @@ The current market price is apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 318 + 317 @@ -14957,6 +14961,22 @@ 13 + + Active + Active + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 30 + + + + Closed + Closed + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 31 + + diff --git a/apps/client/src/locales/messages.nl.xlf b/apps/client/src/locales/messages.nl.xlf index c70186bef..1226c8e81 100644 --- a/apps/client/src/locales/messages.nl.xlf +++ b/apps/client/src/locales/messages.nl.xlf @@ -102,7 +102,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 126 + 134 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -278,11 +278,11 @@ apps/client/src/app/components/admin-platform/admin-platform.component.html - 97 + 101 apps/client/src/app/components/admin-tag/admin-tag.component.html - 77 + 81 libs/ui/src/lib/account-balances/account-balances.component.html @@ -754,7 +754,7 @@ Registratie apps/client/src/app/components/admin-users/admin-users.html - 88 + 96 @@ -762,7 +762,7 @@ Betrokkenheid per dag apps/client/src/app/components/admin-users/admin-users.html - 150 + 158 @@ -770,7 +770,7 @@ Laatste verzoek apps/client/src/app/components/admin-users/admin-users.html - 175 + 183 @@ -814,7 +814,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 105 + 113 apps/client/src/app/components/header/header.component.html @@ -1166,7 +1166,7 @@ apps/client/src/app/pages/resources/resources-page.html - 39 + 56 @@ -1210,7 +1210,7 @@ apps/client/src/app/pages/portfolio/holdings/holdings-page.html - 23 + 32 @@ -2209,7 +2209,7 @@ Per rekening apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 269 + 270 @@ -2217,7 +2217,7 @@ Per valuta apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 62 + 63 @@ -2225,7 +2225,7 @@ Per asset klasse apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 85 + 86 @@ -2233,7 +2233,7 @@ Per positie apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 108 + 109 @@ -2241,7 +2241,7 @@ Per sector apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 131 + 132 @@ -2249,7 +2249,7 @@ Per continent apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 155 + 156 @@ -2257,7 +2257,7 @@ Per land apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 312 + 313 @@ -2265,7 +2265,7 @@ Regio's apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 202 + 203 apps/client/src/app/pages/public/public-page.html @@ -2841,7 +2841,7 @@ Ontwikkelde markten apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 227 + 228 apps/client/src/app/pages/public/public-page.html @@ -2893,7 +2893,7 @@ Andere markten apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 245 + 246 apps/client/src/app/pages/public/public-page.html @@ -2905,7 +2905,7 @@ Opkomende markten apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 236 + 237 apps/client/src/app/pages/public/public-page.html @@ -2933,7 +2933,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 69 + 77 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -4073,7 +4073,7 @@ Gebruiker nadoen apps/client/src/app/components/admin-users/admin-users.html - 214 + 222 @@ -4081,7 +4081,7 @@ Gebruiker verwijderen apps/client/src/app/components/admin-users/admin-users.html - 224 + 232 @@ -4097,7 +4097,7 @@ Per ETF-aanbieder apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 289 + 290 @@ -4165,7 +4165,7 @@ Per platform apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 43 + 44 @@ -9797,7 +9797,7 @@ Gidsen apps/client/src/app/pages/resources/resources-page.html - 5 + 22 @@ -9805,7 +9805,7 @@ Woordenlijst apps/client/src/app/pages/resources/resources-page.html - 75 + 92 @@ -9889,7 +9889,7 @@ Per markt apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 178 + 179 @@ -9969,7 +9969,7 @@ Geen data beschikbaar apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 257 + 258 apps/client/src/app/pages/public/public-page.html @@ -10487,6 +10487,10 @@ apps/client/src/app/pages/faq/faq-page.component.ts 48 + + apps/client/src/app/pages/resources/resources-page.component.ts + 17 + features @@ -11445,7 +11449,7 @@ apps/client/src/app/pages/resources/resources-page.component.ts - 18 + 19 @@ -13761,7 +13765,7 @@ Oops! Could not parse historical data. apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 224 + 223 @@ -14633,7 +14637,7 @@ The current market price is apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 318 + 317 @@ -14956,6 +14960,22 @@ 13 + + Active + Active + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 30 + + + + Closed + Closed + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 31 + + diff --git a/apps/client/src/locales/messages.pl.xlf b/apps/client/src/locales/messages.pl.xlf index e5e5d6b27..743abba21 100644 --- a/apps/client/src/locales/messages.pl.xlf +++ b/apps/client/src/locales/messages.pl.xlf @@ -308,6 +308,10 @@ apps/client/src/app/pages/faq/faq-page.component.ts 48 + + apps/client/src/app/pages/resources/resources-page.component.ts + 17 + features @@ -986,7 +990,7 @@ apps/client/src/app/pages/resources/resources-page.component.ts - 18 + 19 @@ -1038,7 +1042,7 @@ apps/client/src/app/pages/resources/resources-page.html - 39 + 56 @@ -1610,7 +1614,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 126 + 134 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -1842,11 +1846,11 @@ apps/client/src/app/components/admin-platform/admin-platform.component.html - 97 + 101 apps/client/src/app/components/admin-tag/admin-tag.component.html - 77 + 81 libs/ui/src/lib/account-balances/account-balances.component.html @@ -2278,7 +2282,7 @@ Oops! Could not parse historical data. apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 224 + 223 @@ -2334,7 +2338,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 69 + 77 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -2642,7 +2646,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 105 + 113 apps/client/src/app/components/header/header.component.html @@ -2770,7 +2774,7 @@ Registration apps/client/src/app/components/admin-users/admin-users.html - 88 + 96 @@ -2778,7 +2782,7 @@ Engagement per Day apps/client/src/app/components/admin-users/admin-users.html - 150 + 158 @@ -2786,7 +2790,7 @@ Last Request apps/client/src/app/components/admin-users/admin-users.html - 175 + 183 @@ -2794,7 +2798,7 @@ Impersonate User apps/client/src/app/components/admin-users/admin-users.html - 214 + 222 @@ -2802,7 +2806,7 @@ Delete User apps/client/src/app/components/admin-users/admin-users.html - 224 + 232 @@ -2986,7 +2990,7 @@ apps/client/src/app/pages/portfolio/holdings/holdings-page.html - 23 + 32 @@ -5208,7 +5212,7 @@ By Platform apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 43 + 44 @@ -5216,7 +5220,7 @@ By Currency apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 62 + 63 @@ -5224,7 +5228,7 @@ By Asset Class apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 85 + 86 @@ -5232,7 +5236,7 @@ By Holding apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 108 + 109 @@ -5240,7 +5244,7 @@ By Sector apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 131 + 132 @@ -5248,7 +5252,7 @@ By Continent apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 155 + 156 @@ -5256,7 +5260,7 @@ By Market apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 178 + 179 @@ -5264,7 +5268,7 @@ Regions apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 202 + 203 apps/client/src/app/pages/public/public-page.html @@ -5276,7 +5280,7 @@ Developed Markets apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 227 + 228 apps/client/src/app/pages/public/public-page.html @@ -5288,7 +5292,7 @@ Emerging Markets apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 236 + 237 apps/client/src/app/pages/public/public-page.html @@ -5300,7 +5304,7 @@ Other Markets apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 245 + 246 apps/client/src/app/pages/public/public-page.html @@ -5312,7 +5316,7 @@ No data available apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 257 + 258 apps/client/src/app/pages/public/public-page.html @@ -5324,7 +5328,7 @@ By Account apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 269 + 270 @@ -5332,7 +5336,7 @@ By ETF Provider apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 289 + 290 @@ -5340,7 +5344,7 @@ By Country apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 312 + 313 @@ -13044,7 +13048,7 @@ Guides apps/client/src/app/pages/resources/resources-page.html - 5 + 22 @@ -13052,7 +13056,7 @@ Glossary apps/client/src/app/pages/resources/resources-page.html - 75 + 92 @@ -14636,7 +14640,7 @@ The current market price is apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 318 + 317 @@ -14959,6 +14963,22 @@ 13 + + Active + Active + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 30 + + + + Closed + Closed + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 31 + + diff --git a/apps/client/src/locales/messages.pt.xlf b/apps/client/src/locales/messages.pt.xlf index 2d3eeaa55..41e45f0bb 100644 --- a/apps/client/src/locales/messages.pt.xlf +++ b/apps/client/src/locales/messages.pt.xlf @@ -114,7 +114,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 126 + 134 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -334,11 +334,11 @@ apps/client/src/app/components/admin-platform/admin-platform.component.html - 97 + 101 apps/client/src/app/components/admin-tag/admin-tag.component.html - 77 + 81 libs/ui/src/lib/account-balances/account-balances.component.html @@ -882,7 +882,7 @@ Registo apps/client/src/app/components/admin-users/admin-users.html - 88 + 96 @@ -894,7 +894,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 105 + 113 apps/client/src/app/components/header/header.component.html @@ -922,7 +922,7 @@ Envolvimento por Dia apps/client/src/app/components/admin-users/admin-users.html - 150 + 158 @@ -930,7 +930,7 @@ Último Pedido apps/client/src/app/components/admin-users/admin-users.html - 175 + 183 @@ -1338,7 +1338,7 @@ apps/client/src/app/pages/resources/resources-page.html - 39 + 56 @@ -1390,7 +1390,7 @@ apps/client/src/app/pages/portfolio/holdings/holdings-page.html - 23 + 32 @@ -1793,7 +1793,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 69 + 77 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -2681,7 +2681,7 @@ Por Conta apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 269 + 270 @@ -2689,7 +2689,7 @@ Por Moeda apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 62 + 63 @@ -2697,7 +2697,7 @@ Por Classe de Ativo apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 85 + 86 @@ -2705,7 +2705,7 @@ Por Posse apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 108 + 109 @@ -2713,7 +2713,7 @@ Por Setor apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 131 + 132 @@ -2721,7 +2721,7 @@ Por Continente apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 155 + 156 @@ -2729,7 +2729,7 @@ Por País apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 312 + 313 @@ -2737,7 +2737,7 @@ Regiões apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 202 + 203 apps/client/src/app/pages/public/public-page.html @@ -2749,7 +2749,7 @@ Mercados Desenvoldidos apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 227 + 228 apps/client/src/app/pages/public/public-page.html @@ -2761,7 +2761,7 @@ Mercados Emergentes apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 236 + 237 apps/client/src/app/pages/public/public-page.html @@ -2773,7 +2773,7 @@ Outros Mercados apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 245 + 246 apps/client/src/app/pages/public/public-page.html @@ -4073,7 +4073,7 @@ Personificar Utilizador apps/client/src/app/components/admin-users/admin-users.html - 214 + 222 @@ -4081,7 +4081,7 @@ Apagar Utilizador apps/client/src/app/components/admin-users/admin-users.html - 224 + 232 @@ -4097,7 +4097,7 @@ Por Prestador de ETF apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 289 + 290 @@ -4165,7 +4165,7 @@ Por Plataforma apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 43 + 44 @@ -9797,7 +9797,7 @@ Guides apps/client/src/app/pages/resources/resources-page.html - 5 + 22 @@ -9805,7 +9805,7 @@ Glossary apps/client/src/app/pages/resources/resources-page.html - 75 + 92 @@ -9889,7 +9889,7 @@ By Market apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 178 + 179 @@ -9969,7 +9969,7 @@ No data available apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 257 + 258 apps/client/src/app/pages/public/public-page.html @@ -10487,6 +10487,10 @@ apps/client/src/app/pages/faq/faq-page.component.ts 48 + + apps/client/src/app/pages/resources/resources-page.component.ts + 17 + features @@ -11445,7 +11449,7 @@ apps/client/src/app/pages/resources/resources-page.component.ts - 18 + 19 @@ -13761,7 +13765,7 @@ Oops! Could not parse historical data. apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 224 + 223 @@ -14633,7 +14637,7 @@ The current market price is apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 318 + 317 @@ -14956,6 +14960,22 @@ 13 + + Active + Active + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 30 + + + + Closed + Closed + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 31 + + diff --git a/apps/client/src/locales/messages.tr.xlf b/apps/client/src/locales/messages.tr.xlf index 1e137c100..0b212cb9c 100644 --- a/apps/client/src/locales/messages.tr.xlf +++ b/apps/client/src/locales/messages.tr.xlf @@ -308,6 +308,10 @@ apps/client/src/app/pages/faq/faq-page.component.ts 48 + + apps/client/src/app/pages/resources/resources-page.component.ts + 17 + features @@ -986,7 +990,7 @@ apps/client/src/app/pages/resources/resources-page.component.ts - 18 + 19 @@ -1014,7 +1018,7 @@ apps/client/src/app/pages/resources/resources-page.html - 39 + 56 @@ -1602,7 +1606,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 126 + 134 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -1806,11 +1810,11 @@ apps/client/src/app/components/admin-platform/admin-platform.component.html - 97 + 101 apps/client/src/app/components/admin-tag/admin-tag.component.html - 77 + 81 libs/ui/src/lib/account-balances/account-balances.component.html @@ -2266,7 +2270,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 69 + 77 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -2554,7 +2558,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 105 + 113 apps/client/src/app/components/header/header.component.html @@ -2630,7 +2634,7 @@ Kayıt apps/client/src/app/components/admin-users/admin-users.html - 88 + 96 @@ -2638,7 +2642,7 @@ Günlük etkileşim apps/client/src/app/components/admin-users/admin-users.html - 150 + 158 @@ -2646,7 +2650,7 @@ Son Talep apps/client/src/app/components/admin-users/admin-users.html - 175 + 183 @@ -2654,7 +2658,7 @@ Kullanıcıyı Taklit Et apps/client/src/app/components/admin-users/admin-users.html - 214 + 222 @@ -2662,7 +2666,7 @@ Kullanıcıyı Sil apps/client/src/app/components/admin-users/admin-users.html - 224 + 232 @@ -2838,7 +2842,7 @@ apps/client/src/app/pages/portfolio/holdings/holdings-page.html - 23 + 32 @@ -4685,7 +4689,7 @@ Platforma Göre apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 43 + 44 @@ -4693,7 +4697,7 @@ Para Birimine Göre apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 62 + 63 @@ -4701,7 +4705,7 @@ Varlık Sınıfına Göre apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 85 + 86 @@ -4709,7 +4713,7 @@ Varlığa Göre apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 108 + 109 @@ -4717,7 +4721,7 @@ Sektöre Göre apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 131 + 132 @@ -4725,7 +4729,7 @@ Kıtaya Göre apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 155 + 156 @@ -4733,7 +4737,7 @@ Piyasaya Göre apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 178 + 179 @@ -4741,7 +4745,7 @@ Bölgeler apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 202 + 203 apps/client/src/app/pages/public/public-page.html @@ -4753,7 +4757,7 @@ Gelişmiş Piyasalar apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 227 + 228 apps/client/src/app/pages/public/public-page.html @@ -4765,7 +4769,7 @@ Gelişmekte Olan Piyasalar apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 236 + 237 apps/client/src/app/pages/public/public-page.html @@ -4777,7 +4781,7 @@ Diğer Piyasalar apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 245 + 246 apps/client/src/app/pages/public/public-page.html @@ -4789,7 +4793,7 @@ Veri mevcut değil apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 257 + 258 apps/client/src/app/pages/public/public-page.html @@ -4801,7 +4805,7 @@ Hesaba Göre apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 269 + 270 @@ -4809,7 +4813,7 @@ ETF Sağlayıcısına Göre apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 289 + 290 @@ -4817,7 +4821,7 @@ Ülkeye Göre apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 312 + 313 @@ -12261,7 +12265,7 @@ Kılavuzlar apps/client/src/app/pages/resources/resources-page.html - 5 + 22 @@ -12269,7 +12273,7 @@ Sözlük apps/client/src/app/pages/resources/resources-page.html - 75 + 92 @@ -13761,7 +13765,7 @@ Oops! Could not parse historical data. apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 224 + 223 @@ -14633,7 +14637,7 @@ The current market price is apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 318 + 317 @@ -14956,6 +14960,22 @@ 13 + + Active + Active + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 30 + + + + Closed + Closed + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 31 + + diff --git a/apps/client/src/locales/messages.xlf b/apps/client/src/locales/messages.xlf index 871afeace..ab19987ba 100644 --- a/apps/client/src/locales/messages.xlf +++ b/apps/client/src/locales/messages.xlf @@ -307,6 +307,10 @@ apps/client/src/app/pages/faq/faq-page.component.ts 48 + + apps/client/src/app/pages/resources/resources-page.component.ts + 17 + features @@ -978,7 +982,7 @@ apps/client/src/app/pages/resources/resources-page.component.ts - 18 + 19 @@ -1026,7 +1030,7 @@ apps/client/src/app/pages/resources/resources-page.html - 39 + 56 @@ -1578,7 +1582,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 126 + 134 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -1809,11 +1813,11 @@ apps/client/src/app/components/admin-platform/admin-platform.component.html - 97 + 101 apps/client/src/app/components/admin-tag/admin-tag.component.html - 77 + 81 libs/ui/src/lib/account-balances/account-balances.component.html @@ -2211,7 +2215,7 @@ Oops! Could not parse historical data. apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 224 + 223 @@ -2262,7 +2266,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 69 + 77 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -2544,7 +2548,7 @@ apps/client/src/app/components/admin-users/admin-users.html - 105 + 113 apps/client/src/app/components/header/header.component.html @@ -2660,35 +2664,35 @@ Registration apps/client/src/app/components/admin-users/admin-users.html - 88 + 96 Engagement per Day apps/client/src/app/components/admin-users/admin-users.html - 150 + 158 Last Request apps/client/src/app/components/admin-users/admin-users.html - 175 + 183 Impersonate User apps/client/src/app/components/admin-users/admin-users.html - 214 + 222 Delete User apps/client/src/app/components/admin-users/admin-users.html - 224 + 232 @@ -2854,7 +2858,7 @@ apps/client/src/app/pages/portfolio/holdings/holdings-page.html - 23 + 32 @@ -4840,56 +4844,56 @@ By Platform apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 43 + 44 By Currency apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 62 + 63 By Asset Class apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 85 + 86 By Holding apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 108 + 109 By Sector apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 131 + 132 By Continent apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 155 + 156 By Market apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 178 + 179 Regions apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 202 + 203 apps/client/src/app/pages/public/public-page.html @@ -4900,7 +4904,7 @@ Developed Markets apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 227 + 228 apps/client/src/app/pages/public/public-page.html @@ -4911,7 +4915,7 @@ Emerging Markets apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 236 + 237 apps/client/src/app/pages/public/public-page.html @@ -4922,7 +4926,7 @@ Other Markets apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 245 + 246 apps/client/src/app/pages/public/public-page.html @@ -4933,7 +4937,7 @@ No data available apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 257 + 258 apps/client/src/app/pages/public/public-page.html @@ -4944,21 +4948,21 @@ By Account apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 269 + 270 By ETF Provider apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 289 + 290 By Country apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 312 + 313 @@ -13371,14 +13375,14 @@ Guides apps/client/src/app/pages/resources/resources-page.html - 5 + 22 Glossary apps/client/src/app/pages/resources/resources-page.html - 75 + 92 @@ -14055,7 +14059,7 @@ The current market price is apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts - 318 + 317 @@ -14335,6 +14339,20 @@ 13 + + Closed + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 31 + + + + Active + + apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts + 30 + + diff --git a/libs/common/src/lib/interfaces/filter.interface.ts b/libs/common/src/lib/interfaces/filter.interface.ts index 356b3add7..3d555f796 100644 --- a/libs/common/src/lib/interfaces/filter.interface.ts +++ b/libs/common/src/lib/interfaces/filter.interface.ts @@ -5,6 +5,7 @@ export interface Filter { | 'ACCOUNT' | 'ASSET_CLASS' | 'ASSET_SUB_CLASS' + | 'HOLDING_TYPE' | 'PRESET_ID' | 'SEARCH_QUERY' | 'SYMBOL' diff --git a/libs/common/src/lib/types/holding-type.type.ts b/libs/common/src/lib/types/holding-type.type.ts new file mode 100644 index 000000000..985214a5e --- /dev/null +++ b/libs/common/src/lib/types/holding-type.type.ts @@ -0,0 +1 @@ +export type HoldingType = 'ACTIVE' | 'CLOSED'; diff --git a/libs/common/src/lib/types/index.ts b/libs/common/src/lib/types/index.ts index f1ea770d2..fc4ddc4bf 100644 --- a/libs/common/src/lib/types/index.ts +++ b/libs/common/src/lib/types/index.ts @@ -7,6 +7,7 @@ import type { ColorScheme } from './color-scheme.type'; import type { DateRange } from './date-range.type'; import type { Granularity } from './granularity.type'; import type { GroupBy } from './group-by.type'; +import type { HoldingType } from './holding-type.type'; import type { MarketAdvanced } from './market-advanced.type'; import type { MarketDataPreset } from './market-data-preset.type'; import type { MarketState } from './market-state.type'; @@ -28,6 +29,7 @@ export type { DateRange, Granularity, GroupBy, + HoldingType, Market, MarketAdvanced, MarketDataPreset,