@posiwise/shared-components 0.0.209 → 0.0.210

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,189 +1,184 @@
1
- import * as i0 from '@angular/core';
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
- import { Router } from '@angular/router';
5
- import { AppConfigService } from '@posiwise/app-config-service';
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
- export { NavEntry } from '@posiwise/common-services';
8
- import { TranslocoService } from '@jsverse/transloco';
9
- import * as rxjs from 'rxjs';
10
- import { Observable, Subject } from 'rxjs';
11
- import * as i37 from '@ng-bootstrap/ng-bootstrap';
12
- import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
13
- import { AppBaseComponent } from '@posiwise/app-base-component';
14
- import { MenuItem } from 'primeng/api';
15
- import moment from 'moment';
16
- import * as i48 from 'ngx-daterangepicker-material';
17
- import { DaterangepickerDirective } from 'ngx-daterangepicker-material';
18
- import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
19
- import { AdminService } from '@posiwise/admin-module-utils';
20
- import { User, Subscription } from '@posiwise/common-utilities';
21
- import { AppState } from '@posiwise/app-store';
22
- import { Store } from '@ngrx/store';
23
- import * as i6 from '@angular/forms';
24
- import { UntypedFormGroup, UntypedFormBuilder, AbstractControl, ControlContainer } from '@angular/forms';
25
- import * as i7 from '@posiwise/app-loader';
26
- import * as i9 from '@posiwise/directives';
27
- import * as i8 from '@posiwise/core-transloco';
28
- import * as i12 from 'primeng/tooltip';
29
- import * as i39 from 'primeng/table';
30
- import * as i40 from 'primeng/tabs';
31
- import * as i10 from 'primeng/button';
32
- import * as i42 from 'primeng/select';
33
- import * as i43 from 'primeng/multiselect';
34
- import * as i13 from 'primeng/progressspinner';
35
- import * as i14 from 'primeng/autocomplete';
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
- import * as i16 from '@posiwise/utils';
41
- import * as i15 from '@angular/cdk/drag-drop';
42
-
1
+ import * as i0 from "@angular/core";
2
+ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, Injector, OnChanges, OnDestroy, OnInit, PipeTransform, SimpleChanges, TemplateRef, Type, ViewContainerRef } from "@angular/core";
3
+ import * as i36 from "@angular/router";
4
+ import { Router } from "@angular/router";
5
+ import { AppConfigService } from "@posiwise/app-config-service";
6
+ import { AuthService, BaseHttpService, BrainSocketService, BrainVoiceService, CustomToastService, DashboardService, DataService, DirectUploadService, FeatureFlagService, GroupService, LocalStorage, MCPFieldDiff, MCPOrchestratorService, MCPUploadCapability, MainApiHttpService, NavEntry, NavigationIndexService, NumberPickerService, PermissionService, RecentPagesService, SubscriptionService, UserService, VoiceChatService } from "@posiwise/common-services";
7
+ import { TranslocoService } from "@jsverse/transloco";
8
+ import { Observable, Subject } from "rxjs";
9
+ import * as i11 from "@ng-bootstrap/ng-bootstrap";
10
+ import { NgbActiveModal, NgbModal } from "@ng-bootstrap/ng-bootstrap";
11
+ import { AppBaseComponent } from "@posiwise/app-base-component";
12
+ import { MenuItem } from "primeng/api";
13
+ import moment from "moment";
14
+ import * as i48 from "ngx-daterangepicker-material";
15
+ import { DaterangepickerDirective } from "ngx-daterangepicker-material";
16
+ import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
17
+ import { AdminService } from "@posiwise/admin-module-utils";
18
+ import { Subscription, User } from "@posiwise/common-utilities";
19
+ import { AppState } from "@posiwise/app-store";
20
+ import { Store } from "@ngrx/store";
21
+ import * as i6 from "@angular/forms";
22
+ import { AbstractControl, ControlContainer, UntypedFormBuilder, UntypedFormGroup } from "@angular/forms";
23
+ import * as i7 from "@posiwise/app-loader";
24
+ import * as i9 from "@posiwise/directives";
25
+ import * as i8 from "@posiwise/core-transloco";
26
+ import * as i12 from "primeng/tooltip";
27
+ import * as i39 from "primeng/table";
28
+ import * as i40 from "primeng/tabs";
29
+ import * as i10 from "primeng/button";
30
+ import * as i42 from "primeng/select";
31
+ import * as i43 from "primeng/multiselect";
32
+ import * as i13 from "primeng/progressspinner";
33
+ import * as i14 from "primeng/autocomplete";
34
+ import * as i46 from "ngx-image-cropper";
35
+ import * as i47 from "ngx-ui-switch";
36
+ import * as i49 from "@posiwise/pipes";
37
+ import * as i5 from "@angular/common";
38
+ import * as i16 from "@posiwise/utils";
39
+ import * as i15 from "@angular/cdk/drag-drop";
43
40
  /**
44
41
  * A compact icon action rendered in the sidebar header row (before the close
45
42
  * button). `id` MUST match a public method name on the mounted panel component
46
43
  * — the shell invokes `componentRef.instance[id]()` when the action is clicked.
47
44
  */
