@vgroup/dialbox 0.6.21 → 0.6.23
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 +143 -15
- package/esm2020/lib/dialbox.component.mjs +3 -3
- package/fesm2015/vgroup-dialbox.mjs +144 -18
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +145 -18
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/components/call-progress/call-progress.component.d.ts +14 -2
- package/package.json +1 -1
|
@@ -4,11 +4,13 @@ import { ExtensionService } from '../../service/extension.service';
|
|
|
4
4
|
import { TwilioService } from '../../service/twilio.service';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
import { IncomeingCallSocketService } from '../../service/incomeing-call-socket.service';
|
|
7
|
+
import { IpAddressService } from '../../service/ip-address.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class CallProgressComponent implements OnInit, OnChanges {
|
|
9
10
|
private extensionService;
|
|
10
11
|
private cdr;
|
|
11
12
|
private twilioService;
|
|
13
|
+
private ipService;
|
|
12
14
|
private incomeingCallSocketService;
|
|
13
15
|
callData: any;
|
|
14
16
|
selectedCallerId: any;
|
|
@@ -70,13 +72,19 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
|
|
|
70
72
|
filteredParticipentList: any;
|
|
71
73
|
showButton: boolean;
|
|
72
74
|
isRinging: boolean;
|
|
73
|
-
|
|
75
|
+
isDirectCallOptionShow: boolean;
|
|
76
|
+
dialAlert: {
|
|
77
|
+
msg: string;
|
|
78
|
+
show: boolean;
|
|
79
|
+
};
|
|
80
|
+
constructor(extensionService: ExtensionService, cdr: ChangeDetectorRef, twilioService: TwilioService, ipService: IpAddressService, incomeingCallSocketService: IncomeingCallSocketService);
|
|
74
81
|
ngOnInit(): void;
|
|
75
82
|
ngOnChanges(changes: SimpleChanges): void;
|
|
76
83
|
getStatus(res: any): any;
|
|
77
84
|
GetContactsList(): void;
|
|
78
85
|
addRes: any;
|
|
79
86
|
startCall(callData: any): Promise<any>;
|
|
87
|
+
onMuteUser(c: any): void;
|
|
80
88
|
onHoldCall(c: any): void;
|
|
81
89
|
onEndIncomingCall(): Promise<void>;
|
|
82
90
|
onEndCall(c: any, isAllCallEnd?: boolean, isContect?: boolean): Promise<boolean>;
|
|
@@ -104,7 +112,11 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
|
|
|
104
112
|
toggleContactsPanel(isRemove?: boolean): void;
|
|
105
113
|
addRemoveParticipant(): void;
|
|
106
114
|
add(data?: any): Promise<void>;
|
|
107
|
-
callContact(contact: any): Promise<any>;
|
|
115
|
+
callContact(contact: any, isUnsavedNumber?: boolean): Promise<any>;
|
|
116
|
+
CallToUnsavedNumber(number: string): Promise<boolean>;
|
|
117
|
+
getToNumber(dialedNumber: string): Promise<any>;
|
|
118
|
+
isInvalidNumber(number: string): Promise<boolean>;
|
|
119
|
+
showDialAlert(message: string): void;
|
|
108
120
|
getAllParticipants(conferenceSid: string): void;
|
|
109
121
|
acceptConcurrentCall(incomingCall: any): void;
|
|
110
122
|
swapCalls(callInfo: any, isConferenceCall?: boolean): Promise<void>;
|