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

86 lines
3.1 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 { 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 { FuseMatSidenavHelperDirective, FuseMatSidenavTogglerDirective } from '../directives/fuse-mat-sidenav-helper/fuse-mat-sidenav-helper.directive';
import { FuseMatSidenavHelperService } from '../directives/fuse-mat-sidenav-helper/fuse-mat-sidenav-helper.service';
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 { FuseMatchMedia } from '../services/match-media.service';
import { FuseNavbarVerticalService } from '../../main/navbar/vertical/navbar-vertical.service';
import { FuseHljsComponent } from '../components/hljs/hljs.component';
import { FusePerfectScrollbarDirective } from '../directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive';
import { FuseIfOnDomDirective } from '../directives/fuse-if-on-dom/fuse-if-on-dom.directive';
import { FuseMaterialColorPickerComponent } from '../components/material-color-picker/material-color-picker.component';
import { FuseTranslationLoaderService } from '../services/translation-loader.service';
import { CookieService } from 'ngx-cookie-service';
import { MarkdownModule } from 'angular2-markdown';
import { TranslateModule } from '@ngx-translate/core';
@NgModule({
2017-07-26 07:02:26 +00:00
declarations : [
FuseMatSidenavHelperDirective,
FuseMatSidenavTogglerDirective,
2017-07-28 13:03:32 +00:00
FuseConfirmDialogComponent,
FuseCountdownComponent,
FuseHljsComponent,
FuseIfOnDomDirective,
FusePerfectScrollbarDirective,
FuseMaterialColorPickerComponent
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,
2017-07-26 07:02:26 +00:00
ReactiveFormsModule,
ColorPickerModule,
2017-07-29 13:42:53 +00:00
NgxDnDModule,
NgxDatatableModule,
MarkdownModule
],
2017-07-26 07:02:26 +00:00
exports : [
FlexLayoutModule,
MaterialModule,
CommonModule,
2017-07-13 14:43:22 +00:00
FormsModule,
FuseMatSidenavHelperDirective,
FuseMatSidenavTogglerDirective,
2017-07-19 14:58:36 +00:00
FusePipesModule,
FuseCountdownComponent,
FuseHljsComponent,
FusePerfectScrollbarDirective,
2017-07-26 07:02:26 +00:00
ReactiveFormsModule,
ColorPickerModule,
2017-07-28 13:03:32 +00:00
NgxDnDModule,
NgxDatatableModule,
FuseIfOnDomDirective,
FuseMaterialColorPickerComponent,
MarkdownModule,
TranslateModule
2017-07-26 07:02:26 +00:00
],
2017-07-29 13:42:53 +00:00
entryComponents: [
FuseConfirmDialogComponent
],
providers : [
CookieService,
FuseMatchMedia,
FuseNavbarVerticalService,
FuseMatSidenavHelperService,
FuseTranslationLoaderService
2017-07-29 13:42:53 +00:00
]
})
2017-07-13 14:43:22 +00:00
export class SharedModule
{
}