refactoring
This commit is contained in:
parent
af34a3485d
commit
a6b5ac05aa
@ -22,6 +22,8 @@ import { SessionStorageService } from '@ucap-webmessenger/web-storage';
|
|||||||
import { KEY_VER_INFO, VerInfo2 } from '@app/types/ver-info.type';
|
import { KEY_VER_INFO, VerInfo2 } from '@app/types/ver-info.type';
|
||||||
import { StatusCode } from '@ucap-webmessenger/core';
|
import { StatusCode } from '@ucap-webmessenger/core';
|
||||||
|
|
||||||
|
import { PresenceType } from '../types/presence-type.type';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ucap-profile-user-list-item',
|
selector: 'ucap-profile-user-list-item',
|
||||||
templateUrl: './user-list-item.component.html',
|
templateUrl: './user-list-item.component.html',
|
||||||
@ -118,12 +120,3 @@ export class UserListItemComponent implements OnInit, OnDestroy {
|
|||||||
this.contextMenu.emit({ event, userInfo });
|
this.contextMenu.emit({ event, userInfo });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum PresenceType {
|
|
||||||
PC = 'pc',
|
|
||||||
MOBILE = 'mobile',
|
|
||||||
CONFERENCE = 'conference',
|
|
||||||
MOBILE_CONFERENCE = 'mobileConference',
|
|
||||||
PHONE = 'phone',
|
|
||||||
IMESSENER = 'imessenger'
|
|
||||||
}
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
export enum PresenceType {
|
||||||
|
PC = 'pc',
|
||||||
|
MOBILE = 'mobile',
|
||||||
|
CONFERENCE = 'conference',
|
||||||
|
MOBILE_CONFERENCE = 'mobileConference',
|
||||||
|
PHONE = 'phone',
|
||||||
|
IMESSENER = 'imessenger'
|
||||||
|
}
|
@ -5,4 +5,6 @@
|
|||||||
export * from './lib/components/list-item.component';
|
export * from './lib/components/list-item.component';
|
||||||
export * from './lib/components/user-list-item.component';
|
export * from './lib/components/user-list-item.component';
|
||||||
|
|
||||||
|
export * from './lib/types/presence-type.type';
|
||||||
|
|
||||||
export * from './lib/ucap-ui-profile.module';
|
export * from './lib/ucap-ui-profile.module';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user