@posiwise/shared-components 0.0.207 → 0.0.208

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,184 +1,189 @@
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 i35 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 i47 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 i38 from "primeng/table";
28
- import * as i39 from "primeng/tabs";
29
- import * as i10 from "primeng/button";
30
- import * as i41 from "primeng/select";
31
- import * as i42 from "primeng/multiselect";
32
- import * as i13 from "primeng/progressspinner";
33
- import * as i14 from "primeng/autocomplete";
34
- import * as i45 from "ngx-image-cropper";
35
- import * as i46 from "ngx-ui-switch";
36
- import * as i48 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";
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
+
40
43
  /**
41
44
  * A compact icon action rendered in the sidebar header row (before the close
42
45
  * button). `id` MUST match a public method name on the mounted panel component
43
46
  * — the shell invokes `componentRef.instance[id]()` when the action is clicked.
44
47
  */
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;
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;
52
55
  }
53
56
  /**
54
57
  * Interface for sidebar content that modules can provide
55
58
  */
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
- }
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
+
101
105
  /**
102
106
  * CollapsibleSidebarService manages dynamic sidebar content
103
107
  *
104
108
  * This service allows any module to register, update, or remove sidebar content.
105
109
  * It uses observables to notify components of state changes.
106
110
  */
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
- }
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
+
182
187
  /**
183
188
  * What activating a palette row does:
184
189
  * - `page` → router navigation to `path`
@@ -186,53 +191,54 @@ export declare class CollapsibleSidebarService {
186
191
  * - `action` → run a named command (see `PaletteActionId`)
187
192
  * - `ask-ai` → hand the typed query to the PosiWise Brain panel
188
193
  */
189
- export type PaletteItemKind = 'page' | 'person' | 'action' | 'ask-ai';
194
+ type PaletteItemKind = 'page' | 'person' | 'action' | 'ask-ai';
190
195
  /**
191
196
  * Commands the palette can run itself, for the things a user repeats that are not
192
197
  * a destination. Kept to a closed union so a row can never carry an arbitrary
193
198
  * callback across the source boundary.
194
199
  */
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[];
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[];
227
232
  }
228
233
  /** A user as returned by `DashboardService.search` — only the fields we render. */
229
- export interface PalettePerson {
230
- id?: number;
231
- first_name?: string;
232
- last_name?: string;
233
- email?: string;
234
- slug?: string;
235
- }
234
+ interface PalettePerson {
235
+ id?: number;
236
+ first_name?: string;
237
+ last_name?: string;
238
+ email?: string;
239
+ slug?: string;
240
+ }
241
+
236
242
  /**
237
243
  * Open/close state for the global command palette.
238
244
  *
@@ -240,556 +246,427 @@ export interface PalettePerson {
240
246
  * summon the palette — the navbar button, the ⌘K shortcut, an empty-state
241
247
  * "find a page" link — without reaching for a component reference.
242
248
  */
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;
351
- };
352
- }, {}, never, never, false, never>;
353
- }
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
+
354
349
  interface SharedModalContext {
355
- modal: {
356
- dismiss: () => void;
357
- close: () => void;
358
- };
350
+ modal: {
351
+ dismiss: () => void;
352
+ close: () => void;
353
+ };
359
354
  }
360
355
  interface EnrolledUser {
361
- is_owner: boolean;
362
- id: number;
363
- }
364
- interface GroupDefinition {
365
- description: string;
366
- name: string;
356
+ is_owner: boolean;
357
+ id: number;
367
358
  }
368
359
  interface Group {
369
- id?: number;
370
- name?: string;
371
- description?: string;
372
- group_definition_id?: number;
373
- group_definition_name: string;
360
+ id?: number;
361
+ name?: string;
362
+ description?: string;
363
+ group_definition_id?: number;
364
+ group_definition_name: string;
374
365
  }
375
366
  interface Permission {
376
- name: string;
377
- parentName?: string;
378
- displayName: string;
367
+ name: string;
368
+ parentName?: string;
369
+ displayName: string;
379
370
  }
380
371
  interface PermissionTreeData {
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;
534
- }[];
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: {
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;
585
461
  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
- }
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;
524
+ }[];
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
+
651
573
  interface MonogramTint {
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 };
574
+ bg: string;
575
+ fg: string;
715
576
  }
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
+
716
608
  /**
717
609
  * Listens for Ctrl+Shift+A globally and toggles the PosiWise Assistant chat panel.
718
610
  * Applied via hostDirectives on CollapsibleSidebarComponent.
719
611
  */
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
- }
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
+
782
662
  interface BrainChatPrompt {
783
- text: string;
784
- icon: string;
663
+ text: string;
664
+ icon: string;
785
665
  }
786
666
  interface BrainChatQuickAction extends BrainChatPrompt {
787
- label: string;
667
+ label: string;
788
668
  }
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”.";
669
+
793
670
  /**
794
671
  * Identity of the Conversational UI Builder dynamic page the user is
795
672
  * currently viewing (#933 — page-aware Brain). The dynamic-page host sets
@@ -800,18 +677,19 @@ declare const GREETING = "Hi — I can answer questions about your account and r
800
677
  *
801
678
  * `null` whenever no dynamic page is mounted.
802
679
  */
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
- }
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
+
815
693
  /**
816
694
  * Shared shapes for the PosiWise Brain chat panel. Extracted from
817
695
  * `pw-brain-chat.component.ts` so the component stays under the C1
@@ -820,28 +698,28 @@ export declare class DynamicPageContextService {
820
698
  */
821
699
  type ChatMessageRole = 'user' | 'assistant';
822
700
  interface PendingConfirmation {
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;
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;
829
707
  }
830
708
  interface ChatMessage {
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;
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;
845
723
  }
846
724
  /** Lifecycle of a file the user dropped on the composer. */
847
725
  /** `choosing`: several upload tools accept this file — held until the user picks one. */
@@ -852,20 +730,21 @@ type ChatAttachmentStatus = 'choosing' | 'uploading' | 'ready' | 'error';
852
730
  * hands back, which is all that ever reaches the chat request.
853
731
  */
854
732
  interface ChatAttachment {
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
- }
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
+
869
748
  /**
870
749
  * Owns the composer's file attachment: drag state, the upload, and the single
871
750
  * staged file. Split out of the component the same way BrainChatDictation and
@@ -879,45 +758,46 @@ interface ChatAttachment {
879
758
  * beyond naming its API.
880
759
  */
881
760
  declare class BrainChatAttachment {
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 after a send so the file travels with exactly one message. */
916
- clearAfterSend(): void;
917
- meta(): string;
918
- icon(): string;
919
- private upload;
920
- }
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
+
921
801
  /**
922
802
  * Drives mic dictation for the Brain chat composer (#22).
923
803
  *
@@ -930,49 +810,48 @@ declare class BrainChatAttachment {
930
810
  */
931
811
  type DictationPhase = 'idle' | 'listening' | 'processing';
932
812
  declare class BrainChatDictation {
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
- }
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
+
963
844
  interface DiffRow {
964
- field: string;
965
- before: string;
966
- after: string;
845
+ field: string;
846
+ before: string;
847
+ after: string;
967
848
  }
968
849
  declare function diffRowsFrom(diff?: MCPFieldDiff | null): DiffRow[];
850
+
969
851
  type VoiceChatState = 'idle' | 'listening' | 'processingSpeech' | 'thinking' | 'fetchingData' | 'speaking' | 'completed' | 'error';
970
852
  /** Visual treatment hint for the template — keeps animation choice out of HTML. */
