mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
put Fuse prefix to all components
This commit is contained in:
parent
0b2c506935
commit
723d9e110f
|
@ -41,7 +41,7 @@ export class FuseNavCollapseComponent implements OnInit
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whenever a navigaiton collapse item toggled
|
* Whenever a navigation collapse item toggled
|
||||||
*/
|
*/
|
||||||
this.navigationService.onNavCollapseToggled.subscribe(
|
this.navigationService.onNavCollapseToggled.subscribe(
|
||||||
(clickedItem) => {
|
(clickedItem) => {
|
||||||
|
|
|
@ -81,7 +81,7 @@ export class FuseUtils
|
||||||
return value.toLowerCase().includes(searchText);
|
return value.toLowerCase().includes(searchText);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static genearateGUID()
|
public static generateGUID()
|
||||||
{
|
{
|
||||||
function S4()
|
function S4()
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { startOfDay, endOfDay, subDays, addDays, endOfMonth, isSameDay, isSameMo
|
||||||
import { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation } from '@angular/core';
|
import { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation } from '@angular/core';
|
||||||
import { Subject } from 'rxjs/Subject';
|
import { Subject } from 'rxjs/Subject';
|
||||||
import { MdDialog, MdDialogRef } from '@angular/material';
|
import { MdDialog, MdDialogRef } from '@angular/material';
|
||||||
import { EventFormDialogComponent } from './event-form/event-form.component';
|
import { FuseCalendarEventFormDialogComponent } from './event-form/event-form.component';
|
||||||
import { FormGroup } from '@angular/forms';
|
import { FormGroup } from '@angular/forms';
|
||||||
import { CalendarEventModel } from './event.model';
|
import { CalendarEventModel } from './event.model';
|
||||||
import { CalendarService } from './calendar.service';
|
import { CalendarService } from './calendar.service';
|
||||||
|
@ -21,7 +21,7 @@ import { FuseConfirmDialogComponent } from '../../../../core/components/confirm-
|
||||||
styleUrls : ['./calendar.component.scss'],
|
styleUrls : ['./calendar.component.scss'],
|
||||||
encapsulation : ViewEncapsulation.None
|
encapsulation : ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
export class CalendarComponent implements OnInit
|
export class FuseCalendarComponent implements OnInit
|
||||||
{
|
{
|
||||||
view: string;
|
view: string;
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ export class CalendarComponent implements OnInit
|
||||||
{
|
{
|
||||||
const eventIndex = this.events.indexOf(event);
|
const eventIndex = this.events.indexOf(event);
|
||||||
|
|
||||||
this.dialogRef = this.dialog.open(EventFormDialogComponent, {
|
this.dialogRef = this.dialog.open(FuseCalendarEventFormDialogComponent, {
|
||||||
panelClass: 'event-form-dialog',
|
panelClass: 'event-form-dialog',
|
||||||
data : {
|
data : {
|
||||||
event : event,
|
event : event,
|
||||||
|
@ -243,7 +243,7 @@ export class CalendarComponent implements OnInit
|
||||||
*/
|
*/
|
||||||
addEvent(): void
|
addEvent(): void
|
||||||
{
|
{
|
||||||
this.dialogRef = this.dialog.open(EventFormDialogComponent, {
|
this.dialogRef = this.dialog.open(FuseCalendarEventFormDialogComponent, {
|
||||||
panelClass: 'event-form-dialog',
|
panelClass: 'event-form-dialog',
|
||||||
data : {
|
data : {
|
||||||
action: 'new',
|
action: 'new',
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { CalendarComponent } from './calendar.component';
|
import { FuseCalendarComponent } from './calendar.component';
|
||||||
import { CalendarService } from './calendar.service';
|
import { CalendarService } from './calendar.service';
|
||||||
import { CalendarModule } from 'angular-calendar';
|
import { CalendarModule } from 'angular-calendar';
|
||||||
import { EventFormDialogComponent } from './event-form/event-form.component';
|
import { FuseCalendarEventFormDialogComponent } from './event-form/event-form.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : '**',
|
path : '**',
|
||||||
component: CalendarComponent,
|
component: FuseCalendarComponent,
|
||||||
children : [],
|
children : [],
|
||||||
resolve : {
|
resolve : {
|
||||||
chat: CalendarService
|
chat: CalendarService
|
||||||
|
@ -24,13 +24,13 @@ const routes: Routes = [
|
||||||
CalendarModule.forRoot()
|
CalendarModule.forRoot()
|
||||||
],
|
],
|
||||||
declarations : [
|
declarations : [
|
||||||
CalendarComponent,
|
FuseCalendarComponent,
|
||||||
EventFormDialogComponent
|
FuseCalendarEventFormDialogComponent
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
CalendarService
|
CalendarService
|
||||||
],
|
],
|
||||||
entryComponents: [EventFormDialogComponent]
|
entryComponents: [FuseCalendarEventFormDialogComponent]
|
||||||
})
|
})
|
||||||
export class FuseCalendarModule
|
export class FuseCalendarModule
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,7 @@ import 'rxjs/Rx';
|
||||||
encapsulation: ViewEncapsulation.None
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
|
|
||||||
export class EventFormDialogComponent implements OnInit
|
export class FuseCalendarEventFormDialogComponent implements OnInit
|
||||||
{
|
{
|
||||||
event: CalendarEvent;
|
event: CalendarEvent;
|
||||||
dialogTitle: string;
|
dialogTitle: string;
|
||||||
|
@ -22,7 +22,7 @@ export class EventFormDialogComponent implements OnInit
|
||||||
presetColors = MatColors.presets;
|
presetColors = MatColors.presets;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
public dialogRef: MdDialogRef<EventFormDialogComponent>,
|
public dialogRef: MdDialogRef<FuseCalendarEventFormDialogComponent>,
|
||||||
@Inject(MD_DIALOG_DATA) private data: any,
|
@Inject(MD_DIALOG_DATA) private data: any,
|
||||||
private formBuilder: FormBuilder
|
private formBuilder: FormBuilder
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component, OnInit } from '@angular/core';
|
||||||
templateUrl: './chat-start.component.html',
|
templateUrl: './chat-start.component.html',
|
||||||
styleUrls : ['./chat-start.component.scss']
|
styleUrls : ['./chat-start.component.scss']
|
||||||
})
|
})
|
||||||
export class ChatStartComponent implements OnInit
|
export class FuseChatStartComponent implements OnInit
|
||||||
{
|
{
|
||||||
|
|
||||||
constructor()
|
constructor()
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { PerfectScrollbarDirective } from 'ngx-perfect-scrollbar';
|
||||||
templateUrl: './chat-view.component.html',
|
templateUrl: './chat-view.component.html',
|
||||||
styleUrls : ['./chat-view.component.scss']
|
styleUrls : ['./chat-view.component.scss']
|
||||||
})
|
})
|
||||||
export class ChatViewComponent implements OnInit, AfterViewInit
|
export class FuseChatViewComponent implements OnInit, AfterViewInit
|
||||||
{
|
{
|
||||||
user: any;
|
user: any;
|
||||||
chat: any;
|
chat: any;
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { ChatService } from './chat.service';
|
||||||
styleUrls : ['./chat.component.scss'],
|
styleUrls : ['./chat.component.scss'],
|
||||||
encapsulation: ViewEncapsulation.None
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
export class ChatComponent implements OnInit
|
export class FuseChatComponent implements OnInit
|
||||||
{
|
{
|
||||||
selectedChat: any;
|
selectedChat: any;
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { ChatComponent } from './chat.component';
|
import { FuseChatComponent } from './chat.component';
|
||||||
import { ChatService } from './chat.service';
|
import { ChatService } from './chat.service';
|
||||||
import { ChatViewComponent } from './chat-view/chat-view.component';
|
import { FuseChatViewComponent } from './chat-view/chat-view.component';
|
||||||
import { ChatStartComponent } from './chat-start/chat-start.component';
|
import { FuseChatStartComponent } from './chat-start/chat-start.component';
|
||||||
import { ChatsSidenavComponent } from './sidenavs/left/chats/chats.component';
|
import { FuseChatChatsSidenavComponent } from './sidenavs/left/chats/chats.component';
|
||||||
import { UserSidenavComponent } from './sidenavs/left/user/user.component';
|
import { FuseChatUserSidenavComponent } from './sidenavs/left/user/user.component';
|
||||||
import { LeftSidenavComponent } from './sidenavs/left/left.component';
|
import { FuseChatLeftSidenavComponent } from './sidenavs/left/left.component';
|
||||||
import { RightSidenavComponent } from './sidenavs/right/right.component';
|
import { FuseChatRightSidenavComponent } from './sidenavs/right/right.component';
|
||||||
import { ContactSidenavComponent } from './sidenavs/right/contact/contact.component';
|
import { FuseChatContactSidenavComponent } from './sidenavs/right/contact/contact.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : '**',
|
path : '**',
|
||||||
component: ChatComponent,
|
component: FuseChatComponent,
|
||||||
children : [],
|
children : [],
|
||||||
resolve : {
|
resolve : {
|
||||||
chat: ChatService
|
chat: ChatService
|
||||||
|
@ -28,14 +28,14 @@ const routes: Routes = [
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
ChatComponent,
|
FuseChatComponent,
|
||||||
ChatViewComponent,
|
FuseChatViewComponent,
|
||||||
ChatStartComponent,
|
FuseChatStartComponent,
|
||||||
ChatsSidenavComponent,
|
FuseChatChatsSidenavComponent,
|
||||||
UserSidenavComponent,
|
FuseChatUserSidenavComponent,
|
||||||
LeftSidenavComponent,
|
FuseChatLeftSidenavComponent,
|
||||||
RightSidenavComponent,
|
FuseChatRightSidenavComponent,
|
||||||
ContactSidenavComponent
|
FuseChatContactSidenavComponent
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
ChatService
|
ChatService
|
||||||
|
|
|
@ -81,7 +81,7 @@ export class ChatService implements Resolve<any>
|
||||||
return item.id === contactId;
|
return item.id === contactId;
|
||||||
});
|
});
|
||||||
|
|
||||||
const chatId = FuseUtils.genearateGUID();
|
const chatId = FuseUtils.generateGUID();
|
||||||
|
|
||||||
const chat = {
|
const chat = {
|
||||||
id : chatId,
|
id : chatId,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { ObservableMedia } from '@angular/flex-layout';
|
||||||
templateUrl: './chats.component.html',
|
templateUrl: './chats.component.html',
|
||||||
styleUrls : ['./chats.component.scss']
|
styleUrls : ['./chats.component.scss']
|
||||||
})
|
})
|
||||||
export class ChatsSidenavComponent implements OnInit
|
export class FuseChatChatsSidenavComponent implements OnInit
|
||||||
{
|
{
|
||||||
user: any;
|
user: any;
|
||||||
chats: any[];
|
chats: any[];
|
||||||
|
@ -64,6 +64,6 @@ export class ChatsSidenavComponent implements OnInit
|
||||||
|
|
||||||
logout()
|
logout()
|
||||||
{
|
{
|
||||||
console.info('logout triggered');
|
console.log('logout triggered');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { ChatService } from '../../chat.service';
|
||||||
styleUrls : ['./left.component.scss'],
|
styleUrls : ['./left.component.scss'],
|
||||||
animations : [Animations.slideInLeft, Animations.slideInRight]
|
animations : [Animations.slideInLeft, Animations.slideInRight]
|
||||||
})
|
})
|
||||||
export class LeftSidenavComponent implements OnInit
|
export class FuseChatLeftSidenavComponent implements OnInit
|
||||||
{
|
{
|
||||||
view: string;
|
view: string;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import 'rxjs/Rx';
|
||||||
templateUrl: './user.component.html',
|
templateUrl: './user.component.html',
|
||||||
styleUrls : ['./user.component.scss']
|
styleUrls : ['./user.component.scss']
|
||||||
})
|
})
|
||||||
export class UserSidenavComponent implements OnInit, OnDestroy
|
export class FuseChatUserSidenavComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
user: any;
|
user: any;
|
||||||
onFormChange: any;
|
onFormChange: any;
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { ChatService } from '../../../chat.service';
|
||||||
templateUrl: './contact.component.html',
|
templateUrl: './contact.component.html',
|
||||||
styleUrls : ['./contact.component.scss']
|
styleUrls : ['./contact.component.scss']
|
||||||
})
|
})
|
||||||
export class ContactSidenavComponent implements OnInit
|
export class FuseChatContactSidenavComponent implements OnInit
|
||||||
{
|
{
|
||||||
contact: any;
|
contact: any;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { ChatService } from '../../chat.service';
|
||||||
styleUrls : ['./right.component.scss'],
|
styleUrls : ['./right.component.scss'],
|
||||||
animations : [Animations.slideInLeft, Animations.slideInRight]
|
animations : [Animations.slideInLeft, Animations.slideInRight]
|
||||||
})
|
})
|
||||||
export class RightSidenavComponent implements OnInit
|
export class FuseChatRightSidenavComponent implements OnInit
|
||||||
{
|
{
|
||||||
view: string;
|
view: string;
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ import { Contact } from '../contact.model';
|
||||||
encapsulation: ViewEncapsulation.None
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
|
|
||||||
export class ContactFormDialogComponent implements OnInit
|
export class FuseContactsContactFormDialogComponent implements OnInit
|
||||||
{
|
{
|
||||||
event: CalendarEvent;
|
event: CalendarEvent;
|
||||||
dialogTitle: string;
|
dialogTitle: string;
|
||||||
|
@ -21,7 +21,7 @@ export class ContactFormDialogComponent implements OnInit
|
||||||
contact: Contact;
|
contact: Contact;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
public dialogRef: MdDialogRef<ContactFormDialogComponent>,
|
public dialogRef: MdDialogRef<FuseContactsContactFormDialogComponent>,
|
||||||
@Inject(MD_DIALOG_DATA) private data: any,
|
@Inject(MD_DIALOG_DATA) private data: any,
|
||||||
private formBuilder: FormBuilder
|
private formBuilder: FormBuilder
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { Component, OnInit, TemplateRef, ViewChild } from '@angular/core';
|
||||||
import { ContactsService } from '../contacts.service';
|
import { ContactsService } from '../contacts.service';
|
||||||
import { DataSource } from '@angular/cdk';
|
import { DataSource } from '@angular/cdk';
|
||||||
import { Observable } from 'rxjs/Observable';
|
import { Observable } from 'rxjs/Observable';
|
||||||
import { ContactFormDialogComponent } from '../contact-form/contact-form.component';
|
import { FuseContactsContactFormDialogComponent } from '../contact-form/contact-form.component';
|
||||||
import { MdDialog, MdDialogRef } from '@angular/material';
|
import { MdDialog, MdDialogRef } from '@angular/material';
|
||||||
import { FuseConfirmDialogComponent } from '../../../../../core/components/confirm-dialog/confirm-dialog.component';
|
import { FuseConfirmDialogComponent } from '../../../../../core/components/confirm-dialog/confirm-dialog.component';
|
||||||
import { FormGroup } from '@angular/forms';
|
import { FormGroup } from '@angular/forms';
|
||||||
|
@ -12,7 +12,7 @@ import { FormGroup } from '@angular/forms';
|
||||||
templateUrl: './contact-list.component.html',
|
templateUrl: './contact-list.component.html',
|
||||||
styleUrls : ['./contact-list.component.scss']
|
styleUrls : ['./contact-list.component.scss']
|
||||||
})
|
})
|
||||||
export class ContactListComponent implements OnInit
|
export class FuseContactsContactListComponent implements OnInit
|
||||||
{
|
{
|
||||||
@ViewChild('dialogContent') dialogContent: TemplateRef<any>;
|
@ViewChild('dialogContent') dialogContent: TemplateRef<any>;
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ export class ContactListComponent implements OnInit
|
||||||
|
|
||||||
newContact()
|
newContact()
|
||||||
{
|
{
|
||||||
this.dialogRef = this.dialog.open(ContactFormDialogComponent, {
|
this.dialogRef = this.dialog.open(FuseContactsContactFormDialogComponent, {
|
||||||
panelClass: 'contact-form-dialog',
|
panelClass: 'contact-form-dialog',
|
||||||
data : {
|
data : {
|
||||||
action: 'new'
|
action: 'new'
|
||||||
|
@ -85,7 +85,7 @@ export class ContactListComponent implements OnInit
|
||||||
|
|
||||||
editContact(contact)
|
editContact(contact)
|
||||||
{
|
{
|
||||||
this.dialogRef = this.dialog.open(ContactFormDialogComponent, {
|
this.dialogRef = this.dialog.open(FuseContactsContactFormDialogComponent, {
|
||||||
panelClass: 'contact-form-dialog',
|
panelClass: 'contact-form-dialog',
|
||||||
data : {
|
data : {
|
||||||
contact: contact,
|
contact: contact,
|
||||||
|
|
|
@ -18,7 +18,7 @@ export class Contact
|
||||||
constructor(contact)
|
constructor(contact)
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
this.id = contact.id || FuseUtils.genearateGUID();
|
this.id = contact.id || FuseUtils.generateGUID();
|
||||||
this.name = contact.name || '';
|
this.name = contact.name || '';
|
||||||
this.lastName = contact.lastName || '';
|
this.lastName = contact.lastName || '';
|
||||||
this.avatar = contact.avatar || 'assets/images/avatars/profile.jpg';
|
this.avatar = contact.avatar || 'assets/images/avatars/profile.jpg';
|
||||||
|
|
|
@ -10,7 +10,7 @@ import { FormControl } from '@angular/forms';
|
||||||
encapsulation: ViewEncapsulation.None,
|
encapsulation: ViewEncapsulation.None,
|
||||||
animations : [Animations.slideInTop]
|
animations : [Animations.slideInTop]
|
||||||
})
|
})
|
||||||
export class ContactsComponent implements OnInit
|
export class FuseContactsComponent implements OnInit
|
||||||
{
|
{
|
||||||
hasSelectedContacts: boolean;
|
hasSelectedContacts: boolean;
|
||||||
searchInput: FormControl;
|
searchInput: FormControl;
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { MainSidenavComponent } from './sidenavs/main/main.component';
|
import { FuseContactsMainSidenavComponent } from './sidenavs/main/main.component';
|
||||||
import { ContactsComponent } from './contacts.component';
|
import { FuseContactsComponent } from './contacts.component';
|
||||||
import { ContactsService } from './contacts.service';
|
import { ContactsService } from './contacts.service';
|
||||||
import { ContactListComponent } from './contact-list/contact-list.component';
|
import { FuseContactsContactListComponent } from './contact-list/contact-list.component';
|
||||||
import { SelectedBarComponent } from './selected-bar/selected-bar.component';
|
import { FuseContactsSelectedBarComponent } from './selected-bar/selected-bar.component';
|
||||||
import { ContactFormDialogComponent } from './contact-form/contact-form.component';
|
import { FuseContactsContactFormDialogComponent } from './contact-form/contact-form.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : '**',
|
path : '**',
|
||||||
component: ContactsComponent,
|
component: FuseContactsComponent,
|
||||||
children : [],
|
children : [],
|
||||||
resolve : {
|
resolve : {
|
||||||
contacts: ContactsService
|
contacts: ContactsService
|
||||||
|
@ -25,16 +25,16 @@ const routes: Routes = [
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations : [
|
declarations : [
|
||||||
ContactsComponent,
|
FuseContactsComponent,
|
||||||
ContactListComponent,
|
FuseContactsContactListComponent,
|
||||||
SelectedBarComponent,
|
FuseContactsSelectedBarComponent,
|
||||||
MainSidenavComponent,
|
FuseContactsMainSidenavComponent,
|
||||||
ContactFormDialogComponent
|
FuseContactsContactFormDialogComponent
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
ContactsService
|
ContactsService
|
||||||
],
|
],
|
||||||
entryComponents: [ContactFormDialogComponent]
|
entryComponents: [FuseContactsContactFormDialogComponent]
|
||||||
})
|
})
|
||||||
export class FuseContactsModule
|
export class FuseContactsModule
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { FuseConfirmDialogComponent } from '../../../../../core/components/confi
|
||||||
templateUrl: './selected-bar.component.html',
|
templateUrl: './selected-bar.component.html',
|
||||||
styleUrls : ['./selected-bar.component.scss']
|
styleUrls : ['./selected-bar.component.scss']
|
||||||
})
|
})
|
||||||
export class SelectedBarComponent implements OnInit
|
export class FuseContactsSelectedBarComponent implements OnInit
|
||||||
{
|
{
|
||||||
selectedContacts: string[];
|
selectedContacts: string[];
|
||||||
hasSelectedContacts: boolean;
|
hasSelectedContacts: boolean;
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { ContactsService } from '../../contacts.service';
|
||||||
templateUrl: './main.component.html',
|
templateUrl: './main.component.html',
|
||||||
styleUrls : ['./main.component.scss']
|
styleUrls : ['./main.component.scss']
|
||||||
})
|
})
|
||||||
export class MainSidenavComponent implements OnInit
|
export class FuseContactsMainSidenavComponent implements OnInit
|
||||||
{
|
{
|
||||||
user: any;
|
user: any;
|
||||||
filterBy: string;
|
filterBy: string;
|
||||||
|
|
|
@ -11,7 +11,7 @@ import { DataSource } from '@angular/cdk';
|
||||||
styleUrls : ['./project.component.scss'],
|
styleUrls : ['./project.component.scss'],
|
||||||
encapsulation: ViewEncapsulation.None
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
export class ProjectComponent implements OnInit, OnDestroy
|
export class FuseProjectComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
projects: any[];
|
projects: any[];
|
||||||
selectedProject: any;
|
selectedProject: any;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { ProjectComponent } from './project.component';
|
import { FuseProjectComponent } from './project.component';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { ProjectsDashboardService } from './projects.service';
|
import { ProjectsDashboardService } from './projects.service';
|
||||||
import { FuseWidgetModule } from '../../../../../core/components/widget/widget.module';
|
import { FuseWidgetModule } from '../../../../../core/components/widget/widget.module';
|
||||||
|
@ -9,7 +9,7 @@ import { NgxChartsModule } from '@swimlane/ngx-charts';
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : 'apps/dashboards/project',
|
path : 'apps/dashboards/project',
|
||||||
component: ProjectComponent,
|
component: FuseProjectComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
data: ProjectsDashboardService
|
data: ProjectsDashboardService
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ const routes: Routes = [
|
||||||
NgxChartsModule
|
NgxChartsModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
ProjectComponent
|
FuseProjectComponent
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
ProjectsDashboardService
|
ProjectsDashboardService
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { Observable } from 'rxjs/Observable';
|
||||||
templateUrl: './file-list.component.html',
|
templateUrl: './file-list.component.html',
|
||||||
styleUrls : ['./file-list.component.scss']
|
styleUrls : ['./file-list.component.scss']
|
||||||
})
|
})
|
||||||
export class FileListComponent implements OnInit
|
export class FuseFileManagerFileListComponent implements OnInit
|
||||||
{
|
{
|
||||||
files: any;
|
files: any;
|
||||||
dataSource: FilesDataSource | null;
|
dataSource: FilesDataSource | null;
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { FileManagerService } from './file-manager.service';
|
||||||
styleUrls : ['./file-manager.component.scss'],
|
styleUrls : ['./file-manager.component.scss'],
|
||||||
encapsulation: ViewEncapsulation.None
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
export class FileManagerComponent implements OnInit
|
export class FuseFileManagerComponent implements OnInit
|
||||||
{
|
{
|
||||||
|
|
||||||
selected: any;
|
selected: any;
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { FileManagerComponent } from './file-manager.component';
|
import { FuseFileManagerComponent } from './file-manager.component';
|
||||||
import { FileManagerService } from './file-manager.service';
|
import { FileManagerService } from './file-manager.service';
|
||||||
import { FileListComponent } from './file-list/file-list.component';
|
import { FuseFileManagerFileListComponent } from './file-list/file-list.component';
|
||||||
import { MainSidenavComponent } from './sidenavs/main/main.component';
|
import { FuseFileManagerMainSidenavComponent } from './sidenavs/main/main.component';
|
||||||
import { DetailsSidenavComponent } from './sidenavs/details/details.component';
|
import { FuseFileManagerDetailsSidenavComponent } from './sidenavs/details/details.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : '**',
|
path : '**',
|
||||||
component: FileManagerComponent,
|
component: FuseFileManagerComponent,
|
||||||
children : [],
|
children : [],
|
||||||
resolve : {
|
resolve : {
|
||||||
files: FileManagerService
|
files: FileManagerService
|
||||||
|
@ -24,10 +24,10 @@ const routes: Routes = [
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
FileManagerComponent,
|
FuseFileManagerComponent,
|
||||||
FileListComponent,
|
FuseFileManagerFileListComponent,
|
||||||
MainSidenavComponent,
|
FuseFileManagerMainSidenavComponent,
|
||||||
DetailsSidenavComponent
|
FuseFileManagerDetailsSidenavComponent
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
FileManagerService
|
FileManagerService
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { FileManagerService } from '../../file-manager.service';
|
||||||
templateUrl: './details.component.html',
|
templateUrl: './details.component.html',
|
||||||
styleUrls : ['./details.component.scss']
|
styleUrls : ['./details.component.scss']
|
||||||
})
|
})
|
||||||
export class DetailsSidenavComponent implements OnInit
|
export class FuseFileManagerDetailsSidenavComponent implements OnInit
|
||||||
{
|
{
|
||||||
|
|
||||||
selected: any;
|
selected: any;
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component, OnInit } from '@angular/core';
|
||||||
templateUrl: './main.component.html',
|
templateUrl: './main.component.html',
|
||||||
styleUrls : ['./main.component.scss']
|
styleUrls : ['./main.component.scss']
|
||||||
})
|
})
|
||||||
export class MainSidenavComponent implements OnInit
|
export class FuseFileManagerMainSidenavComponent implements OnInit
|
||||||
{
|
{
|
||||||
selected: any;
|
selected: any;
|
||||||
|
|
||||||
|
|
|
@ -8,12 +8,12 @@ import { FormControl, FormGroup } from '@angular/forms';
|
||||||
styleUrls : ['./compose.component.scss'],
|
styleUrls : ['./compose.component.scss'],
|
||||||
encapsulation: ViewEncapsulation.None
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
export class MailComposeDialogComponent implements OnInit
|
export class FuseMailComposeDialogComponent implements OnInit
|
||||||
{
|
{
|
||||||
composeForm: FormGroup;
|
composeForm: FormGroup;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
public dialogRef: MdDialogRef<MailComposeDialogComponent>,
|
public dialogRef: MdDialogRef<FuseMailComposeDialogComponent>,
|
||||||
@Inject(MD_DIALOG_DATA) private data: any
|
@Inject(MD_DIALOG_DATA) private data: any
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { Subscription } from 'rxjs/Subscription';
|
||||||
templateUrl: './mail-details.component.html',
|
templateUrl: './mail-details.component.html',
|
||||||
styleUrls : ['./mail-details.component.scss']
|
styleUrls : ['./mail-details.component.scss']
|
||||||
})
|
})
|
||||||
export class MailDetailsComponent implements OnInit, OnDestroy
|
export class FuseMailDetailsComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
mail: Mail;
|
mail: Mail;
|
||||||
labels: any[];
|
labels: any[];
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { Subscription } from 'rxjs/Subscription';
|
||||||
templateUrl: './mail-list-item.component.html',
|
templateUrl: './mail-list-item.component.html',
|
||||||
styleUrls : ['./mail-list-item.component.scss']
|
styleUrls : ['./mail-list-item.component.scss']
|
||||||
})
|
})
|
||||||
export class MailListItemComponent implements OnInit, OnDestroy
|
export class FuseMailListItemComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
@Input() mail: Mail;
|
@Input() mail: Mail;
|
||||||
labels: any[];
|
labels: any[];
|
||||||
|
|
|
@ -10,7 +10,7 @@ import { Subscription } from 'rxjs/Subscription';
|
||||||
templateUrl: './mail-list.component.html',
|
templateUrl: './mail-list.component.html',
|
||||||
styleUrls : ['./mail-list.component.scss']
|
styleUrls : ['./mail-list.component.scss']
|
||||||
})
|
})
|
||||||
export class MailListComponent implements OnInit, OnDestroy
|
export class FuseMailListComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
mails: Mail[];
|
mails: Mail[];
|
||||||
currentMail: Mail;
|
currentMail: Mail;
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { Mail } from './mail.model';
|
||||||
templateUrl: './mail.component.html',
|
templateUrl: './mail.component.html',
|
||||||
styleUrls : ['./mail.component.scss']
|
styleUrls : ['./mail.component.scss']
|
||||||
})
|
})
|
||||||
export class MailComponent implements OnInit, OnDestroy
|
export class FuseMailComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
hasSelectedMails: boolean;
|
hasSelectedMails: boolean;
|
||||||
isIndeterminate: boolean;
|
isIndeterminate: boolean;
|
||||||
|
|
|
@ -1,53 +1,53 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { MailComponent } from './mail.component';
|
import { FuseMailComponent } from './mail.component';
|
||||||
import { MainSidenavComponent } from './sidenavs/main/main-sidenav.component';
|
import { FuseMailMainSidenavComponent } from './sidenavs/main/main-sidenav.component';
|
||||||
import { MailListItemComponent } from './mail-list/mail-list-item/mail-list-item.component';
|
import { FuseMailListItemComponent } from './mail-list/mail-list-item/mail-list-item.component';
|
||||||
import { MailListComponent } from './mail-list/mail-list.component';
|
import { FuseMailListComponent } from './mail-list/mail-list.component';
|
||||||
import { MailDetailsComponent } from './mail-details/mail-details.component';
|
import { FuseMailDetailsComponent } from './mail-details/mail-details.component';
|
||||||
import { MailService } from './mail.service';
|
import { MailService } from './mail.service';
|
||||||
import { MailComposeDialogComponent } from './dialogs/compose/compose.component';
|
import { FuseMailComposeDialogComponent } from './dialogs/compose/compose.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : 'label/:labelHandle',
|
path : 'label/:labelHandle',
|
||||||
component: MailComponent,
|
component: FuseMailComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
mail: MailService
|
mail: MailService
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'label/:labelHandle/:mailId',
|
path : 'label/:labelHandle/:mailId',
|
||||||
component: MailComponent,
|
component: FuseMailComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
mail: MailService
|
mail: MailService
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'filter/:filterHandle',
|
path : 'filter/:filterHandle',
|
||||||
component: MailComponent,
|
component: FuseMailComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
mail: MailService
|
mail: MailService
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'filter/:filterHandle/:mailId',
|
path : 'filter/:filterHandle/:mailId',
|
||||||
component: MailComponent,
|
component: FuseMailComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
mail: MailService
|
mail: MailService
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : ':folderHandle',
|
path : ':folderHandle',
|
||||||
component: MailComponent,
|
component: FuseMailComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
mail: MailService
|
mail: MailService
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : ':folderHandle/:mailId',
|
path : ':folderHandle/:mailId',
|
||||||
component: MailComponent,
|
component: FuseMailComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
mail: MailService
|
mail: MailService
|
||||||
}
|
}
|
||||||
|
@ -60,12 +60,12 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations : [
|
declarations : [
|
||||||
MailComponent,
|
FuseMailComponent,
|
||||||
MailListComponent,
|
FuseMailListComponent,
|
||||||
MailListItemComponent,
|
FuseMailListItemComponent,
|
||||||
MailDetailsComponent,
|
FuseMailDetailsComponent,
|
||||||
MainSidenavComponent,
|
FuseMailMainSidenavComponent,
|
||||||
MailComposeDialogComponent
|
FuseMailComposeDialogComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
@ -74,7 +74,7 @@ const routes: Routes = [
|
||||||
providers : [
|
providers : [
|
||||||
MailService
|
MailService
|
||||||
],
|
],
|
||||||
entryComponents: [MailComposeDialogComponent]
|
entryComponents: [FuseMailComposeDialogComponent]
|
||||||
})
|
})
|
||||||
export class FuseMailModule
|
export class FuseMailModule
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { Component, OnDestroy, OnInit } from '@angular/core';
|
import { Component, OnDestroy, OnInit } from '@angular/core';
|
||||||
import { MailService } from '../../mail.service';
|
import { MailService } from '../../mail.service';
|
||||||
import { Subscription } from 'rxjs/Subscription';
|
import { Subscription } from 'rxjs/Subscription';
|
||||||
import { MailComposeDialogComponent } from '../../dialogs/compose/compose.component';
|
import { FuseMailComposeDialogComponent } from '../../dialogs/compose/compose.component';
|
||||||
import { MdDialog } from '@angular/material';
|
import { MdDialog } from '@angular/material';
|
||||||
import { FormGroup } from '@angular/forms';
|
import { FormGroup } from '@angular/forms';
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ import { FormGroup } from '@angular/forms';
|
||||||
templateUrl: './main-sidenav.component.html',
|
templateUrl: './main-sidenav.component.html',
|
||||||
styleUrls : ['./main-sidenav.component.scss']
|
styleUrls : ['./main-sidenav.component.scss']
|
||||||
})
|
})
|
||||||
export class MainSidenavComponent implements OnInit, OnDestroy
|
export class FuseMailMainSidenavComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
folders: any[];
|
folders: any[];
|
||||||
filters: any[];
|
filters: any[];
|
||||||
|
@ -60,7 +60,7 @@ export class MainSidenavComponent implements OnInit, OnDestroy
|
||||||
|
|
||||||
composeDialog()
|
composeDialog()
|
||||||
{
|
{
|
||||||
this.dialogRef = this.dialog.open(MailComposeDialogComponent, {
|
this.dialogRef = this.dialog.open(FuseMailComposeDialogComponent, {
|
||||||
panelClass: 'mail-compose-dialog'
|
panelClass: 'mail-compose-dialog'
|
||||||
});
|
});
|
||||||
this.dialogRef.afterClosed()
|
this.dialogRef.afterClosed()
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { Router } from '@angular/router';
|
||||||
templateUrl: './main-sidenav.component.html',
|
templateUrl: './main-sidenav.component.html',
|
||||||
styleUrls : ['./main-sidenav.component.scss']
|
styleUrls : ['./main-sidenav.component.scss']
|
||||||
})
|
})
|
||||||
export class MainSidenavComponent implements OnInit, OnDestroy
|
export class FuseTodoMainSidenavComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
folders: any[];
|
folders: any[];
|
||||||
filters: any[];
|
filters: any[];
|
||||||
|
|
|
@ -10,7 +10,7 @@ import { FuseUtils } from '../../../../../core/fuseUtils';
|
||||||
templateUrl: './todo-details.component.html',
|
templateUrl: './todo-details.component.html',
|
||||||
styleUrls : ['./todo-details.component.scss']
|
styleUrls : ['./todo-details.component.scss']
|
||||||
})
|
})
|
||||||
export class TodoDetailsComponent implements OnInit, OnDestroy
|
export class FuseTodoDetailsComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
todo: Todo;
|
todo: Todo;
|
||||||
tags: any[];
|
tags: any[];
|
||||||
|
@ -66,7 +66,7 @@ export class TodoDetailsComponent implements OnInit, OnDestroy
|
||||||
this.onNewTodoClicked = this.todoService.onNewTodoClicked
|
this.onNewTodoClicked = this.todoService.onNewTodoClicked
|
||||||
.subscribe(() => {
|
.subscribe(() => {
|
||||||
this.todo = new Todo({});
|
this.todo = new Todo({});
|
||||||
this.todo.id = FuseUtils.genearateGUID();
|
this.todo.id = FuseUtils.generateGUID();
|
||||||
this.formType = 'new';
|
this.formType = 'new';
|
||||||
this.todoForm = this.createTodoForm();
|
this.todoForm = this.createTodoForm();
|
||||||
this.focusTitleField();
|
this.focusTitleField();
|
||||||
|
|
|
@ -10,7 +10,7 @@ import { ActivatedRoute } from '@angular/router';
|
||||||
styleUrls : ['./todo-list-item.component.scss'],
|
styleUrls : ['./todo-list-item.component.scss'],
|
||||||
encapsulation: ViewEncapsulation.None
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
export class TodoListItemComponent implements OnInit, OnDestroy
|
export class FuseTodoListItemComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
@Input() todo: Todo;
|
@Input() todo: Todo;
|
||||||
tags: any[];
|
tags: any[];
|
||||||
|
|
|
@ -10,7 +10,7 @@ import { Subscription } from 'rxjs/Subscription';
|
||||||
templateUrl: './todo-list.component.html',
|
templateUrl: './todo-list.component.html',
|
||||||
styleUrls : ['./todo-list.component.scss']
|
styleUrls : ['./todo-list.component.scss']
|
||||||
})
|
})
|
||||||
export class TodoListComponent implements OnInit, OnDestroy
|
export class FuseTodoListComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
todos: Todo[];
|
todos: Todo[];
|
||||||
currentTodo: Todo;
|
currentTodo: Todo;
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { Todo } from './todo.model';
|
||||||
templateUrl: './todo.component.html',
|
templateUrl: './todo.component.html',
|
||||||
styleUrls : ['./todo.component.scss']
|
styleUrls : ['./todo.component.scss']
|
||||||
})
|
})
|
||||||
export class TodoComponent implements OnInit, OnDestroy
|
export class FuseTodoComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
hasSelectedTodos: boolean;
|
hasSelectedTodos: boolean;
|
||||||
isIndeterminate: boolean;
|
isIndeterminate: boolean;
|
||||||
|
|
|
@ -1,52 +1,52 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { TodoComponent } from './todo.component';
|
import { FuseTodoComponent } from './todo.component';
|
||||||
import { TodoService } from './todo.service';
|
import { TodoService } from './todo.service';
|
||||||
import { MainSidenavComponent } from './sidenavs/main/main-sidenav.component';
|
import { FuseTodoMainSidenavComponent } from './sidenavs/main/main-sidenav.component';
|
||||||
import { TodoListItemComponent } from './todo-list/todo-list-item/todo-list-item.component';
|
import { FuseTodoListItemComponent } from './todo-list/todo-list-item/todo-list-item.component';
|
||||||
import { TodoListComponent } from './todo-list/todo-list.component';
|
import { FuseTodoListComponent } from './todo-list/todo-list.component';
|
||||||
import { TodoDetailsComponent } from './todo-details/todo-details.component';
|
import { FuseTodoDetailsComponent } from './todo-details/todo-details.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : 'all',
|
path : 'all',
|
||||||
component: TodoComponent,
|
component: FuseTodoComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
todo: TodoService
|
todo: TodoService
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'all/:todoId',
|
path : 'all/:todoId',
|
||||||
component: TodoComponent,
|
component: FuseTodoComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
todo: TodoService
|
todo: TodoService
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'tag/:tagHandle',
|
path : 'tag/:tagHandle',
|
||||||
component: TodoComponent,
|
component: FuseTodoComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
todo: TodoService
|
todo: TodoService
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'tag/:tagHandle/:todoId',
|
path : 'tag/:tagHandle/:todoId',
|
||||||
component: TodoComponent,
|
component: FuseTodoComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
todo: TodoService
|
todo: TodoService
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'filter/:filterHandle',
|
path : 'filter/:filterHandle',
|
||||||
component: TodoComponent,
|
component: FuseTodoComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
todo: TodoService
|
todo: TodoService
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'filter/:filterHandle/:todoId',
|
path : 'filter/:filterHandle/:todoId',
|
||||||
component: TodoComponent,
|
component: FuseTodoComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
todo: TodoService
|
todo: TodoService
|
||||||
}
|
}
|
||||||
|
@ -59,11 +59,11 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
TodoComponent,
|
FuseTodoComponent,
|
||||||
MainSidenavComponent,
|
FuseTodoMainSidenavComponent,
|
||||||
TodoListItemComponent,
|
FuseTodoListItemComponent,
|
||||||
TodoListComponent,
|
FuseTodoListComponent,
|
||||||
TodoDetailsComponent
|
FuseTodoDetailsComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../core/modules/shared.module';
|
import { SharedModule } from '../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
import { NgxDatatableComponent } from './datatable/ngx-datatable.component';
|
import { FuseNgxDatatableComponent } from './datatable/ngx-datatable.component';
|
||||||
import { FusePriceTablesComponent } from './price-tables/price-tables.component';
|
import { FusePriceTablesComponent } from './price-tables/price-tables.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'components/datatables/ngx-datatable',
|
path : 'components/datatables/ngx-datatable',
|
||||||
component: NgxDatatableComponent
|
component: FuseNgxDatatableComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'components/price-tables',
|
path : 'components/price-tables',
|
||||||
|
@ -21,7 +21,7 @@ const routes = [
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
NgxDatatableComponent,
|
FuseNgxDatatableComponent,
|
||||||
FusePriceTablesComponent
|
FusePriceTablesComponent
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { Http } from '@angular/http';
|
||||||
templateUrl: './ngx-datatable.component.html',
|
templateUrl: './ngx-datatable.component.html',
|
||||||
styleUrls : ['./ngx-datatable.component.scss']
|
styleUrls : ['./ngx-datatable.component.scss']
|
||||||
})
|
})
|
||||||
export class NgxDatatableComponent implements OnInit
|
export class FuseNgxDatatableComponent implements OnInit
|
||||||
{
|
{
|
||||||
rows: any[];
|
rows: any[];
|
||||||
loadingIndicator = true;
|
loadingIndicator = true;
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||||
templateUrl: './forgot-password.component.html',
|
templateUrl: './forgot-password.component.html',
|
||||||
styleUrls : ['./forgot-password.component.scss']
|
styleUrls : ['./forgot-password.component.scss']
|
||||||
})
|
})
|
||||||
export class ForgotPasswordComponent implements OnInit
|
export class FuseForgotPasswordComponent implements OnInit
|
||||||
{
|
{
|
||||||
forgotPasswordForm: FormGroup;
|
forgotPasswordForm: FormGroup;
|
||||||
forgotPasswordFormErrors: any;
|
forgotPasswordFormErrors: any;
|
||||||
|
|
|
@ -2,18 +2,18 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { ForgotPasswordComponent } from './forgot-password.component';
|
import { FuseForgotPasswordComponent } from './forgot-password.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/auth/forgot-password',
|
path : 'pages/auth/forgot-password',
|
||||||
component: ForgotPasswordComponent
|
component: FuseForgotPasswordComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
ForgotPasswordComponent
|
FuseForgotPasswordComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||||
templateUrl: './lock.component.html',
|
templateUrl: './lock.component.html',
|
||||||
styleUrls: ['./lock.component.scss']
|
styleUrls: ['./lock.component.scss']
|
||||||
})
|
})
|
||||||
export class LockComponent implements OnInit
|
export class FuseLockComponent implements OnInit
|
||||||
{
|
{
|
||||||
lockForm: FormGroup;
|
lockForm: FormGroup;
|
||||||
lockFormErrors: any;
|
lockFormErrors: any;
|
||||||
|
|
|
@ -2,18 +2,18 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { LockComponent } from './lock.component';
|
import { FuseLockComponent } from './lock.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/auth/lock',
|
path : 'pages/auth/lock',
|
||||||
component: LockComponent
|
component: FuseLockComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
LockComponent
|
FuseLockComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||||
templateUrl: './login-2.component.html',
|
templateUrl: './login-2.component.html',
|
||||||
styleUrls : ['./login-2.component.scss']
|
styleUrls : ['./login-2.component.scss']
|
||||||
})
|
})
|
||||||
export class Login2Component implements OnInit
|
export class FuseLogin2Component implements OnInit
|
||||||
{
|
{
|
||||||
loginForm: FormGroup;
|
loginForm: FormGroup;
|
||||||
loginFormErrors: any;
|
loginFormErrors: any;
|
||||||
|
|
|
@ -2,18 +2,18 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { Login2Component } from './login-2.component';
|
import { FuseLogin2Component } from './login-2.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/auth/login-2',
|
path : 'pages/auth/login-2',
|
||||||
component: Login2Component
|
component: FuseLogin2Component
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
Login2Component
|
FuseLogin2Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||||
templateUrl: './login.component.html',
|
templateUrl: './login.component.html',
|
||||||
styleUrls : ['./login.component.scss']
|
styleUrls : ['./login.component.scss']
|
||||||
})
|
})
|
||||||
export class LoginComponent implements OnInit
|
export class FuseLoginComponent implements OnInit
|
||||||
{
|
{
|
||||||
loginForm: FormGroup;
|
loginForm: FormGroup;
|
||||||
loginFormErrors: any;
|
loginFormErrors: any;
|
||||||
|
|
|
@ -2,18 +2,18 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { LoginComponent } from './login.component';
|
import { FuseLoginComponent } from './login.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/auth/login',
|
path : 'pages/auth/login',
|
||||||
component: LoginComponent
|
component: FuseLoginComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
LoginComponent
|
FuseLoginComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||||
templateUrl: './register-2.component.html',
|
templateUrl: './register-2.component.html',
|
||||||
styleUrls : ['./register-2.component.scss']
|
styleUrls : ['./register-2.component.scss']
|
||||||
})
|
})
|
||||||
export class Register2Component implements OnInit
|
export class FuseRegister2Component implements OnInit
|
||||||
{
|
{
|
||||||
registerForm: FormGroup;
|
registerForm: FormGroup;
|
||||||
registerFormErrors: any;
|
registerFormErrors: any;
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from "app/core/modules/shared.module";
|
import { SharedModule } from 'app/core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { Register2Component } from './register-2.component';
|
import { FuseRegister2Component } from './register-2.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/auth/register-2',
|
path : 'pages/auth/register-2',
|
||||||
component: Register2Component
|
component: FuseRegister2Component
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
Register2Component
|
FuseRegister2Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||||
templateUrl: './register.component.html',
|
templateUrl: './register.component.html',
|
||||||
styleUrls : ['./register.component.scss']
|
styleUrls : ['./register.component.scss']
|
||||||
})
|
})
|
||||||
export class RegisterComponent implements OnInit
|
export class FuseRegisterComponent implements OnInit
|
||||||
{
|
{
|
||||||
registerForm: FormGroup;
|
registerForm: FormGroup;
|
||||||
registerFormErrors: any;
|
registerFormErrors: any;
|
||||||
|
|
|
@ -2,18 +2,18 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { RegisterComponent } from './register.component';
|
import { FuseRegisterComponent } from './register.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/auth/register',
|
path : 'pages/auth/register',
|
||||||
component: RegisterComponent
|
component: FuseRegisterComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
RegisterComponent
|
FuseRegisterComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||||
templateUrl: './reset-password.component.html',
|
templateUrl: './reset-password.component.html',
|
||||||
styleUrls : ['./reset-password.component.scss']
|
styleUrls : ['./reset-password.component.scss']
|
||||||
})
|
})
|
||||||
export class ResetPasswordComponent implements OnInit
|
export class FuseResetPasswordComponent implements OnInit
|
||||||
{
|
{
|
||||||
resetPasswordForm: FormGroup;
|
resetPasswordForm: FormGroup;
|
||||||
resetPasswordFormErrors: any;
|
resetPasswordFormErrors: any;
|
||||||
|
|
|
@ -2,18 +2,18 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { ResetPasswordComponent } from './reset-password.component';
|
import { FuseResetPasswordComponent } from './reset-password.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/auth/reset-password',
|
path : 'pages/auth/reset-password',
|
||||||
component: ResetPasswordComponent
|
component: FuseResetPasswordComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
ResetPasswordComponent
|
FuseResetPasswordComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { FuseLayoutService } from '../../../../core/services/layout.service';
|
||||||
templateUrl: './coming-soon.component.html',
|
templateUrl: './coming-soon.component.html',
|
||||||
styleUrls : ['./coming-soon.component.scss']
|
styleUrls : ['./coming-soon.component.scss']
|
||||||
})
|
})
|
||||||
export class ComingSoonComponent implements OnInit
|
export class FuseComingSoonComponent implements OnInit
|
||||||
{
|
{
|
||||||
comingSoonForm: FormGroup;
|
comingSoonForm: FormGroup;
|
||||||
comingSoonFormErrors: any;
|
comingSoonFormErrors: any;
|
||||||
|
|
|
@ -2,18 +2,18 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { ComingSoonComponent } from './coming-soon.component';
|
import { FuseComingSoonComponent } from './coming-soon.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/coming-soon',
|
path : 'pages/coming-soon',
|
||||||
component: ComingSoonComponent
|
component: FuseComingSoonComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
ComingSoonComponent
|
FuseComingSoonComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { FuseLayoutService } from '../../../../../core/services/layout.service';
|
||||||
templateUrl: './error-404.component.html',
|
templateUrl: './error-404.component.html',
|
||||||
styleUrls : ['./error-404.component.scss']
|
styleUrls : ['./error-404.component.scss']
|
||||||
})
|
})
|
||||||
export class Error404Component implements OnInit
|
export class FuseError404Component implements OnInit
|
||||||
{
|
{
|
||||||
constructor(private layoutService: FuseLayoutService)
|
constructor(private layoutService: FuseLayoutService)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,18 +2,18 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { Error404Component } from './error-404.component';
|
import { FuseError404Component } from './error-404.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/errors/error-404',
|
path : 'pages/errors/error-404',
|
||||||
component: Error404Component
|
component: FuseError404Component
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
Error404Component
|
FuseError404Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { FuseLayoutService } from '../../../../../core/services/layout.service';
|
||||||
templateUrl: './error-500.component.html',
|
templateUrl: './error-500.component.html',
|
||||||
styleUrls : ['./error-500.component.scss']
|
styleUrls : ['./error-500.component.scss']
|
||||||
})
|
})
|
||||||
export class Error500Component implements OnInit
|
export class FuseError500Component implements OnInit
|
||||||
{
|
{
|
||||||
constructor(private layoutService: FuseLayoutService)
|
constructor(private layoutService: FuseLayoutService)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,18 +2,18 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { Error500Component } from './error-500.component';
|
import { FuseError500Component } from './error-500.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/errors/error-500',
|
path : 'pages/errors/error-500',
|
||||||
component: Error500Component
|
component: FuseError500Component
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
Error500Component
|
FuseError500Component
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { InvoiceService } from '../invoice.service';
|
||||||
templateUrl: './compact.component.html',
|
templateUrl: './compact.component.html',
|
||||||
styleUrls : ['./compact.component.scss']
|
styleUrls : ['./compact.component.scss']
|
||||||
})
|
})
|
||||||
export class InvoiceCompactComponent
|
export class FuseInvoiceCompactComponent
|
||||||
{
|
{
|
||||||
invoice: any;
|
invoice: any;
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { InvoiceCompactComponent } from './compact.component';
|
import { FuseInvoiceCompactComponent } from './compact.component';
|
||||||
import { InvoiceService } from '../invoice.service';
|
import { InvoiceService } from '../invoice.service';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/invoices/compact',
|
path : 'pages/invoices/compact',
|
||||||
component: InvoiceCompactComponent,
|
component: FuseInvoiceCompactComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
search: InvoiceService
|
search: InvoiceService
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
InvoiceCompactComponent
|
FuseInvoiceCompactComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { InvoiceService } from '../invoice.service';
|
||||||
templateUrl: './modern.component.html',
|
templateUrl: './modern.component.html',
|
||||||
styleUrls : ['./modern.component.scss']
|
styleUrls : ['./modern.component.scss']
|
||||||
})
|
})
|
||||||
export class InvoiceModernComponent
|
export class FuseInvoiceModernComponent
|
||||||
{
|
{
|
||||||
invoice: any;
|
invoice: any;
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { InvoiceModernComponent } from './modern.component';
|
import { FuseInvoiceModernComponent } from './modern.component';
|
||||||
import { InvoiceService } from '../invoice.service';
|
import { InvoiceService } from '../invoice.service';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/invoices/modern',
|
path : 'pages/invoices/modern',
|
||||||
component: InvoiceModernComponent,
|
component: FuseInvoiceModernComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
search: InvoiceService
|
search: InvoiceService
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ const routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
InvoiceModernComponent
|
FuseInvoiceModernComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { FuseLayoutService } from '../../../../core/services/layout.service';
|
||||||
templateUrl: './maintenance.component.html',
|
templateUrl: './maintenance.component.html',
|
||||||
styleUrls : ['./maintenance.component.scss']
|
styleUrls : ['./maintenance.component.scss']
|
||||||
})
|
})
|
||||||
export class MaintenanceComponent implements OnInit
|
export class FuseMaintenanceComponent implements OnInit
|
||||||
{
|
{
|
||||||
constructor(private layoutService: FuseLayoutService)
|
constructor(private layoutService: FuseLayoutService)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,18 +2,18 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { MaintenanceComponent } from './maintenance.component';
|
import { FuseMaintenanceComponent } from './maintenance.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/maintenance',
|
path : 'pages/maintenance',
|
||||||
component: MaintenanceComponent
|
component: FuseMaintenanceComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
MaintenanceComponent
|
FuseMaintenanceComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component, OnInit } from '@angular/core';
|
||||||
templateUrl: './profile.component.html',
|
templateUrl: './profile.component.html',
|
||||||
styleUrls : ['./profile.component.scss']
|
styleUrls : ['./profile.component.scss']
|
||||||
})
|
})
|
||||||
export class ProfileComponent implements OnInit
|
export class FuseProfileComponent implements OnInit
|
||||||
{
|
{
|
||||||
|
|
||||||
constructor()
|
constructor()
|
||||||
|
|
|
@ -2,16 +2,16 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { ProfileComponent } from './profile.component';
|
import { FuseProfileComponent } from './profile.component';
|
||||||
import { ProfileTimelineComponent } from './tabs/timeline/timeline.component';
|
import { FuseProfileTimelineComponent } from './tabs/timeline/timeline.component';
|
||||||
import { ProfileAboutComponent } from './tabs/about/about.component';
|
import { FuseProfileAboutComponent } from './tabs/about/about.component';
|
||||||
import { ProfilePhotosVideosComponent } from './tabs/photos-videos/photos-videos.component';
|
import { FuseProfilePhotosVideosComponent } from './tabs/photos-videos/photos-videos.component';
|
||||||
import { ProfileService } from './profile.service';
|
import { ProfileService } from './profile.service';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/profile',
|
path : 'pages/profile',
|
||||||
component: ProfileComponent,
|
component: FuseProfileComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
profile: ProfileService
|
profile: ProfileService
|
||||||
}
|
}
|
||||||
|
@ -20,10 +20,10 @@ const routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
ProfileComponent,
|
FuseProfileComponent,
|
||||||
ProfileTimelineComponent,
|
FuseProfileTimelineComponent,
|
||||||
ProfileAboutComponent,
|
FuseProfileAboutComponent,
|
||||||
ProfilePhotosVideosComponent
|
FuseProfilePhotosVideosComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { ProfileService } from '../../profile.service';
|
||||||
templateUrl: './about.component.html',
|
templateUrl: './about.component.html',
|
||||||
styleUrls : ['./about.component.scss']
|
styleUrls : ['./about.component.scss']
|
||||||
})
|
})
|
||||||
export class ProfileAboutComponent implements OnInit
|
export class FuseProfileAboutComponent implements OnInit
|
||||||
{
|
{
|
||||||
about: any;
|
about: any;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { ProfileService } from '../../profile.service';
|
||||||
templateUrl: './photos-videos.component.html',
|
templateUrl: './photos-videos.component.html',
|
||||||
styleUrls : ['./photos-videos.component.scss']
|
styleUrls : ['./photos-videos.component.scss']
|
||||||
})
|
})
|
||||||
export class ProfilePhotosVideosComponent implements OnInit
|
export class FuseProfilePhotosVideosComponent implements OnInit
|
||||||
{
|
{
|
||||||
photosVideos: any;
|
photosVideos: any;
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { ProfileService } from '../../profile.service';
|
||||||
templateUrl: './timeline.component.html',
|
templateUrl: './timeline.component.html',
|
||||||
styleUrls : ['./timeline.component.scss']
|
styleUrls : ['./timeline.component.scss']
|
||||||
})
|
})
|
||||||
export class ProfileTimelineComponent implements OnInit
|
export class FuseProfileTimelineComponent implements OnInit
|
||||||
{
|
{
|
||||||
timeline: any;
|
timeline: any;
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component, OnInit } from '@angular/core';
|
||||||
templateUrl: './search.component.html',
|
templateUrl: './search.component.html',
|
||||||
styleUrls : ['./search.component.scss']
|
styleUrls : ['./search.component.scss']
|
||||||
})
|
})
|
||||||
export class SearchComponent implements OnInit
|
export class FuseSearchComponent implements OnInit
|
||||||
{
|
{
|
||||||
|
|
||||||
constructor()
|
constructor()
|
||||||
|
|
|
@ -2,15 +2,15 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
import { SearchClassicComponent } from './tabs/classic/classic.component';
|
import { FuseSearchClassicComponent } from './tabs/classic/classic.component';
|
||||||
import { SearchTableComponent } from './tabs/table/table.component';
|
import { FuseSearchTableComponent } from './tabs/table/table.component';
|
||||||
import { SearchComponent } from './search.component';
|
import { FuseSearchComponent } from './search.component';
|
||||||
import { SearchService } from './search.service';
|
import { SearchService } from './search.service';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'pages/search',
|
path : 'pages/search',
|
||||||
component: SearchComponent,
|
component: FuseSearchComponent,
|
||||||
resolve : {
|
resolve : {
|
||||||
search: SearchService
|
search: SearchService
|
||||||
}
|
}
|
||||||
|
@ -19,9 +19,9 @@ const routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
SearchComponent,
|
FuseSearchComponent,
|
||||||
SearchClassicComponent,
|
FuseSearchClassicComponent,
|
||||||
SearchTableComponent
|
FuseSearchTableComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { SearchService } from '../../search.service';
|
||||||
templateUrl: './classic.component.html',
|
templateUrl: './classic.component.html',
|
||||||
styleUrls : ['./classic.component.scss']
|
styleUrls : ['./classic.component.scss']
|
||||||
})
|
})
|
||||||
export class SearchClassicComponent implements OnInit
|
export class FuseSearchClassicComponent implements OnInit
|
||||||
{
|
{
|
||||||
classic: any;
|
classic: any;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { DataSource } from '@angular/cdk';
|
||||||
templateUrl: './table.component.html',
|
templateUrl: './table.component.html',
|
||||||
styleUrls : ['./table.component.scss']
|
styleUrls : ['./table.component.scss']
|
||||||
})
|
})
|
||||||
export class SearchTableComponent implements OnInit
|
export class FuseSearchTableComponent implements OnInit
|
||||||
{
|
{
|
||||||
table: any;
|
table: any;
|
||||||
dataSource: SearchTableDataSource;
|
dataSource: SearchTableDataSource;
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { MatColors } from '../../../../core/matColors';
|
||||||
templateUrl: './colors.component.html',
|
templateUrl: './colors.component.html',
|
||||||
styleUrls : ['./colors.component.scss']
|
styleUrls : ['./colors.component.scss']
|
||||||
})
|
})
|
||||||
export class ColorsComponent implements OnInit
|
export class FuseColorsComponent implements OnInit
|
||||||
{
|
{
|
||||||
colors: {};
|
colors: {};
|
||||||
selectedColor: string;
|
selectedColor: string;
|
||||||
|
|
|
@ -2,12 +2,12 @@ import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { FuseDemoModule } from '../../../../core/components/demo/demo.module';
|
import { FuseDemoModule } from '../../../../core/components/demo/demo.module';
|
||||||
import { ColorsComponent } from './colors.component';
|
import { FuseColorsComponent } from './colors.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : 'ui/colors',
|
path : 'ui/colors',
|
||||||
component: ColorsComponent
|
component: FuseColorsComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ const routes: Routes = [
|
||||||
FuseDemoModule
|
FuseDemoModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
ColorsComponent
|
FuseColorsComponent
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class UIColorsModule
|
export class UIColorsModule
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './helper-classes.component.html',
|
templateUrl: './helper-classes.component.html',
|
||||||
styleUrls : ['./helper-classes.component.scss']
|
styleUrls : ['./helper-classes.component.scss']
|
||||||
})
|
})
|
||||||
export class HelperClassesComponent
|
export class FuseHelperClassesComponent
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,14 +2,14 @@ import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { HelperClassesComponent } from './helper-classes.component';
|
import { FuseHelperClassesComponent } from './helper-classes.component';
|
||||||
import { HelperClassesPaddingMarginComponent } from './tabs/padding-margin/padding-margin.component';
|
import { FuseHelperClassesPaddingMarginComponent } from './tabs/padding-margin/padding-margin.component';
|
||||||
import { HelperClassesWidthHeightComponent } from './tabs/width-height/width-height.component';
|
import { FuseHelperClassesWidthHeightComponent } from './tabs/width-height/width-height.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : 'ui/helper-classes',
|
path : 'ui/helper-classes',
|
||||||
component: HelperClassesComponent
|
component: FuseHelperClassesComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -19,9 +19,9 @@ const routes: Routes = [
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
HelperClassesComponent,
|
FuseHelperClassesComponent,
|
||||||
HelperClassesPaddingMarginComponent,
|
FuseHelperClassesPaddingMarginComponent,
|
||||||
HelperClassesWidthHeightComponent
|
FuseHelperClassesWidthHeightComponent
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class UIHelperClassesModule
|
export class UIHelperClassesModule
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './padding-margin.component.html',
|
templateUrl: './padding-margin.component.html',
|
||||||
styleUrls : ['./padding-margin.component.scss']
|
styleUrls : ['./padding-margin.component.scss']
|
||||||
})
|
})
|
||||||
export class HelperClassesPaddingMarginComponent
|
export class FuseHelperClassesPaddingMarginComponent
|
||||||
{
|
{
|
||||||
|
|
||||||
constructor()
|
constructor()
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './width-height.component.html',
|
templateUrl: './width-height.component.html',
|
||||||
styleUrls : ['./width-height.component.scss']
|
styleUrls : ['./width-height.component.scss']
|
||||||
})
|
})
|
||||||
export class HelperClassesWidthHeightComponent
|
export class FuseHelperClassesWidthHeightComponent
|
||||||
{
|
{
|
||||||
|
|
||||||
constructor()
|
constructor()
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { Http } from '@angular/http';
|
||||||
templateUrl: './icons.component.html',
|
templateUrl: './icons.component.html',
|
||||||
styleUrls : ['./icons.component.scss']
|
styleUrls : ['./icons.component.scss']
|
||||||
})
|
})
|
||||||
export class IconsComponent implements OnInit
|
export class FuseIconsComponent implements OnInit
|
||||||
{
|
{
|
||||||
icons: string[];
|
icons: string[];
|
||||||
filteredIcons: string[];
|
filteredIcons: string[];
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { IconsComponent } from './icons.component';
|
import { FuseIconsComponent } from './icons.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : 'ui/icons',
|
path : 'ui/icons',
|
||||||
component: IconsComponent
|
component: FuseIconsComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ const routes: Routes = [
|
||||||
RouterModule.forChild(routes)
|
RouterModule.forChild(routes)
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
IconsComponent
|
FuseIconsComponent
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class UIIconsModule
|
export class UIIconsModule
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './blank.component.html',
|
templateUrl: './blank.component.html',
|
||||||
styleUrls : ['./blank.component.scss']
|
styleUrls : ['./blank.component.scss']
|
||||||
})
|
})
|
||||||
export class BlankComponent
|
export class FuseBlankComponent
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './fullwidth-2.component.html',
|
templateUrl: './fullwidth-2.component.html',
|
||||||
styleUrls : ['./fullwidth-2.component.scss']
|
styleUrls : ['./fullwidth-2.component.scss']
|
||||||
})
|
})
|
||||||
export class CardedFullWidth2Component
|
export class FuseCardedFullWidth2Component
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './fullwidth.component.html',
|
templateUrl: './fullwidth.component.html',
|
||||||
styleUrls : ['./fullwidth.component.scss']
|
styleUrls : ['./fullwidth.component.scss']
|
||||||
})
|
})
|
||||||
export class CardedFullWidthComponent
|
export class FuseCardedFullWidthComponent
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './left-sidenav-2.component.html',
|
templateUrl: './left-sidenav-2.component.html',
|
||||||
styleUrls : ['./left-sidenav-2.component.scss']
|
styleUrls : ['./left-sidenav-2.component.scss']
|
||||||
})
|
})
|
||||||
export class CardedLeftSidenav2Component
|
export class FuseCardedLeftSidenav2Component
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './left-sidenav.component.html',
|
templateUrl: './left-sidenav.component.html',
|
||||||
styleUrls : ['./left-sidenav.component.scss']
|
styleUrls : ['./left-sidenav.component.scss']
|
||||||
})
|
})
|
||||||
export class CardedLeftSidenavComponent
|
export class FuseCardedLeftSidenavComponent
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './right-sidenav-2.component.html',
|
templateUrl: './right-sidenav-2.component.html',
|
||||||
styleUrls : ['./right-sidenav-2.component.scss']
|
styleUrls : ['./right-sidenav-2.component.scss']
|
||||||
})
|
})
|
||||||
export class CardedRightSidenav2Component
|
export class FuseCardedRightSidenav2Component
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './right-sidenav.component.html',
|
templateUrl: './right-sidenav.component.html',
|
||||||
styleUrls : ['./right-sidenav.component.scss']
|
styleUrls : ['./right-sidenav.component.scss']
|
||||||
})
|
})
|
||||||
export class CardedRightSidenavComponent
|
export class FuseCardedRightSidenavComponent
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,82 +2,82 @@ import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { SharedModule } from '../../../../core/modules/shared.module';
|
import { SharedModule } from '../../../../core/modules/shared.module';
|
||||||
import { FuseDemoModule } from '../../../../core/components/demo/demo.module';
|
import { FuseDemoModule } from '../../../../core/components/demo/demo.module';
|
||||||
import { CardedFullWidthComponent } from './carded/fullwidth/fullwidth.component';
|
import { FuseCardedFullWidthComponent } from './carded/fullwidth/fullwidth.component';
|
||||||
import { CardedFullWidth2Component } from './carded/fullwidth-2/fullwidth-2.component';
|
import { FuseCardedFullWidth2Component } from './carded/fullwidth-2/fullwidth-2.component';
|
||||||
import { CardedLeftSidenavComponent } from './carded/left-sidenav/left-sidenav.component';
|
import { FuseCardedLeftSidenavComponent } from './carded/left-sidenav/left-sidenav.component';
|
||||||
import { CardedLeftSidenav2Component } from './carded/left-sidenav-2/left-sidenav-2.component';
|
import { FuseCardedLeftSidenav2Component } from './carded/left-sidenav-2/left-sidenav-2.component';
|
||||||
import { CardedRightSidenavComponent } from './carded/right-sidenav/right-sidenav.component';
|
import { FuseCardedRightSidenavComponent } from './carded/right-sidenav/right-sidenav.component';
|
||||||
import { CardedRightSidenav2Component } from './carded/right-sidenav-2/right-sidenav-2.component';
|
import { FuseCardedRightSidenav2Component } from './carded/right-sidenav-2/right-sidenav-2.component';
|
||||||
import { SimpleFullWidthComponent } from './simple/fullwidth/fullwidth.component';
|
import { FuseSimpleFullWidthComponent } from './simple/fullwidth/fullwidth.component';
|
||||||
import { SimpleLeftSidenavComponent } from './simple/left-sidenav/left-sidenav.component';
|
import { FuseSimpleLeftSidenavComponent } from './simple/left-sidenav/left-sidenav.component';
|
||||||
import { SimpleLeftSidenav2Component } from './simple/left-sidenav-2/left-sidenav-2.component';
|
import { FuseSimpleLeftSidenav2Component } from './simple/left-sidenav-2/left-sidenav-2.component';
|
||||||
import { SimpleLeftSidenav3Component } from './simple/left-sidenav-3/left-sidenav-3.component';
|
import { FuseSimpleLeftSidenav3Component } from './simple/left-sidenav-3/left-sidenav-3.component';
|
||||||
import { SimpleRightSidenavComponent } from './simple/right-sidenav/right-sidenav.component';
|
import { FuseSimpleRightSidenavComponent } from './simple/right-sidenav/right-sidenav.component';
|
||||||
import { SimpleRightSidenav2Component } from './simple/right-sidenav-2/right-sidenav-2.component';
|
import { FuseSimpleRightSidenav2Component } from './simple/right-sidenav-2/right-sidenav-2.component';
|
||||||
import { SimpleRightSidenav3Component } from './simple/right-sidenav-3/right-sidenav-3.component';
|
import { FuseSimpleRightSidenav3Component } from './simple/right-sidenav-3/right-sidenav-3.component';
|
||||||
import { TabbedComponent } from './simple/tabbed/tabbed.component';
|
import { FuseTabbedComponent } from './simple/tabbed/tabbed.component';
|
||||||
import { BlankComponent } from './blank/blank.component';
|
import { FuseBlankComponent } from './blank/blank.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/carded/full-width',
|
path : 'ui/page-layouts/carded/full-width',
|
||||||
component: CardedFullWidthComponent
|
component: FuseCardedFullWidthComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/carded/full-width-2',
|
path : 'ui/page-layouts/carded/full-width-2',
|
||||||
component: CardedFullWidth2Component
|
component: FuseCardedFullWidth2Component
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/carded/left-sidenav',
|
path : 'ui/page-layouts/carded/left-sidenav',
|
||||||
component: CardedLeftSidenavComponent
|
component: FuseCardedLeftSidenavComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/carded/left-sidenav-2',
|
path : 'ui/page-layouts/carded/left-sidenav-2',
|
||||||
component: CardedLeftSidenav2Component
|
component: FuseCardedLeftSidenav2Component
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/carded/right-sidenav',
|
path : 'ui/page-layouts/carded/right-sidenav',
|
||||||
component: CardedRightSidenavComponent
|
component: FuseCardedRightSidenavComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/carded/right-sidenav-2',
|
path : 'ui/page-layouts/carded/right-sidenav-2',
|
||||||
component: CardedRightSidenav2Component
|
component: FuseCardedRightSidenav2Component
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/simple/full-width',
|
path : 'ui/page-layouts/simple/full-width',
|
||||||
component: SimpleFullWidthComponent
|
component: FuseSimpleFullWidthComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/simple/left-sidenav',
|
path : 'ui/page-layouts/simple/left-sidenav',
|
||||||
component: SimpleLeftSidenavComponent
|
component: FuseSimpleLeftSidenavComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/simple/left-sidenav-2',
|
path : 'ui/page-layouts/simple/left-sidenav-2',
|
||||||
component: SimpleLeftSidenav2Component
|
component: FuseSimpleLeftSidenav2Component
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/simple/left-sidenav-3',
|
path : 'ui/page-layouts/simple/left-sidenav-3',
|
||||||
component: SimpleLeftSidenav3Component
|
component: FuseSimpleLeftSidenav3Component
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/simple/right-sidenav',
|
path : 'ui/page-layouts/simple/right-sidenav',
|
||||||
component: SimpleRightSidenavComponent
|
component: FuseSimpleRightSidenavComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/simple/right-sidenav-2',
|
path : 'ui/page-layouts/simple/right-sidenav-2',
|
||||||
component: SimpleRightSidenav2Component
|
component: FuseSimpleRightSidenav2Component
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/simple/right-sidenav-3',
|
path : 'ui/page-layouts/simple/right-sidenav-3',
|
||||||
component: SimpleRightSidenav3Component
|
component: FuseSimpleRightSidenav3Component
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/simple/tabbed',
|
path : 'ui/page-layouts/simple/tabbed',
|
||||||
component: TabbedComponent
|
component: FuseTabbedComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'ui/page-layouts/blank',
|
path : 'ui/page-layouts/blank',
|
||||||
component: BlankComponent
|
component: FuseBlankComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -88,21 +88,21 @@ const routes: Routes = [
|
||||||
FuseDemoModule
|
FuseDemoModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
CardedFullWidthComponent,
|
FuseCardedFullWidthComponent,
|
||||||
CardedFullWidth2Component,
|
FuseCardedFullWidth2Component,
|
||||||
CardedLeftSidenavComponent,
|
FuseCardedLeftSidenavComponent,
|
||||||
CardedLeftSidenav2Component,
|
FuseCardedLeftSidenav2Component,
|
||||||
CardedRightSidenavComponent,
|
FuseCardedRightSidenavComponent,
|
||||||
CardedRightSidenav2Component,
|
FuseCardedRightSidenav2Component,
|
||||||
SimpleFullWidthComponent,
|
FuseSimpleFullWidthComponent,
|
||||||
SimpleLeftSidenavComponent,
|
FuseSimpleLeftSidenavComponent,
|
||||||
SimpleLeftSidenav2Component,
|
FuseSimpleLeftSidenav2Component,
|
||||||
SimpleLeftSidenav3Component,
|
FuseSimpleLeftSidenav3Component,
|
||||||
SimpleRightSidenavComponent,
|
FuseSimpleRightSidenavComponent,
|
||||||
SimpleRightSidenav2Component,
|
FuseSimpleRightSidenav2Component,
|
||||||
SimpleRightSidenav3Component,
|
FuseSimpleRightSidenav3Component,
|
||||||
TabbedComponent,
|
FuseTabbedComponent,
|
||||||
BlankComponent
|
FuseBlankComponent
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class UIPageLayoutsModule
|
export class UIPageLayoutsModule
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './fullwidth.component.html',
|
templateUrl: './fullwidth.component.html',
|
||||||
styleUrls : ['./fullwidth.component.scss']
|
styleUrls : ['./fullwidth.component.scss']
|
||||||
})
|
})
|
||||||
export class SimpleFullWidthComponent
|
export class FuseSimpleFullWidthComponent
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './left-sidenav-2.component.html',
|
templateUrl: './left-sidenav-2.component.html',
|
||||||
styleUrls : ['./left-sidenav-2.component.scss']
|
styleUrls : ['./left-sidenav-2.component.scss']
|
||||||
})
|
})
|
||||||
export class SimpleLeftSidenav2Component
|
export class FuseSimpleLeftSidenav2Component
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './left-sidenav-3.component.html',
|
templateUrl: './left-sidenav-3.component.html',
|
||||||
styleUrls : ['./left-sidenav-3.component.scss']
|
styleUrls : ['./left-sidenav-3.component.scss']
|
||||||
})
|
})
|
||||||
export class SimpleLeftSidenav3Component
|
export class FuseSimpleLeftSidenav3Component
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './left-sidenav.component.html',
|
templateUrl: './left-sidenav.component.html',
|
||||||
styleUrls : ['./left-sidenav.component.scss']
|
styleUrls : ['./left-sidenav.component.scss']
|
||||||
})
|
})
|
||||||
export class SimpleLeftSidenavComponent
|
export class FuseSimpleLeftSidenavComponent
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||||
templateUrl: './right-sidenav-2.component.html',
|
templateUrl: './right-sidenav-2.component.html',
|
||||||
styleUrls : ['./right-sidenav-2.component.scss']
|
styleUrls : ['./right-sidenav-2.component.scss']
|
||||||
})
|
})
|
||||||
export class SimpleRightSidenav2Component
|
export class FuseSimpleRightSidenav2Component
|
||||||
{
|
{
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user