Re-added the accidentally deleted Angular Material Examples module

This commit is contained in:
Sercan Yemen 2018-06-07 19:10:44 +03:00
parent 5c1f2ad1e3
commit ea15a8b832
6 changed files with 13 additions and 9 deletions

View File

@ -7,10 +7,10 @@ import { COMPONENT_MAP } from 'app/main/components/angular-material/example-comp
@Component({ @Component({
selector : 'angular-material', selector : 'angular-material',
templateUrl: './angular-material.component.html', templateUrl: './angular-material-examples.component.html',
styleUrls : ['./angular-material.component.scss'] styleUrls : ['./angular-material-examples.component.scss']
}) })
export class AngularMaterialComponent implements OnInit, OnDestroy export class AngularMaterialExamplesComponent implements OnInit, OnDestroy
{ {
id: string; id: string;
title: string; title: string;

View File

@ -7,7 +7,7 @@ import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
import { MaterialModule } from 'app/main/components/angular-material/material.module'; import { MaterialModule } from 'app/main/components/angular-material/material.module';
import { EXAMPLE_LIST } from 'app/main/components/angular-material/example-components'; import { EXAMPLE_LIST } from 'app/main/components/angular-material/example-components';
import { AngularMaterialComponent } from 'app/main/components/angular-material/angular-material.component'; import { AngularMaterialExamplesComponent } from 'app/main/components/angular-material/angular-material-examples.component';
import { ExampleViewerComponent } from 'app/main/components/angular-material/example-viewer/example-viewer'; import { ExampleViewerComponent } from 'app/main/components/angular-material/example-viewer/example-viewer';
const routes: Routes = [ const routes: Routes = [
@ -16,7 +16,7 @@ const routes: Routes = [
children: [ children: [
{ {
path : ':id', path : ':id',
component: AngularMaterialComponent component: AngularMaterialExamplesComponent
} }
] ]
} }
@ -25,7 +25,7 @@ const routes: Routes = [
@NgModule({ @NgModule({
declarations : [ declarations : [
[...EXAMPLE_LIST], [...EXAMPLE_LIST],
AngularMaterialComponent, AngularMaterialExamplesComponent,
ExampleViewerComponent ExampleViewerComponent
], ],
imports : [ imports : [
@ -39,7 +39,7 @@ const routes: Routes = [
], ],
entryComponents: EXAMPLE_LIST, entryComponents: EXAMPLE_LIST,
}) })
export class AngularMaterialModule export class AngularMaterialExamplesModule
{ {
} }

View File

@ -5,6 +5,8 @@ import { NgxChartsModule } from '@swimlane/ngx-charts';
import { FuseSharedModule } from '@fuse/shared.module'; import { FuseSharedModule } from '@fuse/shared.module';
import { AngularMaterialExamplesModule } from 'app/main/components/angular-material/angular-material-examples.module';
import { FuseCountdownModule, FuseHighlightModule, FuseMaterialColorPickerModule, FuseWidgetModule } from '@fuse/components'; import { FuseCountdownModule, FuseHighlightModule, FuseMaterialColorPickerModule, FuseWidgetModule } from '@fuse/components';
import { CardsDocsComponent } from 'app/main/components/cards/cards.component'; import { CardsDocsComponent } from 'app/main/components/cards/cards.component';
import { CountdownDocsComponent } from 'app/main/components/countdown/countdown.component'; import { CountdownDocsComponent } from 'app/main/components/countdown/countdown.component';
@ -93,7 +95,9 @@ const routes = [
FuseCountdownModule, FuseCountdownModule,
FuseHighlightModule, FuseHighlightModule,
FuseMaterialColorPickerModule, FuseMaterialColorPickerModule,
FuseWidgetModule FuseWidgetModule,
AngularMaterialExamplesModule
] ]
}) })
export class ComponentsModule export class ComponentsModule

View File

@ -685,7 +685,7 @@ export const navigation: FuseNavigation[] = [
children: [ children: [
{ {
id : 'badge', id : 'badge',
title: 'badge', title: 'Badge',
type : 'item', type : 'item',
url : '/components/angular-material/badge' url : '/components/angular-material/badge'
}, },