2017-07-29 13:42:53 +00:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule } from '@angular/router';
|
2018-03-06 08:57:01 +00:00
|
|
|
import { MatButtonModule, MatButtonToggleModule, MatFormFieldModule, MatIconModule, MatListModule, MatMenuModule, MatSelectModule, MatSlideToggleModule, MatTabsModule } from '@angular/material';
|
2018-02-17 14:21:38 +00:00
|
|
|
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
|
|
|
|
2018-02-21 06:36:41 +00:00
|
|
|
import { FuseSharedModule } from '@fuse/shared.module';
|
2018-03-06 07:38:30 +00:00
|
|
|
import { FuseCountdownModule, FuseHighlightModule, FuseMaterialColorPickerModule, FuseWidgetModule } from '@fuse/components';
|
2018-05-20 07:12:31 +00:00
|
|
|
import { FuseCardsDocsComponent } from 'app/main/components/cards/cards.component';
|
|
|
|
import { FuseCountdownDocsComponent } from 'app/main/components/countdown/countdown.component';
|
|
|
|
import { FuseHighlightDocsComponent } from 'app/main/components/highlight/highlight.component';
|
|
|
|
import { FuseMaterialColorPickerDocsComponent } from 'app/main/components/material-color-picker/material-color-picker.component';
|
|
|
|
import { FuseMultiLanguageDocsComponent } from 'app/main/components/multi-language/multi-language.component';
|
|
|
|
import { FuseNavigationDocsComponent } from 'app/main/components/navigation/navigation.component';
|
|
|
|
import { FuseSearchBarDocsComponent } from 'app/main/components/search-bar/search-bar.component';
|
|
|
|
import { FuseSidebarDocsComponent } from 'app/main/components/sidebar/sidebar.component';
|
|
|
|
import { FuseShortcutsDocsComponent } from 'app/main/components/shortcuts/shortcuts.component';
|
|
|
|
import { FuseWidgetDocsComponent } from 'app/main/components/widget/widget.component';
|
2017-07-29 13:42:53 +00:00
|
|
|
|
|
|
|
const routes = [
|
2017-11-02 07:47:28 +00:00
|
|
|
{
|
2018-01-08 09:37:52 +00:00
|
|
|
path : 'cards',
|
2017-11-02 07:47:28 +00:00
|
|
|
component: FuseCardsDocsComponent
|
|
|
|
},
|
2017-07-29 13:42:53 +00:00
|
|
|
{
|
2018-01-08 09:37:52 +00:00
|
|
|
path : 'countdown',
|
2017-08-29 14:20:13 +00:00
|
|
|
component: FuseCountdownDocsComponent
|
|
|
|
},
|
|
|
|
{
|
2018-01-08 12:29:04 +00:00
|
|
|
path : 'highlight',
|
|
|
|
component: FuseHighlightDocsComponent
|
2017-08-29 14:20:13 +00:00
|
|
|
},
|
|
|
|
{
|
2018-01-08 09:37:52 +00:00
|
|
|
path : 'material-color-picker',
|
2017-08-29 14:20:13 +00:00
|
|
|
component: FuseMaterialColorPickerDocsComponent
|
|
|
|
},
|
2017-10-24 12:41:44 +00:00
|
|
|
{
|
2018-01-08 09:37:52 +00:00
|
|
|
path : 'multi-language',
|
2017-10-24 12:41:44 +00:00
|
|
|
component: FuseMultiLanguageDocsComponent
|
|
|
|
},
|
2017-08-29 14:20:13 +00:00
|
|
|
{
|
2018-01-08 09:37:52 +00:00
|
|
|
path : 'navigation',
|
2017-08-29 14:20:13 +00:00
|
|
|
component: FuseNavigationDocsComponent
|
2017-08-04 09:15:25 +00:00
|
|
|
},
|
2017-08-29 14:20:13 +00:00
|
|
|
{
|
2018-01-08 09:37:52 +00:00
|
|
|
path : 'search-bar',
|
2017-08-29 14:20:13 +00:00
|
|
|
component: FuseSearchBarDocsComponent
|
|
|
|
},
|
2018-03-06 08:57:01 +00:00
|
|
|
{
|
|
|
|
path : 'sidebar',
|
|
|
|
component: FuseSidebarDocsComponent
|
|
|
|
},
|
2017-08-29 14:20:13 +00:00
|
|
|
{
|
2018-01-08 09:37:52 +00:00
|
|
|
path : 'shortcuts',
|
2017-08-29 14:20:13 +00:00
|
|
|
component: FuseShortcutsDocsComponent
|
|
|
|
},
|
|
|
|
{
|
2018-01-08 09:37:52 +00:00
|
|
|
path : 'widget',
|
2017-08-29 14:20:13 +00:00
|
|
|
component: FuseWidgetDocsComponent
|
2017-07-29 13:42:53 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
2017-11-02 07:47:28 +00:00
|
|
|
FuseCardsDocsComponent,
|
2017-08-29 14:20:13 +00:00
|
|
|
FuseCountdownDocsComponent,
|
2018-01-08 12:29:04 +00:00
|
|
|
FuseHighlightDocsComponent,
|
2017-08-29 14:20:13 +00:00
|
|
|
FuseMaterialColorPickerDocsComponent,
|
2017-10-24 12:41:44 +00:00
|
|
|
FuseMultiLanguageDocsComponent,
|
2017-08-29 14:20:13 +00:00
|
|
|
FuseNavigationDocsComponent,
|
|
|
|
FuseSearchBarDocsComponent,
|
2018-03-06 08:57:01 +00:00
|
|
|
FuseSidebarDocsComponent,
|
2017-08-29 14:20:13 +00:00
|
|
|
FuseShortcutsDocsComponent,
|
|
|
|
FuseWidgetDocsComponent
|
2018-03-06 07:38:30 +00:00
|
|
|
],
|
|
|
|
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
|
|
|
]
|
|
|
|
})
|
2018-05-20 07:12:31 +00:00
|
|
|
export class ComponentsModule
|
2017-07-29 13:42:53 +00:00
|
|
|
{
|
|
|
|
}
|