@vgroup/dialbox 0.8.29 → 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 +25 -5
- package/esm2020/lib/service/clearcall-live.service.mjs +9 -7
- package/fesm2015/vgroup-dialbox.mjs +34 -12
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +32 -10
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/components/call-progress/call-progress.component.d.ts +5 -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). */
|
|
@@ -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>;
|