48
- interface SidebarHeaderAction {
49
- /** Method name to invoke on the mounted panel instance (e.g. 'newChat'). */
50
- id: string;
51
- /** Fontawesome class string, e.g. 'fas fa-plus'. */
52
- icon: string;
53
- /** Accessible label + native tooltip. */
54
- ariaLabel: string;
45
+ export interface SidebarHeaderAction {
46
+ /** Method name to invoke on the mounted panel instance (e.g. 'newChat'). */
47
+ id: string;
48
+ /** Fontawesome class string, e.g. 'fas fa-plus'. */
49
+ icon: string;
50
+ /** Accessible label + native tooltip. */
51
+ ariaLabel: string;
55
52
  }
56
53
  /**
57
54
  * Interface for sidebar content that modules can provide
58
55
  */
59
- interface SidebarContent {
60
- /**
61
- * Unique identifier for this sidebar content
62
- */
63
- id: string;
64
- /**
65
- * Title/label for the sidebar section
66
- */
67
- title: string;
68
- /**
69
- * Component type to render in the sidebar
70
- */
71
- component: Type<any>;
72
- /**
73
- * Input data to pass to the component
74
- */
75
- data?: any;
76
- /**
77
- * Optional icon class (e.g., 'pi pi-cog' for PrimeNG icons)
78
- */
79
- icon?: string;
80
- /**
81
- * Tooltip text shown on hover
82
- */
83
- tooltip?: string;
84
- /**
85
- * Optional compact status shown inline after the title in the header row
86
- * (leading green dot). Costs no extra vertical space. e.g. the Brain panel's
87
- * 'Connected · long-term memory on'. Panels that omit it render title-only.
88
- */
89
- status?: string;
90
- /**
91
- * Optional compact icon actions rendered in the header row before the close
92
- * button (e.g. the Brain panel's 'New chat'). Each action's `id` is invoked
93
- * as a method on the mounted panel instance.
94
- */
95
- headerActions?: SidebarHeaderAction[];
96
- /**
97
- * When true, the shell renders a soft "Beta" pill next to the title —
98
- * signalling the panel is an experimental feature (e.g. the Brain chat).
99
- * Generic flag; any panel may opt in. The label is i18n'd in the shell
100
- * template ('BrainChat.Badge.Beta').
101
- */
102
- beta?: boolean;
103
- }
104
-
56
+ export interface SidebarContent {
57
+ /**
58
+ * Unique identifier for this sidebar content
59
+ */
60
+ id: string;
61
+ /**
62
+ * Title/label for the sidebar section
63
+ */
64
+ title: string;
65
+ /**
66
+ * Component type to render in the sidebar
67
+ */
68
+ component: Type<any>;
69
+ /**
70
+ * Input data to pass to the component
71
+ */
72
+ data?: any;
73
+ /**
74
+ * Optional icon class (e.g., 'pi pi-cog' for PrimeNG icons)
75
+ */
76
+ icon?: string;
77
+ /**
78
+ * Tooltip text shown on hover
79
+ */
80
+ tooltip?: string;
81
+ /**
82
+ * Optional compact status shown inline after the title in the header row
83
+ * (leading green dot). Costs no extra vertical space. e.g. the Brain panel's
84
+ * 'Connected · long-term memory on'. Panels that omit it render title-only.
85
+ */
86
+ status?: string;
87
+ /**
88
+ * Optional compact icon actions rendered in the header row before the close
89
+ * button (e.g. the Brain panel's 'New chat'). Each action's `id` is invoked
90
+ * as a method on the mounted panel instance.
91
+ */
92
+ headerActions?: SidebarHeaderAction[];
93
+ /**
94
+ * When true, the shell renders a soft "Beta" pill next to the title —
95
+ * signalling the panel is an experimental feature (e.g. the Brain chat).
96
+ * Generic flag; any panel may opt in. The label is i18n'd in the shell
97
+ * template ('BrainChat.Badge.Beta').
98
+ */
99
+ beta?: boolean;
100
+ }
105
101
  /**
106
102
  * CollapsibleSidebarService manages dynamic sidebar content
107
103
  *
108
104
  * This service allows any module to register, update, or remove sidebar content.
109
105
  * It uses observables to notify components of state changes.
110
106
  */
111
- declare class CollapsibleSidebarService {
112
- private readonly sidebarContentMap;
113
- private readonly sidebarExpandedSubject;
114
- private readonly sidebarContentSubject;
115
- private readonly activeContentIdSubject;
116
- /**
117
- * Observable for sidebar expanded/collapsed state
118
- */
119
- sidebarExpanded$: Observable<boolean>;
120
- /**
121
- * Observable for current sidebar content
122
- */
123
- sidebarContent$: Observable<SidebarContent | null>;
124
- /**
125
- * Observable for currently active content ID
126
- */
127
- activeContentId$: Observable<string | null>;
128
- /**
129
- * Register sidebar content that can be triggered by a module
130
- * @param content - The sidebar content configuration
131
- */
132
- registerContent(content: SidebarContent): void;
133
- /**
134
- * Unregister sidebar content
135
- * @param contentId - The ID of the content to remove
136
- */
137
- unregisterContent(contentId: string): void;
138
- /**
139
- * Load and display sidebar content by ID
140
- * @param contentId - The ID of the content to load
141
- */
142
- loadContent(contentId: string): void;
143
- /**
144
- * Load a panel and seed it with one-shot inputs.
145
- *
146
- * The host re-mounts the panel component on every load and `Object.assign`s
147
- * `content.data` onto the fresh instance, so this is how a caller opens a
148
- * panel in a particular starting state — e.g. the command palette opening
149
- * the Brain panel with the user's typed query already in the composer.
150
- *
151
- * @param contentId - The ID of the content to load
152
- * @param data - Fields copied onto the newly mounted panel instance
153
- */
154
- loadContentWithData(contentId: string, data: Record<string, unknown>): void;
155
- /**
156
- * Toggle sidebar expanded/collapsed state
157
- */
158
- toggleSidebar(): void;
159
- /**
160
- * Expand the sidebar
161
- */
162
- expandSidebar(): void;
163
- /**
164
- * Collapse the sidebar
165
- */
166
- collapseSidebar(): void;
167
- /**
168
- * Get current expanded state synchronously
169
- */
170
- isExpanded(): boolean;
171
- /**
172
- * Get currently active content ID synchronously
173
- */
174
- getActiveContentId(): string | null;
175
- /**
176
- * Get all registered content IDs
177
- */
178
- getRegisteredContentIds(): string[];
179
- /**
180
- * Clear all sidebar content and collapse
181
- */
182
- clearAll(): void;
183
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarService, never>;
184
- static ɵprov: i0.ɵɵInjectableDeclaration<CollapsibleSidebarService>;
185
- }
186
-
107
+ export declare class CollapsibleSidebarService {
108
+ private readonly sidebarContentMap;
109
+ private readonly sidebarExpandedSubject;
110
+ private readonly sidebarContentSubject;
111
+ private readonly activeContentIdSubject;
112
+ /**
113
+ * Observable for sidebar expanded/collapsed state
114
+ */
115
+ sidebarExpanded$: Observable<boolean>;
116
+ /**
117
+ * Observable for current sidebar content
118
+ */
119
+ sidebarContent$: Observable<SidebarContent | null>;
120
+ /**
121
+ * Observable for currently active content ID
122
+ */
123
+ activeContentId$: Observable<string | null>;
124
+ /**
125
+ * Register sidebar content that can be triggered by a module
126
+ * @param content - The sidebar content configuration
127
+ */
128
+ registerContent(content: SidebarContent): void;
129
+ /**
130
+ * Unregister sidebar content
131
+ * @param contentId - The ID of the content to remove
132
+ */
133
+ unregisterContent(contentId: string): void;
134
+ /**
135
+ * Load and display sidebar content by ID
136
+ * @param contentId - The ID of the content to load
137
+ */
138
+ loadContent(contentId: string): void;
139
+ /**
140
+ * Load a panel and seed it with one-shot inputs.
141
+ *
142
+ * The host re-mounts the panel component on every load and `Object.assign`s
143
+ * `content.data` onto the fresh instance, so this is how a caller opens a
144
+ * panel in a particular starting state — e.g. the command palette opening
145
+ * the Brain panel with the user's typed query already in the composer.
146
+ *
147
+ * @param contentId - The ID of the content to load
148
+ * @param data - Fields copied onto the newly mounted panel instance
149
+ */
150
+ loadContentWithData(contentId: string, data: Record<string, unknown>): void;
151
+ /**
152
+ * Toggle sidebar expanded/collapsed state
153
+ */
154
+ toggleSidebar(): void;
155
+ /**
156
+ * Expand the sidebar
157
+ */
158
+ expandSidebar(): void;
159
+ /**
160
+ * Collapse the sidebar
161
+ */
162
+ collapseSidebar(): void;
163
+ /**
164
+ * Get current expanded state synchronously
165
+ */
166
+ isExpanded(): boolean;
167
+ /**
168
+ * Get currently active content ID synchronously
169
+ */
170
+ getActiveContentId(): string | null;
171
+ /**
172
+ * Get all registered content IDs
173
+ */
174
+ getRegisteredContentIds(): string[];
175
+ /**
176
+ * Clear all sidebar content and collapse
177
+ */
178
+ clearAll(): void;
179
+ static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarService, never>;
180
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
181
+ }
187
182
  /**
188
183
  * What activating a palette row does:
189
184
  * - `page` → router navigation to `path`
@@ -191,54 +186,53 @@ declare class CollapsibleSidebarService {
191
186
  * - `action` → run a named command (see `PaletteActionId`)
192
187
  * - `ask-ai` → hand the typed query to the PosiWise Brain panel
193
188
  */
194
- type PaletteItemKind = 'page' | 'person' | 'action' | 'ask-ai';
189
+ export type PaletteItemKind = 'page' | 'person' | 'action' | 'ask-ai';
195
190
  /**
196
191
  * Commands the palette can run itself, for the things a user repeats that are not
197
192
  * a destination. Kept to a closed union so a row can never carry an arbitrary
198
193
  * callback across the source boundary.
199
194
  */
200
- type PaletteActionId = 'copy-link' | 'log-out';
201
- interface PaletteItem {
202
- /** Stable within a render pass; used for trackBy and active-row identity. */
203
- id: string;
204
- kind: PaletteItemKind;
205
- /** Already-resolved display text (menu titles and names are not i18n'd). */
206
- label: string;
207
- /** Secondary context line — breadcrumb section, or a person's email. */
208
- detail: string;
209
- icon: string;
210
- /** Present for `page` and `person`; absent for `ask-ai`. */
211
- path?: string;
212
- /**
213
- * The source nav entry for a `page`. Carried through so activation can ask
214
- * the index whether opening it needs a subscription-context switch first.
215
- */
216
- entry?: NavEntry;
217
- /**
218
- * i18n key for rows whose label is chrome rather than data (actions).
219
- *
220
- * `label` still holds the resolved text so ranking can match what the user
221
- * reads; the key is kept so the template renders the translation rather than
222
- * a string frozen at build time.
223
- */
224
- labelKey?: string;
225
- /** Present for `action` rows only. */
226
- action?: PaletteActionId;
227
- }
228
- interface PaletteGroup {
229
- /** i18n key for the group heading — the chrome IS translated (C17). */
230
- labelKey: string;
231
- items: PaletteItem[];
195
+ export type PaletteActionId = 'copy-link' | 'log-out';
196
+ export interface PaletteItem {
197
+ /** Stable within a render pass; used for trackBy and active-row identity. */
198
+ id: string;
199
+ kind: PaletteItemKind;
200
+ /** Already-resolved display text (menu titles and names are not i18n'd). */
201
+ label: string;
202
+ /** Secondary context line — breadcrumb section, or a person's email. */
203
+ detail: string;
204
+ icon: string;
205
+ /** Present for `page` and `person`; absent for `ask-ai`. */
206
+ path?: string;
207
+ /**
208
+ * The source nav entry for a `page`. Carried through so activation can ask
209
+ * the index whether opening it needs a subscription-context switch first.
210
+ */
211
+ entry?: NavEntry;
212
+ /**
213
+ * i18n key for rows whose label is chrome rather than data (actions).
214
+ *
215
+ * `label` still holds the resolved text so ranking can match what the user
216
+ * reads; the key is kept so the template renders the translation rather than
217
+ * a string frozen at build time.
218
+ */
219
+ labelKey?: string;
220
+ /** Present for `action` rows only. */
221
+ action?: PaletteActionId;
222
+ }
223
+ export interface PaletteGroup {
224
+ /** i18n key for the group heading — the chrome IS translated (C17). */
225
+ labelKey: string;
226
+ items: PaletteItem[];
232
227
  }
233
228
  /** A user as returned by `DashboardService.search` — only the fields we render. */
234
- interface PalettePerson {
235
- id?: number;
236
- first_name?: string;
237
- last_name?: string;
238
- email?: string;
239
- slug?: string;
240
- }
241
-
229
+ export interface PalettePerson {
230
+ id?: number;
231
+ first_name?: string;
232
+ last_name?: string;
233
+ email?: string;
234
+ slug?: string;
235
+ }
242
236
  /**
243
237
  * Open/close state for the global command palette.
244
238
  *
@@ -246,427 +240,556 @@ interface PalettePerson {
246
240
  * summon the palette — the navbar button, the ⌘K shortcut, an empty-state
247
241
  * "find a page" link — without reaching for a component reference.
248
242
  */
249
- declare class CommandPaletteService {
250
- private readonly openSubject;
251
- isOpen$: Observable<boolean>;
252
- open(): void;
253
- close(): void;
254
- toggle(): void;
255
- isOpen(): boolean;
256
- static ɵfac: i0.ɵɵFactoryDeclaration<CommandPaletteService, never>;
257
- static ɵprov: i0.ɵɵInjectableDeclaration<CommandPaletteService>;
258
- }
259
-
260
- declare class CommandPaletteComponent implements OnInit, AfterViewInit, OnDestroy {
261
- readonly palette: CommandPaletteService;
262
- private readonly navIndex;
263
- private readonly dashboard;
264
- private readonly recents;
265
- private readonly sidebar;
266
- private readonly router;
267
- private readonly transloco;
268
- private readonly cdr;
269
- private readonly appConfigService?;
270
- private readonly toast?;
271
- queryInput?: {
272
- nativeElement: HTMLInputElement;
273
- };
274
- /** The native <dialog>; always in the DOM, so this handle stays valid. */
275
- paletteDialog?: {
276
- nativeElement: HTMLDialogElement;
277
- };
278
- isOpen: boolean;
279
- query: string;
280
- groups: PaletteGroup[];
281
- brandName: string;
282
- readonly shortcutHint: string;
283
- private readonly cursor;
284
- private flat;
285
- private readonly queryChanges;
286
- private readonly destroy$;
287
- private people;
288
- private releaseBackdrop;
289
- constructor(palette: CommandPaletteService, navIndex: NavigationIndexService, dashboard: DashboardService, recents: RecentPagesService, sidebar: CollapsibleSidebarService, router: Router, transloco: TranslocoService, cdr: ChangeDetectorRef, appConfigService?: AppConfigService, toast?: CustomToastService);
290
- ngOnInit(): void;
291
- ngAfterViewInit(): void;
292
- ngOnDestroy(): void;
293
- /** A native close (Escape, or our own close()) mirrored back onto the service. */
294
- onDialogClose(): void;
295
- /** ⌘K / Ctrl-K opens from anywhere; Escape closes. */
296
- onDocumentKeydown(event: KeyboardEvent): void;
297
- onQueryInput(value: string): void;
298
- onKeydown(event: KeyboardEvent): void;
299
- activate(item?: PaletteItem): void;
300
- isActive(item: PaletteItem): boolean;
301
- private activateDeps;
302
- private rebuild;
303
- private reset;
304
- static ɵfac: i0.ɵɵFactoryDeclaration<CommandPaletteComponent, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
305
- static ɵcmp: i0.ɵɵComponentDeclaration<CommandPaletteComponent, "pw-command-palette", never, {}, {}, never, never, false, never>;
306
- }
307
-
308
- type ConfirmDialogTone = 'destructive' | 'neutral' | 'info';
309
- interface ConfirmDialogConfig {
310
- titleKey?: string;
311
- title?: string;
312
- titleParams?: Record<string, unknown>;
313
- textKey?: string;
314
- text?: string;
315
- textParams?: Record<string, unknown>;
316
- destructive?: boolean;
317
- confirmOnly?: boolean;
318
- confirmLabelKey?: string;
319
- confirmLabel?: string;
320
- cancelLabelKey?: string;
321
- cancelLabel?: string;
322
- icon?: string;
323
- tone?: ConfirmDialogTone;
324
- }
325
-
326
- declare class ConfirmDialogComponent {
327
- readonly modal: NgbActiveModal;
328
- config: ConfirmDialogConfig;
329
- constructor(modal: NgbActiveModal);
330
- get tone(): ConfirmDialogTone;
331
- get iconClass(): string;
332
- get titleKey(): string | null;
333
- get titleRaw(): string;
334
- get titleParams(): Record<string, unknown>;
335
- get textKey(): string | null;
336
- get textRaw(): string;
337
- get textParams(): Record<string, unknown>;
338
- get confirmLabelKey(): string;
339
- get confirmLabel(): string;
340
- get cancelLabelKey(): string;
341
- get cancelLabel(): string;
342
- get confirmButtonClass(): string;
343
- confirm(): void;
344
- cancel(): void;
345
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
346
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "pw-confirm-dialog", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
347
- }
348
-
349
- interface SharedModalContext {
350
- modal: {
351
- dismiss: () => void;
352
- close: () => void;
243
+ export declare class CommandPaletteService {
244
+ private readonly openSubject;
245
+ isOpen$: Observable<boolean>;
246
+ open(): void;
247
+ close(): void;
248
+ toggle(): void;
249
+ isOpen(): boolean;
250
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommandPaletteService, never>;
251
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
252
+ }
253
+ declare namespace command_palette_component_d_exports {
254
+ export { CommandPaletteComponent };
255
+ }
256
+ export declare class CommandPaletteComponent implements OnInit, AfterViewInit, OnDestroy {
257
+ readonly palette: CommandPaletteService;
258
+ private readonly navIndex;
259
+ private readonly dashboard;
260
+ private readonly recents;
261
+ private readonly sidebar;
262
+ private readonly router;
263
+ private readonly transloco;
264
+ private readonly cdr;
265
+ private readonly appConfigService?;
266
+ private readonly toast?;
267
+ queryInput?: {
268
+ nativeElement: HTMLInputElement;
269
+ };
270
+ /** The native <dialog>; always in the DOM, so this handle stays valid. */
271
+ paletteDialog?: {
272
+ nativeElement: HTMLDialogElement;
273
+ };
274
+ isOpen: boolean;
275
+ query: string;
276
+ groups: PaletteGroup[];
277
+ brandName: string;
278
+ readonly shortcutHint: string;
279
+ private readonly cursor;
280
+ private flat;
281
+ private readonly queryChanges;
282
+ private readonly destroy$;
283
+ private people;
284
+ private releaseBackdrop;
285
+ constructor(palette: CommandPaletteService, navIndex: NavigationIndexService, dashboard: DashboardService, recents: RecentPagesService, sidebar: CollapsibleSidebarService, router: Router, transloco: TranslocoService, cdr: ChangeDetectorRef, appConfigService?: AppConfigService, toast?: CustomToastService);
286
+ ngOnInit(): void;
287
+ ngAfterViewInit(): void;
288
+ ngOnDestroy(): void;
289
+ /** A native close (Escape, or our own close()) mirrored back onto the service. */
290
+ onDialogClose(): void;
291
+ /** ⌘K / Ctrl-K opens from anywhere; Escape closes. */
292
+ onDocumentKeydown(event: KeyboardEvent): void;
293
+ onQueryInput(value: string): void;
294
+ onKeydown(event: KeyboardEvent): void;
295
+ activate(item?: PaletteItem): void;
296
+ isActive(item: PaletteItem): boolean;
297
+ private activateDeps;
298
+ private rebuild;
299
+ private reset;
300
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommandPaletteComponent, [null, null, null, null, null, null, null, null, {
301
+ optional: true;
302
+ }, {
303
+ optional: true;
304
+ }]>;
305
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommandPaletteComponent, "pw-command-palette", never, {}, {}, never, never, false, never>;
306
+ }
307
+ export type ConfirmDialogTone = 'destructive' | 'neutral' | 'info';
308
+ export interface ConfirmDialogConfig {
309
+ titleKey?: string;
310
+ title?: string;
311
+ titleParams?: Record<string, unknown>;
312
+ textKey?: string;
313
+ text?: string;
314
+ textParams?: Record<string, unknown>;
315
+ destructive?: boolean;
316
+ confirmOnly?: boolean;
317
+ confirmLabelKey?: string;
318
+ confirmLabel?: string;
319
+ cancelLabelKey?: string;
320
+ cancelLabel?: string;
321
+ icon?: string;
322
+ tone?: ConfirmDialogTone;
323
+ }
324
+ declare namespace confirm_dialog_component_d_exports {
325
+ export { ConfirmDialogComponent };
326
+ }
327
+ export declare class ConfirmDialogComponent {
328
+ readonly modal: NgbActiveModal;
329
+ config: ConfirmDialogConfig;
330
+ constructor(modal: NgbActiveModal);
331
+ get tone(): ConfirmDialogTone;
332
+ get iconClass(): string;
333
+ get titleKey(): string | null;
334
+ get titleRaw(): string;
335
+ get titleParams(): Record<string, unknown>;
336
+ get textKey(): string | null;
337
+ get textRaw(): string;
338
+ get textParams(): Record<string, unknown>;
339
+ get confirmLabelKey(): string;
340
+ get confirmLabel(): string;
341
+ get cancelLabelKey(): string;
342
+ get cancelLabel(): string;
343
+ get confirmButtonClass(): string;
344
+ confirm(): void;
345
+ cancel(): void;
346
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
347
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "pw-confirm-dialog", never, {
348
+ "config": {
349
+ "alias": "config";
350
+ "required": false;
353
351
  };
352
+ }, {}, never, never, false, never>;
353
+ }
354
+ interface SharedModalContext {
355
+ modal: {
356
+ dismiss: () => void;
357
+ close: () => void;
358
+ };
354
359
  }
355
360
  interface EnrolledUser {
356
- is_owner: boolean;
357
- id: number;
361
+ is_owner: boolean;
362
+ id: number;
363
+ }
364
+ interface GroupDefinition {
365
+ description: string;
366
+ name: string;
358
367
  }
359
368
  interface Group {
360
- id?: number;
361
- name?: string;
362
- description?: string;
363
- group_definition_id?: number;
364
- group_definition_name: string;
369
+ id?: number;
370
+ name?: string;
371
+ description?: string;
372
+ group_definition_id?: number;
373
+ group_definition_name: string;
365
374
  }
366
375
  interface Permission {
367
- name: string;
368
- parentName?: string;
369
- displayName: string;
376
+ name: string;
377
+ parentName?: string;
378
+ displayName: string;
370
379
  }
371
380
  interface PermissionTreeData {
372
- permissions: Permission[];
373
- grantedPermissionNames: string[];
374
- }
375
-
376
- declare class PasswordValidationComponent extends AppBaseComponent {
377
- private readonly modal;
378
- private readonly cdr;
379
- content: TemplateRef<SharedModalContext>;
380
- passwordRef: ElementRef<HTMLInputElement>;
381
- confirmMessage: string;
382
- destructive: boolean;
383
- successEvent: EventEmitter<boolean>;
384
- password: string;
385
- passwordVisible: boolean;
386
- buttonBusy: boolean;
387
- private modalRef;
388
- constructor(injector: Injector, modal: NgbModal, cdr: ChangeDetectorRef);
389
- get bodyMessage(): string;
390
- open(): void;
391
- validatePassword(): void;
392
- static ɵfac: i0.ɵɵFactoryDeclaration<PasswordValidationComponent, never>;
393
- static ɵcmp: i0.ɵɵComponentDeclaration<PasswordValidationComponent, "pw-password-validation", never, { "confirmMessage": { "alias": "confirmMessage"; "required": false; }; "destructive": { "alias": "destructive"; "required": false; }; }, { "successEvent": "successEvent"; }, never, ["*"], false, never>;
394
- }
395
-
396
- declare class PwTabsComponent extends AppBaseComponent implements OnInit, OnDestroy {
397
- private readonly cdr;
398
- items: MenuItem[];
399
- withSubscription: boolean;
400
- /** Current tab value (route path) for p-tabs */
401
- activeTabValue: string | number;
402
- private routeEventSubscription;
403
- constructor(injector: Injector, cdr: ChangeDetectorRef);
404
- ngOnInit(): void;
405
- /** Arrow function so trackBy is called with correct `this` from template */
406
- trackByItem: (_index: number, item: MenuItem) => string;
407
- getItemValue(item: MenuItem): string;
408
- onTabChange(value: string | number): void;
409
- private updateActiveTab;
410
- ngOnDestroy(): void;
411
- static ɵfac: i0.ɵɵFactoryDeclaration<PwTabsComponent, never>;
412
- static ɵcmp: i0.ɵɵComponentDeclaration<PwTabsComponent, "pw-tabs", never, { "items": { "alias": "items"; "required": false; }; "withSubscription": { "alias": "withSubscription"; "required": false; }; }, {}, never, never, false, never>;
413
- }
414
-
415
- declare class DateRangePickerComponent implements AfterViewInit {
416
- pickerDirective: DaterangepickerDirective;
417
- private initialized;
418
- selectedDateRange: {
419
- startDate: moment.Moment;
420
- endDate: moment.Moment;
421
- };
422
- dateRanges: any;
423
- /** Optional unique id for the input (for accessibility). Defaults to 'date-range-picker-input'. */
424
- inputId: string;
425
- dateRangeChange: EventEmitter<{
426
- startDate: moment.Moment;
427
- endDate: moment.Moment;
428
- }>;
429
- onDateRangeSelect(event: {
430
- startDate: moment.Moment;
431
- endDate: moment.Moment;
432
- }): void;
433
- ngAfterViewInit(): void;
434
- onClearDate(): void;
435
- openDatepicker(): void;
436
- static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
437
- static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "app-date-picker", never, { "selectedDateRange": { "alias": "selectedDateRange"; "required": false; }; "dateRanges": { "alias": "dateRanges"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; }, { "dateRangeChange": "dateRangeChange"; }, never, never, false, never>;
438
- }
439
-
440
- declare class PermissionTreeComponent implements AfterViewInit, OnChanges {
441
- private readonly _element;
442
- data: PermissionTreeData;
443
- private _$tree;
444
- private _createdTreeBefore;
445
- constructor(_element: ElementRef);
446
- ngOnChanges(simple: SimpleChanges): void;
447
- ngAfterViewInit(): void;
448
- getGrantedPermissionNames(): string[];
449
- private refreshTree;
450
- static ɵfac: i0.ɵɵFactoryDeclaration<PermissionTreeComponent, never>;
451
- static ɵcmp: i0.ɵɵComponentDeclaration<PermissionTreeComponent, "permission-tree", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
452
- }
453
-
454
- declare class PrivacyAndTosComponent extends AppBaseComponent implements OnInit {
455
- private readonly adminService;
456
- private readonly document;
457
- private readonly sanitizer;
458
- private readonly cdr;
459
- productId: number;
460
- private privacyAndTos;
461
- id: string;
462
- data: {
463
- privacy?: SafeHtml;
464
- tos?: SafeHtml;
465
- tos_updated_at?: string;
466
- };
467
- user: User;
468
- subscribedSubscriptions: {
469
- products: {
470
- id: number;
471
- }[];
472
- }[];
473
- product: string;
474
- productName: string;
475
- privacyServiceId: number;
476
- readonly routers: {
477
- globalConfigDetails: string;
478
- adminCredentialsDetails: string;
479
- subscriptionCredentialDetails: string;
480
- newsletter: string;
481
- mailerDetails: string;
482
- newsletterItemDetails: string;
483
- newsletterItemView: string;
484
- newslettersUserList: string;
485
- newsletterDetails: string;
486
- permissionsList: string;
487
- permissionsDetails: string;
488
- rolesDetails: string;
489
- productDetails: string;
490
- productsUserList: string;
491
- feedbackQuestions: string;
492
- feedbackQuestionsDetails: string;
493
- subscriptionDetails: string;
494
- subscriptionProductDetails: string;
495
- tipsDetails: string;
496
- tosAndPrivacyDetails: string;
497
- tosAndPrivacyView: string;
498
- usersDetails: string;
499
- domainConfig: string;
500
- domainConfigDetails: string;
501
- loginNotifications: string;
502
- incidentConfig: string;
503
- incidentDetails: string;
504
- faqConfig: string;
505
- faqDetails: string;
506
- inviteUsers: string;
507
- subscriptionList: string;
508
- createResource: string;
509
- createTag: string;
510
- tags: string;
511
- posts: string;
512
- resourcesList: string;
513
- };
514
- tabId: string;
515
- isPublic: boolean;
516
- isLoaded: boolean;
517
- tocPrivacy: {
518
- id: string;
519
- text: string;
520
- }[];
521
- tocTos: {
522
- id: string;
523
- text: string;
381
+ permissions: Permission[];
382
+ grantedPermissionNames: string[];
383
+ }
384
+ interface JQuery {
385
+ jstree(method: string, ...args: object[]): object;
386
+ jstree(options: object): object;
387
+ }
388
+ declare namespace password_validation_component_d_exports {
389
+ export { PasswordValidationComponent };
390
+ }
391
+ export declare class PasswordValidationComponent extends AppBaseComponent {
392
+ private readonly modal;
393
+ private readonly cdr;
394
+ content: TemplateRef<SharedModalContext>;
395
+ passwordRef: ElementRef<HTMLInputElement>;
396
+ confirmMessage: string;
397
+ destructive: boolean;
398
+ successEvent: EventEmitter<boolean>;
399
+ password: string;
400
+ passwordVisible: boolean;
401
+ buttonBusy: boolean;
402
+ private modalRef;
403
+ constructor(injector: Injector, modal: NgbModal, cdr: ChangeDetectorRef);
404
+ get bodyMessage(): string;
405
+ open(): void;
406
+ validatePassword(): void;
407
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordValidationComponent, never>;
408
+ static ɵcmp: i0.ɵɵComponentDeclaration<PasswordValidationComponent, "pw-password-validation", never, {
409
+ "confirmMessage": {
410
+ "alias": "confirmMessage";
411
+ "required": false;
412
+ };
413
+ "destructive": {
414
+ "alias": "destructive";
415
+ "required": false;
416
+ };
417
+ }, {
418
+ "successEvent": "successEvent";
419
+ }, never, ["*"], false, never>;
420
+ }
421
+ declare namespace pw_tabs_component_d_exports {
422
+ export { PwTabsComponent };
423
+ }
424
+ export declare class PwTabsComponent extends AppBaseComponent implements OnInit, OnDestroy {
425
+ private readonly cdr;
426
+ items: MenuItem[];
427
+ withSubscription: boolean;
428
+ /** Current tab value (route path) for p-tabs */
429
+ activeTabValue: string | number;
430
+ private routeEventSubscription;
431
+ constructor(injector: Injector, cdr: ChangeDetectorRef);
432
+ ngOnInit(): void;
433
+ /** Arrow function so trackBy is called with correct `this` from template */
434
+ trackByItem: (_index: number, item: MenuItem) => string;
435
+ getItemValue(item: MenuItem): string;
436
+ onTabChange(value: string | number): void;
437
+ private updateActiveTab;
438
+ ngOnDestroy(): void;
439
+ static ɵfac: i0.ɵɵFactoryDeclaration<PwTabsComponent, never>;
440
+ static ɵcmp: i0.ɵɵComponentDeclaration<PwTabsComponent, "pw-tabs", never, {
441
+ "items": {
442
+ "alias": "items";
443
+ "required": false;
444
+ };
445
+ "withSubscription": {
446
+ "alias": "withSubscription";
447
+ "required": false;
448
+ };
449
+ }, {}, never, never, false, never>;
450
+ }
451
+ declare namespace date_range_picker_component_d_exports {
452
+ export { DateRangePickerComponent };
453
+ }
454
+ export declare class DateRangePickerComponent implements AfterViewInit {
455
+ pickerDirective: DaterangepickerDirective;
456
+ private initialized;
457
+ selectedDateRange: {
458
+ startDate: moment.Moment;
459
+ endDate: moment.Moment;
460
+ };
461
+ dateRanges: any;
462
+ /** Optional unique id for the input (for accessibility). Defaults to 'date-range-picker-input'. */
463
+ inputId: string;
464
+ dateRangeChange: EventEmitter<{
465
+ startDate: moment.Moment;
466
+ endDate: moment.Moment;
467
+ }>;
468
+ onDateRangeSelect(event: {
469
+ startDate: moment.Moment;
470
+ endDate: moment.Moment;
471
+ }): void;
472
+ ngAfterViewInit(): void;
473
+ onClearDate(): void;
474
+ openDatepicker(): void;
475
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
476
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "app-date-picker", never, {
477
+ "selectedDateRange": {
478
+ "alias": "selectedDateRange";
479
+ "required": false;
480
+ };
481
+ "dateRanges": {
482
+ "alias": "dateRanges";
483
+ "required": false;
484
+ };
485
+ "inputId": {
486
+ "alias": "inputId";
487
+ "required": false;
488
+ };
489
+ }, {
490
+ "dateRangeChange": "dateRangeChange";
491
+ }, never, never, false, never>;
492
+ }
493
+ declare namespace permission_tree_component_d_exports {
494
+ export { PermissionTreeComponent };
495
+ }
496
+ export declare class PermissionTreeComponent implements AfterViewInit, OnChanges {
497
+ private readonly _element;
498
+ data: PermissionTreeData;
499
+ private _$tree;
500
+ private _createdTreeBefore;
501
+ constructor(_element: ElementRef);
502
+ ngOnChanges(simple: SimpleChanges): void;
503
+ ngAfterViewInit(): void;
504
+ getGrantedPermissionNames(): string[];
505
+ private refreshTree;
506
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionTreeComponent, never>;
507
+ static ɵcmp: i0.ɵɵComponentDeclaration<PermissionTreeComponent, "permission-tree", never, {
508
+ "data": {
509
+ "alias": "data";
510
+ "required": false;
511
+ };
512
+ }, {}, never, never, false, never>;
513
+ }
514
+ declare namespace privacy_and_tos_component_d_exports {
515
+ export { PrivacyAndTosComponent };
516
+ }
517
+ export declare class PrivacyAndTosComponent extends AppBaseComponent implements OnInit {
518
+ private readonly adminService;
519
+ private readonly document;
520
+ private readonly sanitizer;
521
+ private readonly cdr;
522
+ productId: number;
523
+ private privacyAndTos;
524
+ id: string;
525
+ data: {
526
+ privacy?: SafeHtml;
527
+ tos?: SafeHtml;
528
+ tos_updated_at?: string;
529
+ };
530
+ user: User;
531
+ subscribedSubscriptions: {
532
+ products: {
533
+ id: number;
524
534
  }[];
525
- get companyName(): string;
526
- get companyEmail(): string;
527
- constructor(adminService: AdminService, injector: Injector, document: Document, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
528
- /** Edit affordance is restricted to (Master) Subscription Admins who can reach /admin/tos. */
529
- get canEditPolicy(): boolean;
530
- ngOnInit(): void;
531
- private getSubscribedProduct;
532
- fetchUserSubscriptions(userId: any, id?: any): void;
533
- private buildToc;
534
- private findRequiredProducts;
535
- private getTosDetails;
536
- static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyAndTosComponent, never>;
537
- static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyAndTosComponent, "pw-privacy-and-tos", never, { "productId": { "alias": "productId"; "required": false; }; }, {}, never, never, false, never>;
538
- }
539
-
540
- declare class PrivacyPolicyComponent implements OnInit {
541
- private readonly appConfigService;
542
- private readonly router;
543
- constructor(appConfigService: AppConfigService, router: Router);
544
- ngOnInit(): void;
545
- static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyPolicyComponent, never>;
546
- static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyPolicyComponent, "pw-privacy-policy", never, {}, {}, never, never, false, never>;
547
- }
548
-
549
- declare class TermsConditionsComponent implements OnInit {
550
- private readonly appConfigService;
551
- private readonly router;
552
- constructor(appConfigService: AppConfigService, router: Router);
553
- ngOnInit(): void;
554
- static ɵfac: i0.ɵɵFactoryDeclaration<TermsConditionsComponent, never>;
555
- static ɵcmp: i0.ɵɵComponentDeclaration<TermsConditionsComponent, "pw-terms-conditions", never, {}, {}, never, never, false, never>;
556
- }
557
-
558
- declare class SplashComponent {
559
- static ɵfac: i0.ɵɵFactoryDeclaration<SplashComponent, never>;
560
- static ɵcmp: i0.ɵɵComponentDeclaration<SplashComponent, "ng-component", never, {}, {}, never, never, false, never>;
561
- }
562
-
563
- declare class AuthenticatorComponent extends AppBaseComponent implements OnInit {
564
- private readonly authService;
565
- private readonly cdr;
566
- token: string;
567
- constructor(authService: AuthService, injector: Injector, cdr: ChangeDetectorRef);
568
- ngOnInit(): void;
569
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticatorComponent, never>;
570
- static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticatorComponent, "pw-authenticator", never, {}, {}, never, never, false, never>;
571
- }
572
-
535
+ }[];
536
+ product: string;
537
+ productName: string;
538
+ privacyServiceId: number;
539
+ readonly routers: {
540
+ globalConfigDetails: string;
541
+ adminCredentialsDetails: string;
542
+ subscriptionCredentialDetails: string;
543
+ newsletter: string;
544
+ mailerDetails: string;
545
+ newsletterItemDetails: string;
546
+ newsletterItemView: string;
547
+ newslettersUserList: string;
548
+ newsletterDetails: string;
549
+ permissionsList: string;
550
+ permissionsDetails: string;
551
+ rolesDetails: string;
552
+ productDetails: string;
553
+ productsUserList: string;
554
+ feedbackQuestions: string;
555
+ feedbackQuestionsDetails: string;
556
+ subscriptionDetails: string;
557
+ subscriptionProductDetails: string;
558
+ tipsDetails: string;
559
+ tosAndPrivacyDetails: string;
560
+ tosAndPrivacyView: string;
561
+ usersDetails: string;
562
+ domainConfig: string;
563
+ domainConfigDetails: string;
564
+ loginNotifications: string;
565
+ incidentConfig: string;
566
+ incidentDetails: string;
567
+ faqConfig: string;
568
+ faqDetails: string;
569
+ inviteUsers: string;
570
+ subscriptionList: string;
571
+ createResource: string;
572
+ createTag: string;
573
+ tags: string;
574
+ posts: string;
575
+ resourcesList: string;
576
+ };
577
+ tabId: string;
578
+ isPublic: boolean;
579
+ isLoaded: boolean;
580
+ tocPrivacy: {
581
+ id: string;
582
+ text: string;
583
+ }[];
584
+ tocTos: {
585
+ id: string;
586
+ text: string;
587
+ }[];
588
+ get companyName(): string;
589
+ get companyEmail(): string;
590
+ constructor(adminService: AdminService, injector: Injector, document: Document, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
591
+ /** Edit affordance is restricted to (Master) Subscription Admins who can reach /admin/tos. */
592
+ get canEditPolicy(): boolean;
593
+ ngOnInit(): void;
594
+ private getSubscribedProduct;
595
+ fetchUserSubscriptions(userId: any, id?: any): void;
596
+ private buildToc;
597
+ private findRequiredProducts;
598
+ private getTosDetails;
599
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyAndTosComponent, never>;
600
+ static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyAndTosComponent, "pw-privacy-and-tos", never, {
601
+ "productId": {
602
+ "alias": "productId";
603
+ "required": false;
604
+ };
605
+ }, {}, never, never, false, never>;
606
+ }
607
+ declare namespace privacy_policy_component_d_exports {
608
+ export { PrivacyPolicyComponent };
609
+ }
610
+ export declare class PrivacyPolicyComponent implements OnInit {
611
+ private readonly appConfigService;
612
+ private readonly router;
613
+ constructor(appConfigService: AppConfigService, router: Router);
614
+ ngOnInit(): void;
615
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyPolicyComponent, never>;
616
+ static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyPolicyComponent, "pw-privacy-policy", never, {}, {}, never, never, false, never>;
617
+ }
618
+ declare namespace terms_conditions_component_d_exports {
619
+ export { TermsConditionsComponent };
620
+ }
621
+ export declare class TermsConditionsComponent implements OnInit {
622
+ private readonly appConfigService;
623
+ private readonly router;
624
+ constructor(appConfigService: AppConfigService, router: Router);
625
+ ngOnInit(): void;
626
+ static ɵfac: i0.ɵɵFactoryDeclaration<TermsConditionsComponent, never>;
627
+ static ɵcmp: i0.ɵɵComponentDeclaration<TermsConditionsComponent, "pw-terms-conditions", never, {}, {}, never, never, false, never>;
628
+ }
629
+ declare namespace splash_component_d_exports {
630
+ export { SplashComponent };
631
+ }
632
+ export declare class SplashComponent {
633
+ static ɵfac: i0.ɵɵFactoryDeclaration<SplashComponent, never>;
634
+ static ɵcmp: i0.ɵɵComponentDeclaration<SplashComponent, "ng-component", never, {}, {}, never, never, false, never>;
635
+ }
636
+ declare namespace authenticator_component_d_exports {
637
+ export { AuthenticatorComponent };
638
+ }
639
+ export declare class AuthenticatorComponent extends AppBaseComponent implements OnInit {
640
+ private readonly authService;
641
+ private readonly cdr;
642
+ token: string;
643
+ constructor(authService: AuthService, injector: Injector, cdr: ChangeDetectorRef);
644
+ ngOnInit(): void;
645
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticatorComponent, never>;
646
+ static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticatorComponent, "pw-authenticator", never, {}, {}, never, never, false, never>;
647
+ }
648
+ declare namespace clearbit_icon_component_d_exports {
649
+ export { ClearBitIconComponent };
650
+ }
573
651
  interface MonogramTint {
574
- bg: string;
575
- fg: string;
652
+ bg: string;
653
+ fg: string;
654
+ }
655
+ export declare class ClearBitIconComponent implements OnChanges {
656
+ src: string | null;
657
+ altText: string;
658
+ /** Company name — drives the initials shown when no real logo resolves. */
659
+ name: string;
660
+ /** Square edge length in px — applied to both the logo image and the monogram tile. */
661
+ size: number;
662
+ /** Layout/margin classes for the rendered icon — override for centred contexts. */
663
+ iconClass: string;
664
+ logoSrc: string | null;
665
+ showFallback: boolean;
666
+ initials: string;
667
+ tint: MonogramTint;
668
+ get tileRadius(): number;
669
+ get tileFontSize(): number;
670
+ ngOnChanges(): void;
671
+ /** Called when a resolved logo URL fails to load — degrade to the monogram. */
672
+ onLogoError(): void;
673
+ private buildMonogram;
674
+ private static deriveInitials;
675
+ private static hash;
676
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClearBitIconComponent, never>;
677
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClearBitIconComponent, "pw-clearbit-icon", never, {
678
+ "src": {
679
+ "alias": "src";
680
+ "required": false;
681
+ };
682
+ "altText": {
683
+ "alias": "altText";
684
+ "required": false;
685
+ };
686
+ "name": {
687
+ "alias": "name";
688
+ "required": false;
689
+ };
690
+ "size": {
691
+ "alias": "size";
692
+ "required": false;
693
+ };
694
+ "iconClass": {
695
+ "alias": "iconClass";
696
+ "required": false;
697
+ };
698
+ }, {}, never, never, false, never>;
699
+ }
700
+ declare namespace coming_soon_component_d_exports {
701
+ export { ComingSoonComponent };
702
+ }
703
+ export declare class ComingSoonComponent {
704
+ message: string;
705
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComingSoonComponent, never>;
706
+ static ɵcmp: i0.ɵɵComponentDeclaration<ComingSoonComponent, "pw-coming-soon", never, {
707
+ "message": {
708
+ "alias": "message";
709
+ "required": false;
710
+ };
711
+ }, {}, never, never, false, never>;
712
+ }
713
+ declare namespace collapsible_sidebar_keyboard_shortcut_directive_d_exports {
714
+ export { CollapsibleSidebarKeyboardShortcutDirective };
576
715
  }
577
- declare class ClearBitIconComponent implements OnChanges {
578
- src: string | null;
579
- altText: string;
580
- /** Company name — drives the initials shown when no real logo resolves. */
581
- name: string;
582
- /** Square edge length in px — applied to both the logo image and the monogram tile. */
583
- size: number;
584
- /** Layout/margin classes for the rendered icon — override for centred contexts. */
585
- iconClass: string;
586
- logoSrc: string | null;
587
- showFallback: boolean;
588
- initials: string;
589
- tint: MonogramTint;
590
- get tileRadius(): number;
591
- get tileFontSize(): number;
592
- ngOnChanges(): void;
593
- /** Called when a resolved logo URL fails to load — degrade to the monogram. */
594
- onLogoError(): void;
595
- private buildMonogram;
596
- private static deriveInitials;
597
- private static hash;
598
- static ɵfac: i0.ɵɵFactoryDeclaration<ClearBitIconComponent, never>;
599
- static ɵcmp: i0.ɵɵComponentDeclaration<ClearBitIconComponent, "pw-clearbit-icon", never, { "src": { "alias": "src"; "required": false; }; "altText": { "alias": "altText"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; }, {}, never, never, false, never>;
600
- }
601
-
602
- declare class ComingSoonComponent {
603
- message: string;
604
- static ɵfac: i0.ɵɵFactoryDeclaration<ComingSoonComponent, never>;
605
- static ɵcmp: i0.ɵɵComponentDeclaration<ComingSoonComponent, "pw-coming-soon", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
606
- }
607
-
608
716
  /**
609
717
  * Listens for Ctrl+Shift+A globally and toggles the PosiWise Assistant chat panel.
610
718
  * Applied via hostDirectives on CollapsibleSidebarComponent.
611
719
  */
612
- declare class CollapsibleSidebarKeyboardShortcutDirective {
613
- private readonly sidebarService;
614
- constructor(sidebarService: CollapsibleSidebarService);
615
- onKeydown(event: KeyboardEvent): void;
616
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarKeyboardShortcutDirective, never>;
617
- static ɵdir: i0.ɵɵDirectiveDeclaration<CollapsibleSidebarKeyboardShortcutDirective, "[pwCollapsibleSidebarKeyboardShortcut]", never, {}, {}, never, never, true, never>;
618
- }
619
-
620
- declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDestroy {
621
- private readonly sidebarService;
622
- private readonly injector;
623
- private readonly cdr;
624
- private readonly document;
625
- private readonly appConfigService?;
626
- contentContainer: ViewContainerRef;
627
- /**
628
- * When true, the drawer is a flex sibling of the page: main content shrinks (GitLab issue-board style).
629
- * When false, the drawer is fixed over the viewport with a backdrop.
630
- */
631
- embedInLayout: boolean;
632
- /**
633
- * When false, width/transform transitions are off so the first paint after
634
- * a full page load does not briefly animate or show border/shadow flash.
635
- */
636
- transitionReady: boolean;
637
- isExpanded: boolean;
638
- currentContent: SidebarContent | null;
639
- private componentRef;
640
- private navbarOffsetTracker;
641
- private readonly destroy$;
642
- constructor(sidebarService: CollapsibleSidebarService, injector: Injector, cdr: ChangeDetectorRef, document: Document, appConfigService?: AppConfigService);
643
- ngOnInit(): void;
644
- ngAfterViewInit(): void;
645
- ngOnDestroy(): void;
646
- /** Register (idempotently) the Assistant panel under the given brand. */
647
- private registerBrainPanel;
648
- /** Delegate a header action to the same-named method on the mounted panel. */
649
- invokeHeaderAction(action: SidebarHeaderAction): void;
650
- /**
651
- * Load and render dynamic component based on sidebar content
652
- */
653
- private loadComponent;
654
- private clearComponent;
655
- closeSidebar(): void;
656
- toggleSidebar(): void;
657
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarComponent, [null, null, null, null, { optional: true; }]>;
658
- static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleSidebarComponent, "pw-collapsible-sidebar", never, { "embedInLayout": { "alias": "embedInLayout"; "required": false; }; }, {}, never, never, false, [{ directive: typeof CollapsibleSidebarKeyboardShortcutDirective; inputs: {}; outputs: {}; }]>;
659
- static ngAcceptInputType_embedInLayout: unknown;
660
- }
661
-
720
+ export declare class CollapsibleSidebarKeyboardShortcutDirective {
721
+ private readonly sidebarService;
722
+ constructor(sidebarService: CollapsibleSidebarService);
723
+ onKeydown(event: KeyboardEvent): void;
724
+ static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarKeyboardShortcutDirective, never>;
725
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CollapsibleSidebarKeyboardShortcutDirective, "[pwCollapsibleSidebarKeyboardShortcut]", never, {}, {}, never, never, true, never>;
726
+ }
727
+ declare namespace collapsible_sidebar_component_d_exports {
728
+ export { CollapsibleSidebarComponent };
729
+ }
730
+ export declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDestroy {
731
+ private readonly sidebarService;
732
+ private readonly injector;
733
+ private readonly cdr;
734
+ private readonly document;
735
+ private readonly appConfigService?;
736
+ contentContainer: ViewContainerRef;
737
+ /**
738
+ * When true, the drawer is a flex sibling of the page: main content shrinks (GitLab issue-board style).
739
+ * When false, the drawer is fixed over the viewport with a backdrop.
740
+ */
741
+ embedInLayout: boolean;
742
+ /**
743
+ * When false, width/transform transitions are off so the first paint after
744
+ * a full page load does not briefly animate or show border/shadow flash.
745
+ */
746
+ transitionReady: boolean;
747
+ isExpanded: boolean;
748
+ currentContent: SidebarContent | null;
749
+ private componentRef;
750
+ private navbarOffsetTracker;
751
+ private readonly destroy$;
752
+ constructor(sidebarService: CollapsibleSidebarService, injector: Injector, cdr: ChangeDetectorRef, document: Document, appConfigService?: AppConfigService);
753
+ ngOnInit(): void;
754
+ ngAfterViewInit(): void;
755
+ ngOnDestroy(): void;
756
+ /** Register (idempotently) the Assistant panel under the given brand. */
757
+ private registerBrainPanel;
758
+ /** Delegate a header action to the same-named method on the mounted panel. */
759
+ invokeHeaderAction(action: SidebarHeaderAction): void;
760
+ /**
761
+ * Load and render dynamic component based on sidebar content
762
+ */
763
+ private loadComponent;
764
+ private clearComponent;
765
+ closeSidebar(): void;
766
+ toggleSidebar(): void;
767
+ static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarComponent, [null, null, null, null, {
768
+ optional: true;
769
+ }]>;
770
+ static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleSidebarComponent, "pw-collapsible-sidebar", never, {
771
+ "embedInLayout": {
772
+ "alias": "embedInLayout";
773
+ "required": false;
774
+ };
775
+ }, {}, never, never, false, [{
776
+ directive: typeof CollapsibleSidebarKeyboardShortcutDirective;
777
+ inputs: {};
778
+ outputs: {};
779
+ }]>;
780
+ static ngAcceptInputType_embedInLayout: unknown;
781
+ }
662
782
  interface BrainChatPrompt {
663
- text: string;
664
- icon: string;
783
+ text: string;
784
+ icon: string;
665
785
  }
666
786
  interface BrainChatQuickAction extends BrainChatPrompt {
667
- label: string;
787
+ label: string;
668
788
  }
669
-
789
+ declare const SUGGESTED_PROMPTS: readonly BrainChatPrompt[];
790
+ declare const QUICK_ACTIONS: readonly BrainChatQuickAction[];
791
+ /** Seed assistant greeting for a fresh conversation (also used by New chat). */
792
+ declare const GREETING = "Hi — I can answer questions about your account and run approved actions. Try “show my API stats”.";
670
793
  /**
671
794
  * Identity of the Conversational UI Builder dynamic page the user is
672
795
  * currently viewing (#933 — page-aware Brain). The dynamic-page host sets
@@ -677,19 +800,18 @@ interface BrainChatQuickAction extends BrainChatPrompt {
677
800
  *
678
801
  * `null` whenever no dynamic page is mounted.
679
802
  */
680
- interface DynamicPageContext {
681
- pageKey: string;
682
- subscriptionId: number;
683
- }
684
- declare class DynamicPageContextService {
685
- private _current;
686
- set(ctx: DynamicPageContext): void;
687
- clear(): void;
688
- get current(): DynamicPageContext | null;
689
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPageContextService, never>;
690
- static ɵprov: i0.ɵɵInjectableDeclaration<DynamicPageContextService>;
691
- }
692
-
803
+ export interface DynamicPageContext {
804
+ pageKey: string;
805
+ subscriptionId: number;
806
+ }
807
+ export declare class DynamicPageContextService {
808
+ private _current;
809
+ set(ctx: DynamicPageContext): void;
810
+ clear(): void;
811
+ get current(): DynamicPageContext | null;
812
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPageContextService, never>;
813
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
814
+ }
693
815
  /**
694
816
  * Shared shapes for the PosiWise Brain chat panel. Extracted from
695
817
  * `pw-brain-chat.component.ts` so the component stays under the C1
@@ -698,28 +820,28 @@ declare class DynamicPageContextService {
698
820
  */
699
821
  type ChatMessageRole = 'user' | 'assistant';
700
822
  interface PendingConfirmation {
701
- confirmation_token: string;
702
- risk_level?: string | null;
703
- summary?: string | null;
704
- target_service?: string | null;
705
- target_tool?: string | null;
706
- diff?: MCPFieldDiff | null;
823
+ confirmation_token: string;
824
+ risk_level?: string | null;
825
+ summary?: string | null;
826
+ target_service?: string | null;
827
+ target_tool?: string | null;
828
+ diff?: MCPFieldDiff | null;
707
829
  }
708
830
  interface ChatMessage {
709
- role: ChatMessageRole;
710
- text: string;
711
- pending?: PendingConfirmation;
712
- /** Set to true only on messages produced by the prose summariser (mcp_prose_summariser.py).
713
- * Controls whether the bubble renders via safeMarkdown pipe ([innerHTML]) or as plain text (<pre>).
714
- * Error messages, confirmation summaries, and navigation notices stay plain. */
715
- markdownEnabled?: boolean;
716
- /** Epoch ms when the message was created. Optional — messages hydrated
717
- * from pre-timestamp storage lack it and render without a time. */
718
- at?: number;
719
- /** Page-aware grounding (#933): human label of the page this answer's
720
- * documentation is about (from `grounded_source_page`). When set, the bubble
721
- * renders a "Documented on: {sourcePage}" provenance chip. Absent → no chip. */
722
- sourcePage?: string | null;
831
+ role: ChatMessageRole;
832
+ text: string;
833
+ pending?: PendingConfirmation;
834
+ /** Set to true only on messages produced by the prose summariser (mcp_prose_summariser.py).
835
+ * Controls whether the bubble renders via safeMarkdown pipe ([innerHTML]) or as plain text (<pre>).
836
+ * Error messages, confirmation summaries, and navigation notices stay plain. */
837
+ markdownEnabled?: boolean;
838
+ /** Epoch ms when the message was created. Optional — messages hydrated
839
+ * from pre-timestamp storage lack it and render without a time. */
840
+ at?: number;
841
+ /** Page-aware grounding (#933): human label of the page this answer's
842
+ * documentation is about (from `grounded_source_page`). When set, the bubble
843
+ * renders a "Documented on: {sourcePage}" provenance chip. Absent → no chip. */
844
+ sourcePage?: string | null;
723
845
  }
724
846
  /** Lifecycle of a file the user dropped on the composer. */
725
847
  /** `choosing`: several upload tools accept this file — held until the user picks one. */
@@ -730,21 +852,20 @@ type ChatAttachmentStatus = 'choosing' | 'uploading' | 'ready' | 'error';
730
852
  * hands back, which is all that ever reaches the chat request.
731
853
  */
732
854
  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
-
855
+ name: string;
856
+ size: number;
857
+ status: ChatAttachmentStatus;
858
+ /** 0-100 while uploading; 100 once staged. */
859
+ percent: number;
860
+ /** Opaque staging key. Absent until the upload lands. */
861
+ key?: string;
862
+ /** Namespaced tool that consumes this file, from its advertised capability. */
863
+ tool?: string;
864
+ /** That tool's advertised title, e.g. "Set Your Profile Picture". */
865
+ title?: string;
866
+ /** Human-readable failure, shown on the chip. */
867
+ error?: string;
868
+ }
748
869
  /**
749
870
  * Owns the composer's file attachment: drag state, the upload, and the single
750
871
  * staged file. Split out of the component the same way BrainChatDictation and
@@ -758,46 +879,45 @@ interface ChatAttachment {
758
879
  * beyond naming its API.
759
880
  */
760
881
  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
- }
800
-
882
+ private readonly uploads;
883
+ private readonly apis;
884
+ private readonly subscriptionId;
885
+ private readonly onChange;
886
+ current: ChatAttachment | null;
887
+ private readonly drag;
888
+ private capabilities;
889
+ private readonly choice;
890
+ constructor(uploads: DirectUploadService | null, apis: Record<string, BaseHttpService> | null, subscriptionId: () => number | null, onChange: () => void);
891
+ discover(source: Observable<{
892
+ uploads: MCPUploadCapability[];
893
+ }>, destroy$: Subject<void>): void;
894
+ get enabled(): boolean;
895
+ get busy(): boolean;
896
+ /** Several tools accept the file; nothing is uploaded until one is picked. */
897
+ get choosing(): boolean;
898
+ get choices(): MCPUploadCapability[];
899
+ choiceLabel(capability: MCPUploadCapability): string;
900
+ get ready(): boolean;
901
+ get context(): Record<string, unknown> | null;
902
+ get label(): string;
903
+ get hint(): string;
904
+ get acceptAttr(): string;
905
+ get dragActive(): boolean;
906
+ dragEnter(event: DragEvent): void;
907
+ dragOver(event: DragEvent): void;
908
+ dragLeave(event: DragEvent): void;
909
+ drop(event: DragEvent): void;
910
+ /** Shared by the drop target and the paperclip file input. */
911
+ accept(file: File): void;
912
+ /** The user picked which tool this file is for — only now is it uploaded. */
913
+ choose(capability: MCPUploadCapability): void;
914
+ remove(): void;
915
+ /** Cleared once a planned call used `sent`; a reply asking for details keeps it. */
916
+ clearIfConsumed(sent: ChatAttachment | null): void;
917
+ meta(): string;
918
+ icon(): string;
919
+ private upload;
920
+ }
801
921
  /**
802
922
  * Drives mic dictation for the Brain chat composer (#22).
803
923
  *
@@ -810,48 +930,49 @@ declare class BrainChatAttachment {
810
930
  */
811
931
  type DictationPhase = 'idle' | 'listening' | 'processing';
812
932
  declare class BrainChatDictation {
813
- private readonly voice;
814
- private readonly getDraft;
815
- private readonly setDraft;
816
- private readonly changed;
817
- phase: DictationPhase;
818
- error: string | null;
819
- private sub?;
820
- /** Draft text captured at record-start + each finalized phrase, so live
821
- * partials update without clobbering what the user already typed. */
822
- private base;
823
- constructor(voice: BrainVoiceService | undefined, getDraft: () => string, setDraft: (text: string) => void, changed: () => void);
824
- /** Convenience for the template — kept for the pulsing-button class. */
825
- get isRecording(): boolean;
826
- /** Status text shown next to the mic; `null` when nothing to say. */
827
- get statusMessage(): string | null;
828
- /** Mic button handler: start if idle, stop if recording. While
829
- * "processing" we ignore clicks until the server's final transcript
830
- * lands. */
831
- toggle(loading: boolean): void;
832
- stop(): void;
833
- /** Unconditionally cancel recording and clear any error, from ANY phase —
834
- * the overlay's End/Close (stop() only finalizes from 'listening', so it
835
- * can't dismiss the 'processing' or 'error' states). */
836
- dismiss(): void;
837
- /** Tear down with the host component (called from ngOnDestroy). */
838
- dispose(): void;
839
- private start;
840
- private apply;
841
- private fail;
842
- }
843
-
933
+ private readonly voice;
934
+ private readonly getDraft;
935
+ private readonly setDraft;
936
+ private readonly changed;
937
+ phase: DictationPhase;
938
+ error: string | null;
939
+ private sub?;
940
+ /** Draft text captured at record-start + each finalized phrase, so live
941
+ * partials update without clobbering what the user already typed. */
942
+ private base;
943
+ constructor(voice: BrainVoiceService | undefined, getDraft: () => string, setDraft: (text: string) => void, changed: () => void);
944
+ /** Convenience for the template — kept for the pulsing-button class. */
945
+ get isRecording(): boolean;
946
+ /** Status text shown next to the mic; `null` when nothing to say. */
947
+ get statusMessage(): string | null;
948
+ /** Mic button handler: start if idle, stop if recording. While
949
+ * "processing" we ignore clicks until the server's final transcript
950
+ * lands. */
951
+ toggle(loading: boolean): void;
952
+ stop(): void;
953
+ /** Unconditionally cancel recording and clear any error, from ANY phase —
954
+ * the overlay's End/Close (stop() only finalizes from 'listening', so it
955
+ * can't dismiss the 'processing' or 'error' states). */
956
+ dismiss(): void;
957
+ /** Tear down with the host component (called from ngOnDestroy). */
958
+ dispose(): void;
959
+ private start;
960
+ private apply;
961
+ private fail;
962
+ }
844
963
  interface DiffRow {
845
- field: string;
846
- before: string;
847
- after: string;
964
+ field: string;
965
+ before: string;
966
+ after: string;
848
967
  }
849
968
  declare function diffRowsFrom(diff?: MCPFieldDiff | null): DiffRow[];
850
-
851
969
  type VoiceChatState = 'idle' | 'listening' | 'processingSpeech' | 'thinking' | 'fetchingData' | 'speaking' | 'completed' | 'error';
852
970
  /** Visual treatment hint for the template — keeps animation choice out of HTML. */
853
971
  type VoiceChatVisual = 'idle' | 'pulse' | 'loader' | 'wave' | 'error';
854
-
972
+ declare const VOICE_ERROR_MESSAGES: Record<string, string>;
973
+ /** Status copy per state — reassuring, conversational, and never silent. */
974
+ declare const STATE_COPY: Record<VoiceChatState, string>;
975
+ declare const STATE_VISUAL: Record<VoiceChatState, VoiceChatVisual>;
855
976
  /**
856
977
  * Voice Chat controller for the Brain chat composer (#58) — explicit state
857
978
  * machine over the WS relay: listening (start) → thinking (`text` role=user)
@@ -859,117 +980,133 @@ type VoiceChatVisual = 'idle' | 'pulse' | 'loader' | 'wave' | 'error';
859
980
  * Copy/visual vocab lives in pw-brain-chat-voice-copy.ts (C1 line budget).
860
981
  */
861
982
  declare class BrainChatVoiceChat {
862
- private readonly voice;
863
- private readonly changed;
864
- /** Called once per completed spoken exchange so the host can record it. */
865
- private readonly onTurn?;
866
- state: VoiceChatState;
867
- error: string | null;
868
- available: boolean;
869
- /** Latest user transcript (Sonic ASR) — enriches the `fetchingData` copy. */
870
- transcript: string;
871
- /** Assistant reply text for the current turn — streams in alongside the audio. */
872
- reply: string;
873
- private sub?;
874
- constructor(voice: VoiceChatService | undefined, changed: () => void,
875
- /** Called once per completed spoken exchange so the host can record it. */
876
- onTurn?: (userText: string, replyText: string) => void);
877
- get isActive(): boolean;
878
- /** Back-compat for callers that only care whether audio is playing. */
879
- get speaking(): boolean;
880
- /** Animation family the template renders for the current state. */
881
- get visual(): VoiceChatVisual;
882
- /** Status text next to the button; `null` when there's nothing to say. */
883
- get statusMessage(): string | null;
884
- /** Resolve once on init so the button shows only when voice-api is reachable. */
885
- resolveAvailability(): Promise<void>;
886
- /** Voice Chat button handler: start if idle, stop if active. */
887
- toggle(loading: boolean): void;
888
- stop(): void;
889
- /** Tear down with the host component (called from ngOnDestroy). */
890
- dispose(): void;
891
- private start;
892
- private apply;
893
- private onText;
894
- private onSpeakingStarted;
895
- private onSpeakingStopped;
896
- /** Hand the completed spoken exchange to the host (thread recording), then
897
- * reset the per-turn buffers. Safe to call with nothing buffered. */
898
- private flushTurn;
899
- /** Move forward only while a session is live (ignore stray events post-stop). */
900
- private advanceTo;
901
- private fail;
902
- private setState;
903
- }
904
-
905
- declare class PwBrainChatComponent implements OnInit, OnDestroy {
906
- private readonly orchestrator;
907
- private readonly localStorage;
908
- private readonly router;
909
- private readonly cdr;
910
- private readonly store;
911
- private readonly dynamicPageCtx;
912
- private readonly appConfigService?;
913
- private readonly brainSocket?;
914
- private readonly brainVoice?;
915
- private readonly voiceChatService?;
916
- private readonly directUpload?;
917
- private readonly uploadApis?;
918
- messages: ChatMessage[];
919
- draft: string;
920
- loading: boolean;
921
- streamingStage: string | null;
922
- streamingProse: string | null;
923
- brandName: string;
924
- userFirstName?: string;
925
- readonly suggestedPrompts: readonly BrainChatPrompt[];
926
- readonly quickActions: readonly BrainChatQuickAction[];
927
- private conversationId;
928
- private storage;
929
- private streamSub?;
930
- private readonly destroy$;
931
- readonly diffRows: typeof diffRowsFrom;
932
- readonly dictation: BrainChatDictation;
933
- readonly voiceChat: BrainChatVoiceChat;
934
- readonly attachment: BrainChatAttachment;
935
- private sentAttachment;
936
- private readonly threadRef?;
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>);
938
- ngOnInit(): void;
939
- private subscribeToServerPush;
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;
947
- /**
948
- * The composer teaches the affordance: with a file staged, the next thing
949
- * to do is send it, with or without a message. Leaving the generic prompt
950
- * there left people looking for an upload button that does not exist.
951
- */
952
- get composerPlaceholder(): string;
953
- send(): void;
954
- approve(message: ChatMessage): void;
955
- cancel(message: ChatMessage): void;
956
- cancelRequest(): void;
957
- trackByIndex(index: number, _item: ChatMessage): number;
958
- usePrompt(text: string): void;
959
- newChat(): void;
960
- private handleExecuteResponse;
961
- private applySuccessResult;
962
- private handleError;
963
- private persistConversationId;
964
- private pushAssistant;
965
- /** Voice session turn completed — record the spoken exchange in the thread
966
- * so the conversation survives the overlay (plain text: it was speech). */
967
- private recordVoiceTurn;
968
- private stick;
969
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
970
- static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatComponent, "pw-brain-chat", never, {}, {}, never, never, false, never>;
971
- }
972
-
983
+ private readonly voice;
984
+ private readonly changed;
985
+ /** Called once per completed spoken exchange so the host can record it. */
986
+ private readonly onTurn?;
987
+ state: VoiceChatState;
988
+ error: string | null;
989
+ available: boolean;
990
+ /** Latest user transcript (Sonic ASR) — enriches the `fetchingData` copy. */
991
+ transcript: string;
992
+ /** Assistant reply text for the current turn — streams in alongside the audio. */
993
+ reply: string;
994
+ private sub?;
995
+ constructor(voice: VoiceChatService | undefined, changed: () => void,
996
+ /** Called once per completed spoken exchange so the host can record it. */
997
+ onTurn?: (userText: string, replyText: string) => void);
998
+ get isActive(): boolean;
999
+ /** Back-compat for callers that only care whether audio is playing. */
1000
+ get speaking(): boolean;
1001
+ /** Animation family the template renders for the current state. */
1002
+ get visual(): VoiceChatVisual;
1003
+ /** Status text next to the button; `null` when there's nothing to say. */
1004
+ get statusMessage(): string | null;
1005
+ /** Resolve once on init so the button shows only when voice-api is reachable. */
1006
+ resolveAvailability(): Promise<void>;
1007
+ /** Voice Chat button handler: start if idle, stop if active. */
1008
+ toggle(loading: boolean): void;
1009
+ stop(): void;
1010
+ /** Tear down with the host component (called from ngOnDestroy). */
1011
+ dispose(): void;
1012
+ private start;
1013
+ private apply;
1014
+ private onText;
1015
+ private onSpeakingStarted;
1016
+ private onSpeakingStopped;
1017
+ /** Hand the completed spoken exchange to the host (thread recording), then
1018
+ * reset the per-turn buffers. Safe to call with nothing buffered. */
1019
+ private flushTurn;
1020
+ /** Move forward only while a session is live (ignore stray events post-stop). */
1021
+ private advanceTo;
1022
+ private fail;
1023
+ private setState;
1024
+ }
1025
+ declare namespace pw_brain_chat_component_d_exports {
1026
+ export { ChatMessage, ChatMessageRole, PendingConfirmation, PwBrainChatComponent };
1027
+ }
1028
+ export declare class PwBrainChatComponent implements OnInit, OnDestroy {
1029
+ private readonly orchestrator;
1030
+ private readonly localStorage;
1031
+ private readonly router;
1032
+ private readonly cdr;
1033
+ private readonly store;
1034
+ private readonly dynamicPageCtx;
1035
+ private readonly appConfigService?;
1036
+ private readonly brainSocket?;
1037
+ private readonly brainVoice?;
1038
+ private readonly voiceChatService?;
1039
+ private readonly directUpload?;
1040
+ private readonly uploadApis?;
1041
+ messages: ChatMessage[];
1042
+ draft: string;
1043
+ loading: boolean;
1044
+ streamingStage: string | null;
1045
+ streamingProse: string | null;
1046
+ brandName: string;
1047
+ userFirstName?: string;
1048
+ readonly suggestedPrompts: readonly BrainChatPrompt[];
1049
+ readonly quickActions: readonly BrainChatQuickAction[];
1050
+ private conversationId;
1051
+ private storage;
1052
+ private streamSub?;
1053
+ private readonly destroy$;
1054
+ readonly diffRows: typeof diffRowsFrom;
1055
+ readonly dictation: BrainChatDictation;
1056
+ readonly voiceChat: BrainChatVoiceChat;
1057
+ readonly attachment: BrainChatAttachment;
1058
+ private sentAttachment;
1059
+ private readonly threadRef?;
1060
+ 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>);
1061
+ ngOnInit(): void;
1062
+ private subscribeToServerPush;
1063
+ ngOnDestroy(): void;
1064
+ /**
1065
+ * Paperclip path. The input is reset after every pick so choosing the same
1066
+ * file twice in a row still fires `change` (the browser suppresses it
1067
+ * otherwise, and "nothing happened" is a maddening bug to hit).
1068
+ */
1069
+ pickFile(input: HTMLInputElement): void;
1070
+ /**
1071
+ * The composer teaches the affordance: with a file staged, the next thing
1072
+ * to do is send it, with or without a message. Leaving the generic prompt
1073
+ * there left people looking for an upload button that does not exist.
1074
+ */
1075
+ get composerPlaceholder(): string;
1076
+ send(): void;
1077
+ approve(message: ChatMessage): void;
1078
+ cancel(message: ChatMessage): void;
1079
+ cancelRequest(): void;
1080
+ trackByIndex(index: number, _item: ChatMessage): number;
1081
+ usePrompt(text: string): void;
1082
+ newChat(): void;
1083
+ private handleExecuteResponse;
1084
+ private applySuccessResult;
1085
+ private handleError;
1086
+ private persistConversationId;
1087
+ private pushAssistant;
1088
+ /** Voice session turn completed — record the spoken exchange in the thread
1089
+ * so the conversation survives the overlay (plain text: it was speech). */
1090
+ private recordVoiceTurn;
1091
+ private stick;
1092
+ static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatComponent, [null, null, null, null, null, null, {
1093
+ optional: true;
1094
+ }, {
1095
+ optional: true;
1096
+ }, {
1097
+ optional: true;
1098
+ }, {
1099
+ optional: true;
1100
+ }, {
1101
+ optional: true;
1102
+ }, {
1103
+ optional: true;
1104
+ }]>;
1105
+ static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatComponent, "pw-brain-chat", never, {}, {}, never, never, false, never>;
1106
+ }
1107
+ declare namespace pw_brain_chat_confirm_component_d_exports {
1108
+ export { PwBrainChatConfirmComponent };
1109
+ }
973
1110
  /**
974
1111
  * Pending-action confirmation panel for the Brain chat bubble — risk badge,
975
1112
  * target tool, field-level diff, and Approve/Cancel controls. Extracted from
@@ -978,15 +1115,29 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
978
1115
  * and message mutation (approve/cancel).
979
1116
  */
980
1117
  declare class PwBrainChatConfirmComponent {
981
- pending: PendingConfirmation;
982
- loading: boolean;
983
- approveEvent: EventEmitter<void>;
984
- cancelEvent: EventEmitter<void>;
985
- readonly diffRows: typeof diffRowsFrom;
986
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatConfirmComponent, never>;
987
- 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>;
988
- }
989
-
1118
+ pending: PendingConfirmation;
1119
+ loading: boolean;
1120
+ approveEvent: EventEmitter<void>;
1121
+ cancelEvent: EventEmitter<void>;
1122
+ readonly diffRows: typeof diffRowsFrom;
1123
+ static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatConfirmComponent, never>;
1124
+ static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatConfirmComponent, "pw-brain-chat-confirm", never, {
1125
+ "pending": {
1126
+ "alias": "pending";
1127
+ "required": true;
1128
+ };
1129
+ "loading": {
1130
+ "alias": "loading";
1131
+ "required": false;
1132
+ };
1133
+ }, {
1134
+ "approveEvent": "approveEvent";
1135
+ "cancelEvent": "cancelEvent";
1136
+ }, never, never, false, never>;
1137
+ }
1138
+ declare namespace pw_brain_chat_welcome_component_d_exports {
1139
+ export { PwBrainChatWelcomeComponent };
1140
+ }
990
1141
  /**
991
1142
  * First-open welcome state for the Brain chat — greeting + suggested-prompt
992
1143
  * rows. Extracted from the parent template so `pw-brain-chat.component.html`
@@ -994,16 +1145,70 @@ declare class PwBrainChatConfirmComponent {
994
1145
  * owns send().
995
1146
  */
