mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 12:35:07 +00:00
Created modules for custom components and the main fuse components
+ Changed the Shared Module (WIP)
This commit is contained in:
parent
3dfb79423a
commit
397c304ab2
|
@ -1,4 +1,4 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { MatDialogRef } from '@angular/material';
|
import { MatDialogRef } from '@angular/material';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -6,7 +6,7 @@ import { MatDialogRef } from '@angular/material';
|
||||||
templateUrl: './confirm-dialog.component.html',
|
templateUrl: './confirm-dialog.component.html',
|
||||||
styleUrls : ['./confirm-dialog.component.scss']
|
styleUrls : ['./confirm-dialog.component.scss']
|
||||||
})
|
})
|
||||||
export class FuseConfirmDialogComponent implements OnInit
|
export class FuseConfirmDialogComponent
|
||||||
{
|
{
|
||||||
public confirmMessage: string;
|
public confirmMessage: string;
|
||||||
|
|
||||||
|
@ -14,8 +14,4 @@ export class FuseConfirmDialogComponent implements OnInit
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
20
src/@fuse/components/confirm-dialog/confirm-dialog.module.ts
Normal file
20
src/@fuse/components/confirm-dialog/confirm-dialog.module.ts
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { MatButtonModule, MatDialogModule } from '@angular/material';
|
||||||
|
|
||||||
|
import { FuseConfirmDialogComponent } from '@fuse/components/confirm-dialog/confirm-dialog.component';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
declarations: [
|
||||||
|
FuseConfirmDialogComponent
|
||||||
|
],
|
||||||
|
imports: [
|
||||||
|
MatDialogModule,
|
||||||
|
MatButtonModule
|
||||||
|
],
|
||||||
|
entryComponents: [
|
||||||
|
FuseConfirmDialogComponent
|
||||||
|
],
|
||||||
|
})
|
||||||
|
export class FuseConfirmDialogModule
|
||||||
|
{
|
||||||
|
}
|
|
@ -1,8 +1,9 @@
|
||||||
import { Component, Input, OnInit } from '@angular/core';
|
import { Component, Input, OnInit } from '@angular/core';
|
||||||
import * as moment from 'moment';
|
|
||||||
import { Observable } from 'rxjs/Observable';
|
import { Observable } from 'rxjs/Observable';
|
||||||
import 'rxjs/add/observable/interval';
|
import 'rxjs/add/observable/interval';
|
||||||
|
|
||||||
|
import * as moment from 'moment';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'fuse-countdown',
|
selector : 'fuse-countdown',
|
||||||
templateUrl: './countdown.component.html',
|
templateUrl: './countdown.component.html',
|
||||||
|
|
15
src/@fuse/components/countdown/countdown.module.ts
Normal file
15
src/@fuse/components/countdown/countdown.module.ts
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
|
||||||
|
import { FuseCountdownComponent } from '@fuse/components/countdown/countdown.component';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
declarations: [
|
||||||
|
FuseCountdownComponent
|
||||||
|
],
|
||||||
|
exports: [
|
||||||
|
FuseCountdownComponent
|
||||||
|
],
|
||||||
|
})
|
||||||
|
export class FuseCountdownModule
|
||||||
|
{
|
||||||
|
}
|
|
@ -1,6 +1,8 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../modules/shared.module';
|
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
|
import { MatDividerModule, MatListModule } from '@angular/material';
|
||||||
|
|
||||||
import { FuseDemoContentComponent } from './demo-content/demo-content.component';
|
import { FuseDemoContentComponent } from './demo-content/demo-content.component';
|
||||||
import { FuseDemoSidenavComponent } from './demo-sidenav/demo-sidenav.component';
|
import { FuseDemoSidenavComponent } from './demo-sidenav/demo-sidenav.component';
|
||||||
|
|
||||||
|
@ -10,8 +12,10 @@ import { FuseDemoSidenavComponent } from './demo-sidenav/demo-sidenav.component'
|
||||||
FuseDemoSidenavComponent
|
FuseDemoSidenavComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
RouterModule,
|
||||||
RouterModule
|
|
||||||
|
MatDividerModule,
|
||||||
|
MatListModule
|
||||||
],
|
],
|
||||||
exports : [
|
exports : [
|
||||||
FuseDemoContentComponent,
|
FuseDemoContentComponent,
|
||||||
|
|
15
src/@fuse/components/highlight/highlight.module.ts
Normal file
15
src/@fuse/components/highlight/highlight.module.ts
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
|
||||||
|
import { FuseHighlightComponent } from '@fuse/components/highlight/highlight.component';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
declarations: [
|
||||||
|
FuseHighlightComponent
|
||||||
|
],
|
||||||
|
exports: [
|
||||||
|
FuseHighlightComponent
|
||||||
|
],
|
||||||
|
})
|
||||||
|
export class FuseHighlightModule
|
||||||
|
{
|
||||||
|
}
|
11
src/@fuse/components/index.ts
Normal file
11
src/@fuse/components/index.ts
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
export * from './confirm-dialog/confirm-dialog.module';
|
||||||
|
export * from './countdown/countdown.module';
|
||||||
|
export * from './demo/demo.module';
|
||||||
|
export * from './highlight/highlight.module';
|
||||||
|
export * from './material-color-picker/material-color-picker.module';
|
||||||
|
export * from './navigation/navigation.module';
|
||||||
|
export * from './search-bar/search-bar.module';
|
||||||
|
export * from './shortcuts/shortcuts.module';
|
||||||
|
export * from './sidebar/sidebar.module';
|
||||||
|
export * from './theme-options/theme-options.module';
|
||||||
|
export * from './widget/widget.module';
|
|
@ -1,6 +1,7 @@
|
||||||
import { Component, EventEmitter, Input, OnChanges, OnInit, Output, ViewEncapsulation } from '@angular/core';
|
import { Component, EventEmitter, Input, OnChanges, Output, ViewEncapsulation } from '@angular/core';
|
||||||
import { MatColors } from '../../matColors';
|
|
||||||
import { fuseAnimations } from '../../animations/index';
|
import { fuseAnimations } from '@fuse/animations';
|
||||||
|
import { MatColors } from '@fuse/mat-colors';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'fuse-material-color-picker',
|
selector : 'fuse-material-color-picker',
|
||||||
|
@ -9,7 +10,7 @@ import { fuseAnimations } from '../../animations/index';
|
||||||
animations : fuseAnimations,
|
animations : fuseAnimations,
|
||||||
encapsulation: ViewEncapsulation.None
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
export class FuseMaterialColorPickerComponent implements OnInit, OnChanges
|
export class FuseMaterialColorPickerComponent implements OnChanges
|
||||||
{
|
{
|
||||||
colors: any;
|
colors: any;
|
||||||
selectedColor: any;
|
selectedColor: any;
|
||||||
|
@ -91,9 +92,19 @@ export class FuseMaterialColorPickerComponent implements OnInit, OnChanges
|
||||||
this.hues = ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700'];
|
this.hues = ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700'];
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit()
|
ngOnChanges(changes: any)
|
||||||
{
|
{
|
||||||
|
if ( changes.selectedBg && changes.selectedBg.currentValue === '' ||
|
||||||
|
changes.selectedClass && changes.selectedClass.currentValue === '' ||
|
||||||
|
changes.selectedPalette && changes.selectedPalette.currentValue === '' )
|
||||||
|
{
|
||||||
|
this.removeColor();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if ( changes.selectedPalette || changes.selectedHue || changes.selectedClass || changes.selectedBg )
|
||||||
|
{
|
||||||
|
this.updateSelectedColor();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
selectPalette(palette)
|
selectPalette(palette)
|
||||||
|
@ -172,19 +183,4 @@ export class FuseMaterialColorPickerComponent implements OnInit, OnChanges
|
||||||
this.view = 'hues';
|
this.view = 'hues';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnChanges(changes: any)
|
|
||||||
{
|
|
||||||
if ( changes.selectedBg && changes.selectedBg.currentValue === '' ||
|
|
||||||
changes.selectedClass && changes.selectedClass.currentValue === '' ||
|
|
||||||
changes.selectedPalette && changes.selectedPalette.currentValue === '' )
|
|
||||||
{
|
|
||||||
this.removeColor();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if ( changes.selectedPalette || changes.selectedHue || changes.selectedClass || changes.selectedBg )
|
|
||||||
{
|
|
||||||
this.updateSelectedColor();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||||
|
import { MatButtonModule, MatIconModule, MatMenuModule } from '@angular/material';
|
||||||
|
|
||||||
|
import { FusePipesModule } from '@fuse/pipes/pipes.module';
|
||||||
|
|
||||||
|
import { FuseMaterialColorPickerComponent } from '@fuse/components/material-color-picker/material-color-picker.component';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
declarations: [
|
||||||
|
FuseMaterialColorPickerComponent
|
||||||
|
],
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
|
||||||
|
FlexLayoutModule,
|
||||||
|
|
||||||
|
MatButtonModule,
|
||||||
|
MatIconModule,
|
||||||
|
MatMenuModule,
|
||||||
|
|
||||||
|
FusePipesModule
|
||||||
|
],
|
||||||
|
exports: [
|
||||||
|
FuseMaterialColorPickerComponent
|
||||||
|
],
|
||||||
|
})
|
||||||
|
export class FuseMaterialColorPickerModule
|
||||||
|
{
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../modules/shared.module';
|
import { CommonModule } from '@angular/common';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
import { MatIconModule, MatRippleModule } from '@angular/material';
|
||||||
|
|
||||||
import { FuseNavigationComponent } from './navigation.component';
|
import { FuseNavigationComponent } from './navigation.component';
|
||||||
import { FuseNavVerticalItemComponent } from './vertical/nav-item/nav-vertical-item.component';
|
import { FuseNavVerticalItemComponent } from './vertical/nav-item/nav-vertical-item.component';
|
||||||
|
@ -11,8 +12,11 @@ import { FuseNavHorizontalCollapseComponent } from './horizontal/nav-collapse/na
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
CommonModule,
|
||||||
RouterModule
|
RouterModule,
|
||||||
|
|
||||||
|
MatIconModule,
|
||||||
|
MatRippleModule,
|
||||||
],
|
],
|
||||||
exports : [
|
exports : [
|
||||||
FuseNavigationComponent
|
FuseNavigationComponent
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
import { Component, EventEmitter, OnInit, Output } from '@angular/core';
|
import { Component, EventEmitter, Output } from '@angular/core';
|
||||||
import { FuseConfigService } from '../../services/config.service';
|
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
|
|
||||||
|
import { FuseConfigService } from '@fuse/services/config.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'fuse-search-bar',
|
selector : 'fuse-search-bar',
|
||||||
templateUrl: './search-bar.component.html',
|
templateUrl: './search-bar.component.html',
|
||||||
styleUrls : ['./search-bar.component.scss']
|
styleUrls : ['./search-bar.component.scss']
|
||||||
})
|
})
|
||||||
export class FuseSearchBarComponent implements OnInit
|
export class FuseSearchBarComponent
|
||||||
{
|
{
|
||||||
collapsed: boolean;
|
collapsed: boolean;
|
||||||
toolbarColor: string;
|
toolbarColor: string;
|
||||||
|
@ -28,11 +29,6 @@ export class FuseSearchBarComponent implements OnInit
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
collapse()
|
collapse()
|
||||||
{
|
{
|
||||||
this.collapsed = true;
|
this.collapsed = true;
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '../../modules/shared.module';
|
import { MatIconModule } from '@angular/material';
|
||||||
|
|
||||||
import { FuseSearchBarComponent } from './search-bar.component';
|
import { FuseSearchBarComponent } from './search-bar.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
@ -9,8 +11,10 @@ import { FuseSearchBarComponent } from './search-bar.component';
|
||||||
FuseSearchBarComponent
|
FuseSearchBarComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
CommonModule,
|
||||||
RouterModule
|
RouterModule,
|
||||||
|
|
||||||
|
MatIconModule
|
||||||
],
|
],
|
||||||
exports : [
|
exports : [
|
||||||
FuseSearchBarComponent
|
FuseSearchBarComponent
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
import { Component, ElementRef, OnDestroy, OnInit, Renderer2, ViewChild } from '@angular/core';
|
import { Component, ElementRef, OnDestroy, OnInit, Renderer2, ViewChild } from '@angular/core';
|
||||||
import { FuseNavigationService } from '../navigation/navigation.service';
|
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
import { ObservableMedia } from '@angular/flex-layout';
|
import { ObservableMedia } from '@angular/flex-layout';
|
||||||
import { FuseMatchMedia } from '../../services/match-media.service';
|
|
||||||
import { FuseConfigService } from '../../services/config.service';
|
|
||||||
import { CookieService } from 'ngx-cookie-service';
|
import { CookieService } from 'ngx-cookie-service';
|
||||||
|
|
||||||
|
import { FuseMatchMediaService } from '@fuse/services/match-media.service';
|
||||||
|
import { FuseNavigationService } from '@fuse/components/navigation/navigation.service';
|
||||||
|
import { FuseConfigService } from '@fuse/services/config.service';
|
||||||
|
|
||||||
import { navigation } from 'app/navigation/navigation';
|
import { navigation } from 'app/navigation/navigation';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -30,7 +31,7 @@ export class FuseShortcutsComponent implements OnInit, OnDestroy
|
||||||
constructor(
|
constructor(
|
||||||
private renderer: Renderer2,
|
private renderer: Renderer2,
|
||||||
private observableMedia: ObservableMedia,
|
private observableMedia: ObservableMedia,
|
||||||
private fuseMatchMedia: FuseMatchMedia,
|
private fuseMatchMedia: FuseMatchMediaService,
|
||||||
private fuseNavigationService: FuseNavigationService,
|
private fuseNavigationService: FuseNavigationService,
|
||||||
private fuseConfig: FuseConfigService,
|
private fuseConfig: FuseConfigService,
|
||||||
private cookieService: CookieService
|
private cookieService: CookieService
|
||||||
|
|
|
@ -1,19 +1,35 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||||
|
import { MatDividerModule, MatFormFieldModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatTooltipModule } from '@angular/material';
|
||||||
|
import { CookieService } from 'ngx-cookie-service';
|
||||||
|
|
||||||
import { FuseShortcutsComponent } from './shortcuts.component';
|
import { FuseShortcutsComponent } from './shortcuts.component';
|
||||||
import { SharedModule } from '../../modules/shared.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
FuseShortcutsComponent
|
FuseShortcutsComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
CommonModule,
|
||||||
RouterModule
|
RouterModule,
|
||||||
|
|
||||||
|
FlexLayoutModule,
|
||||||
|
|
||||||
|
MatDividerModule,
|
||||||
|
MatFormFieldModule,
|
||||||
|
MatIconModule,
|
||||||
|
MatInputModule,
|
||||||
|
MatMenuModule,
|
||||||
|
MatListModule,
|
||||||
|
MatTooltipModule
|
||||||
],
|
],
|
||||||
exports : [
|
exports : [
|
||||||
FuseShortcutsComponent
|
FuseShortcutsComponent
|
||||||
|
],
|
||||||
|
providers : [
|
||||||
|
CookieService
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class FuseShortcutsModule
|
export class FuseShortcutsModule
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { ObservableMedia } from '@angular/flex-layout';
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
|
|
||||||
import { FuseSidebarService } from './sidebar.service';
|
import { FuseSidebarService } from './sidebar.service';
|
||||||
import { FuseMatchMedia } from '@fuse/services/match-media.service';
|
import { FuseMatchMediaService } from '@fuse/services/match-media.service';
|
||||||
import { DOCUMENT } from '@angular/common';
|
import { DOCUMENT } from '@angular/common';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -66,7 +66,7 @@ export class FuseSidebarComponent implements OnInit, OnDestroy
|
||||||
private elementRef: ElementRef,
|
private elementRef: ElementRef,
|
||||||
private animationBuilder: AnimationBuilder,
|
private animationBuilder: AnimationBuilder,
|
||||||
private sidebarService: FuseSidebarService,
|
private sidebarService: FuseSidebarService,
|
||||||
private matchMedia: FuseMatchMedia,
|
private matchMedia: FuseMatchMediaService,
|
||||||
private media: ObservableMedia,
|
private media: ObservableMedia,
|
||||||
@Inject(DOCUMENT) private document: any
|
@Inject(DOCUMENT) private document: any
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
|
|
||||||
import { FuseSidebarComponent } from './sidebar.component';
|
import { FuseSidebarComponent } from './sidebar.component';
|
||||||
import { FuseSidebarService } from './sidebar.service';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
|
@ -9,9 +8,6 @@ import { FuseSidebarService } from './sidebar.service';
|
||||||
],
|
],
|
||||||
exports : [
|
exports : [
|
||||||
FuseSidebarComponent
|
FuseSidebarComponent
|
||||||
],
|
|
||||||
providers : [
|
|
||||||
FuseSidebarService
|
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class FuseSidebarModule
|
export class FuseSidebarModule
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
import { Component, ElementRef, HostBinding, OnDestroy, OnInit, Renderer2, ViewChild } from '@angular/core';
|
import { Component, ElementRef, HostBinding, OnDestroy, OnInit, Renderer2, ViewChild } from '@angular/core';
|
||||||
import { style, animate, AnimationBuilder, AnimationPlayer } from '@angular/animations';
|
import { style, animate, AnimationBuilder, AnimationPlayer } from '@angular/animations';
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
import { FuseConfigService } from '../../services/config.service';
|
|
||||||
import { fuseAnimations } from '../../animations/index';
|
import { fuseAnimations } from '@fuse/animations';
|
||||||
import { FuseNavigationService } from '../navigation/navigation.service';
|
import { FuseConfigService } from '@fuse/services/config.service';
|
||||||
|
import { FuseNavigationService } from '@fuse/components/navigation/navigation.service';
|
||||||
|
|
||||||
import { navigation } from 'app/navigation/navigation';
|
import { navigation } from 'app/navigation/navigation';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'fuse-theme-options',
|
selector : 'fuse-theme-options',
|
||||||
templateUrl: './theme-options.component.html',
|
templateUrl: './theme-options.component.html',
|
||||||
|
@ -71,6 +74,11 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ngOnDestroy()
|
||||||
|
{
|
||||||
|
this.onConfigChanged.unsubscribe();
|
||||||
|
}
|
||||||
|
|
||||||
onSettingsChange()
|
onSettingsChange()
|
||||||
{
|
{
|
||||||
this.fuseConfig.setConfig(this.config);
|
this.fuseConfig.setConfig(this.config);
|
||||||
|
@ -105,9 +113,4 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
|
||||||
|
|
||||||
this.player.play();
|
this.player.play();
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnDestroy()
|
|
||||||
{
|
|
||||||
this.onConfigChanged.unsubscribe();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
36
src/@fuse/components/theme-options/theme-options.module.ts
Normal file
36
src/@fuse/components/theme-options/theme-options.module.ts
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { FormsModule } from '@angular/forms';
|
||||||
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||||
|
import { MatDividerModule, MatFormFieldModule, MatIconModule, MatOptionModule, MatRadioModule, MatSelectModule, MatSlideToggleModule } from '@angular/material';
|
||||||
|
|
||||||
|
import { FuseMaterialColorPickerModule } from '@fuse/components/material-color-picker/material-color-picker.module';
|
||||||
|
import { FuseThemeOptionsComponent } from '@fuse/components/theme-options/theme-options.component';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
declarations: [
|
||||||
|
FuseThemeOptionsComponent
|
||||||
|
],
|
||||||
|
imports : [
|
||||||
|
CommonModule,
|
||||||
|
FormsModule,
|
||||||
|
|
||||||
|
FlexLayoutModule,
|
||||||
|
|
||||||
|
MatDividerModule,
|
||||||
|
MatFormFieldModule,
|
||||||
|
MatIconModule,
|
||||||
|
MatOptionModule,
|
||||||
|
MatRadioModule,
|
||||||
|
MatSelectModule,
|
||||||
|
MatSlideToggleModule,
|
||||||
|
|
||||||
|
FuseMaterialColorPickerModule
|
||||||
|
],
|
||||||
|
exports : [
|
||||||
|
FuseThemeOptionsComponent
|
||||||
|
]
|
||||||
|
})
|
||||||
|
export class FuseThemeOptionsModule
|
||||||
|
{
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
import { AfterContentInit, Component, ContentChildren, ElementRef, HostBinding, OnInit, QueryList, Renderer2, ViewEncapsulation } from '@angular/core';
|
import { AfterContentInit, Component, ContentChildren, ElementRef, HostBinding, QueryList, Renderer2, ViewEncapsulation } from '@angular/core';
|
||||||
import { FuseWidgetToggleDirective } from './widget-toggle.directive';
|
import { FuseWidgetToggleDirective } from './widget-toggle.directive';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -8,7 +8,7 @@ import { FuseWidgetToggleDirective } from './widget-toggle.directive';
|
||||||
encapsulation: ViewEncapsulation.None
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
|
|
||||||
export class FuseWidgetComponent implements OnInit, AfterContentInit
|
export class FuseWidgetComponent implements AfterContentInit
|
||||||
{
|
{
|
||||||
@HostBinding('class.flipped') flipped = false;
|
@HostBinding('class.flipped') flipped = false;
|
||||||
@ContentChildren(FuseWidgetToggleDirective, {descendants: true}) toggleButtons: QueryList<FuseWidgetToggleDirective>;
|
@ContentChildren(FuseWidgetToggleDirective, {descendants: true}) toggleButtons: QueryList<FuseWidgetToggleDirective>;
|
||||||
|
@ -17,11 +17,6 @@ export class FuseWidgetComponent implements OnInit, AfterContentInit
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
ngAfterContentInit()
|
ngAfterContentInit()
|
||||||
{
|
{
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
|
@ -1,20 +1,17 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../modules/shared.module';
|
|
||||||
import { FuseWidgetComponent } from './widget.component';
|
import { FuseWidgetComponent } from './widget.component';
|
||||||
import { FuseWidgetToggleDirective } from './widget-toggle.directive';
|
import { FuseWidgetToggleDirective } from './widget-toggle.directive';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
declarations: [
|
||||||
SharedModule
|
FuseWidgetComponent,
|
||||||
|
FuseWidgetToggleDirective
|
||||||
],
|
],
|
||||||
exports : [
|
exports : [
|
||||||
FuseWidgetComponent,
|
FuseWidgetComponent,
|
||||||
FuseWidgetToggleDirective
|
FuseWidgetToggleDirective
|
||||||
],
|
],
|
||||||
declarations: [
|
|
||||||
FuseWidgetComponent,
|
|
||||||
FuseWidgetToggleDirective
|
|
||||||
]
|
|
||||||
})
|
})
|
||||||
export class FuseWidgetModule
|
export class FuseWidgetModule
|
||||||
{
|
{
|
||||||
|
|
24
src/@fuse/directives/directives.ts
Normal file
24
src/@fuse/directives/directives.ts
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
|
||||||
|
import { FuseIfOnDomDirective } from '@fuse/directives/fuse-if-on-dom/fuse-if-on-dom.directive';
|
||||||
|
import { FusePerfectScrollbarDirective } from '@fuse/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive';
|
||||||
|
import { FuseMatSidenavHelperDirective, FuseMatSidenavTogglerDirective } from '@fuse/directives/fuse-mat-sidenav/fuse-mat-sidenav.directive';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
declarations: [
|
||||||
|
FuseIfOnDomDirective,
|
||||||
|
FuseMatSidenavHelperDirective,
|
||||||
|
FuseMatSidenavTogglerDirective,
|
||||||
|
FusePerfectScrollbarDirective
|
||||||
|
],
|
||||||
|
imports : [],
|
||||||
|
exports : [
|
||||||
|
FuseIfOnDomDirective,
|
||||||
|
FuseMatSidenavHelperDirective,
|
||||||
|
FuseMatSidenavTogglerDirective,
|
||||||
|
FusePerfectScrollbarDirective
|
||||||
|
]
|
||||||
|
})
|
||||||
|
export class FuseDirectivesModule
|
||||||
|
{
|
||||||
|
}
|
|
@ -2,8 +2,9 @@ import { Directive, Input, OnInit, HostListener, OnDestroy, HostBinding } from '
|
||||||
import { MatSidenav } from '@angular/material';
|
import { MatSidenav } from '@angular/material';
|
||||||
import { ObservableMedia } from '@angular/flex-layout';
|
import { ObservableMedia } from '@angular/flex-layout';
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
import { FuseMatchMedia } from '../../services/match-media.service';
|
|
||||||
import { FuseMatSidenavHelperService } from './fuse-mat-sidenav-helper.service';
|
import { FuseMatchMediaService } from '@fuse/services/match-media.service';
|
||||||
|
import { FuseMatSidenavHelperService } from '@fuse/directives/fuse-mat-sidenav/fuse-mat-sidenav.service';
|
||||||
|
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: '[fuseMatSidenavHelper]'
|
selector: '[fuseMatSidenavHelper]'
|
||||||
|
@ -19,7 +20,7 @@ export class FuseMatSidenavHelperDirective implements OnInit, OnDestroy
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private fuseMatSidenavService: FuseMatSidenavHelperService,
|
private fuseMatSidenavService: FuseMatSidenavHelperService,
|
||||||
private fuseMatchMedia: FuseMatchMedia,
|
private fuseMatchMedia: FuseMatchMediaService,
|
||||||
private observableMedia: ObservableMedia,
|
private observableMedia: ObservableMedia,
|
||||||
private matSidenav: MatSidenav
|
private matSidenav: MatSidenav
|
||||||
)
|
)
|
|
@ -1,9 +1,12 @@
|
||||||
import { AfterViewInit, Directive, ElementRef, HostListener, OnDestroy } from '@angular/core';
|
import { AfterViewInit, Directive, ElementRef, HostListener, OnDestroy } from '@angular/core';
|
||||||
import { FuseConfigService } from '../../services/config.service';
|
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
|
||||||
import { Platform } from '@angular/cdk/platform';
|
import { Platform } from '@angular/cdk/platform';
|
||||||
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
|
|
||||||
import PerfectScrollbar from 'perfect-scrollbar';
|
import PerfectScrollbar from 'perfect-scrollbar';
|
||||||
|
|
||||||
|
import { FuseConfigService } from '@fuse/services/config.service';
|
||||||
|
|
||||||
|
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: '[fusePerfectScrollbar]'
|
selector: '[fusePerfectScrollbar]'
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,15 +1,25 @@
|
||||||
import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core';
|
import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core';
|
||||||
|
|
||||||
import { FUSE_CONFIG, FuseConfigService } from '@fuse/services/config.service';
|
import { FUSE_CONFIG, FuseConfigService } from '@fuse/services/config.service';
|
||||||
|
import { FuseCopierService } from '@fuse/services/copier.service';
|
||||||
|
import { FuseMatchMediaService } from '@fuse/services/match-media.service';
|
||||||
|
import { FuseMatSidenavHelperService } from '@fuse/directives/fuse-mat-sidenav/fuse-mat-sidenav.service';
|
||||||
import { FuseNavigationService } from '@fuse/components/navigation/navigation.service';
|
import { FuseNavigationService } from '@fuse/components/navigation/navigation.service';
|
||||||
|
import { FuseSidebarService } from '@fuse/components/sidebar/sidebar.service';
|
||||||
import { FuseSplashScreenService } from '@fuse/services/splash-screen.service';
|
import { FuseSplashScreenService } from '@fuse/services/splash-screen.service';
|
||||||
|
import { FuseTranslationLoaderService } from '@fuse/services/translation-loader.service';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [],
|
entryComponents: [],
|
||||||
providers : [
|
providers : [
|
||||||
FuseConfigService,
|
FuseConfigService,
|
||||||
|
FuseCopierService,
|
||||||
|
FuseMatchMediaService,
|
||||||
|
FuseMatSidenavHelperService,
|
||||||
FuseNavigationService,
|
FuseNavigationService,
|
||||||
FuseSplashScreenService
|
FuseSidebarService,
|
||||||
|
FuseSplashScreenService,
|
||||||
|
FuseTranslationLoaderService
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class FuseModule
|
export class FuseModule
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { Pipe, PipeTransform } from '@angular/core';
|
import { Pipe, PipeTransform } from '@angular/core';
|
||||||
import { FuseUtils } from '../fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
@Pipe({name: 'filter'})
|
@Pipe({name: 'filter'})
|
||||||
export class FilterPipe implements PipeTransform
|
export class FilterPipe implements PipeTransform
|
||||||
|
|
|
@ -13,7 +13,6 @@ import { CamelCaseToDashPipe } from './camelCaseToDash.pipe';
|
||||||
HtmlToPlaintextPipe,
|
HtmlToPlaintextPipe,
|
||||||
FilterPipe,
|
FilterPipe,
|
||||||
CamelCaseToDashPipe
|
CamelCaseToDashPipe
|
||||||
|
|
||||||
],
|
],
|
||||||
imports : [],
|
imports : [],
|
||||||
exports : [
|
exports : [
|
||||||
|
@ -24,8 +23,6 @@ import { CamelCaseToDashPipe } from './camelCaseToDash.pipe';
|
||||||
CamelCaseToDashPipe
|
CamelCaseToDashPipe
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
export class FusePipesModule
|
export class FusePipesModule
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class CopierService
|
export class FuseCopierService
|
||||||
{
|
{
|
||||||
|
|
||||||
private textarea: HTMLTextAreaElement;
|
private textarea: HTMLTextAreaElement;
|
|
@ -3,7 +3,7 @@ import { Injectable } from '@angular/core';
|
||||||
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class FuseMatchMedia
|
export class FuseMatchMediaService
|
||||||
{
|
{
|
||||||
activeMediaQuery: string;
|
activeMediaQuery: string;
|
||||||
onMediaChange: BehaviorSubject<string> = new BehaviorSubject<string>('');
|
onMediaChange: BehaviorSubject<string> = new BehaviorSubject<string>('');
|
||||||
|
|
35
src/@fuse/shared.module.ts
Normal file
35
src/@fuse/shared.module.ts
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||||
|
|
||||||
|
import { FusePipesModule } from './pipes/pipes.module';
|
||||||
|
|
||||||
|
import { FuseDirectivesModule } from '@fuse/directives/directives';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports : [
|
||||||
|
CommonModule,
|
||||||
|
FormsModule,
|
||||||
|
ReactiveFormsModule,
|
||||||
|
|
||||||
|
FlexLayoutModule,
|
||||||
|
|
||||||
|
FuseDirectivesModule,
|
||||||
|
FusePipesModule
|
||||||
|
],
|
||||||
|
exports : [
|
||||||
|
CommonModule,
|
||||||
|
FormsModule,
|
||||||
|
ReactiveFormsModule,
|
||||||
|
|
||||||
|
FlexLayoutModule,
|
||||||
|
|
||||||
|
FuseDirectivesModule,
|
||||||
|
FusePipesModule
|
||||||
|
]
|
||||||
|
})
|
||||||
|
export class FuseSharedModule
|
||||||
|
{
|
||||||
|
}
|
|
@ -5,16 +5,19 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { InMemoryWebApiModule } from 'angular-in-memory-web-api';
|
import { InMemoryWebApiModule } from 'angular-in-memory-web-api';
|
||||||
import 'hammerjs';
|
import 'hammerjs';
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
|
||||||
|
import { FuseModule } from '@fuse/fuse.module';
|
||||||
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
|
// import { SharedModule } from 'app/shared/shared.module';
|
||||||
|
import { config } from './config';
|
||||||
|
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
import { FuseFakeDbService } from './fuse-fake-db/fuse-fake-db.service';
|
import { FuseFakeDbService } from './fuse-fake-db/fuse-fake-db.service';
|
||||||
import { FuseMainModule } from './main/main.module';
|
import { FuseMainModule } from './main/main.module';
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
import { AppStoreModule } from './store/store.module';
|
import { AppStoreModule } from './store/store.module';
|
||||||
|
|
||||||
import { FuseModule } from '@fuse/fuse.module';
|
|
||||||
import { config } from './config';
|
|
||||||
|
|
||||||
const appRoutes: Routes = [
|
const appRoutes: Routes = [
|
||||||
{
|
{
|
||||||
path : 'apps',
|
path : 'apps',
|
||||||
|
@ -61,10 +64,11 @@ const appRoutes: Routes = [
|
||||||
passThruUnknownUrl: true
|
passThruUnknownUrl: true
|
||||||
}),
|
}),
|
||||||
|
|
||||||
SharedModule,
|
// SharedModule,
|
||||||
|
|
||||||
// Fuse Module
|
// Fuse Main and Shared modules
|
||||||
FuseModule.forRoot(config),
|
FuseModule.forRoot(config),
|
||||||
|
FuseSharedModule,
|
||||||
|
|
||||||
AppStoreModule,
|
AppStoreModule,
|
||||||
FuseMainModule
|
FuseMainModule
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseAcademyCoursesComponent } from './courses/courses.component';
|
import { FuseAcademyCoursesComponent } from './courses/courses.component';
|
||||||
import { FuseAcademyCourseComponent } from './course/course.component';
|
import { FuseAcademyCourseComponent } from './course/course.component';
|
||||||
|
@ -31,7 +31,7 @@ const routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { FuseAngularMaterialModule } from '../components/angular-material/angular-material.module';
|
import { FuseAngularMaterialModule } from '../components/angular-material/angular-material.module';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
|
@ -58,7 +58,7 @@ const routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
FuseAngularMaterialModule
|
FuseAngularMaterialModule
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { CalendarService } from './calendar.service';
|
import { CalendarService } from './calendar.service';
|
||||||
import { CalendarModule } from 'angular-calendar';
|
import { CalendarModule } from 'angular-calendar';
|
||||||
|
@ -21,7 +21,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
CalendarModule.forRoot()
|
CalendarModule.forRoot()
|
||||||
],
|
],
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { Component, Inject, ViewEncapsulation } from '@angular/core';
|
||||||
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
||||||
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
|
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
|
||||||
|
|
||||||
import { MatColors } from '@fuse/matColors';
|
import { MatColors } from '@fuse/mat-colors';
|
||||||
|
|
||||||
import { CalendarEvent } from 'angular-calendar';
|
import { CalendarEvent } from 'angular-calendar';
|
||||||
import { CalendarEventModel } from '../event.model';
|
import { CalendarEventModel } from '../event.model';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseChatComponent } from './chat.component';
|
import { FuseChatComponent } from './chat.component';
|
||||||
import { ChatService } from './chat.service';
|
import { ChatService } from './chat.service';
|
||||||
|
@ -26,7 +26,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { Observable } from 'rxjs/Observable';
|
||||||
import { Subject } from 'rxjs/Subject';
|
import { Subject } from 'rxjs/Subject';
|
||||||
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
||||||
|
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class ChatService implements Resolve<any>
|
export class ChatService implements Resolve<any>
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
||||||
import { ObservableMedia } from '@angular/flex-layout';
|
import { ObservableMedia } from '@angular/flex-layout';
|
||||||
|
|
||||||
import { fuseAnimations } from '@fuse/animations';
|
import { fuseAnimations } from '@fuse/animations';
|
||||||
import { FuseMatSidenavHelperService } from '@fuse/directives/fuse-mat-sidenav-helper/fuse-mat-sidenav-helper.service';
|
import { FuseMatSidenavHelperService } from '@fuse/directives/fuse-mat-sidenav/fuse-mat-sidenav.service';
|
||||||
|
|
||||||
import { ChatService } from '../../../chat.service';
|
import { ChatService } from '../../../chat.service';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
export class Contact
|
export class Contact
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseContactsMainSidenavComponent } from './sidenavs/main/main.component';
|
import { FuseContactsMainSidenavComponent } from './sidenavs/main/main.component';
|
||||||
import { FuseContactsComponent } from './contacts.component';
|
import { FuseContactsComponent } from './contacts.component';
|
||||||
|
@ -22,7 +22,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations : [
|
declarations : [
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Observable } from 'rxjs/Observable';
|
||||||
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
||||||
import { Subject } from 'rxjs/Subject';
|
import { Subject } from 'rxjs/Subject';
|
||||||
|
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { Contact } from './contact.model';
|
import { Contact } from './contact.model';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { RouterModule, Routes } from '@angular/router';
|
||||||
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
||||||
import { AgmCoreModule } from '@agm/core';
|
import { AgmCoreModule } from '@agm/core';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
||||||
|
|
||||||
import { FuseAnalyticsDashboardComponent } from './analytics.component';
|
import { FuseAnalyticsDashboardComponent } from './analytics.component';
|
||||||
|
@ -23,7 +23,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
FuseWidgetModule,
|
FuseWidgetModule,
|
||||||
NgxChartsModule,
|
NgxChartsModule,
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
||||||
|
|
||||||
import { FuseProjectDashboardComponent } from './project.component';
|
import { FuseProjectDashboardComponent } from './project.component';
|
||||||
|
@ -21,7 +21,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
FuseWidgetModule,
|
FuseWidgetModule,
|
||||||
NgxChartsModule
|
NgxChartsModule
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { RouterModule, Routes } from '@angular/router';
|
||||||
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
||||||
import { AgmCoreModule } from '@agm/core';
|
import { AgmCoreModule } from '@agm/core';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
||||||
|
|
||||||
import { FuseEcommerceDashboardComponent } from './dashboard/dashboard.component';
|
import { FuseEcommerceDashboardComponent } from './dashboard/dashboard.component';
|
||||||
|
@ -65,7 +65,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
FuseWidgetModule,
|
FuseWidgetModule,
|
||||||
NgxChartsModule,
|
NgxChartsModule,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
export class Order
|
export class Order
|
||||||
{
|
{
|
||||||
|
|
|
@ -11,7 +11,7 @@ import 'rxjs/add/operator/distinctUntilChanged';
|
||||||
import 'rxjs/add/observable/fromEvent';
|
import 'rxjs/add/observable/fromEvent';
|
||||||
|
|
||||||
import { fuseAnimations } from '@fuse/animations';
|
import { fuseAnimations } from '@fuse/animations';
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { EcommerceOrdersService } from './orders.service';
|
import { EcommerceOrdersService } from './orders.service';
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ import 'rxjs/add/observable/fromEvent';
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
|
|
||||||
import { fuseAnimations } from '@fuse/animations';
|
import { fuseAnimations } from '@fuse/animations';
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { Product } from './product.model';
|
import { Product } from './product.model';
|
||||||
import { EcommerceProductService } from './product.service';
|
import { EcommerceProductService } from './product.service';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { MatChipInputEvent } from '@angular/material';
|
import { MatChipInputEvent } from '@angular/material';
|
||||||
|
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
export class Product
|
export class Product
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,7 +12,7 @@ import { Observable } from 'rxjs/Observable';
|
||||||
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
||||||
|
|
||||||
import { fuseAnimations } from '@fuse/animations';
|
import { fuseAnimations } from '@fuse/animations';
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { EcommerceProductsService } from './products.service';
|
import { EcommerceProductsService } from './products.service';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseFileManagerComponent } from './file-manager.component';
|
import { FuseFileManagerComponent } from './file-manager.component';
|
||||||
import { FileManagerService } from './file-manager.service';
|
import { FileManagerService } from './file-manager.service';
|
||||||
|
@ -22,7 +22,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseMailNgrxComponent } from './mail.component';
|
import { FuseMailNgrxComponent } from './mail.component';
|
||||||
import { FuseMailNgrxMainSidenavComponent } from './sidenavs/main/main-sidenav.component';
|
import { FuseMailNgrxMainSidenavComponent } from './sidenavs/main/main-sidenav.component';
|
||||||
|
@ -60,7 +60,7 @@ const routes: Routes = [
|
||||||
FuseMailNgrxComposeDialogComponent
|
FuseMailNgrxComposeDialogComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
MailAppStoreModule
|
MailAppStoreModule
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { createSelector } from '@ngrx/store';
|
import { createSelector } from '@ngrx/store';
|
||||||
import { getMailAppState, MailAppState, MailsState } from '../reducers';
|
import { getMailAppState, MailAppState, MailsState } from '../reducers';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { MailService } from './mail.service';
|
import { MailService } from './mail.service';
|
||||||
import { FuseMailComponent } from './mail.component';
|
import { FuseMailComponent } from './mail.component';
|
||||||
|
@ -70,7 +70,7 @@ const routes: Routes = [
|
||||||
FuseMailComposeDialogComponent
|
FuseMailComposeDialogComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { ActivatedRouteSnapshot, Resolve, RouterStateSnapshot } from '@angular/r
|
||||||
import { Observable } from 'rxjs/Observable';
|
import { Observable } from 'rxjs/Observable';
|
||||||
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
||||||
|
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { Mail } from './mail.model';
|
import { Mail } from './mail.model';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { List } from './list.model';
|
import { List } from './list.model';
|
||||||
import { Card } from './card.model';
|
import { Card } from './card.model';
|
||||||
|
|
|
@ -3,8 +3,8 @@ import { NgForm } from '@angular/forms/src/forms';
|
||||||
import { MAT_DIALOG_DATA, MatDialog, MatDialogRef, MatMenuTrigger } from '@angular/material';
|
import { MAT_DIALOG_DATA, MatDialog, MatDialogRef, MatMenuTrigger } from '@angular/material';
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
|
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
|
||||||
import { FuseConfirmDialogComponent } from '@fuse/components/confirm-dialog/confirm-dialog.component';
|
import { FuseConfirmDialogComponent } from '@fuse/components/confirm-dialog/confirm-dialog.component';
|
||||||
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { ScrumboardService } from '../../../scrumboard.service';
|
import { ScrumboardService } from '../../../scrumboard.service';
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { Component, EventEmitter, Input, OnDestroy, OnInit, Output, ViewEncapsulation } from '@angular/core';
|
import { Component, EventEmitter, Input, OnDestroy, OnInit, Output, ViewEncapsulation } from '@angular/core';
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
|
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
|
||||||
import { fuseAnimations } from '@fuse/animations';
|
import { fuseAnimations } from '@fuse/animations';
|
||||||
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { ScrumboardService } from '../../../../scrumboard.service';
|
import { ScrumboardService } from '../../../../scrumboard.service';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { Component, OnDestroy, OnInit } from '@angular/core';
|
import { Component, OnDestroy, OnInit } from '@angular/core';
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
|
|
||||||
import { MatColors } from '@fuse/matColors';
|
import { MatColors } from '@fuse/mat-colors';
|
||||||
|
|
||||||
import { ScrumboardService } from '../../../../scrumboard.service';
|
import { ScrumboardService } from '../../../../scrumboard.service';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
export class Card
|
export class Card
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
export class List
|
export class List
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { BoardResolve, ScrumboardService } from './scrumboard.service';
|
import { BoardResolve, ScrumboardService } from './scrumboard.service';
|
||||||
import { FuseScrumboardComponent } from './scrumboard.component';
|
import { FuseScrumboardComponent } from './scrumboard.component';
|
||||||
|
@ -54,7 +54,7 @@ const routes: Routes = [
|
||||||
FuseScrumboardBoardColorSelectorComponent
|
FuseScrumboardBoardColorSelectorComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { Subscription } from 'rxjs/Subscription';
|
||||||
import 'rxjs/add/operator/debounceTime';
|
import 'rxjs/add/operator/debounceTime';
|
||||||
import 'rxjs/add/operator/distinctUntilChanged';
|
import 'rxjs/add/operator/distinctUntilChanged';
|
||||||
|
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
import { fuseAnimations } from '@fuse/animations';
|
import { fuseAnimations } from '@fuse/animations';
|
||||||
|
|
||||||
import { Todo } from '../todo.model';
|
import { Todo } from '../todo.model';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { TodoService } from './todo.service';
|
import { TodoService } from './todo.service';
|
||||||
import { FuseTodoComponent } from './todo.component';
|
import { FuseTodoComponent } from './todo.component';
|
||||||
|
@ -68,7 +68,7 @@ const routes: Routes = [
|
||||||
FuseTodoDetailsComponent
|
FuseTodoDetailsComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { Observable } from 'rxjs/Observable';
|
||||||
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
||||||
import { Subject } from 'rxjs/Subject';
|
import { Subject } from 'rxjs/Subject';
|
||||||
|
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { Todo } from './todo.model';
|
import { Todo } from './todo.model';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseNgxDatatableComponent } from './datatable/ngx-datatable.component';
|
import { FuseNgxDatatableComponent } from './datatable/ngx-datatable.component';
|
||||||
import { GoogleMapsModule } from './google-maps/google-maps.module';
|
import { GoogleMapsModule } from './google-maps/google-maps.module';
|
||||||
|
@ -15,7 +15,7 @@ const routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
GoogleMapsModule
|
GoogleMapsModule
|
||||||
],
|
],
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
import { AgmCoreModule } from '@agm/core';
|
import { AgmCoreModule } from '@agm/core';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseGoogleMapsDocsComponent } from './google-maps.component';
|
import { FuseGoogleMapsDocsComponent } from './google-maps.component';
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ const routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
AgmCoreModule.forRoot({
|
AgmCoreModule.forRoot({
|
||||||
apiKey: 'AIzaSyD81ecsCj4yYpcXSLFcYU97PvRsE_X8Bx8'
|
apiKey: 'AIzaSyD81ecsCj4yYpcXSLFcYU97PvRsE_X8Bx8'
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
||||||
|
|
||||||
import { EXAMPLE_LIST } from './example-components';
|
import { EXAMPLE_LIST } from './example-components';
|
||||||
import { FuseExampleViewerComponent } from './example-viewer/example-viewer';
|
import { FuseExampleViewerComponent } from './example-viewer/example-viewer';
|
||||||
import { FuseAngularMaterialComponent } from './angular-material.component';
|
import { FuseAngularMaterialComponent } from './angular-material.component';
|
||||||
|
import { MaterialModule } from 'app/main/content/components/angular-material/material.module';
|
||||||
|
import { FuseHighlightModule } from '@fuse/components';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
|
@ -22,12 +24,11 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
FuseWidgetModule
|
MaterialModule,
|
||||||
],
|
FuseSharedModule,
|
||||||
exports : [
|
FuseWidgetModule,
|
||||||
SharedModule
|
FuseHighlightModule
|
||||||
],
|
],
|
||||||
entryComponents: EXAMPLE_LIST,
|
entryComponents: EXAMPLE_LIST,
|
||||||
declarations : [
|
declarations : [
|
||||||
|
|
|
@ -6,8 +6,8 @@ import 'prismjs/components/prism-typescript';
|
||||||
|
|
||||||
import { EXAMPLE_COMPONENTS } from '../example-components';
|
import { EXAMPLE_COMPONENTS } from '../example-components';
|
||||||
|
|
||||||
import { CopierService } from '@fuse/components/copier/copier.service';
|
|
||||||
import { fuseAnimations } from '@fuse/animations';
|
import { fuseAnimations } from '@fuse/animations';
|
||||||
|
import { FuseCopierService } from '@fuse/services/copier.service';
|
||||||
|
|
||||||
export interface LiveExample
|
export interface LiveExample
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,6 @@ export interface LiveExample
|
||||||
selector : 'fuse-example-viewer',
|
selector : 'fuse-example-viewer',
|
||||||
templateUrl : './example-viewer.html',
|
templateUrl : './example-viewer.html',
|
||||||
styleUrls : ['./example-viewer.scss'],
|
styleUrls : ['./example-viewer.scss'],
|
||||||
providers : [CopierService],
|
|
||||||
encapsulation: ViewEncapsulation.None,
|
encapsulation: ViewEncapsulation.None,
|
||||||
animations : fuseAnimations
|
animations : fuseAnimations
|
||||||
})
|
})
|
||||||
|
@ -51,7 +50,7 @@ export class FuseExampleViewerComponent implements AfterViewInit, OnDestroy
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private snackbar: MatSnackBar,
|
private snackbar: MatSnackBar,
|
||||||
private copier: CopierService,
|
private copier: FuseCopierService,
|
||||||
private _resolver: ComponentFactoryResolver
|
private _resolver: ComponentFactoryResolver
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,112 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import {
|
||||||
|
MatAutocompleteModule,
|
||||||
|
MatButtonModule,
|
||||||
|
MatButtonToggleModule,
|
||||||
|
MatCheckboxModule,
|
||||||
|
MatToolbarModule,
|
||||||
|
MatTooltipModule,
|
||||||
|
MatCardModule,
|
||||||
|
MatChipsModule,
|
||||||
|
MatDatepickerModule,
|
||||||
|
MatDialogModule,
|
||||||
|
MatExpansionModule,
|
||||||
|
MatFormFieldModule,
|
||||||
|
MatGridListModule,
|
||||||
|
MatIconModule,
|
||||||
|
MatInputModule,
|
||||||
|
MatListModule,
|
||||||
|
MatMenuModule,
|
||||||
|
MatNativeDateModule,
|
||||||
|
MatPaginatorModule,
|
||||||
|
MatProgressBarModule,
|
||||||
|
MatProgressSpinnerModule,
|
||||||
|
MatRadioModule,
|
||||||
|
MatRippleModule,
|
||||||
|
MatSelectModule,
|
||||||
|
MatSidenavModule,
|
||||||
|
MatSliderModule,
|
||||||
|
MatSlideToggleModule,
|
||||||
|
MatSnackBarModule,
|
||||||
|
MatSortModule,
|
||||||
|
MatTableModule,
|
||||||
|
MatTabsModule,
|
||||||
|
MatStepperModule
|
||||||
|
} from '@angular/material';
|
||||||
|
import { CdkTableModule } from '@angular/cdk/table';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
MatAutocompleteModule,
|
||||||
|
MatButtonModule,
|
||||||
|
MatButtonToggleModule,
|
||||||
|
MatCardModule,
|
||||||
|
MatCheckboxModule,
|
||||||
|
MatChipsModule,
|
||||||
|
MatDatepickerModule,
|
||||||
|
MatDialogModule,
|
||||||
|
MatExpansionModule,
|
||||||
|
MatFormFieldModule,
|
||||||
|
MatGridListModule,
|
||||||
|
MatIconModule,
|
||||||
|
MatInputModule,
|
||||||
|
MatListModule,
|
||||||
|
MatMenuModule,
|
||||||
|
MatNativeDateModule,
|
||||||
|
MatPaginatorModule,
|
||||||
|
MatProgressBarModule,
|
||||||
|
MatProgressSpinnerModule,
|
||||||
|
MatRadioModule,
|
||||||
|
MatRippleModule,
|
||||||
|
MatSelectModule,
|
||||||
|
MatSidenavModule,
|
||||||
|
MatSliderModule,
|
||||||
|
MatSlideToggleModule,
|
||||||
|
MatSnackBarModule,
|
||||||
|
MatStepperModule,
|
||||||
|
MatSortModule,
|
||||||
|
MatTableModule,
|
||||||
|
MatTabsModule,
|
||||||
|
MatToolbarModule,
|
||||||
|
MatTooltipModule,
|
||||||
|
CdkTableModule
|
||||||
|
],
|
||||||
|
exports: [
|
||||||
|
MatAutocompleteModule,
|
||||||
|
MatButtonModule,
|
||||||
|
MatButtonToggleModule,
|
||||||
|
MatCardModule,
|
||||||
|
MatCheckboxModule,
|
||||||
|
MatChipsModule,
|
||||||
|
MatDatepickerModule,
|
||||||
|
MatDialogModule,
|
||||||
|
MatExpansionModule,
|
||||||
|
MatGridListModule,
|
||||||
|
MatIconModule,
|
||||||
|
MatInputModule,
|
||||||
|
MatListModule,
|
||||||
|
MatMenuModule,
|
||||||
|
MatNativeDateModule,
|
||||||
|
MatPaginatorModule,
|
||||||
|
MatProgressBarModule,
|
||||||
|
MatProgressSpinnerModule,
|
||||||
|
MatRadioModule,
|
||||||
|
MatRippleModule,
|
||||||
|
MatSelectModule,
|
||||||
|
MatSidenavModule,
|
||||||
|
MatSliderModule,
|
||||||
|
MatSlideToggleModule,
|
||||||
|
MatSnackBarModule,
|
||||||
|
MatStepperModule,
|
||||||
|
MatSortModule,
|
||||||
|
MatTableModule,
|
||||||
|
MatTabsModule,
|
||||||
|
MatToolbarModule,
|
||||||
|
MatTooltipModule,
|
||||||
|
CdkTableModule
|
||||||
|
]
|
||||||
|
})
|
||||||
|
export class MaterialModule
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
||||||
|
|
||||||
import { FuseAngularMaterialModule } from './angular-material/angular-material.module';
|
import { FuseAngularMaterialModule } from './angular-material/angular-material.module';
|
||||||
|
@ -57,7 +57,7 @@ const routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
FuseWidgetModule,
|
FuseWidgetModule,
|
||||||
FuseAngularMaterialModule,
|
FuseAngularMaterialModule,
|
||||||
|
|
22
src/app/main/content/content.module.ts
Normal file
22
src/app/main/content/content.module.ts
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
|
import { FuseContentComponent } from 'app/main/content/content.component';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
declarations: [
|
||||||
|
FuseContentComponent
|
||||||
|
],
|
||||||
|
imports : [
|
||||||
|
RouterModule,
|
||||||
|
FuseSharedModule,
|
||||||
|
],
|
||||||
|
exports: [
|
||||||
|
FuseContentComponent
|
||||||
|
]
|
||||||
|
})
|
||||||
|
export class FuseContentModule
|
||||||
|
{
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseForgotPassword2Component } from './forgot-password-2.component';
|
import { FuseForgotPassword2Component } from './forgot-password-2.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseForgotPassword2Component
|
FuseForgotPassword2Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseForgotPasswordComponent } from './forgot-password.component';
|
import { FuseForgotPasswordComponent } from './forgot-password.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseForgotPasswordComponent
|
FuseForgotPasswordComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseLockComponent } from './lock.component';
|
import { FuseLockComponent } from './lock.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseLockComponent
|
FuseLockComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseLogin2Component } from './login-2.component';
|
import { FuseLogin2Component } from './login-2.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseLogin2Component
|
FuseLogin2Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseLoginComponent } from './login.component';
|
import { FuseLoginComponent } from './login.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseLoginComponent
|
FuseLoginComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseMailConfirmComponent } from './mail-confirm.component';
|
import { FuseMailConfirmComponent } from './mail-confirm.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseMailConfirmComponent
|
FuseMailConfirmComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseRegister2Component } from './register-2.component';
|
import { FuseRegister2Component } from './register-2.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseRegister2Component
|
FuseRegister2Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseRegisterComponent } from './register.component';
|
import { FuseRegisterComponent } from './register.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseRegisterComponent
|
FuseRegisterComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseResetPassword2Component } from './reset-password-2.component';
|
import { FuseResetPassword2Component } from './reset-password-2.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseResetPassword2Component
|
FuseResetPassword2Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseResetPasswordComponent } from './reset-password.component';
|
import { FuseResetPasswordComponent } from './reset-password.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseResetPasswordComponent
|
FuseResetPasswordComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseComingSoonComponent } from './coming-soon.component';
|
import { FuseComingSoonComponent } from './coming-soon.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseComingSoonComponent
|
FuseComingSoonComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseError404Component } from './error-404.component';
|
import { FuseError404Component } from './error-404.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseError404Component
|
FuseError404Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseError500Component } from './error-500.component';
|
import { FuseError500Component } from './error-500.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseError500Component
|
FuseError500Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { Subscription } from 'rxjs/Subscription';
|
||||||
import 'rxjs/add/operator/debounceTime';
|
import 'rxjs/add/operator/debounceTime';
|
||||||
import 'rxjs/add/operator/distinctUntilChanged';
|
import 'rxjs/add/operator/distinctUntilChanged';
|
||||||
|
|
||||||
import { FuseUtils } from '@fuse/fuseUtils';
|
import { FuseUtils } from '@fuse/utils';
|
||||||
|
|
||||||
import { FaqService } from './faq.service';
|
import { FaqService } from './faq.service';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FaqService } from './faq.service';
|
import { FaqService } from './faq.service';
|
||||||
import { FuseFaqComponent } from './faq.component';
|
import { FuseFaqComponent } from './faq.component';
|
||||||
|
@ -21,7 +21,7 @@ const routes = [
|
||||||
FuseFaqComponent
|
FuseFaqComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { InvoiceService } from '../invoice.service';
|
import { InvoiceService } from '../invoice.service';
|
||||||
import { FuseInvoiceCompactComponent } from './compact.component';
|
import { FuseInvoiceCompactComponent } from './compact.component';
|
||||||
|
@ -21,7 +21,7 @@ const routes = [
|
||||||
FuseInvoiceCompactComponent
|
FuseInvoiceCompactComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { InvoiceService } from '../invoice.service';
|
import { InvoiceService } from '../invoice.service';
|
||||||
import { FuseInvoiceModernComponent } from './modern.component';
|
import { FuseInvoiceModernComponent } from './modern.component';
|
||||||
|
@ -21,7 +21,7 @@ const routes = [
|
||||||
FuseInvoiceModernComponent
|
FuseInvoiceModernComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { KnowledgeBaseService } from './knowledge-base.service';
|
import { KnowledgeBaseService } from './knowledge-base.service';
|
||||||
import { FuseKnowledgeBaseComponent } from './knowledge-base.component';
|
import { FuseKnowledgeBaseComponent } from './knowledge-base.component';
|
||||||
|
@ -23,7 +23,7 @@ const routes = [
|
||||||
FuseKnowledgeBaseArticleComponent
|
FuseKnowledgeBaseArticleComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseMaintenanceComponent } from './maintenance.component';
|
import { FuseMaintenanceComponent } from './maintenance.component';
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
FuseMaintenanceComponent
|
FuseMaintenanceComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FusePricingStyle1Component } from './style-1/style-1.component';
|
import { FusePricingStyle1Component } from './style-1/style-1.component';
|
||||||
import { FusePricingStyle2Component } from './style-2/style-2.component';
|
import { FusePricingStyle2Component } from './style-2/style-2.component';
|
||||||
|
@ -29,7 +29,7 @@ const routes = [
|
||||||
FusePricingStyle3Component
|
FusePricingStyle3Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { ProfileService } from './profile.service';
|
import { ProfileService } from './profile.service';
|
||||||
import { FuseProfileComponent } from './profile.component';
|
import { FuseProfileComponent } from './profile.component';
|
||||||
|
@ -27,7 +27,7 @@ const routes = [
|
||||||
FuseProfilePhotosVideosComponent
|
FuseProfilePhotosVideosComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { SearchService } from './search.service';
|
import { SearchService } from './search.service';
|
||||||
import { FuseSearchClassicComponent } from './tabs/classic/classic.component';
|
import { FuseSearchClassicComponent } from './tabs/classic/classic.component';
|
||||||
|
@ -25,7 +25,7 @@ const routes = [
|
||||||
FuseSearchTableComponent
|
FuseSearchTableComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseConfigServiceDocsComponent } from './config/config.component';
|
import { FuseConfigServiceDocsComponent } from './config/config.component';
|
||||||
import { FuseSplashScreenServiceDocsComponent } from './splash-screen/splash-screen.component';
|
import { FuseSplashScreenServiceDocsComponent } from './splash-screen/splash-screen.component';
|
||||||
|
@ -19,7 +19,7 @@ const routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
import { MatColors } from '@fuse/matColors';
|
import { MatColors } from '@fuse/mat-colors';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'fuse-colors',
|
selector : 'fuse-colors',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
import { FuseDemoModule } from '@fuse/components/demo/demo.module';
|
import { FuseDemoModule } from '@fuse/components/demo/demo.module';
|
||||||
|
|
||||||
import { FuseColorsComponent } from './colors.component';
|
import { FuseColorsComponent } from './colors.component';
|
||||||
|
@ -15,7 +15,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
FuseDemoModule
|
FuseDemoModule
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseFormsComponent } from './forms.component';
|
import { FuseFormsComponent } from './forms.component';
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { SharedModule } from '@fuse/modules/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseHelperClassesComponent } from './helper-classes.component';
|
import { FuseHelperClassesComponent } from './helper-classes.component';
|
||||||
import { FuseHelperClassesPaddingMarginComponent } from './tabs/padding-margin/padding-margin.component';
|
import { FuseHelperClassesPaddingMarginComponent } from './tabs/padding-margin/padding-margin.component';
|
||||||
|
@ -16,7 +16,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
FuseSharedModule,
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user