@posiwise/shared-components 0.0.204 → 0.0.206
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,189 +1,184 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import * as i35 from
|
|
4
|
-
import { Router } from
|
|
5
|
-
import { AppConfigService } from
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
import * as
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import * as
|
|
24
|
-
import
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
27
|
-
import * as
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
32
|
-
import * as
|
|
33
|
-
import * as
|
|
34
|
-
import * as
|
|
35
|
-
import * as
|
|
36
|
-
import * as
|
|
37
|
-
import * as
|
|
38
|
-
import * as
|
|
39
|
-
import * as
|
|
40
|
-
import * as i16 from '@posiwise/utils';
|
|
41
|
-
import * as i15 from '@angular/cdk/drag-drop';
|
|
42
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, Injector, OnChanges, OnDestroy, OnInit, PipeTransform, SimpleChanges, TemplateRef, Type, ViewContainerRef } from "@angular/core";
|
|
3
|
+
import * as 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";
|
|
43
40
|
/**
|
|
44
41
|
* A compact icon action rendered in the sidebar header row (before the close
|
|
45
42
|
* button). `id` MUST match a public method name on the mounted panel component
|
|
46
43
|
* — the shell invokes `componentRef.instance[id]()` when the action is clicked.
|
|
47
44
|
*/
|
|
48
|
-
interface SidebarHeaderAction {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
45
|
+
export interface SidebarHeaderAction {
|
|
46
|
+
/** Method name to invoke on the mounted panel instance (e.g. 'newChat'). */
|
|
47
|
+
id: string;
|
|
48
|
+
/** Fontawesome class string, e.g. 'fas fa-plus'. */
|
|
49
|
+
icon: string;
|
|
50
|
+
/** Accessible label + native tooltip. */
|
|
51
|
+
ariaLabel: string;
|
|
55
52
|
}
|
|
56
53
|
/**
|
|
57
54
|
* Interface for sidebar content that modules can provide
|
|
58
55
|
*/
|
|
59
|
-
interface SidebarContent {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
56
|
+
export interface SidebarContent {
|
|
57
|
+
/**
|
|
58
|
+
* Unique identifier for this sidebar content
|
|
59
|
+
*/
|
|
60
|
+
id: string;
|
|
61
|
+
/**
|
|
62
|
+
* Title/label for the sidebar section
|
|
63
|
+
*/
|
|
64
|
+
title: string;
|
|
65
|
+
/**
|
|
66
|
+
* Component type to render in the sidebar
|
|
67
|
+
*/
|
|
68
|
+
component: Type<any>;
|
|
69
|
+
/**
|
|
70
|
+
* Input data to pass to the component
|
|
71
|
+
*/
|
|
72
|
+
data?: any;
|
|
73
|
+
/**
|
|
74
|
+
* Optional icon class (e.g., 'pi pi-cog' for PrimeNG icons)
|
|
75
|
+
*/
|
|
76
|
+
icon?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Tooltip text shown on hover
|
|
79
|
+
*/
|
|
80
|
+
tooltip?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Optional compact status shown inline after the title in the header row
|
|
83
|
+
* (leading green dot). Costs no extra vertical space. e.g. the Brain panel's
|
|
84
|
+
* 'Connected · long-term memory on'. Panels that omit it render title-only.
|
|
85
|
+
*/
|
|
86
|
+
status?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Optional compact icon actions rendered in the header row before the close
|
|
89
|
+
* button (e.g. the Brain panel's 'New chat'). Each action's `id` is invoked
|
|
90
|
+
* as a method on the mounted panel instance.
|
|
91
|
+
*/
|
|
92
|
+
headerActions?: SidebarHeaderAction[];
|
|
93
|
+
/**
|
|
94
|
+
* When true, the shell renders a soft "Beta" pill next to the title —
|
|
95
|
+
* signalling the panel is an experimental feature (e.g. the Brain chat).
|
|
96
|
+
* Generic flag; any panel may opt in. The label is i18n'd in the shell
|
|
97
|
+
* template ('BrainChat.Badge.Beta').
|
|
98
|
+
*/
|
|
99
|
+
beta?: boolean;
|
|
100
|
+
}
|
|
105
101
|
/**
|
|
106
102
|
* CollapsibleSidebarService manages dynamic sidebar content
|
|
107
103
|
*
|
|
108
104
|
* This service allows any module to register, update, or remove sidebar content.
|
|
109
105
|
* It uses observables to notify components of state changes.
|
|
110
106
|
*/
|
|
111
|
-
declare class CollapsibleSidebarService {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
|
|
107
|
+
export declare class CollapsibleSidebarService {
|
|
108
|
+
private readonly sidebarContentMap;
|
|
109
|
+
private readonly sidebarExpandedSubject;
|
|
110
|
+
private readonly sidebarContentSubject;
|
|
111
|
+
private readonly activeContentIdSubject;
|
|
112
|
+
/**
|
|
113
|
+
* Observable for sidebar expanded/collapsed state
|
|
114
|
+
*/
|
|
115
|
+
sidebarExpanded$: Observable<boolean>;
|
|
116
|
+
/**
|
|
117
|
+
* Observable for current sidebar content
|
|
118
|
+
*/
|
|
119
|
+
sidebarContent$: Observable<SidebarContent | null>;
|
|
120
|
+
/**
|
|
121
|
+
* Observable for currently active content ID
|
|
122
|
+
*/
|
|
123
|
+
activeContentId$: Observable<string | null>;
|
|
124
|
+
/**
|
|
125
|
+
* Register sidebar content that can be triggered by a module
|
|
126
|
+
* @param content - The sidebar content configuration
|
|
127
|
+
*/
|
|
128
|
+
registerContent(content: SidebarContent): void;
|
|
129
|
+
/**
|
|
130
|
+
* Unregister sidebar content
|
|
131
|
+
* @param contentId - The ID of the content to remove
|
|
132
|
+
*/
|
|
133
|
+
unregisterContent(contentId: string): void;
|
|
134
|
+
/**
|
|
135
|
+
* Load and display sidebar content by ID
|
|
136
|
+
* @param contentId - The ID of the content to load
|
|
137
|
+
*/
|
|
138
|
+
loadContent(contentId: string): void;
|
|
139
|
+
/**
|
|
140
|
+
* Load a panel and seed it with one-shot inputs.
|
|
141
|
+
*
|
|
142
|
+
* The host re-mounts the panel component on every load and `Object.assign`s
|
|
143
|
+
* `content.data` onto the fresh instance, so this is how a caller opens a
|
|
144
|
+
* panel in a particular starting state — e.g. the command palette opening
|
|
145
|
+
* the Brain panel with the user's typed query already in the composer.
|
|
146
|
+
*
|
|
147
|
+
* @param contentId - The ID of the content to load
|
|
148
|
+
* @param data - Fields copied onto the newly mounted panel instance
|
|
149
|
+
*/
|
|
150
|
+
loadContentWithData(contentId: string, data: Record<string, unknown>): void;
|
|
151
|
+
/**
|
|
152
|
+
* Toggle sidebar expanded/collapsed state
|
|
153
|
+
*/
|
|
154
|
+
toggleSidebar(): void;
|
|
155
|
+
/**
|
|
156
|
+
* Expand the sidebar
|
|
157
|
+
*/
|
|
158
|
+
expandSidebar(): void;
|
|
159
|
+
/**
|
|
160
|
+
* Collapse the sidebar
|
|
161
|
+
*/
|
|
162
|
+
collapseSidebar(): void;
|
|
163
|
+
/**
|
|
164
|
+
* Get current expanded state synchronously
|
|
165
|
+
*/
|
|
166
|
+
isExpanded(): boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Get currently active content ID synchronously
|
|
169
|
+
*/
|
|
170
|
+
getActiveContentId(): string | null;
|
|
171
|
+
/**
|
|
172
|
+
* Get all registered content IDs
|
|
173
|
+
*/
|
|
174
|
+
getRegisteredContentIds(): string[];
|
|
175
|
+
/**
|
|
176
|
+
* Clear all sidebar content and collapse
|
|
177
|
+
*/
|
|
178
|
+
clearAll(): void;
|
|
179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarService, never>;
|
|
180
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
181
|
+
}
|
|
187
182
|
/**
|
|
188
183
|
* What activating a palette row does:
|
|
189
184
|
* - `page` → router navigation to `path`
|
|
@@ -191,54 +186,53 @@ declare class CollapsibleSidebarService {
|
|
|
191
186
|
* - `action` → run a named command (see `PaletteActionId`)
|
|
192
187
|
* - `ask-ai` → hand the typed query to the PosiWise Brain panel
|
|
193
188
|
*/
|
|
194
|
-
type PaletteItemKind = 'page' | 'person' | 'action' | 'ask-ai';
|
|
189
|
+
export type PaletteItemKind = 'page' | 'person' | 'action' | 'ask-ai';
|
|
195
190
|
/**
|
|
196
191
|
* Commands the palette can run itself, for the things a user repeats that are not
|
|
197
192
|
* a destination. Kept to a closed union so a row can never carry an arbitrary
|
|
198
193
|
* callback across the source boundary.
|
|
199
194
|
*/
|
|
200
|
-
type PaletteActionId = 'copy-link' | 'log-out';
|
|
201
|
-
interface PaletteItem {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
interface PaletteGroup {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
195
|
+
export type PaletteActionId = 'copy-link' | 'log-out';
|
|
196
|
+
export interface PaletteItem {
|
|
197
|
+
/** Stable within a render pass; used for trackBy and active-row identity. */
|
|
198
|
+
id: string;
|
|
199
|
+
kind: PaletteItemKind;
|
|
200
|
+
/** Already-resolved display text (menu titles and names are not i18n'd). */
|
|
201
|
+
label: string;
|
|
202
|
+
/** Secondary context line — breadcrumb section, or a person's email. */
|
|
203
|
+
detail: string;
|
|
204
|
+
icon: string;
|
|
205
|
+
/** Present for `page` and `person`; absent for `ask-ai`. */
|
|
206
|
+
path?: string;
|
|
207
|
+
/**
|
|
208
|
+
* The source nav entry for a `page`. Carried through so activation can ask
|
|
209
|
+
* the index whether opening it needs a subscription-context switch first.
|
|
210
|
+
*/
|
|
211
|
+
entry?: NavEntry;
|
|
212
|
+
/**
|
|
213
|
+
* i18n key for rows whose label is chrome rather than data (actions).
|
|
214
|
+
*
|
|
215
|
+
* `label` still holds the resolved text so ranking can match what the user
|
|
216
|
+
* reads; the key is kept so the template renders the translation rather than
|
|
217
|
+
* a string frozen at build time.
|
|
218
|
+
*/
|
|
219
|
+
labelKey?: string;
|
|
220
|
+
/** Present for `action` rows only. */
|
|
221
|
+
action?: PaletteActionId;
|
|
222
|
+
}
|
|
223
|
+
export interface PaletteGroup {
|
|
224
|
+
/** i18n key for the group heading — the chrome IS translated (C17). */
|
|
225
|
+
labelKey: string;
|
|
226
|
+
items: PaletteItem[];
|
|
232
227
|
}
|
|
233
228
|
/** A user as returned by `DashboardService.search` — only the fields we render. */
|
|
234
|
-
interface PalettePerson {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
}
|
|
241
|
-
|
|
229
|
+
export interface PalettePerson {
|
|
230
|
+
id?: number;
|
|
231
|
+
first_name?: string;
|
|
232
|
+
last_name?: string;
|
|
233
|
+
email?: string;
|
|
234
|
+
slug?: string;
|
|
235
|
+
}
|
|
242
236
|
/**
|
|
243
237
|
* Open/close state for the global command palette.
|
|
244
238
|
*
|
|
@@ -246,427 +240,556 @@ interface PalettePerson {
|
|
|
246
240
|
* summon the palette — the navbar button, the ⌘K shortcut, an empty-state
|
|
247
241
|
* "find a page" link — without reaching for a component reference.
|
|
248
242
|
*/
|
|
249
|
-
declare class CommandPaletteService {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
243
|
+
export declare class CommandPaletteService {
|
|
244
|
+
private readonly openSubject;
|
|
245
|
+
isOpen$: Observable<boolean>;
|
|
246
|
+
open(): void;
|
|
247
|
+
close(): void;
|
|
248
|
+
toggle(): void;
|
|
249
|
+
isOpen(): boolean;
|
|
250
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandPaletteService, never>;
|
|
251
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
252
|
+
}
|
|
253
|
+
declare namespace command_palette_component_d_exports {
|
|
254
|
+
export { CommandPaletteComponent };
|
|
255
|
+
}
|
|
256
|
+
export declare class CommandPaletteComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
257
|
+
readonly palette: CommandPaletteService;
|
|
258
|
+
private readonly navIndex;
|
|
259
|
+
private readonly dashboard;
|
|
260
|
+
private readonly recents;
|
|
261
|
+
private readonly sidebar;
|
|
262
|
+
private readonly router;
|
|
263
|
+
private readonly transloco;
|
|
264
|
+
private readonly cdr;
|
|
265
|
+
private readonly appConfigService?;
|
|
266
|
+
private readonly toast?;
|
|
267
|
+
queryInput?: {
|
|
268
|
+
nativeElement: HTMLInputElement;
|
|
269
|
+
};
|
|
270
|
+
/** The native <dialog>; always in the DOM, so this handle stays valid. */
|
|
271
|
+
paletteDialog?: {
|
|
272
|
+
nativeElement: HTMLDialogElement;
|
|
273
|
+
};
|
|
274
|
+
isOpen: boolean;
|
|
275
|
+
query: string;
|
|
276
|
+
groups: PaletteGroup[];
|
|
277
|
+
brandName: string;
|
|
278
|
+
readonly shortcutHint: string;
|
|
279
|
+
private readonly cursor;
|
|
280
|
+
private flat;
|
|
281
|
+
private readonly queryChanges;
|
|
282
|
+
private readonly destroy$;
|
|
283
|
+
private people;
|
|
284
|
+
private releaseBackdrop;
|
|
285
|
+
constructor(palette: CommandPaletteService, navIndex: NavigationIndexService, dashboard: DashboardService, recents: RecentPagesService, sidebar: CollapsibleSidebarService, router: Router, transloco: TranslocoService, cdr: ChangeDetectorRef, appConfigService?: AppConfigService, toast?: CustomToastService);
|
|
286
|
+
ngOnInit(): void;
|
|
287
|
+
ngAfterViewInit(): void;
|
|
288
|
+
ngOnDestroy(): void;
|
|
289
|
+
/** A native close (Escape, or our own close()) mirrored back onto the service. */
|
|
290
|
+
onDialogClose(): void;
|
|
291
|
+
/** ⌘K / Ctrl-K opens from anywhere; Escape closes. */
|
|
292
|
+
onDocumentKeydown(event: KeyboardEvent): void;
|
|
293
|
+
onQueryInput(value: string): void;
|
|
294
|
+
onKeydown(event: KeyboardEvent): void;
|
|
295
|
+
activate(item?: PaletteItem): void;
|
|
296
|
+
isActive(item: PaletteItem): boolean;
|
|
297
|
+
private activateDeps;
|
|
298
|
+
private rebuild;
|
|
299
|
+
private reset;
|
|
300
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandPaletteComponent, [null, null, null, null, null, null, null, null, {
|
|
301
|
+
optional: true;
|
|
302
|
+
}, {
|
|
303
|
+
optional: true;
|
|
304
|
+
}]>;
|
|
305
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommandPaletteComponent, "pw-command-palette", never, {}, {}, never, never, false, never>;
|
|
306
|
+
}
|
|
307
|
+
export type ConfirmDialogTone = 'destructive' | 'neutral' | 'info';
|
|
308
|
+
export interface ConfirmDialogConfig {
|
|
309
|
+
titleKey?: string;
|
|
310
|
+
title?: string;
|
|
311
|
+
titleParams?: Record<string, unknown>;
|
|
312
|
+
textKey?: string;
|
|
313
|
+
text?: string;
|
|
314
|
+
textParams?: Record<string, unknown>;
|
|
315
|
+
destructive?: boolean;
|
|
316
|
+
confirmOnly?: boolean;
|
|
317
|
+
confirmLabelKey?: string;
|
|
318
|
+
confirmLabel?: string;
|
|
319
|
+
cancelLabelKey?: string;
|
|
320
|
+
cancelLabel?: string;
|
|
321
|
+
icon?: string;
|
|
322
|
+
tone?: ConfirmDialogTone;
|
|
323
|
+
}
|
|
324
|
+
declare namespace confirm_dialog_component_d_exports {
|
|
325
|
+
export { ConfirmDialogComponent };
|
|
326
|
+
}
|
|
327
|
+
export declare class ConfirmDialogComponent {
|
|
328
|
+
readonly modal: NgbActiveModal;
|
|
329
|
+
config: ConfirmDialogConfig;
|
|
330
|
+
constructor(modal: NgbActiveModal);
|
|
331
|
+
get tone(): ConfirmDialogTone;
|
|
332
|
+
get iconClass(): string;
|
|
333
|
+
get titleKey(): string | null;
|
|
334
|
+
get titleRaw(): string;
|
|
335
|
+
get titleParams(): Record<string, unknown>;
|
|
336
|
+
get textKey(): string | null;
|
|
337
|
+
get textRaw(): string;
|
|
338
|
+
get textParams(): Record<string, unknown>;
|
|
339
|
+
get confirmLabelKey(): string;
|
|
340
|
+
get confirmLabel(): string;
|
|
341
|
+
get cancelLabelKey(): string;
|
|
342
|
+
get cancelLabel(): string;
|
|
343
|
+
get confirmButtonClass(): string;
|
|
344
|
+
confirm(): void;
|
|
345
|
+
cancel(): void;
|
|
346
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
|
|
347
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "pw-confirm-dialog", never, {
|
|
348
|
+
"config": {
|
|
349
|
+
"alias": "config";
|
|
350
|
+
"required": false;
|
|
353
351
|
};
|
|
352
|
+
}, {}, never, never, false, never>;
|
|
353
|
+
}
|
|
354
|
+
interface SharedModalContext {
|
|
355
|
+
modal: {
|
|
356
|
+
dismiss: () => void;
|
|
357
|
+
close: () => void;
|
|
358
|
+
};
|
|
354
359
|
}
|
|
355
360
|
interface EnrolledUser {
|
|
356
|
-
|
|
357
|
-
|
|
361
|
+
is_owner: boolean;
|
|
362
|
+
id: number;
|
|
363
|
+
}
|
|
364
|
+
interface GroupDefinition {
|
|
365
|
+
description: string;
|
|
366
|
+
name: string;
|
|
358
367
|
}
|
|
359
368
|
interface Group {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
369
|
+
id?: number;
|
|
370
|
+
name?: string;
|
|
371
|
+
description?: string;
|
|
372
|
+
group_definition_id?: number;
|
|
373
|
+
group_definition_name: string;
|
|
365
374
|
}
|
|
366
375
|
interface Permission {
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
376
|
+
name: string;
|
|
377
|
+
parentName?: string;
|
|
378
|
+
displayName: string;
|
|
370
379
|
}
|
|
371
380
|
interface PermissionTreeData {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
declare class
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
381
|
+
permissions: Permission[];
|
|
382
|
+
grantedPermissionNames: string[];
|
|
383
|
+
}
|
|
384
|
+
interface JQuery {
|
|
385
|
+
jstree(method: string, ...args: object[]): object;
|
|
386
|
+
jstree(options: object): object;
|
|
387
|
+
}
|
|
388
|
+
declare namespace password_validation_component_d_exports {
|
|
389
|
+
export { PasswordValidationComponent };
|
|
390
|
+
}
|
|
391
|
+
export declare class PasswordValidationComponent extends AppBaseComponent {
|
|
392
|
+
private readonly modal;
|
|
393
|
+
private readonly cdr;
|
|
394
|
+
content: TemplateRef<SharedModalContext>;
|
|
395
|
+
passwordRef: ElementRef<HTMLInputElement>;
|
|
396
|
+
confirmMessage: string;
|
|
397
|
+
destructive: boolean;
|
|
398
|
+
successEvent: EventEmitter<boolean>;
|
|
399
|
+
password: string;
|
|
400
|
+
passwordVisible: boolean;
|
|
401
|
+
buttonBusy: boolean;
|
|
402
|
+
private modalRef;
|
|
403
|
+
constructor(injector: Injector, modal: NgbModal, cdr: ChangeDetectorRef);
|
|
404
|
+
get bodyMessage(): string;
|
|
405
|
+
open(): void;
|
|
406
|
+
validatePassword(): void;
|
|
407
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordValidationComponent, never>;
|
|
408
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordValidationComponent, "pw-password-validation", never, {
|
|
409
|
+
"confirmMessage": {
|
|
410
|
+
"alias": "confirmMessage";
|
|
411
|
+
"required": false;
|
|
412
|
+
};
|
|
413
|
+
"destructive": {
|
|
414
|
+
"alias": "destructive";
|
|
415
|
+
"required": false;
|
|
416
|
+
};
|
|
417
|
+
}, {
|
|
418
|
+
"successEvent": "successEvent";
|
|
419
|
+
}, never, ["*"], false, never>;
|
|
420
|
+
}
|
|
421
|
+
declare namespace pw_tabs_component_d_exports {
|
|
422
|
+
export { PwTabsComponent };
|
|
423
|
+
}
|
|
424
|
+
export declare class PwTabsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
425
|
+
private readonly cdr;
|
|
426
|
+
items: MenuItem[];
|
|
427
|
+
withSubscription: boolean;
|
|
428
|
+
/** Current tab value (route path) for p-tabs */
|
|
429
|
+
activeTabValue: string | number;
|
|
430
|
+
private routeEventSubscription;
|
|
431
|
+
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
432
|
+
ngOnInit(): void;
|
|
433
|
+
/** Arrow function so trackBy is called with correct `this` from template */
|
|
434
|
+
trackByItem: (_index: number, item: MenuItem) => string;
|
|
435
|
+
getItemValue(item: MenuItem): string;
|
|
436
|
+
onTabChange(value: string | number): void;
|
|
437
|
+
private updateActiveTab;
|
|
438
|
+
ngOnDestroy(): void;
|
|
439
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PwTabsComponent, never>;
|
|
440
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PwTabsComponent, "pw-tabs", never, {
|
|
441
|
+
"items": {
|
|
442
|
+
"alias": "items";
|
|
443
|
+
"required": false;
|
|
444
|
+
};
|
|
445
|
+
"withSubscription": {
|
|
446
|
+
"alias": "withSubscription";
|
|
447
|
+
"required": false;
|
|
448
|
+
};
|
|
449
|
+
}, {}, never, never, false, never>;
|
|
450
|
+
}
|
|
451
|
+
declare namespace date_range_picker_component_d_exports {
|
|
452
|
+
export { DateRangePickerComponent };
|
|
453
|
+
}
|
|
454
|
+
export declare class DateRangePickerComponent implements AfterViewInit {
|
|
455
|
+
pickerDirective: DaterangepickerDirective;
|
|
456
|
+
private initialized;
|
|
457
|
+
selectedDateRange: {
|
|
458
|
+
startDate: moment.Moment;
|
|
459
|
+
endDate: moment.Moment;
|
|
460
|
+
};
|
|
461
|
+
dateRanges: any;
|
|
462
|
+
/** Optional unique id for the input (for accessibility). Defaults to 'date-range-picker-input'. */
|
|
463
|
+
inputId: string;
|
|
464
|
+
dateRangeChange: EventEmitter<{
|
|
465
|
+
startDate: moment.Moment;
|
|
466
|
+
endDate: moment.Moment;
|
|
467
|
+
}>;
|
|
468
|
+
onDateRangeSelect(event: {
|
|
469
|
+
startDate: moment.Moment;
|
|
470
|
+
endDate: moment.Moment;
|
|
471
|
+
}): void;
|
|
472
|
+
ngAfterViewInit(): void;
|
|
473
|
+
onClearDate(): void;
|
|
474
|
+
openDatepicker(): void;
|
|
475
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
|
|
476
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "app-date-picker", never, {
|
|
477
|
+
"selectedDateRange": {
|
|
478
|
+
"alias": "selectedDateRange";
|
|
479
|
+
"required": false;
|
|
480
|
+
};
|
|
481
|
+
"dateRanges": {
|
|
482
|
+
"alias": "dateRanges";
|
|
483
|
+
"required": false;
|
|
484
|
+
};
|
|
485
|
+
"inputId": {
|
|
486
|
+
"alias": "inputId";
|
|
487
|
+
"required": false;
|
|
488
|
+
};
|
|
489
|
+
}, {
|
|
490
|
+
"dateRangeChange": "dateRangeChange";
|
|
491
|
+
}, never, never, false, never>;
|
|
492
|
+
}
|
|
493
|
+
declare namespace permission_tree_component_d_exports {
|
|
494
|
+
export { PermissionTreeComponent };
|
|
495
|
+
}
|
|
496
|
+
export declare class PermissionTreeComponent implements AfterViewInit, OnChanges {
|
|
497
|
+
private readonly _element;
|
|
498
|
+
data: PermissionTreeData;
|
|
499
|
+
private _$tree;
|
|
500
|
+
private _createdTreeBefore;
|
|
501
|
+
constructor(_element: ElementRef);
|
|
502
|
+
ngOnChanges(simple: SimpleChanges): void;
|
|
503
|
+
ngAfterViewInit(): void;
|
|
504
|
+
getGrantedPermissionNames(): string[];
|
|
505
|
+
private refreshTree;
|
|
506
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionTreeComponent, never>;
|
|
507
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionTreeComponent, "permission-tree", never, {
|
|
508
|
+
"data": {
|
|
509
|
+
"alias": "data";
|
|
510
|
+
"required": false;
|
|
511
|
+
};
|
|
512
|
+
}, {}, never, never, false, never>;
|
|
513
|
+
}
|
|
514
|
+
declare namespace privacy_and_tos_component_d_exports {
|
|
515
|
+
export { PrivacyAndTosComponent };
|
|
516
|
+
}
|
|
517
|
+
export declare class PrivacyAndTosComponent extends AppBaseComponent implements OnInit {
|
|
518
|
+
private readonly adminService;
|
|
519
|
+
private readonly document;
|
|
520
|
+
private readonly sanitizer;
|
|
521
|
+
private readonly cdr;
|
|
522
|
+
productId: number;
|
|
523
|
+
private privacyAndTos;
|
|
524
|
+
id: string;
|
|
525
|
+
data: {
|
|
526
|
+
privacy?: SafeHtml;
|
|
527
|
+
tos?: SafeHtml;
|
|
528
|
+
tos_updated_at?: string;
|
|
529
|
+
};
|
|
530
|
+
user: User;
|
|
531
|
+
subscribedSubscriptions: {
|
|
532
|
+
products: {
|
|
533
|
+
id: number;
|
|
524
534
|
}[];
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
535
|
+
}[];
|
|
536
|
+
product: string;
|
|
537
|
+
productName: string;
|
|
538
|
+
privacyServiceId: number;
|
|
539
|
+
readonly routers: {
|
|
540
|
+
globalConfigDetails: string;
|
|
541
|
+
adminCredentialsDetails: string;
|
|
542
|
+
subscriptionCredentialDetails: string;
|
|
543
|
+
newsletter: string;
|
|
544
|
+
mailerDetails: string;
|
|
545
|
+
newsletterItemDetails: string;
|
|
546
|
+
newsletterItemView: string;
|
|
547
|
+
newslettersUserList: string;
|
|
548
|
+
newsletterDetails: string;
|
|
549
|
+
permissionsList: string;
|
|
550
|
+
permissionsDetails: string;
|
|
551
|
+
rolesDetails: string;
|
|
552
|
+
productDetails: string;
|
|
553
|
+
productsUserList: string;
|
|
554
|
+
feedbackQuestions: string;
|
|
555
|
+
feedbackQuestionsDetails: string;
|
|
556
|
+
subscriptionDetails: string;
|
|
557
|
+
subscriptionProductDetails: string;
|
|
558
|
+
tipsDetails: string;
|
|
559
|
+
tosAndPrivacyDetails: string;
|
|
560
|
+
tosAndPrivacyView: string;
|
|
561
|
+
usersDetails: string;
|
|
562
|
+
domainConfig: string;
|
|
563
|
+
domainConfigDetails: string;
|
|
564
|
+
loginNotifications: string;
|
|
565
|
+
incidentConfig: string;
|
|
566
|
+
incidentDetails: string;
|
|
567
|
+
faqConfig: string;
|
|
568
|
+
faqDetails: string;
|
|
569
|
+
inviteUsers: string;
|
|
570
|
+
subscriptionList: string;
|
|
571
|
+
createResource: string;
|
|
572
|
+
createTag: string;
|
|
573
|
+
tags: string;
|
|
574
|
+
posts: string;
|
|
575
|
+
resourcesList: string;
|
|
576
|
+
};
|
|
577
|
+
tabId: string;
|
|
578
|
+
isPublic: boolean;
|
|
579
|
+
isLoaded: boolean;
|
|
580
|
+
tocPrivacy: {
|
|
581
|
+
id: string;
|
|
582
|
+
text: string;
|
|
583
|
+
}[];
|
|
584
|
+
tocTos: {
|
|
585
|
+
id: string;
|
|
586
|
+
text: string;
|
|
587
|
+
}[];
|
|
588
|
+
get companyName(): string;
|
|
589
|
+
get companyEmail(): string;
|
|
590
|
+
constructor(adminService: AdminService, injector: Injector, document: Document, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
|
|
591
|
+
/** Edit affordance is restricted to (Master) Subscription Admins who can reach /admin/tos. */
|
|
592
|
+
get canEditPolicy(): boolean;
|
|
593
|
+
ngOnInit(): void;
|
|
594
|
+
private getSubscribedProduct;
|
|
595
|
+
fetchUserSubscriptions(userId: any, id?: any): void;
|
|
596
|
+
private buildToc;
|
|
597
|
+
private findRequiredProducts;
|
|
598
|
+
private getTosDetails;
|
|
599
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyAndTosComponent, never>;
|
|
600
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyAndTosComponent, "pw-privacy-and-tos", never, {
|
|
601
|
+
"productId": {
|
|
602
|
+
"alias": "productId";
|
|
603
|
+
"required": false;
|
|
604
|
+
};
|
|
605
|
+
}, {}, never, never, false, never>;
|
|
606
|
+
}
|
|
607
|
+
declare namespace privacy_policy_component_d_exports {
|
|
608
|
+
export { PrivacyPolicyComponent };
|
|
609
|
+
}
|
|
610
|
+
export declare class PrivacyPolicyComponent implements OnInit {
|
|
611
|
+
private readonly appConfigService;
|
|
612
|
+
private readonly router;
|
|
613
|
+
constructor(appConfigService: AppConfigService, router: Router);
|
|
614
|
+
ngOnInit(): void;
|
|
615
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyPolicyComponent, never>;
|
|
616
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyPolicyComponent, "pw-privacy-policy", never, {}, {}, never, never, false, never>;
|
|
617
|
+
}
|
|
618
|
+
declare namespace terms_conditions_component_d_exports {
|
|
619
|
+
export { TermsConditionsComponent };
|
|
620
|
+
}
|
|
621
|
+
export declare class TermsConditionsComponent implements OnInit {
|
|
622
|
+
private readonly appConfigService;
|
|
623
|
+
private readonly router;
|
|
624
|
+
constructor(appConfigService: AppConfigService, router: Router);
|
|
625
|
+
ngOnInit(): void;
|
|
626
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TermsConditionsComponent, never>;
|
|
627
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TermsConditionsComponent, "pw-terms-conditions", never, {}, {}, never, never, false, never>;
|
|
628
|
+
}
|
|
629
|
+
declare namespace splash_component_d_exports {
|
|
630
|
+
export { SplashComponent };
|
|
631
|
+
}
|
|
632
|
+
export declare class SplashComponent {
|
|
633
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SplashComponent, never>;
|
|
634
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SplashComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
635
|
+
}
|
|
636
|
+
declare namespace authenticator_component_d_exports {
|
|
637
|
+
export { AuthenticatorComponent };
|
|
638
|
+
}
|
|
639
|
+
export declare class AuthenticatorComponent extends AppBaseComponent implements OnInit {
|
|
640
|
+
private readonly authService;
|
|
641
|
+
private readonly cdr;
|
|
642
|
+
token: string;
|
|
643
|
+
constructor(authService: AuthService, injector: Injector, cdr: ChangeDetectorRef);
|
|
644
|
+
ngOnInit(): void;
|
|
645
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticatorComponent, never>;
|
|
646
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticatorComponent, "pw-authenticator", never, {}, {}, never, never, false, never>;
|
|
647
|
+
}
|
|
648
|
+
declare namespace clearbit_icon_component_d_exports {
|
|
649
|
+
export { ClearBitIconComponent };
|
|
650
|
+
}
|
|
573
651
|
interface MonogramTint {
|
|
574
|
-
|
|
575
|
-
|
|
652
|
+
bg: string;
|
|
653
|
+
fg: string;
|
|
654
|
+
}
|
|
655
|
+
export declare class ClearBitIconComponent implements OnChanges {
|
|
656
|
+
src: string | null;
|
|
657
|
+
altText: string;
|
|
658
|
+
/** Company name — drives the initials shown when no real logo resolves. */
|
|
659
|
+
name: string;
|
|
660
|
+
/** Square edge length in px — applied to both the logo image and the monogram tile. */
|
|
661
|
+
size: number;
|
|
662
|
+
/** Layout/margin classes for the rendered icon — override for centred contexts. */
|
|
663
|
+
iconClass: string;
|
|
664
|
+
logoSrc: string | null;
|
|
665
|
+
showFallback: boolean;
|
|
666
|
+
initials: string;
|
|
667
|
+
tint: MonogramTint;
|
|
668
|
+
get tileRadius(): number;
|
|
669
|
+
get tileFontSize(): number;
|
|
670
|
+
ngOnChanges(): void;
|
|
671
|
+
/** Called when a resolved logo URL fails to load — degrade to the monogram. */
|
|
672
|
+
onLogoError(): void;
|
|
673
|
+
private buildMonogram;
|
|
674
|
+
private static deriveInitials;
|
|
675
|
+
private static hash;
|
|
676
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClearBitIconComponent, never>;
|
|
677
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClearBitIconComponent, "pw-clearbit-icon", never, {
|
|
678
|
+
"src": {
|
|
679
|
+
"alias": "src";
|
|
680
|
+
"required": false;
|
|
681
|
+
};
|
|
682
|
+
"altText": {
|
|
683
|
+
"alias": "altText";
|
|
684
|
+
"required": false;
|
|
685
|
+
};
|
|
686
|
+
"name": {
|
|
687
|
+
"alias": "name";
|
|
688
|
+
"required": false;
|
|
689
|
+
};
|
|
690
|
+
"size": {
|
|
691
|
+
"alias": "size";
|
|
692
|
+
"required": false;
|
|
693
|
+
};
|
|
694
|
+
"iconClass": {
|
|
695
|
+
"alias": "iconClass";
|
|
696
|
+
"required": false;
|
|
697
|
+
};
|
|
698
|
+
}, {}, never, never, false, never>;
|
|
699
|
+
}
|
|
700
|
+
declare namespace coming_soon_component_d_exports {
|
|
701
|
+
export { ComingSoonComponent };
|
|
702
|
+
}
|
|
703
|
+
export declare class ComingSoonComponent {
|
|
704
|
+
message: string;
|
|
705
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComingSoonComponent, never>;
|
|
706
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComingSoonComponent, "pw-coming-soon", never, {
|
|
707
|
+
"message": {
|
|
708
|
+
"alias": "message";
|
|
709
|
+
"required": false;
|
|
710
|
+
};
|
|
711
|
+
}, {}, never, never, false, never>;
|
|
712
|
+
}
|
|
713
|
+
declare namespace collapsible_sidebar_keyboard_shortcut_directive_d_exports {
|
|
714
|
+
export { CollapsibleSidebarKeyboardShortcutDirective };
|
|
576
715
|
}
|
|
577
|
-
declare class ClearBitIconComponent implements OnChanges {
|
|
578
|
-
src: string | null;
|
|
579
|
-
altText: string;
|
|
580
|
-
/** Company name — drives the initials shown when no real logo resolves. */
|
|
581
|
-
name: string;
|
|
582
|
-
/** Square edge length in px — applied to both the logo image and the monogram tile. */
|
|
583
|
-
size: number;
|
|
584
|
-
/** Layout/margin classes for the rendered icon — override for centred contexts. */
|
|
585
|
-
iconClass: string;
|
|
586
|
-
logoSrc: string | null;
|
|
587
|
-
showFallback: boolean;
|
|
588
|
-
initials: string;
|
|
589
|
-
tint: MonogramTint;
|
|
590
|
-
get tileRadius(): number;
|
|
591
|
-
get tileFontSize(): number;
|
|
592
|
-
ngOnChanges(): void;
|
|
593
|
-
/** Called when a resolved logo URL fails to load — degrade to the monogram. */
|
|
594
|
-
onLogoError(): void;
|
|
595
|
-
private buildMonogram;
|
|
596
|
-
private static deriveInitials;
|
|
597
|
-
private static hash;
|
|
598
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClearBitIconComponent, never>;
|
|
599
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClearBitIconComponent, "pw-clearbit-icon", never, { "src": { "alias": "src"; "required": false; }; "altText": { "alias": "altText"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
declare class ComingSoonComponent {
|
|
603
|
-
message: string;
|
|
604
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComingSoonComponent, never>;
|
|
605
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ComingSoonComponent, "pw-coming-soon", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
716
|
/**
|
|
609
717
|
* Listens for Ctrl+Shift+A globally and toggles the PosiWise Assistant chat panel.
|
|
610
718
|
* Applied via hostDirectives on CollapsibleSidebarComponent.
|
|
611
719
|
*/
|
|
612
|
-
declare class CollapsibleSidebarKeyboardShortcutDirective {
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
720
|
+
export declare class CollapsibleSidebarKeyboardShortcutDirective {
|
|
721
|
+
private readonly sidebarService;
|
|
722
|
+
constructor(sidebarService: CollapsibleSidebarService);
|
|
723
|
+
onKeydown(event: KeyboardEvent): void;
|
|
724
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarKeyboardShortcutDirective, never>;
|
|
725
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CollapsibleSidebarKeyboardShortcutDirective, "[pwCollapsibleSidebarKeyboardShortcut]", never, {}, {}, never, never, true, never>;
|
|
726
|
+
}
|
|
727
|
+
declare namespace collapsible_sidebar_component_d_exports {
|
|
728
|
+
export { CollapsibleSidebarComponent };
|
|
729
|
+
}
|
|
730
|
+
export declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
731
|
+
private readonly sidebarService;
|
|
732
|
+
private readonly injector;
|
|
733
|
+
private readonly cdr;
|
|
734
|
+
private readonly document;
|
|
735
|
+
private readonly appConfigService?;
|
|
736
|
+
contentContainer: ViewContainerRef;
|
|
737
|
+
/**
|
|
738
|
+
* When true, the drawer is a flex sibling of the page: main content shrinks (GitLab issue-board style).
|
|
739
|
+
* When false, the drawer is fixed over the viewport with a backdrop.
|
|
740
|
+
*/
|
|
741
|
+
embedInLayout: boolean;
|
|
742
|
+
/**
|
|
743
|
+
* When false, width/transform transitions are off so the first paint after
|
|
744
|
+
* a full page load does not briefly animate or show border/shadow flash.
|
|
745
|
+
*/
|
|
746
|
+
transitionReady: boolean;
|
|
747
|
+
isExpanded: boolean;
|
|
748
|
+
currentContent: SidebarContent | null;
|
|
749
|
+
private componentRef;
|
|
750
|
+
private navbarOffsetTracker;
|
|
751
|
+
private readonly destroy$;
|
|
752
|
+
constructor(sidebarService: CollapsibleSidebarService, injector: Injector, cdr: ChangeDetectorRef, document: Document, appConfigService?: AppConfigService);
|
|
753
|
+
ngOnInit(): void;
|
|
754
|
+
ngAfterViewInit(): void;
|
|
755
|
+
ngOnDestroy(): void;
|
|
756
|
+
/** Register (idempotently) the Assistant panel under the given brand. */
|
|
757
|
+
private registerBrainPanel;
|
|
758
|
+
/** Delegate a header action to the same-named method on the mounted panel. */
|
|
759
|
+
invokeHeaderAction(action: SidebarHeaderAction): void;
|
|
760
|
+
/**
|
|
761
|
+
* Load and render dynamic component based on sidebar content
|
|
762
|
+
*/
|
|
763
|
+
private loadComponent;
|
|
764
|
+
private clearComponent;
|
|
765
|
+
closeSidebar(): void;
|
|
766
|
+
toggleSidebar(): void;
|
|
767
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarComponent, [null, null, null, null, {
|
|
768
|
+
optional: true;
|
|
769
|
+
}]>;
|
|
770
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleSidebarComponent, "pw-collapsible-sidebar", never, {
|
|
771
|
+
"embedInLayout": {
|
|
772
|
+
"alias": "embedInLayout";
|
|
773
|
+
"required": false;
|
|
774
|
+
};
|
|
775
|
+
}, {}, never, never, false, [{
|
|
776
|
+
directive: typeof CollapsibleSidebarKeyboardShortcutDirective;
|
|
777
|
+
inputs: {};
|
|
778
|
+
outputs: {};
|
|
779
|
+
}]>;
|
|
780
|
+
static ngAcceptInputType_embedInLayout: unknown;
|
|
781
|
+
}
|
|
662
782
|
interface BrainChatPrompt {
|
|
663
|
-
|
|
664
|
-
|
|
783
|
+
text: string;
|
|
784
|
+
icon: string;
|
|
665
785
|
}
|
|
666
786
|
interface BrainChatQuickAction extends BrainChatPrompt {
|
|
667
|
-
|
|
787
|
+
label: string;
|
|
668
788
|
}
|
|
669
|
-
|
|
789
|
+
declare const SUGGESTED_PROMPTS: readonly BrainChatPrompt[];
|
|
790
|
+
declare const QUICK_ACTIONS: readonly BrainChatQuickAction[];
|
|
791
|
+
/** Seed assistant greeting for a fresh conversation (also used by New chat). */
|
|
792
|
+
declare const GREETING = "Hi — I can answer questions about your account and run approved actions. Try “show my API stats”.";
|
|
670
793
|
/**
|
|
671
794
|
* Identity of the Conversational UI Builder dynamic page the user is
|
|
672
795
|
* currently viewing (#933 — page-aware Brain). The dynamic-page host sets
|
|
@@ -677,19 +800,18 @@ interface BrainChatQuickAction extends BrainChatPrompt {
|
|
|
677
800
|
*
|
|
678
801
|
* `null` whenever no dynamic page is mounted.
|
|
679
802
|
*/
|
|
680
|
-
interface DynamicPageContext {
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
}
|
|
684
|
-
declare class DynamicPageContextService {
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
}
|
|
692
|
-
|
|
803
|
+
export interface DynamicPageContext {
|
|
804
|
+
pageKey: string;
|
|
805
|
+
subscriptionId: number;
|
|
806
|
+
}
|
|
807
|
+
export declare class DynamicPageContextService {
|
|
808
|
+
private _current;
|
|
809
|
+
set(ctx: DynamicPageContext): void;
|
|
810
|
+
clear(): void;
|
|
811
|
+
get current(): DynamicPageContext | null;
|
|
812
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPageContextService, never>;
|
|
813
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
814
|
+
}
|
|
693
815
|
/**
|
|
694
816
|
* Shared shapes for the PosiWise Brain chat panel. Extracted from
|
|
695
817
|
* `pw-brain-chat.component.ts` so the component stays under the C1
|
|
@@ -698,28 +820,28 @@ declare class DynamicPageContextService {
|
|
|
698
820
|
*/
|
|
699
821
|
type ChatMessageRole = 'user' | 'assistant';
|
|
700
822
|
interface PendingConfirmation {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
823
|
+
confirmation_token: string;
|
|
824
|
+
risk_level?: string | null;
|
|
825
|
+
summary?: string | null;
|
|
826
|
+
target_service?: string | null;
|
|
827
|
+
target_tool?: string | null;
|
|
828
|
+
diff?: MCPFieldDiff | null;
|
|
707
829
|
}
|
|
708
830
|
interface ChatMessage {
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
831
|
+
role: ChatMessageRole;
|
|
832
|
+
text: string;
|
|
833
|
+
pending?: PendingConfirmation;
|
|
834
|
+
/** Set to true only on messages produced by the prose summariser (mcp_prose_summariser.py).
|
|
835
|
+
* Controls whether the bubble renders via safeMarkdown pipe ([innerHTML]) or as plain text (<pre>).
|
|
836
|
+
* Error messages, confirmation summaries, and navigation notices stay plain. */
|
|
837
|
+
markdownEnabled?: boolean;
|
|
838
|
+
/** Epoch ms when the message was created. Optional — messages hydrated
|
|
839
|
+
* from pre-timestamp storage lack it and render without a time. */
|
|
840
|
+
at?: number;
|
|
841
|
+
/** Page-aware grounding (#933): human label of the page this answer's
|
|
842
|
+
* documentation is about (from `grounded_source_page`). When set, the bubble
|
|
843
|
+
* renders a "Documented on: {sourcePage}" provenance chip. Absent → no chip. */
|
|
844
|
+
sourcePage?: string | null;
|
|
723
845
|
}
|
|
724
846
|
/** Lifecycle of a file the user dropped on the composer. */
|
|
725
847
|
/** `choosing`: several upload tools accept this file — held until the user picks one. */
|
|
@@ -730,21 +852,20 @@ type ChatAttachmentStatus = 'choosing' | 'uploading' | 'ready' | 'error';
|
|
|
730
852
|
* hands back, which is all that ever reaches the chat request.
|
|
731
853
|
*/
|
|
732
854
|
interface ChatAttachment {
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
}
|
|
747
|
-
|
|
855
|
+
name: string;
|
|
856
|
+
size: number;
|
|
857
|
+
status: ChatAttachmentStatus;
|
|
858
|
+
/** 0-100 while uploading; 100 once staged. */
|
|
859
|
+
percent: number;
|
|
860
|
+
/** Opaque staging key. Absent until the upload lands. */
|
|
861
|
+
key?: string;
|
|
862
|
+
/** Namespaced tool that consumes this file, from its advertised capability. */
|
|
863
|
+
tool?: string;
|
|
864
|
+
/** That tool's advertised title, e.g. "Set Your Profile Picture". */
|
|
865
|
+
title?: string;
|
|
866
|
+
/** Human-readable failure, shown on the chip. */
|
|
867
|
+
error?: string;
|
|
868
|
+
}
|
|
748
869
|
/**
|
|
749
870
|
* Owns the composer's file attachment: drag state, the upload, and the single
|
|
750
871
|
* staged file. Split out of the component the same way BrainChatDictation and
|
|
@@ -758,46 +879,45 @@ interface ChatAttachment {
|
|
|
758
879
|
* beyond naming its API.
|
|
759
880
|
*/
|
|
760
881
|
declare class BrainChatAttachment {
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
}
|
|
800
|
-
|
|
882
|
+
private readonly uploads;
|
|
883
|
+
private readonly apis;
|
|
884
|
+
private readonly subscriptionId;
|
|
885
|
+
private readonly onChange;
|
|
886
|
+
current: ChatAttachment | null;
|
|
887
|
+
private readonly drag;
|
|
888
|
+
private capabilities;
|
|
889
|
+
private readonly choice;
|
|
890
|
+
constructor(uploads: DirectUploadService | null, apis: Record<string, BaseHttpService> | null, subscriptionId: () => number | null, onChange: () => void);
|
|
891
|
+
discover(source: Observable<{
|
|
892
|
+
uploads: MCPUploadCapability[];
|
|
893
|
+
}>, destroy$: Subject<void>): void;
|
|
894
|
+
get enabled(): boolean;
|
|
895
|
+
get busy(): boolean;
|
|
896
|
+
/** Several tools accept the file; nothing is uploaded until one is picked. */
|
|
897
|
+
get choosing(): boolean;
|
|
898
|
+
get choices(): MCPUploadCapability[];
|
|
899
|
+
choiceLabel(capability: MCPUploadCapability): string;
|
|
900
|
+
get ready(): boolean;
|
|
901
|
+
get context(): Record<string, unknown> | null;
|
|
902
|
+
get label(): string;
|
|
903
|
+
get hint(): string;
|
|
904
|
+
get acceptAttr(): string;
|
|
905
|
+
get dragActive(): boolean;
|
|
906
|
+
dragEnter(event: DragEvent): void;
|
|
907
|
+
dragOver(event: DragEvent): void;
|
|
908
|
+
dragLeave(event: DragEvent): void;
|
|
909
|
+
drop(event: DragEvent): void;
|
|
910
|
+
/** Shared by the drop target and the paperclip file input. */
|
|
911
|
+
accept(file: File): void;
|
|
912
|
+
/** The user picked which tool this file is for — only now is it uploaded. */
|
|
913
|
+
choose(capability: MCPUploadCapability): void;
|
|
914
|
+
remove(): void;
|
|
915
|
+
/** Cleared after a send so the file travels with exactly one message. */
|
|
916
|
+
clearAfterSend(): void;
|
|
917
|
+
meta(): string;
|
|
918
|
+
icon(): string;
|
|
919
|
+
private upload;
|
|
920
|
+
}
|
|
801
921
|
/**
|
|
802
922
|
* Drives mic dictation for the Brain chat composer (#22).
|
|
803
923
|
*
|
|
@@ -810,48 +930,49 @@ declare class BrainChatAttachment {
|
|
|
810
930
|
*/
|
|
811
931
|
type DictationPhase = 'idle' | 'listening' | 'processing';
|
|
812
932
|
declare class BrainChatDictation {
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
}
|
|
843
|
-
|
|
933
|
+
private readonly voice;
|
|
934
|
+
private readonly getDraft;
|
|
935
|
+
private readonly setDraft;
|
|
936
|
+
private readonly changed;
|
|
937
|
+
phase: DictationPhase;
|
|
938
|
+
error: string | null;
|
|
939
|
+
private sub?;
|
|
940
|
+
/** Draft text captured at record-start + each finalized phrase, so live
|
|
941
|
+
* partials update without clobbering what the user already typed. */
|
|
942
|
+
private base;
|
|
943
|
+
constructor(voice: BrainVoiceService | undefined, getDraft: () => string, setDraft: (text: string) => void, changed: () => void);
|
|
944
|
+
/** Convenience for the template — kept for the pulsing-button class. */
|
|
945
|
+
get isRecording(): boolean;
|
|
946
|
+
/** Status text shown next to the mic; `null` when nothing to say. */
|
|
947
|
+
get statusMessage(): string | null;
|
|
948
|
+
/** Mic button handler: start if idle, stop if recording. While
|
|
949
|
+
* "processing" we ignore clicks until the server's final transcript
|
|
950
|
+
* lands. */
|
|
951
|
+
toggle(loading: boolean): void;
|
|
952
|
+
stop(): void;
|
|
953
|
+
/** Unconditionally cancel recording and clear any error, from ANY phase —
|
|
954
|
+
* the overlay's End/Close (stop() only finalizes from 'listening', so it
|
|
955
|
+
* can't dismiss the 'processing' or 'error' states). */
|
|
956
|
+
dismiss(): void;
|
|
957
|
+
/** Tear down with the host component (called from ngOnDestroy). */
|
|
958
|
+
dispose(): void;
|
|
959
|
+
private start;
|
|
960
|
+
private apply;
|
|
961
|
+
private fail;
|
|
962
|
+
}
|
|
844
963
|
interface DiffRow {
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
964
|
+
field: string;
|
|
965
|
+
before: string;
|
|
966
|
+
after: string;
|
|
848
967
|
}
|
|
849
968
|
declare function diffRowsFrom(diff?: MCPFieldDiff | null): DiffRow[];
|
|
850
|
-
|
|
851
969
|
type VoiceChatState = 'idle' | 'listening' | 'processingSpeech' | 'thinking' | 'fetchingData' | 'speaking' | 'completed' | 'error';
|
|
852
970
|
/** Visual treatment hint for the template — keeps animation choice out of HTML. */
|
|
853
971
|
type VoiceChatVisual = 'idle' | 'pulse' | 'loader' | 'wave' | 'error';
|
|
854
|
-
|
|
972
|
+
declare const VOICE_ERROR_MESSAGES: Record<string, string>;
|
|
973
|
+
/** Status copy per state — reassuring, conversational, and never silent. */
|
|
974
|
+
declare const STATE_COPY: Record<VoiceChatState, string>;
|
|
975
|
+
declare const STATE_VISUAL: Record<VoiceChatState, VoiceChatVisual>;
|
|
855
976
|
/**
|
|
856
977
|
* Voice Chat controller for the Brain chat composer (#58) — explicit state
|
|
857
978
|
* machine over the WS relay: listening (start) → thinking (`text` role=user)
|
|
@@ -859,110 +980,126 @@ type VoiceChatVisual = 'idle' | 'pulse' | 'loader' | 'wave' | 'error';
|
|
|
859
980
|
* Copy/visual vocab lives in pw-brain-chat-voice-copy.ts (C1 line budget).
|
|
860
981
|
*/
|
|
861
982
|
declare class BrainChatVoiceChat {
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
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
|
+
}
|
|
966
1103
|
/**
|
|
967
1104
|
* Pending-action confirmation panel for the Brain chat bubble — risk badge,
|
|
968
1105
|
* target tool, field-level diff, and Approve/Cancel controls. Extracted from
|
|
@@ -971,15 +1108,29 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
|
|
|
971
1108
|
* and message mutation (approve/cancel).
|
|
972
1109
|
*/
|
|
973
1110
|
declare class PwBrainChatConfirmComponent {
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
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
|
+
}
|
|
983
1134
|
/**
|
|
984
1135
|
* First-open welcome state for the Brain chat — greeting + suggested-prompt
|
|
985
1136
|
* rows. Extracted from the parent template so `pw-brain-chat.component.html`
|
|
@@ -987,16 +1138,70 @@ declare class PwBrainChatConfirmComponent {
|
|
|
987
1138
|
* owns send().
|
|
988
1139
|
*/
|
|
989
1140
|
declare class PwBrainChatWelcomeComponent {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
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
|
+
}
|
|
998
1159
|
type SonarState = 'listening' | 'processingSpeech' | 'thinking' | 'fetchingData' | 'speaking' | 'error';
|
|
999
|
-
|
|
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
|
+
}
|
|
1000
1205
|
/**
|
|
1001
1206
|
* Sonar voice-session overlay (#51) — a focused takeover over the chat panel
|
|
1002
1207
|
* that animates the real voice/dictation state machine on an instrument dial.
|
|
@@ -1005,488 +1210,752 @@ type SonarState = 'listening' | 'processingSpeech' | 'thinking' | 'fetchingData'
|
|
|
1005
1210
|
* by its own rAF loop and never needs CD.
|
|
1006
1211
|
*/
|
|
1007
1212
|
declare class PwBrainChatVoiceOverlayComponent implements AfterViewInit, OnDestroy {
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
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
|
+
}
|
|
1089
1306
|
/**
|
|
1090
1307
|
* Convenience overrides for `confirmDelete`. Any field of `ConfirmDialogConfig`
|
|
1091
1308
|
* may be passed; the defaults are `{ title: 'Delete', text: 'Are you sure you
|
|
1092
1309
|
* want to delete?', destructive: true }`.
|
|
1093
1310
|
*/
|
|
1094
|
-
type ConfirmDeleteOptions = Partial<ConfirmDialogConfig>;
|
|
1095
|
-
declare class ConfirmDialogService {
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
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: {
|
|
1123
1345
|
name: string;
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
navigateToCommunications(id: number): void;
|
|
1160
|
-
navigateToDocumentations(id: number): void;
|
|
1161
|
-
trackByGroup(_index: number, item: {
|
|
1162
|
-
id: number;
|
|
1163
|
-
}): number;
|
|
1164
|
-
ngOnDestroy(): void;
|
|
1165
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupsComponent, never>;
|
|
1166
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GroupsComponent, "pw-groups", never, {}, {}, never, never, false, never>;
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
declare class GroupDefinitionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1170
|
-
private readonly groupService;
|
|
1171
|
-
private readonly fb;
|
|
1172
|
-
private readonly subscriptionService;
|
|
1173
|
-
private readonly data;
|
|
1174
|
-
private readonly cdr;
|
|
1175
|
-
private readonly confirmDialog;
|
|
1176
|
-
subscriptions: any[];
|
|
1177
|
-
message: number;
|
|
1178
|
-
groupDefinition: object[];
|
|
1179
|
-
form: UntypedFormGroup;
|
|
1346
|
+
groups: IterableIterator<object>;
|
|
1347
|
+
}[];
|
|
1348
|
+
domainGroupDefinition: any[];
|
|
1349
|
+
admins: any[];
|
|
1350
|
+
subscriptionInfo: any[];
|
|
1351
|
+
subscriptionOwner: number;
|
|
1352
|
+
enrolledUsers: {
|
|
1353
|
+
is_owner: boolean;
|
|
1354
|
+
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: {
|
|
1180
1381
|
id: number;
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
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
|
+
}
|
|
1210
1430
|
type buttonsOrientationType = 'horizontal' | 'vertical' | 'h' | 'v';
|
|
1211
1431
|
type sizeType = 'medium' | 'large' | 'small' | 'xlarge' | 'md' | 'lg' | 'sm' | 'xlg';
|
|
1212
1432
|
interface CustomClasses {
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
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>;
|
|
1338
1659
|
}
|
|
1339
1660
|
/** A resolved binding as returned by GET /main-api/v1/ui_layouts. */
|
|
1340
|
-
interface ResolvedBinding {
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
}
|
|
1345
|
-
interface UiBlock {
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
}
|
|
1353
|
-
interface UiLayoutConfig {
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
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[];
|
|
1358
1679
|
}
|
|
1359
1680
|
/** Envelope of GET /main-api/v1/ui_layouts. */
|
|
1360
|
-
interface UiLayoutResponse {
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
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>;
|
|
1736
|
+
}
|
|
1737
|
+
declare namespace section_heading_block_component_d_exports {
|
|
1738
|
+
export { SectionHeadingBlockComponent };
|
|
1739
|
+
}
|
|
1404
1740
|
declare class SectionHeadingBlockComponent {
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
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 };
|
|
1410
1754
|
}
|
|
1411
|
-
|
|
1412
1755
|
declare class DividerBlockComponent {
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
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 };
|
|
1417
1768
|
}
|
|
1418
|
-
|
|
1419
1769
|
declare class StatCardBlockComponent {
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
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
|
+
}
|
|
1428
1789
|
declare class DataTableBlockComponent {
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
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
|
+
}
|
|
1439
1811
|
declare class ChartBlockComponent {
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
};
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
}
|
|
1488
|
-
|
|
1489
|
-
|
|
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';
|
|
1490
1959
|
/**
|
|
1491
1960
|
* Generic, presentational segmented completion/progress bar.
|
|
1492
1961
|
*
|
|
@@ -1495,35 +1964,70 @@ type CompletionTier = 'low' | 'mid' | 'high';
|
|
|
1495
1964
|
* semantic token maps — never the tenant accent (design-system: accent-agnostic).
|
|
1496
1965
|
* Reusable anywhere via `@posiwise/shared-components`.
|
|
1497
1966
|
*/
|
|
1498
|
-
declare class CompletionBarComponent {
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
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
|
+
}
|
|
1527
2031
|
/**
|
|
1528
2032
|
* Shared table-footer "Showing X of Y items" summary.
|
|
1529
2033
|
*
|
|
@@ -1536,21 +2040,34 @@ declare class CompletionBarComponent {
|
|
|
1536
2040
|
* Usage:
|
|
1537
2041
|
* <pw-records-summary [showing]="dt?.value?.length ?? 0" [total]="totalRecords" />
|
|
1538
2042
|
*/
|
|
1539
|
-
declare class RecordsSummaryComponent {
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
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
|
+
}
|
|
1554
2071
|
/**
|
|
1555
2072
|
* pwCollapsibleSidebarTrigger
|
|
1556
2073
|
*
|
|
@@ -1564,51 +2081,101 @@ declare class ResourceSharedComponentsModule {
|
|
|
1564
2081
|
* </button>
|
|
1565
2082
|
* ```
|
|
1566
2083
|
*/
|
|
1567
|
-
declare class CollapsibleSidebarTriggerDirective {
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
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
|
+
}
|
|
1612
2179
|
/**
|
|
1613
2180
|
* Converts a Brain assistant message string (containing a safe subset of
|
|
1614
2181
|
* Markdown) into an HTML string suitable for `[innerHTML]` binding.
|
|
@@ -1636,26 +2203,28 @@ declare class PwCookieBannerComponent implements OnInit {
|
|
|
1636
2203
|
* config resolves at app boot, long before a chat bubble renders.
|
|
1637
2204
|
*/
|
|
1638
2205
|
declare class SafeMarkdownPipe implements PipeTransform, OnDestroy {
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
}
|
|
1658
|
-
|
|
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
|
+
}
|
|
1659
2228
|
/**
|
|
1660
2229
|
* Intercepts clicks on `<a>` elements rendered inside assistant markdown
|
|
1661
2230
|
* bubbles. Internal paths (e.g. /account/details) are routed via Angular's
|
|
@@ -1666,19 +2235,17 @@ declare class SafeMarkdownPipe implements PipeTransform, OnDestroy {
|
|
|
1666
2235
|
* Applied via the `pwBrainChatThread` attribute on the chat thread div.
|
|
1667
2236
|
*/
|
|
1668
2237
|
declare class PwBrainChatThreadDirective {
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
}
|
|
1681
|
-
|
|
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
|
+
}
|
|
1682
2249
|
/**
|
|
1683
2250
|
* CollapsibleSidebarSuperAdminGuard
|
|
1684
2251
|
*
|
|
@@ -1700,36 +2267,33 @@ declare class SharedComponentsModule {
|
|
|
1700
2267
|
* canAccessSidebar$ = this.guard.canAccessSidebar$;
|
|
1701
2268
|
* ```
|
|
1702
2269
|
*/
|
|
1703
|
-
declare class CollapsibleSidebarSuperAdminGuard {
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
}
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
declare
|
|
1730
|
-
declare function registeredType(type: string): Type<unknown> | null;
|
|
1731
|
-
declare function registeredTypeNames(): string[];
|
|
1732
|
-
|
|
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[];
|
|
1733
2297
|
/**
|
|
1734
2298
|
* Which product API to POST bytes to, keyed by the service name the tool
|
|
1735
2299
|
* catalog reports (e.g. `'cloudolive-api'`, `'main-api'`).
|
|
@@ -1745,7 +2309,5 @@ declare function registeredTypeNames(): string[];
|
|
|
1745
2309
|
* A service the map doesn't cover is simply not offered: the affordance is
|
|
1746
2310
|
* hidden rather than advertised-then-broken.
|
|
1747
2311
|
*/
|
|
1748
|
-
declare const BRAIN_CHAT_UPLOAD_APIS: InjectionToken<Record<string, BaseHttpService>>;
|
|
1749
|
-
|
|
1750
|
-
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, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, registeredType, registeredTypeNames };
|
|
1751
|
-
export type { ChatMessage, ChatMessageRole, CompletionTier, ConfirmDeleteOptions, ConfirmDialogConfig, ConfirmDialogTone, DynamicPageContext, PaletteActionId, PaletteGroup, PaletteItem, PaletteItemKind, PalettePerson, PendingConfirmation, ResolvedBinding, SidebarContent, SidebarHeaderAction, UiBinding, UiBlock, UiGrid, UiLayoutConfig, UiLayoutResponse };
|
|
2312
|
+
export declare const BRAIN_CHAT_UPLOAD_APIS: InjectionToken<Record<string, BaseHttpService>>;
|
|
2313
|
+
export type { ChatMessage, ChatMessageRole, NavEntry, PendingConfirmation };
|