996
1147
  declare class PwBrainChatWelcomeComponent {
997
- /** Signed-in user's first name; when set the greeting reads "Hi {name},". */
998
- userFirstName?: string;
999
- prompts: readonly BrainChatPrompt[];
1000
- pick: EventEmitter<string>;
1001
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatWelcomeComponent, never>;
1002
- 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>;
1003
- }
1004
-
1148
+ /** Signed-in user's first name; when set the greeting reads "Hi {name},". */
1149
+ userFirstName?: string;
1150
+ prompts: readonly BrainChatPrompt[];
1151
+ pick: EventEmitter<string>;
1152
+ static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatWelcomeComponent, never>;
1153
+ static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatWelcomeComponent, "pw-brain-chat-welcome", never, {
1154
+ "userFirstName": {
1155
+ "alias": "userFirstName";
1156
+ "required": false;
1157
+ };
1158
+ "prompts": {
1159
+ "alias": "prompts";
1160
+ "required": false;
1161
+ };
1162
+ }, {
1163
+ "pick": "pick";
1164
+ }, never, never, false, never>;
1165
+ }
1005
1166
  type SonarState = 'listening' | 'processingSpeech' | 'thinking' | 'fetchingData' | 'speaking' | 'error';
1006
-
1167
+ interface SonarColors {
1168
+ first: string;
1169
+ ink3: string;
1170
+ tick: string;
1171
+ tickMaj: string;
1172
+ idle: string;
1173
+ line: string;
1174
+ err: string;
1175
+ n500: string;
1176
+ }
1177
+ declare const SIZE = 280;
1178
+ declare const CX: number;
1179
+ declare const CY: number;
1180
+ declare const R_TICK = 118;
1181
+ declare const R_OUTER = 128;
1182
+ declare const R_CORE = 32;
1183
+ declare const R_MAX = 112;
1184
+ interface Ring {
1185
+ r: number;
1186
+ life: number;
1187
+ amp: number;
1188
+ }
1189
+ interface SonarNode {
1190
+ a: number;
1191
+ r: number;
1192
+ lit: number;
1193
+ }
1194
+ interface SonarAnim {
1195
+ micLevel: number;
1196
+ ringPhase: number;
1197
+ rings: Ring[];
1198
+ radar: number;
1199
+ nodes: SonarNode[];
1200
+ }
1201
+ declare const SONAR_LABELS: Record<SonarState, string>;
1202
+ declare function makeAnim(): SonarAnim;
1203
+ declare function alpha(color: string, a: number): string;
1204
+ declare function ring(ctx: CanvasRenderingContext2D, r: number, stroke: string, w: number): void;
1205
+ /** The persistent instrument bezel: outer boundary, 72 ticks, guide rings. */
1206
+ declare function chrome(ctx: CanvasRenderingContext2D, c: SonarColors): void;
1207
+ /** Centred JetBrains-Mono telemetry line (letter-spaced) below the dial core. */
1208
+ declare function readout(ctx: CanvasRenderingContext2D, text: string, col: string): void;
1209
+ declare namespace pw_brain_chat_voice_overlay_component_d_exports {
1210
+ export { PwBrainChatVoiceOverlayComponent };
1211
+ }
1007
1212
  /**
1008
1213
  * Sonar voice-session overlay (#51) — a focused takeover over the chat panel
1009
1214
  * that animates the real voice/dictation state machine on an instrument dial.
@@ -1012,290 +1217,400 @@ type SonarState = 'listening' | 'processingSpeech' | 'thinking' | 'fetchingData'
1012
1217
  * by its own rAF loop and never needs CD.
1013
1218
  */
