mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
* #537 snackbar notification system * #537 add test dependencies * #537 add export material module * #537 fix demo project
This commit is contained in:
committed by
Maurizio Vitale
parent
d8c433c055
commit
1c21875607
@@ -20,6 +20,7 @@ import { HttpModule, Http } from '@angular/http';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { TranslateModule, TranslateLoader } from 'ng2-translate/ng2-translate';
|
||||
import { MaterialModule } from '@angular/material';
|
||||
|
||||
import {
|
||||
AlfrescoAuthenticationService,
|
||||
@@ -33,7 +34,9 @@ import {
|
||||
AuthGuard,
|
||||
AuthGuardEcm,
|
||||
AuthGuardBpm,
|
||||
LogService, LogServiceMock
|
||||
LogService,
|
||||
LogServiceMock,
|
||||
NotificationService
|
||||
} from './src/services/index';
|
||||
|
||||
import { MATERIAL_DESIGN_DIRECTIVES } from './src/components/material/index';
|
||||
@@ -44,7 +47,9 @@ export * from './src/components/index';
|
||||
export * from './src/utils/index';
|
||||
|
||||
export const ALFRESCO_CORE_PROVIDERS: any[] = [
|
||||
LogService, LogServiceMock,
|
||||
NotificationService,
|
||||
LogService,
|
||||
LogServiceMock,
|
||||
AlfrescoAuthenticationService,
|
||||
AlfrescoContentService,
|
||||
AlfrescoSettingsService,
|
||||
@@ -69,6 +74,7 @@ export function createTranslateLoader(http: Http, logService: LogService) {
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
HttpModule,
|
||||
MaterialModule.forRoot(),
|
||||
TranslateModule.forRoot({
|
||||
provide: TranslateLoader,
|
||||
useFactory: (createTranslateLoader),
|
||||
@@ -85,6 +91,7 @@ export function createTranslateLoader(http: Http, logService: LogService) {
|
||||
exports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
MaterialModule,
|
||||
ReactiveFormsModule,
|
||||
HttpModule,
|
||||
TranslateModule,
|
||||
|
Reference in New Issue
Block a user