971
853
  type VoiceChatVisual = 'idle' | 'pulse' | 'loader' | 'wave' | 'error';
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>;
854
+
976
855
  /**
977
856
  * Voice Chat controller for the Brain chat composer (#58) — explicit state
978
857
  * machine over the WS relay: listening (start) → thinking (`text` role=user)
@@ -980,126 +859,117 @@ declare const STATE_VISUAL: Record<VoiceChatState, VoiceChatVisual>;
980
859
  * Copy/visual vocab lives in pw-brain-chat-voice-copy.ts (C1 line budget).
981
860
  */
982
861
  declare class BrainChatVoiceChat {
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 readonly threadRef?;
1059
- 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>);
1060
- ngOnInit(): void;
1061
- private subscribeToServerPush;
1062
- ngOnDestroy(): void;
1063
- /**
1064
- * Paperclip path. The input is reset after every pick so choosing the same
1065
- * file twice in a row still fires `change` (the browser suppresses it
1066
- * otherwise, and "nothing happened" is a maddening bug to hit).
1067
- */
1068
- pickFile(input: HTMLInputElement): void;
1069
- send(): void;
1070
- approve(message: ChatMessage): void;
1071
- cancel(message: ChatMessage): void;
1072
- cancelRequest(): void;
1073
- trackByIndex(index: number, _item: ChatMessage): number;
1074
- usePrompt(text: string): void;
1075
- newChat(): void;
1076
- private handleExecuteResponse;
1077
- private applySuccessResult;
1078
- private handleError;
1079
- private persistConversationId;
1080
- private pushAssistant;
1081
- /** Voice session turn completed — record the spoken exchange in the thread
1082
- * so the conversation survives the overlay (plain text: it was speech). */
1083
- private recordVoiceTurn;
1084
- private stick;
1085
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatComponent, [null, null, null, null, null, null, {
1086
- optional: true;
1087
- }, {
1088
- optional: true;
1089
- }, {
1090
- optional: true;
1091
- }, {
1092
- optional: true;
1093
- }, {
1094
- optional: true;
1095
- }, {
1096
- optional: true;
1097
- }]>;
1098
- static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatComponent, "pw-brain-chat", never, {}, {}, never, never, false, never>;
1099
- }
1100
- declare namespace pw_brain_chat_confirm_component_d_exports {
1101
- export { PwBrainChatConfirmComponent };
1102
- }
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
+
1103
973
  /**
1104
974
  * Pending-action confirmation panel for the Brain chat bubble — risk badge,
1105
975
  * target tool, field-level diff, and Approve/Cancel controls. Extracted from
@@ -1108,29 +978,15 @@ declare namespace pw_brain_chat_confirm_component_d_exports {
1108
978
  * and message mutation (approve/cancel).
1109
979
  */
1110
980
  declare class PwBrainChatConfirmComponent {
1111
- pending: PendingConfirmation;
1112
- loading: boolean;
1113
- approveEvent: EventEmitter<void>;
1114
- cancelEvent: EventEmitter<void>;
1115
- readonly diffRows: typeof diffRowsFrom;
1116
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatConfirmComponent, never>;
1117
- static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatConfirmComponent, "pw-brain-chat-confirm", never, {
1118
- "pending": {
1119
- "alias": "pending";
1120
- "required": true;
1121
- };
1122
- "loading": {
1123
- "alias": "loading";
1124
- "required": false;
1125
- };
1126
- }, {
1127
- "approveEvent": "approveEvent";
1128
- "cancelEvent": "cancelEvent";
1129
- }, never, never, false, never>;
1130
- }
1131
- declare namespace pw_brain_chat_welcome_component_d_exports {
1132
- export { PwBrainChatWelcomeComponent };
1133
- }
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
+
1134
990
  /**
1135
991
  * First-open welcome state for the Brain chat — greeting + suggested-prompt
1136
992
  * rows. Extracted from the parent template so `pw-brain-chat.component.html`
@@ -1138,70 +994,16 @@ declare namespace pw_brain_chat_welcome_component_d_exports {
1138
994
  * owns send().
1139
995
  */
1140
996
  declare class PwBrainChatWelcomeComponent {
1141
- /** Signed-in user's first name; when set the greeting reads "Hi {name},". */
1142
- userFirstName?: string;
1143
- prompts: readonly BrainChatPrompt[];
1144
- pick: EventEmitter<string>;
1145
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatWelcomeComponent, never>;
1146
- static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatWelcomeComponent, "pw-brain-chat-welcome", never, {
1147
- "userFirstName": {
1148
- "alias": "userFirstName";
1149
- "required": false;
1150
- };
1151
- "prompts": {
1152
- "alias": "prompts";
1153
- "required": false;
1154
- };
1155
- }, {
1156
- "pick": "pick";
1157
- }, never, never, false, never>;
1158
- }
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
+
1159
1005
  type SonarState = 'listening' | 'processingSpeech' | 'thinking' | 'fetchingData' | 'speaking' | 'error';
1160
- interface SonarColors {
1161
- first: string;
1162
- ink3: string;
1163
- tick: string;
1164
- tickMaj: string;
1165
- idle: string;
1166
- line: string;
1167
- err: string;
1168
- n500: string;
1169
- }
1170
- declare const SIZE = 280;
1171
- declare const CX: number;
1172
- declare const CY: number;
1173
- declare const R_TICK = 118;
1174
- declare const R_OUTER = 128;
1175
- declare const R_CORE = 32;
1176
- declare const R_MAX = 112;
1177
- interface Ring {
1178
- r: number;
1179
- life: number;
1180
- amp: number;
1181
- }
1182
- interface SonarNode {
1183
- a: number;
1184
- r: number;
1185
- lit: number;
1186
- }
1187
- interface SonarAnim {
1188
- micLevel: number;
1189
- ringPhase: number;
1190
- rings: Ring[];
1191
- radar: number;
1192
- nodes: SonarNode[];
1193
- }
1194
- declare const SONAR_LABELS: Record<SonarState, string>;
1195
- declare function makeAnim(): SonarAnim;
1196
- declare function alpha(color: string, a: number): string;
1197
- declare function ring(ctx: CanvasRenderingContext2D, r: number, stroke: string, w: number): void;
1198
- /** The persistent instrument bezel: outer boundary, 72 ticks, guide rings. */
1199
- declare function chrome(ctx: CanvasRenderingContext2D, c: SonarColors): void;
1200
- /** Centred JetBrains-Mono telemetry line (letter-spaced) below the dial core. */
1201
- declare function readout(ctx: CanvasRenderingContext2D, text: string, col: string): void;
1202
- declare namespace pw_brain_chat_voice_overlay_component_d_exports {
1203
- export { PwBrainChatVoiceOverlayComponent };
1204
- }
1006
+
1205
1007
  /**
1206
1008
  * Sonar voice-session overlay (#51) — a focused takeover over the chat panel
1207
1009
  * that animates the real voice/dictation state machine on an instrument dial.
@@ -1210,752 +1012,506 @@ declare namespace pw_brain_chat_voice_overlay_component_d_exports {
1210
1012
  * by its own rAF loop and never needs CD.
1211
1013
  */
