@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.
@@ -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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vgroup/dialbox",
3
- "version": "0.8.29",
3
+ "version": "0.8.30",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",