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