@tuki-io/tuki-widgets 0.0.155 → 0.0.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/di2mt/shared/components/stat-card/stat-card.component.mjs +12 -4
- package/esm2020/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.mjs +6 -2
- package/esm2020/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.mjs +3 -2
- package/esm2020/user-device-manage/src/app.constants.mjs +2 -1
- package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +6 -1
- package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +31 -4
- package/esm2020/user-device-manage/src/services/api.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/user.service.mjs +30 -5
- package/esm2020/user-manage/src/app.constants.mjs +3 -2
- package/esm2020/user-manage/src/classes/simplified-user.mjs +7 -2
- package/esm2020/user-manage/src/services/api.service.mjs +1 -1
- package/esm2020/user-manage/src/services/user.service.mjs +9 -1
- package/esm2020/user-manage/src/user-calling/user-calling.component.mjs +18 -4
- package/esm2020/user-manage/src/user-manage-widget.component.mjs +10 -3
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +14 -6
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +67 -8
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +45 -7
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +18 -5
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +64 -7
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +42 -7
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
- package/package.json +1 -1
- package/user-device-manage/src/app.constants.d.ts +1 -0
- package/user-device-manage/src/classes/deviceProfile.d.ts +3 -0
- package/user-device-manage/src/device-manage-widget.component.d.ts +4 -0
- package/user-device-manage/src/services/api.service.d.ts +1 -1
- package/user-device-manage/src/services/user.service.d.ts +8 -2
- package/user-manage/src/app.constants.d.ts +1 -0
- package/user-manage/src/classes/simplified-user.d.ts +2 -0
- package/user-manage/src/services/api.service.d.ts +1 -1
- package/user-manage/src/services/user.service.d.ts +1 -0
- package/user-manage/src/user-calling/user-calling.component.d.ts +4 -1
package/package.json
CHANGED
|
@@ -11,6 +11,8 @@ export declare class DeviceProfile {
|
|
|
11
11
|
name?: string;
|
|
12
12
|
extension?: string;
|
|
13
13
|
number?: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
routePartitionName: string;
|
|
14
16
|
}>;
|
|
15
17
|
activationState?: boolean;
|
|
16
18
|
model?: string;
|
|
@@ -22,4 +24,5 @@ export declare class DeviceProfile {
|
|
|
22
24
|
form: FormGroup;
|
|
23
25
|
constructor(config: DeviceProfile);
|
|
24
26
|
initForm(config: DeviceProfile): void;
|
|
27
|
+
getSavableData(): {};
|
|
25
28
|
}
|
|
@@ -39,6 +39,7 @@ export declare class DeviceManageWidgetComponent implements OnDestroy {
|
|
|
39
39
|
get firstName(): string;
|
|
40
40
|
get lastName(): string;
|
|
41
41
|
get form(): FormGroup | undefined;
|
|
42
|
+
get isWebex(): number | "" | null | undefined;
|
|
42
43
|
constructor(userService: UserService, deviceService: DeviceService, apiService: APIService, lineService: LineService, siteSettingsService: SiteSettingsService, validationService: ValidationService, dialog: MatDialog);
|
|
43
44
|
ngOnInit(): void;
|
|
44
45
|
showInput(): void;
|
|
@@ -47,6 +48,9 @@ export declare class DeviceManageWidgetComponent implements OnDestroy {
|
|
|
47
48
|
get hotelingEnabled(): FormControl;
|
|
48
49
|
get guestHoursLimit(): FormControl;
|
|
49
50
|
private getData;
|
|
51
|
+
onNumberChange(event: Event, index: number): void;
|
|
52
|
+
onExtensionChange(event: Event, index: number): void;
|
|
53
|
+
saveChanges(): void;
|
|
50
54
|
ngOnDestroy(): void;
|
|
51
55
|
onGoBack(): void;
|
|
52
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeviceManageWidgetComponent, never>;
|
|
@@ -9,7 +9,7 @@ export declare class APIService {
|
|
|
9
9
|
fetch(url: string, params?: any, cache?: boolean): Observable<any>;
|
|
10
10
|
post(url: string, body: any, params?: {}): any;
|
|
11
11
|
postExtended(url: string, body?: null, params?: {}, headers?: {}): Observable<import("@angular/common/http").HttpResponse<Object>>;
|
|
12
|
-
put(url: string, body?:
|
|
12
|
+
put(url: string, body?: any, params?: {}): Observable<Object>;
|
|
13
13
|
delete(url: string, params?: {}): Observable<Object>;
|
|
14
14
|
fetchPagination(url: string, pageSize: number, pageNumber: number, additionalParams?: {}, cache?: boolean): Observable<any>;
|
|
15
15
|
private prepareEncodedParams;
|
|
@@ -18,12 +18,15 @@ export declare class UserService implements OnInit {
|
|
|
18
18
|
hasExistedUserId: boolean;
|
|
19
19
|
user: SimplifiedUser;
|
|
20
20
|
originUser: SimplifiedUser;
|
|
21
|
+
originDevice: any;
|
|
21
22
|
onUserLineSaved$: Subject<any>;
|
|
22
23
|
onFetchUserToken$: Subject<any>;
|
|
23
24
|
private _userName;
|
|
24
25
|
get userName(): string;
|
|
25
26
|
private _userLastName;
|
|
26
27
|
get userLastName(): string;
|
|
28
|
+
private _cucmId;
|
|
29
|
+
get cucmId(): string;
|
|
27
30
|
private _userDevice;
|
|
28
31
|
get userDevice(): DeviceProfile | undefined;
|
|
29
32
|
get lineAssociation(): LineAssociation | LineAssociationInterface;
|
|
@@ -33,7 +36,7 @@ export declare class UserService implements OnInit {
|
|
|
33
36
|
resetLineAssociation(deviceIndex: number, lineIndex: number, validationService: ValidationService): void;
|
|
34
37
|
resetDevice(currentDevice: Device, validationService: ValidationService): void;
|
|
35
38
|
fetchUserToken(siteId: number, userId: string, validationService: ValidationService, isSetNewTokenOnly?: boolean): any;
|
|
36
|
-
|
|
39
|
+
fetchDIUserDevice(siteId: number, userId: string, deviceType: string): Observable<DeviceProfile | undefined>;
|
|
37
40
|
private getMacAddress;
|
|
38
41
|
fetchWebexUserDevice(customerId: string, userId: string, deviceType: string): Observable<DeviceProfile | undefined>;
|
|
39
42
|
updateUserFields(body: any): any;
|
|
@@ -53,8 +56,11 @@ export declare class UserService implements OnInit {
|
|
|
53
56
|
updateDeviceFields(siteId: number, deviceName: string, token: string): any;
|
|
54
57
|
checkDestinationNumber(siteId: string, directoryNumber: string, routePartitionName: string): any;
|
|
55
58
|
associateLineToUserDevice(siteId: number, deviceName: string, body: any, pkid: any, css: any): any;
|
|
56
|
-
hasUnsavedChanges():
|
|
59
|
+
hasUnsavedChanges(): any;
|
|
57
60
|
setSimplifiedUser(user: any, validationService: ValidationService, userToken?: string): void;
|
|
61
|
+
editTranslationPattern(cucmId: string, oldpattern: string, newPattern: string, extension: string, routePartitionName: string, description: string): Observable<Object>;
|
|
62
|
+
lineUpdated(line: any, index: number): boolean;
|
|
63
|
+
getOriginalNumber(line: any): string;
|
|
58
64
|
private handleSaveUserResponse;
|
|
59
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
60
66
|
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
@@ -2,6 +2,7 @@ import { FormGroup } from '@angular/forms';
|
|
|
2
2
|
import { Device } from './device';
|
|
3
3
|
import { LineAssociation } from './line-association';
|
|
4
4
|
import { LineAssociationInterface } from './line-association-interface';
|
|
5
|
+
import { LineInterface } from './line';
|
|
5
6
|
export declare class SimplifiedUser {
|
|
6
7
|
userid: string;
|
|
7
8
|
email: string;
|
|
@@ -33,6 +34,7 @@ export declare class SimplifiedUser {
|
|
|
33
34
|
newUserId: string;
|
|
34
35
|
editMode: boolean;
|
|
35
36
|
ldapIntegrated: boolean;
|
|
37
|
+
lines?: LineInterface[];
|
|
36
38
|
form: FormGroup;
|
|
37
39
|
constructor(user?: any, isLdap?: boolean);
|
|
38
40
|
getLineVal(lineAssociation: LineAssociation | LineAssociationInterface, lines: any, token: string): any;
|
|
@@ -10,7 +10,7 @@ export declare class APIService {
|
|
|
10
10
|
fetch(url: string, params?: any, cache?: boolean): Observable<Object>;
|
|
11
11
|
post(url: string, body: any, params?: {}): any;
|
|
12
12
|
postExtended(url: string, body?: null, params?: {}, headers?: {}): Observable<import("@angular/common/http").HttpResponse<Object>>;
|
|
13
|
-
put(url: string, body?:
|
|
13
|
+
put(url: string, body?: any, params?: {}): Observable<Object>;
|
|
14
14
|
delete(url: string, params?: {}): Observable<Object>;
|
|
15
15
|
fetchPagination(url: string, pageSize: number, pageNumber: number, additionalParams?: {}, cache?: boolean): Observable<TableDataInterface>;
|
|
16
16
|
private prepareEncodedParams;
|
|
@@ -27,6 +27,7 @@ export declare class UserService implements OnInit {
|
|
|
27
27
|
updateUserFields(body: any): any;
|
|
28
28
|
fetchUserById(id: string): import("rxjs").Observable<Object>;
|
|
29
29
|
persistCacheChanges(): any;
|
|
30
|
+
editTranslationPattern(cucmId: string, oldpattern: string, newPattern: string, extension: string, routePartitionName: string, description: string): import("rxjs").Observable<Object>;
|
|
30
31
|
processUserChangesToCache(): any;
|
|
31
32
|
saveNewLine(): any;
|
|
32
33
|
runNewLineCreation(): void;
|
|
@@ -14,12 +14,15 @@ export declare class UserCallingComponent implements OnInit {
|
|
|
14
14
|
onExtensionChange: EventEmitter<any>;
|
|
15
15
|
dataPending: boolean;
|
|
16
16
|
get form(): FormGroup;
|
|
17
|
+
get isWebex(): number | "" | null | undefined;
|
|
17
18
|
get formControl(): FormControl;
|
|
19
|
+
get phoneNumberValue(): string;
|
|
18
20
|
get lineAssociation(): LineAssociation | LineAssociationInterface;
|
|
19
21
|
get user(): SimplifiedUser;
|
|
20
22
|
constructor(userService: UserService, dnsService: DnsService);
|
|
21
23
|
ngOnInit(): void;
|
|
22
|
-
|
|
24
|
+
onExtensionLineChange(event: Event): void;
|
|
25
|
+
onDirectoryNumberChange(event: Event): void;
|
|
23
26
|
onChangeField(token: string): void;
|
|
24
27
|
toggleEditMode(): void;
|
|
25
28
|
isSavingDisabled(): boolean;
|