@vgroup/dialbox 0.7.17 → 0.7.19

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.
@@ -128,6 +128,10 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
128
128
  phone: string;
129
129
  img?: string;
130
130
  };
131
+ outgoingContactName: string;
132
+ showLeaveConfirmationModal: boolean;
133
+ leaveConfParticipant: any;
134
+ leaveConfConferenceName: string;
131
135
  constructor(extensionService: ExtensionService, cdr: ChangeDetectorRef, twilioService: TwilioService, ipService: IpAddressService, incomeingCallSocketService: IncomeingCallSocketService);
132
136
  ngOnInit(): void;
133
137
  ngOnChanges(changes: SimpleChanges): void;
@@ -217,7 +221,12 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
217
221
  getName(number: any): string | null;
218
222
  getImg(number: any): any;
219
223
  get showEndAllButton(): boolean;
224
+ confirmLeaveParticipant(c: any): void;
225
+ isInMultipleConferences(): boolean;
226
+ confirmLeave(): void;
227
+ cancelLeave(): void;
228
+ get activeParticipantsCount(): number;
220
229
  ngOnDestroy(): void;
221
230
  static ɵfac: i0.ɵɵFactoryDeclaration<CallProgressComponent, never>;
222
- 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"; }, { "endCallEvent": "endCallEvent"; "incomingCallsNewInfo": "incomingCallsNewInfo"; "minimiseEvent": "minimiseEvent"; "incomingCallInitiated": "incomingCallInitiated"; "isLoadershown": "isLoadershown"; "endIncomingCallEvent": "endIncomingCallEvent"; }, never, never, false, never>;
231
+ 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>;
223
232
  }
@@ -84,8 +84,14 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
84
84
  shakeDedicatedBtn: boolean;
85
85
  isSmartDialCall: boolean;
86
86
  private isInitialized;
87
+ private isReloadConfirmed;
87
88
  contactNameForLoader: string;
88
- beforeUnloadHandler(event: Event): void;
89
+ contactImgForLoader: string;
90
+ handleRefreshShortcut(event: KeyboardEvent): void;
91
+ private confirmReloadDuringCall;
92
+ beforeUnloadHandler(event: BeforeUnloadEvent): true | undefined;
93
+ unloadHandler(): void;
94
+ private removeParticipantsOnUnload;
89
95
  constructor(twilioService: TwilioService, extService: ExtensionService, ipService: IpAddressService, extensionService: ExtensionService, cdk: ChangeDetectorRef, router: Router, incomeingCallSocketService: IncomeingCallSocketService);
90
96
  private getRemoveParticipants;
91
97
  private initializeTwilio;
@@ -106,6 +112,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
106
112
  getContactList(): void;
107
113
  getFullName(contact: any): string;
108
114
  toggleCallerIdDiv(): void;
115
+ outgoingContactName: string;
109
116
  onContactSelect(contact: any): void;
110
117
  endCall(): void;
111
118
  initiateCall(): Promise<boolean | undefined>;
@@ -29,7 +29,7 @@ export declare class ExtensionService {
29
29
  isInputFocus$: BehaviorSubject<boolean>;
30
30
  token: string;
31
31
  isNewContactAdded: BehaviorSubject<boolean>;
32
- isAcceptIIncomingCall: BehaviorSubject<string>;
32
+ isAcceptIIncomingCall: BehaviorSubject<any>;
33
33
  isLoadershow: BehaviorSubject<boolean>;
34
34
  isProfileUpdated: BehaviorSubject<boolean>;
35
35
  private callerIdSubject;
@@ -42,8 +42,10 @@ export declare class TwilioService {
42
42
  conferenceCallInfo: any;
43
43
  isShowIncomingCall: boolean;
44
44
  acceptedCallList: Call[];
45
- private device2;
46
- device2Ready: boolean;
45
+ private spareDevice;
46
+ spareDeviceReady: boolean;
47
+ private extraDevices;
48
+ incomingCallsMap: Map<string, any>;
47
49
  constructor(http: HttpClient, extensionService: ExtensionService);
48
50
  private initializeToken;
49
51
  initializeTwilioDevice(deviceId: any): void;
@@ -60,7 +62,12 @@ export declare class TwilioService {
60
62
  deletePhoto(id: string): Observable<[]>;
61
63
  toggleCoutryCodeToast(val: any): Observable<[]>;
62
64
  getToNumber(dialledNo: string, isoCode: string): Observable<[]>;
65
+ private trackIncomingCall;
66
+ getIncomingCallById(id: any): any;
63
67
  prepareDevice2ForIncomingCall(): void;
68
+ onConcurrentCallAccepted(acceptedCall: any): void;
69
+ releaseConcurrentCallDevice(callSid: string): void;
70
+ teardownSpareDevicesIfIdle(): void;
64
71
  destroyDevice2(): void;
65
72
  addIncomingParticipant(participantId: string, conferenceId: string): Observable<[]>;
66
73
  connect(data?: any): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vgroup/dialbox",
3
- "version": "0.7.17",
3
+ "version": "0.7.19",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
Binary file