2017-04-13 14:24:23 +03:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
|
|
|
|
|
|
|
|
import {
|
|
|
|
|
NgaCardModule,
|
|
|
|
|
NgaLayoutModule,
|
|
|
|
|
NgaTabsetModule,
|
|
|
|
|
NgaRouteTabsetModule,
|
|
|
|
|
NgaSidebarModule,
|
2017-04-14 18:28:27 +03:00
|
|
|
NgaMenuModule,
|
2017-04-21 17:23:44 +03:00
|
|
|
NgaUserModule,
|
2017-04-29 18:41:44 +03:00
|
|
|
NgaActionsModule,
|
2017-05-19 19:45:42 +03:00
|
|
|
NgaSearchModule,
|
2017-06-26 12:38:12 +03:00
|
|
|
} from '@akveo/nga-theme';
|
2017-04-13 14:24:23 +03:00
|
|
|
|
2017-05-06 14:52:41 +03:00
|
|
|
import {
|
|
|
|
|
HeaderComponent,
|
|
|
|
|
FooterComponent,
|
|
|
|
|
SearchInputComponent,
|
2017-05-06 15:35:15 +03:00
|
|
|
TinyMCEComponent,
|
2017-05-06 14:52:41 +03:00
|
|
|
} from './components';
|
|
|
|
|
|
2017-07-07 19:54:49 +03:00
|
|
|
|
|
|
|
|
import {
|
|
|
|
|
CapitalizePipe,
|
|
|
|
|
PluralPipe,
|
|
|
|
|
RoundPipe,
|
|
|
|
|
} from './pipes';
|
|
|
|
|
|
2017-04-28 14:59:24 +03:00
|
|
|
import { OneColumnLayoutComponent } from './layouts';
|
2017-04-13 14:24:23 +03:00
|
|
|
|
|
|
|
|
const BASE_MODULES = [
|
|
|
|
|
CommonModule,
|
|
|
|
|
FormsModule,
|
2017-04-21 17:23:44 +03:00
|
|
|
ReactiveFormsModule,
|
2017-04-13 14:24:23 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
const NGA_MODULES = [
|
|
|
|
|
NgaCardModule,
|
|
|
|
|
NgaLayoutModule,
|
|
|
|
|
NgaTabsetModule,
|
|
|
|
|
NgaRouteTabsetModule,
|
2017-04-14 18:28:27 +03:00
|
|
|
NgaMenuModule,
|
2017-04-21 17:23:44 +03:00
|
|
|
NgaUserModule,
|
2017-04-29 18:41:44 +03:00
|
|
|
NgaActionsModule,
|
2017-05-19 19:45:42 +03:00
|
|
|
NgaSearchModule,
|
2017-04-13 14:24:23 +03:00
|
|
|
];
|
|
|
|
|
|
2017-04-28 14:59:24 +03:00
|
|
|
const COMPONENTS = [
|
2017-04-28 15:14:05 +03:00
|
|
|
HeaderComponent,
|
|
|
|
|
FooterComponent,
|
2017-04-28 14:59:24 +03:00
|
|
|
SearchInputComponent,
|
2017-05-06 14:52:41 +03:00
|
|
|
TinyMCEComponent,
|
2017-04-28 14:59:24 +03:00
|
|
|
OneColumnLayoutComponent,
|
2017-04-13 14:24:23 +03:00
|
|
|
];
|
|
|
|
|
|
2017-07-07 19:54:49 +03:00
|
|
|
const PIPES = [
|
|
|
|
|
CapitalizePipe,
|
|
|
|
|
PluralPipe,
|
|
|
|
|
RoundPipe,
|
|
|
|
|
];
|
|
|
|
|
|
2017-04-13 14:24:23 +03:00
|
|
|
@NgModule({
|
|
|
|
|
imports: [
|
|
|
|
|
...BASE_MODULES,
|
|
|
|
|
...NGA_MODULES,
|
2017-04-17 08:28:11 +03:00
|
|
|
NgaSidebarModule.forRoot(),
|
2017-04-13 14:24:23 +03:00
|
|
|
],
|
|
|
|
|
exports: [
|
|
|
|
|
...BASE_MODULES,
|
|
|
|
|
...NGA_MODULES,
|
2017-04-28 14:59:24 +03:00
|
|
|
...COMPONENTS,
|
2017-07-07 19:54:49 +03:00
|
|
|
...PIPES,
|
2017-04-13 14:24:23 +03:00
|
|
|
],
|
|
|
|
|
declarations: [
|
2017-04-28 14:59:24 +03:00
|
|
|
...COMPONENTS,
|
2017-07-07 19:54:49 +03:00
|
|
|
...PIPES,
|
2017-04-21 17:23:44 +03:00
|
|
|
],
|
2017-04-13 14:24:23 +03:00
|
|
|
})
|
|
|
|
|
export class ThemeModule {
|
|
|
|
|
}
|