@posiwise/shared-components 0.0.190 → 0.0.193
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/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { TemplateRef, ElementRef, EventEmitter, Injector, ChangeDetectorRef, OnInit, OnDestroy, AfterViewInit, OnChanges, SimpleChanges, Type, ViewContainerRef, AfterContentInit, PipeTransform } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i35 from '@ng-bootstrap/ng-bootstrap';
|
|
4
4
|
import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
5
5
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
6
|
import { MenuItem } from 'primeng/api';
|
|
7
7
|
import moment from 'moment';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i46 from 'ngx-daterangepicker-material';
|
|
9
9
|
import { DaterangepickerDirective } from 'ngx-daterangepicker-material';
|
|
10
10
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
11
11
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
12
12
|
import { User, Subscription } from '@posiwise/common-utilities';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i34 from '@angular/router';
|
|
14
14
|
import { Router } from '@angular/router';
|
|
15
15
|
import { AppConfigService } from '@posiwise/app-config-service';
|
|
16
|
-
import { AuthService, MCPFieldDiff, MCPOrchestratorService, LocalStorage, BrainSocketService, GroupService, SubscriptionService, DataService, NumberPickerService, FeatureFlagService, UserService, PermissionService, MainApiHttpService } from '@posiwise/common-services';
|
|
16
|
+
import { AuthService, MCPFieldDiff, BrainVoiceService, VoiceChatService, MCPOrchestratorService, LocalStorage, BrainSocketService, GroupService, SubscriptionService, DataService, NumberPickerService, FeatureFlagService, UserService, PermissionService, MainApiHttpService } from '@posiwise/common-services';
|
|
17
17
|
import * as rxjs from 'rxjs';
|
|
18
18
|
import { Observable } from 'rxjs';
|
|
19
19
|
import { AppState } from '@posiwise/app-store';
|
|
@@ -24,17 +24,17 @@ import * as i7 from '@posiwise/app-loader';
|
|
|
24
24
|
import * as i9 from '@posiwise/directives';
|
|
25
25
|
import * as i8 from '@posiwise/core-transloco';
|
|
26
26
|
import * as i12 from 'primeng/tooltip';
|
|
27
|
-
import * as
|
|
28
|
-
import * as
|
|
27
|
+
import * as i37 from 'primeng/table';
|
|
28
|
+
import * as i38 from 'primeng/tabs';
|
|
29
29
|
import * as i10 from 'primeng/button';
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
30
|
+
import * as i40 from 'primeng/select';
|
|
31
|
+
import * as i41 from 'primeng/multiselect';
|
|
32
32
|
import * as i13 from 'primeng/progressspinner';
|
|
33
33
|
import * as i14 from 'primeng/autocomplete';
|
|
34
|
-
import * as
|
|
35
|
-
import * as
|
|
36
|
-
import * as
|
|
37
|
-
import * as
|
|
34
|
+
import * as i44 from 'ngx-image-cropper';
|
|
35
|
+
import * as i45 from 'ngx-ui-switch';
|
|
36
|
+
import * as i47 from '@posiwise/pipes';
|
|
37
|
+
import * as i48 from '@angular/common';
|
|
38
38
|
import * as i16 from '@posiwise/utils';
|
|
39
39
|
import * as i15 from '@angular/cdk/drag-drop';
|
|
40
40
|
|
|
@@ -338,6 +338,19 @@ declare class ComingSoonComponent {
|
|
|
338
338
|
static ɵcmp: i0.ɵɵComponentDeclaration<ComingSoonComponent, "pw-coming-soon", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
+
/**
|
|
342
|
+
* A compact icon action rendered in the sidebar header row (before the close
|
|
343
|
+
* button). `id` MUST match a public method name on the mounted panel component
|
|
344
|
+
* — the shell invokes `componentRef.instance[id]()` when the action is clicked.
|
|
345
|
+
*/
|
|
346
|
+
interface SidebarHeaderAction {
|
|
347
|
+
/** Method name to invoke on the mounted panel instance (e.g. 'newChat'). */
|
|
348
|
+
id: string;
|
|
349
|
+
/** Fontawesome class string, e.g. 'fas fa-plus'. */
|
|
350
|
+
icon: string;
|
|
351
|
+
/** Accessible label + native tooltip. */
|
|
352
|
+
ariaLabel: string;
|
|
353
|
+
}
|
|
341
354
|
/**
|
|
342
355
|
* Interface for sidebar content that modules can provide
|
|
343
356
|
*/
|
|
@@ -366,6 +379,18 @@ interface SidebarContent {
|
|
|
366
379
|
* Tooltip text shown on hover
|
|
367
380
|
*/
|
|
368
381
|
tooltip?: string;
|
|
382
|
+
/**
|
|
383
|
+
* Optional compact status shown inline after the title in the header row
|
|
384
|
+
* (leading green dot). Costs no extra vertical space. e.g. the Brain panel's
|
|
385
|
+
* 'Connected · long-term memory on'. Panels that omit it render title-only.
|
|
386
|
+
*/
|
|
387
|
+
status?: string;
|
|
388
|
+
/**
|
|
389
|
+
* Optional compact icon actions rendered in the header row before the close
|
|
390
|
+
* button (e.g. the Brain panel's 'New chat'). Each action's `id` is invoked
|
|
391
|
+
* as a method on the mounted panel instance.
|
|
392
|
+
*/
|
|
393
|
+
headerActions?: SidebarHeaderAction[];
|
|
369
394
|
}
|
|
370
395
|
/**
|
|
371
396
|
* CollapsibleSidebarService manages dynamic sidebar content
|
|
@@ -477,6 +502,8 @@ declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDe
|
|
|
477
502
|
ngOnDestroy(): void;
|
|
478
503
|
/** Register (idempotently) the Assistant panel under the given brand. */
|
|
479
504
|
private registerBrainPanel;
|
|
505
|
+
/** Delegate a header action to the same-named method on the mounted panel. */
|
|
506
|
+
invokeHeaderAction(action: SidebarHeaderAction): void;
|
|
480
507
|
/**
|
|
481
508
|
* Load and render dynamic component based on sidebar content
|
|
482
509
|
*/
|
|
@@ -489,6 +516,14 @@ declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDe
|
|
|
489
516
|
static ngAcceptInputType_embedInLayout: unknown;
|
|
490
517
|
}
|
|
491
518
|
|
|
519
|
+
interface BrainChatPrompt {
|
|
520
|
+
text: string;
|
|
521
|
+
icon: string;
|
|
522
|
+
}
|
|
523
|
+
interface BrainChatQuickAction extends BrainChatPrompt {
|
|
524
|
+
label: string;
|
|
525
|
+
}
|
|
526
|
+
|
|
492
527
|
/**
|
|
493
528
|
* Identity of the Conversational UI Builder dynamic page the user is
|
|
494
529
|
* currently viewing (#933 — page-aware Brain). The dynamic-page host sets
|
|
@@ -535,6 +570,52 @@ interface ChatMessage {
|
|
|
535
570
|
* Controls whether the bubble renders via safeMarkdown pipe ([innerHTML]) or as plain text (<pre>).
|
|
536
571
|
* Error messages, confirmation summaries, and navigation notices stay plain. */
|
|
537
572
|
markdownEnabled?: boolean;
|
|
573
|
+
/** Epoch ms when the message was created. Optional — messages hydrated
|
|
574
|
+
* from pre-timestamp storage lack it and render without a time. */
|
|
575
|
+
at?: number;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Drives mic dictation for the Brain chat composer (#22).
|
|
580
|
+
*
|
|
581
|
+
* Toggles recording, folds the partial/final transcripts brain-api relays from
|
|
582
|
+
* Amazon Transcribe into the chat draft — preserving any text the user already
|
|
583
|
+
* typed — and surfaces a friendly status (listening / processing / error) so
|
|
584
|
+
* the user always knows what's happening. Lives outside the component to
|
|
585
|
+
* respect the helper-delegation pattern the chat component already uses
|
|
586
|
+
* (persistence, navigation, diff, etc.) and to keep that component small.
|
|
587
|
+
*/
|
|
588
|
+
type DictationPhase = 'idle' | 'listening' | 'processing';
|
|
589
|
+
declare class BrainChatDictation {
|
|
590
|
+
private readonly voice;
|
|
591
|
+
private readonly getDraft;
|
|
592
|
+
private readonly setDraft;
|
|
593
|
+
private readonly changed;
|
|
594
|
+
phase: DictationPhase;
|
|
595
|
+
error: string | null;
|
|
596
|
+
private sub?;
|
|
597
|
+
/** Draft text captured at record-start + each finalized phrase, so live
|
|
598
|
+
* partials update without clobbering what the user already typed. */
|
|
599
|
+
private base;
|
|
600
|
+
constructor(voice: BrainVoiceService | undefined, getDraft: () => string, setDraft: (text: string) => void, changed: () => void);
|
|
601
|
+
/** Convenience for the template — kept for the pulsing-button class. */
|
|
602
|
+
get isRecording(): boolean;
|
|
603
|
+
/** Status text shown next to the mic; `null` when nothing to say. */
|
|
604
|
+
get statusMessage(): string | null;
|
|
605
|
+
/** Mic button handler: start if idle, stop if recording. While
|
|
606
|
+
* "processing" we ignore clicks until the server's final transcript
|
|
607
|
+
* lands. */
|
|
608
|
+
toggle(loading: boolean): void;
|
|
609
|
+
stop(): void;
|
|
610
|
+
/** Unconditionally cancel recording and clear any error, from ANY phase —
|
|
611
|
+
* the overlay's End/Close (stop() only finalizes from 'listening', so it
|
|
612
|
+
* can't dismiss the 'processing' or 'error' states). */
|
|
613
|
+
dismiss(): void;
|
|
614
|
+
/** Tear down with the host component (called from ngOnDestroy). */
|
|
615
|
+
dispose(): void;
|
|
616
|
+
private start;
|
|
617
|
+
private apply;
|
|
618
|
+
private fail;
|
|
538
619
|
}
|
|
539
620
|
|
|
540
621
|
interface DiffRow {
|
|
@@ -544,6 +625,60 @@ interface DiffRow {
|
|
|
544
625
|
}
|
|
545
626
|
declare function diffRowsFrom(diff?: MCPFieldDiff | null): DiffRow[];
|
|
546
627
|
|
|
628
|
+
type VoiceChatState = 'idle' | 'listening' | 'processingSpeech' | 'thinking' | 'fetchingData' | 'speaking' | 'completed' | 'error';
|
|
629
|
+
/** Visual treatment hint for the template — keeps animation choice out of HTML. */
|
|
630
|
+
type VoiceChatVisual = 'idle' | 'pulse' | 'loader' | 'wave' | 'error';
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Voice Chat controller for the Brain chat composer (#58) — explicit state
|
|
634
|
+
* machine over the WS relay: listening (start) → thinking (`text` role=user)
|
|
635
|
+
* → fetchingData (`tool_use`) → speaking (`speaking_changed`) → listening.
|
|
636
|
+
* Copy/visual vocab lives in pw-brain-chat-voice-copy.ts (C1 line budget).
|
|
637
|
+
*/
|
|
638
|
+
declare class BrainChatVoiceChat {
|
|
639
|
+
private readonly voice;
|
|
640
|
+
private readonly changed;
|
|
641
|
+
/** Called once per completed spoken exchange so the host can record it. */
|
|
642
|
+
private readonly onTurn?;
|
|
643
|
+
state: VoiceChatState;
|
|
644
|
+
error: string | null;
|
|
645
|
+
available: boolean;
|
|
646
|
+
/** Latest user transcript (Sonic ASR) — enriches the `fetchingData` copy. */
|
|
647
|
+
transcript: string;
|
|
648
|
+
/** Assistant reply text for the current turn — streams in alongside the audio. */
|
|
649
|
+
reply: string;
|
|
650
|
+
private sub?;
|
|
651
|
+
constructor(voice: VoiceChatService | undefined, changed: () => void,
|
|
652
|
+
/** Called once per completed spoken exchange so the host can record it. */
|
|
653
|
+
onTurn?: (userText: string, replyText: string) => void);
|
|
654
|
+
get isActive(): boolean;
|
|
655
|
+
/** Back-compat for callers that only care whether audio is playing. */
|
|
656
|
+
get speaking(): boolean;
|
|
657
|
+
/** Animation family the template renders for the current state. */
|
|
658
|
+
get visual(): VoiceChatVisual;
|
|
659
|
+
/** Status text next to the button; `null` when there's nothing to say. */
|
|
660
|
+
get statusMessage(): string | null;
|
|
661
|
+
/** Resolve once on init so the button shows only when voice-api is reachable. */
|
|
662
|
+
resolveAvailability(): Promise<void>;
|
|
663
|
+
/** Voice Chat button handler: start if idle, stop if active. */
|
|
664
|
+
toggle(loading: boolean): void;
|
|
665
|
+
stop(): void;
|
|
666
|
+
/** Tear down with the host component (called from ngOnDestroy). */
|
|
667
|
+
dispose(): void;
|
|
668
|
+
private start;
|
|
669
|
+
private apply;
|
|
670
|
+
private onText;
|
|
671
|
+
private onSpeakingStarted;
|
|
672
|
+
private onSpeakingStopped;
|
|
673
|
+
/** Hand the completed spoken exchange to the host (thread recording), then
|
|
674
|
+
* reset the per-turn buffers. Safe to call with nothing buffered. */
|
|
675
|
+
private flushTurn;
|
|
676
|
+
/** Move forward only while a session is live (ignore stray events post-stop). */
|
|
677
|
+
private advanceTo;
|
|
678
|
+
private fail;
|
|
679
|
+
private setState;
|
|
680
|
+
}
|
|
681
|
+
|
|
547
682
|
declare class PwBrainChatComponent implements OnInit, OnDestroy {
|
|
548
683
|
private readonly orchestrator;
|
|
549
684
|
private readonly localStorage;
|
|
@@ -553,52 +688,132 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
|
|
|
553
688
|
private readonly dynamicPageCtx;
|
|
554
689
|
private readonly appConfigService?;
|
|
555
690
|
private readonly brainSocket?;
|
|
691
|
+
private readonly brainVoice?;
|
|
692
|
+
private readonly voiceChatService?;
|
|
556
693
|
messages: ChatMessage[];
|
|
557
694
|
draft: string;
|
|
558
695
|
loading: boolean;
|
|
559
696
|
streamingStage: string | null;
|
|
560
|
-
/**
|
|
561
|
-
* Live prose accumulator — set when the orchestrator's SSE stream is
|
|
562
|
-
* emitting `prose` events (brain-api #51 fix #2). Each chunk is
|
|
563
|
-
* appended; the template renders this as a partial assistant bubble
|
|
564
|
-
* with a caret so the user sees words building up instead of a dead
|
|
565
|
-
* spinner. Cleared on `result` / `error` once the canonical assistant
|
|
566
|
-
* message is pushed to `messages`.
|
|
567
|
-
*/
|
|
568
697
|
streamingProse: string | null;
|
|
569
698
|
brandName: string;
|
|
699
|
+
userFirstName?: string;
|
|
700
|
+
readonly suggestedPrompts: readonly BrainChatPrompt[];
|
|
701
|
+
readonly quickActions: readonly BrainChatQuickAction[];
|
|
570
702
|
private conversationId;
|
|
571
703
|
private storage;
|
|
572
704
|
private streamSub?;
|
|
573
705
|
private readonly destroy$;
|
|
574
706
|
readonly diffRows: typeof diffRowsFrom;
|
|
707
|
+
readonly dictation: BrainChatDictation;
|
|
708
|
+
readonly voiceChat: BrainChatVoiceChat;
|
|
575
709
|
private readonly threadRef?;
|
|
576
|
-
constructor(orchestrator: MCPOrchestratorService, localStorage: LocalStorage, router: Router, cdr: ChangeDetectorRef, store: Store<AppState>, dynamicPageCtx: DynamicPageContextService, appConfigService?: AppConfigService, brainSocket?: BrainSocketService);
|
|
710
|
+
constructor(orchestrator: MCPOrchestratorService, localStorage: LocalStorage, router: Router, cdr: ChangeDetectorRef, store: Store<AppState>, dynamicPageCtx: DynamicPageContextService, appConfigService?: AppConfigService, brainSocket?: BrainSocketService, brainVoice?: BrainVoiceService, voiceChatService?: VoiceChatService);
|
|
577
711
|
ngOnInit(): void;
|
|
578
|
-
/**
|
|
579
|
-
* Subscribe to brain-api's server→client push channel (#45). Each pushed
|
|
580
|
-
* message is rendered as an assistant bubble, mirroring `pushAssistant`.
|
|
581
|
-
* Subscribed only after the user is hydrated (storage is set, creds exist);
|
|
582
|
-
* `takeUntil(destroy$)` tears the socket down with the panel.
|
|
583
|
-
*/
|
|
584
712
|
private subscribeToServerPush;
|
|
585
713
|
ngOnDestroy(): void;
|
|
586
714
|
send(): void;
|
|
587
715
|
approve(message: ChatMessage): void;
|
|
588
716
|
cancel(message: ChatMessage): void;
|
|
589
|
-
/** Abort the in-flight request — unsubscribing aborts the fetch (mcp-orchestrator AbortController), then reset the composer so the user can retype. */
|
|
590
717
|
cancelRequest(): void;
|
|
591
718
|
trackByIndex(index: number, _item: ChatMessage): number;
|
|
719
|
+
usePrompt(text: string): void;
|
|
720
|
+
newChat(): void;
|
|
592
721
|
private handleExecuteResponse;
|
|
593
722
|
private applySuccessResult;
|
|
594
723
|
private handleError;
|
|
595
724
|
private persistConversationId;
|
|
596
725
|
private pushAssistant;
|
|
726
|
+
/** Voice session turn completed — record the spoken exchange in the thread
|
|
727
|
+
* so the conversation survives the overlay (plain text: it was speech). */
|
|
728
|
+
private recordVoiceTurn;
|
|
597
729
|
private stick;
|
|
598
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
730
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
599
731
|
static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatComponent, "pw-brain-chat", never, {}, {}, never, never, false, never>;
|
|
600
732
|
}
|
|
601
733
|
|
|
734
|
+
/**
|
|
735
|
+
* Pending-action confirmation panel for the Brain chat bubble — risk badge,
|
|
736
|
+
* target tool, field-level diff, and Approve/Cancel controls. Extracted from
|
|
737
|
+
* the parent component template so `pw-brain-chat.component.html` stays under
|
|
738
|
+
* the C1 200-line cap. Emits back to the parent, which owns the /confirm call
|
|
739
|
+
* and message mutation (approve/cancel).
|
|
740
|
+
*/
|
|
741
|
+
declare class PwBrainChatConfirmComponent {
|
|
742
|
+
pending: PendingConfirmation;
|
|
743
|
+
loading: boolean;
|
|
744
|
+
approveEvent: EventEmitter<void>;
|
|
745
|
+
cancelEvent: EventEmitter<void>;
|
|
746
|
+
readonly diffRows: typeof diffRowsFrom;
|
|
747
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatConfirmComponent, never>;
|
|
748
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatConfirmComponent, "pw-brain-chat-confirm", never, { "pending": { "alias": "pending"; "required": true; }; "loading": { "alias": "loading"; "required": false; }; }, { "approveEvent": "approveEvent"; "cancelEvent": "cancelEvent"; }, never, never, false, never>;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* First-open welcome state for the Brain chat — greeting + suggested-prompt
|
|
753
|
+
* rows. Extracted from the parent template so `pw-brain-chat.component.html`
|
|
754
|
+
* stays under the C1 200-line cap. Emits the picked prompt text; the parent
|
|
755
|
+
* owns send().
|
|
756
|
+
*/
|
|
757
|
+
declare class PwBrainChatWelcomeComponent {
|
|
758
|
+
/** Signed-in user's first name; when set the greeting reads "Hi {name},". */
|
|
759
|
+
userFirstName?: string;
|
|
760
|
+
prompts: readonly BrainChatPrompt[];
|
|
761
|
+
pick: EventEmitter<string>;
|
|
762
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatWelcomeComponent, never>;
|
|
763
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatWelcomeComponent, "pw-brain-chat-welcome", never, { "userFirstName": { "alias": "userFirstName"; "required": false; }; "prompts": { "alias": "prompts"; "required": false; }; }, { "pick": "pick"; }, never, never, false, never>;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
type SonarState = 'listening' | 'processingSpeech' | 'thinking' | 'fetchingData' | 'speaking' | 'error';
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* Sonar voice-session overlay (#51) — a focused takeover over the chat panel
|
|
770
|
+
* that animates the real voice/dictation state machine on an instrument dial.
|
|
771
|
+
* Default change detection: the voice/dictation controllers mutate in place, so
|
|
772
|
+
* the template must re-read them on every parent CD tick. The canvas is driven
|
|
773
|
+
* by its own rAF loop and never needs CD.
|
|
774
|
+
*/
|
|
775
|
+
declare class PwBrainChatVoiceOverlayComponent implements AfterViewInit, OnDestroy {
|
|
776
|
+
private readonly host;
|
|
777
|
+
voice: BrainChatVoiceChat | null;
|
|
778
|
+
dictation: BrainChatDictation | null;
|
|
779
|
+
readonly end: EventEmitter<void>;
|
|
780
|
+
private readonly dialRef?;
|
|
781
|
+
private readonly endBtnRef?;
|
|
782
|
+
private ctx;
|
|
783
|
+
private raf;
|
|
784
|
+
private last;
|
|
785
|
+
private prevState;
|
|
786
|
+
private colors;
|
|
787
|
+
private readonly renderer;
|
|
788
|
+
private readonly reduce;
|
|
789
|
+
constructor(host: ElementRef<HTMLElement>);
|
|
790
|
+
/** The voice controller iff a voice session is live (active or errored). */
|
|
791
|
+
private get activeVoice();
|
|
792
|
+
get isVoice(): boolean;
|
|
793
|
+
get state(): SonarState;
|
|
794
|
+
get isError(): boolean;
|
|
795
|
+
get label(): string;
|
|
796
|
+
get modeTag(): string;
|
|
797
|
+
get transcript(): string;
|
|
798
|
+
get showTranscript(): boolean;
|
|
799
|
+
/** Assistant reply text, streamed live while the audio answer plays. */
|
|
800
|
+
get reply(): string;
|
|
801
|
+
get showReply(): boolean;
|
|
802
|
+
get showSteps(): boolean;
|
|
803
|
+
get stepIndex(): number;
|
|
804
|
+
get stepCaption(): string;
|
|
805
|
+
get coreIcon(): string;
|
|
806
|
+
get hint(): string;
|
|
807
|
+
ngAfterViewInit(): void;
|
|
808
|
+
ngOnDestroy(): void;
|
|
809
|
+
onEnd(): void;
|
|
810
|
+
private readonly frame;
|
|
811
|
+
/** Read theme-aware colours (the --bc-* tokens inherit from .pw-brain-chat). */
|
|
812
|
+
private readColors;
|
|
813
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatVoiceOverlayComponent, never>;
|
|
814
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatVoiceOverlayComponent, "pw-brain-chat-voice-overlay", never, { "voice": { "alias": "voice"; "required": false; }; "dictation": { "alias": "dictation"; "required": false; }; }, { "end": "end"; }, never, never, false, never>;
|
|
815
|
+
}
|
|
816
|
+
|
|
602
817
|
declare class EntityGroupComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
603
818
|
private readonly groupService;
|
|
604
819
|
private readonly subscriptionService;
|
|
@@ -1100,7 +1315,7 @@ declare class RecordsSummaryComponent {
|
|
|
1100
1315
|
|
|
1101
1316
|
declare class ResourceSharedComponentsModule {
|
|
1102
1317
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceSharedComponentsModule, never>;
|
|
1103
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedComponentsModule, [typeof NoDataComponent, typeof InputContainerComponent, typeof CompletionBarComponent, typeof RecordsSummaryComponent], [typeof
|
|
1318
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedComponentsModule, [typeof NoDataComponent, typeof InputContainerComponent, typeof CompletionBarComponent, typeof RecordsSummaryComponent], [typeof i48.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.AppLoaderModule, typeof i8.CoreTranslocoModule, typeof i9.DirectivesModule, typeof i10.ButtonModule, typeof i35.NgbTooltipModule, typeof i12.TooltipModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i15.DragDropModule, typeof i16.FieldErrorDisplayModule, typeof i16.ProfileImageCropperModule, typeof i16.ResourceHeaderModule], [typeof i16.ProfileImageCropperModule, typeof i16.ResourceHeaderModule, typeof InputContainerComponent, typeof NoDataComponent, typeof CompletionBarComponent, typeof RecordsSummaryComponent, typeof i10.ButtonModule, typeof i15.DragDropModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i12.TooltipModule, typeof i16.FieldErrorDisplayModule]>;
|
|
1104
1319
|
static ɵinj: i0.ɵɵInjectorDeclaration<ResourceSharedComponentsModule>;
|
|
1105
1320
|
}
|
|
1106
1321
|
|
|
@@ -1199,7 +1414,7 @@ declare class PwBrainChatThreadDirective {
|
|
|
1199
1414
|
|
|
1200
1415
|
declare class SharedComponentsModule {
|
|
1201
1416
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
|
|
1202
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof ConfirmDialogComponent, typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof PwBrainChatComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof SectionHeadingBlockComponent, typeof DividerBlockComponent, typeof StatCardBlockComponent, typeof DataTableBlockComponent, typeof ChartBlockComponent], [typeof i6.FormsModule, typeof i7.AppLoaderModule, typeof i6.ReactiveFormsModule, typeof i9.DirectivesModule, typeof i8.CoreTranslocoModule, typeof
|
|
1417
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof ConfirmDialogComponent, typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof PwBrainChatComponent, typeof PwBrainChatConfirmComponent, typeof PwBrainChatWelcomeComponent, typeof PwBrainChatVoiceOverlayComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof SectionHeadingBlockComponent, typeof DividerBlockComponent, typeof StatCardBlockComponent, typeof DataTableBlockComponent, typeof ChartBlockComponent], [typeof i6.FormsModule, typeof i7.AppLoaderModule, typeof i6.ReactiveFormsModule, typeof i9.DirectivesModule, typeof i8.CoreTranslocoModule, typeof i34.RouterModule, typeof i35.NgbTooltipModule, typeof i12.TooltipModule, typeof i35.NgbNavModule, typeof i35.NgbModalModule, typeof i37.TableModule, typeof i38.TabsModule, typeof i10.ButtonModule, typeof i40.SelectModule, typeof i41.MultiSelectModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i44.ImageCropperModule, typeof i45.UiSwitchModule, typeof i46.NgxDaterangepickerMd, typeof i47.PipesModule, typeof i48.CommonModule, typeof i48.NgIf, typeof i16.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule, typeof CollapsibleSidebarTriggerDirective, typeof PwCookieBannerComponent, typeof SafeMarkdownPipe, typeof PwBrainChatThreadDirective], [typeof ConfirmDialogComponent, typeof PwCookieBannerComponent, typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof i35.NgbTooltipModule, typeof i12.TooltipModule, typeof i35.NgbNavModule, typeof i35.NgbModalModule, typeof i37.TableModule, typeof i38.TabsModule, typeof i10.ButtonModule, typeof i40.SelectModule, typeof i41.MultiSelectModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i44.ImageCropperModule, typeof i45.UiSwitchModule, typeof i46.NgxDaterangepickerMd, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof CollapsibleSidebarTriggerDirective, typeof PwBrainChatComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof i16.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule]>;
|
|
1203
1418
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
|
|
1204
1419
|
}
|
|
1205
1420
|
|
|
@@ -1255,4 +1470,4 @@ declare function registeredType(type: string): Type<unknown> | null;
|
|
|
1255
1470
|
declare function registeredTypeNames(): string[];
|
|
1256
1471
|
|
|
1257
1472
|
export { AuthenticatorComponent, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarKeyboardShortcutDirective, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CompletionBarComponent, ConfirmDialogComponent, ConfirmDialogService, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, registeredType, registeredTypeNames };
|
|
1258
|
-
export type { ChatMessage, ChatMessageRole, CompletionTier, ConfirmDeleteOptions, ConfirmDialogConfig, ConfirmDialogTone, DynamicPageContext, PendingConfirmation, ResolvedBinding, SidebarContent, UiBinding, UiBlock, UiGrid, UiLayoutConfig, UiLayoutResponse };
|
|
1473
|
+
export type { ChatMessage, ChatMessageRole, CompletionTier, ConfirmDeleteOptions, ConfirmDialogConfig, ConfirmDialogTone, DynamicPageContext, PendingConfirmation, ResolvedBinding, SidebarContent, SidebarHeaderAction, UiBinding, UiBlock, UiGrid, UiLayoutConfig, UiLayoutResponse };
|