mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
change name export module userinfo (#2334)
This commit is contained in:
committed by
Popovics András
parent
16fd68fad3
commit
54d575ff52
@@ -31,7 +31,7 @@ import { SearchModule } from 'ng2-alfresco-search';
|
||||
import { SocialModule } from 'ng2-alfresco-social';
|
||||
import { TagModule } from 'ng2-alfresco-tag';
|
||||
import { UploadModule } from 'ng2-alfresco-upload';
|
||||
import { UserInfoComponentModule } from 'ng2-alfresco-userinfo';
|
||||
import { UserInfoModule } from 'ng2-alfresco-userinfo';
|
||||
import { ViewerModule } from 'ng2-alfresco-viewer';
|
||||
import { WebScriptModule } from 'ng2-alfresco-webscript';
|
||||
|
||||
@@ -95,7 +95,7 @@ if (process.env.ENV === 'production') {
|
||||
ActivitiFormModule.forRoot(),
|
||||
ActivitiTaskListModule.forRoot(),
|
||||
ActivitiProcessListModule.forRoot(),
|
||||
UserInfoComponentModule.forRoot(),
|
||||
UserInfoModule.forRoot(),
|
||||
AnalyticsModule.forRoot(),
|
||||
DiagramsModule.forRoot(),
|
||||
CustomEditorsModule,
|
||||
|
@@ -59,6 +59,19 @@ export const USER_INFO_PROVIDERS: any[] = [
|
||||
...USER_INFO_DIRECTIVES
|
||||
]
|
||||
})
|
||||
|
||||
export class UserInfoModule {
|
||||
static forRoot(): ModuleWithProviders {
|
||||
return {
|
||||
ngModule: UserInfoModule,
|
||||
providers: [
|
||||
...USER_INFO_PROVIDERS
|
||||
]
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/** @deprecated in 1.9.0 */
|
||||
export class UserInfoComponentModule {
|
||||
static forRoot(): ModuleWithProviders {
|
||||
return {
|
||||
|
Reference in New Issue
Block a user