fuse-angular/src/app/core/modules/shared.module.ts

75 lines
2.5 KiB
TypeScript
Raw Normal View History

2017-07-19 14:58:36 +00:00
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
2017-07-19 14:58:36 +00:00
import { CommonModule } from '@angular/common';
import { MaterialModule } from './material.module';
import { FlexLayoutModule } from '@angular/flex-layout';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { ColorPickerModule } from 'ngx-color-picker';
import { NgxDnDModule } from '@swimlane/ngx-dnd';
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
2017-07-19 14:58:36 +00:00
import { FuseMdSidenavHelperDirective, FuseMdSidenavTogglerDirective } from '../directives/md-sidenav-helper/md-sidenav-helper.directive';
2017-07-19 14:58:36 +00:00
import { FusePipesModule } from '../pipes/pipes.module';
2017-07-26 07:02:26 +00:00
import { FuseConfirmDialogComponent } from '../components/confirm-dialog/confirm-dialog.component';
2017-07-28 13:03:32 +00:00
import { FuseCountdownComponent } from '../components/countdown/countdown.component';
import { FuseNavigationService } from '../components/navigation/navigation.service';
import { FuseLayoutService } from '../services/layout.service';
import { FuseMatchMedia } from '../services/match-media.service';
import { FuseNavbarService } from '../../main/navbar/navbar.service';
import { FuseMdSidenavHelperService } from '../directives/md-sidenav-helper/md-sidenav-helper.service';
import { FuseHljsComponent } from '../components/hljs/hljs.component';
@NgModule({
2017-07-26 07:02:26 +00:00
declarations : [
2017-07-13 14:43:22 +00:00
FuseMdSidenavHelperDirective,
2017-07-26 07:02:26 +00:00
FuseMdSidenavTogglerDirective,
2017-07-28 13:03:32 +00:00
FuseConfirmDialogComponent,
FuseCountdownComponent,
FuseHljsComponent
2017-07-13 14:43:22 +00:00
],
2017-07-26 07:02:26 +00:00
imports : [
FlexLayoutModule,
MaterialModule,
CommonModule,
2017-07-15 15:03:40 +00:00
FormsModule,
2017-07-19 14:58:36 +00:00
FusePipesModule,
PerfectScrollbarModule,
2017-07-26 07:02:26 +00:00
ReactiveFormsModule,
ColorPickerModule,
2017-07-29 13:42:53 +00:00
NgxDnDModule,
NgxDatatableModule
],
2017-07-26 07:02:26 +00:00
exports : [
FlexLayoutModule,
MaterialModule,
CommonModule,
2017-07-13 14:43:22 +00:00
FormsModule,
FuseMdSidenavHelperDirective,
2017-07-15 15:03:40 +00:00
FuseMdSidenavTogglerDirective,
2017-07-19 14:58:36 +00:00
FusePipesModule,
PerfectScrollbarModule,
2017-07-26 07:02:26 +00:00
ReactiveFormsModule,
ColorPickerModule,
2017-07-28 13:03:32 +00:00
NgxDnDModule,
2017-07-29 13:42:53 +00:00
FuseCountdownComponent,
FuseHljsComponent,
2017-07-29 13:42:53 +00:00
NgxDatatableModule
2017-07-26 07:02:26 +00:00
],
2017-07-29 13:42:53 +00:00
entryComponents: [
FuseConfirmDialogComponent
],
providers : [
FuseNavigationService,
FuseLayoutService,
FuseMatchMedia,
FuseNavbarService,
FuseMdSidenavHelperService
2017-07-29 13:42:53 +00:00
]
})
2017-07-13 14:43:22 +00:00
export class SharedModule
{
}