@vgroup/dialbox 0.0.36 → 0.0.38
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 +2 -4
- package/esm2020/lib/dialbox.component.mjs +32 -24
- package/esm2020/lib/service/dialpad.service.mjs +39 -0
- package/fesm2015/vgroup-dialbox.mjs +66 -26
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +65 -25
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/dialbox.component.d.ts +7 -5
- package/lib/service/dialpad.service.d.ts +10 -0
- package/package.json +1 -1
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TwilioService } from './service/twilio.service';
|
|
3
3
|
import { ExtensionService } from './service/extension.service';
|
|
4
4
|
import { MatDialog } from '@angular/material/dialog';
|
|
5
5
|
import { IpAddressService } from './service/ip-address.service';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
|
+
import { DialpadService } from './service/dialpad.service';
|
|
7
8
|
import { Call } from '@twilio/voice-sdk';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class DialboxComponent implements OnInit, AfterViewInit, OnChanges {
|
|
10
|
+
export declare class DialboxComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
10
11
|
private twilioService;
|
|
11
12
|
private extService;
|
|
12
13
|
private dialog;
|
|
13
14
|
private ipService;
|
|
14
15
|
private extensionService;
|
|
15
16
|
private router;
|
|
16
|
-
|
|
17
|
+
private dialpadService;
|
|
18
|
+
isDialpadVisible: boolean;
|
|
17
19
|
closeDialpadEvent: EventEmitter<void>;
|
|
18
20
|
callInitiated: EventEmitter<any>;
|
|
19
21
|
endCallEvent: EventEmitter<void>;
|
|
@@ -61,7 +63,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
|
|
|
61
63
|
callPreference: any;
|
|
62
64
|
shakeDedicatedBtn: boolean;
|
|
63
65
|
isSmartDialCall: boolean;
|
|
64
|
-
constructor(twilioService: TwilioService, extService: ExtensionService, dialog: MatDialog, ipService: IpAddressService, extensionService: ExtensionService, router: Router);
|
|
66
|
+
constructor(twilioService: TwilioService, extService: ExtensionService, dialog: MatDialog, ipService: IpAddressService, extensionService: ExtensionService, router: Router, dialpadService: DialpadService);
|
|
65
67
|
ngOnInit(): void;
|
|
66
68
|
getUserInformation(incomingCallData: any): void;
|
|
67
69
|
fromEntries(entries: [string, any][]): Record<string, any>;
|
|
@@ -108,5 +110,5 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
|
|
|
108
110
|
incomingCallsNewInfo(data: any): void;
|
|
109
111
|
ngOnDestroy(): void;
|
|
110
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialboxComponent, never>;
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialboxComponent, "lib-dialbox", never, {
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialboxComponent, "lib-dialbox", never, {}, { "closeDialpadEvent": "closeDialpadEvent"; "callInitiated": "callInitiated"; "endCallEvent": "endCallEvent"; "minimiseEvent": "minimiseEvent"; "incomingCallsNewInfoEvent": "incomingCallsNewInfoEvent"; "incomingCallInitiated": "incomingCallInitiated"; "numberDialed": "numberDialed"; }, never, never, false, never>;
|
|
112
114
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DialpadService {
|
|
3
|
+
private dialpadHiddenSubject;
|
|
4
|
+
dialpadHidden$: import("rxjs").Observable<boolean>;
|
|
5
|
+
show(): void;
|
|
6
|
+
hide(): void;
|
|
7
|
+
toggle(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialpadService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DialpadService>;
|
|
10
|
+
}
|