@angular/material/sort#MatSortModule TypeScript Examples
The following examples show how to use
@angular/material/sort#MatSortModule.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: app.module.ts From angular-9-coronavirus-cases-app with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
CasesComponent,
CasesDetailsComponent,
AddCasesComponent,
EditCasesComponent,
CasesStatComponent
],
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
AppRoutingModule,
BrowserAnimationsModule,
MatInputModule,
MatPaginatorModule,
MatProgressSpinnerModule,
MatSortModule,
MatTableModule,
MatIconModule,
MatButtonModule,
MatCardModule,
MatFormFieldModule,
MatSliderModule,
MatSlideToggleModule,
MatButtonToggleModule,
MatSelectModule,
ChartsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #2
Source File: index.module.ts From yii-debug-frontend with BSD 3-Clause "New" or "Revised" License | 6 votes |
@NgModule({
declarations: [ListRequestsComponent, IndexLayoutComponent],
imports: [
RouterModule.forChild(routes),
CommonModule,
MatSidenavModule,
MatTableModule,
MatIconModule,
MatSortModule,
SharedModule,
],
})
export class IndexModule {}
Example #3
Source File: material.module.ts From WiLearning with GNU Affero General Public License v3.0 | 6 votes |
@NgModule({
exports: [
MatSelectModule,
MatAutocompleteModule,
MatCardModule,
MatCheckboxModule,
MatDatepickerModule,
MatDialogModule,
MatGridListModule,
MatIconModule,
MatListModule,
MatMenuModule,
MatProgressBarModule,
MatProgressSpinnerModule,
MatButtonModule,
MatButtonToggleModule,
MatSidenavModule,
MatSliderModule,
MatSlideToggleModule,
MatSnackBarModule,
MatTabsModule,
MatToolbarModule,
MatTooltipModule,
MatRadioModule,
MatInputModule,
MatRippleModule,
MatDividerModule,
MatExpansionModule,
MatTableModule,
MatPaginatorModule,
MatSortModule,
MatBadgeModule
]
})
export class MaterialComponentsModule {}
Example #4
Source File: tables.module.ts From matx-angular with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
MatInputModule,
MatPaginatorModule,
MatSortModule,
MatTableModule,
NgxDatatableModule,
RouterModule.forChild(TablesRoutes)
],
declarations: [MaterialTableComponent]
})
export class TablesModule { }
Example #5
Source File: rooi-mat-table.module.ts From flingo with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
MatProgressBarModule,
MatTableModule,
MatIconModule,
MatSortModule,
MatFormFieldModule,
MatSelectModule,
MatPaginatorModule,
ReactiveFormsModule,
MatButtonModule,
MatInputModule
],
declarations: [MatTableComponent, MatTableRowDirective, MatTableFilterDirective],
exports: [MatTableComponent],
providers: [MatTableService]
})
export class RooiMatTableModule {}
Example #6
Source File: material-module.ts From 6PG-Dashboard with MIT License | 6 votes |
@NgModule({
exports: [
ColorPickerModule,
CdkTableModule,
MatButtonModule,
MatButtonToggleModule,
MatChipsModule,
MatCheckboxModule,
MatInputModule,
MatIconModule,
MatTableModule,
MatPaginatorModule,
MatRippleModule,
MatSortModule,
MatSidenavModule,
MatSliderModule,
MatSlideToggleModule,
MatSelectModule,
MatSnackBarModule,
MatTooltipModule
]
})
export class MaterialModule {}
Example #7
Source File: material.module.ts From capture-lite with GNU General Public License v3.0 | 6 votes |
modules = [ MatCheckboxModule, MatButtonModule, MatInputModule, MatAutocompleteModule, MatDatepickerModule, MatFormFieldModule, MatRadioModule, MatSelectModule, MatSliderModule, MatSlideToggleModule, MatMenuModule, MatSidenavModule, MatToolbarModule, MatListModule, MatGridListModule, MatCardModule, MatStepperModule, MatTabsModule, MatExpansionModule, MatButtonToggleModule, MatChipsModule, MatIconModule, MatProgressSpinnerModule, MatProgressBarModule, MatDialogModule, MatTooltipModule, MatSnackBarModule, MatTableModule, MatSortModule, MatPaginatorModule, MatBadgeModule, MatBottomSheetModule, ]
Example #8
Source File: ui-layout.module.ts From geonetwork-ui with GNU General Public License v2.0 | 6 votes |
@NgModule({
imports: [
CommonModule,
MatTableModule,
MatSortModule,
MatIconModule,
TableVirtualScrollModule,
ScrollingModule,
TranslateModule.forChild(),
],
declarations: [
TableComponent,
FigureComponent,
ExpandablePanelComponent,
StickyHeaderComponent,
AnchorLinkDirective,
],
exports: [
TableComponent,
FigureComponent,
ExpandablePanelComponent,
StickyHeaderComponent,
AnchorLinkDirective,
],
})
export class UiLayoutModule {}
Example #9
Source File: material.module.ts From mysql_node_angular with MIT License | 6 votes |
myModules = [ MatToolbarModule, MatSidenavModule, MatButtonModule, MatMenuModule, MatListModule, MatIconModule, MatInputModule, MatCardModule, MatTableModule, MatSortModule, MatDialogModule, MatOptionModule, MatSelectModule, ]
Example #10
Source File: app.module.ts From material-reusable-table with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [
AppComponent,
OrdersComponent,
TableComponent,
DataPropertyGetterPipe,
CustomersComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
MatTableModule,
MatFormFieldModule,
MatInputModule,
MatPaginatorModule,
MatSortModule,
MatIconModule,
MatButtonModule,
MatTabsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
Example #11
Source File: app.module.ts From mean-stack-angular-9-realtime-crud with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
SalesComponent,
SalesDetailsComponent,
AddSalesComponent,
EditSalesComponent
],
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
AppRoutingModule,
BrowserAnimationsModule,
MatInputModule,
MatPaginatorModule,
MatProgressSpinnerModule,
MatSortModule,
MatTableModule,
MatIconModule,
MatButtonModule,
MatCardModule,
MatFormFieldModule,
ChartsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #12
Source File: app.module.ts From angular-9-firebase-chat-example with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
LoginComponent,
RoomlistComponent,
AddroomComponent,
ChatroomComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatIconModule,
MatCardModule,
MatFormFieldModule,
MatTableModule,
MatProgressSpinnerModule,
MatSortModule,
MatSnackBarModule,
MatSidenavModule
],
providers: [DatePipe],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #13
Source File: user.module.ts From careydevelopmentcrm with MIT License | 6 votes |
@NgModule({
declarations: [
AccountInfoComponent,
ProfileImageComponent,
InboxComponent,
MessageComponent,
NoSanitizePipe,
ComposeEmailComponent,
EmailChoiceComponent,
EmailRedirectComponent
],
imports: [
CommonModule,
FlexLayoutModule,
MatIconModule,
MatInputModule,
MatButtonModule,
MatProgressSpinnerModule,
MatCardModule,
MatSelectModule,
MatListModule,
MatTableModule,
MatSortModule,
MatCheckboxModule,
MatPaginatorModule,
MatStepperModule,
MatRadioModule,
MatExpansionModule,
MatMenuModule,
MatToolbarModule,
MatAutocompleteModule,
ReactiveFormsModule,
QuillModule.forRoot(),
AlertModule,
ImageUploaderModule,
RouterModule.forChild(routes)
]
})
export class UserModule { }
Example #14
Source File: mat-table-query-reflector.module.ts From nghacks with MIT License | 6 votes |
@NgModule({
declarations: [
MatTableQueryReflectorComponent
],
imports: [
CommonModule,
MatTableQueryReflectorRoutingModule,
MatTableModule,
MatSortModule,
MatPaginatorModule,
NgmatTableQueryReflectorModule,
ConsumerCommonModule
]
})
export class MatTableQueryReflectorModule { }
Example #15
Source File: app.module.ts From league-profile-tool with MIT License | 6 votes |
@NgModule({
declarations: [AppComponent, HomeComponent, StatusComponent, DialogComponent, ChibiComponent, BackgroundComponent, ChampionsPipe, ChatrankComponent, ChampionPurchaseDateComponent, CustomapiComponent, FaqComponent, CustomiconComponent, IconsPipe, PracticetoolComponent],
imports: [
BrowserModule,
FormsModule,
CoreModule,
AppRoutingModule,
MatTabsModule,
BrowserAnimationsModule,
MatCardModule,
MatButtonModule,
MatInputModule,
MatDialogModule,
MatSelectModule,
MatSortModule,
HttpClientModule,
],
providers: [ElectronService],
bootstrap: [AppComponent]
})
export class AppModule {
}
Example #16
Source File: data-table.component.spec.ts From worktez with MIT License | 6 votes |
describe('DataTableComponent', () => {
let component: DataTableComponent;
let fixture: ComponentFixture<DataTableComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ DataTableComponent ],
imports: [
NoopAnimationsModule,
MatPaginatorModule,
MatSortModule,
MatTableModule,
]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(DataTableComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should compile', () => {
expect(component).toBeTruthy();
});
});
Example #17
Source File: app.module.ts From nghacks with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
NgMatTableQueryReflectorDirective
],
imports: [
BrowserModule,
BrowserAnimationsModule,
RouterModule.forRoot([]),
MatTableModule,
MatSortModule,
MatPaginatorModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #18
Source File: accounts.module.ts From careydevelopmentcrm with MIT License | 6 votes |
@NgModule({
declarations: [
AddAccountComponent,
AccountFormComponent,
ViewAccountsComponent,
EditAccountComponent,
ViewAccountComponent,
NoValueDisplayPipe
],
imports: [
CommonModule,
FlexLayoutModule,
DirectivesModule,
MatIconModule,
MatInputModule,
MatButtonModule,
MatProgressSpinnerModule,
MatSelectModule,
MatRadioModule,
MatExpansionModule,
MatTableModule,
MatSortModule,
MatPaginatorModule,
MatCardModule,
MatListModule,
MatAutocompleteModule,
ReactiveFormsModule,
AlertModule,
NgxFlagPickerModule,
RouterModule.forChild(routes)
]
})
export class AccountsModule { }
Example #19
Source File: material.module.ts From bitcoin-s-ts with MIT License | 6 votes |
materialModules = [
MatBottomSheetModule,
MatButtonModule,
MatCheckboxModule,
MatDatepickerModule,
MatDialogModule, // For focus
MatFormFieldModule,
MatIconModule,
MatInputModule,
MatMenuModule,
MatNativeDateModule,
MatOptionModule,
MatProgressSpinnerModule,
MatSelectModule,
MatSidenavModule,
MatSlideToggleModule,
MatSnackBarModule,
MatSortModule,
MatProgressSpinnerModule,
MatRadioModule,
MatTableModule,
MatTooltipModule,
]
Example #20
Source File: material.module.ts From bitcoin-s-ts with MIT License | 6 votes |
materialModules = [
MatBadgeModule,
MatBottomSheetModule,
MatButtonModule,
MatButtonToggleModule,
MatCheckboxModule,
MatExpansionModule,
MatDatepickerModule,
MatDialogModule, // For focus
MatFormFieldModule,
MatIconModule,
MatInputModule,
MatMenuModule,
MatNativeDateModule,
MatOptionModule,
MatProgressSpinnerModule,
MatSelectModule,
MatSidenavModule,
MatSlideToggleModule,
MatSnackBarModule,
MatSortModule,
MatProgressSpinnerModule,
MatRadioModule,
MatTableModule,
MatToolbarModule,
MatTooltipModule,
]
Example #21
Source File: material.module.ts From open-genes-frontend with Mozilla Public License 2.0 | 5 votes |
@NgModule({
imports: [
MatCheckboxModule,
MatButtonModule,
MatInputModule,
MatAutocompleteModule,
MatDatepickerModule,
MatFormFieldModule,
MatRadioModule,
MatSelectModule,
MatSliderModule,
MatSlideToggleModule,
MatMenuModule,
MatSidenavModule,
MatToolbarModule,
MatListModule,
MatGridListModule,
MatCardModule,
MatStepperModule,
MatTabsModule,
MatExpansionModule,
MatButtonToggleModule,
MatChipsModule,
MatIconModule,
MatProgressSpinnerModule,
MatProgressBarModule,
MatDialogModule,
MatTooltipModule,
MatSnackBarModule,
MatTableModule,
MatSortModule,
MatPaginatorModule,
MatBottomSheetModule,
MatBadgeModule,
MatRippleModule,
],
exports: [
MatCheckboxModule,
MatButtonModule,
MatInputModule,
MatAutocompleteModule,
MatDatepickerModule,
MatFormFieldModule,
MatRadioModule,
MatSelectModule,
MatSliderModule,
MatSlideToggleModule,
MatMenuModule,
MatSidenavModule,
MatToolbarModule,
MatListModule,
MatGridListModule,
MatCardModule,
MatStepperModule,
MatTabsModule,
MatExpansionModule,
MatButtonToggleModule,
MatChipsModule,
MatIconModule,
MatProgressSpinnerModule,
MatProgressBarModule,
MatDialogModule,
MatTooltipModule,
MatSnackBarModule,
MatTableModule,
MatSortModule,
MatPaginatorModule,
MatBottomSheetModule,
MatBadgeModule,
],
})
export class MaterialModule {}
Example #22
Source File: activities.module.ts From careydevelopmentcrm with MIT License | 5 votes |
@NgModule({
declarations: [
ActivityDateDisplayPipe,
TimeDifferencePipe,
DisplayOutcomeStatusDirective,
DisplayActivityDateDifferenceDirective,
RecentActivitiesByContactComponent,
ActivityFormComponent,
AddActivityComponent,
ViewActivityComponent,
ViewActivitiesComponent,
EditActivityComponent,
ActivitiesListComponent,
ViewActivityMenuComponent,
UpdateNotesDialog
],
exports: [
RecentActivitiesByContactComponent,
ActivitiesListComponent
],
imports: [
CommonModule,
FlexLayoutModule,
MatCardModule,
MatIconModule,
MatButtonModule,
MatProgressSpinnerModule,
AlertModule,
ReactiveFormsModule,
MatInputModule,
MatSelectModule,
MatRadioModule,
MatDatepickerModule,
MatExpansionModule,
MatTableModule,
MatPaginatorModule,
MatSortModule,
MatListModule,
MatMenuModule,
MatDialogModule,
MatCheckboxModule,
RouterModule.forChild(routes)
]
})
export class ActivitiesModule { }
Example #23
Source File: shared.module.ts From FlexDemo with MIT License | 5 votes |
@NgModule({
imports: [
CommonModule,
// Navigation
MatMenuModule, MatSidenavModule, MatToolbarModule,
// FormControls
MatAutocompleteModule, MatCheckboxModule, MatDatepickerModule, MatInputModule,
MatFormFieldModule, MatRadioModule, MatSelectModule, MatSliderModule,
MatSlideToggleModule, MatSelectModule,
// Layout
MatCardModule, MatDividerModule, MatExpansionModule, MatGridListModule,
MatListModule, MatStepperModule, MatTabsModule, MatTreeModule,
// Buttons
MatButtonModule, MatButtonToggleModule, MatBadgeModule, MatChipsModule,
MatIconModule, MatProgressSpinnerModule, MatProgressBarModule, MatRippleModule,
// Popups & Modals
MatBottomSheetModule, MatDialogModule, MatSnackBarModule, MatTooltipModule,
// Datatable
MatTableModule, MatSortModule, MatPaginatorModule,
FlexGridModule
],
exports: [
// CommonModule,
// // Navigation
// MatMenuModule, MatSidenavModule, MatToolbarModule,
// // FormControls
// MatAutocompleteModule, MatCheckboxModule, MatDatepickerModule,
MatInputModule,
MatFormFieldModule, // MatRadioModule, MatSelectModule, MatSliderModule,
// MatSlideToggleModule, MatSelectModule,
// // Layout
MatCardModule,
MatDividerModule,
// MatExpansionModule, MatGridListModule,
// MatListModule, MatStepperModule, MatTabsModule, MatTreeModule,
// Buttons
MatButtonModule,
// MatButtonToggleModule,
MatBadgeModule, MatChipsModule,
//
MatIconModule,
MatProgressSpinnerModule,
MatProgressBarModule, MatRippleModule,
// Popups & Modals
// MatBottomSheetModule, MatDialogModule, MatSnackBarModule,
MatTooltipModule,
// Datatable
MatTableModule, MatSortModule, MatPaginatorModule,
FlexGridModule
],
declarations: []
})
export class SharedModule { }
Example #24
Source File: contacts.module.ts From careydevelopmentcrm with MIT License | 5 votes |
@NgModule({
declarations: [
ContactFormComponent,
AddContactComponent,
BasicInfoFormComponent,
AddressesFormComponent,
PhonesFormComponent,
AddressTypeFormComponent,
PhoneTypeFormComponent,
ReviewFormComponent,
EditContactComponent,
ViewContactsComponent,
ViewContactComponent,
ViewContactMenuComponent,
StatusProgressBarComponent
],
imports: [
CommonModule,
FlexLayoutModule,
MatIconModule,
MatInputModule,
MatButtonModule,
MatProgressSpinnerModule,
MatSelectModule,
MatStepperModule,
MatRadioModule,
MatExpansionModule,
MatTableModule,
MatSortModule,
MatPaginatorModule,
MatCardModule,
MatListModule,
MatAutocompleteModule,
MatMenuModule,
MatChipsModule,
ReactiveFormsModule,
AlertModule,
NgxFlagPickerModule,
ActivitiesModule,
DealsModule,
DirectivesModule,
ValidationModule,
RouterModule.forChild(routes)
]
})
export class ContactsModule { }
Example #25
Source File: shared-material.module.ts From matx-angular with MIT License | 5 votes |
@NgModule({
exports: [
MatCheckboxModule,
MatButtonModule,
MatInputModule,
MatAutocompleteModule,
MatDatepickerModule,
MatFormFieldModule,
MatRadioModule,
MatSelectModule,
MatSliderModule,
MatSlideToggleModule,
MatMenuModule,
MatSidenavModule,
MatToolbarModule,
MatListModule,
MatGridListModule,
MatCardModule,
MatStepperModule,
MatTabsModule,
MatExpansionModule,
MatButtonToggleModule,
MatChipsModule,
MatIconModule,
MatProgressSpinnerModule,
MatProgressBarModule,
MatDialogModule,
MatTooltipModule,
MatSnackBarModule,
MatTableModule,
MatSortModule,
MatPaginatorModule,
MatNativeDateModule,
MatMomentDateModule,
MatTreeModule,
MatRippleModule,
MatBadgeModule,
MatBottomSheetModule,
MatDividerModule
]
})
export class SharedMaterialModule {}
Example #26
Source File: mat-module.ts From WowUp with GNU General Public License v3.0 | 5 votes |
@NgModule({
exports: [
MatSliderModule,
MatTabsModule,
MatSelectModule,
MatButtonModule,
MatTableModule,
MatSortModule,
MatInputModule,
MatIconModule,
MatSlideToggleModule,
MatProgressBarModule,
MatCheckboxModule,
MatDividerModule,
MatProgressSpinnerModule,
MatMenuModule,
MatRadioModule,
MatTooltipModule,
MatDialogModule,
MatCardModule,
MatSnackBarModule,
MatSidenavModule,
MatListModule,
MatBadgeModule,
ClipboardModule,
ScrollingModule,
MatGridListModule,
MatExpansionModule,
],
imports: [
MatSliderModule,
MatTabsModule,
MatSelectModule,
MatButtonModule,
MatTableModule,
MatSortModule,
MatInputModule,
MatIconModule,
MatSlideToggleModule,
MatProgressBarModule,
MatCheckboxModule,
MatDividerModule,
MatProgressSpinnerModule,
MatMenuModule,
MatRadioModule,
MatTooltipModule,
MatDialogModule,
MatCardModule,
MatSnackBarModule,
MatSidenavModule,
MatListModule,
MatBadgeModule,
ClipboardModule,
ScrollingModule,
MatGridListModule,
MatExpansionModule,
],
})
export class MatModule {}
Example #27
Source File: app.module.ts From svg-path-editor with Apache License 2.0 | 5 votes |
@NgModule({
declarations: [
AppComponent,
ExpandableComponent,
CanvasComponent,
OpenComponent,
OpenDialogComponent,
SaveComponent,
SaveDialogComponent,
ExportComponent,
ExportDialogComponent,
UploadImageComponent,
UploadImageDialogComponent,
FormatterDirective,
KeyboardNavigableDirective
],
imports: [
BrowserModule,
HttpClientModule,
FormsModule,
MatInputModule,
MatButtonModule,
MatFormFieldModule,
MatIconModule,
MatCheckboxModule,
MatMenuModule,
MatTooltipModule,
MatDialogModule,
MatTableModule,
MatSortModule,
MatSliderModule,
BrowserAnimationsModule,
ScrollingModule,
ServiceWorkerModule.register('ngsw-worker.js', {
enabled: environment.production,
// Register the ServiceWorker as soon as the app is stable
// or after 30 seconds (whichever comes first).
registrationStrategy: 'registerWhenStable:30000'
})
],
providers: [{
provide: MAT_TOOLTIP_SCROLL_STRATEGY,
deps: [Overlay],
useFactory(overlay: Overlay): () => ScrollStrategy {
return () => overlay.scrollStrategies.close();
}
}],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #28
Source File: material.module.ts From ngSurvey with MIT License | 5 votes |
@NgModule({
exports: [
A11yModule,
ClipboardModule,
CdkStepperModule,
CdkTableModule,
CdkTreeModule,
DragDropModule,
MatAutocompleteModule,
MatBadgeModule,
MatBottomSheetModule,
MatButtonModule,
MatButtonToggleModule,
MatCardModule,
MatCheckboxModule,
MatChipsModule,
MatStepperModule,
MatDatepickerModule,
MatDialogModule,
MatDividerModule,
MatExpansionModule,
MatGridListModule,
MatIconModule,
MatInputModule,
MatListModule,
MatMenuModule,
MatNativeDateModule,
MatPaginatorModule,
MatProgressBarModule,
MatProgressSpinnerModule,
MatRadioModule,
MatRippleModule,
MatSelectModule,
MatSidenavModule,
MatSliderModule,
MatSlideToggleModule,
MatSnackBarModule,
MatSortModule,
MatTableModule,
MatTabsModule,
MatToolbarModule,
MatTooltipModule,
MatTreeModule,
PortalModule,
ScrollingModule,
]
})
export class MaterialModule {}
Example #29
Source File: app.module.ts From zorro-fire-log with MIT License | 5 votes |
@NgModule({
declarations: [
AppComponent,
LineChartComponent,
AlgoSelectorComponent,
ToolbarComponent,
GroupToggleComponent,
StatsTableComponent,
PortfolioSettingsComponent,
OpenTradesComponent,
DateFilterComponent,
],
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
ReactiveFormsModule,
AngularFireModule.initializeApp(environment.firebase),
AngularFirestoreModule,
MatIconModule,
MatTabsModule,
MatTreeModule,
MatCardModule,
MatExpansionModule,
MatFormFieldModule,
MatInputModule,
MatCheckboxModule,
MatTableModule,
MatSortModule,
MatListModule,
MatProgressSpinnerModule,
MatDatepickerModule,
MatNativeDateModule,
MatSlideToggleModule,
AngularResizedEventModule,
ChartModule,
StoreModule.forRoot(
{ tradeLogs: tradeLogsReducer },
{ metaReducers: [storageSyncMetaReducer] }
),
StoreDevtoolsModule.instrument({
maxAge: 25,
logOnly: environment.production,
}),
EffectsModule.forRoot([TradeLogEffects]),
],
providers: [
{
provide: useMockData,
useFactory: () => !!environment.useMockData,
},
],
bootstrap: [AppComponent],
})
export class AppModule {}