mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 12:35:07 +00:00
Re-added the accidentally deleted Angular Material Examples module
This commit is contained in:
parent
5c1f2ad1e3
commit
ea15a8b832
|
@ -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;
|
|
@ -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
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user