vc-create-dashboard 3.1.8 → 9.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.
@@ -1,5 +1,5 @@
1
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";
2
+ import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ComponentRef, ElementRef, EventEmitter, Injector, ModuleWithProviders, OnChanges, OnDestroy, OnInit, PipeTransform, Renderer2, SimpleChanges, Type, ViewContainerRef } from "@angular/core";
3
3
  import * as i11 from "@vcomply/editor";
4
4
  import { EditorConfig } from "@vcomply/editor";
5
5
  import * as i27 from "ng2-date-picker";
@@ -9,7 +9,6 @@ import { BehaviorSubject, Observable, Subject } from "rxjs";
9
9
  import { Router } from "@angular/router";
10
10
  import * as i2 from "@angular/common";
11
11
  import * as i10 from "@angular/forms";
12
- import { DomSanitizer } from "@angular/platform-browser";
13
12
  export declare class CreateDashboardService {
14
13
  constructor();
15
14
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardService, never>;
@@ -19,11 +18,22 @@ declare class Configurations {
19
18
  envConfig: any;
20
19
  constructor();
21
20
  }
21
+ declare class AuthService {
22
+ private http;
23
+ env: any;
24
+ constructor(http: HttpClient, config?: Configurations);
25
+ getAuthorizationToken(): any;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, [null, {
27
+ optional: true;
28
+ }]>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
30
+ }
22
31
  declare class CreateDashboardService$1 {
23
32
  private http;
33
+ private authService;
24
34
  env: any;
25
35
  httpOptions: any;
26
- constructor(http: HttpClient, config?: Configurations);
36
+ constructor(http: HttpClient, authService: AuthService, config?: Configurations);
27
37
  getOrganizationUsers(url?: any): import("rxjs").Observable<any>;
28
38
  /**
29
39
  * Fetches the OrganizationUsers details of users List to set pagination details including number of
@@ -51,53 +61,12 @@ declare class CreateDashboardService$1 {
51
61
  * Fetches the Dashboard details for data population to Edit the dashboard
52
62
  * @param id
53
63
  */
54
- /** @deprecated Legacy Global-Dashboard edit fetch; custom dashboards use fetchCustomDashboardById + getWidgets. */
55
64
  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>;
65
+ updateDashboard(id: any, payload: any): import("rxjs").Observable<ArrayBuffer>;
74
66
  getUserInformation(): import("rxjs").Observable<ArrayBuffer>;
75
67
  _ID(): any;
76
- /**
77
- * JWT timezone used until organization/?mode=users timezone is loaded.
78
- */
79
- getTokenTimezone(): string;
80
68
  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
- responsibilityCenterId: any;
93
- programId: any;
94
- timeframe: {
95
- from: any;
96
- to: any;
97
- } | null;
98
- };
99
- };
100
- static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardService$1, [null, {
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardService$1, [null, null, {
101
70
  optional: true;
102
71
  }]>;
103
72
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
@@ -150,6 +119,42 @@ declare class SnackBarService {
150
119
  static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarService, never>;
151
120
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
152
121
  }
122
+ declare class ConfigureWidgetsService {
123
+ private http;
124
+ private authService;
125
+ env: any;
126
+ constructor(http: HttpClient, authService: AuthService, config?: Configurations);
127
+ complianceWidgetsData: ({
128
+ title: string;
129
+ id: string;
130
+ description: string;
131
+ widgetImage: string;
132
+ value: number;
133
+ tabOption?: undefined;
134
+ } | {
135
+ title: string;
136
+ id: string;
137
+ description: string;
138
+ widgetImage: string;
139
+ tabOption: boolean;
140
+ value: number;
141
+ })[];
142
+ riskWidgetsData: {
143
+ title: string;
144
+ id: string;
145
+ description: string;
146
+ widgetImage: string;
147
+ value: number;
148
+ }[];
149
+ auditWidgetsData: never[];
150
+ policyWidgetsData: never[];
151
+ dashBoardWidgetUpdate(widGetJson: any): import("rxjs").Observable<Object>;
152
+ moduleType(identifier: string): "COMPLIANCE" | "RISK" | undefined;
153
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsService, [null, null, {
154
+ optional: true;
155
+ }]>;
156
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
157
+ }
153
158
  declare class PopoverService {
154
159
  stopScroll: boolean;
155
160
  positionX: number;
@@ -162,39 +167,24 @@ declare class PopoverService {
162
167
  static ɵfac: i0.ɵɵFactoryDeclaration<PopoverService, never>;
163
168
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
164
169
  }
165
- declare namespace text_count_pipe_d_exports {
166
- export { TextCountPipe };
167
- }
168
170
  declare class TextCountPipe implements PipeTransform {
169
171
  transform(value: any, ...args: any[]): any;
170
172
  static ɵfac: i0.ɵɵFactoryDeclaration<TextCountPipe, never>;
171
173
  static ɵpipe: i0.ɵɵPipeDeclaration<TextCountPipe, "textCount", false>;
172
174
  }
173
- interface ListItem {
174
- id: string;
175
- name: string;
176
- type: "regulations" | "standards" | "internal_controls" | "others";
177
- }
178
- declare namespace create_dashboard_component_d_exports {
179
- export { CreateDashboardComponent };
180
- }
181
175
  export declare class CreateDashboardComponent implements OnInit, OnChanges {
182
176
  private createDashboardService;
183
177
  private paginationService;
184
178
  private cdr;
185
179
  private snackBar;
186
180
  popoverService: PopoverService;
181
+ private configureWidgetsService;
187
182
  private textCount;
188
183
  feature: any;
189
184
  activeSelector: string;
190
185
  disabled: boolean;
191
186
  mode: string;
192
187
  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
188
  close: EventEmitter<any>;
199
189
  createdBy: number;
200
190
  fromDatePicker: DatePickerComponent;
@@ -207,8 +197,9 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
207
197
  usersList: any[];
208
198
  vLoader: boolean;
209
199
  userListLoaded: boolean;
210
- groupListLoaded: boolean;
211
200
  rcListLoaded: boolean;
201
+ complianceCategoriesListLoaded: boolean;
202
+ riskCategoryListLoaded: boolean;
212
203
  hideToDate: boolean;
213
204
  listDetails: UserListConfiguration;
214
205
  dashboardDescription: EditorConfig;
@@ -221,11 +212,12 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
221
212
  openConfigureWidgets: boolean;
222
213
  selectedWidgets: any;
223
214
  displayedWidgets: any;
224
- responsibilityCentersList: any[];
215
+ responsibilityCentersList: never[];
225
216
  datePickerOverlay: boolean;
226
217
  dayNames: string[];
227
218
  monthNames: string[];
228
219
  quarters: string[];
220
+ categoryListLoaded: boolean;
229
221
  showRiskWidgets: boolean;
230
222
  showComplianceWidgets: boolean;
231
223
  isManageRisk: boolean;
@@ -247,10 +239,6 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
247
239
  selectedList: never[];
248
240
  };
249
241
  };
250
- programListUrl: any;
251
- private readonly datePickerBaseConfig;
252
- /** organization/?mode=users timezone; JWT timezone is the fallback. */
253
- private userTimeZone;
254
242
  fromDatePickerConfig: IDatePickerConfig;
255
243
  toDatePickerConfig: IDatePickerConfig;
256
244
  isSmiley: boolean;
@@ -258,57 +246,48 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
258
246
  groupList: any;
259
247
  groupsEnabled: boolean;
260
248
  totalgroups: any;
249
+ fromDatePickerPopup: ElementRef;
250
+ toDatePickerPopup: ElementRef;
261
251
  openedDatePicker: string;
262
- selectedPrograms: any;
263
- allProgamSelected: any[];
264
- private pendingEditRcIds;
265
- private pendingEditRcEntries;
266
- private editFormHydrated;
267
- /** Tracks in-flight EDIT hydration HTTP calls; loader stays on until zero. */
268
- private editHydrationCount;
269
- constructor(createDashboardService: CreateDashboardService$1, paginationService: PaginationService, cdr: ChangeDetectorRef, snackBar: SnackBarService, popoverService: PopoverService, textCount: TextCountPipe);
270
- ngOnChanges(changes: SimpleChanges): void;
252
+ constructor(createDashboardService: CreateDashboardService$1, paginationService: PaginationService, cdr: ChangeDetectorRef, snackBar: SnackBarService, popoverService: PopoverService, configureWidgetsService: ConfigureWidgetsService, textCount: TextCountPipe);
253
+ ngOnChanges(): void;
271
254
  onKeydownHandler(event: KeyboardEvent): void;
272
255
  ngOnInit(): void;
273
- animateContainer(): void;
274
- getUserInfo(): void;
275
256
  /**
276
257
  * Displays the listing pages the left side of policy form to set and edit the dropdown fields values
277
258
  * @param type holds name of particular list is to be displayed
278
259
  * @param event contains boolean value to display the list or not
279
260
  */
280
261
  activateSelector(type: any, event: boolean): void;
281
- onProgramSelectionChange(items: ListItem[]): void;
282
- selectCategory(): void;
283
- checkDefaultProgramOnRemove(event: any): void;
284
- removeProgram(program: any): void;
285
- private syncProgramSelectionMapFromForm;
286
- private hydrateProgramsFromDashboardData;
287
- private applyFlatProgramCategories;
288
- private applyResponsibilityCategoryWidgetFilters;
289
- openFromDatePicker(event?: Event): void;
290
- openToDatePicker(event?: Event): void;
262
+ openFromDatePicker(): void;
263
+ openToDatePicker(): void;
291
264
  closeFromDatePicker(): void;
292
265
  closeToDatePicker(): void;
293
266
  animateImage(): void;
294
267
  saveFrequency(eventValues: any): void;
295
268
  getCurrentDate(): string;
296
- /** Disables dates before today in the VComply user timezone. */
297
- private applyFromDateMin;
298
269
  setToDate(data: string): string;
299
270
  getFromDate(data: string): string;
300
271
  /**
301
- * @param data - the date you want to format
302
- * @returns Date string in YYYY-MM-DD format, e.g. 2026-05-19
272
+ * It takes a string, converts it to a date, then returns a string in the format of YYYY-MM-DD.
273
+ * @param {string} data - the date you want to format
274
+ * @returns A string in the format of YYYY-MM-DD
303
275
  */
304
276
  getDateFormate(data: string): string;
305
277
  configureDashboard(): void;
278
+ /**
279
+ * Fetches organization users count api to get total number of pages
280
+ * @param Url contains prams
281
+ */
282
+ getOrganizationUsersCount(Url: any): void;
306
283
  /**
307
284
  * Get users list by making api call and pre selects all admins by adding to viewers
308
285
  * @param url contains query params for organization users api
309
286
  */
310
287
  getUsersList(url: any): void;
311
288
  getGroupList(): void;
289
+ getComplianceCategoryList(): void;
290
+ getCategoryList(): void;
312
291
  /**
313
292
  * It is to ensure whether all required lists on Policy from is loaded from the api call or not
314
293
  */
@@ -333,30 +312,7 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
333
312
  uniqueByProp(array: any, key: string): unknown[];
334
313
  saveSelectedList(type: string, selectedItems: any): void;
335
314
  remove(type: any, event: any, removeIndex?: any): void;
336
- setList(list: any[], ids: any[], key: string): any[];
337
- private setListByIds;
338
- private flattenRcTree;
339
- private getRcNodeId;
340
- private collectNestedChildIds;
341
- private isNestedRc;
342
- private resolveAllDescendantIds;
343
- private normalizeRcList;
344
- private resolveRcFromTree;
345
- private applyPreresolvedRcEntries;
346
- private applyPendingResponsibilityCenters;
347
- private beginEditHydration;
348
- private finishEditHydration;
349
- private tryCompleteEditHydration;
350
- private wrapEditRequest;
351
- private syncProgramsForEdit;
352
- private applyProgramsFromDashboardIds;
353
- private ensureProgramSelectionMapForList;
354
- private applyProgramSelectionMap;
355
- private categoryMatchesId;
356
- private loadProgramsForEdit;
357
- /** Custom dashboards often store program ids only — resolve names for form chips. */
358
- private resolveProgramIdsForEdit;
359
- private buildEditDashboardData;
315
+ setList(list: any[], ids: any[], key: string): any;
360
316
  submitted: boolean;
361
317
  /**
362
318
  * Returns id's from a particular list elements
@@ -369,23 +325,18 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
369
325
  */
370
326
  validateDashboard(): boolean;
371
327
  /**
372
- * Makes an api call to create a dashboad
328
+ * Makes an api call to create a policy
373
329
  * @param dashboard contains dashboardForm data
374
330
  */
375
331
  submitDashboard(): false | undefined;
376
- closeContainer(message: string): void;
377
- onSubmitDashboard(): void;
378
- saveDashboard(payload: any): void;
379
- private getCreatedDashboardCdid;
380
- private hydrateEditForm;
381
- private applyWidgetsFromGetWidgetsResponse;
382
- /** EDIT mode only: GET getWidgets?dashboardId={cdid} */
383
- private loadEditModeWidgets;
384
332
  editDashboard(): void;
385
333
  populateDashboardForm(data: any): void;
334
+ setFrequency(event: any, mode: any): string | undefined;
386
335
  ngAfterViewChecked(): void;
387
336
  setPermission(roleActions: any): void;
388
- documentClick(event: MouseEvent): void;
337
+ getElementClassName(el: any): string;
338
+ documentClick(event: any): void;
339
+ documentClickListener(target: any, openedElements: ElementRef, selectedDatePicker: any): void;
389
340
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardComponent, never>;
390
341
  static ɵcmp: i0.ɵɵComponentDeclaration<CreateDashboardComponent, "app-create-dashboard", never, {
391
342
  "feature": {
@@ -400,10 +351,6 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
400
351
  "alias": "dashboardId";
401
352
  "required": false;
402
353
  };
403
- "dashboardDetails": {
404
- "alias": "dashboardDetails";
405
- "required": false;
406
- };
407
354
  "createdBy": {
408
355
  "alias": "createdBy";
409
356
  "required": false;
@@ -427,9 +374,6 @@ interface DashboardFooterConfig {
427
374
  isDisabled: boolean;
428
375
  nonRemovableList: any[];
429
376
  }
430
- declare namespace user_list_component_d_exports {
431
- export { UserListComponent };
432
- }
433
377
  declare class UserListComponent implements OnInit {
434
378
  paginationService: PaginationService;
435
379
  private dashboardService;
@@ -579,9 +523,6 @@ declare class UserListComponent implements OnInit {
579
523
  "saveSelectedUsers": "saveSelectedUsers";
580
524
  }, never, never, false, never>;
581
525
  }
582
- declare namespace insertion_directive_d_exports {
583
- export { InsertionDirective };
584
- }
585
526
  declare class InsertionDirective {
586
527
  viewContainerRef: ViewContainerRef;
587
528
  constructor(viewContainerRef: ViewContainerRef);
@@ -600,9 +541,6 @@ declare class DialogConfig<D = any> {
600
541
  background?: any;
601
542
  pointer?: any;
602
543
  }
603
- declare namespace dialog_component_d_exports {
604
- export { DialogComponent };
605
- }
606
544
  declare class DialogComponent implements AfterViewInit, OnDestroy, OnInit {
607
545
  private cd;
608
546
  private dialogRef;
@@ -632,18 +570,14 @@ declare class DialogComponent implements AfterViewInit, OnDestroy, OnInit {
632
570
  declare class DialogService {
633
571
  private appRef;
634
572
  private injector;
635
- private environmentInjector;
636
573
  dialogComponentRef: ComponentRef<DialogComponent>;
637
- constructor(appRef: ApplicationRef, injector: Injector, environmentInjector: EnvironmentInjector);
574
+ constructor(appRef: ApplicationRef, injector: Injector);
638
575
  open(componentType: Type<any>, config: DialogConfig): DialogRef;
639
576
  private appendDialogComponentToBody;
640
577
  private removeDialogComponentFromBody;
641
578
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
642
579
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
643
580
  }
644
- declare namespace form_group_component_d_exports {
645
- export { FormGroupComponent };
646
- }
647
581
  declare class FormGroupComponent implements OnInit {
648
582
  private dialog;
649
583
  openCategoryList: EventEmitter<string>;
@@ -698,9 +632,6 @@ declare class FormGroupComponent implements OnInit {
698
632
  "openFrequency": "openFrequency";
699
633
  }, never, never, false, never>;
700
634
  }
701
- declare namespace responsibility_center_component_d_exports {
702
- export { ResponsibilityCenterComponent };
703
- }
704
635
  declare class ResponsibilityCenterComponent implements OnInit, OnChanges {
705
636
  saveSelectedList: EventEmitter<any>;
706
637
  closeRcList: EventEmitter<any>;
@@ -744,27 +675,17 @@ declare class ResponsibilityCenterComponent implements OnInit, OnChanges {
744
675
  responsibilitiesByAssignee: string;
745
676
  };
746
677
  selectedIds: any[];
747
- selectedIdLookup: Record<string, boolean>;
748
- isAllSelected: boolean;
749
678
  animation: boolean;
750
679
  search: string;
751
680
  footerDetails: DashboardFooterConfig;
752
681
  constructor();
753
682
  ngOnChanges(): void;
754
683
  ngOnInit(): void;
755
- isSelected(id: any): boolean;
756
684
  selectRc(rc: any, mode: any): void;
757
685
  deleteEvent(event: any): void;
758
686
  selectAll(mode: any): void;
759
687
  setList(): void;
760
- private updateSelectionState;
761
- private findRcById;
762
- private getNodeId;
763
- private resolveSelectedId;
764
- private addSelectedIds;
765
- private removeSelectedIds;
766
- /** Direct and nested child RC ids for a selected parent. */
767
- private getDescendantIds;
688
+ checkSelectAll(): boolean;
768
689
  save(): void;
769
690
  closeResponsibilityCenterList(): void;
770
691
  static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityCenterComponent, never>;
@@ -808,9 +729,6 @@ interface CategoriesConfig {
808
729
  selectedList: any[];
809
730
  };
810
731
  }
811
- declare namespace categories_component_d_exports {
812
- export { CategoriesComponent };
813
- }
814
732
  declare class CategoriesComponent implements OnInit {
815
733
  ASSETS: {
816
734
  dashBoardIcon: string;
@@ -912,9 +830,6 @@ interface RiskCategoriesConfig {
912
830
  selectedList: any[];
913
831
  };
914
832
  }
915
- declare namespace risk_categories_component_d_exports {
916
- export { RiskCategoriesComponent };
917
- }
918
833
  declare class RiskCategoriesComponent implements OnInit {
919
834
  ASSETS: {
920
835
  dashBoardIcon: string;
@@ -998,9 +913,6 @@ declare class RiskCategoriesComponent implements OnInit {
998
913
  "closeCategoriesList": "closeCategoriesList";
999
914
  }, never, never, false, never>;
1000
915
  }
1001
- declare namespace frequency_component_d_exports {
1002
- export { FrequencyComponent };
1003
- }
1004
916
  declare class FrequencyComponent implements OnInit, OnChanges {
1005
917
  private snackBar;
1006
918
  animation: boolean;
@@ -1052,17 +964,11 @@ declare class FrequencyComponent implements OnInit, OnChanges {
1052
964
  "saveFrequency": "saveFrequency";
1053
965
  }, never, never, false, never>;
1054
966
  }
1055
- declare namespace filter_pipe_d_exports {
1056
- export { FilterPipe };
1057
- }
1058
967
  declare class FilterPipe implements PipeTransform {
1059
968
  transform(items: any[], searchText: string): any[];
1060
969
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
1061
970
  static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", false>;
1062
971
  }
1063
- declare namespace cs_checkbox_component_d_exports {
1064
- export { CsCheckboxComponent };
1065
- }
1066
972
  declare class CsCheckboxComponent implements OnInit {
1067
973
  disabled: boolean;
1068
974
  ngValue: any;
@@ -1089,9 +995,6 @@ declare class CsCheckboxComponent implements OnInit {
1089
995
  "ngValueChange": "ngValueChange";
1090
996
  }, never, ["*"], false, never>;
1091
997
  }
1092
- declare namespace cs_radio_component_d_exports {
1093
- export { CsRadioComponent };
1094
- }
1095
998
  declare class CsRadioComponent implements OnInit {
1096
999
  disabled: boolean;
1097
1000
  readonly: boolean;
@@ -1128,10 +1031,7 @@ declare class CsRadioComponent implements OnInit {
1128
1031
  "checkedEvent": "checkedEvent";
1129
1032
  }, never, ["*"], false, never>;
1130
1033
  }
1131
- declare namespace cs_switch_component_d_exports {
1132
- export { CsSwitchComponent };
1133
- }
1134
- declare class CsSwitchComponent implements OnInit {
1034
+ declare class CsSwitchComponent {
1135
1035
  disabled: boolean;
1136
1036
  ngValue: any;
1137
1037
  value: any;
@@ -1139,7 +1039,6 @@ declare class CsSwitchComponent implements OnInit {
1139
1039
  tooltipMessage: any;
1140
1040
  position: any;
1141
1041
  constructor();
1142
- ngOnInit(): void;
1143
1042
  valueChanged(): void;
1144
1043
  static ɵfac: i0.ɵɵFactoryDeclaration<CsSwitchComponent, never>;
1145
1044
  static ɵcmp: i0.ɵɵComponentDeclaration<CsSwitchComponent, "app-cs-switch", never, {
@@ -1167,18 +1066,12 @@ declare class CsSwitchComponent implements OnInit {
1167
1066
  "ngValueChange": "ngValueChange";
1168
1067
  }, never, never, false, never>;
1169
1068
  }
1170
- declare namespace cs_radio_group_component_d_exports {
1171
- export { CsRadioGroupComponent };
1172
- }
1173
1069
  declare class CsRadioGroupComponent implements OnInit {
1174
1070
  constructor();
1175
1071
  ngOnInit(): void;
1176
1072
  static ɵfac: i0.ɵɵFactoryDeclaration<CsRadioGroupComponent, never>;
1177
1073
  static ɵcmp: i0.ɵɵComponentDeclaration<CsRadioGroupComponent, "app-cs-radio-group", never, {}, {}, never, never, false, never>;
1178
1074
  }
1179
- declare namespace cs_select_component_d_exports$1 {
1180
- export { CsFormSelectComponent };
1181
- }
1182
1075
  declare class CsFormSelectComponent implements OnChanges {
1183
1076
  dataList: any[];
1184
1077
  dropdownLabel: string;
@@ -1269,25 +1162,16 @@ declare class CsFormSelectComponent implements OnChanges {
1269
1162
  "selectedValueChange": "selectedValueChange";
1270
1163
  }, never, never, false, never>;
1271
1164
  }
1272
- declare namespace pascal_pipe_d_exports {
1273
- export { PascalPipe };
1274
- }
1275
1165
  declare class PascalPipe implements PipeTransform {
1276
1166
  transform(value: string, ...args: unknown[]): unknown;
1277
1167
  static ɵfac: i0.ɵɵFactoryDeclaration<PascalPipe, never>;
1278
1168
  static ɵpipe: i0.ɵɵPipeDeclaration<PascalPipe, "pascal", false>;
1279
1169
  }
1280
- declare namespace searchMultiSelect_pipe_d_exports {
1281
- export { SearchMultiSelectPipe };
1282
- }
1283
1170
  declare class SearchMultiSelectPipe implements PipeTransform {
1284
1171
  transform(value: any[], key: string, searchKey: string): any[];
1285
1172
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchMultiSelectPipe, never>;
1286
1173
  static ɵpipe: i0.ɵɵPipeDeclaration<SearchMultiSelectPipe, "searchMultiSelect", false>;
1287
1174
  }
1288
- declare namespace click_outside_directive_d_exports {
1289
- export { ClickOutsideDirective };
1290
- }
1291
1175
  declare class ClickOutsideDirective {
1292
1176
  private elementRef;
1293
1177
  constructor(elementRef: ElementRef);
@@ -1298,9 +1182,6 @@ declare class ClickOutsideDirective {
1298
1182
  "clickOutside": "clickOutside";
1299
1183
  }, never, never, false, never>;
1300
1184
  }
1301
- declare namespace tooltip_directive_d_exports {
1302
- export { ToolTipDirective };
1303
- }
1304
1185
  declare class ToolTipDirective implements OnInit, OnDestroy {
1305
1186
  private el;
1306
1187
  private renderer;
@@ -1352,25 +1233,16 @@ declare class ToolTipDirective implements OnInit, OnDestroy {
1352
1233
  };
1353
1234
  }, {}, never, never, false, never>;
1354
1235
  }
1355
- declare namespace tooltip_module_d_exports {
1356
- export { TooltipModule };
1357
- }
1358
1236
  declare class TooltipModule {
1359
1237
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
1360
1238
  static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof ToolTipDirective], [typeof i2.CommonModule], [typeof ToolTipDirective]>;
1361
1239
  static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
1362
1240
  }
1363
- declare namespace formgroup_module_d_exports {
1364
- export { FormgroupModule };
1365
- }
1366
1241
  declare class FormgroupModule {
1367
1242
  static ɵfac: i0.ɵɵFactoryDeclaration<FormgroupModule, never>;
1368
1243
  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]>;
1369
1244
  static ɵinj: i0.ɵɵInjectorDeclaration<FormgroupModule>;
1370
1245
  }
1371
- declare namespace cs_select_component_d_exports {
1372
- export { CsSelectComponent };
1373
- }
1374
1246
  declare class CsSelectComponent implements OnInit {
1375
1247
  dropdownLabel: string;
1376
1248
  dropdownSubLabel: string;
@@ -1424,9 +1296,6 @@ declare class CsSelectService {
1424
1296
  static ɵfac: i0.ɵɵFactoryDeclaration<CsSelectService, never>;
1425
1297
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1426
1298
  }
1427
- declare namespace cs_option_component_d_exports {
1428
- export { CsOptionComponent };
1429
- }
1430
1299
  declare class CsOptionComponent implements OnInit {
1431
1300
  csSelect: CsSelectComponent;
1432
1301
  colorSelector: CsSelectService;
@@ -1448,27 +1317,16 @@ declare class CsOptionComponent implements OnInit {
1448
1317
  };
1449
1318
  }, {}, never, ["*"], false, never>;
1450
1319
  }
1451
- declare namespace safe_html_pipe_d_exports {
1452
- export { SafeHtmlPipe };
1453
- }
1454
1320
  declare class SafeHtmlPipe implements PipeTransform {
1455
- private sanitizer;
1456
- constructor(sanitizer: DomSanitizer);
1457
- transform(html: any): import("@angular/platform-browser").SafeHtml;
1321
+ transform(html: string | null | undefined): string;
1458
1322
  static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
1459
1323
  static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", false>;
1460
1324
  }
1461
- declare namespace select_module_d_exports {
1462
- export { SelectModule };
1463
- }
1464
1325
  declare class SelectModule {
1465
1326
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
1466
1327
  static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof CsSelectComponent, typeof CsOptionComponent, typeof SafeHtmlPipe], [typeof i10.FormsModule, typeof i2.CommonModule], [typeof CsSelectComponent, typeof CsOptionComponent]>;
1467
1328
  static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
1468
1329
  }
1469
- declare namespace dashboard_footer_component_d_exports {
1470
- export { DashboardFooterComponent };
1471
- }
1472
1330
  declare class DashboardFooterComponent implements OnInit {
1473
1331
  cancelEvent: EventEmitter<any>;
1474
1332
  submitEvent: EventEmitter<any>;
@@ -1496,9 +1354,6 @@ declare class DashboardFooterComponent implements OnInit {
1496
1354
  "deleteEvent": "deleteEvent";
1497
1355
  }, never, never, false, never>;
1498
1356
  }
1499
- declare namespace popover_component_d_exports {
1500
- export { PopoverComponent };
1501
- }
1502
1357
  declare class PopoverComponent implements OnInit {
1503
1358
  popoverService: PopoverService;
1504
1359
  dontCloseonClick: boolean;
@@ -1531,9 +1386,6 @@ declare class PopoverComponent implements OnInit {
1531
1386
  "closedOnOverlay": "closedOnOverlay";
1532
1387
  }, never, ["*"], false, never>;
1533
1388
  }
1534
- declare namespace popover_directive_d_exports {
1535
- export { PopoverDirective };
1536
- }
1537
1389
  declare class PopoverDirective {
1538
1390
  private elRef;
1539
1391
  private popoverService;
@@ -1557,25 +1409,16 @@ declare class PopoverDirective {
1557
1409
  };
1558
1410
  }, {}, never, never, false, never>;
1559
1411
  }
1560
- declare namespace popover_module_d_exports {
1561
- export { PopoverModule };
1562
- }
1563
1412
  declare class PopoverModule {
1564
1413
  static ɵfac: i0.ɵɵFactoryDeclaration<PopoverModule, never>;
1565
1414
  static ɵmod: i0.ɵɵNgModuleDeclaration<PopoverModule, [typeof PopoverComponent, typeof PopoverDirective], [typeof i2.CommonModule], [typeof PopoverComponent, typeof PopoverDirective]>;
1566
1415
  static ɵinj: i0.ɵɵInjectorDeclaration<PopoverModule>;
1567
1416
  }
1568
- declare namespace dashboard_footer_module_d_exports {
1569
- export { DashboardFooterModule };
1570
- }
1571
1417
  declare class DashboardFooterModule {
1572
1418
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardFooterModule, never>;
1573
1419
  static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardFooterModule, [typeof DashboardFooterComponent], [typeof i2.CommonModule, typeof PopoverModule, typeof TooltipModule], [typeof DashboardFooterComponent]>;
1574
1420
  static ɵinj: i0.ɵɵInjectorDeclaration<DashboardFooterModule>;
1575
1421
  }
1576
- declare namespace pagination_component_d_exports {
1577
- export { PaginationComponent };
1578
- }
1579
1422
  declare class PaginationComponent implements OnInit, OnChanges {
1580
1423
  private paginationService;
1581
1424
  start: number;
@@ -1609,17 +1452,11 @@ declare class PaginationComponent implements OnInit, OnChanges {
1609
1452
  "paginationFilter": "paginationFilter";
1610
1453
  }, never, never, false, never>;
1611
1454
  }
1612
- declare namespace pagination_module_d_exports {
1613
- export { PaginationModule };
1614
- }
1615
1455
  declare class PaginationModule {
1616
1456
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginationModule, never>;
1617
1457
  static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, [typeof PaginationComponent], [typeof i2.CommonModule], [typeof PaginationComponent]>;
1618
1458
  static ɵinj: i0.ɵɵInjectorDeclaration<PaginationModule>;
1619
1459
  }
1620
- declare namespace floating_bar_component_d_exports {
1621
- export { FloatingBarComponent };
1622
- }
1623
1460
  declare class FloatingBarComponent implements OnInit {
1624
1461
  private snackBar;
1625
1462
  cancelEvent: EventEmitter<string>;
@@ -1658,42 +1495,16 @@ declare class FloatingBarComponent implements OnInit {
1658
1495
  "deleteEvent": "deleteEvent";
1659
1496
  }, never, never, false, never>;
1660
1497
  }
1661
- declare namespace floating_bar_module_d_exports {
1662
- export { FloatingBarModule };
1663
- }
1664
1498
  declare class FloatingBarModule {
1665
1499
  static ɵfac: i0.ɵɵFactoryDeclaration<FloatingBarModule, never>;
1666
1500
  static ɵmod: i0.ɵɵNgModuleDeclaration<FloatingBarModule, [typeof FloatingBarComponent], [typeof i2.CommonModule, typeof PopoverModule, typeof TooltipModule], [typeof FloatingBarComponent]>;
1667
1501
  static ɵinj: i0.ɵɵInjectorDeclaration<FloatingBarModule>;
1668
1502
  }
1669
- declare namespace dialog_module_d_exports {
1670
- export { DialogModule };
1671
- }
1672
1503
  declare class DialogModule {
1673
1504
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
1674
1505
  static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, [typeof DialogComponent, typeof InsertionDirective], [typeof i2.CommonModule], never>;
1675
1506
  static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
1676
1507
  }
1677
- declare class ConfigureWidgetsService {
1678
- private http;
1679
- env: any;
1680
- constructor(http: HttpClient, config?: Configurations);
1681
- riskWidgetsData: {
1682
- title: string;
1683
- id: string;
1684
- description: string;
1685
- widgetImage: string;
1686
- value: number;
1687
- }[];
1688
- auditWidgetsData: never[];
1689
- policyWidgetsData: never[];
1690
- dashBoardWidgetUpdate(widGetJson: any): import("rxjs").Observable<Object>;
1691
- moduleType(identifier: string): "RISK" | undefined;
1692
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsService, [null, {
1693
- optional: true;
1694
- }]>;
1695
- static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1696
- }
1697
1508
  interface widgetDataModel {
1698
1509
  title: string;
1699
1510
  id?: string;
@@ -1708,12 +1519,9 @@ interface widgetConfig {
1708
1519
  description: string;
1709
1520
  widgetImage: string;
1710
1521
  value: boolean;
1711
- module: 'COMPLIANCE';
1522
+ module: 'COMPLIANCE' | 'RISK';
1712
1523
  subWidgets: [];
1713
1524
  }
1714
- declare namespace configure_widgets_component_d_exports {
1715
- export { ConfigureWidgetsComponent };
1716
- }
1717
1525
  declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
1718
1526
  private dialog;
1719
1527
  configureWidgetsService: ConfigureWidgetsService;
@@ -1777,11 +1585,6 @@ declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
1777
1585
  riskWidgetsDisplayCount: number;
1778
1586
  constructor(dialog: DialogRef, configureWidgetsService: ConfigureWidgetsService, snackBar: SnackBarService);
1779
1587
  ngOnChanges(): void;
1780
- /** EDIT: show full widget catalog; check items present in getWidgets widgetArr. */
1781
- private applyEditModeWidgetCatalog;
1782
- /** CREATE: limit visible tiles to displayedWidgets when provided. */
1783
- private applyCreateModeWidgetVisibility;
1784
- private applySavedWidgetSelection;
1785
1588
  ngOnInit(): void;
1786
1589
  widgetsList: {
1787
1590
  COMPLIANCE: ({
@@ -1810,8 +1613,23 @@ declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
1810
1613
  visibility: boolean;
1811
1614
  }[];
1812
1615
  })[];
1616
+ RISK: {
1617
+ title: string;
1618
+ id: string;
1619
+ description: string;
1620
+ widgetImage: string;
1621
+ value: boolean;
1622
+ visibility: boolean;
1623
+ module: string;
1624
+ subWidgets: {
1625
+ title: string;
1626
+ id: string;
1627
+ value: boolean;
1628
+ visibility: boolean;
1629
+ }[];
1630
+ }[];
1813
1631
  };
1814
- selectWidget(event: any, module: 'COMPLIANCE', widgetId: string, subWidgetId?: string): void;
1632
+ selectWidget(event: any, module: 'COMPLIANCE' | 'RISK', widgetId: string, subWidgetId?: string): void;
1815
1633
  setSelectedWidgets(): void;
1816
1634
  removeWidget(widget: widgetConfig): void;
1817
1635
  onNextClick(): void;
@@ -1844,17 +1662,11 @@ declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
1844
1662
  "closeConfigureWidgets": "closeConfigureWidgets";
1845
1663
  }, never, never, false, never>;
1846
1664
  }
1847
- declare namespace search_pipe_d_exports {
1848
- export { SearchPipe };
1849
- }
1850
1665
  declare class SearchPipe implements PipeTransform {
1851
1666
  transform(value: any, args?: any): any;
1852
1667
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchPipe, never>;
1853
1668
  static ɵpipe: i0.ɵɵPipeDeclaration<SearchPipe, "search", false>;
1854
1669
  }
1855
- declare namespace scroll_in_view_directive_d_exports {
1856
- export { ScrollInViewDirective };
1857
- }
1858
1670
  declare class ScrollInViewDirective implements OnChanges {
1859
1671
  private el;
1860
1672
  appScrollInView: boolean;
@@ -1870,17 +1682,11 @@ declare class ScrollInViewDirective implements OnChanges {
1870
1682
  };
1871
1683
  }, {}, never, never, false, never>;
1872
1684
  }
1873
- declare namespace directives_module_d_exports {
1874
- export { DirectivesModule };
1875
- }
1876
1685
  declare class DirectivesModule {
1877
1686
  static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
1878
1687
  static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof ScrollInViewDirective], [typeof i2.CommonModule], [typeof ScrollInViewDirective]>;
1879
1688
  static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
1880
1689
  }
1881
- declare namespace no_data_component_d_exports {
1882
- export { NoDataComponent };
1883
- }
1884
1690
  declare class NoDataComponent implements OnInit {
1885
1691
  action: any;
1886
1692
  noDataImage: string;
@@ -1937,25 +1743,16 @@ declare class NoDataComponent implements OnInit {
1937
1743
  "buttonAction": "buttonAction";
1938
1744
  }, never, never, false, never>;
1939
1745
  }
1940
- declare namespace no_data_module_d_exports {
1941
- export { NoDataModule };
1942
- }
1943
1746
  declare class NoDataModule {
1944
1747
  static ɵfac: i0.ɵɵFactoryDeclaration<NoDataModule, never>;
1945
1748
  static ɵmod: i0.ɵɵNgModuleDeclaration<NoDataModule, [typeof NoDataComponent], [typeof i2.CommonModule], [typeof NoDataComponent]>;
1946
1749
  static ɵinj: i0.ɵɵInjectorDeclaration<NoDataModule>;
1947
1750
  }
1948
- declare namespace configure_widgets_module_d_exports {
1949
- export { ConfigureWidgetsModule };
1950
- }
1951
1751
  declare class ConfigureWidgetsModule {
1952
1752
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsModule, never>;
1953
1753
  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]>;
1954
1754
  static ɵinj: i0.ɵɵInjectorDeclaration<ConfigureWidgetsModule>;
1955
1755
  }
1956
- declare namespace loader_component_d_exports {
1957
- export { LoaderComponent };
1958
- }
1959
1756
  declare class LoaderComponent implements OnInit {
1960
1757
  vLoader: any;
1961
1758
  env: any;
@@ -1966,9 +1763,6 @@ declare class LoaderComponent implements OnInit {
1966
1763
  }]>;
1967
1764
  static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "app-loader", never, {}, {}, never, never, false, never>;
1968
1765
  }
1969
- declare namespace loader_inline_component_d_exports {
1970
- export { LoaderInlineComponent };
1971
- }
1972
1766
  declare class LoaderInlineComponent implements OnInit {
1973
1767
  vLoader: any;
1974
1768
  env: any;
@@ -1979,17 +1773,11 @@ declare class LoaderInlineComponent implements OnInit {
1979
1773
  }]>;
1980
1774
  static ɵcmp: i0.ɵɵComponentDeclaration<LoaderInlineComponent, "app-loader-inline", never, {}, {}, never, never, false, never>;
1981
1775
  }
