@vgroup/dialbox 0.7.16 → 0.7.18
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/lib/components/call-progress/call-progress.component.mjs +113 -35
- package/esm2020/lib/dialbox.component.mjs +17 -3
- package/esm2020/lib/service/twilio.service.mjs +98 -36
- package/fesm2015/vgroup-dialbox.mjs +245 -84
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +225 -71
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/components/call-progress/call-progress.component.d.ts +10 -1
- package/lib/dialbox.component.d.ts +4 -0
- package/lib/service/twilio.service.d.ts +6 -2
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
|
|
|
19
19
|
callerIdList: any;
|
|
20
20
|
newCallConference: any;
|
|
21
21
|
missCallInfo: any;
|
|
22
|
+
userSettingInfo: any;
|
|
22
23
|
deviceId: any;
|
|
23
24
|
callAction: any;
|
|
24
25
|
conferenceCallInfo: any;
|
|
@@ -127,6 +128,10 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
|
|
|
127
128
|
phone: string;
|
|
128
129
|
img?: string;
|
|
129
130
|
};
|
|
131
|
+
outgoingContactName: string;
|
|
132
|
+
showLeaveConfirmationModal: boolean;
|
|
133
|
+
leaveConfParticipant: any;
|
|
134
|
+
leaveConfConferenceName: string;
|
|
130
135
|
constructor(extensionService: ExtensionService, cdr: ChangeDetectorRef, twilioService: TwilioService, ipService: IpAddressService, incomeingCallSocketService: IncomeingCallSocketService);
|
|
131
136
|
ngOnInit(): void;
|
|
132
137
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -216,7 +221,11 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
|
|
|
216
221
|
getName(number: any): string | null;
|
|
217
222
|
getImg(number: any): any;
|
|
218
223
|
get showEndAllButton(): boolean;
|
|
224
|
+
confirmLeaveParticipant(c: any): void;
|
|
225
|
+
isInMultipleConferences(): boolean;
|
|
226
|
+
confirmLeave(): void;
|
|
227
|
+
cancelLeave(): void;
|
|
219
228
|
ngOnDestroy(): void;
|
|
220
229
|
static ɵfac: i0.ɵɵFactoryDeclaration<CallProgressComponent, never>;
|
|
221
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CallProgressComponent, "lib-call-progress", never, { "callData": "callData"; "selectedCallerId": "selectedCallerId"; "newIncomingCallData": "newIncomingCallData"; "newIncomingCallsList": "newIncomingCallsList"; "callerIdList": "callerIdList"; "newCallConference": "newCallConference"; "missCallInfo": "missCallInfo"; "deviceId": "deviceId"; "callAction": "callAction"; "conferenceCallInfo": "conferenceCallInfo"; }, { "endCallEvent": "endCallEvent"; "incomingCallsNewInfo": "incomingCallsNewInfo"; "minimiseEvent": "minimiseEvent"; "incomingCallInitiated": "incomingCallInitiated"; "isLoadershown": "isLoadershown"; "endIncomingCallEvent": "endIncomingCallEvent"; }, never, never, false, never>;
|
|
230
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CallProgressComponent, "lib-call-progress", never, { "callData": "callData"; "selectedCallerId": "selectedCallerId"; "newIncomingCallData": "newIncomingCallData"; "newIncomingCallsList": "newIncomingCallsList"; "callerIdList": "callerIdList"; "newCallConference": "newCallConference"; "missCallInfo": "missCallInfo"; "userSettingInfo": "userSettingInfo"; "deviceId": "deviceId"; "callAction": "callAction"; "conferenceCallInfo": "conferenceCallInfo"; "outgoingContactName": "outgoingContactName"; }, { "endCallEvent": "endCallEvent"; "incomingCallsNewInfo": "incomingCallsNewInfo"; "minimiseEvent": "minimiseEvent"; "incomingCallInitiated": "incomingCallInitiated"; "isLoadershown": "isLoadershown"; "endIncomingCallEvent": "endIncomingCallEvent"; }, never, never, false, never>;
|
|
222
231
|
}
|
|
@@ -27,6 +27,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
|
|
|
27
27
|
missCallInfo: any;
|
|
28
28
|
connectingIncomingCallId: string;
|
|
29
29
|
newCallConference: any;
|
|
30
|
+
userSettingInfo: any;
|
|
30
31
|
set isDialpadHidden(value: boolean);
|
|
31
32
|
incomingCallData: any;
|
|
32
33
|
incomingCallnotification: any;
|
|
@@ -84,6 +85,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
|
|
|
84
85
|
isSmartDialCall: boolean;
|
|
85
86
|
private isInitialized;
|
|
86
87
|
contactNameForLoader: string;
|
|
88
|
+
contactImgForLoader: string;
|
|
87
89
|
beforeUnloadHandler(event: Event): void;
|
|
88
90
|
constructor(twilioService: TwilioService, extService: ExtensionService, ipService: IpAddressService, extensionService: ExtensionService, cdk: ChangeDetectorRef, router: Router, incomeingCallSocketService: IncomeingCallSocketService);
|
|
89
91
|
private getRemoveParticipants;
|
|
@@ -105,6 +107,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
|
|
|
105
107
|
getContactList(): void;
|
|
106
108
|
getFullName(contact: any): string;
|
|
107
109
|
toggleCallerIdDiv(): void;
|
|
110
|
+
outgoingContactName: string;
|
|
108
111
|
onContactSelect(contact: any): void;
|
|
109
112
|
endCall(): void;
|
|
110
113
|
initiateCall(): Promise<boolean | undefined>;
|
|
@@ -135,6 +138,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
|
|
|
135
138
|
rejectNewIncomingCall(call: Call): void;
|
|
136
139
|
newIncomingCallInitiated(): void;
|
|
137
140
|
incomingCallsNewInfo(data: any): void;
|
|
141
|
+
getUserSettings(): void;
|
|
138
142
|
ngOnDestroy(): void;
|
|
139
143
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialboxComponent, never>;
|
|
140
144
|
static ɵcmp: i0.ɵɵComponentDeclaration<DialboxComponent, "lib-dialbox", never, { "autoOpenOnIncoming": "autoOpenOnIncoming"; "contactInfo": "contactInfo"; "deviceId": "deviceId"; "userId": "userId"; "callAction": "callAction"; "isDialpadHidden": "isDialpadHidden"; "incomingCallData": "incomingCallData"; "incomingCallnotification": "incomingCallnotification"; "updatedTwilioToken": "updatedTwilioToken"; }, { "closeDialpadEvent": "closeDialpadEvent"; "callInitiated": "callInitiated"; "endCallEvent": "endCallEvent"; "minimiseEvent": "minimiseEvent"; "incomingCallsNewInfoEvent": "incomingCallsNewInfoEvent"; "incomingCallInitiated": "incomingCallInitiated"; "conferenceCallList": "conferenceCallList"; "numberDialed": "numberDialed"; }, never, never, false, never>;
|
|
@@ -42,8 +42,9 @@ export declare class TwilioService {
|
|
|
42
42
|
conferenceCallInfo: any;
|
|
43
43
|
isShowIncomingCall: boolean;
|
|
44
44
|
acceptedCallList: Call[];
|
|
45
|
-
private
|
|
46
|
-
|
|
45
|
+
private spareDevice;
|
|
46
|
+
spareDeviceReady: boolean;
|
|
47
|
+
private extraDevices;
|
|
47
48
|
constructor(http: HttpClient, extensionService: ExtensionService);
|
|
48
49
|
private initializeToken;
|
|
49
50
|
initializeTwilioDevice(deviceId: any): void;
|
|
@@ -61,6 +62,9 @@ export declare class TwilioService {
|
|
|
61
62
|
toggleCoutryCodeToast(val: any): Observable<[]>;
|
|
62
63
|
getToNumber(dialledNo: string, isoCode: string): Observable<[]>;
|
|
63
64
|
prepareDevice2ForIncomingCall(): void;
|
|
65
|
+
onConcurrentCallAccepted(acceptedCall: any): void;
|
|
66
|
+
releaseConcurrentCallDevice(callSid: string): void;
|
|
67
|
+
teardownSpareDevicesIfIdle(): void;
|
|
64
68
|
destroyDevice2(): void;
|
|
65
69
|
addIncomingParticipant(participantId: string, conferenceId: string): Observable<[]>;
|
|
66
70
|
connect(data?: any): any;
|