vc-create-dashboard 4.0.0 → 10.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,2143 @@
1
+ import * as i0 from "@angular/core";
2
+ import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ComponentRef, ElementRef, EnvironmentInjector, EventEmitter, Injector, ModuleWithProviders, OnChanges, OnDestroy, OnInit, PipeTransform, Renderer2, SimpleChanges, Type, ViewContainerRef } from "@angular/core";
3
+ import * as i11 from "@vcomply/editor";
4
+ import { EditorConfig } from "@vcomply/editor";
5
+ import * as i27 from "ng2-date-picker";
6
+ import { DatePickerComponent, IDatePickerConfig } from "ng2-date-picker";
7
+ import { HttpClient, HttpParams } from "@angular/common/http";
8
+ import { BehaviorSubject, Observable, Subject } from "rxjs";
9
+ import { Router } from "@angular/router";
10
+ import * as i2 from "@angular/common";
11
+ import * as i10 from "@angular/forms";
12
+ import { DomSanitizer } from "@angular/platform-browser";
13
+ export declare class CreateDashboardService {
14
+ constructor();
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
17
+ }
18
+ declare class Configurations {
19
+ envConfig: any;
20
+ constructor();
21
+ }
22
+ declare class CreateDashboardService$1 {
23
+ private http;
24
+ env: any;
25
+ httpOptions: any;
26
+ constructor(http: HttpClient, config?: Configurations);
27
+ getOrganizationUsers(url?: any): import("rxjs").Observable<any>;
28
+ /**
29
+ * Fetches the OrganizationUsers details of users List to set pagination details including number of
30
+ * pages and records limit per page,
31
+ * @param url contains info about type & search query
32
+ */
33
+ getOrganizationUsersCount(url?: any): import("rxjs").Observable<any>;
34
+ getCategoryList(): import("rxjs").Observable<any[]>;
35
+ /**
36
+ * Fetches all users by making an API call
37
+ */
38
+ getAllUsers(): import("rxjs").Observable<ArrayBuffer>;
39
+ /**
40
+ * Fetches all groups by making an API call
41
+ * */
42
+ getAllGroups(params?: HttpParams): import("rxjs").Observable<Object>;
43
+ /**
44
+ * Fetches responsibilityCentersList by making an API call
45
+ */
46
+ getResponsibilityCenterList(): import("rxjs").Observable<any[]>;
47
+ getComplianceCategoriesList(): import("rxjs").Observable<any[]>;
48
+ getComplianceCategoriesListFromGlobal(): import("rxjs").Observable<any[]>;
49
+ submitDashboard(payload: any): import("rxjs").Observable<Object>;
50
+ /**
51
+ * Fetches the Dashboard details for data population to Edit the dashboard
52
+ * @param id
53
+ */
54
+ /** @deprecated Legacy Global-Dashboard edit fetch; custom dashboards use fetchCustomDashboardById + getWidgets. */
55
+ fetchDashboard(id: any): import("rxjs").Observable<ArrayBuffer>;
56
+ /**
57
+ * Edit mode only — GET Global-Dashboard/getWidgets?dashboardId={cdid}
58
+ * @param cdid Custom dashboard id (e.g. 438F8KSK22), not numeric record id
59
+ */
60
+ fetchCustomDashboardWidgetDetails(cdid: string): import("rxjs").Observable<{
61
+ widgetArr: any[];
62
+ allWidgetsArray: any[];
63
+ activeWidgetArr: any[];
64
+ }>;
65
+ normalizeWidgetDetailsResponse(res: any): {
66
+ widgetArr: any[];
67
+ allWidgetsArray: any[];
68
+ activeWidgetArr: any[];
69
+ };
70
+ getSailsProgramList(): import("rxjs").Observable<ArrayBuffer>;
71
+ getProgramCategories(programId: string | number): import("rxjs").Observable<ArrayBuffer>;
72
+ /** Full custom dashboard payload (includes responsibilityCenterId, programId, etc.). */
73
+ fetchCustomDashboardById(id: string | number): import("rxjs").Observable<ArrayBuffer>;
74
+ getUserInformation(): import("rxjs").Observable<ArrayBuffer>;
75
+ _ID(): any;
76
+ /**
77
+ * JWT timezone used until organization/?mode=users timezone is loaded.
78
+ */
79
+ getTokenTimezone(): string;
80
+ checkDuplicateDashboardName(payload: any): import("rxjs").Observable<ArrayBuffer>;
81
+ createDashboard(payload: any): import("rxjs").Observable<ArrayBuffer>;
82
+ updateDashboard(payload: any, id: any): import("rxjs").Observable<ArrayBuffer>;
83
+ saveWidgetDetails(payload: any): import("rxjs").Observable<ArrayBuffer>;
84
+ buildPayload(payload: any): {
85
+ dashboard: {
86
+ name: any;
87
+ description: any;
88
+ viewer: {
89
+ userId: any;
90
+ userGroupId: any;
91
+ };
92
+ user: {
93
+ userId: any;
94
+ userGroupId: any;
95
+ };
96
+ responsibilityCenterId: any;
97
+ programId: any;
98
+ timeframe: {
99
+ from: any;
100
+ to: any;
101
+ } | null;
102
+ };
103
+ };
104
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardService$1, [null, {
105
+ optional: true;
106
+ }]>;
107
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
108
+ }
109
+ declare class PaginationService {
110
+ currentPage: number;
111
+ searchValue: string;
112
+ currentValues: BehaviorSubject<{}>;
113
+ constructor();
114
+ setCurrentState(): void;
115
+ reset(): void;
116
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationService, never>;
117
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
118
+ }
119
+ /**
120
+ * defines listing structure for Reusable list components
121
+ */
122
+ interface UserListConfiguration {
123
+ selectedUsersList: {}[];
124
+ selectedGroupList: {}[];
125
+ nonRemovableUsersList: any[];
126
+ displayElementKey: string;
127
+ displayGroupKey: string;
128
+ groupIdkey: string;
129
+ elementIdKey: string;
130
+ tooltipKey: string;
131
+ }
132
+ interface CreateDashboardForm {
133
+ dashboardName: string;
134
+ dashboardDescriptionText: string;
135
+ selectedViewers: any[];
136
+ selectedGroup: any[];
137
+ selectedUsers: any[];
138
+ selectedUserGroups: any[];
139
+ selectedFromDate: any;
140
+ selectedToDate: any;
141
+ selectedResponsibilityCenters: any[];
142
+ selectedResponsibilityCategories: any[];
143
+ selectedRiskCategories: any[];
144
+ displayCriteria: string;
145
+ configureWidget: any[];
146
+ frequencyDetails: string;
147
+ selectedFrequencyType: string;
148
+ selectedFrequencies: any;
149
+ frequencyMessage: string;
150
+ frequencyDate: any;
151
+ }
152
+ declare class SnackBarService {
153
+ snackbarSubject: Subject<any>;
154
+ constructor();
155
+ show(message: string, icon?: string): void;
156
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarService, never>;
157
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
158
+ }
159
+ declare class PopoverService {
160
+ stopScroll: boolean;
161
+ positionX: number;
162
+ positionY: number;
163
+ popoverHeight: any;
164
+ popoverWidth: any;
165
+ elementPosition: any;
166
+ elementDirection: any;
167
+ constructor();
168
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverService, never>;
169
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
170
+ }
171
+ declare class TextCountPipe implements PipeTransform {
172
+ transform(value: any, ...args: any[]): any;
173
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextCountPipe, never>;
174
+ static ɵpipe: i0.ɵɵPipeDeclaration<TextCountPipe, "textCount", false>;
175
+ }
176
+ interface ListItem {
177
+ id: string;
178
+ name: string;
179
+ type: "regulations" | "standards" | "internal_controls" | "others";
180
+ }
181
+ export declare class CreateDashboardComponent implements OnInit, OnChanges {
182
+ private createDashboardService;
183
+ private paginationService;
184
+ private cdr;
185
+ private snackBar;
186
+ popoverService: PopoverService;
187
+ private textCount;
188
+ feature: any;
189
+ activeSelector: string;
190
+ disabled: boolean;
191
+ mode: string;
192
+ dashboardId: string;
193
+ dashboardDetails: any;
194
+ /** API dashboard object from createDashboard response (used when navigating after create). */
195
+ private createdDashboard;
196
+ /** True after CREATE API succeeds; widget save should emit `created` for app redirect. */
197
+ private redirectAfterCreate;
198
+ close: EventEmitter<any>;
199
+ createdBy: number;
200
+ fromDatePicker: DatePickerComponent;
201
+ toDatePicker: DatePickerComponent;
202
+ animation: boolean;
203
+ configureWidget: boolean;
204
+ ASSETS: any;
205
+ totalPages: number;
206
+ totalList: number;
207
+ usersList: any[];
208
+ vLoader: boolean;
209
+ userListLoaded: boolean;
210
+ groupListLoaded: boolean;
211
+ rcListLoaded: boolean;
212
+ hideToDate: boolean;
213
+ listDetails: UserListConfiguration;
214
+ /** Independent selection state for USERS & USER GROUPS (not shared with viewers). */
215
+ userFieldListDetails: UserListConfiguration;
216
+ dashboardDescription: EditorConfig;
217
+ responsibilityCategoriesTree: any;
218
+ allComplianceCategories: any[];
219
+ allRiskCategories: any[];
220
+ showRiskCategory: boolean;
221
+ showCriteria: boolean;
222
+ dashboardForm: CreateDashboardForm;
223
+ openConfigureWidgets: boolean;
224
+ selectedWidgets: any;
225
+ displayedWidgets: any;
226
+ responsibilityCentersList: any[];
227
+ datePickerOverlay: boolean;
228
+ dayNames: string[];
229
+ monthNames: string[];
230
+ quarters: string[];
231
+ showRiskWidgets: boolean;
232
+ showComplianceWidgets: boolean;
233
+ isManageRisk: boolean;
234
+ riskCategoryList: {
235
+ strategic: {
236
+ list: never[];
237
+ selectedList: never[];
238
+ };
239
+ operational: {
240
+ list: never[];
241
+ selectedList: never[];
242
+ };
243
+ compliance: {
244
+ list: never[];
245
+ selectedList: never[];
246
+ };
247
+ others: {
248
+ list: never[];
249
+ selectedList: never[];
250
+ };
251
+ };
252
+ programListUrl: any;
253
+ private readonly datePickerBaseConfig;
254
+ /** organization/?mode=users timezone; JWT timezone is the fallback. */
255
+ private userTimeZone;
256
+ fromDatePickerConfig: IDatePickerConfig;
257
+ toDatePickerConfig: IDatePickerConfig;
258
+ isSmiley: boolean;
259
+ smileyMessage: string;
260
+ groupList: any;
261
+ groupsEnabled: boolean;
262
+ totalgroups: any;
263
+ openedDatePicker: string;
264
+ selectedPrograms: any;
265
+ allProgamSelected: any[];
266
+ private pendingEditRcIds;
267
+ private pendingEditRcEntries;
268
+ private editFormHydrated;
269
+ /** Tracks in-flight EDIT hydration HTTP calls; loader stays on until zero. */
270
+ private editHydrationCount;
271
+ constructor(createDashboardService: CreateDashboardService$1, paginationService: PaginationService, cdr: ChangeDetectorRef, snackBar: SnackBarService, popoverService: PopoverService, textCount: TextCountPipe);
272
+ ngOnChanges(changes: SimpleChanges): void;
273
+ onKeydownHandler(event: KeyboardEvent): void;
274
+ ngOnInit(): void;
275
+ animateContainer(): void;
276
+ getUserInfo(): void;
277
+ /**
278
+ * Displays the listing pages the left side of policy form to set and edit the dropdown fields values
279
+ * @param type holds name of particular list is to be displayed
280
+ * @param event contains boolean value to display the list or not
281
+ */
282
+ activateSelector(type: any, event: boolean): void;
283
+ onProgramSelectionChange(items: ListItem[]): void;
284
+ selectCategory(): void;
285
+ checkDefaultProgramOnRemove(event: any): void;
286
+ removeProgram(program: any): void;
287
+ private syncProgramSelectionMapFromForm;
288
+ private hydrateProgramsFromDashboardData;
289
+ private applyFlatProgramCategories;
290
+ private applyResponsibilityCategoryWidgetFilters;
291
+ openFromDatePicker(event?: Event): void;
292
+ openToDatePicker(event?: Event): void;
293
+ closeFromDatePicker(): void;
294
+ closeToDatePicker(): void;
295
+ animateImage(): void;
296
+ saveFrequency(eventValues: any): void;
297
+ getCurrentDate(): string;
298
+ /** Disables dates before today in the VComply user timezone. */
299
+ private applyFromDateMin;
300
+ setToDate(data: string): string;
301
+ getFromDate(data: string): string;
302
+ /**
303
+ * @param data - the date you want to format
304
+ * @returns Date string in YYYY-MM-DD format, e.g. 2026-05-19
305
+ */
306
+ getDateFormate(data: string): string;
307
+ configureDashboard(): void;
308
+ /**
309
+ * Get users list by making api call and pre selects all admins by adding to viewers
310
+ * @param url contains query params for organization users api
311
+ */
312
+ getUsersList(url: any): void;
313
+ getGroupList(): void;
314
+ /**
315
+ * It is to ensure whether all required lists on Policy from is loaded from the api call or not
316
+ */
317
+ checkWhetherAllListsLoaded(): void;
318
+ setSelectedWidgets(data: any): void;
319
+ extractWidgetCodes(widgets: any[]): any[];
320
+ closeConfigureWidgets(event: boolean): void;
321
+ /**
322
+ * Filter list user's list based on pagination by making api call
323
+ * @param event specifies a boolean value to call api
324
+ */
325
+ paginationFilter(event: any): void;
326
+ getRCList(): void;
327
+ /**
328
+ * #### Description
329
+ *
330
+ * Returns the unique array of object based on unique key
331
+ * @param array
332
+ * @param key
333
+ * @returns
334
+ */
335
+ uniqueByProp(array: any, key: string): unknown[];
336
+ saveSelectedList(type: string, selectedItems: any): void;
337
+ remove(type: any, event: any, removeIndex?: any): void;
338
+ setList(list: any[], ids: any[], key: string): any[];
339
+ private setListByIds;
340
+ private flattenRcTree;
341
+ private getRcNodeId;
342
+ private collectNestedChildIds;
343
+ private isNestedRc;
344
+ private resolveAllDescendantIds;
345
+ private normalizeRcList;
346
+ private resolveRcFromTree;
347
+ private applyPreresolvedRcEntries;
348
+ private applyPendingResponsibilityCenters;
349
+ private beginEditHydration;
350
+ private finishEditHydration;
351
+ private tryCompleteEditHydration;
352
+ private wrapEditRequest;
353
+ private syncProgramsForEdit;
354
+ private applyProgramsFromDashboardIds;
355
+ private ensureProgramSelectionMapForList;
356
+ private applyProgramSelectionMap;
357
+ private categoryMatchesId;
358
+ private loadProgramsForEdit;
359
+ /** Custom dashboards often store program ids only — resolve names for form chips. */
360
+ private resolveProgramIdsForEdit;
361
+ private buildEditDashboardData;
362
+ submitted: boolean;
363
+ /**
364
+ * Returns id's from a particular list elements
365
+ * @param list actual selected list
366
+ * @param key contains key to extract id from the list
367
+ */
368
+ returnIds(list: any[], key: string): any[];
369
+ /**
370
+ * Validates the data submitted on create dashboard form
371
+ */
372
+ validateDashboard(): boolean;
373
+ /**
374
+ * Makes an api call to create a dashboad
375
+ * @param dashboard contains dashboardForm data
376
+ */
377
+ submitDashboard(): false | undefined;
378
+ closeContainer(message: string): void;
379
+ onSubmitDashboard(): void;
380
+ saveDashboard(payload: any): void;
381
+ private getCreatedDashboardCdid;
382
+ private hydrateEditForm;
383
+ private applyWidgetsFromGetWidgetsResponse;
384
+ /** EDIT mode only: GET getWidgets?dashboardId={cdid} */
385
+ private loadEditModeWidgets;
386
+ editDashboard(): void;
387
+ populateDashboardForm(data: any): void;
388
+ ngAfterViewChecked(): void;
389
+ setPermission(roleActions: any): void;
390
+ documentClick(event: MouseEvent): void;
391
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardComponent, never>;
392
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateDashboardComponent, "app-create-dashboard", never, {
393
+ "feature": {
394
+ "alias": "feature";
395
+ "required": false;
396
+ };
397
+ "mode": {
398
+ "alias": "mode";
399
+ "required": false;
400
+ };
401
+ "dashboardId": {
402
+ "alias": "dashboardId";
403
+ "required": false;
404
+ };
405
+ "dashboardDetails": {
406
+ "alias": "dashboardDetails";
407
+ "required": false;
408
+ };
409
+ "createdBy": {
410
+ "alias": "createdBy";
411
+ "required": false;
412
+ };
413
+ "configureWidget": {
414
+ "alias": "configureWidget";
415
+ "required": false;
416
+ };
417
+ }, {
418
+ "close": "close";
419
+ }, never, never, false, never>;
420
+ }
421
+ interface DashboardFooterConfig {
422
+ selectedData: any[];
423
+ displayElementKey: string;
424
+ elementId: string;
425
+ singularText: string;
426
+ pluralText: string;
427
+ showFrequency?: boolean;
428
+ frequencyText?: string;
429
+ isDisabled: boolean;
430
+ nonRemovableList: any[];
431
+ }
432
+ declare class UserListComponent implements OnInit {
433
+ paginationService: PaginationService;
434
+ private dashboardService;
435
+ closeUserList: EventEmitter<any>;
436
+ saveSelectedUsers: EventEmitter<any>;
437
+ selectionType: string;
438
+ listTitle: string;
439
+ searchPlaceholderSuffix: string;
440
+ listDetails: UserListConfiguration;
441
+ footerDetails: DashboardFooterConfig;
442
+ vLoader: boolean;
443
+ vLoaderGroups: boolean;
444
+ ASSETS: {
445
+ dashBoardIcon: string;
446
+ dashBoardUsersIcon: string;
447
+ dashBoardRcIcon: string;
448
+ dashBoardProgramIcon: string;
449
+ dashBoardRiskIcon: string;
450
+ dashBoardTimeFrameIcon: string;
451
+ dashBoardEmailSummariesIcon: string;
452
+ configure_widget: string;
453
+ overviewWidget: string;
454
+ responsibilityCalenderWidget: string;
455
+ responsibilityCenterOverviewWidget: string;
456
+ myResponsibilitiesWidget: string;
457
+ keyResponsibilitiesWidget: string;
458
+ trendAnalysisWidget: string;
459
+ workroomUpdatesWidget: string;
460
+ recentActivitiesWidget: string;
461
+ exceptionSummaryWidget: string;
462
+ riskOverviewWidget: string;
463
+ appetiteToleranceWidget: string;
464
+ inherentRCWidget: string;
465
+ residualRCWidget: string;
466
+ riskCategoryOverviewWidget: string;
467
+ riskHeatmapWidget: string;
468
+ inherentCategoriesWidget: string;
469
+ residualCategoriesWidget: string;
470
+ tenRiskRatingsWidget: string;
471
+ search_data: string;
472
+ appetite_tolerance: string;
473
+ inherent_trend: string;
474
+ residual_trend: string;
475
+ risk_trend: string;
476
+ policyApproverView: string;
477
+ responsibilitiesByAssignee: string;
478
+ };
479
+ totalPages: number;
480
+ limit: number;
481
+ totalList: number;
482
+ feature: any;
483
+ totalgroupscount: any;
484
+ searchList: never[];
485
+ searchValue: string;
486
+ searchFilter: string;
487
+ selectedIds: any[];
488
+ selectedList: any[];
489
+ groupdata: any[];
490
+ animation: boolean;
491
+ totalgroups: any;
492
+ total_group_pages: any;
493
+ selectedGroupIds: any[];
494
+ groupsEnabled: any;
495
+ selectedgroupList: any[];
496
+ currentPage: number;
497
+ constructor(paginationService: PaginationService, dashboardService: CreateDashboardService$1);
498
+ ngOnChanges(): void;
499
+ ngOnInit(): void;
500
+ cancelChanges(): void;
501
+ removeElement(event: any): void;
502
+ submitChanges(): void;
503
+ selectAll(event: any): void;
504
+ /**
505
+ * Selects all admins and managers at once by making api call.
506
+ * @param event consists boolean value to select of unselect.
507
+ */
508
+ selectAllUsers(event: any): void;
509
+ selectAllGroups(event: any): void;
510
+ selectAllsearchgroups(event: any): void;
511
+ /**
512
+ * Selects checked item from the list.
513
+ * In case of user's list calculates number of admins/manages to set visibility(either to all admins/ admins and managers)
514
+ * @param data is the selected element
515
+ */
516
+ selectElement(data: any): void;
517
+ selectGroupElement(data: any): void;
518
+ /**
519
+ * It is used to set and search value incase of backend driven list to differentiate search list and original list
520
+ */
521
+ setSearchValue(): void;
522
+ /**
523
+ * it is used check select all condition incase of backend driven search
524
+ */
525
+ checkSelectAll(): boolean;
526
+ /**
527
+ * it is used check select all groups condition incase of backend driven search
528
+ */
529
+ checkSelectAllGroups(): boolean;
530
+ /**
531
+ * Filter list user's list based on pagination by making api call
532
+ * @param event specifies a boolean value to call api
533
+ */
534
+ paginationFilter(event: any): void;
535
+ /**
536
+ * Gets user's list by making api call
537
+ * @param url contains userlist filter details
538
+ */
539
+ getUsersList(url: any): void;
540
+ getGroupsList(event: any): void;
541
+ /**
542
+ * on click on next button from the list, it emits the selected list of elements to parent component.
543
+ */
544
+ onSubmit(): void;
545
+ currentTab: string;
546
+ switchTab(tab: string): void;
547
+ getOrganizationUsersCount(Url: any): void;
548
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserListComponent, never>;
549
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserListComponent, "app-user-list", never, {
550
+ "selectionType": {
551
+ "alias": "selectionType";
552
+ "required": false;
553
+ };
554
+ "listTitle": {
555
+ "alias": "listTitle";
556
+ "required": false;
557
+ };
558
+ "searchPlaceholderSuffix": {
559
+ "alias": "searchPlaceholderSuffix";
560
+ "required": false;
561
+ };
562
+ "listDetails": {
563
+ "alias": "listDetails";
564
+ "required": false;
565
+ };
566
+ "totalPages": {
567
+ "alias": "totalPages";
568
+ "required": false;
569
+ };
570
+ "limit": {
571
+ "alias": "limit";
572
+ "required": false;
573
+ };
574
+ "totalList": {
575
+ "alias": "totalList";
576
+ "required": false;
577
+ };
578
+ "feature": {
579
+ "alias": "feature";
580
+ "required": false;
581
+ };
582
+ "totalgroupscount": {
583
+ "alias": "totalgroupscount";
584
+ "required": false;
585
+ };
586
+ }, {
587
+ "closeUserList": "closeUserList";
588
+ "saveSelectedUsers": "saveSelectedUsers";
589
+ }, never, never, false, never>;
590
+ }
591
+ declare class InsertionDirective {
592
+ viewContainerRef: ViewContainerRef;
593
+ constructor(viewContainerRef: ViewContainerRef);
594
+ static ɵfac: i0.ɵɵFactoryDeclaration<InsertionDirective, never>;
595
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InsertionDirective, "[appInsertion]", never, {}, {}, never, never, false, never>;
596
+ }
597
+ declare class DialogRef {
598
+ private readonly afterDialogClosed;
599
+ afterClosed: Observable<any>;
600
+ constructor();
601
+ close(result?: any): void;
602
+ }
603
+ declare class DialogConfig<D = any> {
604
+ data?: D;
605
+ position?: any;
606
+ background?: any;
607
+ pointer?: any;
608
+ }
609
+ declare class DialogComponent implements AfterViewInit, OnDestroy, OnInit {
610
+ private cd;
611
+ private dialogRef;
612
+ config: DialogConfig;
613
+ private router;
614
+ componentRef: ComponentRef<any>;
615
+ position: any;
616
+ background: any;
617
+ pointer: any;
618
+ insertionPoint: InsertionDirective;
619
+ animation: boolean;
620
+ private readonly onDialogClose;
621
+ onClose: import("rxjs").Observable<any>;
622
+ childComponentType: Type<any>;
623
+ constructor(cd: ChangeDetectorRef, dialogRef: DialogRef, config: DialogConfig, router: Router);
624
+ ngOnInit(): void;
625
+ routeAction(): void;
626
+ ngAfterViewInit(): void;
627
+ onOverlayClicked(evt: MouseEvent): void;
628
+ onDialogClicked(evt: MouseEvent): void;
629
+ loadChildComponent(componentType: Type<any>): void;
630
+ ngOnDestroy(): void;
631
+ close(data?: any): void;
632
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
633
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "app-dialog", never, {}, {}, never, never, false, never>;
634
+ }
635
+ declare class DialogService {
636
+ private appRef;
637
+ private injector;
638
+ private environmentInjector;
639
+ dialogComponentRef: ComponentRef<DialogComponent>;
640
+ constructor(appRef: ApplicationRef, injector: Injector, environmentInjector: EnvironmentInjector);
641
+ open(componentType: Type<any>, config: DialogConfig): DialogRef;
642
+ private appendDialogComponentToBody;
643
+ private removeDialogComponentFromBody;
644
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
645
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
646
+ }
647
+ declare class FormGroupComponent implements OnInit {
648
+ private dialog;
649
+ openCategoryList: EventEmitter<string>;
650
+ openResponsibilityCenterList: EventEmitter<string>;
651
+ openWhoCanViewThis: EventEmitter<string>;
652
+ closeCreateDashboard: EventEmitter<string>;
653
+ openFrequency: EventEmitter<string>;
654
+ disabled: boolean;
655
+ fromDatePicker: DatePickerComponent;
656
+ toDatePicker: DatePickerComponent;
657
+ datePickerOverlay: boolean;
658
+ selectedFromDate: any;
659
+ selectedToDate: any;
660
+ dashboardName: any;
661
+ dashboardDescriptionText: any;
662
+ fieldEmptyErrorMessage: string;
663
+ fieldLimitExceededErrorMessage: string;
664
+ dashboardNameNotUniqueErrorMessage: string;
665
+ dashboardNameError: string;
666
+ dashboardDescriptionError: string;
667
+ displayCriteria: string;
668
+ ASSETS: any;
669
+ constructor(dialog: DialogService);
670
+ dashboardDescription: EditorConfig;
671
+ fromDatePickerConfig: IDatePickerConfig;
672
+ toDatePickerConfig: IDatePickerConfig;
673
+ ngOnInit(): void;
674
+ openFromDatePicker(): void;
675
+ openToDatePicker(): void;
676
+ closeFromDatePicker(): void;
677
+ closeToDatePicker(): void;
678
+ animateImage(): void;
679
+ selectWhoCanViewThis(): void;
680
+ selectResponsibilityCenter(): void;
681
+ selectCategories(): void;
682
+ selectFrequency(): void;
683
+ configureDashboard(): void;
684
+ verifyFields(): boolean;
685
+ getCurrentDate(): string;
686
+ displayCriteriaSelected(event: boolean, selection: string): void;
687
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, never>;
688
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "app-form-group", never, {
689
+ "disabled": {
690
+ "alias": "disabled";
691
+ "required": false;
692
+ };
693
+ }, {
694
+ "openCategoryList": "openCategoryList";
695
+ "openResponsibilityCenterList": "openResponsibilityCenterList";
696
+ "openWhoCanViewThis": "openWhoCanViewThis";
697
+ "closeCreateDashboard": "closeCreateDashboard";
698
+ "openFrequency": "openFrequency";
699
+ }, never, never, false, never>;
700
+ }
701
+ declare class ResponsibilityCenterComponent implements OnInit, OnChanges {
702
+ saveSelectedList: EventEmitter<any>;
703
+ closeRcList: EventEmitter<any>;
704
+ responsibilityCentersList: never[];
705
+ selectedResponsibilityCenters: never[];
706
+ rcIdKey: string;
707
+ radioSelection: boolean;
708
+ ASSETS: {
709
+ dashBoardIcon: string;
710
+ dashBoardUsersIcon: string;
711
+ dashBoardRcIcon: string;
712
+ dashBoardProgramIcon: string;
713
+ dashBoardRiskIcon: string;
714
+ dashBoardTimeFrameIcon: string;
715
+ dashBoardEmailSummariesIcon: string;
716
+ configure_widget: string;
717
+ overviewWidget: string;
718
+ responsibilityCalenderWidget: string;
719
+ responsibilityCenterOverviewWidget: string;
720
+ myResponsibilitiesWidget: string;
721
+ keyResponsibilitiesWidget: string;
722
+ trendAnalysisWidget: string;
723
+ workroomUpdatesWidget: string;
724
+ recentActivitiesWidget: string;
725
+ exceptionSummaryWidget: string;
726
+ riskOverviewWidget: string;
727
+ appetiteToleranceWidget: string;
728
+ inherentRCWidget: string;
729
+ residualRCWidget: string;
730
+ riskCategoryOverviewWidget: string;
731
+ riskHeatmapWidget: string;
732
+ inherentCategoriesWidget: string;
733
+ residualCategoriesWidget: string;
734
+ tenRiskRatingsWidget: string;
735
+ search_data: string;
736
+ appetite_tolerance: string;
737
+ inherent_trend: string;
738
+ residual_trend: string;
739
+ risk_trend: string;
740
+ policyApproverView: string;
741
+ responsibilitiesByAssignee: string;
742
+ };
743
+ selectedIds: any[];
744
+ selectedIdLookup: Record<string, boolean>;
745
+ isAllSelected: boolean;
746
+ animation: boolean;
747
+ search: string;
748
+ footerDetails: DashboardFooterConfig;
749
+ constructor();
750
+ ngOnChanges(): void;
751
+ ngOnInit(): void;
752
+ isSelected(id: any): boolean;
753
+ selectRc(rc: any, mode: any): void;
754
+ deleteEvent(event: any): void;
755
+ selectAll(mode: any): void;
756
+ setList(): void;
757
+ private updateSelectionState;
758
+ private findRcById;
759
+ private getNodeId;
760
+ private resolveSelectedId;
761
+ private addSelectedIds;
762
+ private removeSelectedIds;
763
+ /** Direct and nested child RC ids for a selected parent. */
764
+ private getDescendantIds;
765
+ save(): void;
766
+ closeResponsibilityCenterList(): void;
767
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityCenterComponent, never>;
768
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResponsibilityCenterComponent, "app-responsibility-center", never, {
769
+ "responsibilityCentersList": {
770
+ "alias": "responsibilityCentersList";
771
+ "required": false;
772
+ };
773
+ "selectedResponsibilityCenters": {
774
+ "alias": "selectedResponsibilityCenters";
775
+ "required": false;
776
+ };
777
+ "rcIdKey": {
778
+ "alias": "rcIdKey";
779
+ "required": false;
780
+ };
781
+ "radioSelection": {
782
+ "alias": "radioSelection";
783
+ "required": false;
784
+ };
785
+ }, {
786
+ "saveSelectedList": "saveSelectedList";
787
+ "closeRcList": "closeRcList";
788
+ }, never, never, false, never>;
789
+ }
790
+ interface CategoriesConfig {
791
+ regulations: {
792
+ list: [];
793
+ selectedList: any[];
794
+ };
795
+ standards: {
796
+ list: [];
797
+ selectedList: any[];
798
+ };
799
+ internalControls: {
800
+ list: [];
801
+ selectedList: any[];
802
+ };
803
+ others: {
804
+ list: [];
805
+ selectedList: any[];
806
+ };
807
+ }
808
+ declare class CategoriesComponent implements OnInit {
809
+ ASSETS: {
810
+ dashBoardIcon: string;
811
+ dashBoardUsersIcon: string;
812
+ dashBoardRcIcon: string;
813
+ dashBoardProgramIcon: string;
814
+ dashBoardRiskIcon: string;
815
+ dashBoardTimeFrameIcon: string;
816
+ dashBoardEmailSummariesIcon: string;
817
+ configure_widget: string;
818
+ overviewWidget: string;
819
+ responsibilityCalenderWidget: string;
820
+ responsibilityCenterOverviewWidget: string;
821
+ myResponsibilitiesWidget: string;
822
+ keyResponsibilitiesWidget: string;
823
+ trendAnalysisWidget: string;
824
+ workroomUpdatesWidget: string;
825
+ recentActivitiesWidget: string;
826
+ exceptionSummaryWidget: string;
827
+ riskOverviewWidget: string;
828
+ appetiteToleranceWidget: string;
829
+ inherentRCWidget: string;
830
+ residualRCWidget: string;
831
+ riskCategoryOverviewWidget: string;
832
+ riskHeatmapWidget: string;
833
+ inherentCategoriesWidget: string;
834
+ residualCategoriesWidget: string;
835
+ tenRiskRatingsWidget: string;
836
+ search_data: string;
837
+ appetite_tolerance: string;
838
+ inherent_trend: string;
839
+ residual_trend: string;
840
+ risk_trend: string;
841
+ policyApproverView: string;
842
+ responsibilitiesByAssignee: string;
843
+ };
844
+ categoryList: CategoriesConfig;
845
+ allCategories: any[];
846
+ categoryIdKey: any;
847
+ selectedCategories: any[];
848
+ search: string;
849
+ activeTab: 'standards' | 'regulations' | 'internalControls' | 'others';
850
+ selectedIds: any[];
851
+ animation: boolean;
852
+ blockWidth: any;
853
+ footerDetails: DashboardFooterConfig;
854
+ saveSelectedCategory: EventEmitter<any>;
855
+ closeList: EventEmitter<any>;
856
+ closeCategoriesList: EventEmitter<any>;
857
+ constructor();
858
+ ngOnInit(): void;
859
+ selectCategory(mode: any, activeTab: any, category: any): void;
860
+ deleteEvent(event: any): void;
861
+ selectAll(mode: any, activeTab: 'standards' | 'regulations' | 'internalControls' | 'others'): void;
862
+ setList(): void;
863
+ setActiveTab(): void;
864
+ checkSelectAll(activeTab: 'standards' | 'regulations' | 'internalControls' | 'others'): boolean;
865
+ save(): void;
866
+ close(): void;
867
+ static ɵfac: i0.ɵɵFactoryDeclaration<CategoriesComponent, never>;
868
+ static ɵcmp: i0.ɵɵComponentDeclaration<CategoriesComponent, "app-categories", never, {
869
+ "categoryList": {
870
+ "alias": "categoryList";
871
+ "required": false;
872
+ };
873
+ "allCategories": {
874
+ "alias": "allCategories";
875
+ "required": false;
876
+ };
877
+ "categoryIdKey": {
878
+ "alias": "categoryIdKey";
879
+ "required": false;
880
+ };
881
+ "selectedCategories": {
882
+ "alias": "selectedCategories";
883
+ "required": false;
884
+ };
885
+ }, {
886
+ "saveSelectedCategory": "saveSelectedCategory";
887
+ "closeList": "closeList";
888
+ "closeCategoriesList": "closeCategoriesList";
889
+ }, never, never, false, never>;
890
+ }
891
+ interface RiskCategoriesConfig {
892
+ strategic: {
893
+ list: [];
894
+ selectedList: any[];
895
+ };
896
+ operational: {
897
+ list: [];
898
+ selectedList: any[];
899
+ };
900
+ compliance: {
901
+ list: [];
902
+ selectedList: any[];
903
+ };
904
+ others: {
905
+ list: [];
906
+ selectedList: any[];
907
+ };
908
+ }
909
+ declare class RiskCategoriesComponent implements OnInit {
910
+ ASSETS: {
911
+ dashBoardIcon: string;
912
+ dashBoardUsersIcon: string;
913
+ dashBoardRcIcon: string;
914
+ dashBoardProgramIcon: string;
915
+ dashBoardRiskIcon: string;
916
+ dashBoardTimeFrameIcon: string;
917
+ dashBoardEmailSummariesIcon: string;
918
+ configure_widget: string;
919
+ overviewWidget: string;
920
+ responsibilityCalenderWidget: string;
921
+ responsibilityCenterOverviewWidget: string;
922
+ myResponsibilitiesWidget: string;
923
+ keyResponsibilitiesWidget: string;
924
+ trendAnalysisWidget: string;
925
+ workroomUpdatesWidget: string;
926
+ recentActivitiesWidget: string;
927
+ exceptionSummaryWidget: string;
928
+ riskOverviewWidget: string;
929
+ appetiteToleranceWidget: string;
930
+ inherentRCWidget: string;
931
+ residualRCWidget: string;
932
+ riskCategoryOverviewWidget: string;
933
+ riskHeatmapWidget: string;
934
+ inherentCategoriesWidget: string;
935
+ residualCategoriesWidget: string;
936
+ tenRiskRatingsWidget: string;
937
+ search_data: string;
938
+ appetite_tolerance: string;
939
+ inherent_trend: string;
940
+ residual_trend: string;
941
+ risk_trend: string;
942
+ policyApproverView: string;
943
+ responsibilitiesByAssignee: string;
944
+ };
945
+ categoryList: RiskCategoriesConfig;
946
+ allCategories: any[];
947
+ categoryIdKey: any;
948
+ selectedCategories: any[];
949
+ search: string;
950
+ activeTab: 'strategic' | 'operational' | 'compliance' | 'others';
951
+ selectedIds: any[];
952
+ animation: boolean;
953
+ blockWidth: any;
954
+ footerDetails: DashboardFooterConfig;
955
+ saveSelectedCategory: EventEmitter<any>;
956
+ closeList: EventEmitter<any>;
957
+ closeCategoriesList: EventEmitter<any>;
958
+ constructor();
959
+ ngOnInit(): void;
960
+ selectCategory(mode: any, activeTab: any, category: any): void;
961
+ deleteEvent(event: any): void;
962
+ selectAll(mode: any, activeTab: string): void;
963
+ setList(): void;
964
+ setActiveTab(): void;
965
+ checkSelectAll(activeTab: string): boolean | undefined;
966
+ save(): void;
967
+ close(): void;
968
+ static ɵfac: i0.ɵɵFactoryDeclaration<RiskCategoriesComponent, never>;
969
+ static ɵcmp: i0.ɵɵComponentDeclaration<RiskCategoriesComponent, "app-risk-categories", never, {
970
+ "categoryList": {
971
+ "alias": "categoryList";
972
+ "required": false;
973
+ };
974
+ "allCategories": {
975
+ "alias": "allCategories";
976
+ "required": false;
977
+ };
978
+ "categoryIdKey": {
979
+ "alias": "categoryIdKey";
980
+ "required": false;
981
+ };
982
+ "selectedCategories": {
983
+ "alias": "selectedCategories";
984
+ "required": false;
985
+ };
986
+ }, {
987
+ "saveSelectedCategory": "saveSelectedCategory";
988
+ "closeList": "closeList";
989
+ "closeCategoriesList": "closeCategoriesList";
990
+ }, never, never, false, never>;
991
+ }
992
+ declare class FrequencyComponent implements OnInit, OnChanges {
993
+ private snackBar;
994
+ animation: boolean;
995
+ savedFrequencyTab: string | undefined;
996
+ monthlyDate: number;
997
+ quarterlyDate: number;
998
+ savedFrequencies: any;
999
+ selectedDate: any;
1000
+ frequencyTab: string;
1001
+ showFrequency: boolean;
1002
+ dayNames: string[];
1003
+ monthNames: string[];
1004
+ quarters: string[];
1005
+ selectedDays: any[];
1006
+ selectedMonths: any[];
1007
+ selectedQuarter: number;
1008
+ closeFrequencyPopup: EventEmitter<string>;
1009
+ saveFrequency: EventEmitter<any>;
1010
+ footerDetails: DashboardFooterConfig;
1011
+ showRadio: boolean;
1012
+ constructor(snackBar: SnackBarService);
1013
+ ngOnChanges(): void;
1014
+ ngOnInit(): void;
1015
+ closeFrequency(): void;
1016
+ daySelectionChange(event: any, index: any): void;
1017
+ monthSelectionChange(event: any, index: any): void;
1018
+ quarterSelectionChange(event: any, index: any): void;
1019
+ changeTab(tabValue: string): void;
1020
+ setToDefaultValues(): void;
1021
+ submitFrequency(): void;
1022
+ checkDateValidity(date: number, type: string): true | undefined;
1023
+ checkFrequencyValidity(): void;
1024
+ static ɵfac: i0.ɵɵFactoryDeclaration<FrequencyComponent, never>;
1025
+ static ɵcmp: i0.ɵɵComponentDeclaration<FrequencyComponent, "app-frequency", never, {
1026
+ "savedFrequencyTab": {
1027
+ "alias": "savedFrequencyTab";
1028
+ "required": false;
1029
+ };
1030
+ "savedFrequencies": {
1031
+ "alias": "savedFrequencies";
1032
+ "required": false;
1033
+ };
1034
+ "selectedDate": {
1035
+ "alias": "selectedDate";
1036
+ "required": false;
1037
+ };
1038
+ }, {
1039
+ "closeFrequencyPopup": "closeFrequencyPopup";
1040
+ "saveFrequency": "saveFrequency";
1041
+ }, never, never, false, never>;
1042
+ }
1043
+ declare class FilterPipe implements PipeTransform {
1044
+ transform(items: any[], searchText: string): any[];
1045
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
1046
+ static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", false>;
1047
+ }
1048
+ declare class CsCheckboxComponent implements OnInit {
1049
+ private static nextControlId;
1050
+ readonly controlId: string;
1051
+ disabled: boolean;
1052
+ ngValue: any;
1053
+ value: any;
1054
+ ngValueChange: EventEmitter<any>;
1055
+ constructor();
1056
+ ngOnInit(): void;
1057
+ valueChanged(): void;
1058
+ static ɵfac: i0.ɵɵFactoryDeclaration<CsCheckboxComponent, never>;
1059
+ static ɵcmp: i0.ɵɵComponentDeclaration<CsCheckboxComponent, "app-cs-checkbox", never, {
1060
+ "disabled": {
1061
+ "alias": "disabled";
1062
+ "required": false;
1063
+ };
1064
+ "ngValue": {
1065
+ "alias": "ngValue";
1066
+ "required": false;
1067
+ };
1068
+ "value": {
1069
+ "alias": "value";
1070
+ "required": false;
1071
+ };
1072
+ }, {
1073
+ "ngValueChange": "ngValueChange";
1074
+ }, never, ["*"], false, never>;
1075
+ }
1076
+ declare class CsRadioComponent implements OnInit {
1077
+ private static nextControlId;
1078
+ private readonly generatedId;
1079
+ inputId?: string;
1080
+ disabled: boolean;
1081
+ readonly: boolean;
1082
+ name: string;
1083
+ checked: boolean;
1084
+ value: any;
1085
+ checkedEvent: EventEmitter<any>;
1086
+ get controlId(): string;
1087
+ constructor();
1088
+ ngOnInit(): void;
1089
+ changeState(evt: any): void;
1090
+ static ɵfac: i0.ɵɵFactoryDeclaration<CsRadioComponent, never>;
1091
+ static ɵcmp: i0.ɵɵComponentDeclaration<CsRadioComponent, "app-cs-radio", never, {
1092
+ "inputId": {
1093
+ "alias": "inputId";
1094
+ "required": false;
1095
+ };
1096
+ "disabled": {
1097
+ "alias": "disabled";
1098
+ "required": false;
1099
+ };
1100
+ "readonly": {
1101
+ "alias": "readonly";
1102
+ "required": false;
1103
+ };
1104
+ "name": {
1105
+ "alias": "name";
1106
+ "required": false;
1107
+ };
1108
+ "checked": {
1109
+ "alias": "checked";
1110
+ "required": false;
1111
+ };
1112
+ "value": {
1113
+ "alias": "value";
1114
+ "required": false;
1115
+ };
1116
+ }, {
1117
+ "checkedEvent": "checkedEvent";
1118
+ }, never, ["*"], false, never>;
1119
+ }
1120
+ declare class CsSwitchComponent implements OnInit {
1121
+ disabled: boolean;
1122
+ ngValue: any;
1123
+ value: any;
1124
+ ngValueChange: EventEmitter<any>;
1125
+ tooltipMessage: any;
1126
+ position: any;
1127
+ constructor();
1128
+ ngOnInit(): void;
1129
+ valueChanged(): void;
1130
+ static ɵfac: i0.ɵɵFactoryDeclaration<CsSwitchComponent, never>;
1131
+ static ɵcmp: i0.ɵɵComponentDeclaration<CsSwitchComponent, "app-cs-switch", never, {
1132
+ "disabled": {
1133
+ "alias": "disabled";
1134
+ "required": false;
1135
+ };
1136
+ "ngValue": {
1137
+ "alias": "ngValue";
1138
+ "required": false;
1139
+ };
1140
+ "value": {
1141
+ "alias": "value";
1142
+ "required": false;
1143
+ };
1144
+ "tooltipMessage": {
1145
+ "alias": "tooltipMessage";
1146
+ "required": false;
1147
+ };
1148
+ "position": {
1149
+ "alias": "position";
1150
+ "required": false;
1151
+ };
1152
+ }, {
1153
+ "ngValueChange": "ngValueChange";
1154
+ }, never, never, false, never>;
1155
+ }
1156
+ declare class CsRadioGroupComponent implements OnInit {
1157
+ constructor();
1158
+ ngOnInit(): void;
1159
+ static ɵfac: i0.ɵɵFactoryDeclaration<CsRadioGroupComponent, never>;
1160
+ static ɵcmp: i0.ɵɵComponentDeclaration<CsRadioGroupComponent, "app-cs-radio-group", never, {}, {}, never, never, false, never>;
1161
+ }
1162
+ declare class CsFormSelectComponent implements OnChanges {
1163
+ private static nextSelectId;
1164
+ readonly selectId: string;
1165
+ dataList: any[];
1166
+ dropdownLabel: string;
1167
+ displayProperty: string;
1168
+ selectedValue: string;
1169
+ isRequired: boolean;
1170
+ dropdownSubLabel: string;
1171
+ disabled: boolean;
1172
+ option: ElementRef;
1173
+ selectedData: EventEmitter<any>;
1174
+ selectedValueChange: EventEmitter<any>;
1175
+ placeholder: any;
1176
+ stylex: any;
1177
+ valueKey: any;
1178
+ multipleSelect: any;
1179
+ colorProperty: string;
1180
+ colorSelected: string;
1181
+ colorCode: string;
1182
+ dropdownOption: boolean;
1183
+ positionReset: boolean;
1184
+ getLeft: number;
1185
+ getTop: number;
1186
+ getWidth: number;
1187
+ maxWidth: number;
1188
+ activeDoropdown: boolean;
1189
+ private optionList;
1190
+ set content(content: ElementRef);
1191
+ ngOnChanges(changes: SimpleChanges): void;
1192
+ openDropdown(event: any): void;
1193
+ selectOption(selectedData: any): void;
1194
+ closeDropdown(): void;
1195
+ static ɵfac: i0.ɵɵFactoryDeclaration<CsFormSelectComponent, never>;
1196
+ static ɵcmp: i0.ɵɵComponentDeclaration<CsFormSelectComponent, "app-cs-select", never, {
1197
+ "dataList": {
1198
+ "alias": "dataList";
1199
+ "required": false;
1200
+ };
1201
+ "dropdownLabel": {
1202
+ "alias": "dropdownLabel";
1203
+ "required": false;
1204
+ };
1205
+ "displayProperty": {
1206
+ "alias": "displayProperty";
1207
+ "required": false;
1208
+ };
1209
+ "selectedValue": {
1210
+ "alias": "selectedValue";
1211
+ "required": false;
1212
+ };
1213
+ "isRequired": {
1214
+ "alias": "isRequired";
1215
+ "required": false;
1216
+ };
1217
+ "dropdownSubLabel": {
1218
+ "alias": "dropdownSubLabel";
1219
+ "required": false;
1220
+ };
1221
+ "disabled": {
1222
+ "alias": "disabled";
1223
+ "required": false;
1224
+ };
1225
+ "placeholder": {
1226
+ "alias": "placeholder";
1227
+ "required": false;
1228
+ };
1229
+ "stylex": {
1230
+ "alias": "stylex";
1231
+ "required": false;
1232
+ };
1233
+ "valueKey": {
1234
+ "alias": "valueKey";
1235
+ "required": false;
1236
+ };
1237
+ "multipleSelect": {
1238
+ "alias": "multipleSelect";
1239
+ "required": false;
1240
+ };
1241
+ "colorProperty": {
1242
+ "alias": "colorProperty";
1243
+ "required": false;
1244
+ };
1245
+ "colorSelected": {
1246
+ "alias": "colorSelected";
1247
+ "required": false;
1248
+ };
1249
+ }, {
1250
+ "selectedData": "selectedData";
1251
+ "selectedValueChange": "selectedValueChange";
1252
+ }, never, never, false, never>;
1253
+ }
1254
+ declare class PascalPipe implements PipeTransform {
1255
+ transform(value: string, ...args: unknown[]): unknown;
1256
+ static ɵfac: i0.ɵɵFactoryDeclaration<PascalPipe, never>;
1257
+ static ɵpipe: i0.ɵɵPipeDeclaration<PascalPipe, "pascal", false>;
1258
+ }
1259
+ declare class SearchMultiSelectPipe implements PipeTransform {
1260
+ transform(value: any[], key: string, searchKey: string): any[];
1261
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchMultiSelectPipe, never>;
1262
+ static ɵpipe: i0.ɵɵPipeDeclaration<SearchMultiSelectPipe, "searchMultiSelect", false>;
1263
+ }
1264
+ declare class ClickOutsideDirective {
1265
+ private elementRef;
1266
+ constructor(elementRef: ElementRef);
1267
+ clickOutside: EventEmitter<any>;
1268
+ onMouseEnter(targetElement: any): void;
1269
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
1270
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, {}, {
1271
+ "clickOutside": "clickOutside";
1272
+ }, never, never, false, never>;
1273
+ }
1274
+ declare class ToolTipDirective implements OnInit, OnDestroy {
1275
+ private el;
1276
+ private renderer;
1277
+ tooltipTitle: string;
1278
+ placement: string;
1279
+ type: any;
1280
+ tooltipMandatory: boolean;
1281
+ showTooltip: boolean;
1282
+ animate: boolean;
1283
+ tooltip: HTMLElement;
1284
+ offset: number;
1285
+ constructor(el: ElementRef, renderer: Renderer2);
1286
+ ngOnInit(): void;
1287
+ onMouseEnter(): void;
1288
+ onMouseOver(): void;
1289
+ onMouseLeave(): void;
1290
+ onMouseOut(): void;
1291
+ onClick(): void;
1292
+ ngOnDestroy(): void;
1293
+ show(): void;
1294
+ hide(): void;
1295
+ create(): void;
1296
+ setPosition(): void;
1297
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolTipDirective, never>;
1298
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToolTipDirective, "[arTooltip]", never, {
1299
+ "tooltipTitle": {
1300
+ "alias": "arTooltip";
1301
+ "required": false;
1302
+ };
1303
+ "placement": {
1304
+ "alias": "placement";
1305
+ "required": false;
1306
+ };
1307
+ "type": {
1308
+ "alias": "type";
1309
+ "required": false;
1310
+ };
1311
+ "tooltipMandatory": {
1312
+ "alias": "tooltipMandatory";
1313
+ "required": false;
1314
+ };
1315
+ "showTooltip": {
1316
+ "alias": "showTooltip";
1317
+ "required": false;
1318
+ };
1319
+ "animate": {
1320
+ "alias": "animate";
1321
+ "required": false;
1322
+ };
1323
+ }, {}, never, never, false, never>;
1324
+ }
1325
+ declare class TooltipModule {
1326
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
1327
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof ToolTipDirective], [typeof i2.CommonModule], [typeof ToolTipDirective]>;
1328
+ static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
1329
+ }
1330
+ declare class FormgroupModule {
1331
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormgroupModule, never>;
1332
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormgroupModule, [typeof CsCheckboxComponent, typeof CsRadioComponent, typeof CsSwitchComponent, typeof CsRadioGroupComponent, typeof CsFormSelectComponent, typeof PascalPipe, typeof SearchMultiSelectPipe, typeof ClickOutsideDirective], [typeof i2.CommonModule, typeof i10.FormsModule, typeof TooltipModule], [typeof CsCheckboxComponent, typeof CsRadioComponent, typeof CsSwitchComponent, typeof CsRadioGroupComponent, typeof CsFormSelectComponent, typeof SearchMultiSelectPipe]>;
1333
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormgroupModule>;
1334
+ }
1335
+ declare class CsSelectComponent implements OnInit {
1336
+ dropdownLabel: string;
1337
+ dropdownSubLabel: string;
1338
+ isRequired: string;
1339
+ placeholder: string;
1340
+ dropdownToggle: boolean;
1341
+ positionReset: boolean;
1342
+ getLeft: number;
1343
+ getTop: number;
1344
+ getWidth: number;
1345
+ maxWidth: number;
1346
+ valuePlaceholder: string;
1347
+ private optionList;
1348
+ set content(content: ElementRef);
1349
+ name: string;
1350
+ val: string;
1351
+ showOptions: boolean;
1352
+ constructor();
1353
+ ngOnInit(): void;
1354
+ onChange: any;
1355
+ onTouch: any;
1356
+ set RadioVal(val: any);
1357
+ writeValue(value: any): void;
1358
+ registerOnChange(fn: any): void;
1359
+ registerOnTouched(fn: any): void;
1360
+ openDropdown(event: any): void;
1361
+ closeDropdown(): void;
1362
+ static ɵfac: i0.ɵɵFactoryDeclaration<CsSelectComponent, never>;
1363
+ static ɵcmp: i0.ɵɵComponentDeclaration<CsSelectComponent, "cs-select", never, {
1364
+ "dropdownLabel": {
1365
+ "alias": "dropdownLabel";
1366
+ "required": false;
1367
+ };
1368
+ "dropdownSubLabel": {
1369
+ "alias": "dropdownSubLabel";
1370
+ "required": false;
1371
+ };
1372
+ "isRequired": {
1373
+ "alias": "isRequired";
1374
+ "required": false;
1375
+ };
1376
+ "placeholder": {
1377
+ "alias": "placeholder";
1378
+ "required": false;
1379
+ };
1380
+ }, {}, never, ["cs-option"], false, never>;
1381
+ }
1382
+ declare class CsSelectService {
1383
+ color: any;
1384
+ constructor();
1385
+ static ɵfac: i0.ɵɵFactoryDeclaration<CsSelectService, never>;
1386
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1387
+ }
1388
+ declare class CsOptionComponent implements OnInit {
1389
+ csSelect: CsSelectComponent;
1390
+ colorSelector: CsSelectService;
1391
+ private static nextControlId;
1392
+ readonly controlId: string;
1393
+ value: string;
1394
+ option: ElementRef;
1395
+ color: any;
1396
+ constructor(csSelect: CsSelectComponent, colorSelector: CsSelectService);
1397
+ ngOnInit(): void;
1398
+ change(event: any): void;
1399
+ static ɵfac: i0.ɵɵFactoryDeclaration<CsOptionComponent, never>;
1400
+ static ɵcmp: i0.ɵɵComponentDeclaration<CsOptionComponent, "cs-option", never, {
1401
+ "value": {
1402
+ "alias": "value";
1403
+ "required": false;
1404
+ };
1405
+ "color": {
1406
+ "alias": "color";
1407
+ "required": false;
1408
+ };
1409
+ }, {}, never, ["*"], false, never>;
1410
+ }
1411
+ declare class SafeHtmlPipe implements PipeTransform {
1412
+ private sanitizer;
1413
+ constructor(sanitizer: DomSanitizer);
1414
+ transform(html: any): string;
1415
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
1416
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", false>;
1417
+ }
1418
+ declare class SelectModule {
1419
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
1420
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof CsSelectComponent, typeof CsOptionComponent, typeof SafeHtmlPipe], [typeof i10.FormsModule, typeof i2.CommonModule], [typeof CsSelectComponent, typeof CsOptionComponent]>;
1421
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
1422
+ }
1423
+ declare class DashboardFooterComponent implements OnInit {
1424
+ cancelEvent: EventEmitter<any>;
1425
+ submitEvent: EventEmitter<any>;
1426
+ deleteEvent: EventEmitter<any>;
1427
+ footerDetails: DashboardFooterConfig;
1428
+ userButtonColor: string;
1429
+ constructor();
1430
+ ngOnInit(): void;
1431
+ cancelFloatingBar(): void;
1432
+ submitFloatingBar(): void;
1433
+ deleteSelected(element: any): void;
1434
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardFooterComponent, never>;
1435
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardFooterComponent, "app-dashboard-footer", never, {
1436
+ "footerDetails": {
1437
+ "alias": "footerDetails";
1438
+ "required": false;
1439
+ };
1440
+ "userButtonColor": {
1441
+ "alias": "userButtonColor";
1442
+ "required": false;
1443
+ };
1444
+ }, {
1445
+ "cancelEvent": "cancelEvent";
1446
+ "submitEvent": "submitEvent";
1447
+ "deleteEvent": "deleteEvent";
1448
+ }, never, never, false, never>;
1449
+ }
1450
+ declare class PopoverComponent implements OnInit {
1451
+ popoverService: PopoverService;
1452
+ dontCloseonClick: boolean;
1453
+ popoverContainer: boolean;
1454
+ popoverRatio: ElementRef;
1455
+ popoverContent: ElementRef;
1456
+ closedOnOverlay: EventEmitter<any>;
1457
+ constructor(popoverService: PopoverService);
1458
+ showPopover: boolean;
1459
+ leftValue: any;
1460
+ topValue: any;
1461
+ popoverHeight: any;
1462
+ popoverWidth: any;
1463
+ positionX: number;
1464
+ positionY: number;
1465
+ ngOnInit(): void;
1466
+ popover(): boolean;
1467
+ popoverEvent(): boolean;
1468
+ closePopover(top?: string): void;
1469
+ close(): void;
1470
+ clickedPopover(): void;
1471
+ getPosition(): void;
1472
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
1473
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "app-popover", never, {
1474
+ "dontCloseonClick": {
1475
+ "alias": "dontCloseonClick";
1476
+ "required": false;
1477
+ };
1478
+ }, {
1479
+ "closedOnOverlay": "closedOnOverlay";
1480
+ }, never, ["*"], false, never>;
1481
+ }
1482
+ declare class PopoverDirective {
1483
+ private elRef;
1484
+ private popoverService;
1485
+ dynamicComponent: any;
1486
+ refrence: any;
1487
+ placement: string;
1488
+ leftValue: any;
1489
+ topValue: any;
1490
+ constructor(elRef: ElementRef, popoverService: PopoverService);
1491
+ click(): void;
1492
+ getPosition(): void;
1493
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
1494
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[appPopover]", never, {
1495
+ "refrence": {
1496
+ "alias": "refrence";
1497
+ "required": false;
1498
+ };
1499
+ "placement": {
1500
+ "alias": "placement";
1501
+ "required": false;
1502
+ };
1503
+ }, {}, never, never, false, never>;
1504
+ }
1505
+ declare class PopoverModule {
1506
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverModule, never>;
1507
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PopoverModule, [typeof PopoverComponent, typeof PopoverDirective], [typeof i2.CommonModule], [typeof PopoverComponent, typeof PopoverDirective]>;
1508
+ static ɵinj: i0.ɵɵInjectorDeclaration<PopoverModule>;
1509
+ }
1510
+ declare class DashboardFooterModule {
1511
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardFooterModule, never>;
1512
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardFooterModule, [typeof DashboardFooterComponent], [typeof i2.CommonModule, typeof PopoverModule, typeof TooltipModule], [typeof DashboardFooterComponent]>;
1513
+ static ɵinj: i0.ɵɵInjectorDeclaration<DashboardFooterModule>;
1514
+ }
1515
+ declare class PaginationComponent implements OnInit, OnChanges {
1516
+ private paginationService;
1517
+ start: number;
1518
+ totalCount: number;
1519
+ paginationArray: any[];
1520
+ currentPage: number;
1521
+ totalPages: number;
1522
+ limit: number;
1523
+ totalList: number;
1524
+ paginationFilter: EventEmitter<any>;
1525
+ constructor(paginationService: PaginationService);
1526
+ ngOnChanges(): void;
1527
+ ngOnInit(): void;
1528
+ rebuildPagination(currentPage: number, totalCount: number): void;
1529
+ changePage(prev: string, page: number, next: string): void;
1530
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
1531
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "app-pagination", never, {
1532
+ "totalPages": {
1533
+ "alias": "totalPages";
1534
+ "required": false;
1535
+ };
1536
+ "limit": {
1537
+ "alias": "limit";
1538
+ "required": false;
1539
+ };
1540
+ "totalList": {
1541
+ "alias": "totalList";
1542
+ "required": false;
1543
+ };
1544
+ }, {
1545
+ "paginationFilter": "paginationFilter";
1546
+ }, never, never, false, never>;
1547
+ }
1548
+ declare class PaginationModule {
1549
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationModule, never>;
1550
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, [typeof PaginationComponent], [typeof i2.CommonModule], [typeof PaginationComponent]>;
1551
+ static ɵinj: i0.ɵɵInjectorDeclaration<PaginationModule>;
1552
+ }
1553
+ declare class FloatingBarComponent implements OnInit {
1554
+ private snackBar;
1555
+ cancelEvent: EventEmitter<string>;
1556
+ submitEvent: EventEmitter<string>;
1557
+ deleteEvent: EventEmitter<number>;
1558
+ text: boolean;
1559
+ frequencyMessage: any;
1560
+ singleCategory: any;
1561
+ selectedData: any;
1562
+ constructor(snackBar: SnackBarService);
1563
+ ngOnInit(): void;
1564
+ cancelFloatingBar(): void;
1565
+ submitFloatingBar(): void;
1566
+ deleteSelected(index: number): void;
1567
+ static ɵfac: i0.ɵɵFactoryDeclaration<FloatingBarComponent, never>;
1568
+ static ɵcmp: i0.ɵɵComponentDeclaration<FloatingBarComponent, "floating-bar", never, {
1569
+ "text": {
1570
+ "alias": "text";
1571
+ "required": false;
1572
+ };
1573
+ "frequencyMessage": {
1574
+ "alias": "frequencyMessage";
1575
+ "required": false;
1576
+ };
1577
+ "singleCategory": {
1578
+ "alias": "singleCategory";
1579
+ "required": false;
1580
+ };
1581
+ "selectedData": {
1582
+ "alias": "selectedData";
1583
+ "required": false;
1584
+ };
1585
+ }, {
1586
+ "cancelEvent": "cancelEvent";
1587
+ "submitEvent": "submitEvent";
1588
+ "deleteEvent": "deleteEvent";
1589
+ }, never, never, false, never>;
1590
+ }
1591
+ declare class FloatingBarModule {
1592
+ static ɵfac: i0.ɵɵFactoryDeclaration<FloatingBarModule, never>;
1593
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FloatingBarModule, [typeof FloatingBarComponent], [typeof i2.CommonModule, typeof PopoverModule, typeof TooltipModule], [typeof FloatingBarComponent]>;
1594
+ static ɵinj: i0.ɵɵInjectorDeclaration<FloatingBarModule>;
1595
+ }
1596
+ declare class DialogModule {
1597
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
1598
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, [typeof DialogComponent, typeof InsertionDirective], [typeof i2.CommonModule], never>;
1599
+ static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
1600
+ }
1601
+ declare class ConfigureWidgetsService {
1602
+ private http;
1603
+ env: any;
1604
+ constructor(http: HttpClient, config?: Configurations);
1605
+ riskWidgetsData: {
1606
+ title: string;
1607
+ id: string;
1608
+ description: string;
1609
+ widgetImage: string;
1610
+ value: number;
1611
+ }[];
1612
+ auditWidgetsData: never[];
1613
+ policyWidgetsData: never[];
1614
+ dashBoardWidgetUpdate(widGetJson: any): import("rxjs").Observable<Object>;
1615
+ moduleType(identifier: string): "RISK" | undefined;
1616
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsService, [null, {
1617
+ optional: true;
1618
+ }]>;
1619
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1620
+ }
1621
+ interface widgetDataModel {
1622
+ title: string;
1623
+ id?: string;
1624
+ description?: string;
1625
+ widgetImage?: string;
1626
+ value: number;
1627
+ subWidgets: [];
1628
+ }
1629
+ interface widgetConfig {
1630
+ title: string;
1631
+ id: string;
1632
+ description: string;
1633
+ widgetImage: string;
1634
+ value: boolean;
1635
+ module: 'COMPLIANCE';
1636
+ subWidgets: [];
1637
+ }
1638
+ declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
1639
+ private dialog;
1640
+ configureWidgetsService: ConfigureWidgetsService;
1641
+ private snackBar;
1642
+ widgetsDataModified: EventEmitter<any>;
1643
+ closeConfigureWidgets: EventEmitter<any>;
1644
+ checkboxStatus: any;
1645
+ search: string;
1646
+ checkedArray: Array<{
1647
+ index: number;
1648
+ status: number;
1649
+ }>;
1650
+ selectedWidgets: Array<widgetDataModel>;
1651
+ ASSETS: {
1652
+ dashBoardIcon: string;
1653
+ dashBoardUsersIcon: string;
1654
+ dashBoardRcIcon: string;
1655
+ dashBoardProgramIcon: string;
1656
+ dashBoardRiskIcon: string;
1657
+ dashBoardTimeFrameIcon: string;
1658
+ dashBoardEmailSummariesIcon: string;
1659
+ configure_widget: string;
1660
+ overviewWidget: string;
1661
+ responsibilityCalenderWidget: string;
1662
+ responsibilityCenterOverviewWidget: string;
1663
+ myResponsibilitiesWidget: string;
1664
+ keyResponsibilitiesWidget: string;
1665
+ trendAnalysisWidget: string;
1666
+ workroomUpdatesWidget: string;
1667
+ recentActivitiesWidget: string;
1668
+ exceptionSummaryWidget: string;
1669
+ riskOverviewWidget: string;
1670
+ appetiteToleranceWidget: string;
1671
+ inherentRCWidget: string;
1672
+ residualRCWidget: string;
1673
+ riskCategoryOverviewWidget: string;
1674
+ riskHeatmapWidget: string;
1675
+ inherentCategoriesWidget: string;
1676
+ residualCategoriesWidget: string;
1677
+ tenRiskRatingsWidget: string;
1678
+ search_data: string;
1679
+ appetite_tolerance: string;
1680
+ inherent_trend: string;
1681
+ residual_trend: string;
1682
+ risk_trend: string;
1683
+ policyApproverView: string;
1684
+ responsibilitiesByAssignee: string;
1685
+ };
1686
+ module: 'COMPLIANCE' | 'RISK';
1687
+ selectedWidgetsData: any;
1688
+ displayedWidgets: any;
1689
+ showRisk: boolean;
1690
+ showCompliance: boolean;
1691
+ mode: string;
1692
+ noDataText: string;
1693
+ selectedWidgetIds: any;
1694
+ subResponsibilitiesSelected: boolean;
1695
+ subKeyResponsibilitiesSelected: boolean;
1696
+ showWidgets: boolean;
1697
+ complianceWidgetsDisplayCount: number;
1698
+ riskWidgetsDisplayCount: number;
1699
+ constructor(dialog: DialogRef, configureWidgetsService: ConfigureWidgetsService, snackBar: SnackBarService);
1700
+ ngOnChanges(): void;
1701
+ /** EDIT: show full widget catalog; check items present in getWidgets widgetArr. */
1702
+ private applyEditModeWidgetCatalog;
1703
+ /** CREATE: limit visible tiles to displayedWidgets when provided. */
1704
+ private applyCreateModeWidgetVisibility;
1705
+ private applySavedWidgetSelection;
1706
+ ngOnInit(): void;
1707
+ widgetsList: {
1708
+ COMPLIANCE: ({
1709
+ title: string;
1710
+ id: string;
1711
+ description: string;
1712
+ widgetImage: string;
1713
+ value: boolean;
1714
+ visibility: boolean;
1715
+ module: string;
1716
+ subWidgets: never[];
1717
+ tabOption?: undefined;
1718
+ } | {
1719
+ title: string;
1720
+ id: string;
1721
+ description: string;
1722
+ widgetImage: string;
1723
+ tabOption: boolean;
1724
+ value: boolean;
1725
+ visibility: boolean;
1726
+ module: string;
1727
+ subWidgets: {
1728
+ title: string;
1729
+ id: string;
1730
+ value: boolean;
1731
+ visibility: boolean;
1732
+ }[];
1733
+ })[];
1734
+ };
1735
+ selectWidget(event: any, module: 'COMPLIANCE', widgetId: string, subWidgetId?: string): void;
1736
+ setSelectedWidgets(): void;
1737
+ removeWidget(widget: widgetConfig): void;
1738
+ onNextClick(): void;
1739
+ closeConfigureDashboard(): void;
1740
+ setWidgetsVisibilityToFalse(): void;
1741
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsComponent, never>;
1742
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfigureWidgetsComponent, "app-configure-widgets", never, {
1743
+ "selectedWidgetsData": {
1744
+ "alias": "selectedWidgetsData";
1745
+ "required": false;
1746
+ };
1747
+ "displayedWidgets": {
1748
+ "alias": "displayedWidgets";
1749
+ "required": false;
1750
+ };
1751
+ "showRisk": {
1752
+ "alias": "showRisk";
1753
+ "required": false;
1754
+ };
1755
+ "showCompliance": {
1756
+ "alias": "showCompliance";
1757
+ "required": false;
1758
+ };
1759
+ "mode": {
1760
+ "alias": "mode";
1761
+ "required": false;
1762
+ };
1763
+ }, {
1764
+ "widgetsDataModified": "widgetsDataModified";
1765
+ "closeConfigureWidgets": "closeConfigureWidgets";
1766
+ }, never, never, false, never>;
1767
+ }
1768
+ declare class SearchPipe implements PipeTransform {
1769
+ transform(value: any, args?: any): any;
1770
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchPipe, never>;
1771
+ static ɵpipe: i0.ɵɵPipeDeclaration<SearchPipe, "search", false>;
1772
+ }
1773
+ declare class ScrollInViewDirective implements OnChanges {
1774
+ private el;
1775
+ appScrollInView: boolean;
1776
+ constructor(el: ElementRef);
1777
+ ngOnChanges(change: SimpleChanges): void;
1778
+ ngAfterViewInit(): void;
1779
+ scroll(): void;
1780
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollInViewDirective, never>;
1781
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollInViewDirective, "[appScrollInView]", never, {
1782
+ "appScrollInView": {
1783
+ "alias": "appScrollInView";
1784
+ "required": false;
1785
+ };
1786
+ }, {}, never, never, false, never>;
1787
+ }
1788
+ declare class DirectivesModule {
1789
+ static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
1790
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof ScrollInViewDirective], [typeof i2.CommonModule], [typeof ScrollInViewDirective]>;
1791
+ static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
1792
+ }
1793
+ declare class NoDataComponent implements OnInit {
1794
+ action: any;
1795
+ noDataImage: string;
1796
+ noDataText: string;
1797
+ noDataButton: string | boolean;
1798
+ noDataSecButton: string | boolean;
1799
+ altText: string;
1800
+ buttonAction: EventEmitter<object>;
1801
+ smallButton: boolean;
1802
+ buttonIcon: any;
1803
+ iconClass: any;
1804
+ constructor();
1805
+ ngOnInit(): void;
1806
+ actionEmitter(button: object): void;
1807
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoDataComponent, never>;
1808
+ static ɵcmp: i0.ɵɵComponentDeclaration<NoDataComponent, "app-no-data", never, {
1809
+ "action": {
1810
+ "alias": "action";
1811
+ "required": false;
1812
+ };
1813
+ "noDataImage": {
1814
+ "alias": "noDataImage";
1815
+ "required": false;
1816
+ };
1817
+ "noDataText": {
1818
+ "alias": "noDataText";
1819
+ "required": false;
1820
+ };
1821
+ "noDataButton": {
1822
+ "alias": "noDataButton";
1823
+ "required": false;
1824
+ };
1825
+ "noDataSecButton": {
1826
+ "alias": "noDataSecButton";
1827
+ "required": false;
1828
+ };
1829
+ "altText": {
1830
+ "alias": "altText";
1831
+ "required": false;
1832
+ };
1833
+ "smallButton": {
1834
+ "alias": "smallButton";
1835
+ "required": false;
1836
+ };
1837
+ "buttonIcon": {
1838
+ "alias": "buttonIcon";
1839
+ "required": false;
1840
+ };
1841
+ "iconClass": {
1842
+ "alias": "iconClass";
1843
+ "required": false;
1844
+ };
1845
+ }, {
1846
+ "buttonAction": "buttonAction";
1847
+ }, never, never, false, never>;
1848
+ }
1849
+ declare class NoDataModule {
1850
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoDataModule, never>;
1851
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NoDataModule, [typeof NoDataComponent], [typeof i2.CommonModule], [typeof NoDataComponent]>;
1852
+ static ɵinj: i0.ɵɵInjectorDeclaration<NoDataModule>;
1853
+ }
1854
+ declare class ConfigureWidgetsModule {
1855
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsModule, never>;
1856
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigureWidgetsModule, [typeof ConfigureWidgetsComponent, typeof SearchPipe], [typeof i2.CommonModule, typeof FloatingBarModule, typeof FormgroupModule, typeof i10.FormsModule, typeof DirectivesModule, typeof NoDataModule, typeof i2.NgOptimizedImage], [typeof ConfigureWidgetsComponent]>;
1857
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfigureWidgetsModule>;
1858
+ }
1859
+ declare class LoaderComponent implements OnInit {
1860
+ vLoader: any;
1861
+ env: any;
1862
+ constructor(config?: Configurations);
1863
+ ngOnInit(): void;
1864
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, [{
1865
+ optional: true;
1866
+ }]>;
1867
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "app-loader", never, {}, {}, never, never, false, never>;
1868
+ }
1869
+ declare class LoaderInlineComponent implements OnInit {
1870
+ vLoader: any;
1871
+ env: any;
1872
+ constructor(config?: Configurations);
1873
+ ngOnInit(): void;
1874
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoaderInlineComponent, [{
1875
+ optional: true;
1876
+ }]>;
1877
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoaderInlineComponent, "app-loader-inline", never, {}, {}, never, never, false, never>;
1878
+ }
1879
+ declare class VLoaderModule {
1880
+ static ɵfac: i0.ɵɵFactoryDeclaration<VLoaderModule, never>;
1881
+ static ɵmod: i0.ɵɵNgModuleDeclaration<VLoaderModule, [typeof LoaderComponent, typeof LoaderInlineComponent], [typeof i2.CommonModule, typeof i2.NgOptimizedImage], [typeof LoaderComponent, typeof LoaderInlineComponent]>;
1882
+ static ɵinj: i0.ɵɵInjectorDeclaration<VLoaderModule>;
1883
+ }
1884
+ declare class SnackBarComponent implements OnInit {
1885
+ private snackbarService;
1886
+ show: boolean;
1887
+ message: string;
1888
+ icon: string;
1889
+ type: string;
1890
+ icons: any;
1891
+ constructor(snackbarService: SnackBarService);
1892
+ ngOnInit(): void;
1893
+ close(): void;
1894
+ ngOnDestroy(): void;
1895
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarComponent, never>;
1896
+ static ɵcmp: i0.ɵɵComponentDeclaration<SnackBarComponent, "app-snack-bar", never, {}, {}, never, never, false, never>;
1897
+ }
1898
+ declare class SnackBarModule {
1899
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarModule, never>;
1900
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SnackBarModule, [typeof SnackBarComponent], [typeof i2.CommonModule], [typeof SnackBarComponent]>;
1901
+ static ɵinj: i0.ɵɵInjectorDeclaration<SnackBarModule>;
1902
+ }
1903
+ declare class SmileyDialogComponent implements OnInit {
1904
+ message: string;
1905
+ autoClose: boolean;
1906
+ actionButtons: any[];
1907
+ action: EventEmitter<string>;
1908
+ closeSmiley: EventEmitter<any>;
1909
+ handleKeyboardEvent(event: KeyboardEvent): void;
1910
+ constructor();
1911
+ ngOnInit(): void;
1912
+ close(): void;
1913
+ actionEmitter(event: any): void;
1914
+ smileyCloseEmitter(event: any): void;
1915
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmileyDialogComponent, never>;
1916
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmileyDialogComponent, "app-smiley-dialog", never, {
1917
+ "message": {
1918
+ "alias": "message";
1919
+ "required": false;
1920
+ };
1921
+ "autoClose": {
1922
+ "alias": "autoClose";
1923
+ "required": false;
1924
+ };
1925
+ "actionButtons": {
1926
+ "alias": "actionButtons";
1927
+ "required": false;
1928
+ };
1929
+ }, {
1930
+ "action": "action";
1931
+ "closeSmiley": "closeSmiley";
1932
+ }, never, never, false, never>;
1933
+ }
1934
+ declare class SmileyDialogModule {
1935
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmileyDialogModule, never>;
1936
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmileyDialogModule, [typeof SmileyDialogComponent], [typeof i2.CommonModule], [typeof SmileyDialogComponent]>;
1937
+ static ɵinj: i0.ɵɵInjectorDeclaration<SmileyDialogModule>;
1938
+ }
1939
+ declare class ListUtilsService {
1940
+ paginate<T>(items: T[], currentPage: number, pageSize: number): T[];
1941
+ getPageNumbers(totalItems: number, pageSize: number): number[];
1942
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListUtilsService, never>;
1943
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1944
+ }
1945
+ declare class ProgramListApiService {
1946
+ private http;
1947
+ env: any;
1948
+ constructor(http: HttpClient, config?: Configurations);
1949
+ getProgramList(apiUrl: string): Observable<any>;
1950
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListApiService, [null, {
1951
+ optional: true;
1952
+ }]>;
1953
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1954
+ }
1955
+ declare class ProgramListComponent<T extends ListItem> implements OnInit, OnChanges, OnDestroy {
1956
+ private listUtils;
1957
+ private programListApiService;
1958
+ /** Array of items to be displayed in the list */
1959
+ items: T[];
1960
+ /** Object containing selected items, keyed by program ID */
1961
+ selectedItems: any | null;
1962
+ /** URL configuration object for API endpoints */
1963
+ url: any;
1964
+ /** Event emitted when an item is selected */
1965
+ itemSelected: EventEmitter<T>;
1966
+ /** Event emitted when an item is deselected */
1967
+ itemDeselected: EventEmitter<T>;
1968
+ /** Event emitted when the selection changes */
1969
+ itemsSelectedChange: EventEmitter<T[]>;
1970
+ tableHeaders: string[];
1971
+ currentPage: number;
1972
+ pageSize: number;
1973
+ totalPages: number;
1974
+ searchTerm: string;
1975
+ paginatedItems: T[];
1976
+ activeProgram: any | null;
1977
+ categoryList: any;
1978
+ programTypeList: any[];
1979
+ selectedProgramType: any[];
1980
+ loaderState: any;
1981
+ appliedProgramType: any[];
1982
+ PROGRAM_NO_DATA: any;
1983
+ ASSETS: any;
1984
+ programCategoryList: any;
1985
+ /** Subject for handling debounced search */
1986
+ private searchSubject;
1987
+ /** Subject for cleanup subscriptions */
1988
+ private destroy$;
1989
+ constructor(listUtils: ListUtilsService, programListApiService: ProgramListApiService);
1990
+ /** Initialize component by fetching program list */
1991
+ ngOnInit(): void;
1992
+ /** Handle changes to inputs */
1993
+ ngOnChanges(changes: SimpleChanges): void;
1994
+ private focusFirstProgramWithSelections;
1995
+ /** Fetch program list from API */
1996
+ getProgramList(): void;
1997
+ /**
1998
+ * Load data and initialize pagination
1999
+ * @param data Array of items to load
2000
+ */
2001
+ loadData(data: any): void;
2002
+ /**
2003
+ * Handle item selection/deselection
2004
+ * @param event Selection event
2005
+ * @param item Item being selected/deselected
2006
+ */
2007
+ selectItem(event: any, item: any): void;
2008
+ /**
2009
+ * Deselect a specific item
2010
+ * @param item Item to deselect
2011
+ */
2012
+ deselectItem(item: T): void;
2013
+ /**
2014
+ * Check if an item is selected
2015
+ * @param item Item to check
2016
+ * @returns Boolean indicating if item is selected
2017
+ */
2018
+ isSelected(item: T): boolean;
2019
+ /**
2020
+ * Navigate to specific page
2021
+ * @param page Page number to navigate to
2022
+ * @param data Data to paginate
2023
+ */
2024
+ goToPage(page: number, data: any): void;
2025
+ /**
2026
+ * Get array of page numbers for pagination
2027
+ * @returns Array of page numbers
2028
+ */
2029
+ getPageNumbers(): number[];
2030
+ /**
2031
+ * Paginate items and update view
2032
+ * @param data Data to paginate
2033
+ */
2034
+ paginateItems(data: any): void;
2035
+ /**
2036
+ * View categories for a selected program
2037
+ * @param item Program to view categories for
2038
+ */
2039
+ viewCategory(item?: any): void;
2040
+ checkProgramCategoryExists(id: string): void;
2041
+ fetchProgramCategoryList(id: string): void;
2042
+ /**
2043
+ * Add parent tree information to categories
2044
+ * @param categories Array of categories
2045
+ * @returns Categories with parent tree information
2046
+ */
2047
+ addParentTreeToCategories(categories: any[]): any[];
2048
+ /**
2049
+ * Handle program type filter selection
2050
+ * @param event Selection event
2051
+ * @param item Program type being selected/deselected
2052
+ */
2053
+ selectFilter(event: any, item: any): void;
2054
+ /** Reset all applied filters */
2055
+ resetFilter(): void;
2056
+ /** Apply selected filters to the program list */
2057
+ onFilterChange(): void;
2058
+ checkCategoryAvailbility(): void;
2059
+ /** Trigger debounced search */
2060
+ search(): void;
2061
+ /** Perform search on items */
2062
+ private performSearch;
2063
+ /** Cleanup subscriptions on component destruction */
2064
+ ngOnDestroy(): void;
2065
+ closePopover(event: any): void;
2066
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListComponent<any>, never>;
2067
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgramListComponent<any>, "app-program-list", never, {
2068
+ "items": {
2069
+ "alias": "items";
2070
+ "required": false;
2071
+ };
2072
+ "selectedItems": {
2073
+ "alias": "selectedItems";
2074
+ "required": false;
2075
+ };
2076
+ "url": {
2077
+ "alias": "url";
2078
+ "required": false;
2079
+ };
2080
+ }, {
2081
+ "itemSelected": "itemSelected";
2082
+ "itemDeselected": "itemDeselected";
2083
+ "itemsSelectedChange": "itemsSelectedChange";
2084
+ }, never, never, false, never>;
2085
+ }
2086
+ declare class CheckSelectedItemsPipe implements PipeTransform {
2087
+ transform(id: string, selectedItems: any): boolean;
2088
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckSelectedItemsPipe, never>;
2089
+ static ɵpipe: i0.ɵɵPipeDeclaration<CheckSelectedItemsPipe, "checkSelectedItems", false>;
2090
+ }
2091
+ declare class ListContainerComponent {
2092
+ heading: string;
2093
+ close: EventEmitter<void>;
2094
+ onClose(): void;
2095
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListContainerComponent, never>;
2096
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListContainerComponent, "app-list-container", never, {
2097
+ "heading": {
2098
+ "alias": "heading";
2099
+ "required": false;
2100
+ };
2101
+ }, {
2102
+ "close": "close";
2103
+ }, never, ["[body]", "[footer]"], false, never>;
2104
+ }
2105
+ declare class SearchProgramPipe implements PipeTransform {
2106
+ transform(items: any[], ...args: any[]): any[];
2107
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchProgramPipe, never>;
2108
+ static ɵpipe: i0.ɵɵPipeDeclaration<SearchProgramPipe, "searchProgram", false>;
2109
+ }
2110
+ declare class InformationBlockComponent {
2111
+ constructor();
2112
+ static ɵfac: i0.ɵɵFactoryDeclaration<InformationBlockComponent, never>;
2113
+ static ɵcmp: i0.ɵɵComponentDeclaration<InformationBlockComponent, "app-information-block", never, {}, {}, never, never, false, never>;
2114
+ }
2115
+ declare class TableLoaderComponent implements OnInit {
2116
+ listSize: number[];
2117
+ constructor();
2118
+ ngOnInit(): void;
2119
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableLoaderComponent, never>;
2120
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableLoaderComponent, "app-table-loader", never, {
2121
+ "listSize": {
2122
+ "alias": "listSize";
2123
+ "required": false;
2124
+ };
2125
+ }, {}, never, never, false, never>;
2126
+ }
2127
+ declare class LoadersModule {
2128
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadersModule, never>;
2129
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LoadersModule, [typeof TableLoaderComponent], [typeof i2.CommonModule], [typeof TableLoaderComponent]>;
2130
+ static ɵinj: i0.ɵɵInjectorDeclaration<LoadersModule>;
2131
+ }
2132
+ declare class ProgramListModule {
2133
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListModule, never>;
2134
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProgramListModule, [typeof ProgramListComponent, typeof CheckSelectedItemsPipe, typeof ListContainerComponent, typeof SearchProgramPipe, typeof InformationBlockComponent], [typeof i2.CommonModule, typeof i10.FormsModule, typeof FormgroupModule, typeof NoDataModule, typeof PopoverModule, typeof LoadersModule], [typeof ProgramListComponent, typeof ListContainerComponent, typeof InformationBlockComponent]>;
2135
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProgramListModule>;
2136
+ }
2137
+ export declare class CreateDashboardModule {
2138
+ static forRoot(environmentConfig: Configurations): ModuleWithProviders<CreateDashboardModule>;
2139
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardModule, never>;
2140
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CreateDashboardModule, [typeof CreateDashboardComponent, typeof UserListComponent, typeof FormGroupComponent, typeof ResponsibilityCenterComponent, typeof CategoriesComponent, typeof RiskCategoriesComponent, typeof FrequencyComponent, typeof FilterPipe, typeof TextCountPipe], [typeof i2.CommonModule, typeof i11.VcomplyEditorModule, typeof FormgroupModule, typeof i10.FormsModule, typeof TooltipModule, typeof SelectModule, typeof DashboardFooterModule, typeof PaginationModule, typeof FloatingBarModule, typeof DialogModule, typeof ConfigureWidgetsModule, typeof PopoverModule, typeof VLoaderModule, typeof SnackBarModule, typeof NoDataModule, typeof DirectivesModule, typeof SmileyDialogModule, typeof i27.DpDatePickerModule, typeof i2.NgOptimizedImage, typeof ProgramListModule], [typeof CreateDashboardComponent]>;
2141
+ static ɵinj: i0.ɵɵInjectorDeclaration<CreateDashboardModule>;
2142
+ }
2143
+ export {};