@vgroup/dialbox 0.6.1 → 0.6.2-2.1

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.
@@ -37,6 +37,7 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
37
37
  isOutgoingCall: boolean;
38
38
  incomingCallDiv: boolean;
39
39
  incomingCallInitiated: EventEmitter<void>;
40
+ isLoadershow: EventEmitter<boolean>;
40
41
  endIncomingCallEvent: EventEmitter<void>;
41
42
  callSid: any;
42
43
  isRecording: boolean;
@@ -69,6 +70,7 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
69
70
  filteredParticipentList: any;
70
71
  showButton: boolean;
71
72
  isRinging: boolean;
73
+ isDirectCallOptionShow: boolean;
72
74
  constructor(extensionService: ExtensionService, cdr: ChangeDetectorRef, twilioService: TwilioService, incomeingCallSocketService: IncomeingCallSocketService);
73
75
  ngOnInit(): void;
74
76
  ngOnChanges(changes: SimpleChanges): void;
@@ -104,6 +106,7 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
104
106
  addRemoveParticipant(): void;
105
107
  add(data?: any): Promise<void>;
106
108
  callContact(contact: any): Promise<any>;
109
+ CallToUnsavedNumber(number: string): Promise<void>;
107
110
  getAllParticipants(conferenceSid: string): void;
108
111
  acceptConcurrentCall(incomingCall: any): void;
109
112
  swapCalls(callInfo: any, isConferenceCall?: boolean): Promise<void>;
@@ -139,5 +142,5 @@ export declare class CallProgressComponent implements OnInit, OnChanges {
139
142
  toggleText(): void;
140
143
  ngOnDestroy(): void;
141
144
  static ɵfac: i0.ɵɵFactoryDeclaration<CallProgressComponent, never>;
142
- static ɵcmp: i0.ɵɵComponentDeclaration<CallProgressComponent, "lib-call-progress", never, { "callData": "callData"; "selectedCallerId": "selectedCallerId"; "newIncomingCallData": "newIncomingCallData"; "newIncomingCallsList": "newIncomingCallsList"; "deviceId": "deviceId"; "conferenceCallInfo": "conferenceCallInfo"; }, { "endCallEvent": "endCallEvent"; "incomingCallsNewInfo": "incomingCallsNewInfo"; "minimiseEvent": "minimiseEvent"; "incomingCallInitiated": "incomingCallInitiated"; "endIncomingCallEvent": "endIncomingCallEvent"; }, never, never, false, never>;
145
+ static ɵcmp: i0.ɵɵComponentDeclaration<CallProgressComponent, "lib-call-progress", never, { "callData": "callData"; "selectedCallerId": "selectedCallerId"; "newIncomingCallData": "newIncomingCallData"; "newIncomingCallsList": "newIncomingCallsList"; "deviceId": "deviceId"; "conferenceCallInfo": "conferenceCallInfo"; }, { "endCallEvent": "endCallEvent"; "incomingCallsNewInfo": "incomingCallsNewInfo"; "minimiseEvent": "minimiseEvent"; "incomingCallInitiated": "incomingCallInitiated"; "isLoadershow": "isLoadershow"; "endIncomingCallEvent": "endIncomingCallEvent"; }, never, never, false, never>;
143
146
  }
@@ -21,6 +21,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
21
21
  contactInfo: any;
22
22
  deviceId: any;
23
23
  userId: any;
24
+ isLoadershow: boolean;
24
25
  isIncomingCallnotification: any;
25
26
  notificationCallList: any;
26
27
  set isDialpadHidden(value: boolean);
@@ -76,7 +77,9 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
76
77
  shakeDedicatedBtn: boolean;
77
78
  isSmartDialCall: boolean;
78
79
  private isInitialized;
80
+ beforeUnloadHandler(event: Event): void;
79
81
  constructor(twilioService: TwilioService, extService: ExtensionService, dialog: MatDialog, ipService: IpAddressService, extensionService: ExtensionService, cdk: ChangeDetectorRef, router: Router, incomeingCallSocketService: IncomeingCallSocketService);