1014
1219
  declare class PwBrainChatVoiceOverlayComponent implements AfterViewInit, OnDestroy {
1015
- private readonly host;
1016
- voice: BrainChatVoiceChat | null;
1017
- dictation: BrainChatDictation | null;
1018
- readonly end: EventEmitter<void>;
1019
- private readonly dialRef?;
1020
- private readonly endBtnRef?;
1021
- private ctx;
1022
- private raf;
1023
- private last;
1024
- private prevState;
1025
- private colors;
1026
- private readonly renderer;
1027
- private readonly reduce;
1028
- constructor(host: ElementRef<HTMLElement>);
1029
- /** The voice controller iff a voice session is live (active or errored). */
1030
- private get activeVoice();
1031
- get isVoice(): boolean;
1032
- get state(): SonarState;
1033
- get isError(): boolean;
1034
- get label(): string;
1035
- get modeTag(): string;
1036
- get transcript(): string;
1037
- get showTranscript(): boolean;
1038
- /** Assistant reply text, streamed live while the audio answer plays. */
1039
- get reply(): string;
1040
- get showReply(): boolean;
1041
- get showSteps(): boolean;
1042
- get stepIndex(): number;
1043
- get stepCaption(): string;
1044
- get coreIcon(): string;
1045
- get hint(): string;
1046
- ngAfterViewInit(): void;
1047
- ngOnDestroy(): void;
1048
- onEnd(): void;
1049
- private readonly frame;
1050
- /** Read theme-aware colours (the --bc-* tokens inherit from .pw-brain-chat). */
1051
- private readColors;
1052
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatVoiceOverlayComponent, never>;
1053
- 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>;
1054
- }
1055
-
1056
- declare class EntityGroupComponent extends AppBaseComponent implements OnInit, OnDestroy {
1057
- private readonly groupService;
1058
- private readonly subscriptionService;
1059
- private readonly modalService;
1060
- private readonly cdr;
1061
- content: TemplateRef<SharedModalContext>;
1062
- subscription: Subscription;
1063
- subscriptionId: number;
1064
- user: User;
1065
- userId: number;
1066
- entityId: number;
1067
- selectedGroup: {
1068
- name: string;
1069
- };
1070
- subscriptionMembers: any[];
1071
- subscribedMembers: any[];
1072
- filteredMembers: any[];
1073
- selectedMembers: any[];
1074
- enrolledUsers: EnrolledUser[];
1075
- admins: any[];
1076
- subscriptionInfo: any[];
1077
- subscriptionOwner: number;
1078
- chatPermission: string;
1079
- isLoaded: boolean;
1080
- hasAccess: boolean;
1081
- constructor(groupService: GroupService, subscriptionService: SubscriptionService, modalService: NgbModal, injector: Injector, cdr: ChangeDetectorRef);
1082
- ngOnInit(): void;
1083
- search(event: any): void;
1084
- open(): void;
1085
- closeModal(modal: any): void;
1086
- getEntity(): void;
1087
- onSave(): void;
1088
- private getSubscribedUsers;
1089
- onDelete(memberId: any): void;
1090
- navigateToCommunications(): void;
1091
- ngOnDestroy(): void;
1092
- static ɵfac: i0.ɵɵFactoryDeclaration<EntityGroupComponent, never>;
1093
- static ɵcmp: i0.ɵɵComponentDeclaration<EntityGroupComponent, "pw-entity-group", never, {}, {}, never, never, false, never>;
1094
- }
1095
-
1220
+ private readonly host;
1221
+ voice: BrainChatVoiceChat | null;
1222
+ dictation: BrainChatDictation | null;
1223
+ readonly end: EventEmitter<void>;
1224
+ private readonly dialRef?;
1225
+ private readonly endBtnRef?;
1226
+ private ctx;
1227
+ private raf;
1228
+ private last;
1229
+ private prevState;
1230
+ private colors;
1231
+ private readonly renderer;
1232
+ private readonly reduce;
1233
+ constructor(host: ElementRef<HTMLElement>);
1234
+ /** The voice controller iff a voice session is live (active or errored). */
1235
+ private get activeVoice();
1236
+ get isVoice(): boolean;
1237
+ get state(): SonarState;
1238
+ get isError(): boolean;
1239
+ get label(): string;
1240
+ get modeTag(): string;
1241
+ get transcript(): string;
1242
+ get showTranscript(): boolean;
1243
+ /** Assistant reply text, streamed live while the audio answer plays. */
1244
+ get reply(): string;
1245
+ get showReply(): boolean;
1246
+ get showSteps(): boolean;
1247
+ get stepIndex(): number;
1248
+ get stepCaption(): string;
1249
+ get coreIcon(): string;
1250
+ get hint(): string;
1251
+ ngAfterViewInit(): void;
1252
+ ngOnDestroy(): void;
1253
+ onEnd(): void;
1254
+ private readonly frame;
1255
+ /** Read theme-aware colours (the --bc-* tokens inherit from .pw-brain-chat). */
1256
+ private readColors;
1257
+ static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatVoiceOverlayComponent, never>;
1258
+ static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatVoiceOverlayComponent, "pw-brain-chat-voice-overlay", never, {
1259
+ "voice": {
1260
+ "alias": "voice";
1261
+ "required": false;
1262
+ };
1263
+ "dictation": {
1264
+ "alias": "dictation";
1265
+ "required": false;
1266
+ };
1267
+ }, {
1268
+ "end": "end";
1269
+ }, never, never, false, never>;
1270
+ }
1271
+ declare namespace entity_group_component_d_exports {
1272
+ export { EntityGroupComponent };
1273
+ }
1274
+ export declare class EntityGroupComponent extends AppBaseComponent implements OnInit, OnDestroy {
1275
+ private readonly groupService;
1276
+ private readonly subscriptionService;
1277
+ private readonly modalService;
1278
+ private readonly cdr;
1279
+ content: TemplateRef<SharedModalContext>;
1280
+ subscription: Subscription;
1281
+ subscriptionId: number;
1282
+ user: User;
1283
+ userId: number;
1284
+ entityId: number;
1285
+ selectedGroup: {
1286
+ name: string;
1287
+ };
1288
+ subscriptionMembers: any[];
1289
+ subscribedMembers: any[];
1290
+ filteredMembers: any[];
1291
+ selectedMembers: any[];
1292
+ enrolledUsers: EnrolledUser[];
1293
+ admins: any[];
1294
+ subscriptionInfo: any[];
1295
+ subscriptionOwner: number;
1296
+ chatPermission: string;
1297
+ isLoaded: boolean;
1298
+ hasAccess: boolean;
1299
+ constructor(groupService: GroupService, subscriptionService: SubscriptionService, modalService: NgbModal, injector: Injector, cdr: ChangeDetectorRef);
1300
+ ngOnInit(): void;
1301
+ search(event: any): void;
1302
+ open(): void;
1303
+ closeModal(modal: any): void;
1304
+ getEntity(): void;
1305
+ onSave(): void;
1306
+ private getSubscribedUsers;
1307
+ onDelete(memberId: any): void;
1308
+ navigateToCommunications(): void;
1309
+ ngOnDestroy(): void;
1310
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntityGroupComponent, never>;
1311
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntityGroupComponent, "pw-entity-group", never, {}, {}, never, never, false, never>;
1312
+ }
1096
1313
  /**
1097
1314
  * Convenience overrides for `confirmDelete`. Any field of `ConfirmDialogConfig`
1098
1315
  * may be passed; the defaults are `{ title: 'Delete', text: 'Are you sure you
1099
1316
  * want to delete?', destructive: true }`.
1100
1317
  */
