@anvil-eco/portal-components 0.0.0
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.
|
@@ -0,0 +1,973 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { MessageBoxConfig, FilterableSelectChangeEvent } from '@anvil-eco/shared-ui';
|
|
4
|
+
export { PortalNavComponent, PortalNavMenuComponent, PortalShellComponent, PortalUserMenuComponent } from '@anvil-eco/shared-ui';
|
|
5
|
+
import * as rxjs from 'rxjs';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import * as _anvil_eco_portal_services from '@anvil-eco/portal-services';
|
|
8
|
+
import { ResolvedAvatar, Enterprise, PortalRole, PortalRoleDetail, PortalUser, PortalUserDetail, PortalPermission, PortalAuthPolicy, RoleUpdateService, PortalUserUpdate, PortalUserDetailLoginAudit, ErrorEntryDetail, UsersUpdateService, PortalUserAvatarUpdate, PortalUserProfileUpdate, AuditLogDetail, LoginAuditDetail, Portal, PortalDetail, PortalContext } from '@anvil-eco/portal-services';
|
|
9
|
+
import * as _angular_forms from '@angular/forms';
|
|
10
|
+
import { FormGroup, FormControl } from '@angular/forms';
|
|
11
|
+
import { RowSelectionOptions, ColDef, GridReadyEvent, CellClickedEvent } from 'ag-grid-community';
|
|
12
|
+
import * as _anvil_eco_shared_core from '@anvil-eco/shared-core';
|
|
13
|
+
import { NavigationNode } from '@anvil-eco/shared-core';
|
|
14
|
+
import { Route } from '@angular/router';
|
|
15
|
+
|
|
16
|
+
declare class PortalComponents {
|
|
17
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PortalComponents, never>;
|
|
18
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PortalComponents, "lib-portal-components", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class WelcomeComponent {
|
|
22
|
+
overDrawerOpen: _angular_core.WritableSignal<boolean>;
|
|
23
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WelcomeComponent, never>;
|
|
24
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WelcomeComponent, "lib-welcome", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare function inferAvatarType(avatar: string | null | undefined): number;
|
|
28
|
+
type AvatarMode = 'icon' | 'svg' | 'base64' | 'url';
|
|
29
|
+
declare class AvatarEditorComponent {
|
|
30
|
+
private readonly avatarService;
|
|
31
|
+
private readonly toastService;
|
|
32
|
+
private readonly errorService;
|
|
33
|
+
readonly sourceId = "avatar-editor";
|
|
34
|
+
set initialAvatar(value: string);
|
|
35
|
+
private _initialized;
|
|
36
|
+
saveFn: (avatar: string) => Observable<unknown>;
|
|
37
|
+
removeFn?: () => Observable<unknown>;
|
|
38
|
+
showSuccessToast: _angular_core.InputSignal<boolean>;
|
|
39
|
+
saved: EventEmitter<void>;
|
|
40
|
+
removed: EventEmitter<void>;
|
|
41
|
+
valueChange: EventEmitter<string>;
|
|
42
|
+
readonly avatarOptions: {
|
|
43
|
+
mode: AvatarMode;
|
|
44
|
+
label: string;
|
|
45
|
+
icon: string;
|
|
46
|
+
}[];
|
|
47
|
+
readonly avatarMode: _angular_core.WritableSignal<AvatarMode>;
|
|
48
|
+
readonly iconClass: _angular_core.WritableSignal<string>;
|
|
49
|
+
readonly svgString: _angular_core.WritableSignal<string>;
|
|
50
|
+
readonly urlString: _angular_core.WritableSignal<string>;
|
|
51
|
+
readonly base64Data: _angular_core.WritableSignal<string>;
|
|
52
|
+
readonly avatarSaving: _angular_core.WritableSignal<boolean>;
|
|
53
|
+
readonly avatarRemoving: _angular_core.WritableSignal<boolean>;
|
|
54
|
+
readonly showRemoveConfirm: _angular_core.WritableSignal<boolean>;
|
|
55
|
+
readonly removeConfirmConfig: MessageBoxConfig;
|
|
56
|
+
readonly avatarPreview: _angular_core.Signal<ResolvedAvatar>;
|
|
57
|
+
readonly avatarHasValue: _angular_core.Signal<boolean>;
|
|
58
|
+
setAvatarMode(mode: AvatarMode): void;
|
|
59
|
+
onFileSelected(event: Event): void;
|
|
60
|
+
saveAvatar(): void;
|
|
61
|
+
promptRemoveAvatar(): void;
|
|
62
|
+
onRemoveConfirmed(): void;
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarEditorComponent, never>;
|
|
64
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarEditorComponent, "lib-avatar-editor", never, { "initialAvatar": { "alias": "initialAvatar"; "required": false; }; "saveFn": { "alias": "saveFn"; "required": true; }; "removeFn": { "alias": "removeFn"; "required": false; }; "showSuccessToast": { "alias": "showSuccessToast"; "required": false; "isSignal": true; }; }, { "saved": "saved"; "removed": "removed"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
declare class EnterpriseEditFormComponent implements OnInit {
|
|
68
|
+
private readonly enterpriseService;
|
|
69
|
+
private readonly portalContext;
|
|
70
|
+
private readonly fb;
|
|
71
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
72
|
+
readonly enterprise: _angular_core.WritableSignal<Enterprise | null>;
|
|
73
|
+
initialAvatar: string;
|
|
74
|
+
initialFavicon: string;
|
|
75
|
+
readonly form: _angular_forms.FormGroup<{
|
|
76
|
+
id: _angular_forms.FormControl<string | null>;
|
|
77
|
+
name: _angular_forms.FormControl<string | null>;
|
|
78
|
+
slogan: _angular_forms.FormControl<string | null>;
|
|
79
|
+
}>;
|
|
80
|
+
readonly submitFn: (data: unknown) => rxjs.Observable<Enterprise>;
|
|
81
|
+
readonly avatarSaveFn: (avatar: string) => rxjs.Observable<Enterprise>;
|
|
82
|
+
readonly avatarRemoveFn: () => rxjs.Observable<Enterprise>;
|
|
83
|
+
readonly faviconSaveFn: (favicon: string) => rxjs.Observable<Enterprise>;
|
|
84
|
+
readonly faviconRemoveFn: () => rxjs.Observable<Enterprise>;
|
|
85
|
+
ngOnInit(): void;
|
|
86
|
+
onAvatarSaved(): void;
|
|
87
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EnterpriseEditFormComponent, never>;
|
|
88
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EnterpriseEditFormComponent, "lib-enterprise-edit-form", never, {}, {}, never, never, true, never>;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare class AuthLayoutComponent {
|
|
92
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthLayoutComponent, never>;
|
|
93
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthLayoutComponent, "lib-auth-layout", never, {}, {}, never, never, true, never>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
declare class LoginEmailComponent implements OnInit {
|
|
97
|
+
private auth;
|
|
98
|
+
private router;
|
|
99
|
+
private route;
|
|
100
|
+
form: FormGroup<{
|
|
101
|
+
email: FormControl<string | null>;
|
|
102
|
+
}>;
|
|
103
|
+
ngOnInit(): void;
|
|
104
|
+
submit: (data: unknown) => Promise<void>;
|
|
105
|
+
back(): void;
|
|
106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LoginEmailComponent, never>;
|
|
107
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LoginEmailComponent, "lib-login-email", never, {}, {}, never, never, true, never>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
declare class LoginPasswordComponent implements OnInit {
|
|
111
|
+
private auth;
|
|
112
|
+
private router;
|
|
113
|
+
private route;
|
|
114
|
+
email: _angular_core.WritableSignal<string>;
|
|
115
|
+
form: FormGroup<{
|
|
116
|
+
password: FormControl<string | null>;
|
|
117
|
+
}>;
|
|
118
|
+
ngOnInit(): void;
|
|
119
|
+
submit: (data: unknown) => Promise<void>;
|
|
120
|
+
back(): void;
|
|
121
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LoginPasswordComponent, never>;
|
|
122
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LoginPasswordComponent, "lib-login-password", never, {}, {}, never, never, true, never>;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
declare class ForgotPasswordComponent implements OnInit {
|
|
126
|
+
private auth;
|
|
127
|
+
private route;
|
|
128
|
+
private router;
|
|
129
|
+
sent: _angular_core.WritableSignal<boolean>;
|
|
130
|
+
sentEmail: _angular_core.WritableSignal<string>;
|
|
131
|
+
form: FormGroup<{
|
|
132
|
+
email: FormControl<string | null>;
|
|
133
|
+
}>;
|
|
134
|
+
ngOnInit(): void;
|
|
135
|
+
showForm(): void;
|
|
136
|
+
submit: (data: unknown) => Promise<void>;
|
|
137
|
+
back(): void;
|
|
138
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ForgotPasswordComponent, never>;
|
|
139
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ForgotPasswordComponent, "lib-forgot-password", never, {}, {}, never, never, true, never>;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
declare class ResetPasswordComponent implements OnInit {
|
|
143
|
+
private auth;
|
|
144
|
+
private route;
|
|
145
|
+
private router;
|
|
146
|
+
tokenInvalid: _angular_core.WritableSignal<boolean>;
|
|
147
|
+
private token;
|
|
148
|
+
form: FormGroup<{
|
|
149
|
+
password: FormControl<string | null>;
|
|
150
|
+
confirm: FormControl<string | null>;
|
|
151
|
+
}>;
|
|
152
|
+
ngOnInit(): void;
|
|
153
|
+
submit: (data: unknown) => Promise<void>;
|
|
154
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
|
|
155
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ResetPasswordComponent, "lib-reset-password", never, {}, {}, never, never, true, never>;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
declare class VerifyPendingComponent implements OnInit {
|
|
159
|
+
private auth;
|
|
160
|
+
private router;
|
|
161
|
+
private errorService;
|
|
162
|
+
email: _angular_core.WritableSignal<string>;
|
|
163
|
+
resendState: _angular_core.WritableSignal<"success" | "idle" | "sending">;
|
|
164
|
+
ngOnInit(): void;
|
|
165
|
+
resend(): Promise<void>;
|
|
166
|
+
private sendEmail;
|
|
167
|
+
back(): void;
|
|
168
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VerifyPendingComponent, never>;
|
|
169
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<VerifyPendingComponent, "lib-verify-pending", never, {}, {}, never, never, true, never>;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
declare class VerifyEmailComponent implements OnInit {
|
|
173
|
+
private route;
|
|
174
|
+
private router;
|
|
175
|
+
private http;
|
|
176
|
+
state: _angular_core.WritableSignal<"success" | "error" | "verifying">;
|
|
177
|
+
errorMessage: _angular_core.WritableSignal<string>;
|
|
178
|
+
ngOnInit(): Promise<void>;
|
|
179
|
+
goToLogin(): void;
|
|
180
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VerifyEmailComponent, never>;
|
|
181
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<VerifyEmailComponent, "lib-verify-email", never, {}, {}, never, never, true, never>;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
declare class AccessDeniedComponent {
|
|
185
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccessDeniedComponent, never>;
|
|
186
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccessDeniedComponent, "lib-access-denied", never, {}, {}, never, never, true, never>;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
declare class RoleListComponent implements OnInit, OnDestroy {
|
|
190
|
+
private readonly roleReadService;
|
|
191
|
+
private readonly roleDeleteService;
|
|
192
|
+
private readonly toast;
|
|
193
|
+
private readonly errorService;
|
|
194
|
+
private readonly auth;
|
|
195
|
+
private gridApi?;
|
|
196
|
+
private readonly destroy$;
|
|
197
|
+
private readonly searchSubject;
|
|
198
|
+
searchValue: string;
|
|
199
|
+
private currentTerm;
|
|
200
|
+
private currentFilterModel;
|
|
201
|
+
private currentSortModel;
|
|
202
|
+
readonly rowSelection: RowSelectionOptions;
|
|
203
|
+
private canEdit;
|
|
204
|
+
private canDelete;
|
|
205
|
+
private canViewMembership;
|
|
206
|
+
private canViewPermissions;
|
|
207
|
+
protected readonly canCreate: () => boolean;
|
|
208
|
+
columnDefs: ColDef<PortalRole>[];
|
|
209
|
+
defaultColDef: ColDef;
|
|
210
|
+
ngOnInit(): void;
|
|
211
|
+
ngOnDestroy(): void;
|
|
212
|
+
onGridReady(event: GridReadyEvent<PortalRole>): void;
|
|
213
|
+
onFilterChanged(): void;
|
|
214
|
+
onSortChanged(): void;
|
|
215
|
+
onSearchChange(value: string): void;
|
|
216
|
+
onCellClicked(event: CellClickedEvent<PortalRole>): void;
|
|
217
|
+
private buildDatasource;
|
|
218
|
+
private mapFilterModel;
|
|
219
|
+
showCreateGeneralModal: _angular_core.WritableSignal<boolean>;
|
|
220
|
+
showCreatePrimaryModal: _angular_core.WritableSignal<boolean>;
|
|
221
|
+
showDeleteMessageBox: _angular_core.WritableSignal<boolean>;
|
|
222
|
+
roleToDelete: _angular_core.WritableSignal<PortalRole | null>;
|
|
223
|
+
deleteMessageBoxConfig: _angular_core.WritableSignal<MessageBoxConfig>;
|
|
224
|
+
onCreateGeneral(): void;
|
|
225
|
+
onCreatePrimary(): void;
|
|
226
|
+
onCreateGeneralModalDismissed(): void;
|
|
227
|
+
onCreatePrimaryModalDismissed(): void;
|
|
228
|
+
onRoleCreated(): void;
|
|
229
|
+
onEdit(role: PortalRole): void;
|
|
230
|
+
onMembership(role: PortalRole): void;
|
|
231
|
+
onPermissions(role: PortalRole): void;
|
|
232
|
+
onDelete(role: PortalRole): void;
|
|
233
|
+
onDeleteConfirmed(): void;
|
|
234
|
+
onDeleteCancelled(): void;
|
|
235
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RoleListComponent, never>;
|
|
236
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RoleListComponent, "lib-role-list", never, {}, {}, never, never, true, never>;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
declare class RoleMembershipComponent implements OnInit {
|
|
240
|
+
private readonly route;
|
|
241
|
+
private readonly membershipService;
|
|
242
|
+
private readonly roleReadService;
|
|
243
|
+
private readonly usersReadService;
|
|
244
|
+
private readonly errorService;
|
|
245
|
+
private membersList?;
|
|
246
|
+
private userPicker?;
|
|
247
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
248
|
+
readonly savingId: _angular_core.WritableSignal<string | null>;
|
|
249
|
+
readonly role: _angular_core.WritableSignal<PortalRoleDetail | null>;
|
|
250
|
+
readonly memberCount: _angular_core.WritableSignal<number>;
|
|
251
|
+
private roleId;
|
|
252
|
+
readonly loadMembers: (page: number, pageSize: number, term: string) => rxjs.Observable<_anvil_eco_shared_core.PagedResult<PortalUser>>;
|
|
253
|
+
readonly loadAvailableUsers: (page: number, pageSize: number, term: string) => rxjs.Observable<_anvil_eco_shared_core.PagedResult<PortalUserDetail>>;
|
|
254
|
+
ngOnInit(): void;
|
|
255
|
+
add(user: PortalUserDetail): void;
|
|
256
|
+
remove(member: PortalUser): void;
|
|
257
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RoleMembershipComponent, never>;
|
|
258
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RoleMembershipComponent, "lib-role-membership", never, {}, {}, never, never, true, never>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare class RolePermissionsComponent implements OnInit {
|
|
262
|
+
private readonly route;
|
|
263
|
+
private readonly rolePermService;
|
|
264
|
+
private readonly roleReadService;
|
|
265
|
+
private readonly errorService;
|
|
266
|
+
private availableList?;
|
|
267
|
+
private assignedList?;
|
|
268
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
269
|
+
readonly savingId: _angular_core.WritableSignal<string | null>;
|
|
270
|
+
readonly role: _angular_core.WritableSignal<PortalRoleDetail | null>;
|
|
271
|
+
readonly availableCount: _angular_core.WritableSignal<number>;
|
|
272
|
+
readonly assignedCount: _angular_core.WritableSignal<number>;
|
|
273
|
+
private roleId;
|
|
274
|
+
readonly loadAvailable: (page: number, pageSize: number, term: string) => rxjs.Observable<_anvil_eco_shared_core.PagedResult<PortalPermission>>;
|
|
275
|
+
readonly loadAssigned: (page: number, pageSize: number, term: string) => rxjs.Observable<_anvil_eco_shared_core.PagedResult<PortalPermission>>;
|
|
276
|
+
ngOnInit(): void;
|
|
277
|
+
add(permission: PortalPermission): void;
|
|
278
|
+
remove(permission: PortalPermission): void;
|
|
279
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RolePermissionsComponent, never>;
|
|
280
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RolePermissionsComponent, "lib-role-permissions", never, {}, {}, never, never, true, never>;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
declare class RoleDetailComponent implements OnInit {
|
|
284
|
+
private readonly route;
|
|
285
|
+
private readonly roleReadService;
|
|
286
|
+
private readonly errorService;
|
|
287
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
288
|
+
readonly role: _angular_core.WritableSignal<PortalRoleDetail | null>;
|
|
289
|
+
ngOnInit(): void;
|
|
290
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RoleDetailComponent, never>;
|
|
291
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RoleDetailComponent, "lib-role-detail", never, {}, {}, never, never, true, never>;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
declare class RoleEditComponent implements OnInit {
|
|
295
|
+
private readonly route;
|
|
296
|
+
private readonly router;
|
|
297
|
+
private readonly roleReadService;
|
|
298
|
+
private readonly roleUpdateService;
|
|
299
|
+
private readonly authPolicyService;
|
|
300
|
+
private readonly errorService;
|
|
301
|
+
private readonly fb;
|
|
302
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
303
|
+
readonly isPrimary: _angular_core.WritableSignal<boolean>;
|
|
304
|
+
readonly form: _angular_forms.FormGroup<{
|
|
305
|
+
id: _angular_forms.FormControl<string | null>;
|
|
306
|
+
name: _angular_forms.FormControl<string | null>;
|
|
307
|
+
description: _angular_forms.FormControl<string | null>;
|
|
308
|
+
portalAuthPolicyId: _angular_forms.FormControl<string | null>;
|
|
309
|
+
}>;
|
|
310
|
+
readonly loadAuthPolicies: (searchTerm: string) => Promise<PortalAuthPolicy[]>;
|
|
311
|
+
onAuthPolicyChange(event: FilterableSelectChangeEvent): void;
|
|
312
|
+
readonly submitFn: (data: unknown) => ReturnType<RoleUpdateService["update"]>;
|
|
313
|
+
ngOnInit(): void;
|
|
314
|
+
onCancel(): void;
|
|
315
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RoleEditComponent, never>;
|
|
316
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RoleEditComponent, "lib-role-edit", never, {}, {}, never, never, true, never>;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
interface RoleNavItem {
|
|
320
|
+
label: string;
|
|
321
|
+
icon: string;
|
|
322
|
+
path: string;
|
|
323
|
+
}
|
|
324
|
+
declare class RoleDetailNavComponent implements OnInit {
|
|
325
|
+
private readonly route;
|
|
326
|
+
readonly roleId: _angular_core.WritableSignal<string>;
|
|
327
|
+
readonly navItems: _angular_core.Signal<RoleNavItem[]>;
|
|
328
|
+
ngOnInit(): void;
|
|
329
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RoleDetailNavComponent, never>;
|
|
330
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RoleDetailNavComponent, "lib-role-detail-nav", never, {}, {}, never, never, true, never>;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
declare class RoleCreateGeneralComponent {
|
|
334
|
+
private readonly fb;
|
|
335
|
+
private readonly roleCreateService;
|
|
336
|
+
private readonly errorService;
|
|
337
|
+
private readonly toast;
|
|
338
|
+
created: _angular_core.OutputEmitterRef<void>;
|
|
339
|
+
cancelled: _angular_core.OutputEmitterRef<void>;
|
|
340
|
+
readonly form: FormGroup;
|
|
341
|
+
readonly submitForm: (value: unknown) => rxjs.Observable<_anvil_eco_portal_services.PortalRole>;
|
|
342
|
+
onSuccess(): void;
|
|
343
|
+
onCancel(): void;
|
|
344
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RoleCreateGeneralComponent, never>;
|
|
345
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RoleCreateGeneralComponent, "lib-role-create-general", never, {}, { "created": "created"; "cancelled": "cancelled"; }, never, never, true, never>;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
declare class RoleCreatePrimaryComponent {
|
|
349
|
+
private readonly fb;
|
|
350
|
+
private readonly roleCreateService;
|
|
351
|
+
private readonly errorService;
|
|
352
|
+
private readonly toast;
|
|
353
|
+
created: _angular_core.OutputEmitterRef<void>;
|
|
354
|
+
cancelled: _angular_core.OutputEmitterRef<void>;
|
|
355
|
+
private readonly authPolicyService;
|
|
356
|
+
readonly form: FormGroup;
|
|
357
|
+
loadAuthPolicies: (searchTerm: string) => Promise<PortalAuthPolicy[]>;
|
|
358
|
+
onAuthPolicyChange(event: FilterableSelectChangeEvent): void;
|
|
359
|
+
readonly submitForm: (value: unknown) => rxjs.Observable<_anvil_eco_portal_services.PortalRole>;
|
|
360
|
+
onSuccess(): void;
|
|
361
|
+
onCancel(): void;
|
|
362
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RoleCreatePrimaryComponent, never>;
|
|
363
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RoleCreatePrimaryComponent, "lib-role-create-primary", never, {}, { "created": "created"; "cancelled": "cancelled"; }, never, never, true, never>;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
declare class AuthPolicyListComponent {
|
|
367
|
+
private readonly authPolicyService;
|
|
368
|
+
private readonly toast;
|
|
369
|
+
private readonly errorService;
|
|
370
|
+
private readonly auth;
|
|
371
|
+
private gridApi?;
|
|
372
|
+
private currentFilterModel;
|
|
373
|
+
private currentSortModel;
|
|
374
|
+
showCreateForm: _angular_core.WritableSignal<boolean>;
|
|
375
|
+
showEditForm: _angular_core.WritableSignal<boolean>;
|
|
376
|
+
selectedPolicy: _angular_core.WritableSignal<PortalAuthPolicy | null>;
|
|
377
|
+
showDeleteConfirm: _angular_core.WritableSignal<boolean>;
|
|
378
|
+
policyToDelete: _angular_core.WritableSignal<PortalAuthPolicy | null>;
|
|
379
|
+
showSetDefaultConfirm: _angular_core.WritableSignal<boolean>;
|
|
380
|
+
policyToSetDefault: _angular_core.WritableSignal<PortalAuthPolicy | null>;
|
|
381
|
+
protected readonly PortalPermissions: {
|
|
382
|
+
readonly Enterprise: {
|
|
383
|
+
readonly View: "3D3E9CAF-D3E6-4D94-AEA9-116B25582494";
|
|
384
|
+
readonly Update: "D7F6B90D-F186-4160-BAA4-A966504CADCD";
|
|
385
|
+
};
|
|
386
|
+
readonly Portal: {
|
|
387
|
+
readonly View: "83E0901B-AD33-410B-AC9F-5623B487F685";
|
|
388
|
+
readonly Create: "DE6193F6-C643-49AB-B0DB-8323D758914C";
|
|
389
|
+
readonly Update: "85C9B9B1-62BD-44CA-BCA6-ABE909F18050";
|
|
390
|
+
readonly Delete: "5B9541BF-D979-4A88-AE60-F53C58261BAD";
|
|
391
|
+
};
|
|
392
|
+
readonly AuthPolicies: {
|
|
393
|
+
readonly View: "E024F4E3-EF26-4233-A31D-AB29468ED2B2";
|
|
394
|
+
readonly Create: "C089E528-C745-4ACB-B23A-1620931B657E";
|
|
395
|
+
readonly Update: "319E5381-EC3C-400B-A102-F218D6EA121C";
|
|
396
|
+
readonly Delete: "74C5E3C3-7112-4A1D-818B-57DC33DF002C";
|
|
397
|
+
};
|
|
398
|
+
readonly Users: {
|
|
399
|
+
readonly View: "4CEEA978-8C8D-4C72-9449-B79175410E06";
|
|
400
|
+
readonly Create: "4DD7EAB4-5398-486F-8755-E0A0ADE0CEEB";
|
|
401
|
+
readonly Update: "8B43C463-216A-4CE4-ABAF-FE22BF2A4D05";
|
|
402
|
+
readonly Delete: "E4333B39-0299-4B00-A493-786390D81198";
|
|
403
|
+
};
|
|
404
|
+
readonly Roles: {
|
|
405
|
+
readonly View: "9FD276B3-85AA-4CC7-8A77-45F9FCE84A94";
|
|
406
|
+
readonly Create: "CDDF9BAD-422C-490E-B37E-F61AC7C91407";
|
|
407
|
+
readonly Update: "4150784C-23E1-42A4-900A-51F35E1731C5";
|
|
408
|
+
readonly Delete: "5951C7CC-4680-4662-872C-29B4715E45FE";
|
|
409
|
+
};
|
|
410
|
+
readonly RoleMembership: {
|
|
411
|
+
readonly View: "178BC890-3F9B-42B3-BD61-6813CE6739D3";
|
|
412
|
+
readonly Add: "9638B05A-624A-4000-96D3-8C0D834C0315";
|
|
413
|
+
readonly Remove: "5023555F-906F-4668-BDBF-D4A034A9AD7F";
|
|
414
|
+
};
|
|
415
|
+
readonly RolePermissions: {
|
|
416
|
+
readonly View: "B15CD95D-43F0-48AA-B254-A32534B127BF";
|
|
417
|
+
readonly Add: "DA49259F-50D5-4549-AEAE-49496407D60C";
|
|
418
|
+
readonly Remove: "0F643DEC-AAF1-491F-A247-7F9A80E717BE";
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
get setDefaultMessageBoxConfig(): MessageBoxConfig;
|
|
422
|
+
get deleteMessageBoxConfig(): MessageBoxConfig;
|
|
423
|
+
readonly rowSelection: RowSelectionOptions;
|
|
424
|
+
columnDefs: ColDef<PortalAuthPolicy>[];
|
|
425
|
+
defaultColDef: ColDef;
|
|
426
|
+
onGridReady(event: GridReadyEvent<PortalAuthPolicy>): void;
|
|
427
|
+
onFilterChanged(): void;
|
|
428
|
+
onSortChanged(): void;
|
|
429
|
+
onCellClicked(event: CellClickedEvent<PortalAuthPolicy>): void;
|
|
430
|
+
private buildDatasource;
|
|
431
|
+
private mapFilterModel;
|
|
432
|
+
onCreate(): void;
|
|
433
|
+
closeCreateForm(): void;
|
|
434
|
+
onPolicyCreated(): void;
|
|
435
|
+
onEdit(policy: PortalAuthPolicy): void;
|
|
436
|
+
closeEditForm(): void;
|
|
437
|
+
onPolicyUpdated(): void;
|
|
438
|
+
onSetDefault(policy: PortalAuthPolicy): void;
|
|
439
|
+
confirmSetDefault(): void;
|
|
440
|
+
cancelSetDefault(): void;
|
|
441
|
+
onDelete(policy: PortalAuthPolicy): void;
|
|
442
|
+
confirmDelete(): void;
|
|
443
|
+
cancelDelete(): void;
|
|
444
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthPolicyListComponent, never>;
|
|
445
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthPolicyListComponent, "lib-auth-policy-list", never, {}, {}, never, never, true, never>;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
declare class AuthPolicyFormCreateComponent {
|
|
449
|
+
private fb;
|
|
450
|
+
private authPolicyService;
|
|
451
|
+
dismissed: _angular_core.OutputEmitterRef<void>;
|
|
452
|
+
cancelled: _angular_core.OutputEmitterRef<void>;
|
|
453
|
+
created: _angular_core.OutputEmitterRef<void>;
|
|
454
|
+
form: _angular_forms.FormGroup<{
|
|
455
|
+
name: _angular_forms.FormControl<string | null>;
|
|
456
|
+
description: _angular_forms.FormControl<string | null>;
|
|
457
|
+
passwordMinLength: _angular_forms.FormControl<number | null>;
|
|
458
|
+
passwordRequireUpper: _angular_forms.FormControl<boolean | null>;
|
|
459
|
+
passwordRequireLower: _angular_forms.FormControl<boolean | null>;
|
|
460
|
+
passwordRequireDigit: _angular_forms.FormControl<boolean | null>;
|
|
461
|
+
passwordRequireNonAlphaNumeric: _angular_forms.FormControl<boolean | null>;
|
|
462
|
+
maxPasswordAttempts: _angular_forms.FormControl<number | null>;
|
|
463
|
+
passwordLifetimeDays: _angular_forms.FormControl<number | null>;
|
|
464
|
+
inactivityTerm: _angular_forms.FormControl<number | null>;
|
|
465
|
+
requireMF2: _angular_forms.FormControl<boolean | null>;
|
|
466
|
+
requireEmailVerification: _angular_forms.FormControl<boolean | null>;
|
|
467
|
+
}>;
|
|
468
|
+
submitFn: (data: unknown) => Observable<unknown>;
|
|
469
|
+
onDismiss(): void;
|
|
470
|
+
onCancel(): void;
|
|
471
|
+
onSubmitted(response: unknown): void;
|
|
472
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthPolicyFormCreateComponent, never>;
|
|
473
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthPolicyFormCreateComponent, "lib-auth-policy-form-create", never, {}, { "dismissed": "dismissed"; "cancelled": "cancelled"; "created": "created"; }, never, never, true, never>;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
declare class AuthPolicyFormEditComponent implements OnInit {
|
|
477
|
+
private fb;
|
|
478
|
+
private authPolicyService;
|
|
479
|
+
policy: _angular_core.InputSignal<PortalAuthPolicy>;
|
|
480
|
+
dismissed: _angular_core.OutputEmitterRef<void>;
|
|
481
|
+
cancelled: _angular_core.OutputEmitterRef<void>;
|
|
482
|
+
updated: _angular_core.OutputEmitterRef<void>;
|
|
483
|
+
form: _angular_forms.FormGroup<{
|
|
484
|
+
id: _angular_forms.FormControl<string | null>;
|
|
485
|
+
name: _angular_forms.FormControl<string | null>;
|
|
486
|
+
description: _angular_forms.FormControl<string | null>;
|
|
487
|
+
passwordMinLength: _angular_forms.FormControl<number | null>;
|
|
488
|
+
passwordRequireUpper: _angular_forms.FormControl<boolean | null>;
|
|
489
|
+
passwordRequireLower: _angular_forms.FormControl<boolean | null>;
|
|
490
|
+
passwordRequireDigit: _angular_forms.FormControl<boolean | null>;
|
|
491
|
+
passwordRequireNonAlphaNumeric: _angular_forms.FormControl<boolean | null>;
|
|
492
|
+
maxPasswordAttempts: _angular_forms.FormControl<number | null>;
|
|
493
|
+
passwordLifetimeDays: _angular_forms.FormControl<number | null>;
|
|
494
|
+
inactivityTerm: _angular_forms.FormControl<number | null>;
|
|
495
|
+
requireMF2: _angular_forms.FormControl<boolean | null>;
|
|
496
|
+
requireEmailVerification: _angular_forms.FormControl<boolean | null>;
|
|
497
|
+
}>;
|
|
498
|
+
submitFn: (data: unknown) => Observable<unknown>;
|
|
499
|
+
ngOnInit(): void;
|
|
500
|
+
onDismiss(): void;
|
|
501
|
+
onCancel(): void;
|
|
502
|
+
onSubmitted(response: unknown): void;
|
|
503
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthPolicyFormEditComponent, never>;
|
|
504
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthPolicyFormEditComponent, "lib-auth-policy-form-edit", never, { "policy": { "alias": "policy"; "required": true; "isSignal": true; }; }, { "dismissed": "dismissed"; "cancelled": "cancelled"; "updated": "updated"; }, never, never, true, never>;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
declare class UserListComponent {
|
|
508
|
+
private readonly usersReadService;
|
|
509
|
+
private readonly errorService;
|
|
510
|
+
private gridApi?;
|
|
511
|
+
private currentFilterModel;
|
|
512
|
+
private currentSortModel;
|
|
513
|
+
showCreateForm: _angular_core.WritableSignal<boolean>;
|
|
514
|
+
protected readonly PortalPermissions: {
|
|
515
|
+
readonly Enterprise: {
|
|
516
|
+
readonly View: "3D3E9CAF-D3E6-4D94-AEA9-116B25582494";
|
|
517
|
+
readonly Update: "D7F6B90D-F186-4160-BAA4-A966504CADCD";
|
|
518
|
+
};
|
|
519
|
+
readonly Portal: {
|
|
520
|
+
readonly View: "83E0901B-AD33-410B-AC9F-5623B487F685";
|
|
521
|
+
readonly Create: "DE6193F6-C643-49AB-B0DB-8323D758914C";
|
|
522
|
+
readonly Update: "85C9B9B1-62BD-44CA-BCA6-ABE909F18050";
|
|
523
|
+
readonly Delete: "5B9541BF-D979-4A88-AE60-F53C58261BAD";
|
|
524
|
+
};
|
|
525
|
+
readonly AuthPolicies: {
|
|
526
|
+
readonly View: "E024F4E3-EF26-4233-A31D-AB29468ED2B2";
|
|
527
|
+
readonly Create: "C089E528-C745-4ACB-B23A-1620931B657E";
|
|
528
|
+
readonly Update: "319E5381-EC3C-400B-A102-F218D6EA121C";
|
|
529
|
+
readonly Delete: "74C5E3C3-7112-4A1D-818B-57DC33DF002C";
|
|
530
|
+
};
|
|
531
|
+
readonly Users: {
|
|
532
|
+
readonly View: "4CEEA978-8C8D-4C72-9449-B79175410E06";
|
|
533
|
+
readonly Create: "4DD7EAB4-5398-486F-8755-E0A0ADE0CEEB";
|
|
534
|
+
readonly Update: "8B43C463-216A-4CE4-ABAF-FE22BF2A4D05";
|
|
535
|
+
readonly Delete: "E4333B39-0299-4B00-A493-786390D81198";
|
|
536
|
+
};
|
|
537
|
+
readonly Roles: {
|
|
538
|
+
readonly View: "9FD276B3-85AA-4CC7-8A77-45F9FCE84A94";
|
|
539
|
+
readonly Create: "CDDF9BAD-422C-490E-B37E-F61AC7C91407";
|
|
540
|
+
readonly Update: "4150784C-23E1-42A4-900A-51F35E1731C5";
|
|
541
|
+
readonly Delete: "5951C7CC-4680-4662-872C-29B4715E45FE";
|
|
542
|
+
};
|
|
543
|
+
readonly RoleMembership: {
|
|
544
|
+
readonly View: "178BC890-3F9B-42B3-BD61-6813CE6739D3";
|
|
545
|
+
readonly Add: "9638B05A-624A-4000-96D3-8C0D834C0315";
|
|
546
|
+
readonly Remove: "5023555F-906F-4668-BDBF-D4A034A9AD7F";
|
|
547
|
+
};
|
|
548
|
+
readonly RolePermissions: {
|
|
549
|
+
readonly View: "B15CD95D-43F0-48AA-B254-A32534B127BF";
|
|
550
|
+
readonly Add: "DA49259F-50D5-4549-AEAE-49496407D60C";
|
|
551
|
+
readonly Remove: "0F643DEC-AAF1-491F-A247-7F9A80E717BE";
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
readonly rowSelection: RowSelectionOptions;
|
|
555
|
+
readonly columnDefs: ColDef<PortalUserDetail>[];
|
|
556
|
+
readonly defaultColDef: ColDef;
|
|
557
|
+
onGridReady(event: GridReadyEvent<PortalUserDetail>): void;
|
|
558
|
+
onFilterChanged(): void;
|
|
559
|
+
onSortChanged(): void;
|
|
560
|
+
private buildDatasource;
|
|
561
|
+
onCreate(): void;
|
|
562
|
+
closeCreateForm(): void;
|
|
563
|
+
onUserCreated(): void;
|
|
564
|
+
private mapFilterModel;
|
|
565
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserListComponent, never>;
|
|
566
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserListComponent, "lib-user-list", never, {}, {}, never, never, true, never>;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
declare class UserDetailComponent implements OnInit {
|
|
570
|
+
private readonly route;
|
|
571
|
+
private readonly router;
|
|
572
|
+
private readonly usersReadService;
|
|
573
|
+
private readonly usersUpdateService;
|
|
574
|
+
private readonly usersDeleteService;
|
|
575
|
+
private readonly errorService;
|
|
576
|
+
private readonly authService;
|
|
577
|
+
private readonly avatarService;
|
|
578
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
579
|
+
readonly saving: _angular_core.WritableSignal<boolean>;
|
|
580
|
+
readonly user: _angular_core.WritableSignal<PortalUserDetail | null>;
|
|
581
|
+
readonly updatePermissions: "8B43C463-216A-4CE4-ABAF-FE22BF2A4D05"[];
|
|
582
|
+
readonly deletePermissions: "E4333B39-0299-4B00-A493-786390D81198"[];
|
|
583
|
+
readonly resolvedProfileAvatar: _angular_core.Signal<ResolvedAvatar>;
|
|
584
|
+
readonly avatarTypeLabel: _angular_core.Signal<string>;
|
|
585
|
+
readonly canEditUser: _angular_core.Signal<boolean>;
|
|
586
|
+
readonly showUpdateDetails: _angular_core.WritableSignal<boolean>;
|
|
587
|
+
onEditDisplayName(): void;
|
|
588
|
+
onDetailsUpdated(updated: PortalUserUpdate): void;
|
|
589
|
+
onDetailsCancelled(): void;
|
|
590
|
+
readonly showChangeEmail: _angular_core.WritableSignal<boolean>;
|
|
591
|
+
readonly showDeleteConfirm: _angular_core.WritableSignal<boolean>;
|
|
592
|
+
readonly deleteConfirmConfig: MessageBoxConfig;
|
|
593
|
+
readonly showClearPasswordConfirm: _angular_core.WritableSignal<boolean>;
|
|
594
|
+
readonly clearPasswordConfirmConfig: MessageBoxConfig;
|
|
595
|
+
private readonly pendingToggle;
|
|
596
|
+
readonly showToggleConfirm: _angular_core.WritableSignal<boolean>;
|
|
597
|
+
readonly toggleConfirmConfig: _angular_core.Signal<MessageBoxConfig>;
|
|
598
|
+
ngOnInit(): void;
|
|
599
|
+
onActivate(): void;
|
|
600
|
+
onDeactivate(): void;
|
|
601
|
+
onToggleConfirmed(): void;
|
|
602
|
+
onToggleCancelled(): void;
|
|
603
|
+
onChangeEmail(): void;
|
|
604
|
+
onEmailChanged(updated: PortalUserDetail): void;
|
|
605
|
+
onEmailCancelled(): void;
|
|
606
|
+
onClearPassword(): void;
|
|
607
|
+
onClearPasswordConfirmed(): void;
|
|
608
|
+
onClearPasswordCancelled(): void;
|
|
609
|
+
onDelete(): void;
|
|
610
|
+
onDeleteConfirmed(): void;
|
|
611
|
+
onDeleteCancelled(): void;
|
|
612
|
+
formatDate(value: string | null): string;
|
|
613
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserDetailComponent, never>;
|
|
614
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserDetailComponent, "lib-user-detail", never, {}, {}, never, never, true, never>;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
declare class UserDetailNavComponent implements OnInit {
|
|
618
|
+
private readonly route;
|
|
619
|
+
readonly userId: _angular_core.WritableSignal<string>;
|
|
620
|
+
ngOnInit(): void;
|
|
621
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserDetailNavComponent, never>;
|
|
622
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserDetailNavComponent, "lib-user-detail-nav", never, {}, {}, never, never, true, never>;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
declare class UserChangeEmailComponent implements OnInit {
|
|
626
|
+
private readonly fb;
|
|
627
|
+
private readonly usersUpdateService;
|
|
628
|
+
userId: _angular_core.InputSignal<string>;
|
|
629
|
+
currentEmail: _angular_core.InputSignal<string | null>;
|
|
630
|
+
submitted: _angular_core.OutputEmitterRef<PortalUserDetail>;
|
|
631
|
+
cancelled: _angular_core.OutputEmitterRef<void>;
|
|
632
|
+
readonly form: _angular_forms.FormGroup<{
|
|
633
|
+
email: _angular_forms.FormControl<string | null>;
|
|
634
|
+
setAsVerified: _angular_forms.FormControl<boolean | null>;
|
|
635
|
+
}>;
|
|
636
|
+
ngOnInit(): void;
|
|
637
|
+
readonly submitForm: (value: unknown) => rxjs.Observable<PortalUserDetail>;
|
|
638
|
+
onSuccess(response: unknown): void;
|
|
639
|
+
onCancel(): void;
|
|
640
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserChangeEmailComponent, never>;
|
|
641
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserChangeEmailComponent, "lib-user-change-email", never, { "userId": { "alias": "userId"; "required": true; "isSignal": true; }; "currentEmail": { "alias": "currentEmail"; "required": false; "isSignal": true; }; }, { "submitted": "submitted"; "cancelled": "cancelled"; }, never, never, true, never>;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
declare class UserRoleMembershipComponent implements OnInit {
|
|
645
|
+
private readonly route;
|
|
646
|
+
private readonly membershipService;
|
|
647
|
+
private readonly roleReadService;
|
|
648
|
+
private readonly usersReadService;
|
|
649
|
+
private readonly errorService;
|
|
650
|
+
private assignedList?;
|
|
651
|
+
private rolePicker?;
|
|
652
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
653
|
+
readonly savingId: _angular_core.WritableSignal<string | null>;
|
|
654
|
+
readonly user: _angular_core.WritableSignal<PortalUserDetail | null>;
|
|
655
|
+
readonly roleCount: _angular_core.WritableSignal<number>;
|
|
656
|
+
private userId;
|
|
657
|
+
readonly loadAssignedRoles: (page: number, pageSize: number, term: string) => rxjs.Observable<_anvil_eco_shared_core.PagedResult<PortalRole>>;
|
|
658
|
+
readonly loadAvailableRoles: (page: number, pageSize: number, term: string) => rxjs.Observable<_anvil_eco_shared_core.PagedResult<PortalRole>>;
|
|
659
|
+
ngOnInit(): void;
|
|
660
|
+
add(role: PortalRole): void;
|
|
661
|
+
remove(role: PortalRole): void;
|
|
662
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserRoleMembershipComponent, never>;
|
|
663
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserRoleMembershipComponent, "lib-user-role-membership", never, {}, {}, never, never, true, never>;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
declare class UserLoginAuditsComponent implements OnInit {
|
|
667
|
+
private readonly route;
|
|
668
|
+
private readonly usersReadService;
|
|
669
|
+
private readonly errorService;
|
|
670
|
+
private userId;
|
|
671
|
+
private gridApi?;
|
|
672
|
+
private currentFilterModel;
|
|
673
|
+
private currentSortModel;
|
|
674
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
675
|
+
readonly user: _angular_core.WritableSignal<PortalUserDetail | null>;
|
|
676
|
+
readonly totalCount: _angular_core.WritableSignal<number | null>;
|
|
677
|
+
readonly defaultColDef: ColDef;
|
|
678
|
+
readonly columnDefs: ColDef<PortalUserDetailLoginAudit>[];
|
|
679
|
+
ngOnInit(): void;
|
|
680
|
+
onGridReady(event: GridReadyEvent<PortalUserDetailLoginAudit>): void;
|
|
681
|
+
onFilterChanged(): void;
|
|
682
|
+
onSortChanged(): void;
|
|
683
|
+
private buildDatasource;
|
|
684
|
+
private mapFilterModel;
|
|
685
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserLoginAuditsComponent, never>;
|
|
686
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserLoginAuditsComponent, "lib-user-login-audits", never, {}, {}, never, never, true, never>;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
declare class UserErrorLogComponent implements OnInit {
|
|
690
|
+
private readonly route;
|
|
691
|
+
private readonly usersReadService;
|
|
692
|
+
private readonly errorEntryService;
|
|
693
|
+
private readonly errorService;
|
|
694
|
+
private userName;
|
|
695
|
+
private gridApi?;
|
|
696
|
+
private currentFilterModel;
|
|
697
|
+
private currentSortModel;
|
|
698
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
699
|
+
readonly user: _angular_core.WritableSignal<PortalUserDetail | null>;
|
|
700
|
+
readonly totalCount: _angular_core.WritableSignal<number | null>;
|
|
701
|
+
readonly showModal: _angular_core.WritableSignal<boolean>;
|
|
702
|
+
readonly selectedEntry: _angular_core.WritableSignal<ErrorEntryDetail | null>;
|
|
703
|
+
readonly defaultColDef: ColDef;
|
|
704
|
+
readonly columnDefs: ColDef<ErrorEntryDetail>[];
|
|
705
|
+
openPropertiesModal(entry: ErrorEntryDetail): void;
|
|
706
|
+
ngOnInit(): void;
|
|
707
|
+
onGridReady(event: GridReadyEvent<ErrorEntryDetail>): void;
|
|
708
|
+
onFilterChanged(): void;
|
|
709
|
+
onSortChanged(): void;
|
|
710
|
+
private buildDatasource;
|
|
711
|
+
private mapFilterModel;
|
|
712
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserErrorLogComponent, never>;
|
|
713
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserErrorLogComponent, "lib-user-error-log", never, {}, {}, never, never, true, never>;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
declare class UserProfileFormEditComponent implements OnInit {
|
|
717
|
+
private readonly route;
|
|
718
|
+
private readonly router;
|
|
719
|
+
private readonly usersReadService;
|
|
720
|
+
private readonly usersUpdateService;
|
|
721
|
+
private readonly fb;
|
|
722
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
723
|
+
readonly form: _angular_forms.FormGroup<{
|
|
724
|
+
id: _angular_forms.FormControl<string | null>;
|
|
725
|
+
givenName: _angular_forms.FormControl<string | null>;
|
|
726
|
+
surname: _angular_forms.FormControl<string | null>;
|
|
727
|
+
}>;
|
|
728
|
+
readonly submitFn: (data: unknown) => ReturnType<UsersUpdateService["updateProfile"]>;
|
|
729
|
+
initialAvatar: string;
|
|
730
|
+
readonly avatarSaveFn: (avatar: string) => rxjs.Observable<PortalUserAvatarUpdate>;
|
|
731
|
+
readonly avatarRemoveFn: () => rxjs.Observable<_anvil_eco_portal_services.PortalUserDetail>;
|
|
732
|
+
ngOnInit(): void;
|
|
733
|
+
onCancel(): void;
|
|
734
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserProfileFormEditComponent, never>;
|
|
735
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserProfileFormEditComponent, "lib-user-profile-form-edit", never, {}, {}, never, never, true, never>;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
declare class MyProfileOverviewComponent implements OnInit {
|
|
739
|
+
private readonly myProfileService;
|
|
740
|
+
private readonly avatarService;
|
|
741
|
+
private readonly router;
|
|
742
|
+
private readonly navigation;
|
|
743
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
744
|
+
readonly user: _angular_core.WritableSignal<PortalUserDetail | null>;
|
|
745
|
+
readonly displayName: _angular_core.Signal<string>;
|
|
746
|
+
readonly primaryRole: _angular_core.Signal<string>;
|
|
747
|
+
readonly currentAvatar: _angular_core.Signal<_anvil_eco_portal_services.ResolvedAvatar>;
|
|
748
|
+
readonly shortcuts: _angular_core.Signal<NavigationNode[]>;
|
|
749
|
+
ngOnInit(): void;
|
|
750
|
+
navigate(path: string): void;
|
|
751
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MyProfileOverviewComponent, never>;
|
|
752
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MyProfileOverviewComponent, "lib-my-profile-overview", never, {}, {}, never, never, true, never>;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
declare class MyProfileEmailFormComponent implements OnInit {
|
|
756
|
+
private readonly authService;
|
|
757
|
+
private readonly myProfileService;
|
|
758
|
+
private readonly router;
|
|
759
|
+
private readonly fb;
|
|
760
|
+
readonly form: _angular_forms.FormGroup<{
|
|
761
|
+
id: _angular_forms.FormControl<string | null>;
|
|
762
|
+
email: _angular_forms.FormControl<string | null>;
|
|
763
|
+
setAsVerified: _angular_forms.FormControl<boolean | null>;
|
|
764
|
+
}>;
|
|
765
|
+
readonly submitFn: (data: unknown) => rxjs.Observable<_anvil_eco_portal_services.PortalUserDetail>;
|
|
766
|
+
ngOnInit(): void;
|
|
767
|
+
onCancel(): void;
|
|
768
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MyProfileEmailFormComponent, never>;
|
|
769
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MyProfileEmailFormComponent, "lib-my-profile-email-form", never, {}, {}, never, never, true, never>;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
declare class MyProfileAvatarFormComponent implements OnInit {
|
|
773
|
+
private readonly authService;
|
|
774
|
+
private readonly myProfileService;
|
|
775
|
+
private readonly currentUserInfoService;
|
|
776
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
777
|
+
initialAvatar: string;
|
|
778
|
+
readonly saveFn: (avatar: string) => rxjs.Observable<PortalUserAvatarUpdate>;
|
|
779
|
+
readonly removeFn: () => rxjs.Observable<_anvil_eco_portal_services.PortalUserDetail>;
|
|
780
|
+
ngOnInit(): void;
|
|
781
|
+
onAvatarSaved(): void;
|
|
782
|
+
onAvatarRemoved(): void;
|
|
783
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MyProfileAvatarFormComponent, never>;
|
|
784
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MyProfileAvatarFormComponent, "lib-my-profile-avatar-form", never, {}, {}, never, never, true, never>;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
declare class MyProfileDemographicsFormComponent implements OnInit {
|
|
788
|
+
private readonly authService;
|
|
789
|
+
private readonly myProfileService;
|
|
790
|
+
private readonly currentUserInfoService;
|
|
791
|
+
private readonly router;
|
|
792
|
+
private readonly fb;
|
|
793
|
+
readonly form: _angular_forms.FormGroup<{
|
|
794
|
+
id: _angular_forms.FormControl<string | null>;
|
|
795
|
+
givenName: _angular_forms.FormControl<string | null>;
|
|
796
|
+
surname: _angular_forms.FormControl<string | null>;
|
|
797
|
+
}>;
|
|
798
|
+
readonly submitFn: (data: unknown) => rxjs.Observable<PortalUserProfileUpdate>;
|
|
799
|
+
ngOnInit(): void;
|
|
800
|
+
onCancel(): void;
|
|
801
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MyProfileDemographicsFormComponent, never>;
|
|
802
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MyProfileDemographicsFormComponent, "lib-my-profile-demographics-form", never, {}, {}, never, never, true, never>;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
declare class MyProfileResetPasswordComponent {
|
|
806
|
+
private readonly authService;
|
|
807
|
+
private readonly myProfileService;
|
|
808
|
+
private readonly errorService;
|
|
809
|
+
private readonly toastService;
|
|
810
|
+
private readonly router;
|
|
811
|
+
readonly resetting: _angular_core.WritableSignal<boolean>;
|
|
812
|
+
readonly showConfirm: _angular_core.WritableSignal<boolean>;
|
|
813
|
+
readonly confirmConfig: MessageBoxConfig;
|
|
814
|
+
promptConfirm(): void;
|
|
815
|
+
onConfirmed(): void;
|
|
816
|
+
onCancel(): void;
|
|
817
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MyProfileResetPasswordComponent, never>;
|
|
818
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MyProfileResetPasswordComponent, "lib-my-profile-reset-password", never, {}, {}, never, never, true, never>;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
declare class ErrorEntryListComponent {
|
|
822
|
+
private readonly errorEntryService;
|
|
823
|
+
private readonly errorService;
|
|
824
|
+
private gridApi?;
|
|
825
|
+
private currentFilterModel;
|
|
826
|
+
private currentSortModel;
|
|
827
|
+
readonly showModal: _angular_core.WritableSignal<boolean>;
|
|
828
|
+
readonly selectedEntry: _angular_core.WritableSignal<ErrorEntryDetail | null>;
|
|
829
|
+
readonly defaultColDef: ColDef;
|
|
830
|
+
readonly columnDefs: ColDef<ErrorEntryDetail>[];
|
|
831
|
+
openPropertiesModal(entry: ErrorEntryDetail): void;
|
|
832
|
+
onGridReady(event: GridReadyEvent<ErrorEntryDetail>): void;
|
|
833
|
+
onFilterChanged(): void;
|
|
834
|
+
onSortChanged(): void;
|
|
835
|
+
private buildDatasource;
|
|
836
|
+
private mapFilterModel;
|
|
837
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ErrorEntryListComponent, never>;
|
|
838
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ErrorEntryListComponent, "lib-error-entry-list", never, {}, {}, never, never, true, never>;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
declare class AuditLogListComponent {
|
|
842
|
+
private readonly auditLogService;
|
|
843
|
+
private readonly errorService;
|
|
844
|
+
private gridApi?;
|
|
845
|
+
private currentFilterModel;
|
|
846
|
+
private currentSortModel;
|
|
847
|
+
readonly showDetails: _angular_core.WritableSignal<boolean>;
|
|
848
|
+
readonly selectedEntry: _angular_core.WritableSignal<AuditLogDetail | null>;
|
|
849
|
+
readonly defaultColDef: ColDef;
|
|
850
|
+
readonly columnDefs: ColDef<AuditLogDetail>[];
|
|
851
|
+
openDetails(entry: AuditLogDetail): void;
|
|
852
|
+
closeDetails(): void;
|
|
853
|
+
formatJson(json: string | null): string;
|
|
854
|
+
formatChangedColumns(json: string | null): string;
|
|
855
|
+
formatTimestamp(ts: string): string;
|
|
856
|
+
onGridReady(event: GridReadyEvent<AuditLogDetail>): void;
|
|
857
|
+
onFilterChanged(): void;
|
|
858
|
+
onSortChanged(): void;
|
|
859
|
+
private buildDatasource;
|
|
860
|
+
private mapFilterModel;
|
|
861
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuditLogListComponent, never>;
|
|
862
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuditLogListComponent, "lib-audit-log-list", never, {}, {}, never, never, true, never>;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
declare class LoginAuditListComponent {
|
|
866
|
+
private readonly loginAuditService;
|
|
867
|
+
private readonly errorService;
|
|
868
|
+
private gridApi?;
|
|
869
|
+
private currentFilterModel;
|
|
870
|
+
private currentSortModel;
|
|
871
|
+
readonly defaultColDef: ColDef;
|
|
872
|
+
readonly columnDefs: ColDef<LoginAuditDetail>[];
|
|
873
|
+
onGridReady(event: GridReadyEvent<LoginAuditDetail>): void;
|
|
874
|
+
onFilterChanged(): void;
|
|
875
|
+
onSortChanged(): void;
|
|
876
|
+
private buildDatasource;
|
|
877
|
+
private mapFilterModel;
|
|
878
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LoginAuditListComponent, never>;
|
|
879
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LoginAuditListComponent, "lib-login-audit-list", never, {}, {}, never, never, true, never>;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
declare class PortalListComponent {
|
|
883
|
+
private readonly portalService;
|
|
884
|
+
private readonly errorService;
|
|
885
|
+
private gridApi?;
|
|
886
|
+
private currentFilterModel;
|
|
887
|
+
private currentSortModel;
|
|
888
|
+
protected readonly PortalPermissions: {
|
|
889
|
+
readonly Enterprise: {
|
|
890
|
+
readonly View: "3D3E9CAF-D3E6-4D94-AEA9-116B25582494";
|
|
891
|
+
readonly Update: "D7F6B90D-F186-4160-BAA4-A966504CADCD";
|
|
892
|
+
};
|
|
893
|
+
readonly Portal: {
|
|
894
|
+
readonly View: "83E0901B-AD33-410B-AC9F-5623B487F685";
|
|
895
|
+
readonly Create: "DE6193F6-C643-49AB-B0DB-8323D758914C";
|
|
896
|
+
readonly Update: "85C9B9B1-62BD-44CA-BCA6-ABE909F18050";
|
|
897
|
+
readonly Delete: "5B9541BF-D979-4A88-AE60-F53C58261BAD";
|
|
898
|
+
};
|
|
899
|
+
readonly AuthPolicies: {
|
|
900
|
+
readonly View: "E024F4E3-EF26-4233-A31D-AB29468ED2B2";
|
|
901
|
+
readonly Create: "C089E528-C745-4ACB-B23A-1620931B657E";
|
|
902
|
+
readonly Update: "319E5381-EC3C-400B-A102-F218D6EA121C";
|
|
903
|
+
readonly Delete: "74C5E3C3-7112-4A1D-818B-57DC33DF002C";
|
|
904
|
+
};
|
|
905
|
+
readonly Users: {
|
|
906
|
+
readonly View: "4CEEA978-8C8D-4C72-9449-B79175410E06";
|
|
907
|
+
readonly Create: "4DD7EAB4-5398-486F-8755-E0A0ADE0CEEB";
|
|
908
|
+
readonly Update: "8B43C463-216A-4CE4-ABAF-FE22BF2A4D05";
|
|
909
|
+
readonly Delete: "E4333B39-0299-4B00-A493-786390D81198";
|
|
910
|
+
};
|
|
911
|
+
readonly Roles: {
|
|
912
|
+
readonly View: "9FD276B3-85AA-4CC7-8A77-45F9FCE84A94";
|
|
913
|
+
readonly Create: "CDDF9BAD-422C-490E-B37E-F61AC7C91407";
|
|
914
|
+
readonly Update: "4150784C-23E1-42A4-900A-51F35E1731C5";
|
|
915
|
+
readonly Delete: "5951C7CC-4680-4662-872C-29B4715E45FE";
|
|
916
|
+
};
|
|
917
|
+
readonly RoleMembership: {
|
|
918
|
+
readonly View: "178BC890-3F9B-42B3-BD61-6813CE6739D3";
|
|
919
|
+
readonly Add: "9638B05A-624A-4000-96D3-8C0D834C0315";
|
|
920
|
+
readonly Remove: "5023555F-906F-4668-BDBF-D4A034A9AD7F";
|
|
921
|
+
};
|
|
922
|
+
readonly RolePermissions: {
|
|
923
|
+
readonly View: "B15CD95D-43F0-48AA-B254-A32534B127BF";
|
|
924
|
+
readonly Add: "DA49259F-50D5-4549-AEAE-49496407D60C";
|
|
925
|
+
readonly Remove: "0F643DEC-AAF1-491F-A247-7F9A80E717BE";
|
|
926
|
+
};
|
|
927
|
+
};
|
|
928
|
+
readonly columnDefs: ColDef<Portal>[];
|
|
929
|
+
readonly defaultColDef: ColDef;
|
|
930
|
+
onGridReady(event: GridReadyEvent<Portal>): void;
|
|
931
|
+
onFilterChanged(): void;
|
|
932
|
+
onSortChanged(): void;
|
|
933
|
+
private buildDatasource;
|
|
934
|
+
private mapFilterModel;
|
|
935
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PortalListComponent, never>;
|
|
936
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PortalListComponent, "lib-portal-list", never, {}, {}, never, never, true, never>;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
declare class PortalEditFormComponent implements OnInit {
|
|
940
|
+
private readonly portalService;
|
|
941
|
+
private readonly portalContext;
|
|
942
|
+
private readonly fb;
|
|
943
|
+
private readonly route;
|
|
944
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
945
|
+
readonly portal: _angular_core.WritableSignal<PortalDetail | null>;
|
|
946
|
+
readonly contexts: _angular_core.WritableSignal<PortalContext[]>;
|
|
947
|
+
readonly months: {
|
|
948
|
+
value: number;
|
|
949
|
+
label: string;
|
|
950
|
+
}[];
|
|
951
|
+
initialAvatar: string;
|
|
952
|
+
readonly form: _angular_forms.FormGroup<{
|
|
953
|
+
id: _angular_forms.FormControl<string | null>;
|
|
954
|
+
name: _angular_forms.FormControl<string | null>;
|
|
955
|
+
description: _angular_forms.FormControl<string | null>;
|
|
956
|
+
designContextId: _angular_forms.FormControl<string | null>;
|
|
957
|
+
fiscalYearStartMonth: _angular_forms.FormControl<number | null>;
|
|
958
|
+
fiscalYearStartDay: _angular_forms.FormControl<number | null>;
|
|
959
|
+
}>;
|
|
960
|
+
readonly submitFn: (data: unknown) => rxjs.Observable<_anvil_eco_portal_services.Portal>;
|
|
961
|
+
readonly avatarSaveFn: (avatar: string) => rxjs.Observable<_anvil_eco_portal_services.Portal>;
|
|
962
|
+
readonly avatarRemoveFn: () => rxjs.Observable<_anvil_eco_portal_services.Portal>;
|
|
963
|
+
ngOnInit(): void;
|
|
964
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PortalEditFormComponent, never>;
|
|
965
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PortalEditFormComponent, "lib-portal-edit-form", never, {}, {}, never, never, true, never>;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
declare const portalRoute: Route;
|
|
969
|
+
declare const myProfileRoute: Route;
|
|
970
|
+
declare const authRoute: Route;
|
|
971
|
+
|
|
972
|
+
export { AccessDeniedComponent, AuditLogListComponent, AuthLayoutComponent, AuthPolicyFormCreateComponent, AuthPolicyFormEditComponent, AuthPolicyListComponent, AvatarEditorComponent, EnterpriseEditFormComponent, ErrorEntryListComponent, ForgotPasswordComponent, LoginAuditListComponent, LoginEmailComponent, LoginPasswordComponent, MyProfileAvatarFormComponent, MyProfileDemographicsFormComponent, MyProfileEmailFormComponent, MyProfileOverviewComponent, MyProfileResetPasswordComponent, PortalComponents, PortalEditFormComponent, PortalListComponent, ResetPasswordComponent, RoleCreateGeneralComponent, RoleCreatePrimaryComponent, RoleDetailComponent, RoleDetailNavComponent, RoleEditComponent, RoleListComponent, RoleMembershipComponent, RolePermissionsComponent, UserChangeEmailComponent, UserDetailComponent, UserDetailNavComponent, UserErrorLogComponent, UserListComponent, UserLoginAuditsComponent, UserProfileFormEditComponent, UserRoleMembershipComponent, VerifyEmailComponent, VerifyPendingComponent, WelcomeComponent, authRoute, inferAvatarType, myProfileRoute, portalRoute };
|
|
973
|
+
//# sourceMappingURL=anvil-eco-portal-components.d.ts.map
|