mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +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 { SocialModule } from 'ng2-alfresco-social';
|
||||||
import { TagModule } from 'ng2-alfresco-tag';
|
import { TagModule } from 'ng2-alfresco-tag';
|
||||||
import { UploadModule } from 'ng2-alfresco-upload';
|
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 { ViewerModule } from 'ng2-alfresco-viewer';
|
||||||
import { WebScriptModule } from 'ng2-alfresco-webscript';
|
import { WebScriptModule } from 'ng2-alfresco-webscript';
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@ if (process.env.ENV === 'production') {
|
|||||||
ActivitiFormModule.forRoot(),
|
ActivitiFormModule.forRoot(),
|
||||||
ActivitiTaskListModule.forRoot(),
|
ActivitiTaskListModule.forRoot(),
|
||||||
ActivitiProcessListModule.forRoot(),
|
ActivitiProcessListModule.forRoot(),
|
||||||
UserInfoComponentModule.forRoot(),
|
UserInfoModule.forRoot(),
|
||||||
AnalyticsModule.forRoot(),
|
AnalyticsModule.forRoot(),
|
||||||
DiagramsModule.forRoot(),
|
DiagramsModule.forRoot(),
|
||||||
CustomEditorsModule,
|
CustomEditorsModule,
|
||||||
|
@@ -59,6 +59,19 @@ export const USER_INFO_PROVIDERS: any[] = [
|
|||||||
...USER_INFO_DIRECTIVES
|
...USER_INFO_DIRECTIVES
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
export class UserInfoModule {
|
||||||
|
static forRoot(): ModuleWithProviders {
|
||||||
|
return {
|
||||||
|
ngModule: UserInfoModule,
|
||||||
|
providers: [
|
||||||
|
...USER_INFO_PROVIDERS
|
||||||
|
]
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @deprecated in 1.9.0 */
|
||||||
export class UserInfoComponentModule {
|
export class UserInfoComponentModule {
|
||||||
static forRoot(): ModuleWithProviders {
|
static forRoot(): ModuleWithProviders {
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user