1982
- declare namespace v_loader_module_d_exports {
1983
- export { VLoaderModule };
1984
- }
1985
1776
  declare class VLoaderModule {
1986
1777
  static ɵfac: i0.ɵɵFactoryDeclaration<VLoaderModule, never>;
1987
1778
  static ɵmod: i0.ɵɵNgModuleDeclaration<VLoaderModule, [typeof LoaderComponent, typeof LoaderInlineComponent], [typeof i2.CommonModule, typeof i2.NgOptimizedImage], [typeof LoaderComponent, typeof LoaderInlineComponent]>;
1988
1779
  static ɵinj: i0.ɵɵInjectorDeclaration<VLoaderModule>;
1989
1780
  }
1990
- declare namespace snack_bar_component_d_exports {
1991
- export { SnackBarComponent };
1992
- }
1993
1781
  declare class SnackBarComponent implements OnInit {
1994
1782
  private snackbarService;
1995
1783
  show: boolean;
@@ -2004,17 +1792,11 @@ declare class SnackBarComponent implements OnInit {
2004
1792
  static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarComponent, never>;
2005
1793
  static ɵcmp: i0.ɵɵComponentDeclaration<SnackBarComponent, "app-snack-bar", never, {}, {}, never, never, false, never>;
2006
1794
  }
2007
- declare namespace snack_bar_module_d_exports {
2008
- export { SnackBarModule };
2009
- }
2010
1795
  declare class SnackBarModule {
2011
1796
  static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarModule, never>;
2012
1797
  static ɵmod: i0.ɵɵNgModuleDeclaration<SnackBarModule, [typeof SnackBarComponent], [typeof i2.CommonModule], [typeof SnackBarComponent]>;
2013
1798
  static ɵinj: i0.ɵɵInjectorDeclaration<SnackBarModule>;
2014
1799
  }
2015
- declare namespace smiley_dialog_component_d_exports {
2016
- export { SmileyDialogComponent };
2017
- }
2018
1800
  declare class SmileyDialogComponent implements OnInit {
2019
1801
  message: string;
2020
1802
  autoClose: boolean;
@@ -2046,239 +1828,15 @@ declare class SmileyDialogComponent implements OnInit {
2046
1828
  "closeSmiley": "closeSmiley";
2047
1829
  }, never, never, false, never>;
2048
1830
  }
2049
- declare namespace smiley_dialog_module_d_exports {
2050
- export { SmileyDialogModule };
2051
- }
2052
1831
  declare class SmileyDialogModule {
2053
1832
  static ɵfac: i0.ɵɵFactoryDeclaration<SmileyDialogModule, never>;
2054
1833
  static ɵmod: i0.ɵɵNgModuleDeclaration<SmileyDialogModule, [typeof SmileyDialogComponent], [typeof i2.CommonModule], [typeof SmileyDialogComponent]>;
2055
1834
  static ɵinj: i0.ɵɵInjectorDeclaration<SmileyDialogModule>;
2056
1835
  }
2057
- declare class ListUtilsService {
2058
- paginate<T>(items: T[], currentPage: number, pageSize: number): T[];
2059
- getPageNumbers(totalItems: number, pageSize: number): number[];
2060
- static ɵfac: i0.ɵɵFactoryDeclaration<ListUtilsService, never>;
2061
- static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2062
- }
2063
- declare class ProgramListApiService {
2064
- private http;
2065
- env: any;
2066
- constructor(http: HttpClient, config?: Configurations);
2067
- getProgramList(apiUrl: string): Observable<any>;
2068
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListApiService, [null, {
2069
- optional: true;
2070
- }]>;
2071
- static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2072
- }
2073
- declare namespace program_list_component_d_exports {
2074
- export { ProgramListComponent };
2075
- }
2076
- declare class ProgramListComponent<T extends ListItem> implements OnInit, OnChanges, OnDestroy {
2077
- private listUtils;
2078
- private programListApiService;
2079
- /** Array of items to be displayed in the list */
2080
- items: T[];
2081
- /** Object containing selected items, keyed by program ID */
2082
- selectedItems: any | null;
2083
- /** URL configuration object for API endpoints */
2084
- url: any;
2085
- /** Event emitted when an item is selected */
2086
- itemSelected: EventEmitter<T>;
2087
- /** Event emitted when an item is deselected */
2088
- itemDeselected: EventEmitter<T>;
2089
- /** Event emitted when the selection changes */
2090
- itemsSelectedChange: EventEmitter<T[]>;
2091
- tableHeaders: string[];
2092
- currentPage: number;
2093
- pageSize: number;
2094
- totalPages: number;
2095
- searchTerm: string;
2096
- paginatedItems: T[];
2097
- activeProgram: any | null;
2098
- categoryList: any;
2099
- programTypeList: any[];
2100
- selectedProgramType: any[];
2101
- loaderState: any;
2102
- appliedProgramType: any[];
2103
- PROGRAM_NO_DATA: any;
2104
- ASSETS: any;
2105
- programCategoryList: any;
2106
- /** Subject for handling debounced search */
2107
- private searchSubject;
2108
- /** Subject for cleanup subscriptions */
2109
- private destroy$;
2110
- constructor(listUtils: ListUtilsService, programListApiService: ProgramListApiService);
2111
- /** Initialize component by fetching program list */
2112
- ngOnInit(): void;
2113
- /** Handle changes to inputs */
2114
- ngOnChanges(changes: SimpleChanges): void;
2115
- private focusFirstProgramWithSelections;
2116
- /** Fetch program list from API */
2117
- getProgramList(): void;
2118
- /**
2119
- * Load data and initialize pagination
2120
- * @param data Array of items to load
2121
- */
2122
- loadData(data: any): void;
2123
- /**
2124
- * Handle item selection/deselection
2125
- * @param event Selection event
2126
- * @param item Item being selected/deselected
2127
- */
2128
- selectItem(event: any, item: any): void;
2129
- /**
2130
- * Deselect a specific item
2131
- * @param item Item to deselect
2132
- */
2133
- deselectItem(item: T): void;
2134
- /**
2135
- * Check if an item is selected
2136
- * @param item Item to check
2137
- * @returns Boolean indicating if item is selected
2138
- */
2139
- isSelected(item: T): boolean;
2140
- /**
2141
- * Navigate to specific page
2142
- * @param page Page number to navigate to
2143
- * @param data Data to paginate
2144
- */
2145
- goToPage(page: number, data: any): void;
2146
- /**
2147
- * Get array of page numbers for pagination
2148
- * @returns Array of page numbers
2149
- */
2150
- getPageNumbers(): number[];
2151
- /**
2152
- * Paginate items and update view
2153
- * @param data Data to paginate
2154
- */
2155
- paginateItems(data: any): void;
2156
- /**
2157
- * View categories for a selected program
2158
- * @param item Program to view categories for
2159
- */
2160
- viewCategory(item?: any): void;
2161
- checkProgramCategoryExists(id: string): void;
2162
- fetchProgramCategoryList(id: string): void;
2163
- /**
2164
- * Add parent tree information to categories
2165
- * @param categories Array of categories
2166
- * @returns Categories with parent tree information
2167
- */
2168
- addParentTreeToCategories(categories: any[]): any[];
2169
- /**
2170
- * Handle program type filter selection
2171
- * @param event Selection event
2172
- * @param item Program type being selected/deselected
2173
- */
2174
- selectFilter(event: any, item: any): void;
2175
- /** Reset all applied filters */
2176
- resetFilter(): void;
2177
- /** Apply selected filters to the program list */
2178
- onFilterChange(): void;
2179
- checkCategoryAvailbility(): void;
2180
- /** Trigger debounced search */
2181
- search(): void;
2182
- /** Perform search on items */
2183
- private performSearch;
2184
- /** Cleanup subscriptions on component destruction */
2185
- ngOnDestroy(): void;
2186
- closePopover(event: any): void;
2187
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListComponent<any>, never>;
2188
- static ɵcmp: i0.ɵɵComponentDeclaration<ProgramListComponent<any>, "app-program-list", never, {
2189
- "items": {
2190
- "alias": "items";
2191
- "required": false;
2192
- };
2193
- "selectedItems": {
2194
- "alias": "selectedItems";
2195
- "required": false;
2196
- };
2197
- "url": {
2198
- "alias": "url";
2199
- "required": false;
2200
- };
2201
- }, {
2202
- "itemSelected": "itemSelected";
2203
- "itemDeselected": "itemDeselected";
2204
- "itemsSelectedChange": "itemsSelectedChange";
2205
- }, never, never, false, never>;
2206
- }
2207
- declare namespace check_selected_items_pipes_d_exports {
2208
- export { CheckSelectedItemsPipe };
2209
- }
2210
- declare class CheckSelectedItemsPipe implements PipeTransform {
2211
- transform(id: string, selectedItems: any): boolean;
2212
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckSelectedItemsPipe, never>;
2213
- static ɵpipe: i0.ɵɵPipeDeclaration<CheckSelectedItemsPipe, "checkSelectedItems", false>;
2214
- }
2215
- declare namespace list_container_component_d_exports {
2216
- export { ListContainerComponent };
2217
- }
2218
- declare class ListContainerComponent {
2219
- heading: string;
2220
- close: EventEmitter<void>;
2221
- onClose(): void;
2222
- static ɵfac: i0.ɵɵFactoryDeclaration<ListContainerComponent, never>;
2223
- static ɵcmp: i0.ɵɵComponentDeclaration<ListContainerComponent, "app-list-container", never, {
2224
- "heading": {
2225
- "alias": "heading";
2226
- "required": false;
2227
- };
2228
- }, {
2229
- "close": "close";
2230
- }, never, ["[body]", "[footer]"], false, never>;
2231
- }
2232
- declare namespace search_program_pipe_d_exports {
2233
- export { SearchProgramPipe };
2234
- }
2235
- declare class SearchProgramPipe implements PipeTransform {
2236
- transform(items: any[], ...args: any[]): any[];
2237
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchProgramPipe, never>;
2238
- static ɵpipe: i0.ɵɵPipeDeclaration<SearchProgramPipe, "searchProgram", false>;
2239
- }
2240
- declare namespace information_block_component_d_exports {
2241
- export { InformationBlockComponent };
2242
- }
2243
- declare class InformationBlockComponent {
2244
- constructor();
2245
- static ɵfac: i0.ɵɵFactoryDeclaration<InformationBlockComponent, never>;
2246
- static ɵcmp: i0.ɵɵComponentDeclaration<InformationBlockComponent, "app-information-block", never, {}, {}, never, never, false, never>;
2247
- }
2248
- declare namespace table_loader_component_d_exports {
2249
- export { TableLoaderComponent };
2250
- }
2251
- declare class TableLoaderComponent implements OnInit {
2252
- listSize: number[];
2253
- constructor();
2254
- ngOnInit(): void;
2255
- static ɵfac: i0.ɵɵFactoryDeclaration<TableLoaderComponent, never>;
2256
- static ɵcmp: i0.ɵɵComponentDeclaration<TableLoaderComponent, "app-table-loader", never, {
2257
- "listSize": {
2258
- "alias": "listSize";
2259
- "required": false;
2260
- };
2261
- }, {}, never, never, false, never>;
2262
- }
2263
- declare namespace loaders_module_d_exports {
2264
- export { LoadersModule };
2265
- }
2266
- declare class LoadersModule {
2267
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadersModule, never>;
2268
- static ɵmod: i0.ɵɵNgModuleDeclaration<LoadersModule, [typeof TableLoaderComponent], [typeof i2.CommonModule], [typeof TableLoaderComponent]>;
2269
- static ɵinj: i0.ɵɵInjectorDeclaration<LoadersModule>;
2270
- }
2271
- declare namespace program_list_module_d_exports {
2272
- export { ProgramListModule };
2273
- }
2274
- declare class ProgramListModule {
2275
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListModule, never>;
2276
- 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]>;
2277
- static ɵinj: i0.ɵɵInjectorDeclaration<ProgramListModule>;
2278
- }
2279
1836
  export declare class CreateDashboardModule {
2280
1837
  static forRoot(environmentConfig: Configurations): ModuleWithProviders<CreateDashboardModule>;
2281
1838
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardModule, never>;
2282
- 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]>;
1839
+ 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 CreateDashboardComponent]>;
2283
1840
  static ɵinj: i0.ɵɵInjectorDeclaration<CreateDashboardModule>;
2284
- }
1841
+ }
1842
+ export {};