mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
34 changed files with 2608 additions and 320 deletions
File diff suppressed because it is too large
@ -1,40 +0,0 @@ |
|||
import { GfAccountsTableModule } from '@ghostfolio/client/components/accounts-table/accounts-table.module'; |
|||
import { GfDialogFooterModule } from '@ghostfolio/client/components/dialog-footer/dialog-footer.module'; |
|||
import { GfDialogHeaderModule } from '@ghostfolio/client/components/dialog-header/dialog-header.module'; |
|||
import { GfActivitiesTableComponent } from '@ghostfolio/ui/activities-table'; |
|||
import { GfDataProviderCreditsComponent } from '@ghostfolio/ui/data-provider-credits'; |
|||
import { GfLineChartComponent } from '@ghostfolio/ui/line-chart'; |
|||
import { GfPortfolioProportionChartComponent } from '@ghostfolio/ui/portfolio-proportion-chart'; |
|||
import { GfValueComponent } from '@ghostfolio/ui/value'; |
|||
|
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
import { MatButtonModule } from '@angular/material/button'; |
|||
import { MatChipsModule } from '@angular/material/chips'; |
|||
import { MatDialogModule } from '@angular/material/dialog'; |
|||
import { MatTabsModule } from '@angular/material/tabs'; |
|||
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader'; |
|||
|
|||
import { PositionDetailDialog } from './position-detail-dialog.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [PositionDetailDialog], |
|||
imports: [ |
|||
CommonModule, |
|||
GfAccountsTableModule, |
|||
GfActivitiesTableComponent, |
|||
GfDataProviderCreditsComponent, |
|||
GfDialogFooterModule, |
|||
GfDialogHeaderModule, |
|||
GfLineChartComponent, |
|||
GfPortfolioProportionChartComponent, |
|||
GfValueComponent, |
|||
MatButtonModule, |
|||
MatChipsModule, |
|||
MatDialogModule, |
|||
MatTabsModule, |
|||
NgxSkeletonLoaderModule |
|||
], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class GfPositionDetailDialogModule {} |
@ -0,0 +1,11 @@ |
|||
export const paths = { |
|||
about: $localize`about`, |
|||
faq: $localize`faq`, |
|||
features: $localize`features`, |
|||
license: $localize`license`, |
|||
markets: $localize`markets`, |
|||
pricing: $localize`pricing`, |
|||
privacyPolicy: $localize`privacy-policy`, |
|||
register: $localize`register`, |
|||
resources: $localize`resources` |
|||
}; |
@ -1,16 +0,0 @@ |
|||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|||
|
|||
import { NgModule } from '@angular/core'; |
|||
import { RouterModule, Routes } from '@angular/router'; |
|||
|
|||
import { DemoPageComponent } from './demo-page.component'; |
|||
|
|||
const routes: Routes = [ |
|||
{ path: '', component: DemoPageComponent, canActivate: [AuthGuard] } |
|||
]; |
|||
|
|||
@NgModule({ |
|||
imports: [RouterModule.forChild(routes)], |
|||
exports: [RouterModule] |
|||
}) |
|||
export class DemoPageRoutingModule {} |
@ -1,12 +0,0 @@ |
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
|
|||
import { DemoPageRoutingModule } from './demo-page-routing.module'; |
|||
import { DemoPageComponent } from './demo-page.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [DemoPageComponent], |
|||
imports: [CommonModule, DemoPageRoutingModule], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class DemoPageModule {} |
@ -1,21 +0,0 @@ |
|||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|||
|
|||
import { NgModule } from '@angular/core'; |
|||
import { RouterModule, Routes } from '@angular/router'; |
|||
|
|||
import { FeaturesPageComponent } from './features-page.component'; |
|||
|
|||
const routes: Routes = [ |
|||
{ |
|||
canActivate: [AuthGuard], |
|||
component: FeaturesPageComponent, |
|||
path: '', |
|||
title: $localize`Features` |
|||
} |
|||
]; |
|||
|
|||
@NgModule({ |
|||
imports: [RouterModule.forChild(routes)], |
|||
exports: [RouterModule] |
|||
}) |
|||
export class FeaturesPageRoutingModule {} |
@ -1,22 +0,0 @@ |
|||
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|||
|
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
import { MatButtonModule } from '@angular/material/button'; |
|||
import { MatCardModule } from '@angular/material/card'; |
|||
|
|||
import { FeaturesPageRoutingModule } from './features-page-routing.module'; |
|||
import { FeaturesPageComponent } from './features-page.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [FeaturesPageComponent], |
|||
imports: [ |
|||
CommonModule, |
|||
FeaturesPageRoutingModule, |
|||
GfPremiumIndicatorComponent, |
|||
MatButtonModule, |
|||
MatCardModule |
|||
], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class FeaturesPageModule {} |
@ -1,20 +0,0 @@ |
|||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|||
|
|||
import { NgModule } from '@angular/core'; |
|||
import { RouterModule, Routes } from '@angular/router'; |
|||
|
|||
import { I18nPageComponent } from './i18n-page.component'; |
|||
|
|||
const routes: Routes = [ |
|||
{ |
|||
canActivate: [AuthGuard], |
|||
component: I18nPageComponent, |
|||
path: '' |
|||
} |
|||
]; |
|||
|
|||
@NgModule({ |
|||
imports: [RouterModule.forChild(routes)], |
|||
exports: [RouterModule] |
|||
}) |
|||
export class I18nPageRoutingModule {} |
@ -1,12 +0,0 @@ |
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
|
|||
import { I18nPageRoutingModule } from './i18n-page-routing.module'; |
|||
import { I18nPageComponent } from './i18n-page.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [I18nPageComponent], |
|||
imports: [CommonModule, I18nPageRoutingModule], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class I18nPageModule {} |
@ -1,14 +0,0 @@ |
|||
import { WebauthnPageComponent } from '@ghostfolio/client/pages/webauthn/webauthn-page.component'; |
|||
|
|||
import { NgModule } from '@angular/core'; |
|||
import { RouterModule, Routes } from '@angular/router'; |
|||
|
|||
const routes: Routes = [ |
|||
{ component: WebauthnPageComponent, path: '', title: $localize`Sign in` } |
|||
]; |
|||
|
|||
@NgModule({ |
|||
imports: [RouterModule.forChild(routes)], |
|||
exports: [RouterModule] |
|||
}) |
|||
export class WebauthnPageRoutingModule {} |
@ -1,21 +0,0 @@ |
|||
import { WebauthnPageComponent } from '@ghostfolio/client/pages/webauthn/webauthn-page.component'; |
|||
import { GfLogoComponent } from '@ghostfolio/ui/logo'; |
|||
|
|||
import { CommonModule } from '@angular/common'; |
|||
import { NgModule } from '@angular/core'; |
|||
import { MatButtonModule } from '@angular/material/button'; |
|||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; |
|||
|
|||
import { WebauthnPageRoutingModule } from './webauthn-page-routing.module'; |
|||
|
|||
@NgModule({ |
|||
declarations: [WebauthnPageComponent], |
|||
imports: [ |
|||
CommonModule, |
|||
GfLogoComponent, |
|||
MatButtonModule, |
|||
MatProgressSpinnerModule, |
|||
WebauthnPageRoutingModule |
|||
] |
|||
}) |
|||
export class WebauthnPageModule {} |
Loading…
Reference in new issue