mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
27 changed files with 213 additions and 375 deletions
@ -1,32 +0,0 @@ |
|||
import { ImportActivitiesService } from '@ghostfolio/client/services/import-activities.service'; |
|||
import { GfActivitiesTableComponent } from '@ghostfolio/ui/activities-table'; |
|||
|
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
import { MatButtonModule } from '@angular/material/button'; |
|||
import { MatSnackBarModule } from '@angular/material/snack-bar'; |
|||
import { RouterModule } from '@angular/router'; |
|||
import { IonIcon } from '@ionic/angular/standalone'; |
|||
|
|||
import { ActivitiesPageRoutingModule } from './activities-page-routing.module'; |
|||
import { ActivitiesPageComponent } from './activities-page.component'; |
|||
import { GfCreateOrUpdateActivityDialogModule } from './create-or-update-activity-dialog/create-or-update-activity-dialog.module'; |
|||
import { GfImportActivitiesDialogModule } from './import-activities-dialog/import-activities-dialog.module'; |
|||
|
|||
@NgModule({ |
|||
declarations: [ActivitiesPageComponent], |
|||
imports: [ |
|||
ActivitiesPageRoutingModule, |
|||
CommonModule, |
|||
GfActivitiesTableComponent, |
|||
GfCreateOrUpdateActivityDialogModule, |
|||
GfImportActivitiesDialogModule, |
|||
IonIcon, |
|||
MatButtonModule, |
|||
MatSnackBarModule, |
|||
RouterModule |
|||
], |
|||
providers: [ImportActivitiesService], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class ActivitiesPageModule {} |
@ -1,41 +0,0 @@ |
|||
import { GfEntityLogoComponent } from '@ghostfolio/ui/entity-logo'; |
|||
import { GfSymbolAutocompleteComponent } from '@ghostfolio/ui/symbol-autocomplete'; |
|||
import { GfTagsSelectorComponent } from '@ghostfolio/ui/tags-selector'; |
|||
import { GfValueComponent } from '@ghostfolio/ui/value'; |
|||
|
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
import { FormsModule, ReactiveFormsModule } from '@angular/forms'; |
|||
import { MatButtonModule } from '@angular/material/button'; |
|||
import { MatCheckboxModule } from '@angular/material/checkbox'; |
|||
import { MatDatepickerModule } from '@angular/material/datepicker'; |
|||
import { MatDialogModule } from '@angular/material/dialog'; |
|||
import { MatFormFieldModule } from '@angular/material/form-field'; |
|||
import { MatInputModule } from '@angular/material/input'; |
|||
import { MatSelectModule } from '@angular/material/select'; |
|||
import { IonIcon } from '@ionic/angular/standalone'; |
|||
|
|||
import { CreateOrUpdateActivityDialog } from './create-or-update-activity-dialog.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [CreateOrUpdateActivityDialog], |
|||
imports: [ |
|||
CommonModule, |
|||
FormsModule, |
|||
GfEntityLogoComponent, |
|||
GfSymbolAutocompleteComponent, |
|||
GfTagsSelectorComponent, |
|||
GfValueComponent, |
|||
IonIcon, |
|||
MatButtonModule, |
|||
MatCheckboxModule, |
|||
MatDatepickerModule, |
|||
MatDialogModule, |
|||
MatFormFieldModule, |
|||
MatInputModule, |
|||
MatSelectModule, |
|||
ReactiveFormsModule |
|||
], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class GfCreateOrUpdateActivityDialogModule {} |
@ -1,43 +0,0 @@ |
|||
import { GfDialogFooterModule } from '@ghostfolio/client/components/dialog-footer/dialog-footer.module'; |
|||
import { GfDialogHeaderModule } from '@ghostfolio/client/components/dialog-header/dialog-header.module'; |
|||
import { GfFileDropModule } from '@ghostfolio/client/directives/file-drop/file-drop.module'; |
|||
import { GfSymbolModule } from '@ghostfolio/client/pipes/symbol/symbol.module'; |
|||
import { GfActivitiesTableComponent } from '@ghostfolio/ui/activities-table'; |
|||
|
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
import { FormsModule, ReactiveFormsModule } from '@angular/forms'; |
|||
import { MatButtonModule } from '@angular/material/button'; |
|||
import { MatDialogModule } from '@angular/material/dialog'; |
|||
import { MatExpansionModule } from '@angular/material/expansion'; |
|||
import { MatFormFieldModule } from '@angular/material/form-field'; |
|||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; |
|||
import { MatSelectModule } from '@angular/material/select'; |
|||
import { MatStepperModule } from '@angular/material/stepper'; |
|||
import { IonIcon } from '@ionic/angular/standalone'; |
|||
|
|||
import { ImportActivitiesDialog } from './import-activities-dialog.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [ImportActivitiesDialog], |
|||
imports: [ |
|||
CommonModule, |
|||
FormsModule, |
|||
GfActivitiesTableComponent, |
|||
GfDialogFooterModule, |
|||
GfDialogHeaderModule, |
|||
GfFileDropModule, |
|||
GfSymbolModule, |
|||
IonIcon, |
|||
MatButtonModule, |
|||
MatDialogModule, |
|||
MatExpansionModule, |
|||
MatFormFieldModule, |
|||
MatProgressSpinnerModule, |
|||
MatSelectModule, |
|||
MatStepperModule, |
|||
ReactiveFormsModule |
|||
], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class GfImportActivitiesDialogModule {} |
@ -1,32 +0,0 @@ |
|||
import { GfWorldMapChartModule } from '@ghostfolio/client/components/world-map-chart/world-map-chart.module'; |
|||
import { GfPortfolioProportionChartComponent } from '@ghostfolio/ui/portfolio-proportion-chart'; |
|||
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|||
import { GfTopHoldingsComponent } from '@ghostfolio/ui/top-holdings'; |
|||
import { GfValueComponent } from '@ghostfolio/ui/value'; |
|||
|
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
import { MatCardModule } from '@angular/material/card'; |
|||
import { MatDialogModule } from '@angular/material/dialog'; |
|||
import { MatProgressBarModule } from '@angular/material/progress-bar'; |
|||
|
|||
import { AllocationsPageRoutingModule } from './allocations-page-routing.module'; |
|||
import { AllocationsPageComponent } from './allocations-page.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [AllocationsPageComponent], |
|||
imports: [ |
|||
AllocationsPageRoutingModule, |
|||
CommonModule, |
|||
GfPortfolioProportionChartComponent, |
|||
GfPremiumIndicatorComponent, |
|||
GfTopHoldingsComponent, |
|||
GfValueComponent, |
|||
GfWorldMapChartModule, |
|||
MatCardModule, |
|||
MatDialogModule, |
|||
MatProgressBarModule |
|||
], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class AllocationsPageModule {} |
@ -1,40 +0,0 @@ |
|||
import { GfBenchmarkComparatorModule } from '@ghostfolio/client/components/benchmark-comparator/benchmark-comparator.module'; |
|||
import { GfInvestmentChartModule } from '@ghostfolio/client/components/investment-chart/investment-chart.module'; |
|||
import { GfToggleModule } from '@ghostfolio/client/components/toggle/toggle.module'; |
|||
import { GfActivitiesFilterComponent } from '@ghostfolio/ui/activities-filter'; |
|||
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|||
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 { MatCardModule } from '@angular/material/card'; |
|||
import { MatMenuModule } from '@angular/material/menu'; |
|||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; |
|||
import { IonIcon } from '@ionic/angular/standalone'; |
|||
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader'; |
|||
|
|||
import { AnalysisPageRoutingModule } from './analysis-page-routing.module'; |
|||
import { AnalysisPageComponent } from './analysis-page.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [AnalysisPageComponent], |
|||
imports: [ |
|||
AnalysisPageRoutingModule, |
|||
CommonModule, |
|||
GfActivitiesFilterComponent, |
|||
GfBenchmarkComparatorModule, |
|||
GfInvestmentChartModule, |
|||
GfPremiumIndicatorComponent, |
|||
GfToggleModule, |
|||
GfValueComponent, |
|||
IonIcon, |
|||
MatButtonModule, |
|||
MatCardModule, |
|||
MatMenuModule, |
|||
MatProgressSpinnerModule, |
|||
NgxSkeletonLoaderModule |
|||
], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class AnalysisPageModule {} |
@ -1,21 +0,0 @@ |
|||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|||
|
|||
import { NgModule } from '@angular/core'; |
|||
import { RouterModule, Routes } from '@angular/router'; |
|||
|
|||
import { FirePageComponent } from './fire-page.component'; |
|||
|
|||
const routes: Routes = [ |
|||
{ |
|||
canActivate: [AuthGuard], |
|||
component: FirePageComponent, |
|||
path: '', |
|||
title: 'FIRE' |
|||
} |
|||
]; |
|||
|
|||
@NgModule({ |
|||
imports: [RouterModule.forChild(routes)], |
|||
exports: [RouterModule] |
|||
}) |
|||
export class FirePageRoutingModule {} |
@ -1,24 +0,0 @@ |
|||
import { GfFireCalculatorComponent } from '@ghostfolio/ui/fire-calculator'; |
|||
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|||
import { GfValueComponent } from '@ghostfolio/ui/value'; |
|||
|
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader'; |
|||
|
|||
import { FirePageRoutingModule } from './fire-page-routing.module'; |
|||
import { FirePageComponent } from './fire-page.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [FirePageComponent], |
|||
imports: [ |
|||
CommonModule, |
|||
FirePageRoutingModule, |
|||
GfFireCalculatorComponent, |
|||
GfPremiumIndicatorComponent, |
|||
GfValueComponent, |
|||
NgxSkeletonLoaderModule |
|||
], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class FirePageModule {} |
@ -0,0 +1,14 @@ |
|||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|||
|
|||
import { Routes } from '@angular/router'; |
|||
|
|||
import { FirePageComponent } from './fire-page.component'; |
|||
|
|||
export const routes: Routes = [ |
|||
{ |
|||
canActivate: [AuthGuard], |
|||
component: FirePageComponent, |
|||
path: '', |
|||
title: 'FIRE' |
|||
} |
|||
]; |
@ -1,21 +0,0 @@ |
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
import { MatTabsModule } from '@angular/material/tabs'; |
|||
import { RouterModule } from '@angular/router'; |
|||
import { IonIcon } from '@ionic/angular/standalone'; |
|||
|
|||
import { PortfolioPageRoutingModule } from './portfolio-page-routing.module'; |
|||
import { PortfolioPageComponent } from './portfolio-page.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [PortfolioPageComponent], |
|||
imports: [ |
|||
CommonModule, |
|||
IonIcon, |
|||
MatTabsModule, |
|||
PortfolioPageRoutingModule, |
|||
RouterModule |
|||
], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class PortfolioPageModule {} |
@ -1,21 +0,0 @@ |
|||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|||
|
|||
import { NgModule } from '@angular/core'; |
|||
import { RouterModule, Routes } from '@angular/router'; |
|||
|
|||
import { XRayPageComponent } from './x-ray-page.component'; |
|||
|
|||
const routes: Routes = [ |
|||
{ |
|||
canActivate: [AuthGuard], |
|||
component: XRayPageComponent, |
|||
path: '', |
|||
title: 'X-ray' |
|||
} |
|||
]; |
|||
|
|||
@NgModule({ |
|||
imports: [RouterModule.forChild(routes)], |
|||
exports: [RouterModule] |
|||
}) |
|||
export class XRayPageRoutingModule {} |
@ -1,24 +0,0 @@ |
|||
import { GfRulesModule } from '@ghostfolio/client/components/rules/rules.module'; |
|||
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|||
|
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
import { IonIcon } from '@ionic/angular/standalone'; |
|||
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader'; |
|||
|
|||
import { XRayPageRoutingModule } from './x-ray-page-routing.module'; |
|||
import { XRayPageComponent } from './x-ray-page.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [XRayPageComponent], |
|||
imports: [ |
|||
CommonModule, |
|||
GfPremiumIndicatorComponent, |
|||
GfRulesModule, |
|||
IonIcon, |
|||
NgxSkeletonLoaderModule, |
|||
XRayPageRoutingModule |
|||
], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class XRayPageModule {} |
@ -0,0 +1,14 @@ |
|||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|||
|
|||
import { Routes } from '@angular/router'; |
|||
|
|||
import { XRayPageComponent } from './x-ray-page.component'; |
|||
|
|||
export const routes: Routes = [ |
|||
{ |
|||
canActivate: [AuthGuard], |
|||
component: XRayPageComponent, |
|||
path: '', |
|||
title: 'X-ray' |
|||
} |
|||
]; |
Loading…
Reference in new issue