1101
- type ConfirmDeleteOptions = Partial<ConfirmDialogConfig>;
1102
- declare class ConfirmDialogService {
1103
- private readonly modal;
1104
- constructor(modal: NgbModal);
1105
- open(config?: ConfirmDialogConfig): Promise<boolean>;
1106
- /**
1107
- * Opens a generic destructive "Delete — Are you sure you want to delete?"
1108
- * confirmation dialog. Pass overrides for any field (e.g. `text` with a
1109
- * bold entity name, or `textKey` for an i18n key).
1110
- */
1111
- confirmDelete(overrides?: ConfirmDeleteOptions): Promise<boolean>;
1112
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogService, never>;
1113
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmDialogService>;
1114
- }
1115
-
1116
- declare class GroupsComponent extends AppBaseComponent implements OnInit, OnDestroy {
1117
- private readonly fb;
1118
- private readonly groupService;
1119
- private readonly subscriptionService;
1120
- private readonly dataService;
1121
- private readonly cdr;
1122
- private readonly confirmDialog;
1123
- private groupsData;
1124
- subscription: Subscription;
1125
- message: number;
1126
- id: number;
1127
- group_id: number;
1128
- form: UntypedFormGroup;
1129
- description: string;
1318
+ export type ConfirmDeleteOptions = Partial<ConfirmDialogConfig>;
1319
+ export declare class ConfirmDialogService {
1320
+ private readonly modal;
1321
+ constructor(modal: NgbModal);
1322
+ open(config?: ConfirmDialogConfig): Promise<boolean>;
1323
+ /**
1324
+ * Opens a generic destructive "Delete — Are you sure you want to delete?"
1325
+ * confirmation dialog. Pass overrides for any field (e.g. `text` with a
1326
+ * bold entity name, or `textKey` for an i18n key).
1327
+ */
1328
+ confirmDelete(overrides?: ConfirmDeleteOptions): Promise<boolean>;
1329
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogService, never>;
1330
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1331
+ }
1332
+ declare namespace groups_component_d_exports {
1333
+ export { GroupsComponent };
1334
+ }
1335
+ export declare class GroupsComponent extends AppBaseComponent implements OnInit, OnDestroy {
1336
+ private readonly fb;
1337
+ private readonly groupService;
1338
+ private readonly subscriptionService;
1339
+ private readonly dataService;
1340
+ private readonly cdr;
1341
+ private readonly confirmDialog;
1342
+ private groupsData;
1343
+ subscription: Subscription;
1344
+ message: number;
1345
+ id: number;
1346
+ group_id: number;
1347
+ form: UntypedFormGroup;
1348
+ description: string;
1349
+ name: string;
1350
+ allGroups: Group[];
1351
+ groupDefinition: {
1130
1352
  name: string;
1131
- allGroups: Group[];
1132
- groupDefinition: {
1133
- name: string;
1134
- groups: IterableIterator<object>;
1135
- }[];
1136
- domainGroupDefinition: any[];
1137
- admins: any[];
1138
- subscriptionInfo: any[];
1139
- subscriptionOwner: number;
1140
- enrolledUsers: {
1141
- is_owner: boolean;
1142
- id: number;
1143
- }[];
1144
- user: User;
1145
- submitted: boolean;
1146
- viewEdit: boolean;
1147
- buttonBusy: boolean;
1148
- isGroupOperations: boolean;
1149
- isGroupEdit: boolean;
1150
- hasAccess: boolean;
1151
- isLoaded: boolean;
1152
- constructor(fb: UntypedFormBuilder, groupService: GroupService, subscriptionService: SubscriptionService, dataService: DataService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
1153
- ngOnInit(): void;
1154
- /** Function to save group */
1155
- saveGroup(): void;
1156
- private getAllGroupDefinition;
1157
- private getSubscribedUsers;
1158
- groupOperation(): void;
1159
- cancelUpdate(): void;
1160
- editGroup(group_id: number): void;
1161
- private getGroupDetails;
1162
- updateDetails(): void;
1163
- onDelete(id: number): void;
1164
- filterDomainsList(event: any): void;
1165
- previous(): void;
1166
- navigateToCommunications(id: number): void;
1167
- navigateToDocumentations(id: number): void;
1168
- trackByGroup(_index: number, item: {
1169
- id: number;
1170
- }): number;
1171
- ngOnDestroy(): void;
1172
- static ɵfac: i0.ɵɵFactoryDeclaration<GroupsComponent, never>;
1173
- static ɵcmp: i0.ɵɵComponentDeclaration<GroupsComponent, "pw-groups", never, {}, {}, never, never, false, never>;
1174
- }
1175
-
1176
- declare class GroupDefinitionComponent extends AppBaseComponent implements OnInit, OnDestroy {
1177
- private readonly groupService;
1178
- private readonly fb;
1179
- private readonly subscriptionService;
1180
- private readonly data;
1181
- private readonly cdr;
1182
- private readonly confirmDialog;
1183
- subscriptions: any[];
1184
- message: number;
1185
- groupDefinition: object[];
1186
- form: UntypedFormGroup;
1353
+ groups: IterableIterator<object>;
1354
+ }[];
1355
+ domainGroupDefinition: any[];
1356
+ admins: any[];
1357
+ subscriptionInfo: any[];
1358
+ subscriptionOwner: number;
1359
+ enrolledUsers: {
1360
+ is_owner: boolean;
1361
+ id: number;
1362
+ }[];
1363
+ user: User;
1364
+ submitted: boolean;
1365
+ viewEdit: boolean;
1366
+ buttonBusy: boolean;
1367
+ isGroupOperations: boolean;
1368
+ isGroupEdit: boolean;
1369
+ hasAccess: boolean;
1370
+ isLoaded: boolean;
1371
+ constructor(fb: UntypedFormBuilder, groupService: GroupService, subscriptionService: SubscriptionService, dataService: DataService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
1372
+ ngOnInit(): void;
1373
+ /** Function to save group */
1374
+ saveGroup(): void;
1375
+ private getAllGroupDefinition;
1376
+ private getSubscribedUsers;
1377
+ groupOperation(): void;
1378
+ cancelUpdate(): void;
1379
+ editGroup(group_id: number): void;
1380
+ private getGroupDetails;
1381
+ updateDetails(): void;
1382
+ onDelete(id: number): void;
1383
+ filterDomainsList(event: any): void;
1384
+ previous(): void;
1385
+ navigateToCommunications(id: number): void;
1386
+ navigateToDocumentations(id: number): void;
1387
+ trackByGroup(_index: number, item: {
1187
1388
  id: number;
1188
- viewDefinition: boolean;
1189
- viewEdit: boolean;
1190
- private groupDefId;
1191
- private groupDefinitionDetails;
1192
- hasAccess: boolean;
1193
- admins: any[];
1194
- subscriptionInfo: any[];
1195
- subscriptionOwner: number;
1196
- enrolledUsers: EnrolledUser[];
1197
- user: User;
1198
- isLoaded: boolean;
1199
- categoryBusyButton: boolean;
1200
- constructor(groupService: GroupService, fb: UntypedFormBuilder, subscriptionService: SubscriptionService, data: DataService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
1201
- ngOnInit(): void;
1202
- private getAllGroupDefinition;
1203
- private getSubscribedUsers;
1204
- updateDetails(): void;
1205
- onGroupDefinitionEdit(id: number): void;
1206
- getSubscriptionDetails(): void;
1207
- saveGroupDefinition(): void;
1208
- onDelete(id: number): void;
1209
- viewDefinitions(): void;
1210
- previous(): void;
1211
- onCancel(): void;
1212
- ngOnDestroy(): void;
1213
- static ɵfac: i0.ɵɵFactoryDeclaration<GroupDefinitionComponent, never>;
1214
- static ɵcmp: i0.ɵɵComponentDeclaration<GroupDefinitionComponent, "pw-group-definition", never, {}, {}, never, never, false, never>;
1215
- }
1216
-
1389
+ }): number;
1390
+ ngOnDestroy(): void;
1391
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupsComponent, never>;
1392
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupsComponent, "pw-groups", never, {}, {}, never, never, false, never>;
1393
+ }
1394
+ declare namespace group_definition_component_d_exports {
1395
+ export { GroupDefinitionComponent };
1396
+ }
1397
+ export declare class GroupDefinitionComponent extends AppBaseComponent implements OnInit, OnDestroy {
1398
+ private readonly groupService;
1399
+ private readonly fb;
1400
+ private readonly subscriptionService;
1401
+ private readonly data;
1402
+ private readonly cdr;
1403
+ private readonly confirmDialog;
1404
+ subscriptions: any[];
1405
+ message: number;
1406
+ groupDefinition: object[];
1407
+ form: UntypedFormGroup;
1408
+ id: number;
1409
+ viewDefinition: boolean;
1410
+ viewEdit: boolean;
1411
+ private groupDefId;
1412
+ private groupDefinitionDetails;
1413
+ hasAccess: boolean;
1414
+ admins: any[];
1415
+ subscriptionInfo: any[];
1416
+ subscriptionOwner: number;
1417
+ enrolledUsers: EnrolledUser[];
1418
+ user: User;
1419
+ isLoaded: boolean;
1420
+ categoryBusyButton: boolean;
1421
+ constructor(groupService: GroupService, fb: UntypedFormBuilder, subscriptionService: SubscriptionService, data: DataService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
1422
+ ngOnInit(): void;
1423
+ private getAllGroupDefinition;
1424
+ private getSubscribedUsers;
1425
+ updateDetails(): void;
1426
+ onGroupDefinitionEdit(id: number): void;
1427
+ getSubscriptionDetails(): void;
1428
+ saveGroupDefinition(): void;
1429
+ onDelete(id: number): void;
1430
+ viewDefinitions(): void;
1431
+ previous(): void;
1432
+ onCancel(): void;
1433
+ ngOnDestroy(): void;
1434
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupDefinitionComponent, never>;
1435
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupDefinitionComponent, "pw-group-definition", never, {}, {}, never, never, false, never>;
1436
+ }
1217
1437
  type buttonsOrientationType = 'horizontal' | 'vertical' | 'h' | 'v';
1218
1438
  type sizeType = 'medium' | 'large' | 'small' | 'xlarge' | 'md' | 'lg' | 'sm' | 'xlg';
1219
1439
  interface CustomClasses {
1220
- container?: string;
1221
- up?: string;
1222
- down?: string;
1223
- postfix?: string;
1224
- prefix?: string;
1225
- success?: string;
1226
- error?: string;
1227
- }
1228
-
1229
- declare class NumberPickerComponent implements OnInit {
1230
- private readonly numberPickerService;
1231
- private precision;
1232
- private eventHolder;
1233
- private countInterval;
1234
- private isInputFocused;
1235
- min: number;
1236
- showTooltip: boolean;
1237
- tooltipText: string;
1238
- max: number;
1239
- step: number;
1240
- value: number;
1241
- pickStartAfter: number;
1242
- pickTimer: number;
1243
- prefix: string;
1244
- postfix: string;
1245
- placeholder: string;
1246
- buttonsOrientation: buttonsOrientationType;
1247
- size: sizeType;
1248
- customClass: CustomClasses;
1249
- mouseWheel: boolean;
1250
- arrowKeys: boolean;
1251
- inputReadOnly: boolean;
1252
- showUpButton: boolean;
1253
- showDownButton: boolean;
1254
- /** Optional id for the number input (for accessibility/label association). */
1255
- inputId: string;
1256
- valueChange: EventEmitter<number>;
1257
- minReached: EventEmitter<boolean>;
1258
- maxReached: EventEmitter<boolean>;
1259
- pickStarted: EventEmitter<boolean>;
1260
- pickStopped: EventEmitter<boolean>;
1261
- pickUpStarted: EventEmitter<boolean>;
1262
- pickUpStopped: EventEmitter<boolean>;
1263
- pickDownStarted: EventEmitter<boolean>;
1264
- pickDownStopped: EventEmitter<boolean>;
1265
- constructor(numberPickerService: NumberPickerService);
1266
- ngOnInit(): void;
1267
- isHorizontal(): boolean;
1268
- onFocus(event: FocusEvent): void;
1269
- onBlur(event: Event): void;
1270
- onMouseWheel(event: WheelEvent): void;
1271
- private afterMouseWheels;
1272
- onValueChange(_event: Event): void;
1273
- onDecrease(event: MouseEvent | WheelEvent | KeyboardEvent): void;
1274
- onIncrease(event: MouseEvent | WheelEvent | KeyboardEvent): void;
1275
- onMouseDown(event: MouseEvent, increase?: boolean): void;
1276
- private isArrowUpDown;
1277
- private isArrowUp;
1278
- private loopPick;
1279
- onMouseUp(event: MouseEvent, increase?: boolean): void;
1280
- onKeyDown(event: KeyboardEvent): void;
1281
- onKeyUp(event: KeyboardEvent): void;
1282
- private afterMouseDown;
1283
- private afterMouseUp;
1284
- private afterPick;
1285
- private clearTimers;
1286
- private parseVal;
1287
- private getPrecision;
1288
- private round;
1289
- private canIncrease;
1290
- private canDecrease;
1291
- private onPickStarted;
1292
- private onPickStopped;
1293
- private isLeftClick;
1294
- private initPicker;
1295
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberPickerComponent, never>;
1296
- 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>;
1297
- }
1298
-
1440
+ container?: string;
1441
+ up?: string;
1442
+ down?: string;
1443
+ postfix?: string;
1444
+ prefix?: string;
1445
+ success?: string;
1446
+ error?: string;
1447
+ }
1448
+ declare namespace number_picker_component_d_exports {
1449
+ export { NumberPickerComponent };
1450
+ }
1451
+ export declare class NumberPickerComponent implements OnInit {
1452
+ private readonly numberPickerService;
1453
+ private precision;
1454
+ private eventHolder;
1455
+ private countInterval;
1456
+ private isInputFocused;
1457
+ min: number;
1458
+ showTooltip: boolean;
1459
+ tooltipText: string;
1460
+ max: number;
1461
+ step: number;
1462
+ value: number;
1463
+ pickStartAfter: number;
1464
+ pickTimer: number;
1465
+ prefix: string;
1466
+ postfix: string;
1467
+ placeholder: string;
1468
+ buttonsOrientation: buttonsOrientationType;
1469
+ size: sizeType;
1470
+ customClass: CustomClasses;
1471
+ mouseWheel: boolean;
1472
+ arrowKeys: boolean;
1473
+ inputReadOnly: boolean;
1474
+ showUpButton: boolean;
1475
+ showDownButton: boolean;
1476
+ /** Optional id for the number input (for accessibility/label association). */
1477
+ inputId: string;
1478
+ valueChange: EventEmitter<number>;
1479
+ minReached: EventEmitter<boolean>;
1480
+ maxReached: EventEmitter<boolean>;
1481
+ pickStarted: EventEmitter<boolean>;
1482
+ pickStopped: EventEmitter<boolean>;
1483
+ pickUpStarted: EventEmitter<boolean>;
1484
+ pickUpStopped: EventEmitter<boolean>;
1485
+ pickDownStarted: EventEmitter<boolean>;
1486
+ pickDownStopped: EventEmitter<boolean>;
1487
+ constructor(numberPickerService: NumberPickerService);
1488
+ ngOnInit(): void;
1489
+ isHorizontal(): boolean;
1490
+ onFocus(event: FocusEvent): void;
1491
+ onBlur(event: Event): void;
1492
+ onMouseWheel(event: WheelEvent): void;
1493
+ private afterMouseWheels;
1494
+ onValueChange(_event: Event): void;
1495
+ onDecrease(event: MouseEvent | WheelEvent | KeyboardEvent): void;
1496
+ onIncrease(event: MouseEvent | WheelEvent | KeyboardEvent): void;
1497
+ onMouseDown(event: MouseEvent, increase?: boolean): void;
1498
+ private isArrowUpDown;
1499
+ private isArrowUp;
1500
+ private loopPick;
1501
+ onMouseUp(event: MouseEvent, increase?: boolean): void;
1502
+ onKeyDown(event: KeyboardEvent): void;
1503
+ onKeyUp(event: KeyboardEvent): void;
1504
+ private afterMouseDown;
1505
+ private afterMouseUp;
1506
+ private afterPick;
1507
+ private clearTimers;
1508
+ private parseVal;
1509
+ private getPrecision;
1510
+ private round;
1511
+ private canIncrease;
1512
+ private canDecrease;
1513
+ private onPickStarted;
1514
+ private onPickStopped;
1515
+ private isLeftClick;
1516
+ private initPicker;
1517
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberPickerComponent, never>;
1518
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberPickerComponent, "pw-number-picker", never, {
1519
+ "min": {
1520
+ "alias": "min";
1521
+ "required": false;
1522
+ };
1523
+ "showTooltip": {
1524
+ "alias": "showTooltip";
1525
+ "required": false;
1526
+ };
1527
+ "tooltipText": {
1528
+ "alias": "tooltipText";
1529
+ "required": false;
1530
+ };
1531
+ "max": {
1532
+ "alias": "max";
1533
+ "required": false;
1534
+ };
1535
+ "step": {
1536
+ "alias": "step";
1537
+ "required": false;
1538
+ };
1539
+ "value": {
1540
+ "alias": "value";
1541
+ "required": false;
1542
+ };
1543
+ "pickStartAfter": {
1544
+ "alias": "pickStartAfter";
1545
+ "required": false;
1546
+ };
1547
+ "pickTimer": {
1548
+ "alias": "pickTimer";
1549
+ "required": false;
1550
+ };
1551
+ "prefix": {
1552
+ "alias": "prefix";
1553
+ "required": false;
1554
+ };
1555
+ "postfix": {
1556
+ "alias": "postfix";
1557
+ "required": false;
1558
+ };
1559
+ "placeholder": {
1560
+ "alias": "placeholder";
1561
+ "required": false;
1562
+ };
1563
+ "buttonsOrientation": {
1564
+ "alias": "buttonsOrientation";
1565
+ "required": false;
1566
+ };
1567
+ "size": {
1568
+ "alias": "size";
1569
+ "required": false;
1570
+ };
1571
+ "customClass": {
1572
+ "alias": "customClass";
1573
+ "required": false;
1574
+ };
1575
+ "mouseWheel": {
1576
+ "alias": "mouseWheel";
1577
+ "required": false;
1578
+ };
1579
+ "arrowKeys": {
1580
+ "alias": "arrowKeys";
1581
+ "required": false;
1582
+ };
1583
+ "inputReadOnly": {
1584
+ "alias": "inputReadOnly";
1585
+ "required": false;
1586
+ };
1587
+ "showUpButton": {
1588
+ "alias": "showUpButton";
1589
+ "required": false;
1590
+ };
1591
+ "showDownButton": {
1592
+ "alias": "showDownButton";
1593
+ "required": false;
1594
+ };
1595
+ "inputId": {
1596
+ "alias": "inputId";
1597
+ "required": false;
1598
+ };
1599
+ }, {
1600
+ "valueChange": "valueChange";
1601
+ "minReached": "minReached";
1602
+ "maxReached": "maxReached";
1603
+ "pickStarted": "pickStarted";
1604
+ "pickStopped": "pickStopped";
1605
+ "pickUpStarted": "pickUpStarted";
1606
+ "pickUpStopped": "pickUpStopped";
1607
+ "pickDownStarted": "pickDownStarted";
1608
+ "pickDownStopped": "pickDownStopped";
1609
+ }, never, never, false, never>;
1610
+ }
1611
+ declare namespace online_indicator_component_d_exports {
1612
+ export { OnlineIndicatorComponent };
1613
+ }
1299
1614
  /**
1300
1615
  * Green presence indicator shown beside a member's name.
1301
1616
  *
@@ -1307,211 +1622,372 @@ declare class NumberPickerComponent implements OnInit {
1307
1622
  * The online window itself lives in the `isOnline` pipe, which is paired with main-api's
1308
1623
  * activity-refresh interval -- see ONLINE_THRESHOLD_MINUTES.
1309
1624
  */
1310
- declare class OnlineIndicatorComponent {
1311
- /** The member's `current_sign_in_at` stamp. Never `last_sign_in_at`. */
1312
- lastSeen: string | Date | null;
1313
- static ɵfac: i0.ɵɵFactoryDeclaration<OnlineIndicatorComponent, never>;
1314
- static ɵcmp: i0.ɵɵComponentDeclaration<OnlineIndicatorComponent, "pw-online-indicator", never, { "lastSeen": { "alias": "lastSeen"; "required": false; }; }, {}, never, never, false, never>;
1315
- }
1316
-
1317
- declare class HeaderComponent extends AppBaseComponent {
1318
- private readonly authService;
1319
- private readonly cdr;
1320
- loggedIn: boolean;
1321
- isMenuCollapsed: boolean;
1322
- constructor(injector: Injector, authService: AuthService, cdr: ChangeDetectorRef);
1323
- landing: boolean;
1324
- navigateToLogin(): void;
1325
- toggleMenu(): void;
1326
- private logoFailed;
1327
- get logo(): string | null;
1328
- onLogoError(): void;
1329
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
1330
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "pw-header", never, { "landing": { "alias": "landing"; "required": false; }; }, {}, never, never, false, never>;
1331
- }
1332
-
1333
- declare class LandingPageFooterBComponent extends AppBaseComponent implements OnInit {
1334
- private readonly authService;
1335
- private readonly cdr;
1336
- isBrowserAccess: boolean;
1337
- currentDate: Date;
1338
- productPrivacyId: number;
1339
- get companyName(): string;
1340
- get companyEmail(): string;
1341
- get companyTagline(): string | null;
1342
- get logoUrl(): string;
1343
- get socialLinkedin(): string | null;
1344
- get socialFacebook(): string | null;
1345
- get socialTwitter(): string | null;
1346
- constructor(authService: AuthService, cdr: ChangeDetectorRef, injector: Injector);
1347
- ngOnInit(): void;
1348
- scrollToTop(event: Event): void;
1349
- static ɵfac: i0.ɵɵFactoryDeclaration<LandingPageFooterBComponent, never>;
1350
- static ɵcmp: i0.ɵɵComponentDeclaration<LandingPageFooterBComponent, "pw-landing-page-footer-b", never, {}, {}, never, never, false, never>;
1351
- }
1352
-
1353
- interface UiGrid {
1354
- x: number;
1355
- y: number;
1356
- w: number;
1357
- h: number;
1358
- }
1359
- interface UiBinding {
1360
- source: string;
1361
- params?: Record<string, string | number | boolean>;
1362
- filter?: Record<string, string | number | boolean>;
1625
+ export declare class OnlineIndicatorComponent {
1626
+ /** The member's `current_sign_in_at` stamp. Never `last_sign_in_at`. */
1627
+ lastSeen: string | Date | null;
1628
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnlineIndicatorComponent, never>;
1629
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnlineIndicatorComponent, "pw-online-indicator", never, {
1630
+ "lastSeen": {
1631
+ "alias": "lastSeen";
1632
+ "required": false;
1633
+ };
1634
+ }, {}, never, never, false, never>;
1635
+ }
1636
+ declare namespace header_component_d_exports {
1637
+ export { HeaderComponent };
1638
+ }
1639
+ export declare class HeaderComponent extends AppBaseComponent {
1640
+ private readonly authService;
1641
+ private readonly cdr;
1642
+ loggedIn: boolean;
1643
+ isMenuCollapsed: boolean;
1644
+ constructor(injector: Injector, authService: AuthService, cdr: ChangeDetectorRef);
1645
+ landing: boolean;
1646
+ navigateToLogin(): void;
1647
+ toggleMenu(): void;
1648
+ private logoFailed;
1649
+ get logo(): string | null;
1650
+ onLogoError(): void;
1651
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
1652
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "pw-header", never, {
1653
+ "landing": {
1654
+ "alias": "landing";
1655
+ "required": false;
1656
+ };
1657
+ }, {}, never, never, false, never>;
1658
+ }
1659
+ declare namespace landing_page_footer_b_component_d_exports {
1660
+ export { LandingPageFooterBComponent };
1661
+ }
1662
+ export declare class LandingPageFooterBComponent extends AppBaseComponent implements OnInit {
1663
+ private readonly authService;
1664
+ private readonly cdr;
1665
+ isBrowserAccess: boolean;
1666
+ currentDate: Date;
1667
+ productPrivacyId: number;
1668
+ get companyName(): string;
1669
+ get companyEmail(): string;
1670
+ get companyTagline(): string | null;
1671
+ get logoUrl(): string;
1672
+ get socialLinkedin(): string | null;
1673
+ get socialFacebook(): string | null;
1674
+ get socialTwitter(): string | null;
1675
+ constructor(authService: AuthService, cdr: ChangeDetectorRef, injector: Injector);
1676
+ ngOnInit(): void;
1677
+ scrollToTop(event: Event): void;
1678
+ static ɵfac: i0.ɵɵFactoryDeclaration<LandingPageFooterBComponent, never>;
1679
+ static ɵcmp: i0.ɵɵComponentDeclaration<LandingPageFooterBComponent, "pw-landing-page-footer-b", never, {}, {}, never, never, false, never>;
1680
+ }
1681
+ export interface UiGrid {
1682
+ x: number;
1683
+ y: number;
1684
+ w: number;
1685
+ h: number;
1686
+ }
1687
+ export interface UiBinding {
1688
+ source: string;
1689
+ params?: Record<string, string | number | boolean>;
1690
+ filter?: Record<string, string | number | boolean>;
1363
1691
  }
1364
1692
  /** A resolved binding as returned by GET /main-api/v1/ui_layouts. */
1365
- interface ResolvedBinding {
1366
- state: 'ok' | 'forbidden' | 'deferred' | 'unavailable' | 'unknown_source' | 'error';
1367
- value?: Record<string, unknown>;
1368
- reason?: string;
1369
- }
1370
- interface UiBlock {
1371
- id: string;
1372
- type: string;
1373
- grid: UiGrid;
1374
- props?: Record<string, unknown>;
1375
- /** Server replaces the request `binding` with a ResolvedBinding (or null). */
1376
- binding?: ResolvedBinding | null;
1377
- }
1378
- interface UiLayoutConfig {
1379
- schema_version: number;
1380
- version: number;
1381
- page_key: string;
1382
- blocks: UiBlock[];
1693
+ export interface ResolvedBinding {
1694
+ state: 'ok' | 'forbidden' | 'deferred' | 'unavailable' | 'unknown_source' | 'error';
1695
+ value?: Record<string, unknown>;
1696
+ reason?: string;
1697
+ }
1698
+ export interface UiBlock {
1699
+ id: string;
1700
+ type: string;
1701
+ grid: UiGrid;
1702
+ props?: Record<string, unknown>;
1703
+ /** Server replaces the request `binding` with a ResolvedBinding (or null). */
1704
+ binding?: ResolvedBinding | null;
1705
+ }
1706
+ export interface UiLayoutConfig {
1707
+ schema_version: number;
1708
+ version: number;
1709
+ page_key: string;
1710
+ blocks: UiBlock[];
1383
1711
  }
1384
1712
  /** Envelope of GET /main-api/v1/ui_layouts. */
1385
- interface UiLayoutResponse {
1386
- data: {
1387
- layout: {
1388
- page_key: string;
1389
- version: number;
1390
- schema_version: number;
1391
- blocks: UiBlock[];
1392
- };
1393
- };
1394
- }
1395
-
1396
- declare const UI_BUILDER_FLAG = "conversational_ui_builder";
1397
- declare class PwDynamicPageComponent implements AfterViewInit, OnDestroy {
1398
- private readonly injector;
1399
- private readonly cdr;
1400
- private readonly featureFlags;
1401
- private readonly userService?;
1402
- private readonly sidebarService?;
1403
- private readonly appConfigService?;
1404
- host: ViewContainerRef;
1405
- private _config;
1406
- private viewReady;
1407
- private configResolved;
1408
- set config(value: UiLayoutConfig | null);
1409
- get config(): UiLayoutConfig | null;
1410
- private refs;
1411
- private userResolved;
1412
- private resolving;
1413
- constructor(injector: Injector, cdr: ChangeDetectorRef, featureFlags: FeatureFlagService, userService?: UserService, sidebarService?: CollapsibleSidebarService, appConfigService?: AppConfigService);
1414
- brandName: string;
1415
- get enabled(): boolean;
1416
- get showEmpty(): boolean;
1417
- openBuilder(): void;
1418
- ngAfterViewInit(): void;
1419
- ngOnDestroy(): void;
1420
- private render;
1421
- private ensureUser;
1422
- private doRender;
1423
- private mount;
1424
- private clear;
1425
- static ɵfac: i0.ɵɵFactoryDeclaration<PwDynamicPageComponent, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
1426
- static ɵcmp: i0.ɵɵComponentDeclaration<PwDynamicPageComponent, "pw-dynamic-page", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
1427
- }
1428
-
1713
+ export interface UiLayoutResponse {
1714
+ data: {
1715
+ layout: {
1716
+ page_key: string;
1717
+ version: number;
1718
+ schema_version: number;
1719
+ blocks: UiBlock[];
1720
+ };
1721
+ };
1722
+ }
1723
+ declare namespace pw_dynamic_page_component_d_exports {
1724
+ export { PwDynamicPageComponent, UI_BUILDER_FLAG };
1725
+ }
1726
+ export declare const UI_BUILDER_FLAG = "conversational_ui_builder";
1727
+ export declare class PwDynamicPageComponent implements AfterViewInit, OnDestroy {
1728
+ private readonly injector;
1729
+ private readonly cdr;
1730
+ private readonly featureFlags;
1731
+ private readonly userService?;
1732
+ private readonly sidebarService?;
1733
+ private readonly appConfigService?;
1734
+ host: ViewContainerRef;
1735
+ private _config;
1736
+ private viewReady;
1737
+ private configResolved;
1738
+ set config(value: UiLayoutConfig | null);
1739
+ get config(): UiLayoutConfig | null;
1740
+ private refs;
1741
+ private userResolved;
1742
+ private resolving;
1743
+ constructor(injector: Injector, cdr: ChangeDetectorRef, featureFlags: FeatureFlagService, userService?: UserService, sidebarService?: CollapsibleSidebarService, appConfigService?: AppConfigService);
1744
+ brandName: string;
1745
+ get enabled(): boolean;
1746
+ get showEmpty(): boolean;
1747
+ openBuilder(): void;
1748
+ ngAfterViewInit(): void;
1749
+ ngOnDestroy(): void;
1750
+ private render;
1751
+ private ensureUser;
1752
+ private doRender;
1753
+ private mount;
1754
+ private clear;
1755
+ static ɵfac: i0.ɵɵFactoryDeclaration<PwDynamicPageComponent, [null, null, null, {
1756
+ optional: true;
1757
+ }, {
1758
+ optional: true;
1759
+ }, {
1760
+ optional: true;
1761
+ }]>;
1762
+ static ɵcmp: i0.ɵɵComponentDeclaration<PwDynamicPageComponent, "pw-dynamic-page", never, {
1763
+ "config": {
1764
+ "alias": "config";
1765
+ "required": false;
1766
+ };
1767
+ }, {}, never, never, false, never>;
1768
+ }
1769
+ declare namespace section_heading_block_component_d_exports {
1770
+ export { SectionHeadingBlockComponent };
1771
+ }
1429
1772
  declare class SectionHeadingBlockComponent {
1430
- props: Record<string, unknown>;
1431
- get text(): string;
1432
- get level(): number;
1433
- static ɵfac: i0.ɵɵFactoryDeclaration<SectionHeadingBlockComponent, never>;
1434
- static ɵcmp: i0.ɵɵComponentDeclaration<SectionHeadingBlockComponent, "pw-section-heading-block", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, false, never>;
1773
+ props: Record<string, unknown>;
1774
+ get text(): string;
1775
+ get level(): number;
1776
+ static ɵfac: i0.ɵɵFactoryDeclaration<SectionHeadingBlockComponent, never>;
1777
+ static ɵcmp: i0.ɵɵComponentDeclaration<SectionHeadingBlockComponent, "pw-section-heading-block", never, {
1778
+ "props": {
1779
+ "alias": "props";
1780
+ "required": false;
1781
+ };
1782
+ }, {}, never, never, false, never>;
1783
+ }
1784
+ declare namespace divider_block_component_d_exports {
1785
+ export { DividerBlockComponent };
1435
1786
  }
1436
-
1437
1787
  declare class DividerBlockComponent {
1438
- props: Record<string, unknown>;
1439
- get spacing(): number;
1440
- static ɵfac: i0.ɵɵFactoryDeclaration<DividerBlockComponent, never>;
1441
- static ɵcmp: i0.ɵɵComponentDeclaration<DividerBlockComponent, "pw-divider-block", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, false, never>;
1788
+ props: Record<string, unknown>;
1789
+ get spacing(): number;
1790
+ static ɵfac: i0.ɵɵFactoryDeclaration<DividerBlockComponent, never>;
1791
+ static ɵcmp: i0.ɵɵComponentDeclaration<DividerBlockComponent, "pw-divider-block", never, {
1792
+ "props": {
1793
+ "alias": "props";
1794
+ "required": false;
1795
+ };
1796
+ }, {}, never, never, false, never>;
1797
+ }
1798
+ declare namespace stat_card_block_component_d_exports {
1799
+ export { StatCardBlockComponent };
1442
1800
  }
1443
-
1444
1801
  declare class StatCardBlockComponent {
1445
- props: Record<string, unknown>;
1446
- binding: ResolvedBinding | null;
1447
- get title(): string;
1448
- get metricValue(): string;
1449
- static ɵfac: i0.ɵɵFactoryDeclaration<StatCardBlockComponent, never>;
1450
- static ɵcmp: i0.ɵɵComponentDeclaration<StatCardBlockComponent, "pw-stat-card-block", never, { "props": { "alias": "props"; "required": false; }; "binding": { "alias": "binding"; "required": false; }; }, {}, never, never, false, never>;
1451
- }
1452
-
1802
+ props: Record<string, unknown>;
1803
+ binding: ResolvedBinding | null;
1804
+ get title(): string;
1805
+ get metricValue(): string;
1806
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatCardBlockComponent, never>;
1807
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatCardBlockComponent, "pw-stat-card-block", never, {
1808
+ "props": {
1809
+ "alias": "props";
1810
+ "required": false;
1811
+ };
1812
+ "binding": {
1813
+ "alias": "binding";
1814
+ "required": false;
1815
+ };
1816
+ }, {}, never, never, false, never>;
1817
+ }
1818
+ declare namespace data_table_block_component_d_exports {
1819
+ export { DataTableBlockComponent };
1820
+ }
1453
1821
  declare class DataTableBlockComponent {
1454
- props: Record<string, unknown>;
1455
- binding: ResolvedBinding | null;
1456
- get columns(): string[];
1457
- get rows(): Array<Record<string, unknown>>;
1458
- get stateKey(): string;
1459
- cell(row: Record<string, unknown>, col: string): string;
1460
- static ɵfac: i0.ɵɵFactoryDeclaration<DataTableBlockComponent, never>;
1461
- static ɵcmp: i0.ɵɵComponentDeclaration<DataTableBlockComponent, "pw-data-table-block", never, { "props": { "alias": "props"; "required": false; }; "binding": { "alias": "binding"; "required": false; }; }, {}, never, never, false, never>;
1462
- }
1463
-
1822
+ props: Record<string, unknown>;
1823
+ binding: ResolvedBinding | null;
1824
+ get columns(): string[];
1825
+ get rows(): Array<Record<string, unknown>>;
1826
+ get stateKey(): string;
1827
+ cell(row: Record<string, unknown>, col: string): string;
1828
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataTableBlockComponent, never>;
1829
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataTableBlockComponent, "pw-data-table-block", never, {
1830
+ "props": {
1831
+ "alias": "props";
1832
+ "required": false;
1833
+ };
1834
+ "binding": {
1835
+ "alias": "binding";
1836
+ "required": false;
1837
+ };
1838
+ }, {}, never, never, false, never>;
1839
+ }
1840
+ declare namespace chart_block_component_d_exports {
1841
+ export { ChartBlockComponent };
1842
+ }
1464
1843
  declare class ChartBlockComponent {
1465
- props: Record<string, unknown>;
1466
- binding: ResolvedBinding | null;
1467
- get title(): string;
1468
- static ɵfac: i0.ɵɵFactoryDeclaration<ChartBlockComponent, never>;
1469
- static ɵcmp: i0.ɵɵComponentDeclaration<ChartBlockComponent, "pw-chart-block", never, { "props": { "alias": "props"; "required": false; }; "binding": { "alias": "binding"; "required": false; }; }, {}, never, never, false, never>;
1470
- }
1471
-
1472
- declare class NoDataComponent implements AfterContentInit {
1473
- content: {
1474
- nativeElement: {
1475
- innerHTML: string;
1476
- };
1477
- };
1478
- message: string | null;
1479
- description: string | null;
1480
- withImage: boolean;
1481
- isContentEmpty: boolean;
1482
- ngAfterContentInit(): void;
1483
- static ɵfac: i0.ɵɵFactoryDeclaration<NoDataComponent, never>;
1484
- static ɵcmp: i0.ɵɵComponentDeclaration<NoDataComponent, "pw-no-data", never, { "message": { "alias": "message"; "required": false; }; "description": { "alias": "description"; "required": false; }; "withImage": { "alias": "withImage"; "required": false; }; }, {}, ["content"], ["*"], false, never>;
1485
- }
1486
-
1487
- declare class InputContainerComponent implements OnInit {
1488
- private readonly controlContainer;
1489
- control: AbstractControl;
1490
- name: string;
1491
- /** Id of the form control; used as the label's `for` attribute for accessibility. When not set, falls back to `name`. */
1492
- controlId: string;
1493
- /** When true, label gets id="{{ controlId }}-label" but no `for`; use with aria-labelledby on the control (e.g. quill-editor). */
1494
- useAriaLabelledbyOnly: boolean;
1495
- label: string;
1496
- labelClass: string;
1497
- tooltipPosition: string;
1498
- required: boolean;
1499
- errorMsg: string;
1500
- isReadOnly: boolean;
1501
- showTooltip: boolean;
1502
- tooltipText: string;
1503
- showTriangle: boolean;
1504
- afterLabel: string;
1505
- showAfterLabel: boolean;
1506
- showTriangleText: string;
1507
- isLeftTooltip: boolean;
1508
- constructor(controlContainer: ControlContainer);
1509
- ngOnInit(): void;
1510
- static ɵfac: i0.ɵɵFactoryDeclaration<InputContainerComponent, [{ optional: true; host: true; skipSelf: true; }]>;
1511
- static ɵcmp: i0.ɵɵComponentDeclaration<InputContainerComponent, "pw-input-container", never, { "name": { "alias": "name"; "required": false; }; "controlId": { "alias": "controlId"; "required": false; }; "useAriaLabelledbyOnly": { "alias": "useAriaLabelledbyOnly"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errorMsg": { "alias": "errorMsg"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "showTriangle": { "alias": "showTriangle"; "required": false; }; "afterLabel": { "alias": "afterLabel"; "required": false; }; "showAfterLabel": { "alias": "showAfterLabel"; "required": false; }; "showTriangleText": { "alias": "showTriangleText"; "required": false; }; "isLeftTooltip": { "alias": "isLeftTooltip"; "required": false; }; }, {}, never, ["*"], false, never>;
1512
- }
1513
-
1514
- type CompletionTier = 'low' | 'mid' | 'high';
1844
+ props: Record<string, unknown>;
1845
+ binding: ResolvedBinding | null;
1846
+ get title(): string;
1847
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChartBlockComponent, never>;
1848
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChartBlockComponent, "pw-chart-block", never, {
1849
+ "props": {
1850
+ "alias": "props";
1851
+ "required": false;
1852
+ };
1853
+ "binding": {
1854
+ "alias": "binding";
1855
+ "required": false;
1856
+ };
1857
+ }, {}, never, never, false, never>;
1858
+ }
1859
+ declare namespace no_data_component_d_exports {
1860
+ export { NoDataComponent };
1861
+ }
1862
+ export declare class NoDataComponent implements AfterContentInit {
1863
+ content: {
1864
+ nativeElement: {
1865
+ innerHTML: string;
1866
+ };
1867
+ };
1868
+ message: string | null;
1869
+ description: string | null;
1870
+ withImage: boolean;
1871
+ isContentEmpty: boolean;
1872
+ ngAfterContentInit(): void;
1873
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoDataComponent, never>;
1874
+ static ɵcmp: i0.ɵɵComponentDeclaration<NoDataComponent, "pw-no-data", never, {
1875
+ "message": {
1876
+ "alias": "message";
1877
+ "required": false;
1878
+ };
1879
+ "description": {
1880
+ "alias": "description";
1881
+ "required": false;
1882
+ };
1883
+ "withImage": {
1884
+ "alias": "withImage";
1885
+ "required": false;
1886
+ };
1887
+ }, {}, ["content"], ["*"], false, never>;
1888
+ }
1889
+ declare namespace input_container_component_d_exports {
1890
+ export { InputContainerComponent };
1891
+ }
1892
+ export declare class InputContainerComponent implements OnInit {
1893
+ private readonly controlContainer;
1894
+ control: AbstractControl;
1895
+ name: string;
1896
+ /** Id of the form control; used as the label's `for` attribute for accessibility. When not set, falls back to `name`. */
1897
+ controlId: string;
1898
+ /** When true, label gets id="{{ controlId }}-label" but no `for`; use with aria-labelledby on the control (e.g. quill-editor). */
1899
+ useAriaLabelledbyOnly: boolean;
1900
+ label: string;
1901
+ labelClass: string;
1902
+ tooltipPosition: string;
1903
+ required: boolean;
1904
+ errorMsg: string;
1905
+ isReadOnly: boolean;
1906
+ showTooltip: boolean;
1907
+ tooltipText: string;
1908
+ showTriangle: boolean;
1909
+ afterLabel: string;
1910
+ showAfterLabel: boolean;
1911
+ showTriangleText: string;
1912
+ isLeftTooltip: boolean;
1913
+ constructor(controlContainer: ControlContainer);
1914
+ ngOnInit(): void;
1915
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputContainerComponent, [{
1916
+ optional: true;
1917
+ host: true;
1918
+ skipSelf: true;
1919
+ }]>;
1920
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputContainerComponent, "pw-input-container", never, {
1921
+ "name": {
1922
+ "alias": "name";
1923
+ "required": false;
1924
+ };
1925
+ "controlId": {
1926
+ "alias": "controlId";
1927
+ "required": false;
1928
+ };
1929
+ "useAriaLabelledbyOnly": {
1930
+ "alias": "useAriaLabelledbyOnly";
1931
+ "required": false;
1932
+ };
1933
+ "label": {
1934
+ "alias": "label";
1935
+ "required": false;
1936
+ };
1937
+ "labelClass": {
1938
+ "alias": "labelClass";
1939
+ "required": false;
1940
+ };
1941
+ "tooltipPosition": {
1942
+ "alias": "tooltipPosition";
1943
+ "required": false;
1944
+ };
1945
+ "required": {
1946
+ "alias": "required";
1947
+ "required": false;
1948
+ };
1949
+ "errorMsg": {
1950
+ "alias": "errorMsg";
1951
+ "required": false;
1952
+ };
1953
+ "isReadOnly": {
1954
+ "alias": "isReadOnly";
1955
+ "required": false;
1956
+ };
1957
+ "showTooltip": {
1958
+ "alias": "showTooltip";
1959
+ "required": false;
1960
+ };
1961
+ "tooltipText": {
1962
+ "alias": "tooltipText";
1963
+ "required": false;
1964
+ };
1965
+ "showTriangle": {
1966
+ "alias": "showTriangle";
1967
+ "required": false;
1968
+ };
1969
+ "afterLabel": {
1970
+ "alias": "afterLabel";
1971
+ "required": false;
1972
+ };
1973
+ "showAfterLabel": {
1974
+ "alias": "showAfterLabel";
1975
+ "required": false;
1976
+ };
1977
+ "showTriangleText": {
1978
+ "alias": "showTriangleText";
1979
+ "required": false;
1980
+ };
1981
+ "isLeftTooltip": {
1982
+ "alias": "isLeftTooltip";
1983
+ "required": false;
1984
+ };
1985
+ }, {}, never, ["*"], false, never>;
1986
+ }
1987
+ declare namespace completion_bar_component_d_exports {
1988
+ export { CompletionBarComponent, CompletionTier };
1989
+ }
1990
+ export type CompletionTier = 'low' | 'mid' | 'high';
1515
1991
  /**
1516
1992
  * Generic, presentational segmented completion/progress bar.
1517
1993
  *
@@ -1520,35 +1996,70 @@ type CompletionTier = 'low' | 'mid' | 'high';
1520
1996
  * semantic token maps — never the tenant accent (design-system: accent-agnostic).
1521
1997
  * Reusable anywhere via `@posiwise/shared-components`.
1522
1998
  */
1523
- declare class CompletionBarComponent {
1524
- segments: number;
1525
- showLabel: boolean;
1526
- /** Optional label override; defaults to the rounded percentage. */
1527
- label: string | null;
1528
- /** Optional aria-label override; defaults to the visible label. */
1529
- ariaLabel: string | null;
1530
- /**
1531
- * Optional explanatory tooltip (e.g. "what's missing to reach 100%").
1532
- * Rendered as a body-level portal (C18); no tooltip when null/empty.
1533
- */
1534
- tooltip: string | null;
1535
- /** `value` below this is the low tier. */
1536
- lowThreshold: number;
1537
- /** `value` at/above this is the high tier. */
1538
- highThreshold: number;
1539
- private internalValue;
1540
- /** Completion as a 0–100 percentage. Out-of-range inputs are clamped. */
1541
- set value(v: number);
1542
- get value(): number;
1543
- get clampedValue(): number;
1544
- get filledCount(): number;
1545
- get segmentIndexes(): number[];
1546
- get tier(): CompletionTier;
1547
- get displayLabel(): string;
1548
- static ɵfac: i0.ɵɵFactoryDeclaration<CompletionBarComponent, never>;
1549
- static ɵcmp: i0.ɵɵComponentDeclaration<CompletionBarComponent, "pw-completion-bar", never, { "segments": { "alias": "segments"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "lowThreshold": { "alias": "lowThreshold"; "required": false; }; "highThreshold": { "alias": "highThreshold"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
1550
- }
1551
-
1999
+ export declare class CompletionBarComponent {
2000
+ segments: number;
2001
+ showLabel: boolean;
2002
+ /** Optional label override; defaults to the rounded percentage. */
2003
+ label: string | null;
2004
+ /** Optional aria-label override; defaults to the visible label. */
2005
+ ariaLabel: string | null;
2006
+ /**
2007
+ * Optional explanatory tooltip (e.g. "what's missing to reach 100%").
2008
+ * Rendered as a body-level portal (C18); no tooltip when null/empty.
2009
+ */
2010
+ tooltip: string | null;
2011
+ /** `value` below this is the low tier. */
2012
+ lowThreshold: number;
2013
+ /** `value` at/above this is the high tier. */
2014
+ highThreshold: number;
2015
+ private internalValue;
2016
+ /** Completion as a 0–100 percentage. Out-of-range inputs are clamped. */
2017
+ set value(v: number);
2018
+ get value(): number;
2019
+ get clampedValue(): number;
2020
+ get filledCount(): number;
2021
+ get segmentIndexes(): number[];
2022
+ get tier(): CompletionTier;
2023
+ get displayLabel(): string;
2024
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompletionBarComponent, never>;
2025
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompletionBarComponent, "pw-completion-bar", never, {
2026
+ "segments": {
2027
+ "alias": "segments";
2028
+ "required": false;
2029
+ };
2030
+ "showLabel": {
2031
+ "alias": "showLabel";
2032
+ "required": false;
2033
+ };
2034
+ "label": {
2035
+ "alias": "label";
2036
+ "required": false;
2037
+ };
2038
+ "ariaLabel": {
2039
+ "alias": "ariaLabel";
2040
+ "required": false;
2041
+ };
2042
+ "tooltip": {
2043
+ "alias": "tooltip";
2044
+ "required": false;
2045
+ };
2046
+ "lowThreshold": {
2047
+ "alias": "lowThreshold";
2048
+ "required": false;
2049
+ };
2050
+ "highThreshold": {
2051
+ "alias": "highThreshold";
2052
+ "required": false;
2053
+ };
2054
+ "value": {
2055
+ "alias": "value";
2056
+ "required": false;
2057
+ };
2058
+ }, {}, never, never, false, never>;
2059
+ }
2060
+ declare namespace records_summary_component_d_exports {
2061
+ export { RecordsSummaryComponent };
2062
+ }
1552
2063
  /**
1553
2064
  * Shared table-footer "Showing X of Y items" summary.
1554
2065
  *
@@ -1561,21 +2072,34 @@ declare class CompletionBarComponent {
1561
2072
  * Usage:
1562
2073
  * <pw-records-summary [showing]="dt?.value?.length ?? 0" [total]="totalRecords" />
1563
2074
  */
1564
- declare class RecordsSummaryComponent {
1565
- /** Number of rows currently rendered (e.g. `dt?.value?.length`). */
1566
- showing: number | null;
1567
- /** Total number of records across all pages. */
1568
- total: number | null;
1569
- static ɵfac: i0.ɵɵFactoryDeclaration<RecordsSummaryComponent, never>;
1570
- static ɵcmp: i0.ɵɵComponentDeclaration<RecordsSummaryComponent, "pw-records-summary", never, { "showing": { "alias": "showing"; "required": false; }; "total": { "alias": "total"; "required": false; }; }, {}, never, never, false, never>;
1571
- }
1572
-
1573
- declare class ResourceSharedComponentsModule {
1574
- static ɵfac: i0.ɵɵFactoryDeclaration<ResourceSharedComponentsModule, never>;
1575
- 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]>;
1576
- static ɵinj: i0.ɵɵInjectorDeclaration<ResourceSharedComponentsModule>;
1577
- }
1578
-
2075
+ export declare class RecordsSummaryComponent {
2076
+ /** Number of rows currently rendered (e.g. `dt?.value?.length`). */
2077
+ showing: number | null;
2078
+ /** Total number of records across all pages. */
2079
+ total: number | null;
2080
+ static ɵfac: i0.ɵɵFactoryDeclaration<RecordsSummaryComponent, never>;
2081
+ static ɵcmp: i0.ɵɵComponentDeclaration<RecordsSummaryComponent, "pw-records-summary", never, {
2082
+ "showing": {
2083
+ "alias": "showing";
2084
+ "required": false;
2085
+ };
2086
+ "total": {
2087
+ "alias": "total";
2088
+ "required": false;
2089
+ };
2090
+ }, {}, never, never, false, never>;
2091
+ }
2092
+ declare namespace resource_shared_components_module_d_exports {
2093
+ export { ResourceSharedComponentsModule };
2094
+ }
2095
+ export declare class ResourceSharedComponentsModule {
2096
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceSharedComponentsModule, never>;
2097
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedComponentsModule, [typeof NoDataComponent, typeof InputContainerComponent, typeof CompletionBarComponent, typeof RecordsSummaryComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.AppLoaderModule, typeof i8.CoreTranslocoModule, typeof i9.DirectivesModule, typeof i10.ButtonModule, typeof i11.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]>;
2098
+ static ɵinj: i0.ɵɵInjectorDeclaration<ResourceSharedComponentsModule>;
2099
+ }
2100
+ declare namespace collapsible_sidebar_trigger_directive_d_exports {
2101
+ export { CollapsibleSidebarTriggerDirective };
2102
+ }
1579
2103
  /**
1580
2104
  * pwCollapsibleSidebarTrigger
1581
2105
  *
@@ -1589,51 +2113,101 @@ declare class ResourceSharedComponentsModule {
1589
2113
  * </button>
1590
2114
  * ```
1591
2115
  */
1592
- declare class CollapsibleSidebarTriggerDirective {
1593
- private readonly sidebarService;
1594
- /**
1595
- * The ID of the sidebar content to load when this trigger is clicked
1596
- */
1597
- contentId: string;
1598
- /**
1599
- * Optional tooltip text shown on hover
1600
- */
1601
- tooltipText: string;
1602
- constructor(sidebarService: CollapsibleSidebarService);
1603
- /**
1604
- * Handle click event to load sidebar content
1605
- */
1606
- onClick(event: MouseEvent): void;
1607
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarTriggerDirective, never>;
1608
- static ɵdir: i0.ɵɵDirectiveDeclaration<CollapsibleSidebarTriggerDirective, "[pwCollapsibleSidebarTrigger]", never, { "contentId": { "alias": "contentId"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; }, {}, never, never, true, never>;
1609
- }
1610
-
1611
- declare class PwCookieBannerComponent implements OnInit {
1612
- private readonly document;
1613
- title: string;
1614
- message: string;
1615
- acceptLabel: string;
1616
- privacyLinkLabel: string;
1617
- privacyLinkUrl: string | null;
1618
- tosId: number | string | null;
1619
- privacyFallbackUrl: string;
1620
- cookieKey: string;
1621
- cookieTtlDays: number;
1622
- visible: boolean;
1623
- leaving: boolean;
1624
- readonly role = "region";
1625
- readonly ariaLabel = "Cookie preferences";
1626
- constructor(document: Document);
1627
- ngOnInit(): void;
1628
- get resolvedPrivacyUrl(): string;
1629
- accept(): void;
1630
- private animateOut;
1631
- private hasConsentCookie;
1632
- private setConsentCookie;
1633
- static ɵfac: i0.ɵɵFactoryDeclaration<PwCookieBannerComponent, never>;
1634
- static ɵcmp: i0.ɵɵComponentDeclaration<PwCookieBannerComponent, "pw-cookie-banner", never, { "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; "acceptLabel": { "alias": "acceptLabel"; "required": false; }; "privacyLinkLabel": { "alias": "privacyLinkLabel"; "required": false; }; "privacyLinkUrl": { "alias": "privacyLinkUrl"; "required": false; }; "tosId": { "alias": "tosId"; "required": false; }; "privacyFallbackUrl": { "alias": "privacyFallbackUrl"; "required": false; }; "cookieKey": { "alias": "cookieKey"; "required": false; }; "cookieTtlDays": { "alias": "cookieTtlDays"; "required": false; }; }, {}, never, never, true, never>;
1635
- }
1636
-
2116
+ export declare class CollapsibleSidebarTriggerDirective {
2117
+ private readonly sidebarService;
2118
+ /**
2119
+ * The ID of the sidebar content to load when this trigger is clicked
2120
+ */
2121
+ contentId: string;
2122
+ /**
2123
+ * Optional tooltip text shown on hover
2124
+ */
2125
+ tooltipText: string;
2126
+ constructor(sidebarService: CollapsibleSidebarService);
2127
+ /**
2128
+ * Handle click event to load sidebar content
2129
+ */
2130
+ onClick(event: MouseEvent): void;
2131
+ static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarTriggerDirective, never>;
2132
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CollapsibleSidebarTriggerDirective, "[pwCollapsibleSidebarTrigger]", never, {
2133
+ "contentId": {
2134
+ "alias": "contentId";
2135
+ "required": false;
2136
+ };
2137
+ "tooltipText": {
2138
+ "alias": "tooltipText";
2139
+ "required": false;
2140
+ };
2141
+ }, {}, never, never, true, never>;
2142
+ }
2143
+ declare namespace pw_cookie_banner_component_d_exports {
2144
+ export { PwCookieBannerComponent };
2145
+ }
2146
+ export declare class PwCookieBannerComponent implements OnInit {
2147
+ private readonly document;
2148
+ title: string;
2149
+ message: string;
2150
+ acceptLabel: string;
2151
+ privacyLinkLabel: string;
2152
+ privacyLinkUrl: string | null;
2153
+ tosId: number | string | null;
2154
+ privacyFallbackUrl: string;
2155
+ cookieKey: string;
2156
+ cookieTtlDays: number;
2157
+ visible: boolean;
2158
+ leaving: boolean;
2159
+ readonly role = "region";
2160
+ readonly ariaLabel = "Cookie preferences";
2161
+ constructor(document: Document);
2162
+ ngOnInit(): void;
2163
+ get resolvedPrivacyUrl(): string;
2164
+ accept(): void;
2165
+ private animateOut;
2166
+ private hasConsentCookie;
2167
+ private setConsentCookie;
2168
+ static ɵfac: i0.ɵɵFactoryDeclaration<PwCookieBannerComponent, never>;
2169
+ static ɵcmp: i0.ɵɵComponentDeclaration<PwCookieBannerComponent, "pw-cookie-banner", never, {
2170
+ "title": {
2171
+ "alias": "title";
2172
+ "required": false;
2173
+ };
2174
+ "message": {
2175
+ "alias": "message";
2176
+ "required": false;
2177
+ };
2178
+ "acceptLabel": {
2179
+ "alias": "acceptLabel";
2180
+ "required": false;
2181
+ };
2182
+ "privacyLinkLabel": {
2183
+ "alias": "privacyLinkLabel";
2184
+ "required": false;
2185
+ };
2186
+ "privacyLinkUrl": {
2187
+ "alias": "privacyLinkUrl";
2188
+ "required": false;
2189
+ };
2190
+ "tosId": {
2191
+ "alias": "tosId";
2192
+ "required": false;
2193
+ };
2194
+ "privacyFallbackUrl": {
2195
+ "alias": "privacyFallbackUrl";
2196
+ "required": false;
2197
+ };
2198
+ "cookieKey": {
2199
+ "alias": "cookieKey";
2200
+ "required": false;
2201
+ };
2202
+ "cookieTtlDays": {
2203
+ "alias": "cookieTtlDays";
2204
+ "required": false;
2205
+ };
2206
+ }, {}, never, never, true, never>;
2207
+ }
2208
+ declare namespace pw_brain_chat_safe_markdown_pipe_d_exports {
2209
+ export { SafeMarkdownPipe };
2210
+ }
1637
2211
  /**
1638
2212
  * Converts a Brain assistant message string (containing a safe subset of
1639
2213
  * Markdown) into an HTML string suitable for `[innerHTML]` binding.
@@ -1661,26 +2235,28 @@ declare class PwCookieBannerComponent implements OnInit {
1661
2235
  * config resolves at app boot, long before a chat bubble renders.
1662
2236
  */
1663
2237
  declare class SafeMarkdownPipe implements PipeTransform, OnDestroy {
1664
- private readonly navigationIndex;
1665
- private baseUrl;
1666
- private readonly configSub;
1667
- constructor(navigationIndex: NavigationIndexService, appConfigService: AppConfigService);
1668
- ngOnDestroy(): void;
1669
- transform(text: string): string;
1670
- /**
1671
- * Every page the palette can reach, used to correct a path the model got
1672
- * nearly right. An unknown path is left alone, never suppressed.
1673
- */
1674
- private knownPaths;
1675
- /**
1676
- * Slug the router scopes dashboard pages under (`:slug/faq/:id`). Read per
1677
- * call rather than cached: the user can switch subscription mid-session.
1678
- */
1679
- private subscriptionSlug;
1680
- static ɵfac: i0.ɵɵFactoryDeclaration<SafeMarkdownPipe, never>;
1681
- static ɵpipe: i0.ɵɵPipeDeclaration<SafeMarkdownPipe, "safeMarkdown", true>;
1682
- }
1683
-
2238
+ private readonly navigationIndex;
2239
+ private baseUrl;
2240
+ private readonly configSub;
2241
+ constructor(navigationIndex: NavigationIndexService, appConfigService: AppConfigService);
2242
+ ngOnDestroy(): void;
2243
+ transform(text: string): string;
2244
+ /**
2245
+ * Every page the palette can reach, used to correct a path the model got
2246
+ * nearly right. An unknown path is left alone, never suppressed.
2247
+ */
2248
+ private knownPaths;
2249
+ /**
2250
+ * Slug the router scopes dashboard pages under (`:slug/faq/:id`). Read per
2251
+ * call rather than cached: the user can switch subscription mid-session.
2252
+ */
2253
+ private subscriptionSlug;
2254
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafeMarkdownPipe, never>;
2255
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafeMarkdownPipe, "safeMarkdown", true>;
2256
+ }
2257
+ declare namespace pw_brain_chat_thread_directive_d_exports {
2258
+ export { PwBrainChatThreadDirective };
2259
+ }
1684
2260
  /**
1685
2261
  * Intercepts clicks on `<a>` elements rendered inside assistant markdown
1686
2262
  * bubbles. Internal paths (e.g. /account/details) are routed via Angular's
@@ -1691,19 +2267,17 @@ declare class SafeMarkdownPipe implements PipeTransform, OnDestroy {
1691
2267
  * Applied via the `pwBrainChatThread` attribute on the chat thread div.
1692
2268
  */
1693
2269
  declare class PwBrainChatThreadDirective {
1694
- private readonly router;
1695
- constructor(router: Router);
1696
- onClick(event: MouseEvent): void;
1697
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatThreadDirective, never>;
1698
- static ɵdir: i0.ɵɵDirectiveDeclaration<PwBrainChatThreadDirective, "[pwBrainChatThread]", never, {}, {}, never, never, true, never>;
1699
- }
1700
-
1701
- declare class SharedComponentsModule {
1702
- static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
1703
- 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]>;
1704
- static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
1705
- }
1706
-
2270
+ private readonly router;
2271
+ constructor(router: Router);
2272
+ onClick(event: MouseEvent): void;
2273
+ static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatThreadDirective, never>;
2274
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PwBrainChatThreadDirective, "[pwBrainChatThread]", never, {}, {}, never, never, true, never>;
2275
+ }
2276
+ export declare class SharedComponentsModule {
2277
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
2278
+ 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 i11.NgbTooltipModule, typeof i12.TooltipModule, typeof i11.NgbNavModule, typeof i11.NgbModalModule, typeof i39.TableModule, typeof i40.TabsModule, typeof i10.ButtonModule, typeof i42.SelectModule, typeof i43.MultiSelectModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i46.ImageCropperComponent, typeof i47.UiSwitchModule, typeof i48.NgxDaterangepickerMd, typeof i49.PipesModule, typeof i5.CommonModule, typeof i5.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 i11.NgbTooltipModule, typeof i12.TooltipModule, typeof i11.NgbNavModule, typeof i11.NgbModalModule, typeof i39.TableModule, typeof i40.TabsModule, typeof i10.ButtonModule, typeof i42.SelectModule, typeof i43.MultiSelectModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i46.ImageCropperComponent, 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]>;
2279
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
2280
+ }
1707
2281
  /**
1708
2282
  * CollapsibleSidebarSuperAdminGuard
1709
2283
  *
@@ -1725,36 +2299,33 @@ declare class SharedComponentsModule {
1725
2299
  * canAccessSidebar$ = this.guard.canAccessSidebar$;
1726
2300
  * ```
1727
2301
  */
1728
- declare class CollapsibleSidebarSuperAdminGuard {
1729
- private readonly userService;
1730
- private readonly permissionService;
1731
- /**
1732
- * Emits true when the signed-in user has {@link PermissionService.isSuperAdmin}.
1733
- * UX-only; backend must still enforce permissions.
1734
- */
1735
- readonly canAccessSidebar$: rxjs.Observable<boolean>;
1736
- constructor(userService: UserService, permissionService: PermissionService);
1737
- /**
1738
- * Same rule as {@link PermissionService#isSuperAdmin}, safe when user is not loaded.
1739
- */
1740
- canAccessSidebar(): boolean;
1741
- private static userIsSuperAdmin;
1742
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarSuperAdminGuard, never>;
1743
- static ɵprov: i0.ɵɵInjectableDeclaration<CollapsibleSidebarSuperAdminGuard>;
1744
- }
1745
-
1746
- declare class UiLayoutService {
1747
- private readonly api;
1748
- constructor(api: MainApiHttpService);
1749
- getLayout(subscriptionId: number, pageKey: string): Observable<UiLayoutResponse>;
1750
- static ɵfac: i0.ɵɵFactoryDeclaration<UiLayoutService, never>;
1751
- static ɵprov: i0.ɵɵInjectableDeclaration<UiLayoutService>;
1752
- }
1753
-
1754
- declare const COMPONENT_REGISTRY: Readonly<Record<string, Type<unknown>>>;
1755
- declare function registeredType(type: string): Type<unknown> | null;
1756
- declare function registeredTypeNames(): string[];
1757
-
2302
+ export declare class CollapsibleSidebarSuperAdminGuard {
2303
+ private readonly userService;
2304
+ private readonly permissionService;
2305
+ /**
2306
+ * Emits true when the signed-in user has {@link PermissionService.isSuperAdmin}.
2307
+ * UX-only; backend must still enforce permissions.
2308
+ */
2309
+ readonly canAccessSidebar$: import("rxjs").Observable<boolean>;
2310
+ constructor(userService: UserService, permissionService: PermissionService);
2311
+ /**
2312
+ * Same rule as {@link PermissionService#isSuperAdmin}, safe when user is not loaded.
2313
+ */
2314
+ canAccessSidebar(): boolean;
2315
+ private static userIsSuperAdmin;
2316
+ static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarSuperAdminGuard, never>;
2317
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2318
+ }
2319
+ export declare class UiLayoutService {
2320
+ private readonly api;
2321
+ constructor(api: MainApiHttpService);
2322
+ getLayout(subscriptionId: number, pageKey: string): Observable<UiLayoutResponse>;
2323
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiLayoutService, never>;
2324
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2325
+ }
2326
+ export declare const COMPONENT_REGISTRY: Readonly<Record<string, Type<unknown>>>;
2327
+ export declare function registeredType(type: string): Type<unknown> | null;
2328
+ export declare function registeredTypeNames(): string[];
1758
2329
  /**
1759
2330
  * Which product API to POST bytes to, keyed by the service name the tool
1760
2331
  * catalog reports (e.g. `'cloudolive-api'`, `'main-api'`).
@@ -1770,7 +2341,5 @@ declare function registeredTypeNames(): string[];
1770
2341
  * A service the map doesn't cover is simply not offered: the affordance is
1771
2342
  * hidden rather than advertised-then-broken.
1772
2343
  */
1773
- declare const BRAIN_CHAT_UPLOAD_APIS: InjectionToken<Record<string, BaseHttpService>>;
1774
-
1775
- 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 };
1776
- export type { ChatMessage, ChatMessageRole, CompletionTier, ConfirmDeleteOptions, ConfirmDialogConfig, ConfirmDialogTone, DynamicPageContext, PaletteActionId, PaletteGroup, PaletteItem, PaletteItemKind, PalettePerson, PendingConfirmation, ResolvedBinding, SidebarContent, SidebarHeaderAction, UiBinding, UiBlock, UiGrid, UiLayoutConfig, UiLayoutResponse };
2344
+ export declare const BRAIN_CHAT_UPLOAD_APIS: InjectionToken<Record<string, BaseHttpService>>;
2345
+ export type { ChatMessage, ChatMessageRole, NavEntry, PendingConfirmation };