fuse-angular/src/app/main/content/components/components.module.ts

99 lines
3.1 KiB
TypeScript
Raw Normal View History

2017-07-29 13:42:53 +00:00
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { MatButtonModule, MatButtonToggleModule, MatFormFieldModule, MatIconModule, MatListModule, MatMenuModule, MatSelectModule, MatSliderModule, MatSlideToggleModule, MatTabsModule } from '@angular/material';
import { NgxChartsModule } from '@swimlane/ngx-charts';
import { FuseSharedModule } from '@fuse/shared.module';
import { FuseCountdownModule, FuseHighlightModule, FuseMaterialColorPickerModule, FuseWidgetModule } from '@fuse/components';
import { FuseAngularMaterialModule } from './angular-material/angular-material.module';
2017-11-02 07:47:28 +00:00
import { FuseCardsDocsComponent } from './cards/cards.component';
import { FuseCountdownDocsComponent } from './countdown/countdown.component';
import { FuseHighlightDocsComponent } from './highlight/highlight.component';
import { FuseMaterialColorPickerDocsComponent } from './material-color-picker/material-color-picker.component';
import { FuseMultiLanguageDocsComponent } from './multi-language/multi-language.component';
import { FuseNavigationDocsComponent } from './navigation/navigation.component';
2018-01-08 09:40:39 +00:00
import { FuseSearchBarDocsComponent } from './search-bar/search-bar.component';
import { FuseShortcutsDocsComponent } from './shortcuts/shortcuts.component';
import { FuseWidgetDocsComponent } from './widget/widget.component';
2017-07-29 13:42:53 +00:00
const routes = [
2017-11-02 07:47:28 +00:00
{
path : 'cards',
2017-11-02 07:47:28 +00:00
component: FuseCardsDocsComponent
},
2017-07-29 13:42:53 +00:00
{
path : 'countdown',
component: FuseCountdownDocsComponent
},
{
path : 'highlight',
component: FuseHighlightDocsComponent
},
{
path : 'material-color-picker',
component: FuseMaterialColorPickerDocsComponent
},
{
path : 'multi-language',
component: FuseMultiLanguageDocsComponent
},
{
path : 'navigation',
component: FuseNavigationDocsComponent
2017-08-04 09:15:25 +00:00
},
{
path : 'search-bar',
component: FuseSearchBarDocsComponent
},
{
path : 'shortcuts',
component: FuseShortcutsDocsComponent
},
{
path : 'widget',
component: FuseWidgetDocsComponent
2017-07-29 13:42:53 +00:00
}
];
@NgModule({
declarations: [
2017-11-02 07:47:28 +00:00
FuseCardsDocsComponent,
FuseCountdownDocsComponent,
FuseHighlightDocsComponent,
FuseMaterialColorPickerDocsComponent,
FuseMultiLanguageDocsComponent,
FuseNavigationDocsComponent,
FuseSearchBarDocsComponent,
FuseShortcutsDocsComponent,
FuseWidgetDocsComponent
],
imports : [
RouterModule.forChild(routes),
MatButtonModule,
MatButtonToggleModule,
MatFormFieldModule,
MatIconModule,
MatListModule,
MatMenuModule,
MatSelectModule,
MatSlideToggleModule,
MatTabsModule,
NgxChartsModule,
FuseSharedModule,
FuseCountdownModule,
FuseHighlightModule,
FuseMaterialColorPickerModule,
FuseWidgetModule,
FuseAngularMaterialModule
2017-07-29 13:42:53 +00:00
]
})
export class FuseComponentsModule
2017-07-29 13:42:53 +00:00
{
}