|
|
@ -1,3 +1,5 @@ |
|
|
|
|
|
import { GfWorldMapChartComponent } from '@ghostfolio/client/components/world-map-chart/world-map-chart.component'; |
|
|
|
|
|
import { DataService } from '@ghostfolio/client/services/data.service'; |
|
|
import { UNKNOWN_KEY } from '@ghostfolio/common/config'; |
|
|
import { UNKNOWN_KEY } from '@ghostfolio/common/config'; |
|
|
import { prettifySymbol } from '@ghostfolio/common/helper'; |
|
|
import { prettifySymbol } from '@ghostfolio/common/helper'; |
|
|
import { |
|
|
import { |
|
|
@ -26,14 +28,8 @@ import { DeviceDetectorService } from 'ngx-device-detector'; |
|
|
import { EMPTY, Subject } from 'rxjs'; |
|
|
import { EMPTY, Subject } from 'rxjs'; |
|
|
import { catchError, takeUntil } from 'rxjs/operators'; |
|
|
import { catchError, takeUntil } from 'rxjs/operators'; |
|
|
|
|
|
|
|
|
import { GfWorldMapChartComponent } from '../../components/world-map-chart/world-map-chart.component'; |
|
|
|
|
|
import { DataService } from '../../services/data.service'; |
|
|
|
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
|
host: { class: 'page' }, |
|
|
host: { class: 'page' }, |
|
|
selector: 'gf-public-page', |
|
|
|
|
|
styleUrls: ['./public-page.scss'], |
|
|
|
|
|
templateUrl: './public-page.html', |
|
|
|
|
|
imports: [ |
|
|
imports: [ |
|
|
CommonModule, |
|
|
CommonModule, |
|
|
GfHoldingsTableComponent, |
|
|
GfHoldingsTableComponent, |
|
|
@ -43,7 +39,10 @@ import { DataService } from '../../services/data.service'; |
|
|
MatButtonModule, |
|
|
MatButtonModule, |
|
|
MatCardModule |
|
|
MatCardModule |
|
|
], |
|
|
], |
|
|
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|
|
schemas: [CUSTOM_ELEMENTS_SCHEMA], |
|
|
|
|
|
selector: 'gf-public-page', |
|
|
|
|
|
styleUrls: ['./public-page.scss'], |
|
|
|
|
|
templateUrl: './public-page.html' |
|
|
}) |
|
|
}) |
|
|
export class GfPublicPageComponent implements OnInit { |
|
|
export class GfPublicPageComponent implements OnInit { |
|
|
public continents: { |
|
|
public continents: { |
|
|
|