1212
1014
  declare class PwBrainChatVoiceOverlayComponent implements AfterViewInit, OnDestroy {
1213
- private readonly host;
1214
- voice: BrainChatVoiceChat | null;
1215
- dictation: BrainChatDictation | null;
1216
- readonly end: EventEmitter<void>;
1217
- private readonly dialRef?;
1218
- private readonly endBtnRef?;
1219
- private ctx;
1220
- private raf;
1221
- private last;
1222
- private prevState;
1223
- private colors;
1224
- private readonly renderer;
1225
- private readonly reduce;
1226
- constructor(host: ElementRef<HTMLElement>);
1227
- /** The voice controller iff a voice session is live (active or errored). */
1228
- private get activeVoice();
1229
- get isVoice(): boolean;
1230
- get state(): SonarState;
1231
- get isError(): boolean;
1232
- get label(): string;
1233
- get modeTag(): string;
1234
- get transcript(): string;
1235
- get showTranscript(): boolean;
1236
- /** Assistant reply text, streamed live while the audio answer plays. */
1237
- get reply(): string;
1238
- get showReply(): boolean;
1239
- get showSteps(): boolean;
1240
- get stepIndex(): number;
1241
- get stepCaption(): string;
1242
- get coreIcon(): string;
1243
- get hint(): string;
1244
- ngAfterViewInit(): void;
1245
- ngOnDestroy(): void;
1246
- onEnd(): void;
1247
- private readonly frame;
1248
- /** Read theme-aware colours (the --bc-* tokens inherit from .pw-brain-chat). */
1249
- private readColors;
1250
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatVoiceOverlayComponent, never>;
1251
- static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatVoiceOverlayComponent, "pw-brain-chat-voice-overlay", never, {
1252
- "voice": {
1253
- "alias": "voice";
1254
- "required": false;
1255
- };
1256
- "dictation": {
1257
- "alias": "dictation";
1258
- "required": false;
1259
- };
1260
- }, {
1261
- "end": "end";
1262
- }, never, never, false, never>;
1263
- }
1264
- declare namespace entity_group_component_d_exports {
1265
- export { EntityGroupComponent };
1266
- }
1267
- export declare class EntityGroupComponent extends AppBaseComponent implements OnInit, OnDestroy {
1268
- private readonly groupService;
1269
- private readonly subscriptionService;
1270
- private readonly modalService;
1271
- private readonly cdr;
1272
- content: TemplateRef<SharedModalContext>;
1273
- subscription: Subscription;
1274
- subscriptionId: number;
1275
- user: User;
1276
- userId: number;
1277
- entityId: number;
1278
- selectedGroup: {
1279
- name: string;
1280
- };
1281
- subscriptionMembers: any[];
1282
- subscribedMembers: any[];
1283
- filteredMembers: any[];
1284
- selectedMembers: any[];
1285
- enrolledUsers: EnrolledUser[];
1286
- admins: any[];
1287
- subscriptionInfo: any[];
1288
- subscriptionOwner: number;
1289
- chatPermission: string;
1290
- isLoaded: boolean;
1291
- hasAccess: boolean;
1292
- constructor(groupService: GroupService, subscriptionService: SubscriptionService, modalService: NgbModal, injector: Injector, cdr: ChangeDetectorRef);
1293
- ngOnInit(): void;
1294
- search(event: any): void;
1295
- open(): void;
1296
- closeModal(modal: any): void;
1297
- getEntity(): void;
1298
- onSave(): void;
1299
- private getSubscribedUsers;
1300
- onDelete(memberId: any): void;
1301
- navigateToCommunications(): void;
1302
- ngOnDestroy(): void;
1303
- static ɵfac: i0.ɵɵFactoryDeclaration<EntityGroupComponent, never>;
1304
- static ɵcmp: i0.ɵɵComponentDeclaration<EntityGroupComponent, "pw-entity-group", never, {}, {}, never, never, false, never>;
1305
- }
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
+
1306
1096
  /**
1307
1097
  * Convenience overrides for `confirmDelete`. Any field of `ConfirmDialogConfig`
1308
1098
  * may be passed; the defaults are `{ title: 'Delete', text: 'Are you sure you
1309
1099
  * want to delete?', destructive: true }`.
1310
1100
  */
