2017-07-29 13:42:53 +00:00
|
|
|
import { NgModule } from '@angular/core';
|
2017-08-02 08:53:30 +00:00
|
|
|
import { SharedModule } from '../../../core/modules/shared.module';
|
2017-07-29 13:42:53 +00:00
|
|
|
import { RouterModule } from '@angular/router';
|
2017-08-29 14:20:13 +00:00
|
|
|
import { FuseCountdownDocsComponent } from './countdown/countdown.component';
|
|
|
|
import { FuseHljsDocsComponent } from './hljs/hljs.component';
|
|
|
|
import { FuseMaterialColorPickerDocsComponent } from './material-color-picker/material-color-picker.component';
|
2017-10-24 12:41:44 +00:00
|
|
|
import { FuseMultiLanguageDocsComponent } from './multi-language/multi-language.component';
|
2017-08-29 14:20:13 +00:00
|
|
|
import { FuseNavigationDocsComponent } from './navigation/navigation.component';
|
|
|
|
import { FuseShortcutsDocsComponent } from './shortcuts/shortcuts.component';
|
|
|
|
import { FuseSearchBarDocsComponent } from 'app/main/content/components/search-bar/search-bar.component';
|
|
|
|
import { FuseWidgetDocsComponent } from './widget/widget.component';
|
|
|
|
import { FuseWidgetModule } from '../../../core/components/widget/widget.module';
|
2017-07-29 13:42:53 +00:00
|
|
|
|
|
|
|
const routes = [
|
|
|
|
{
|
2017-08-29 14:20:13 +00:00
|
|
|
path : 'components/countdown',
|
|
|
|
component: FuseCountdownDocsComponent
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path : 'components/highlightjs',
|
|
|
|
component: FuseHljsDocsComponent
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path : 'components/material-color-picker',
|
|
|
|
component: FuseMaterialColorPickerDocsComponent
|
|
|
|
},
|
2017-10-24 12:41:44 +00:00
|
|
|
{
|
|
|
|
path : 'components/multi-language',
|
|
|
|
component: FuseMultiLanguageDocsComponent
|
|
|
|
},
|
2017-08-29 14:20:13 +00:00
|
|
|
{
|
|
|
|
path : 'components/navigation',
|
|
|
|
component: FuseNavigationDocsComponent
|
2017-08-04 09:15:25 +00:00
|
|
|
},
|
2017-08-29 14:20:13 +00:00
|
|
|
{
|
|
|
|
path : 'components/search-bar',
|
|
|
|
component: FuseSearchBarDocsComponent
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path : 'components/shortcuts',
|
|
|
|
component: FuseShortcutsDocsComponent
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path : 'components/widget',
|
|
|
|
component: FuseWidgetDocsComponent
|
2017-07-29 13:42:53 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports : [
|
|
|
|
SharedModule,
|
2017-08-29 14:20:13 +00:00
|
|
|
RouterModule.forChild(routes),
|
|
|
|
FuseWidgetModule
|
2017-07-29 13:42:53 +00:00
|
|
|
],
|
|
|
|
declarations: [
|
2017-08-29 14:20:13 +00:00
|
|
|
FuseCountdownDocsComponent,
|
|
|
|
FuseHljsDocsComponent,
|
|
|
|
FuseMaterialColorPickerDocsComponent,
|
2017-10-24 12:41:44 +00:00
|
|
|
FuseMultiLanguageDocsComponent,
|
2017-08-29 14:20:13 +00:00
|
|
|
FuseNavigationDocsComponent,
|
|
|
|
FuseSearchBarDocsComponent,
|
|
|
|
FuseShortcutsDocsComponent,
|
|
|
|
FuseWidgetDocsComponent
|
2017-07-29 13:42:53 +00:00
|
|
|
]
|
|
|
|
})
|
|
|
|
export class ComponentsModule
|
|
|
|
{
|
|
|
|
}
|