@vgroup/dialbox 0.8.28 → 0.8.30
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 +77 -4
- package/esm2020/lib/service/clearcall-live.service.mjs +9 -7
- package/fesm2015/vgroup-dialbox.mjs +88 -11
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +84 -9
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/components/call-progress/call-progress.component.d.ts +20 -1
- package/lib/service/clearcall-live.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Router } from '@angular/router';
|
|
2
|
-
import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges, QueryList } from '@angular/core';
|
|
3
3
|
import { ClearCallLiveService, ClearCallStatus } from '../../service/clearcall-live.service';
|
|
4
4
|
import { Call, Device } from '@twilio/voice-sdk';
|
|
5
5
|
import { ExtensionService } from '../../service/extension.service';
|
|
@@ -277,7 +277,11 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
277
277
|
private unholdPendingConference;
|
|
278
278
|
showInsightsPanel: boolean;
|
|
279
279
|
private lastTranscriptSig;
|
|
280
|
+
private lastSuggestionSig;
|
|
280
281
|
transcriptListRef?: ElementRef<HTMLElement>;
|
|
282
|
+
suggestScrollRefs?: QueryList<ElementRef<HTMLElement>>;
|
|
283
|
+
/** Newest suggestion of a group gets the prominent style, the earlier ones are toned down. */
|
|
284
|
+
isLatest(items: any[], s: any): boolean;
|
|
281
285
|
get insightsStatus(): ClearCallStatus;
|
|
282
286
|
get insightsStatusText(): string;
|
|
283
287
|
/** Sentiment mapped from ClearCall's 0–100 to the bar's -100 (negative) .. +100 (positive). */
|
|
@@ -285,6 +289,13 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
285
289
|
get hasSentiment(): boolean;
|
|
286
290
|
get insightsSentimentLabel(): string;
|
|
287
291
|
get insightsSuggestions(): import("../../service/clearcall-live.service").InsightSuggestion[];
|
|
292
|
+
/** The two suggestion groups shown in place of the old single "Live Suggestions" list. */
|
|
293
|
+
get insightsSections(): {
|
|
294
|
+
key: string;
|
|
295
|
+
title: string;
|
|
296
|
+
icon: string;
|
|
297
|
+
items: import("../../service/clearcall-live.service").InsightSuggestion[];
|
|
298
|
+
}[];
|
|
288
299
|
get insightsTranscript(): import("../../service/clearcall-live.service").InsightTranscriptLine[];
|
|
289
300
|
ngAfterViewChecked(): void;
|
|
290
301
|
trackById: (_: number, s: {
|
|
@@ -295,6 +306,14 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
295
306
|
}) => string;
|
|
296
307
|
private startInsights;
|
|
297
308
|
toggleInsightsPanel(): void;
|
|
309
|
+
insightsFullscreen: boolean;
|
|
310
|
+
fsKeypadOpen: boolean;
|
|
311
|
+
toggleInsightsFullscreen(): void;
|
|
312
|
+
/** The participants panel belongs to the regular UI: leave full screen, then show it. */
|
|
313
|
+
openParticipantsFromFullscreen(): void;
|
|
314
|
+
/** Who the call is with, for the full screen bottom bar (mirrors the active-call view's logic). */
|
|
315
|
+
get fsCallName(): string;
|
|
316
|
+
get fsCallNumber(): string;
|
|
298
317
|
/** Take the user to the ClearCall settings page to enable a disabled insight feature. */
|
|
299
318
|
openTranscriptionSettings(): void;
|
|
300
319
|
toggleSettingsPanel(): void;
|
|
@@ -20,6 +20,7 @@ export interface InsightSuggestion {
|
|
|
20
20
|
id: string;
|
|
21
21
|
kind: 'reply' | 'coaching';
|
|
22
22
|
text: string;
|
|
23
|
+
time: string;
|
|
23
24
|
signal?: string;
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
@@ -66,6 +67,7 @@ export declare class ClearCallLiveService {
|
|
|
66
67
|
private upsertInterim;
|
|
67
68
|
private addFinal;
|
|
68
69
|
private trimTranscript;
|
|
70
|
+
/** Oldest first, newest last (chat order). Keeps the latest MAX_SUGGESTIONS of each kind. */
|
|
69
71
|
private pushSuggestion;
|
|
70
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClearCallLiveService, never>;
|
|
71
73
|
static ɵprov: i0.ɵɵInjectableDeclaration<ClearCallLiveService>;
|