1311
- export type ConfirmDeleteOptions = Partial<ConfirmDialogConfig>;
1312
- export declare class ConfirmDialogService {
1313
- private readonly modal;
1314
- constructor(modal: NgbModal);
1315
- open(config?: ConfirmDialogConfig): Promise<boolean>;
1316
- /**
1317
- * Opens a generic destructive "Delete — Are you sure you want to delete?"
1318
- * confirmation dialog. Pass overrides for any field (e.g. `text` with a
1319
- * bold entity name, or `textKey` for an i18n key).
1320
- */
1321
- confirmDelete(overrides?: ConfirmDeleteOptions): Promise<boolean>;
1322
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogService, never>;
1323
- static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1324
- }
1325
- declare namespace groups_component_d_exports {
1326
- export { GroupsComponent };
1327
- }
1328
- export declare class GroupsComponent extends AppBaseComponent implements OnInit, OnDestroy {
1329
- private readonly fb;
1330
- private readonly groupService;
1331
- private readonly subscriptionService;
1332
- private readonly dataService;
1333
- private readonly cdr;
1334
- private readonly confirmDialog;
1335
- private groupsData;
1336
- subscription: Subscription;
1337
- message: number;
1338
- id: number;
1339
- group_id: number;
1340
- form: UntypedFormGroup;
1341
- description: string;
1342
- name: string;
1343
- allGroups: Group[];
1344
- groupDefinition: {
1345
- name: string;
1346
- groups: IterableIterator<object>;
1347
- }[];
1348
- domainGroupDefinition: any[];
1349
- admins: any[];
1350
- subscriptionInfo: any[];
1351
- subscriptionOwner: number;
1352
- enrolledUsers: {
1353
- is_owner: boolean;
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;
1354
1126
  id: number;
1355
- }[];
1356
- user: User;
1357
- submitted: boolean;
1358
- viewEdit: boolean;
1359
- buttonBusy: boolean;
1360
- isGroupOperations: boolean;
1361
- isGroupEdit: boolean;
1362
- hasAccess: boolean;
1363
- isLoaded: boolean;
1364
- constructor(fb: UntypedFormBuilder, groupService: GroupService, subscriptionService: SubscriptionService, dataService: DataService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
1365
- ngOnInit(): void;
1366
- /** Function to save group */
1367
- saveGroup(): void;
1368
- private getAllGroupDefinition;
1369
- private getSubscribedUsers;
1370
- groupOperation(): void;
1371
- cancelUpdate(): void;
1372
- editGroup(group_id: number): void;
1373
- private getGroupDetails;
1374
- updateDetails(): void;
1375
- onDelete(id: number): void;
1376
- filterDomainsList(event: any): void;
1377
- previous(): void;
1378
- navigateToCommunications(id: number): void;
1379
- navigateToDocumentations(id: number): void;
1380
- trackByGroup(_index: number, item: {
1127
+ group_id: number;
1128
+ form: UntypedFormGroup;
1129
+ description: string;
1130
+ 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;
1381
1187
  id: number;
1382
- }): number;
1383
- ngOnDestroy(): void;
1384
- static ɵfac: i0.ɵɵFactoryDeclaration<GroupsComponent, never>;
1385
- static ɵcmp: i0.ɵɵComponentDeclaration<GroupsComponent, "pw-groups", never, {}, {}, never, never, false, never>;
1386
- }
1387
- declare namespace group_definition_component_d_exports {
1388
- export { GroupDefinitionComponent };
1389
- }
1390
- export declare class GroupDefinitionComponent extends AppBaseComponent implements OnInit, OnDestroy {
1391
- private readonly groupService;
1392
- private readonly fb;
1393
- private readonly subscriptionService;
1394
- private readonly data;
1395
- private readonly cdr;
1396
- private readonly confirmDialog;
1397
- subscriptions: any[];
1398
- message: number;
1399
- groupDefinition: object[];
1400
- form: UntypedFormGroup;
1401
- id: number;
1402
- viewDefinition: boolean;
1403
- viewEdit: boolean;
1404
- private groupDefId;
1405
- private groupDefinitionDetails;
1406
- hasAccess: boolean;
1407
- admins: any[];
1408
- subscriptionInfo: any[];
1409
- subscriptionOwner: number;
1410
- enrolledUsers: EnrolledUser[];
1411
- user: User;
1412
- isLoaded: boolean;
1413
- categoryBusyButton: boolean;
1414
- constructor(groupService: GroupService, fb: UntypedFormBuilder, subscriptionService: SubscriptionService, data: DataService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
1415
- ngOnInit(): void;
1416
- private getAllGroupDefinition;
1417
- private getSubscribedUsers;
1418
- updateDetails(): void;
1419
- onGroupDefinitionEdit(id: number): void;
1420
- getSubscriptionDetails(): void;
1421
- saveGroupDefinition(): void;
1422
- onDelete(id: number): void;
1423
- viewDefinitions(): void;
1424
- previous(): void;
1425
- onCancel(): void;
1426
- ngOnDestroy(): void;
1427
- static ɵfac: i0.ɵɵFactoryDeclaration<GroupDefinitionComponent, never>;
1428
- static ɵcmp: i0.ɵɵComponentDeclaration<GroupDefinitionComponent, "pw-group-definition", never, {}, {}, never, never, false, never>;
1429
- }
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
+
1430
1217
  type buttonsOrientationType = 'horizontal' | 'vertical' | 'h' | 'v';
1431
1218
  type sizeType = 'medium' | 'large' | 'small' | 'xlarge' | 'md' | 'lg' | 'sm' | 'xlg';
1432
1219
  interface CustomClasses {
1433
- container?: string;
1434
- up?: string;
1435
- down?: string;
1436
- postfix?: string;
1437
- prefix?: string;
1438
- success?: string;
1439
- error?: string;
1440
- }
1441
- declare namespace number_picker_component_d_exports {
1442
- export { NumberPickerComponent };
1443
- }
1444
- export declare class NumberPickerComponent implements OnInit {
1445
- private readonly numberPickerService;
1446
- private precision;
1447
- private eventHolder;
1448
- private countInterval;
1449
- private isInputFocused;
1450
- min: number;
1451
- showTooltip: boolean;
1452
- tooltipText: string;
1453
- max: number;
1454
- step: number;
1455
- value: number;
1456
- pickStartAfter: number;
1457
- pickTimer: number;
1458
- prefix: string;
1459
- postfix: string;
1460
- placeholder: string;
1461
- buttonsOrientation: buttonsOrientationType;
1462
- size: sizeType;
1463
- customClass: CustomClasses;
1464
- mouseWheel: boolean;
1465
- arrowKeys: boolean;
1466
- inputReadOnly: boolean;
1467
- showUpButton: boolean;
1468
- showDownButton: boolean;
1469
- /** Optional id for the number input (for accessibility/label association). */
1470
- inputId: string;
1471
- valueChange: EventEmitter<number>;
1472
- minReached: EventEmitter<boolean>;
1473
- maxReached: EventEmitter<boolean>;
1474
- pickStarted: EventEmitter<boolean>;
1475
- pickStopped: EventEmitter<boolean>;
1476
- pickUpStarted: EventEmitter<boolean>;
1477
- pickUpStopped: EventEmitter<boolean>;
1478
- pickDownStarted: EventEmitter<boolean>;
1479
- pickDownStopped: EventEmitter<boolean>;
1480
- constructor(numberPickerService: NumberPickerService);
1481
- ngOnInit(): void;
1482
- isHorizontal(): boolean;
1483
- onFocus(event: FocusEvent): void;
1484
- onBlur(event: Event): void;
1485
- onMouseWheel(event: WheelEvent): void;
1486
- private afterMouseWheels;
1487
- onValueChange(_event: Event): void;
1488
- onDecrease(event: MouseEvent | WheelEvent | KeyboardEvent): void;
1489
- onIncrease(event: MouseEvent | WheelEvent | KeyboardEvent): void;
1490
- onMouseDown(event: MouseEvent, increase?: boolean): void;
1491
- private isArrowUpDown;
1492
- private isArrowUp;
1493
- private loopPick;
1494
- onMouseUp(event: MouseEvent, increase?: boolean): void;
1495
- onKeyDown(event: KeyboardEvent): void;
1496
- onKeyUp(event: KeyboardEvent): void;
1497
- private afterMouseDown;
1498
- private afterMouseUp;
1499
- private afterPick;
1500
- private clearTimers;
1501
- private parseVal;
1502
- private getPrecision;
1503
- private round;
1504
- private canIncrease;
1505
- private canDecrease;
1506
- private onPickStarted;
1507
- private onPickStopped;
1508
- private isLeftClick;
1509
- private initPicker;
1510
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberPickerComponent, never>;
1511
- static ɵcmp: i0.ɵɵComponentDeclaration<NumberPickerComponent, "pw-number-picker", never, {
1512
- "min": {
1513
- "alias": "min";
1514
- "required": false;
1515
- };
1516
- "showTooltip": {
1517
- "alias": "showTooltip";
1518
- "required": false;
1519
- };
1520
- "tooltipText": {
1521
- "alias": "tooltipText";
1522
- "required": false;
1523
- };
1524
- "max": {
1525
- "alias": "max";
1526
- "required": false;
1527
- };
1528
- "step": {
1529
- "alias": "step";
1530
- "required": false;
1531
- };
1532
- "value": {
1533
- "alias": "value";
1534
- "required": false;
1535
- };
1536
- "pickStartAfter": {
1537
- "alias": "pickStartAfter";
1538
- "required": false;
1539
- };
1540
- "pickTimer": {
1541
- "alias": "pickTimer";
1542
- "required": false;
1543
- };
1544
- "prefix": {
1545
- "alias": "prefix";
1546
- "required": false;
1547
- };
1548
- "postfix": {
1549
- "alias": "postfix";
1550
- "required": false;
1551
- };
1552
- "placeholder": {
1553
- "alias": "placeholder";
1554
- "required": false;
1555
- };
1556
- "buttonsOrientation": {
1557
- "alias": "buttonsOrientation";
1558
- "required": false;
1559
- };
1560
- "size": {
1561
- "alias": "size";
1562
- "required": false;
1563
- };
1564
- "customClass": {
1565
- "alias": "customClass";
1566
- "required": false;
1567
- };
1568
- "mouseWheel": {
1569
- "alias": "mouseWheel";
1570
- "required": false;
1571
- };
1572
- "arrowKeys": {
1573
- "alias": "arrowKeys";
1574
- "required": false;
1575
- };
1576
- "inputReadOnly": {
1577
- "alias": "inputReadOnly";
1578
- "required": false;
1579
- };
1580
- "showUpButton": {
1581
- "alias": "showUpButton";
1582
- "required": false;
1583
- };
1584
- "showDownButton": {
1585
- "alias": "showDownButton";
1586
- "required": false;
1587
- };
1588
- "inputId": {
1589
- "alias": "inputId";
1590
- "required": false;
1591
- };
1592
- }, {
1593
- "valueChange": "valueChange";
1594
- "minReached": "minReached";
1595
- "maxReached": "maxReached";
1596
- "pickStarted": "pickStarted";
1597
- "pickStopped": "pickStopped";
1598
- "pickUpStarted": "pickUpStarted";
1599
- "pickUpStopped": "pickUpStopped";
1600
- "pickDownStarted": "pickDownStarted";
1601
- "pickDownStopped": "pickDownStopped";
1602
- }, never, never, false, never>;
1603
- }
1604
- declare namespace header_component_d_exports {
1605
- export { HeaderComponent };
1606
- }
1607
- export declare class HeaderComponent extends AppBaseComponent {
1608
- private readonly authService;
1609
- private readonly cdr;
1610
- loggedIn: boolean;
1611
- isMenuCollapsed: boolean;
1612
- constructor(injector: Injector, authService: AuthService, cdr: ChangeDetectorRef);
1613
- landing: boolean;
1614
- navigateToLogin(): void;
1615
- toggleMenu(): void;
1616
- private logoFailed;
1617
- get logo(): string | null;
1618
- onLogoError(): void;
1619
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
1620
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "pw-header", never, {
1621
- "landing": {
1622
- "alias": "landing";
1623
- "required": false;
1624
- };
1625
- }, {}, never, never, false, never>;
1626
- }
1627
- declare namespace landing_page_footer_b_component_d_exports {
1628
- export { LandingPageFooterBComponent };
1629
- }
1630
- export declare class LandingPageFooterBComponent extends AppBaseComponent implements OnInit {
1631
- private readonly authService;
1632
- private readonly cdr;
1633
- isBrowserAccess: boolean;
1634
- currentDate: Date;
1635
- productPrivacyId: number;
1636
- get companyName(): string;
1637
- get companyEmail(): string;
1638
- get companyTagline(): string | null;
1639
- get logoUrl(): string;
1640
- get socialLinkedin(): string | null;
1641
- get socialFacebook(): string | null;
1642
- get socialTwitter(): string | null;
1643
- constructor(authService: AuthService, cdr: ChangeDetectorRef, injector: Injector);
1644
- ngOnInit(): void;
1645
- scrollToTop(event: Event): void;
1646
- static ɵfac: i0.ɵɵFactoryDeclaration<LandingPageFooterBComponent, never>;
1647
- static ɵcmp: i0.ɵɵComponentDeclaration<LandingPageFooterBComponent, "pw-landing-page-footer-b", never, {}, {}, never, never, false, never>;
1648
- }
1649
- export interface UiGrid {
1650
- x: number;
1651
- y: number;
1652
- w: number;
1653
- h: number;
1654
- }
1655
- export interface UiBinding {
1656
- source: string;
1657
- params?: Record<string, string | number | boolean>;
1658
- filter?: Record<string, string | number | boolean>;
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
+
1299
+ /**
1300
+ * Green presence indicator shown beside a member's name.
1301
+ *
1302
+ * Feed it `current_sign_in_at` and nothing else. Do NOT pass `last_sign_in_at`, nor the
1303
+ * `current_sign_in_at || last_sign_in_at` fallback the surrounding cells use for the date:
1304
+ * an explicit logout nulls `current_sign_in_at` and rolls its value into `last_sign_in_at`,
1305
+ * so the fallback would light the dot for someone who has just signed out.
1306
+ *
1307
+ * The online window itself lives in the `isOnline` pipe, which is paired with main-api's
1308
+ * activity-refresh interval -- see ONLINE_THRESHOLD_MINUTES.
1309
+ */
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>;
1659
1363
  }
1660
1364
  /** A resolved binding as returned by GET /main-api/v1/ui_layouts. */
1661
- export interface ResolvedBinding {
1662
- state: 'ok' | 'forbidden' | 'deferred' | 'unavailable' | 'unknown_source' | 'error';
1663
- value?: Record<string, unknown>;
1664
- reason?: string;
1665
- }
1666
- export interface UiBlock {
1667
- id: string;
1668
- type: string;
1669
- grid: UiGrid;
1670
- props?: Record<string, unknown>;
1671
- /** Server replaces the request `binding` with a ResolvedBinding (or null). */
1672
- binding?: ResolvedBinding | null;
1673
- }
1674
- export interface UiLayoutConfig {
1675
- schema_version: number;
1676
- version: number;
1677
- page_key: string;
1678
- blocks: UiBlock[];
1679
- }
1680
- /** Envelope of GET /main-api/v1/ui_layouts. */
1681
- export interface UiLayoutResponse {
1682
- data: {
1683
- layout: {
1684
- page_key: string;
1685
- version: number;
1686
- schema_version: number;
1687
- blocks: UiBlock[];
1688
- };
1689
- };
1690
- }
1691
- declare namespace pw_dynamic_page_component_d_exports {
1692
- export { PwDynamicPageComponent, UI_BUILDER_FLAG };
1693
- }
1694
- export declare const UI_BUILDER_FLAG = "conversational_ui_builder";
1695
- export declare class PwDynamicPageComponent implements AfterViewInit, OnDestroy {
1696
- private readonly injector;
1697
- private readonly cdr;
1698
- private readonly featureFlags;
1699
- private readonly userService?;
1700
- private readonly sidebarService?;
1701
- private readonly appConfigService?;
1702
- host: ViewContainerRef;
1703
- private _config;
1704
- private viewReady;
1705
- private configResolved;
1706
- set config(value: UiLayoutConfig | null);
1707
- get config(): UiLayoutConfig | null;
1708
- private refs;
1709
- private userResolved;
1710
- private resolving;
1711
- constructor(injector: Injector, cdr: ChangeDetectorRef, featureFlags: FeatureFlagService, userService?: UserService, sidebarService?: CollapsibleSidebarService, appConfigService?: AppConfigService);
1712
- brandName: string;
1713
- get enabled(): boolean;
1714
- get showEmpty(): boolean;
1715
- openBuilder(): void;
1716
- ngAfterViewInit(): void;
1717
- ngOnDestroy(): void;
1718
- private render;
1719
- private ensureUser;
1720
- private doRender;
1721
- private mount;
1722
- private clear;
1723
- static ɵfac: i0.ɵɵFactoryDeclaration<PwDynamicPageComponent, [null, null, null, {
1724
- optional: true;
1725
- }, {
1726
- optional: true;
1727
- }, {
1728
- optional: true;
1729
- }]>;
1730
- static ɵcmp: i0.ɵɵComponentDeclaration<PwDynamicPageComponent, "pw-dynamic-page", never, {
1731
- "config": {
1732
- "alias": "config";
1733
- "required": false;
1734
- };
1735
- }, {}, never, never, false, never>;
1365
+ interface ResolvedBinding {
1366
+ state: 'ok' | 'forbidden' | 'deferred' | 'unavailable' | 'unknown_source' | 'error';
1367
+ value?: Record<string, unknown>;
1368
+ reason?: string;
1736
1369
  }
1737
- declare namespace section_heading_block_component_d_exports {
1738
- export { SectionHeadingBlockComponent };
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[];
1739
1383
  }
1384
+ /** 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
+
1740
1429
  declare class SectionHeadingBlockComponent {
1741
- props: Record<string, unknown>;
1742
- get text(): string;
1743
- get level(): number;
1744
- static ɵfac: i0.ɵɵFactoryDeclaration<SectionHeadingBlockComponent, never>;
1745
- static ɵcmp: i0.ɵɵComponentDeclaration<SectionHeadingBlockComponent, "pw-section-heading-block", never, {
1746
- "props": {
1747
- "alias": "props";
1748
- "required": false;
1749
- };
1750
- }, {}, never, never, false, never>;
1751
- }
1752
- declare namespace divider_block_component_d_exports {
1753
- export { DividerBlockComponent };
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>;
1754
1435
  }
1436
+
1755
1437
  declare class DividerBlockComponent {
1756
- props: Record<string, unknown>;
1757
- get spacing(): number;
1758
- static ɵfac: i0.ɵɵFactoryDeclaration<DividerBlockComponent, never>;
1759
- static ɵcmp: i0.ɵɵComponentDeclaration<DividerBlockComponent, "pw-divider-block", never, {
1760
- "props": {
1761
- "alias": "props";
1762
- "required": false;
1763
- };
1764
- }, {}, never, never, false, never>;
1765
- }
1766
- declare namespace stat_card_block_component_d_exports {
1767
- export { StatCardBlockComponent };
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>;
1768
1442
  }
1443
+
1769
1444
  declare class StatCardBlockComponent {
1770
- props: Record<string, unknown>;
1771
- binding: ResolvedBinding | null;
1772
- get title(): string;
1773
- get metricValue(): string;
1774
- static ɵfac: i0.ɵɵFactoryDeclaration<StatCardBlockComponent, never>;
1775
- static ɵcmp: i0.ɵɵComponentDeclaration<StatCardBlockComponent, "pw-stat-card-block", never, {
1776
- "props": {
1777
- "alias": "props";
1778
- "required": false;
1779
- };
1780
- "binding": {
1781
- "alias": "binding";
1782
- "required": false;
1783
- };
1784
- }, {}, never, never, false, never>;
1785
- }
1786
- declare namespace data_table_block_component_d_exports {
1787
- export { DataTableBlockComponent };
1788
- }
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
+
1789
1453
  declare class DataTableBlockComponent {
1790
- props: Record<string, unknown>;
1791
- binding: ResolvedBinding | null;
1792
- get columns(): string[];
1793
- get rows(): Array<Record<string, unknown>>;
1794
- get stateKey(): string;
1795
- cell(row: Record<string, unknown>, col: string): string;
1796
- static ɵfac: i0.ɵɵFactoryDeclaration<DataTableBlockComponent, never>;
1797
- static ɵcmp: i0.ɵɵComponentDeclaration<DataTableBlockComponent, "pw-data-table-block", never, {
1798
- "props": {
1799
- "alias": "props";
1800
- "required": false;
1801
- };
1802
- "binding": {
1803
- "alias": "binding";
1804
- "required": false;
1805
- };
1806
- }, {}, never, never, false, never>;
1807
- }
1808
- declare namespace chart_block_component_d_exports {
1809
- export { ChartBlockComponent };
1810
- }
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
+
1811
1464
  declare class ChartBlockComponent {
1812
- props: Record<string, unknown>;
1813
- binding: ResolvedBinding | null;
1814
- get title(): string;
1815
- static ɵfac: i0.ɵɵFactoryDeclaration<ChartBlockComponent, never>;
1816
- static ɵcmp: i0.ɵɵComponentDeclaration<ChartBlockComponent, "pw-chart-block", never, {
1817
- "props": {
1818
- "alias": "props";
1819
- "required": false;
1820
- };
1821
- "binding": {
1822
- "alias": "binding";
1823
- "required": false;
1824
- };
1825
- }, {}, never, never, false, never>;
1826
- }
1827
- declare namespace no_data_component_d_exports {
1828
- export { NoDataComponent };
1829
- }
1830
- export declare class NoDataComponent implements AfterContentInit {
1831
- content: {
1832
- nativeElement: {
1833
- innerHTML: string;
1834
- };
1835
- };
1836
- message: string | null;
1837
- description: string | null;
1838
- withImage: boolean;
1839
- isContentEmpty: boolean;
1840
- ngAfterContentInit(): void;
1841
- static ɵfac: i0.ɵɵFactoryDeclaration<NoDataComponent, never>;
1842
- static ɵcmp: i0.ɵɵComponentDeclaration<NoDataComponent, "pw-no-data", never, {
1843
- "message": {
1844
- "alias": "message";
1845
- "required": false;
1846
- };
1847
- "description": {
1848
- "alias": "description";
1849
- "required": false;
1850
- };
1851
- "withImage": {
1852
- "alias": "withImage";
1853
- "required": false;
1854
- };
1855
- }, {}, ["content"], ["*"], false, never>;
1856
- }
1857
- declare namespace input_container_component_d_exports {
1858
- export { InputContainerComponent };
1859
- }
1860
- export declare class InputContainerComponent implements OnInit {
1861
- private readonly controlContainer;
1862
- control: AbstractControl;
1863
- name: string;
1864
- /** Id of the form control; used as the label's `for` attribute for accessibility. When not set, falls back to `name`. */
1865
- controlId: string;
1866
- /** When true, label gets id="{{ controlId }}-label" but no `for`; use with aria-labelledby on the control (e.g. quill-editor). */
1867
- useAriaLabelledbyOnly: boolean;
1868
- label: string;
1869
- labelClass: string;
1870
- tooltipPosition: string;
1871
- required: boolean;
1872
- errorMsg: string;
1873
- isReadOnly: boolean;
1874
- showTooltip: boolean;
1875
- tooltipText: string;
1876
- showTriangle: boolean;
1877
- afterLabel: string;
1878
- showAfterLabel: boolean;
1879
- showTriangleText: string;
1880
- isLeftTooltip: boolean;
1881
- constructor(controlContainer: ControlContainer);
1882
- ngOnInit(): void;
1883
- static ɵfac: i0.ɵɵFactoryDeclaration<InputContainerComponent, [{
1884
- optional: true;
1885
- host: true;
1886
- skipSelf: true;
1887
- }]>;
1888
- static ɵcmp: i0.ɵɵComponentDeclaration<InputContainerComponent, "pw-input-container", never, {
1889
- "name": {
1890
- "alias": "name";
1891
- "required": false;
1892
- };
1893
- "controlId": {
1894
- "alias": "controlId";
1895
- "required": false;
1896
- };
1897
- "useAriaLabelledbyOnly": {
1898
- "alias": "useAriaLabelledbyOnly";
1899
- "required": false;
1900
- };
1901
- "label": {
1902
- "alias": "label";
1903
- "required": false;
1904
- };
1905
- "labelClass": {
1906
- "alias": "labelClass";
1907
- "required": false;
1908
- };
1909
- "tooltipPosition": {
1910
- "alias": "tooltipPosition";
1911
- "required": false;
1912
- };
1913
- "required": {
1914
- "alias": "required";
1915
- "required": false;
1916
- };
1917
- "errorMsg": {
1918
- "alias": "errorMsg";
1919
- "required": false;
1920
- };
1921
- "isReadOnly": {
1922
- "alias": "isReadOnly";
1923
- "required": false;
1924
- };
1925
- "showTooltip": {
1926
- "alias": "showTooltip";
1927
- "required": false;
1928
- };
1929
- "tooltipText": {
1930
- "alias": "tooltipText";
1931
- "required": false;
1932
- };
1933
- "showTriangle": {
1934
- "alias": "showTriangle";
1935
- "required": false;
1936
- };
1937
- "afterLabel": {
1938
- "alias": "afterLabel";
1939
- "required": false;
1940
- };
1941
- "showAfterLabel": {
1942
- "alias": "showAfterLabel";
1943
- "required": false;
1944
- };
1945
- "showTriangleText": {
1946
- "alias": "showTriangleText";
1947
- "required": false;
1948
- };
1949
- "isLeftTooltip": {
1950
- "alias": "isLeftTooltip";
1951
- "required": false;
1952
- };
1953
- }, {}, never, ["*"], false, never>;
1954
- }
1955
- declare namespace completion_bar_component_d_exports {
1956
- export { CompletionBarComponent, CompletionTier };
1957
- }
1958
- export type CompletionTier = 'low' | 'mid' | 'high';
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';
1959
1515
  /**
1960
1516
  * Generic, presentational segmented completion/progress bar.
1961
1517
  *
@@ -1964,70 +1520,35 @@ export type CompletionTier = 'low' | 'mid' | 'high';
1964
1520
  * semantic token maps — never the tenant accent (design-system: accent-agnostic).
1965
1521
  * Reusable anywhere via `@posiwise/shared-components`.
1966
1522
  */
1967
- export declare class CompletionBarComponent {
1968
- segments: number;
1969
- showLabel: boolean;
1970
- /** Optional label override; defaults to the rounded percentage. */
1971
- label: string | null;
1972
- /** Optional aria-label override; defaults to the visible label. */
1973
- ariaLabel: string | null;
1974
- /**
1975
- * Optional explanatory tooltip (e.g. "what's missing to reach 100%").
1976
- * Rendered as a body-level portal (C18); no tooltip when null/empty.
1977
- */
1978
- tooltip: string | null;
1979
- /** `value` below this is the low tier. */
1980
- lowThreshold: number;
1981
- /** `value` at/above this is the high tier. */
1982
- highThreshold: number;
1983
- private internalValue;
1984
- /** Completion as a 0–100 percentage. Out-of-range inputs are clamped. */
1985
- set value(v: number);
1986
- get value(): number;
1987
- get clampedValue(): number;
1988
- get filledCount(): number;
1989
- get segmentIndexes(): number[];
1990
- get tier(): CompletionTier;
1991
- get displayLabel(): string;
1992
- static ɵfac: i0.ɵɵFactoryDeclaration<CompletionBarComponent, never>;
1993
- static ɵcmp: i0.ɵɵComponentDeclaration<CompletionBarComponent, "pw-completion-bar", never, {
1994
- "segments": {
1995
- "alias": "segments";
1996
- "required": false;
1997
- };
1998
- "showLabel": {
1999
- "alias": "showLabel";
2000
- "required": false;
2001
- };
2002
- "label": {
2003
- "alias": "label";
2004
- "required": false;
2005
- };
2006
- "ariaLabel": {
2007
- "alias": "ariaLabel";
2008
- "required": false;
2009
- };
2010
- "tooltip": {
2011
- "alias": "tooltip";
2012
- "required": false;
2013
- };
2014
- "lowThreshold": {
2015
- "alias": "lowThreshold";
2016
- "required": false;
2017
- };
2018
- "highThreshold": {
2019
- "alias": "highThreshold";
2020
- "required": false;
2021
- };
2022
- "value": {
2023
- "alias": "value";
2024
- "required": false;
2025
- };
2026
- }, {}, never, never, false, never>;
2027
- }
2028
- declare namespace records_summary_component_d_exports {
2029
- export { RecordsSummaryComponent };
2030
- }
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
+
2031
1552
  /**
2032
1553
  * Shared table-footer "Showing X of Y items" summary.
2033
1554
  *
@@ -2040,34 +1561,21 @@ declare namespace records_summary_component_d_exports {
2040
1561
  * Usage:
2041
1562
  * <pw-records-summary [showing]="dt?.value?.length ?? 0" [total]="totalRecords" />
2042
1563
  */
2043
- export declare class RecordsSummaryComponent {
2044
- /** Number of rows currently rendered (e.g. `dt?.value?.length`). */
2045
- showing: number | null;
2046
- /** Total number of records across all pages. */
2047
- total: number | null;
2048
- static ɵfac: i0.ɵɵFactoryDeclaration<RecordsSummaryComponent, never>;
2049
- static ɵcmp: i0.ɵɵComponentDeclaration<RecordsSummaryComponent, "pw-records-summary", never, {
2050
- "showing": {
2051
- "alias": "showing";
2052
- "required": false;
2053
- };
2054
- "total": {
2055
- "alias": "total";
2056
- "required": false;
2057
- };
2058
- }, {}, never, never, false, never>;
2059
- }
2060
- declare namespace resource_shared_components_module_d_exports {
2061
- export { ResourceSharedComponentsModule };
2062
- }
2063
- export declare class ResourceSharedComponentsModule {
2064
- static ɵfac: i0.ɵɵFactoryDeclaration<ResourceSharedComponentsModule, never>;
2065
- 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]>;
2066
- static ɵinj: i0.ɵɵInjectorDeclaration<ResourceSharedComponentsModule>;
2067
- }
2068
- declare namespace collapsible_sidebar_trigger_directive_d_exports {
2069
- export { CollapsibleSidebarTriggerDirective };
2070
- }
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
+
2071
1579
  /**
2072
1580
  * pwCollapsibleSidebarTrigger
2073
1581
  *
@@ -2081,101 +1589,51 @@ declare namespace collapsible_sidebar_trigger_directive_d_exports {
2081
1589
  * </button>
2082
1590
  * ```
2083
1591
  */
2084
- export declare class CollapsibleSidebarTriggerDirective {
2085
- private readonly sidebarService;
2086
- /**
2087
- * The ID of the sidebar content to load when this trigger is clicked
2088
- */
2089
- contentId: string;
2090
- /**
2091
- * Optional tooltip text shown on hover
2092
- */
2093
- tooltipText: string;
2094
- constructor(sidebarService: CollapsibleSidebarService);
2095
- /**
2096
- * Handle click event to load sidebar content
2097
- */
2098
- onClick(event: MouseEvent): void;
2099
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarTriggerDirective, never>;
2100
- static ɵdir: i0.ɵɵDirectiveDeclaration<CollapsibleSidebarTriggerDirective, "[pwCollapsibleSidebarTrigger]", never, {
2101
- "contentId": {
2102
- "alias": "contentId";
2103
- "required": false;
2104
- };
2105
- "tooltipText": {
2106
- "alias": "tooltipText";
2107
- "required": false;
2108
- };
2109
- }, {}, never, never, true, never>;
2110
- }
2111
- declare namespace pw_cookie_banner_component_d_exports {
2112
- export { PwCookieBannerComponent };
2113
- }
2114
- export declare class PwCookieBannerComponent implements OnInit {
2115
- private readonly document;
2116
- title: string;
2117
- message: string;
2118
- acceptLabel: string;
2119
- privacyLinkLabel: string;
2120
- privacyLinkUrl: string | null;
2121
- tosId: number | string | null;
2122
- privacyFallbackUrl: string;
2123
- cookieKey: string;
2124
- cookieTtlDays: number;
2125
- visible: boolean;
2126
- leaving: boolean;
2127
- readonly role = "region";
2128
- readonly ariaLabel = "Cookie preferences";
2129
- constructor(document: Document);
2130
- ngOnInit(): void;
2131
- get resolvedPrivacyUrl(): string;
2132
- accept(): void;
2133
- private animateOut;
2134
- private hasConsentCookie;
2135
- private setConsentCookie;
2136
- static ɵfac: i0.ɵɵFactoryDeclaration<PwCookieBannerComponent, never>;
2137
- static ɵcmp: i0.ɵɵComponentDeclaration<PwCookieBannerComponent, "pw-cookie-banner", never, {
2138
- "title": {
2139
- "alias": "title";
2140
- "required": false;
2141
- };
2142
- "message": {
2143
- "alias": "message";
2144
- "required": false;
2145
- };
2146
- "acceptLabel": {
2147
- "alias": "acceptLabel";
2148
- "required": false;
2149
- };
2150
- "privacyLinkLabel": {
2151
- "alias": "privacyLinkLabel";
2152
- "required": false;
2153
- };
2154
- "privacyLinkUrl": {
2155
- "alias": "privacyLinkUrl";
2156
- "required": false;
2157
- };
2158
- "tosId": {
2159
- "alias": "tosId";
2160
- "required": false;
2161
- };
2162
- "privacyFallbackUrl": {
2163
- "alias": "privacyFallbackUrl";
2164
- "required": false;
2165
- };
2166
- "cookieKey": {
2167
- "alias": "cookieKey";
2168
- "required": false;
2169
- };
2170
- "cookieTtlDays": {
2171
- "alias": "cookieTtlDays";
2172
- "required": false;
2173
- };
2174
- }, {}, never, never, true, never>;
2175
- }
2176
- declare namespace pw_brain_chat_safe_markdown_pipe_d_exports {
2177
- export { SafeMarkdownPipe };
2178
- }
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
+
2179
1637
  /**
2180
1638
  * Converts a Brain assistant message string (containing a safe subset of
2181
1639
  * Markdown) into an HTML string suitable for `[innerHTML]` binding.
@@ -2203,28 +1661,26 @@ declare namespace pw_brain_chat_safe_markdown_pipe_d_exports {
2203
1661
  * config resolves at app boot, long before a chat bubble renders.
2204
1662
  */
2205
1663
  declare class SafeMarkdownPipe implements PipeTransform, OnDestroy {
2206
- private readonly navigationIndex;
2207
- private baseUrl;
2208
- private readonly configSub;
2209
- constructor(navigationIndex: NavigationIndexService, appConfigService: AppConfigService);
2210
- ngOnDestroy(): void;
2211
- transform(text: string): string;
2212
- /**
2213
- * Every page the palette can reach, used to correct a path the model got
2214
- * nearly right. An unknown path is left alone, never suppressed.
2215
- */
2216
- private knownPaths;
2217
- /**
2218
- * Slug the router scopes dashboard pages under (`:slug/faq/:id`). Read per
2219
- * call rather than cached: the user can switch subscription mid-session.
2220
- */
2221
- private subscriptionSlug;
2222
- static ɵfac: i0.ɵɵFactoryDeclaration<SafeMarkdownPipe, never>;
2223
- static ɵpipe: i0.ɵɵPipeDeclaration<SafeMarkdownPipe, "safeMarkdown", true>;
2224
- }
2225
- declare namespace pw_brain_chat_thread_directive_d_exports {
2226
- export { PwBrainChatThreadDirective };
2227
- }
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
+
2228
1684
  /**
2229
1685
  * Intercepts clicks on `<a>` elements rendered inside assistant markdown
2230
1686
  * bubbles. Internal paths (e.g. /account/details) are routed via Angular's
@@ -2235,17 +1691,19 @@ declare namespace pw_brain_chat_thread_directive_d_exports {
2235
1691
  * Applied via the `pwBrainChatThread` attribute on the chat thread div.
2236
1692
  */
2237
1693
  declare class PwBrainChatThreadDirective {
2238
- private readonly router;
2239
- constructor(router: Router);
2240
- onClick(event: MouseEvent): void;
2241
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatThreadDirective, never>;
2242
- static ɵdir: i0.ɵɵDirectiveDeclaration<PwBrainChatThreadDirective, "[pwBrainChatThread]", never, {}, {}, never, never, true, never>;
2243
- }
2244
- export declare class SharedComponentsModule {
2245
- static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
2246
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof CommandPaletteComponent, typeof ConfirmDialogComponent, typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof PwBrainChatComponent, typeof PwBrainChatConfirmComponent, typeof PwBrainChatWelcomeComponent, typeof PwBrainChatVoiceOverlayComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof SectionHeadingBlockComponent, typeof DividerBlockComponent, typeof StatCardBlockComponent, typeof DataTableBlockComponent, typeof ChartBlockComponent], [typeof i6.FormsModule, typeof i7.AppLoaderModule, typeof i6.ReactiveFormsModule, typeof i9.DirectivesModule, typeof i8.CoreTranslocoModule, typeof i35.RouterModule, typeof i11.NgbTooltipModule, typeof i12.TooltipModule, typeof i11.NgbNavModule, typeof i11.NgbModalModule, typeof i38.TableModule, typeof i39.TabsModule, typeof i10.ButtonModule, typeof i41.SelectModule, typeof i42.MultiSelectModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i45.ImageCropperComponent, typeof i46.UiSwitchModule, typeof i47.NgxDaterangepickerMd, typeof i48.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 i38.TableModule, typeof i39.TabsModule, typeof i10.ButtonModule, typeof i41.SelectModule, typeof i42.MultiSelectModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i45.ImageCropperComponent, typeof i46.UiSwitchModule, typeof i47.NgxDaterangepickerMd, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof CollapsibleSidebarTriggerDirective, typeof PwBrainChatComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof i16.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule]>;
2247
- static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
2248
- }
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
+
2249
1707
  /**
2250
1708
  * CollapsibleSidebarSuperAdminGuard
2251
1709
  *
@@ -2267,33 +1725,36 @@ export declare class SharedComponentsModule {
2267
1725
  * canAccessSidebar$ = this.guard.canAccessSidebar$;
2268
1726
  * ```
2269
1727
  */
