vc-create-dashboard 3.1.2 → 3.1.6
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.
- package/fesm2022/vc-create-dashboard.mjs +8632 -6556
- package/fesm2022/vc-create-dashboard.mjs.map +1 -1
- package/package.json +7 -8
- package/types/vc-create-dashboard.d.ts +2284 -0
- package/esm2022/lib/configurations.mjs +0 -7
- package/esm2022/lib/create-dashboard-container/categories/categories-config.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/categories/categories.component.mjs +0 -212
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.mjs +0 -350
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets.module.mjs +0 -47
- package/esm2022/lib/create-dashboard-container/constants/assets.constant.mjs +0 -37
- package/esm2022/lib/create-dashboard-container/create-dashboard-config.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/create-dashboard.component.mjs +0 -1601
- package/esm2022/lib/create-dashboard-container/create-dashboard.module.mjs +0 -127
- package/esm2022/lib/create-dashboard-container/directives/directives.module.mjs +0 -24
- package/esm2022/lib/create-dashboard-container/directives/scroll-in-view.directive.mjs +0 -36
- package/esm2022/lib/create-dashboard-container/form-group/form-group.component.mjs +0 -153
- package/esm2022/lib/create-dashboard-container/frequency/frequency.component.mjs +0 -309
- package/esm2022/lib/create-dashboard-container/interfaces/widget-data-model.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/pipes/filter.pipe.mjs +0 -30
- package/esm2022/lib/create-dashboard-container/pipes/search-program.pipe.mjs +0 -37
- package/esm2022/lib/create-dashboard-container/pipes/search.pipe.mjs +0 -25
- package/esm2022/lib/create-dashboard-container/pipes/text-count.pipe.mjs +0 -18
- package/esm2022/lib/create-dashboard-container/program-list/constant.mjs +0 -31
- package/esm2022/lib/create-dashboard-container/program-list/information-block/information-block.component.mjs +0 -13
- package/esm2022/lib/create-dashboard-container/program-list/interfaces/list-item.interface.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/program-list/list-container/list-container.component.mjs +0 -50
- package/esm2022/lib/create-dashboard-container/program-list/pipes/check-selected-items.pipes.mjs +0 -23
- package/esm2022/lib/create-dashboard-container/program-list/program-list/program-list.component.mjs +0 -294
- package/esm2022/lib/create-dashboard-container/program-list/program-list.module.mjs +0 -60
- package/esm2022/lib/create-dashboard-container/program-list/services/list-utils.service.mjs +0 -27
- package/esm2022/lib/create-dashboard-container/program-list/services/program-list-api.service.mjs +0 -28
- package/esm2022/lib/create-dashboard-container/responsibility-center/responsibility-center.component.mjs +0 -239
- package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories-config.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories.component.mjs +0 -206
- package/esm2022/lib/create-dashboard-container/services/configure-widgets.service.mjs +0 -233
- package/esm2022/lib/create-dashboard-container/services/create-dashboard.service.mjs +0 -222
- package/esm2022/lib/create-dashboard-container/services/pagination.service.mjs +0 -28
- package/esm2022/lib/create-dashboard-container/user-list/user-list.component.mjs +0 -440
- package/esm2022/lib/create-dashboard-container/user-list/user-list.config.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/utils/dashboard-edit.utils.mjs +0 -181
- package/esm2022/lib/create-dashboard.service.mjs +0 -14
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.mjs +0 -52
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer-config.mjs +0 -2
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer.module.mjs +0 -32
- package/esm2022/lib/ui-kit/dialog/dialog-config.mjs +0 -7
- package/esm2022/lib/ui-kit/dialog/dialog-injector.mjs +0 -17
- package/esm2022/lib/ui-kit/dialog/dialog-ref.mjs +0 -11
- package/esm2022/lib/ui-kit/dialog/dialog.component.mjs +0 -96
- package/esm2022/lib/ui-kit/dialog/dialog.module.mjs +0 -20
- package/esm2022/lib/ui-kit/dialog/dialog.service.mjs +0 -56
- package/esm2022/lib/ui-kit/dialog/insertion.directive.mjs +0 -17
- package/esm2022/lib/ui-kit/floating-bar/floating-bar.component.mjs +0 -57
- package/esm2022/lib/ui-kit/floating-bar/floating-bar.module.mjs +0 -32
- package/esm2022/lib/ui-kit/formgroup/click-outside.directive.mjs +0 -30
- package/esm2022/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.mjs +0 -29
- package/esm2022/lib/ui-kit/formgroup/cs-radio/cs-radio.component.mjs +0 -34
- package/esm2022/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.mjs +0 -14
- package/esm2022/lib/ui-kit/formgroup/cs-select/cs-select.component.mjs +0 -119
- package/esm2022/lib/ui-kit/formgroup/cs-switch/cs-switch.component.mjs +0 -39
- package/esm2022/lib/ui-kit/formgroup/formgroup.module.mjs +0 -55
- package/esm2022/lib/ui-kit/formgroup/pipes/pascal.pipe.mjs +0 -19
- package/esm2022/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.mjs +0 -24
- package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +0 -24
- package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +0 -18
- package/esm2022/lib/ui-kit/no-data/no-data.component.mjs +0 -47
- package/esm2022/lib/ui-kit/no-data/no-data.module.mjs +0 -18
- package/esm2022/lib/ui-kit/pagination/pagination.component.mjs +0 -130
- package/esm2022/lib/ui-kit/pagination/pagination.module.mjs +0 -18
- package/esm2022/lib/ui-kit/popover/popover.component.mjs +0 -129
- package/esm2022/lib/ui-kit/popover/popover.directive.mjs +0 -93
- package/esm2022/lib/ui-kit/popover/popover.module.mjs +0 -21
- package/esm2022/lib/ui-kit/popover/popover.service.mjs +0 -23
- package/esm2022/lib/ui-kit/select/cs-option/cs-option.component.mjs +0 -41
- package/esm2022/lib/ui-kit/select/cs-select/cs-select.component.mjs +0 -107
- package/esm2022/lib/ui-kit/select/safe-html.pipe.mjs +0 -21
- package/esm2022/lib/ui-kit/select/select.module.mjs +0 -21
- package/esm2022/lib/ui-kit/services/cs-select.service.mjs +0 -16
- package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.component.mjs +0 -52
- package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.module.mjs +0 -18
- package/esm2022/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.mjs +0 -46
- package/esm2022/lib/ui-kit/snack-bar/snack-bar.module.mjs +0 -18
- package/esm2022/lib/ui-kit/snack-bar/snack-bar.service.mjs +0 -23
- package/esm2022/lib/ui-kit/tooltip/tooltip.directive.mjs +0 -168
- package/esm2022/lib/ui-kit/tooltip/tooltip.module.mjs +0 -18
- package/esm2022/lib/ui-kit/v-loader/loader/loader.component.mjs +0 -24
- package/esm2022/lib/ui-kit/v-loader/loader-inline/loader-inline.component.mjs +0 -24
- package/esm2022/lib/ui-kit/v-loader/v-loader.module.mjs +0 -19
- package/esm2022/public-api.mjs +0 -10
- package/esm2022/vc-create-dashboard.mjs +0 -5
- package/index.d.ts +0 -5
- package/lib/configurations.d.ts +0 -4
- package/lib/create-dashboard-container/categories/categories-config.d.ts +0 -18
- package/lib/create-dashboard-container/categories/categories.component.d.ts +0 -66
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.d.ts +0 -113
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.d.ts +0 -9
- package/lib/create-dashboard-container/configure-widgets/configure-widgets.module.d.ts +0 -14
- package/lib/create-dashboard-container/constants/assets.constant.d.ts +0 -35
- package/lib/create-dashboard-container/create-dashboard-config.d.ts +0 -18
- package/lib/create-dashboard-container/create-dashboard.component.d.ts +0 -219
- package/lib/create-dashboard-container/create-dashboard.module.d.ts +0 -37
- package/lib/create-dashboard-container/directives/directives.module.d.ts +0 -8
- package/lib/create-dashboard-container/directives/scroll-in-view.directive.d.ts +0 -12
- package/lib/create-dashboard-container/form-group/form-group.component.d.ts +0 -48
- package/lib/create-dashboard-container/frequency/frequency.component.d.ts +0 -39
- package/lib/create-dashboard-container/interfaces/widget-data-model.d.ts +0 -8
- package/lib/create-dashboard-container/pipes/filter.pipe.d.ts +0 -7
- package/lib/create-dashboard-container/pipes/search-program.pipe.d.ts +0 -7
- package/lib/create-dashboard-container/pipes/search.pipe.d.ts +0 -7
- package/lib/create-dashboard-container/pipes/text-count.pipe.d.ts +0 -7
- package/lib/create-dashboard-container/program-list/constant.d.ts +0 -24
- package/lib/create-dashboard-container/program-list/information-block/information-block.component.d.ts +0 -6
- package/lib/create-dashboard-container/program-list/interfaces/list-item.interface.d.ts +0 -5
- package/lib/create-dashboard-container/program-list/list-container/list-container.component.d.ts +0 -9
- package/lib/create-dashboard-container/program-list/pipes/check-selected-items.pipes.d.ts +0 -7
- package/lib/create-dashboard-container/program-list/program-list/program-list.component.d.ts +0 -119
- package/lib/create-dashboard-container/program-list/program-list.module.d.ts +0 -17
- package/lib/create-dashboard-container/program-list/services/list-utils.service.d.ts +0 -7
- package/lib/create-dashboard-container/program-list/services/program-list-api.service.d.ts +0 -12
- package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts +0 -72
- package/lib/create-dashboard-container/risk-categories/risk-categories-config.d.ts +0 -18
- package/lib/create-dashboard-container/risk-categories/risk-categories.component.d.ts +0 -66
- package/lib/create-dashboard-container/services/configure-widgets.service.d.ts +0 -21
- package/lib/create-dashboard-container/services/create-dashboard.service.d.ts +0 -80
- package/lib/create-dashboard-container/services/pagination.service.d.ts +0 -12
- package/lib/create-dashboard-container/user-list/user-list.component.d.ts +0 -123
- package/lib/create-dashboard-container/user-list/user-list.config.d.ts +0 -13
- package/lib/create-dashboard-container/utils/dashboard-edit.utils.d.ts +0 -16
- package/lib/create-dashboard.service.d.ts +0 -6
- package/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.d.ts +0 -17
- package/lib/ui-kit/dashboard-footer/dashboard-footer-config.d.ts +0 -11
- package/lib/ui-kit/dashboard-footer/dashboard-footer.module.d.ts +0 -10
- package/lib/ui-kit/dialog/dialog-config.d.ts +0 -6
- package/lib/ui-kit/dialog/dialog-injector.d.ts +0 -7
- package/lib/ui-kit/dialog/dialog-ref.d.ts +0 -7
- package/lib/ui-kit/dialog/dialog.component.d.ts +0 -33
- package/lib/ui-kit/dialog/dialog.module.d.ts +0 -9
- package/lib/ui-kit/dialog/dialog.service.d.ts +0 -17
- package/lib/ui-kit/dialog/insertion.directive.d.ts +0 -8
- package/lib/ui-kit/floating-bar/floating-bar.component.d.ts +0 -20
- package/lib/ui-kit/floating-bar/floating-bar.module.d.ts +0 -10
- package/lib/ui-kit/formgroup/click-outside.directive.d.ts +0 -10
- package/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +0 -13
- package/lib/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +0 -15
- package/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +0 -8
- package/lib/ui-kit/formgroup/cs-select/cs-select.component.d.ts +0 -36
- package/lib/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +0 -15
- package/lib/ui-kit/formgroup/formgroup.module.d.ts +0 -17
- package/lib/ui-kit/formgroup/pipes/pascal.pipe.d.ts +0 -7
- package/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.d.ts +0 -7
- package/lib/ui-kit/loaders/loaders.module.d.ts +0 -8
- package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +0 -9
- package/lib/ui-kit/no-data/no-data.component.d.ts +0 -19
- package/lib/ui-kit/no-data/no-data.module.d.ts +0 -8
- package/lib/ui-kit/pagination/pagination.component.d.ts +0 -21
- package/lib/ui-kit/pagination/pagination.module.d.ts +0 -8
- package/lib/ui-kit/popover/popover.component.d.ts +0 -28
- package/lib/ui-kit/popover/popover.directive.d.ts +0 -17
- package/lib/ui-kit/popover/popover.module.d.ts +0 -9
- package/lib/ui-kit/popover/popover.service.d.ts +0 -13
- package/lib/ui-kit/select/cs-option/cs-option.component.d.ts +0 -16
- package/lib/ui-kit/select/cs-select/cs-select.component.d.ts +0 -32
- package/lib/ui-kit/select/safe-html.pipe.d.ts +0 -10
- package/lib/ui-kit/select/select.module.d.ts +0 -11
- package/lib/ui-kit/services/cs-select.service.d.ts +0 -7
- package/lib/ui-kit/smiley-dialog/smiley-dialog.component.d.ts +0 -17
- package/lib/ui-kit/smiley-dialog/smiley-dialog.module.d.ts +0 -8
- package/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.d.ts +0 -17
- package/lib/ui-kit/snack-bar/snack-bar.module.d.ts +0 -8
- package/lib/ui-kit/snack-bar/snack-bar.service.d.ts +0 -9
- package/lib/ui-kit/tooltip/tooltip.directive.d.ts +0 -28
- package/lib/ui-kit/tooltip/tooltip.module.d.ts +0 -8
- package/lib/ui-kit/v-loader/loader/loader.component.d.ts +0 -11
- package/lib/ui-kit/v-loader/loader-inline/loader-inline.component.d.ts +0 -11
- package/lib/ui-kit/v-loader/v-loader.module.d.ts +0 -9
- package/public-api.d.ts +0 -3
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TextCountPipe implements PipeTransform {
|
|
4
|
-
transform(value: any, ...args: any[]): any;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextCountPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TextCountPipe, "textCount", false>;
|
|
7
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const PROGRAM_TABLE_HEADERS: string[];
|
|
2
|
-
export declare const PAGINATION_OPTIONS: {
|
|
3
|
-
PAGE_SIZE: number;
|
|
4
|
-
DEFAULT_CURRENT_PAGE: number;
|
|
5
|
-
};
|
|
6
|
-
export declare const PROGRAM_TYPE_LIST: {
|
|
7
|
-
name: string;
|
|
8
|
-
id: string;
|
|
9
|
-
}[];
|
|
10
|
-
export declare const PROGRAM_OBJECT: {
|
|
11
|
-
regulations: number;
|
|
12
|
-
standards: number;
|
|
13
|
-
internal_controls: number;
|
|
14
|
-
others: number;
|
|
15
|
-
};
|
|
16
|
-
export declare const PROGRAM_NO_DATA: {
|
|
17
|
-
programList: string;
|
|
18
|
-
categoryList: string;
|
|
19
|
-
search: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const PROGRAM_LIST_API: {
|
|
22
|
-
programList: string;
|
|
23
|
-
categoryList: string;
|
|
24
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class InformationBlockComponent {
|
|
3
|
-
constructor();
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InformationBlockComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InformationBlockComponent, "app-information-block", never, {}, {}, never, never, false, never>;
|
|
6
|
-
}
|
package/lib/create-dashboard-container/program-list/list-container/list-container.component.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ListContainerComponent {
|
|
4
|
-
heading: string;
|
|
5
|
-
close: EventEmitter<void>;
|
|
6
|
-
onClose(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListContainerComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListContainerComponent, "app-list-container", never, { "heading": { "alias": "heading"; "required": false; }; }, { "close": "close"; }, never, ["[body]", "[footer]"], false, never>;
|
|
9
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CheckSelectedItemsPipe implements PipeTransform {
|
|
4
|
-
transform(id: string, selectedItems: any): boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckSelectedItemsPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CheckSelectedItemsPipe, "checkSelectedItems", false>;
|
|
7
|
-
}
|
package/lib/create-dashboard-container/program-list/program-list/program-list.component.d.ts
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ListItem } from '../interfaces/list-item.interface';
|
|
3
|
-
import { ListUtilsService } from '../services/list-utils.service';
|
|
4
|
-
import { ProgramListApiService } from '../services/program-list-api.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ProgramListComponent<T extends ListItem> implements OnInit, OnChanges, OnDestroy {
|
|
7
|
-
private listUtils;
|
|
8
|
-
private programListApiService;
|
|
9
|
-
/** Array of items to be displayed in the list */
|
|
10
|
-
items: T[];
|
|
11
|
-
/** Object containing selected items, keyed by program ID */
|
|
12
|
-
selectedItems: any | null;
|
|
13
|
-
/** URL configuration object for API endpoints */
|
|
14
|
-
url: any;
|
|
15
|
-
/** Event emitted when an item is selected */
|
|
16
|
-
itemSelected: EventEmitter<T>;
|
|
17
|
-
/** Event emitted when an item is deselected */
|
|
18
|
-
itemDeselected: EventEmitter<T>;
|
|
19
|
-
/** Event emitted when the selection changes */
|
|
20
|
-
itemsSelectedChange: EventEmitter<T[]>;
|
|
21
|
-
tableHeaders: string[];
|
|
22
|
-
currentPage: number;
|
|
23
|
-
pageSize: number;
|
|
24
|
-
totalPages: number;
|
|
25
|
-
searchTerm: string;
|
|
26
|
-
paginatedItems: T[];
|
|
27
|
-
activeProgram: any | null;
|
|
28
|
-
categoryList: any;
|
|
29
|
-
programTypeList: any[];
|
|
30
|
-
selectedProgramType: any[];
|
|
31
|
-
loaderState: any;
|
|
32
|
-
appliedProgramType: any[];
|
|
33
|
-
PROGRAM_NO_DATA: any;
|
|
34
|
-
ASSETS: any;
|
|
35
|
-
programCategoryList: any;
|
|
36
|
-
/** Subject for handling debounced search */
|
|
37
|
-
private searchSubject;
|
|
38
|
-
/** Subject for cleanup subscriptions */
|
|
39
|
-
private destroy$;
|
|
40
|
-
constructor(listUtils: ListUtilsService, programListApiService: ProgramListApiService);
|
|
41
|
-
/** Initialize component by fetching program list */
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
/** Handle changes to inputs */
|
|
44
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
45
|
-
private focusFirstProgramWithSelections;
|
|
46
|
-
/** Fetch program list from API */
|
|
47
|
-
getProgramList(): void;
|
|
48
|
-
/**
|
|
49
|
-
* Load data and initialize pagination
|
|
50
|
-
* @param data Array of items to load
|
|
51
|
-
*/
|
|
52
|
-
loadData(data: any): void;
|
|
53
|
-
/**
|
|
54
|
-
* Handle item selection/deselection
|
|
55
|
-
* @param event Selection event
|
|
56
|
-
* @param item Item being selected/deselected
|
|
57
|
-
*/
|
|
58
|
-
selectItem(event: any, item: any): void;
|
|
59
|
-
/**
|
|
60
|
-
* Deselect a specific item
|
|
61
|
-
* @param item Item to deselect
|
|
62
|
-
*/
|
|
63
|
-
deselectItem(item: T): void;
|
|
64
|
-
/**
|
|
65
|
-
* Check if an item is selected
|
|
66
|
-
* @param item Item to check
|
|
67
|
-
* @returns Boolean indicating if item is selected
|
|
68
|
-
*/
|
|
69
|
-
isSelected(item: T): boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Navigate to specific page
|
|
72
|
-
* @param page Page number to navigate to
|
|
73
|
-
* @param data Data to paginate
|
|
74
|
-
*/
|
|
75
|
-
goToPage(page: number, data: any): void;
|
|
76
|
-
/**
|
|
77
|
-
* Get array of page numbers for pagination
|
|
78
|
-
* @returns Array of page numbers
|
|
79
|
-
*/
|
|
80
|
-
getPageNumbers(): number[];
|
|
81
|
-
/**
|
|
82
|
-
* Paginate items and update view
|
|
83
|
-
* @param data Data to paginate
|
|
84
|
-
*/
|
|
85
|
-
paginateItems(data: any): void;
|
|
86
|
-
/**
|
|
87
|
-
* View categories for a selected program
|
|
88
|
-
* @param item Program to view categories for
|
|
89
|
-
*/
|
|
90
|
-
viewCategory(item?: any): void;
|
|
91
|
-
checkProgramCategoryExists(id: string): void;
|
|
92
|
-
fetchProgramCategoryList(id: string): void;
|
|
93
|
-
/**
|
|
94
|
-
* Add parent tree information to categories
|
|
95
|
-
* @param categories Array of categories
|
|
96
|
-
* @returns Categories with parent tree information
|
|
97
|
-
*/
|
|
98
|
-
addParentTreeToCategories(categories: any[]): any[];
|
|
99
|
-
/**
|
|
100
|
-
* Handle program type filter selection
|
|
101
|
-
* @param event Selection event
|
|
102
|
-
* @param item Program type being selected/deselected
|
|
103
|
-
*/
|
|
104
|
-
selectFilter(event: any, item: any): void;
|
|
105
|
-
/** Reset all applied filters */
|
|
106
|
-
resetFilter(): void;
|
|
107
|
-
/** Apply selected filters to the program list */
|
|
108
|
-
onFilterChange(): void;
|
|
109
|
-
checkCategoryAvailbility(): void;
|
|
110
|
-
/** Trigger debounced search */
|
|
111
|
-
search(): void;
|
|
112
|
-
/** Perform search on items */
|
|
113
|
-
private performSearch;
|
|
114
|
-
/** Cleanup subscriptions on component destruction */
|
|
115
|
-
ngOnDestroy(): void;
|
|
116
|
-
closePopover(event: any): void;
|
|
117
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListComponent<any>, never>;
|
|
118
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgramListComponent<any>, "app-program-list", never, { "items": { "alias": "items"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "url": { "alias": "url"; "required": false; }; }, { "itemSelected": "itemSelected"; "itemDeselected": "itemDeselected"; "itemsSelectedChange": "itemsSelectedChange"; }, never, never, false, never>;
|
|
119
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./program-list/program-list.component";
|
|
3
|
-
import * as i2 from "./pipes/check-selected-items.pipes";
|
|
4
|
-
import * as i3 from "./list-container/list-container.component";
|
|
5
|
-
import * as i4 from "../pipes/search-program.pipe";
|
|
6
|
-
import * as i5 from "./information-block/information-block.component";
|
|
7
|
-
import * as i6 from "@angular/common";
|
|
8
|
-
import * as i7 from "@angular/forms";
|
|
9
|
-
import * as i8 from "../../ui-kit/formgroup/formgroup.module";
|
|
10
|
-
import * as i9 from "../../ui-kit/no-data/no-data.module";
|
|
11
|
-
import * as i10 from "../../ui-kit/popover/popover.module";
|
|
12
|
-
import * as i11 from "../../ui-kit/loaders/loaders.module";
|
|
13
|
-
export declare class ProgramListModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgramListModule, [typeof i1.ProgramListComponent, typeof i2.CheckSelectedItemsPipe, typeof i3.ListContainerComponent, typeof i4.SearchProgramPipe, typeof i5.InformationBlockComponent], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.FormgroupModule, typeof i9.NoDataModule, typeof i10.PopoverModule, typeof i11.LoadersModule], [typeof i1.ProgramListComponent, typeof i3.ListContainerComponent, typeof i5.InformationBlockComponent]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ProgramListModule>;
|
|
17
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ListUtilsService {
|
|
3
|
-
paginate<T>(items: T[], currentPage: number, pageSize: number): T[];
|
|
4
|
-
getPageNumbers(totalItems: number, pageSize: number): number[];
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListUtilsService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ListUtilsService>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Configurations } from '../../../configurations';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ProgramListApiService {
|
|
6
|
-
private http;
|
|
7
|
-
env: any;
|
|
8
|
-
constructor(http: HttpClient, config?: Configurations);
|
|
9
|
-
getProgramList(apiUrl: string): Observable<any>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListApiService, [null, { optional: true; }]>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProgramListApiService>;
|
|
12
|
-
}
|
package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
|
-
import { DashboardFooterConfig } from '../../ui-kit/dashboard-footer/dashboard-footer-config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ResponsibilityCenterComponent implements OnInit, OnChanges {
|
|
5
|
-
saveSelectedList: EventEmitter<any>;
|
|
6
|
-
closeRcList: EventEmitter<any>;
|
|
7
|
-
responsibilityCentersList: never[];
|
|
8
|
-
selectedResponsibilityCenters: never[];
|
|
9
|
-
rcIdKey: string;
|
|
10
|
-
radioSelection: boolean;
|
|
11
|
-
ASSETS: {
|
|
12
|
-
dashBoardIcon: string;
|
|
13
|
-
dashBoardUsersIcon: string;
|
|
14
|
-
dashBoardRcIcon: string;
|
|
15
|
-
dashBoardProgramIcon: string;
|
|
16
|
-
dashBoardRiskIcon: string;
|
|
17
|
-
dashBoardTimeFrameIcon: string;
|
|
18
|
-
dashBoardEmailSummariesIcon: string;
|
|
19
|
-
configure_widget: string;
|
|
20
|
-
overviewWidget: string;
|
|
21
|
-
responsibilityCalenderWidget: string;
|
|
22
|
-
responsibilityCenterOverviewWidget: string;
|
|
23
|
-
myResponsibilitiesWidget: string;
|
|
24
|
-
keyResponsibilitiesWidget: string;
|
|
25
|
-
trendAnalysisWidget: string;
|
|
26
|
-
workroomUpdatesWidget: string;
|
|
27
|
-
recentActivitiesWidget: string;
|
|
28
|
-
exceptionSummaryWidget: string;
|
|
29
|
-
riskOverviewWidget: string;
|
|
30
|
-
appetiteToleranceWidget: string;
|
|
31
|
-
inherentRCWidget: string;
|
|
32
|
-
residualRCWidget: string;
|
|
33
|
-
riskCategoryOverviewWidget: string;
|
|
34
|
-
riskHeatmapWidget: string;
|
|
35
|
-
inherentCategoriesWidget: string;
|
|
36
|
-
residualCategoriesWidget: string;
|
|
37
|
-
tenRiskRatingsWidget: string;
|
|
38
|
-
search_data: string;
|
|
39
|
-
appetite_tolerance: string;
|
|
40
|
-
inherent_trend: string;
|
|
41
|
-
residual_trend: string;
|
|
42
|
-
risk_trend: string;
|
|
43
|
-
policyApproverView: string;
|
|
44
|
-
responsibilitiesByAssignee: string;
|
|
45
|
-
};
|
|
46
|
-
selectedIds: any[];
|
|
47
|
-
selectedIdLookup: Record<string, boolean>;
|
|
48
|
-
isAllSelected: boolean;
|
|
49
|
-
animation: boolean;
|
|
50
|
-
search: string;
|
|
51
|
-
footerDetails: DashboardFooterConfig;
|
|
52
|
-
constructor();
|
|
53
|
-
ngOnChanges(): void;
|
|
54
|
-
ngOnInit(): void;
|
|
55
|
-
isSelected(id: any): boolean;
|
|
56
|
-
selectRc(rc: any, mode: any): void;
|
|
57
|
-
deleteEvent(event: any): void;
|
|
58
|
-
selectAll(mode: any): void;
|
|
59
|
-
setList(): void;
|
|
60
|
-
private updateSelectionState;
|
|
61
|
-
private findRcById;
|
|
62
|
-
private getNodeId;
|
|
63
|
-
private resolveSelectedId;
|
|
64
|
-
private addSelectedIds;
|
|
65
|
-
private removeSelectedIds;
|
|
66
|
-
/** Direct and nested child RC ids for a selected parent. */
|
|
67
|
-
private getDescendantIds;
|
|
68
|
-
save(): void;
|
|
69
|
-
closeResponsibilityCenterList(): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityCenterComponent, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResponsibilityCenterComponent, "app-responsibility-center", never, { "responsibilityCentersList": { "alias": "responsibilityCentersList"; "required": false; }; "selectedResponsibilityCenters": { "alias": "selectedResponsibilityCenters"; "required": false; }; "rcIdKey": { "alias": "rcIdKey"; "required": false; }; "radioSelection": { "alias": "radioSelection"; "required": false; }; }, { "saveSelectedList": "saveSelectedList"; "closeRcList": "closeRcList"; }, never, never, false, never>;
|
|
72
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface RiskCategoriesConfig {
|
|
2
|
-
strategic: {
|
|
3
|
-
list: [];
|
|
4
|
-
selectedList: any[];
|
|
5
|
-
};
|
|
6
|
-
operational: {
|
|
7
|
-
list: [];
|
|
8
|
-
selectedList: any[];
|
|
9
|
-
};
|
|
10
|
-
compliance: {
|
|
11
|
-
list: [];
|
|
12
|
-
selectedList: any[];
|
|
13
|
-
};
|
|
14
|
-
others: {
|
|
15
|
-
list: [];
|
|
16
|
-
selectedList: any[];
|
|
17
|
-
};
|
|
18
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { DashboardFooterConfig } from '../../ui-kit/dashboard-footer/dashboard-footer-config';
|
|
3
|
-
import { RiskCategoriesConfig } from './risk-categories-config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RiskCategoriesComponent implements OnInit {
|
|
6
|
-
ASSETS: {
|
|
7
|
-
dashBoardIcon: string;
|
|
8
|
-
dashBoardUsersIcon: string;
|
|
9
|
-
dashBoardRcIcon: string;
|
|
10
|
-
dashBoardProgramIcon: string;
|
|
11
|
-
dashBoardRiskIcon: string;
|
|
12
|
-
dashBoardTimeFrameIcon: string;
|
|
13
|
-
dashBoardEmailSummariesIcon: string;
|
|
14
|
-
configure_widget: string;
|
|
15
|
-
overviewWidget: string;
|
|
16
|
-
responsibilityCalenderWidget: string;
|
|
17
|
-
responsibilityCenterOverviewWidget: string;
|
|
18
|
-
myResponsibilitiesWidget: string;
|
|
19
|
-
keyResponsibilitiesWidget: string;
|
|
20
|
-
trendAnalysisWidget: string;
|
|
21
|
-
workroomUpdatesWidget: string;
|
|
22
|
-
recentActivitiesWidget: string;
|
|
23
|
-
exceptionSummaryWidget: string;
|
|
24
|
-
riskOverviewWidget: string;
|
|
25
|
-
appetiteToleranceWidget: string;
|
|
26
|
-
inherentRCWidget: string;
|
|
27
|
-
residualRCWidget: string;
|
|
28
|
-
riskCategoryOverviewWidget: string;
|
|
29
|
-
riskHeatmapWidget: string;
|
|
30
|
-
inherentCategoriesWidget: string;
|
|
31
|
-
residualCategoriesWidget: string;
|
|
32
|
-
tenRiskRatingsWidget: string;
|
|
33
|
-
search_data: string;
|
|
34
|
-
appetite_tolerance: string;
|
|
35
|
-
inherent_trend: string;
|
|
36
|
-
residual_trend: string;
|
|
37
|
-
risk_trend: string;
|
|
38
|
-
policyApproverView: string;
|
|
39
|
-
responsibilitiesByAssignee: string;
|
|
40
|
-
};
|
|
41
|
-
categoryList: RiskCategoriesConfig;
|
|
42
|
-
allCategories: any[];
|
|
43
|
-
categoryIdKey: any;
|
|
44
|
-
selectedCategories: any[];
|
|
45
|
-
search: string;
|
|
46
|
-
activeTab: 'strategic' | 'operational' | 'compliance' | 'others';
|
|
47
|
-
selectedIds: any[];
|
|
48
|
-
animation: boolean;
|
|
49
|
-
blockWidth: any;
|
|
50
|
-
footerDetails: DashboardFooterConfig;
|
|
51
|
-
saveSelectedCategory: EventEmitter<any>;
|
|
52
|
-
closeList: EventEmitter<any>;
|
|
53
|
-
closeCategoriesList: EventEmitter<any>;
|
|
54
|
-
constructor();
|
|
55
|
-
ngOnInit(): void;
|
|
56
|
-
selectCategory(mode: any, activeTab: any, category: any): void;
|
|
57
|
-
deleteEvent(event: any): void;
|
|
58
|
-
selectAll(mode: any, activeTab: string): void;
|
|
59
|
-
setList(): void;
|
|
60
|
-
setActiveTab(): void;
|
|
61
|
-
checkSelectAll(activeTab: string): boolean | undefined;
|
|
62
|
-
save(): void;
|
|
63
|
-
close(): void;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RiskCategoriesComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RiskCategoriesComponent, "app-risk-categories", never, { "categoryList": { "alias": "categoryList"; "required": false; }; "allCategories": { "alias": "allCategories"; "required": false; }; "categoryIdKey": { "alias": "categoryIdKey"; "required": false; }; "selectedCategories": { "alias": "selectedCategories"; "required": false; }; }, { "saveSelectedCategory": "saveSelectedCategory"; "closeList": "closeList"; "closeCategoriesList": "closeCategoriesList"; }, never, never, false, never>;
|
|
66
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Configurations } from '../../configurations';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ConfigureWidgetsService {
|
|
5
|
-
private http;
|
|
6
|
-
env: any;
|
|
7
|
-
constructor(http: HttpClient, config?: Configurations);
|
|
8
|
-
riskWidgetsData: {
|
|
9
|
-
title: string;
|
|
10
|
-
id: string;
|
|
11
|
-
description: string;
|
|
12
|
-
widgetImage: string;
|
|
13
|
-
value: number;
|
|
14
|
-
}[];
|
|
15
|
-
auditWidgetsData: never[];
|
|
16
|
-
policyWidgetsData: never[];
|
|
17
|
-
dashBoardWidgetUpdate(widGetJson: any): import("rxjs").Observable<Object>;
|
|
18
|
-
moduleType(identifier: string): "RISK" | undefined;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsService, [null, { optional: true; }]>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigureWidgetsService>;
|
|
21
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { HttpClient, HttpParams } from '@angular/common/http';
|
|
2
|
-
import { Configurations } from '../../configurations';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CreateDashboardService {
|
|
5
|
-
private http;
|
|
6
|
-
env: any;
|
|
7
|
-
httpOptions: any;
|
|
8
|
-
constructor(http: HttpClient, config?: Configurations);
|
|
9
|
-
getOrganizationUsers(url?: any): import("rxjs").Observable<any>;
|
|
10
|
-
/**
|
|
11
|
-
* Fetches the OrganizationUsers details of users List to set pagination details including number of
|
|
12
|
-
* pages and records limit per page,
|
|
13
|
-
* @param url contains info about type & search query
|
|
14
|
-
*/
|
|
15
|
-
getOrganizationUsersCount(url?: any): import("rxjs").Observable<any>;
|
|
16
|
-
getCategoryList(): import("rxjs").Observable<any[]>;
|
|
17
|
-
/**
|
|
18
|
-
* Fetches all users by making an API call
|
|
19
|
-
*/
|
|
20
|
-
getAllUsers(): import("rxjs").Observable<ArrayBuffer>;
|
|
21
|
-
/**
|
|
22
|
-
* Fetches all groups by making an API call
|
|
23
|
-
* */
|
|
24
|
-
getAllGroups(params?: HttpParams): import("rxjs").Observable<Object>;
|
|
25
|
-
/**
|
|
26
|
-
* Fetches responsibilityCentersList by making an API call
|
|
27
|
-
*/
|
|
28
|
-
getResponsibilityCenterList(): import("rxjs").Observable<any[]>;
|
|
29
|
-
getComplianceCategoriesList(): import("rxjs").Observable<any[]>;
|
|
30
|
-
getComplianceCategoriesListFromGlobal(): import("rxjs").Observable<any[]>;
|
|
31
|
-
submitDashboard(payload: any): import("rxjs").Observable<Object>;
|
|
32
|
-
/**
|
|
33
|
-
* Fetches the Dashboard details for data population to Edit the dashboard
|
|
34
|
-
* @param id
|
|
35
|
-
*/
|
|
36
|
-
/** @deprecated Legacy Global-Dashboard edit fetch; custom dashboards use fetchCustomDashboardById + getWidgets. */
|
|
37
|
-
fetchDashboard(id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
38
|
-
/**
|
|
39
|
-
* Edit mode only — GET Global-Dashboard/getWidgets?dashboardId={cdid}
|
|
40
|
-
* @param cdid Custom dashboard id (e.g. 438F8KSK22), not numeric record id
|
|
41
|
-
*/
|
|
42
|
-
fetchCustomDashboardWidgetDetails(cdid: string): import("rxjs").Observable<{
|
|
43
|
-
widgetArr: any[];
|
|
44
|
-
allWidgetsArray: any[];
|
|
45
|
-
activeWidgetArr: any[];
|
|
46
|
-
}>;
|
|
47
|
-
normalizeWidgetDetailsResponse(res: any): {
|
|
48
|
-
widgetArr: any[];
|
|
49
|
-
allWidgetsArray: any[];
|
|
50
|
-
activeWidgetArr: any[];
|
|
51
|
-
};
|
|
52
|
-
getSailsProgramList(): import("rxjs").Observable<ArrayBuffer>;
|
|
53
|
-
getProgramCategories(programId: string | number): import("rxjs").Observable<ArrayBuffer>;
|
|
54
|
-
/** Full custom dashboard payload (includes responsibilityCenterId, programId, etc.). */
|
|
55
|
-
fetchCustomDashboardById(id: string | number): import("rxjs").Observable<ArrayBuffer>;
|
|
56
|
-
getUserInformation(): import("rxjs").Observable<ArrayBuffer>;
|
|
57
|
-
_ID(): any;
|
|
58
|
-
checkDuplicateDashboardName(payload: any): import("rxjs").Observable<ArrayBuffer>;
|
|
59
|
-
createDashboard(payload: any): import("rxjs").Observable<ArrayBuffer>;
|
|
60
|
-
updateDashboard(payload: any, id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
61
|
-
saveWidgetDetails(payload: any): import("rxjs").Observable<ArrayBuffer>;
|
|
62
|
-
buildPayload(payload: any): {
|
|
63
|
-
dashboard: {
|
|
64
|
-
name: any;
|
|
65
|
-
description: any;
|
|
66
|
-
viewer: {
|
|
67
|
-
userId: any;
|
|
68
|
-
userGroupId: any;
|
|
69
|
-
};
|
|
70
|
-
responsibilityCenterId: any;
|
|
71
|
-
programId: any;
|
|
72
|
-
timeframe: {
|
|
73
|
-
from: any;
|
|
74
|
-
to: any;
|
|
75
|
-
} | null;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardService, [null, { optional: true; }]>;
|
|
79
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CreateDashboardService>;
|
|
80
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PaginationService {
|
|
4
|
-
currentPage: number;
|
|
5
|
-
searchValue: string;
|
|
6
|
-
currentValues: BehaviorSubject<{}>;
|
|
7
|
-
constructor();
|
|
8
|
-
setCurrentState(): void;
|
|
9
|
-
reset(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PaginationService>;
|
|
12
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { DashboardFooterConfig } from '../../ui-kit/dashboard-footer/dashboard-footer-config';
|
|
3
|
-
import { CreateDashboardService } from '../services/create-dashboard.service';
|
|
4
|
-
import { PaginationService } from '../services/pagination.service';
|
|
5
|
-
import { UserListConfiguration } from './user-list.config';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UserListComponent implements OnInit {
|
|
8
|
-
paginationService: PaginationService;
|
|
9
|
-
private dashboardService;
|
|
10
|
-
closeUserList: EventEmitter<any>;
|
|
11
|
-
saveSelectedUsers: EventEmitter<any>;
|
|
12
|
-
selectionType: string;
|
|
13
|
-
listDetails: UserListConfiguration;
|
|
14
|
-
footerDetails: DashboardFooterConfig;
|
|
15
|
-
vLoader: boolean;
|
|
16
|
-
vLoaderGroups: boolean;
|
|
17
|
-
ASSETS: {
|
|
18
|
-
dashBoardIcon: string;
|
|
19
|
-
dashBoardUsersIcon: string;
|
|
20
|
-
dashBoardRcIcon: string;
|
|
21
|
-
dashBoardProgramIcon: string;
|
|
22
|
-
dashBoardRiskIcon: string;
|
|
23
|
-
dashBoardTimeFrameIcon: string;
|
|
24
|
-
dashBoardEmailSummariesIcon: string;
|
|
25
|
-
configure_widget: string;
|
|
26
|
-
overviewWidget: string;
|
|
27
|
-
responsibilityCalenderWidget: string;
|
|
28
|
-
responsibilityCenterOverviewWidget: string;
|
|
29
|
-
myResponsibilitiesWidget: string;
|
|
30
|
-
keyResponsibilitiesWidget: string;
|
|
31
|
-
trendAnalysisWidget: string;
|
|
32
|
-
workroomUpdatesWidget: string;
|
|
33
|
-
recentActivitiesWidget: string;
|
|
34
|
-
exceptionSummaryWidget: string;
|
|
35
|
-
riskOverviewWidget: string;
|
|
36
|
-
appetiteToleranceWidget: string;
|
|
37
|
-
inherentRCWidget: string;
|
|
38
|
-
residualRCWidget: string;
|
|
39
|
-
riskCategoryOverviewWidget: string;
|
|
40
|
-
riskHeatmapWidget: string;
|
|
41
|
-
inherentCategoriesWidget: string;
|
|
42
|
-
residualCategoriesWidget: string;
|
|
43
|
-
tenRiskRatingsWidget: string;
|
|
44
|
-
search_data: string;
|
|
45
|
-
appetite_tolerance: string;
|
|
46
|
-
inherent_trend: string;
|
|
47
|
-
residual_trend: string;
|
|
48
|
-
risk_trend: string;
|
|
49
|
-
policyApproverView: string;
|
|
50
|
-
responsibilitiesByAssignee: string;
|
|
51
|
-
};
|
|
52
|
-
totalPages: number;
|
|
53
|
-
limit: number;
|
|
54
|
-
totalList: number;
|
|
55
|
-
feature: any;
|
|
56
|
-
totalgroupscount: any;
|
|
57
|
-
searchList: never[];
|
|
58
|
-
searchValue: string;
|
|
59
|
-
searchFilter: string;
|
|
60
|
-
selectedIds: any[];
|
|
61
|
-
selectedList: any[];
|
|
62
|
-
groupdata: any[];
|
|
63
|
-
animation: boolean;
|
|
64
|
-
totalgroups: any;
|
|
65
|
-
total_group_pages: any;
|
|
66
|
-
selectedGroupIds: any[];
|
|
67
|
-
groupsEnabled: any;
|
|
68
|
-
selectedgroupList: any[];
|
|
69
|
-
currentPage: number;
|
|
70
|
-
constructor(paginationService: PaginationService, dashboardService: CreateDashboardService);
|
|
71
|
-
ngOnChanges(): void;
|
|
72
|
-
ngOnInit(): void;
|
|
73
|
-
cancelChanges(): void;
|
|
74
|
-
removeElement(event: any): void;
|
|
75
|
-
submitChanges(): void;
|
|
76
|
-
selectAll(event: any): void;
|
|
77
|
-
/**
|
|
78
|
-
* Selects all admins and managers at once by making api call.
|
|
79
|
-
* @param event consists boolean value to select of unselect.
|
|
80
|
-
*/
|
|
81
|
-
selectAllUsers(event: any): void;
|
|
82
|
-
selectAllGroups(event: any): void;
|
|
83
|
-
selectAllsearchgroups(event: any): void;
|
|
84
|
-
/**
|
|
85
|
-
* Selects checked item from the list.
|
|
86
|
-
* In case of user's list calculates number of admins/manages to set visibility(either to all admins/ admins and managers)
|
|
87
|
-
* @param data is the selected element
|
|
88
|
-
*/
|
|
89
|
-
selectElement(data: any): void;
|
|
90
|
-
selectGroupElement(data: any): void;
|
|
91
|
-
/**
|
|
92
|
-
* It is used to set and search value incase of backend driven list to differentiate search list and original list
|
|
93
|
-
*/
|
|
94
|
-
setSearchValue(): void;
|
|
95
|
-
/**
|
|
96
|
-
* it is used check select all condition incase of backend driven search
|
|
97
|
-
*/
|
|
98
|
-
checkSelectAll(): boolean;
|
|
99
|
-
/**
|
|
100
|
-
* it is used check select all groups condition incase of backend driven search
|
|
101
|
-
*/
|
|
102
|
-
checkSelectAllGroups(): boolean;
|
|
103
|
-
/**
|
|
104
|
-
* Filter list user's list based on pagination by making api call
|
|
105
|
-
* @param event specifies a boolean value to call api
|
|
106
|
-
*/
|
|
107
|
-
paginationFilter(event: any): void;
|
|
108
|
-
/**
|
|
109
|
-
* Gets user's list by making api call
|
|
110
|
-
* @param url contains userlist filter details
|
|
111
|
-
*/
|
|
112
|
-
getUsersList(url: any): void;
|
|
113
|
-
getGroupsList(event: any): void;
|
|
114
|
-
/**
|
|
115
|
-
* on click on next button from the list, it emits the selected list of elements to parent component.
|
|
116
|
-
*/
|
|
117
|
-
onSubmit(): void;
|
|
118
|
-
currentTab: string;
|
|
119
|
-
switchTab(tab: string): void;
|
|
120
|
-
getOrganizationUsersCount(Url: any): void;
|
|
121
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserListComponent, never>;
|
|
122
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserListComponent, "app-user-list", never, { "selectionType": { "alias": "selectionType"; "required": false; }; "listDetails": { "alias": "listDetails"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "totalList": { "alias": "totalList"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "totalgroupscount": { "alias": "totalgroupscount"; "required": false; }; }, { "closeUserList": "closeUserList"; "saveSelectedUsers": "saveSelectedUsers"; }, never, never, false, never>;
|
|
123
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* defines listing structure for Reusable list components
|
|
3
|
-
*/
|
|
4
|
-
export interface UserListConfiguration {
|
|
5
|
-
selectedUsersList: {}[];
|
|
6
|
-
selectedGroupList: {}[];
|
|
7
|
-
nonRemovableUsersList: any[];
|
|
8
|
-
displayElementKey: string;
|
|
9
|
-
displayGroupKey: string;
|
|
10
|
-
groupIdkey: string;
|
|
11
|
-
elementIdKey: string;
|
|
12
|
-
tooltipKey: string;
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** Shared helpers for custom dashboard create/edit form hydration. */
|
|
2
|
-
export type ProgramSelectionMap = Record<string, any[]>;
|
|
3
|
-
export declare function normalizeIdArray(value: unknown): number[];
|
|
4
|
-
export declare function extractProgramIdsFromDashboard(data: any): number[];
|
|
5
|
-
export declare function extractCategoryIdsFromDashboard(data: any): number[];
|
|
6
|
-
export declare function extractRcIdsFromDashboard(data: any): number[];
|
|
7
|
-
export declare function hasProgramSelectionInMap(map: ProgramSelectionMap | null | undefined): boolean;
|
|
8
|
-
export declare function normalizeProgramCategories(categories: any[]): any[];
|
|
9
|
-
export declare function flattenProgramSelectionMap(selections: ProgramSelectionMap): any[];
|
|
10
|
-
export declare function normalizeProgramSelectionMap(map: ProgramSelectionMap): ProgramSelectionMap | null;
|
|
11
|
-
export declare function resolveCategoryProgramId(cat: any, complianceCatalog?: any[]): string;
|
|
12
|
-
export declare function buildProgramSelectionMapFromCategories(categories: any[], complianceCatalog?: any[]): ProgramSelectionMap;
|
|
13
|
-
export declare function parseSailsProgramList(res: any): any[];
|
|
14
|
-
export declare function getEditDashboardCdid(data: any, dashboardDetails: any, dashboardId: string): string;
|
|
15
|
-
export declare function getSelectedProgramsMap(data: any): ProgramSelectionMap | undefined;
|
|
16
|
-
export declare function filterActiveWidgets(widgets: any[]): any[];
|