Clean up modules (#1063)
This commit is contained in:
parent
abaa6b5f27
commit
8897f32bc5
@ -10,7 +10,6 @@ import { AccessTableComponent } from './access-table.component';
|
||||
declarations: [AccessTableComponent],
|
||||
exports: [AccessTableComponent],
|
||||
imports: [CommonModule, MatButtonModule, MatMenuModule, MatTableModule],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfPortfolioAccessTableModule {}
|
||||
|
@ -12,7 +12,6 @@ import { AccountDetailDialog } from './account-detail-dialog.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [AccountDetailDialog],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfActivitiesTableModule,
|
||||
@ -23,7 +22,6 @@ import { AccountDetailDialog } from './account-detail-dialog.component';
|
||||
MatDialogModule,
|
||||
NgxSkeletonLoaderModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfAccountDetailDialogModule {}
|
||||
|
@ -25,7 +25,6 @@ import { AccountsTableComponent } from './accounts-table.component';
|
||||
NgxSkeletonLoaderModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfAccountsTableModule {}
|
||||
|
@ -9,7 +9,6 @@ import { GfMarketDataDetailDialogModule } from './market-data-detail-dialog/mark
|
||||
declarations: [AdminMarketDataDetailComponent],
|
||||
exports: [AdminMarketDataDetailComponent],
|
||||
imports: [CommonModule, GfLineChartModule, GfMarketDataDetailDialogModule],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfAdminMarketDataDetailModule {}
|
||||
|
@ -11,7 +11,6 @@ import { MarketDataDetailDialog } from './market-data-detail-dialog.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [MarketDataDetailDialog],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
@ -22,7 +21,6 @@ import { MarketDataDetailDialog } from './market-data-detail-dialog.component';
|
||||
MatInputModule,
|
||||
ReactiveFormsModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfMarketDataDetailDialogModule {}
|
||||
|
@ -8,7 +8,6 @@ import { DialogFooterComponent } from './dialog-footer.component';
|
||||
declarations: [DialogFooterComponent],
|
||||
exports: [DialogFooterComponent],
|
||||
imports: [CommonModule, MatButtonModule],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfDialogFooterModule {}
|
||||
|
@ -8,7 +8,6 @@ import { DialogHeaderComponent } from './dialog-header.component';
|
||||
declarations: [DialogHeaderComponent],
|
||||
exports: [DialogHeaderComponent],
|
||||
imports: [CommonModule, MatButtonModule],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfDialogHeaderModule {}
|
||||
|
@ -21,7 +21,6 @@ import { HeaderComponent } from './header.component';
|
||||
MatToolbarModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfHeaderModule {}
|
||||
|
@ -11,7 +11,6 @@ import { HomeHoldingsComponent } from './home-holdings.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [HomeHoldingsComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfPositionDetailDialogModule,
|
||||
@ -21,7 +20,6 @@ import { HomeHoldingsComponent } from './home-holdings.component';
|
||||
MatCardModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfHomeHoldingsModule {}
|
||||
|
@ -10,7 +10,6 @@ import { HomeOverviewComponent } from './home-overview.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [HomeOverviewComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfLineChartModule,
|
||||
@ -19,7 +18,6 @@ import { HomeOverviewComponent } from './home-overview.component';
|
||||
GfToggleModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfHomeOverviewModule {}
|
||||
|
@ -8,14 +8,12 @@ import { HomeSummaryComponent } from './home-summary.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [HomeSummaryComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfPortfolioSummaryModule,
|
||||
MatCardModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfHomeSummaryModule {}
|
||||
|
@ -13,7 +13,6 @@ import { LoginWithAccessTokenDialog } from './login-with-access-token-dialog.com
|
||||
|
||||
@NgModule({
|
||||
declarations: [LoginWithAccessTokenDialog],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
@ -26,7 +25,6 @@ import { LoginWithAccessTokenDialog } from './login-with-access-token-dialog.com
|
||||
ReactiveFormsModule,
|
||||
TextFieldModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class LoginWithAccessTokenDialogModule {}
|
||||
|
@ -8,7 +8,6 @@ import { PortfolioPerformanceComponent } from './portfolio-performance.component
|
||||
@NgModule({
|
||||
declarations: [PortfolioPerformanceComponent],
|
||||
exports: [PortfolioPerformanceComponent],
|
||||
imports: [CommonModule, GfValueModule, NgxSkeletonLoaderModule],
|
||||
providers: []
|
||||
imports: [CommonModule, GfValueModule, NgxSkeletonLoaderModule]
|
||||
})
|
||||
export class GfPortfolioPerformanceModule {}
|
||||
|
@ -15,7 +15,6 @@ import { PositionDetailDialog } from './position-detail-dialog.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [PositionDetailDialog],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfActivitiesTableModule,
|
||||
@ -29,7 +28,6 @@ import { PositionDetailDialog } from './position-detail-dialog.component';
|
||||
MatDialogModule,
|
||||
NgxSkeletonLoaderModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfPositionDetailDialogModule {}
|
||||
|
@ -23,7 +23,6 @@ import { PositionComponent } from './position.component';
|
||||
NgxSkeletonLoaderModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfPositionModule {}
|
||||
|
@ -15,7 +15,6 @@ import { PositionsComponent } from './positions.component';
|
||||
GfPositionModule,
|
||||
MatButtonModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfPositionsModule {}
|
||||
|
@ -8,7 +8,6 @@ import { RuleComponent } from './rule.component';
|
||||
declarations: [RuleComponent],
|
||||
exports: [RuleComponent],
|
||||
imports: [CommonModule, NgxSkeletonLoaderModule],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfRuleModule {}
|
||||
|
@ -19,7 +19,6 @@ import { RulesComponent } from './rules.component';
|
||||
MatButtonModule,
|
||||
MatCardModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class RulesModule {}
|
||||
|
@ -7,7 +7,6 @@ import { SymbolIconComponent } from './symbol-icon.component';
|
||||
declarations: [SymbolIconComponent],
|
||||
exports: [SymbolIconComponent],
|
||||
imports: [CommonModule],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfSymbolIconModule {}
|
||||
|
@ -8,7 +8,6 @@ import { ToggleComponent } from './toggle.component';
|
||||
@NgModule({
|
||||
declarations: [ToggleComponent],
|
||||
exports: [ToggleComponent],
|
||||
imports: [CommonModule, MatRadioModule, ReactiveFormsModule],
|
||||
providers: []
|
||||
imports: [CommonModule, MatRadioModule, ReactiveFormsModule]
|
||||
})
|
||||
export class GfToggleModule {}
|
||||
|
@ -7,7 +7,6 @@ import { WorldMapChartComponent } from './world-map-chart.component';
|
||||
@NgModule({
|
||||
declarations: [WorldMapChartComponent],
|
||||
exports: [WorldMapChartComponent],
|
||||
imports: [CommonModule, NgxSkeletonLoaderModule],
|
||||
providers: []
|
||||
imports: [CommonModule, NgxSkeletonLoaderModule]
|
||||
})
|
||||
export class GfWorldMapChartModule {}
|
||||
|
@ -9,7 +9,6 @@ import { AboutPageComponent } from './about-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [AboutPageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
AboutPageRoutingModule,
|
||||
CommonModule,
|
||||
@ -17,7 +16,6 @@ import { AboutPageComponent } from './about-page.component';
|
||||
MatButtonModule,
|
||||
MatCardModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class AboutPageModule {}
|
||||
|
@ -19,7 +19,6 @@ import { GfCreateOrUpdateAccessDialogModule } from './create-or-update-access-di
|
||||
|
||||
@NgModule({
|
||||
declarations: [AccountPageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
AccountPageRoutingModule,
|
||||
CommonModule,
|
||||
@ -37,7 +36,6 @@ import { GfCreateOrUpdateAccessDialogModule } from './create-or-update-access-di
|
||||
MatSlideToggleModule,
|
||||
ReactiveFormsModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: []
|
||||
]
|
||||
})
|
||||
export class AccountPageModule {}
|
||||
|
@ -10,7 +10,6 @@ import { CreateOrUpdateAccessDialog } from './create-or-update-access-dialog.com
|
||||
|
||||
@NgModule({
|
||||
declarations: [CreateOrUpdateAccessDialog],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
@ -19,7 +18,6 @@ import { CreateOrUpdateAccessDialog } from './create-or-update-access-dialog.com
|
||||
MatFormFieldModule,
|
||||
MatSelectModule,
|
||||
ReactiveFormsModule
|
||||
],
|
||||
providers: []
|
||||
]
|
||||
})
|
||||
export class GfCreateOrUpdateAccessDialogModule {}
|
||||
|
@ -11,7 +11,6 @@ import { CreateOrUpdateAccountDialog } from './create-or-update-account-dialog.c
|
||||
|
||||
@NgModule({
|
||||
declarations: [CreateOrUpdateAccountDialog],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
@ -21,7 +20,6 @@ import { CreateOrUpdateAccountDialog } from './create-or-update-account-dialog.c
|
||||
MatInputModule,
|
||||
MatSelectModule,
|
||||
ReactiveFormsModule
|
||||
],
|
||||
providers: []
|
||||
]
|
||||
})
|
||||
export class GfCreateOrUpdateAccountDialogModule {}
|
||||
|
@ -6,8 +6,6 @@ import { AuthPageComponent } from './auth-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [AuthPageComponent],
|
||||
exports: [],
|
||||
imports: [AuthPageRoutingModule, CommonModule],
|
||||
providers: []
|
||||
imports: [AuthPageRoutingModule, CommonModule]
|
||||
})
|
||||
export class AuthPageModule {}
|
||||
|
@ -12,7 +12,6 @@ import { HomePageComponent } from './home-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [HomePageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfHomeHoldingsModule,
|
||||
@ -23,7 +22,6 @@ import { HomePageComponent } from './home-page.component';
|
||||
MatTabsModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class HomePageModule {}
|
||||
|
@ -9,7 +9,6 @@ import { LandingPageComponent } from './landing-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [LandingPageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfLogoModule,
|
||||
@ -17,7 +16,6 @@ import { LandingPageComponent } from './landing-page.component';
|
||||
MatButtonModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class LandingPageModule {}
|
||||
|
@ -10,7 +10,6 @@ import { AnalysisPageComponent } from './analysis-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [AnalysisPageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
AnalysisPageRoutingModule,
|
||||
CommonModule,
|
||||
@ -19,7 +18,6 @@ import { AnalysisPageComponent } from './analysis-page.component';
|
||||
MatCardModule,
|
||||
NgxSkeletonLoaderModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class AnalysisPageModule {}
|
||||
|
@ -10,7 +10,6 @@ import { PortfolioPageComponent } from './portfolio-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [PortfolioPageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfPremiumIndicatorModule,
|
||||
@ -19,7 +18,6 @@ import { PortfolioPageComponent } from './portfolio-page.component';
|
||||
PortfolioPageRoutingModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class PortfolioPageModule {}
|
||||
|
@ -7,9 +7,7 @@ import { ReportPageComponent } from './report-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [ReportPageComponent],
|
||||
exports: [],
|
||||
imports: [CommonModule, ReportPageRoutingModule, RulesModule],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class ReportPageModule {}
|
||||
|
@ -17,7 +17,6 @@ import { CreateOrUpdateTransactionDialog } from './create-or-update-transaction-
|
||||
|
||||
@NgModule({
|
||||
declarations: [CreateOrUpdateTransactionDialog],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfSymbolModule,
|
||||
@ -34,7 +33,6 @@ import { CreateOrUpdateTransactionDialog } from './create-or-update-transaction-
|
||||
MatSelectModule,
|
||||
ReactiveFormsModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfCreateOrUpdateTransactionDialogModule {}
|
||||
|
@ -10,7 +10,6 @@ import { ImportTransactionDialog } from './import-transaction-dialog.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [ImportTransactionDialog],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfDialogFooterModule,
|
||||
@ -19,7 +18,6 @@ import { ImportTransactionDialog } from './import-transaction-dialog.component';
|
||||
MatDialogModule,
|
||||
MatExpansionModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfImportTransactionDialogModule {}
|
||||
|
@ -10,7 +10,6 @@ import { PricingPageComponent } from './pricing-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [PricingPageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfPremiumIndicatorModule,
|
||||
@ -19,7 +18,6 @@ import { PricingPageComponent } from './pricing-page.component';
|
||||
PricingPageRoutingModule,
|
||||
RouterModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class PricingPageModule {}
|
||||
|
@ -12,7 +12,6 @@ import { PublicPageComponent } from './public-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [PublicPageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfPortfolioProportionChartModule,
|
||||
@ -23,7 +22,6 @@ import { PublicPageComponent } from './public-page.component';
|
||||
MatCardModule,
|
||||
PublicPageRoutingModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class PublicPageModule {}
|
||||
|
@ -11,7 +11,6 @@ import { ShowAccessTokenDialogModule } from './show-access-token-dialog/show-acc
|
||||
|
||||
@NgModule({
|
||||
declarations: [RegisterPageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfLogoModule,
|
||||
@ -21,7 +20,6 @@ import { ShowAccessTokenDialogModule } from './show-access-token-dialog/show-acc
|
||||
RouterModule,
|
||||
ShowAccessTokenDialogModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class RegisterPageModule {}
|
||||
|
@ -12,7 +12,6 @@ import { ShowAccessTokenDialog } from './show-access-token-dialog.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [ShowAccessTokenDialog],
|
||||
exports: [],
|
||||
imports: [
|
||||
ClipboardModule,
|
||||
CommonModule,
|
||||
@ -24,7 +23,6 @@ import { ShowAccessTokenDialog } from './show-access-token-dialog.component';
|
||||
ReactiveFormsModule,
|
||||
TextFieldModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class ShowAccessTokenDialogModule {}
|
||||
|
@ -7,9 +7,7 @@ import { ResourcesPageComponent } from './resources-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [ResourcesPageComponent],
|
||||
exports: [],
|
||||
imports: [CommonModule, MatCardModule, ResourcesPageRoutingModule],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class ResourcesPageModule {}
|
||||
|
@ -9,14 +9,12 @@ import { WebauthnPageRoutingModule } from './webauthn-page-routing.module';
|
||||
|
||||
@NgModule({
|
||||
declarations: [WebauthnPageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfLogoModule,
|
||||
MatButtonModule,
|
||||
MatProgressSpinnerModule,
|
||||
WebauthnPageRoutingModule
|
||||
],
|
||||
providers: []
|
||||
]
|
||||
})
|
||||
export class WebauthnPageModule {}
|
||||
|
@ -10,7 +10,6 @@ import { ZenPageComponent } from './zen-page.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [ZenPageComponent],
|
||||
exports: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GfHomeHoldingsModule,
|
||||
@ -19,7 +18,6 @@ import { ZenPageComponent } from './zen-page.component';
|
||||
RouterModule,
|
||||
ZenPageRoutingModule
|
||||
],
|
||||
providers: [],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class ZenPageModule {}
|
||||
|
@ -3,9 +3,7 @@ import { NgModule } from '@angular/core';
|
||||
import { SymbolPipe } from './symbol.pipe';
|
||||
|
||||
@NgModule({
|
||||
imports: [],
|
||||
declarations: [SymbolPipe],
|
||||
exports: [SymbolPipe],
|
||||
providers: []
|
||||
exports: [SymbolPipe]
|
||||
})
|
||||
export class GfSymbolModule {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user