@posiwise/shared-components 0.0.203 → 0.0.205
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
|
-
import { Type, OnInit, AfterViewInit, OnDestroy, ChangeDetectorRef, TemplateRef, ElementRef, EventEmitter, Injector, OnChanges, SimpleChanges, ViewContainerRef, AfterContentInit, PipeTransform } from '@angular/core';
|
|
3
|
-
import * as
|
|
2
|
+
import { Type, OnInit, AfterViewInit, OnDestroy, ChangeDetectorRef, TemplateRef, ElementRef, EventEmitter, Injector, OnChanges, SimpleChanges, ViewContainerRef, AfterContentInit, PipeTransform, InjectionToken } from '@angular/core';
|
|
3
|
+
import * as i36 from '@angular/router';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
5
|
import { AppConfigService } from '@posiwise/app-config-service';
|
|
6
|
-
import { NavEntry, NavigationIndexService, DashboardService, RecentPagesService, CustomToastService, AuthService, MCPFieldDiff, BrainVoiceService, VoiceChatService, MCPOrchestratorService, LocalStorage, BrainSocketService, GroupService, SubscriptionService, DataService, NumberPickerService, FeatureFlagService, UserService, PermissionService, MainApiHttpService } from '@posiwise/common-services';
|
|
6
|
+
import { NavEntry, NavigationIndexService, DashboardService, RecentPagesService, CustomToastService, AuthService, MCPFieldDiff, DirectUploadService, BaseHttpService, MCPUploadCapability, BrainVoiceService, VoiceChatService, MCPOrchestratorService, LocalStorage, BrainSocketService, GroupService, SubscriptionService, DataService, NumberPickerService, FeatureFlagService, UserService, PermissionService, MainApiHttpService } from '@posiwise/common-services';
|
|
7
7
|
export { NavEntry } from '@posiwise/common-services';
|
|
8
8
|
import { TranslocoService } from '@jsverse/transloco';
|
|
9
9
|
import * as rxjs from 'rxjs';
|
|
10
|
-
import { Observable } from 'rxjs';
|
|
11
|
-
import * as
|
|
10
|
+
import { Observable, Subject } from 'rxjs';
|
|
11
|
+
import * as i37 from '@ng-bootstrap/ng-bootstrap';
|
|
12
12
|
import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
13
13
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
14
14
|
import { MenuItem } from 'primeng/api';
|
|
15
15
|
import moment from 'moment';
|
|
16
|
-
import * as
|
|
16
|
+
import * as i48 from 'ngx-daterangepicker-material';
|
|
17
17
|
import { DaterangepickerDirective } from 'ngx-daterangepicker-material';
|
|
18
18
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
19
19
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
@@ -26,17 +26,17 @@ import * as i7 from '@posiwise/app-loader';
|
|
|
26
26
|
import * as i9 from '@posiwise/directives';
|
|
27
27
|
import * as i8 from '@posiwise/core-transloco';
|
|
28
28
|
import * as i12 from 'primeng/tooltip';
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
29
|
+
import * as i39 from 'primeng/table';
|
|
30
|
+
import * as i40 from 'primeng/tabs';
|
|
31
31
|
import * as i10 from 'primeng/button';
|
|
32
|
-
import * as
|
|
33
|
-
import * as
|
|
32
|
+
import * as i42 from 'primeng/select';
|
|
33
|
+
import * as i43 from 'primeng/multiselect';
|
|
34
34
|
import * as i13 from 'primeng/progressspinner';
|
|
35
35
|
import * as i14 from 'primeng/autocomplete';
|
|
36
|
-
import * as
|
|
37
|
-
import * as
|
|
38
|
-
import * as
|
|
39
|
-
import * as
|
|
36
|
+
import * as i46 from 'ngx-image-cropper';
|
|
37
|
+
import * as i47 from 'ngx-ui-switch';
|
|
38
|
+
import * as i49 from '@posiwise/pipes';
|
|
39
|
+
import * as i50 from '@angular/common';
|
|
40
40
|
import * as i16 from '@posiwise/utils';
|
|
41
41
|
import * as i15 from '@angular/cdk/drag-drop';
|
|
42
42
|
|
|
@@ -721,6 +721,82 @@ interface ChatMessage {
|
|
|
721
721
|
* renders a "Documented on: {sourcePage}" provenance chip. Absent → no chip. */
|
|
722
722
|
sourcePage?: string | null;
|
|
723
723
|
}
|
|
724
|
+
/** Lifecycle of a file the user dropped on the composer. */
|
|
725
|
+
/** `choosing`: several upload tools accept this file — held until the user picks one. */
|
|
726
|
+
type ChatAttachmentStatus = 'choosing' | 'uploading' | 'ready' | 'error';
|
|
727
|
+
/**
|
|
728
|
+
* A file staged for the next message. The bytes are POSTed straight to S3 by
|
|
729
|
+
* `DirectUploadService`; what survives here is the opaque `key` the server
|
|
730
|
+
* hands back, which is all that ever reaches the chat request.
|
|
731
|
+
*/
|
|
732
|
+
interface ChatAttachment {
|
|
733
|
+
name: string;
|
|
734
|
+
size: number;
|
|
735
|
+
status: ChatAttachmentStatus;
|
|
736
|
+
/** 0-100 while uploading; 100 once staged. */
|
|
737
|
+
percent: number;
|
|
738
|
+
/** Opaque staging key. Absent until the upload lands. */
|
|
739
|
+
key?: string;
|
|
740
|
+
/** Namespaced tool that consumes this file, from its advertised capability. */
|
|
741
|
+
tool?: string;
|
|
742
|
+
/** That tool's advertised title, e.g. "Set Your Profile Picture". */
|
|
743
|
+
title?: string;
|
|
744
|
+
/** Human-readable failure, shown on the chip. */
|
|
745
|
+
error?: string;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Owns the composer's file attachment: drag state, the upload, and the single
|
|
750
|
+
* staged file. Split out of the component the same way BrainChatDictation and
|
|
751
|
+
* BrainChatVoiceChat are, so the panel stays composable and this is testable
|
|
752
|
+
* without a TestBed.
|
|
753
|
+
*
|
|
754
|
+
* What it may accept is DISCOVERED, not configured: brain-api reports the
|
|
755
|
+
* upload-capable tools this caller can reach, each carrying its own purpose,
|
|
756
|
+
* extensions and size cap. So a product gains a drop affordance by shipping a
|
|
757
|
+
* tool that advertises one — with no change here and none in the host app
|
|
758
|
+
* beyond naming its API.
|
|
759
|
+
*/
|
|
760
|
+
declare class BrainChatAttachment {
|
|
761
|
+
private readonly uploads;
|
|
762
|
+
private readonly apis;
|
|
763
|
+
private readonly subscriptionId;
|
|
764
|
+
private readonly onChange;
|
|
765
|
+
current: ChatAttachment | null;
|
|
766
|
+
private readonly drag;
|
|
767
|
+
private capabilities;
|
|
768
|
+
private readonly choice;
|
|
769
|
+
constructor(uploads: DirectUploadService | null, apis: Record<string, BaseHttpService> | null, subscriptionId: () => number | null, onChange: () => void);
|
|
770
|
+
discover(source: Observable<{
|
|
771
|
+
uploads: MCPUploadCapability[];
|
|
772
|
+
}>, destroy$: Subject<void>): void;
|
|
773
|
+
get enabled(): boolean;
|
|
774
|
+
get busy(): boolean;
|
|
775
|
+
/** Several tools accept the file; nothing is uploaded until one is picked. */
|
|
776
|
+
get choosing(): boolean;
|
|
777
|
+
get choices(): MCPUploadCapability[];
|
|
778
|
+
choiceLabel(capability: MCPUploadCapability): string;
|
|
779
|
+
get ready(): boolean;
|
|
780
|
+
get context(): Record<string, unknown> | null;
|
|
781
|
+
get label(): string;
|
|
782
|
+
get hint(): string;
|
|
783
|
+
get acceptAttr(): string;
|
|
784
|
+
get dragActive(): boolean;
|
|
785
|
+
dragEnter(event: DragEvent): void;
|
|
786
|
+
dragOver(event: DragEvent): void;
|
|
787
|
+
dragLeave(event: DragEvent): void;
|
|
788
|
+
drop(event: DragEvent): void;
|
|
789
|
+
/** Shared by the drop target and the paperclip file input. */
|
|
790
|
+
accept(file: File): void;
|
|
791
|
+
/** The user picked which tool this file is for — only now is it uploaded. */
|
|
792
|
+
choose(capability: MCPUploadCapability): void;
|
|
793
|
+
remove(): void;
|
|
794
|
+
/** Cleared once a planned call used `sent`; a reply asking for details keeps it. */
|
|
795
|
+
clearIfConsumed(sent: ChatAttachment | null): void;
|
|
796
|
+
meta(): string;
|
|
797
|
+
icon(): string;
|
|
798
|
+
private upload;
|
|
799
|
+
}
|
|
724
800
|
|
|
725
801
|
/**
|
|
726
802
|
* Drives mic dictation for the Brain chat composer (#22).
|
|
@@ -837,6 +913,8 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
|
|
|
837
913
|
private readonly brainSocket?;
|
|
838
914
|
private readonly brainVoice?;
|
|
839
915
|
private readonly voiceChatService?;
|
|
916
|
+
private readonly directUpload?;
|
|
917
|
+
private readonly uploadApis?;
|
|
840
918
|
messages: ChatMessage[];
|
|
841
919
|
draft: string;
|
|
842
920
|
loading: boolean;
|
|
@@ -853,11 +931,19 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
|
|
|
853
931
|
readonly diffRows: typeof diffRowsFrom;
|
|
854
932
|
readonly dictation: BrainChatDictation;
|
|
855
933
|
readonly voiceChat: BrainChatVoiceChat;
|
|
934
|
+
readonly attachment: BrainChatAttachment;
|
|
935
|
+
private sentAttachment;
|
|
856
936
|
private readonly threadRef?;
|
|
857
|
-
constructor(orchestrator: MCPOrchestratorService, localStorage: LocalStorage, router: Router, cdr: ChangeDetectorRef, store: Store<AppState>, dynamicPageCtx: DynamicPageContextService, appConfigService?: AppConfigService, brainSocket?: BrainSocketService, brainVoice?: BrainVoiceService, voiceChatService?: VoiceChatService);
|
|
937
|
+
constructor(orchestrator: MCPOrchestratorService, localStorage: LocalStorage, router: Router, cdr: ChangeDetectorRef, store: Store<AppState>, dynamicPageCtx: DynamicPageContextService, appConfigService?: AppConfigService, brainSocket?: BrainSocketService, brainVoice?: BrainVoiceService, voiceChatService?: VoiceChatService, directUpload?: DirectUploadService, uploadApis?: Record<string, BaseHttpService>);
|
|
858
938
|
ngOnInit(): void;
|
|
859
939
|
private subscribeToServerPush;
|
|
860
940
|
ngOnDestroy(): void;
|
|
941
|
+
/**
|
|
942
|
+
* Paperclip path. The input is reset after every pick so choosing the same
|
|
943
|
+
* file twice in a row still fires `change` (the browser suppresses it
|
|
944
|
+
* otherwise, and "nothing happened" is a maddening bug to hit).
|
|
945
|
+
*/
|
|
946
|
+
pickFile(input: HTMLInputElement): void;
|
|
861
947
|
send(): void;
|
|
862
948
|
approve(message: ChatMessage): void;
|
|
863
949
|
cancel(message: ChatMessage): void;
|
|
@@ -874,7 +960,7 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
|
|
|
874
960
|
* so the conversation survives the overlay (plain text: it was speech). */
|
|
875
961
|
private recordVoiceTurn;
|
|
876
962
|
private stick;
|
|
877
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
963
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
878
964
|
static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatComponent, "pw-brain-chat", never, {}, {}, never, never, false, never>;
|
|
879
965
|
}
|
|
880
966
|
|
|
@@ -1204,6 +1290,24 @@ declare class NumberPickerComponent implements OnInit {
|
|
|
1204
1290
|
static ɵcmp: i0.ɵɵComponentDeclaration<NumberPickerComponent, "pw-number-picker", never, { "min": { "alias": "min"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "value": { "alias": "value"; "required": false; }; "pickStartAfter": { "alias": "pickStartAfter"; "required": false; }; "pickTimer": { "alias": "pickTimer"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "postfix": { "alias": "postfix"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "buttonsOrientation": { "alias": "buttonsOrientation"; "required": false; }; "size": { "alias": "size"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "mouseWheel": { "alias": "mouseWheel"; "required": false; }; "arrowKeys": { "alias": "arrowKeys"; "required": false; }; "inputReadOnly": { "alias": "inputReadOnly"; "required": false; }; "showUpButton": { "alias": "showUpButton"; "required": false; }; "showDownButton": { "alias": "showDownButton"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; }, { "valueChange": "valueChange"; "minReached": "minReached"; "maxReached": "maxReached"; "pickStarted": "pickStarted"; "pickStopped": "pickStopped"; "pickUpStarted": "pickUpStarted"; "pickUpStopped": "pickUpStopped"; "pickDownStarted": "pickDownStarted"; "pickDownStopped": "pickDownStopped"; }, never, never, false, never>;
|
|
1205
1291
|
}
|
|
1206
1292
|
|
|
1293
|
+
/**
|
|
1294
|
+
* Green presence indicator shown beside a member's name.
|
|
1295
|
+
*
|
|
1296
|
+
* Feed it `current_sign_in_at` and nothing else. Do NOT pass `last_sign_in_at`, nor the
|
|
1297
|
+
* `current_sign_in_at || last_sign_in_at` fallback the surrounding cells use for the date:
|
|
1298
|
+
* an explicit logout nulls `current_sign_in_at` and rolls its value into `last_sign_in_at`,
|
|
1299
|
+
* so the fallback would light the dot for someone who has just signed out.
|
|
1300
|
+
*
|
|
1301
|
+
* The online window itself lives in the `isOnline` pipe, which is paired with main-api's
|
|
1302
|
+
* activity-refresh interval -- see ONLINE_THRESHOLD_MINUTES.
|
|
1303
|
+
*/
|
|
1304
|
+
declare class OnlineIndicatorComponent {
|
|
1305
|
+
/** The member's `current_sign_in_at` stamp. Never `last_sign_in_at`. */
|
|
1306
|
+
lastSeen: string | Date | null;
|
|
1307
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnlineIndicatorComponent, never>;
|
|
1308
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnlineIndicatorComponent, "pw-online-indicator", never, { "lastSeen": { "alias": "lastSeen"; "required": false; }; }, {}, never, never, false, never>;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1207
1311
|
declare class HeaderComponent extends AppBaseComponent {
|
|
1208
1312
|
private readonly authService;
|
|
1209
1313
|
private readonly cdr;
|
|
@@ -1462,7 +1566,7 @@ declare class RecordsSummaryComponent {
|
|
|
1462
1566
|
|
|
1463
1567
|
declare class ResourceSharedComponentsModule {
|
|
1464
1568
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceSharedComponentsModule, never>;
|
|
1465
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedComponentsModule, [typeof NoDataComponent, typeof InputContainerComponent, typeof CompletionBarComponent, typeof RecordsSummaryComponent], [typeof
|
|
1569
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedComponentsModule, [typeof NoDataComponent, typeof InputContainerComponent, typeof CompletionBarComponent, typeof RecordsSummaryComponent], [typeof i50.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.AppLoaderModule, typeof i8.CoreTranslocoModule, typeof i9.DirectivesModule, typeof i10.ButtonModule, typeof i37.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]>;
|
|
1466
1570
|
static ɵinj: i0.ɵɵInjectorDeclaration<ResourceSharedComponentsModule>;
|
|
1467
1571
|
}
|
|
1468
1572
|
|
|
@@ -1590,7 +1694,7 @@ declare class PwBrainChatThreadDirective {
|
|
|
1590
1694
|
|
|
1591
1695
|
declare class SharedComponentsModule {
|
|
1592
1696
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
|
|
1593
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof CommandPaletteComponent, 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
|
|
1697
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof CommandPaletteComponent, 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 OnlineIndicatorComponent, 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 i36.RouterModule, typeof i37.NgbTooltipModule, typeof i12.TooltipModule, typeof i37.NgbNavModule, typeof i37.NgbModalModule, typeof i39.TableModule, typeof i40.TabsModule, typeof i10.ButtonModule, typeof i42.SelectModule, typeof i43.MultiSelectModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i46.ImageCropperModule, typeof i47.UiSwitchModule, typeof i48.NgxDaterangepickerMd, typeof i49.PipesModule, typeof i50.CommonModule, typeof i50.NgIf, typeof i16.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule, typeof CollapsibleSidebarTriggerDirective, typeof PwCookieBannerComponent, typeof SafeMarkdownPipe, typeof PwBrainChatThreadDirective], [typeof CommandPaletteComponent, typeof ConfirmDialogComponent, typeof PwCookieBannerComponent, typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof i37.NgbTooltipModule, typeof i12.TooltipModule, typeof i37.NgbNavModule, typeof i37.NgbModalModule, typeof i39.TableModule, typeof i40.TabsModule, typeof i10.ButtonModule, typeof i42.SelectModule, typeof i43.MultiSelectModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i46.ImageCropperModule, typeof i47.UiSwitchModule, typeof i48.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 OnlineIndicatorComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof i16.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule]>;
|
|
1594
1698
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
|
|
1595
1699
|
}
|
|
1596
1700
|
|
|
@@ -1645,5 +1749,22 @@ declare const COMPONENT_REGISTRY: Readonly<Record<string, Type<unknown>>>;
|
|
|
1645
1749
|
declare function registeredType(type: string): Type<unknown> | null;
|
|
1646
1750
|
declare function registeredTypeNames(): string[];
|
|
1647
1751
|
|
|
1648
|
-
|
|
1752
|
+
/**
|
|
1753
|
+
* Which product API to POST bytes to, keyed by the service name the tool
|
|
1754
|
+
* catalog reports (e.g. `'cloudolive-api'`, `'main-api'`).
|
|
1755
|
+
*
|
|
1756
|
+
* This is the ONE thing discovery cannot supply. Everything else about an
|
|
1757
|
+
* upload — the purpose, the accepted extensions, the size cap, which tool
|
|
1758
|
+
* consumes it — is advertised by the tool itself via `posiwise.upload` and
|
|
1759
|
+
* fetched from brain-api, so no frontend restates limits the owning service
|
|
1760
|
+
* already enforces. But the file goes STRAIGHT to the owning service rather
|
|
1761
|
+
* than through brain-api (bytes must never transit the chat pipeline), and
|
|
1762
|
+
* only the host app knows how to reach its own APIs.
|
|
1763
|
+
*
|
|
1764
|
+
* A service the map doesn't cover is simply not offered: the affordance is
|
|
1765
|
+
* hidden rather than advertised-then-broken.
|
|
1766
|
+
*/
|
|
1767
|
+
declare const BRAIN_CHAT_UPLOAD_APIS: InjectionToken<Record<string, BaseHttpService>>;
|
|
1768
|
+
|
|
1769
|
+
export { AuthenticatorComponent, BRAIN_CHAT_UPLOAD_APIS, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarKeyboardShortcutDirective, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CommandPaletteComponent, CommandPaletteService, CompletionBarComponent, ConfirmDialogComponent, ConfirmDialogService, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, OnlineIndicatorComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, registeredType, registeredTypeNames };
|
|
1649
1770
|
export type { ChatMessage, ChatMessageRole, CompletionTier, ConfirmDeleteOptions, ConfirmDialogConfig, ConfirmDialogTone, DynamicPageContext, PaletteActionId, PaletteGroup, PaletteItem, PaletteItemKind, PalettePerson, PendingConfirmation, ResolvedBinding, SidebarContent, SidebarHeaderAction, UiBinding, UiBlock, UiGrid, UiLayoutConfig, UiLayoutResponse };
|