82
+ private getRemoveParticipants;
80
83
  private initializeTwilio;
81
84
  ngOnInit(): void;
82
85
  getUserInformation(incomingCallData: any): void;
@@ -112,6 +115,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
112
115
  isMinimised: boolean;
113
116
  onMinimise(isMinimised: boolean): void;
114
117
  handleNumberPaste(event: ClipboardEvent): void;
118
+ onLoadershow(event: any): void;
115
119
  onEnter(num: string): void;
116
120
  getUserCallSetting(): void;
117
121
  onDedicatedNumSelect(id: any): void;
@@ -3,13 +3,15 @@ import * as i1 from "./dialbox.component";
3
3
  import * as i2 from "./components/call-progress/call-progress.component";
4
4
  import * as i3 from "./components/caller-id-dialog/caller-id-dialog.component";
5
5
  import * as i4 from "./components/call-progress/incoming-call/incoming-call.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "@angular/forms";
8
- import * as i7 from "@angular/common/http";
9
- import * as i8 from "@angular/router";
10
- import * as i9 from "@angular/platform-browser";
6
+ import * as i5 from "./shared/short-press.directive";
7
+ import * as i6 from "./shared/long-press.directive";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@angular/forms";
10
+ import * as i9 from "@angular/common/http";
11
+ import * as i10 from "@angular/router";
12
+ import * as i11 from "@angular/platform-browser";
11
13
  export declare class DialboxModule {
12
14
  static ɵfac: i0.ɵɵFactoryDeclaration<DialboxModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialboxModule, [typeof i1.DialboxComponent, typeof i2.CallProgressComponent, typeof i3.CallerIdDialogComponent, typeof i4.IncomingCallComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.HttpClientModule, typeof i8.RouterLink, typeof i8.RouterModule, typeof i9.BrowserModule], [typeof i1.DialboxComponent, typeof i4.IncomingCallComponent, typeof i2.CallProgressComponent, typeof i3.CallerIdDialogComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialboxModule, [typeof i1.DialboxComponent, typeof i2.CallProgressComponent, typeof i3.CallerIdDialogComponent, typeof i4.IncomingCallComponent, typeof i5.ShortPressDirective, typeof i6.LongPressDirective], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i9.HttpClientModule, typeof i10.RouterLink, typeof i10.RouterModule, typeof i11.BrowserModule], [typeof i1.DialboxComponent, typeof i4.IncomingCallComponent, typeof i2.CallProgressComponent, typeof i3.CallerIdDialogComponent, typeof i5.ShortPressDirective, typeof i6.LongPressDirective]>;
14
16
  static ɵinj: i0.ɵɵInjectorDeclaration<DialboxModule>;
15
17
  }
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LongPressDirective {
4
+ longPress: EventEmitter<any>;
5
+ private _timeout;
6
+ onMouseDown(e: any): void;
7
+ onMouseUp(): void;
8
+ onMouseLeave(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<LongPressDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LongPressDirective, "[longPress]", never, {}, { "longPress": "longPress"; }, never, never, false, never>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ShortPressDirective {
4
+ shortPress: EventEmitter<any>;
5
+ private _timeout;
6
+ private _isShort;
7
+ onMouseDown(e: any): void;
8
+ onMouseUp(e: any): void;
9
+ onMouseLeave(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShortPressDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ShortPressDirective, "[shortPress]", never, {}, { "shortPress": "shortPress"; }, never, never, false, never>;
12
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vgroup/dialbox",
3
- "version": "0.6.01",
3
+ "version": "0.6.22.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
package/public-api.d.ts CHANGED
@@ -3,3 +3,5 @@ export * from './lib/dialbox.module';
3
3
  export * from './lib/components/call-progress/call-progress.component';
4
4
  export * from './lib/components/call-progress/incoming-call/incoming-call.component';
5
5
  export * from './lib/components/caller-id-dialog/caller-id-dialog.component';
6
+ export * from './lib/shared/long-press.directive';
7
+ export * from './lib/shared/short-press.directive';