2270
- export declare class CollapsibleSidebarSuperAdminGuard {
2271
- private readonly userService;
2272
- private readonly permissionService;
2273
- /**
2274
- * Emits true when the signed-in user has {@link PermissionService.isSuperAdmin}.
2275
- * UX-only; backend must still enforce permissions.
2276
- */
2277
- readonly canAccessSidebar$: import("rxjs").Observable<boolean>;
2278
- constructor(userService: UserService, permissionService: PermissionService);
2279
- /**
2280
- * Same rule as {@link PermissionService#isSuperAdmin}, safe when user is not loaded.
2281
- */
2282
- canAccessSidebar(): boolean;
2283
- private static userIsSuperAdmin;
2284
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarSuperAdminGuard, never>;
2285
- static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2286
- }
2287
- export declare class UiLayoutService {
2288
- private readonly api;
2289
- constructor(api: MainApiHttpService);
2290
- getLayout(subscriptionId: number, pageKey: string): Observable<UiLayoutResponse>;
2291
- static ɵfac: i0.ɵɵFactoryDeclaration<UiLayoutService, never>;
2292
- static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2293
- }
2294
- export declare const COMPONENT_REGISTRY: Readonly<Record<string, Type<unknown>>>;
2295
- export declare function registeredType(type: string): Type<unknown> | null;
2296
- export declare function registeredTypeNames(): string[];
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
+
2297
1758
  /**
2298
1759
  * Which product API to POST bytes to, keyed by the service name the tool
2299
1760
  * catalog reports (e.g. `'cloudolive-api'`, `'main-api'`).
@@ -2309,5 +1770,7 @@ export declare function registeredTypeNames(): string[];
2309
1770
  * A service the map doesn't cover is simply not offered: the affordance is
2310
1771
  * hidden rather than advertised-then-broken.
2311
1772
  */
2312
- export declare const BRAIN_CHAT_UPLOAD_APIS: InjectionToken<Record<string, BaseHttpService>>;
2313
- export type { ChatMessage, ChatMessageRole, NavEntry, PendingConfirmation };
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 };