vc-create-dashboard 3.0.3 → 3.0.5
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/README.md +24 -24
- package/esm2022/lib/configurations.mjs +7 -7
- package/esm2022/lib/create-dashboard-container/categories/categories-config.mjs +2 -2
- package/esm2022/lib/create-dashboard-container/categories/categories.component.mjs +212 -210
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.mjs +551 -549
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.mjs +2 -2
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets.module.mjs +47 -47
- package/esm2022/lib/create-dashboard-container/constants/assets.constant.mjs +34 -10
- package/esm2022/lib/create-dashboard-container/create-dashboard-config.mjs +2 -2
- package/esm2022/lib/create-dashboard-container/create-dashboard.component.mjs +1121 -1121
- package/esm2022/lib/create-dashboard-container/create-dashboard.module.mjs +132 -132
- package/esm2022/lib/create-dashboard-container/directives/directives.module.mjs +24 -24
- package/esm2022/lib/create-dashboard-container/directives/scroll-in-view.directive.mjs +36 -36
- package/esm2022/lib/create-dashboard-container/form-group/form-group.component.mjs +153 -153
- package/esm2022/lib/create-dashboard-container/frequency/frequency.component.mjs +309 -309
- package/esm2022/lib/create-dashboard-container/interfaces/widget-data-model.mjs +2 -2
- package/esm2022/lib/create-dashboard-container/pipes/filter.pipe.mjs +30 -30
- package/esm2022/lib/create-dashboard-container/pipes/search.pipe.mjs +25 -25
- package/esm2022/lib/create-dashboard-container/pipes/text-count.pipe.mjs +19 -19
- package/esm2022/lib/create-dashboard-container/responsibility-center/responsibility-center.component.mjs +149 -145
- package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories-config.mjs +2 -2
- package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories.component.mjs +206 -195
- package/esm2022/lib/create-dashboard-container/services/auth.service.mjs +31 -31
- package/esm2022/lib/create-dashboard-container/services/configure-widgets.service.mjs +230 -227
- package/esm2022/lib/create-dashboard-container/services/create-dashboard.service.mjs +160 -160
- package/esm2022/lib/create-dashboard-container/services/pagination.service.mjs +28 -28
- package/esm2022/lib/create-dashboard-container/services/urlConfig.service.mjs +29 -29
- package/esm2022/lib/create-dashboard-container/user-list/user-list.component.mjs +440 -421
- package/esm2022/lib/create-dashboard-container/user-list/user-list.config.mjs +2 -2
- package/esm2022/lib/create-dashboard.service.mjs +14 -14
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.mjs +52 -52
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer-config.mjs +2 -2
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer.module.mjs +32 -32
- package/esm2022/lib/ui-kit/dialog/dialog-config.mjs +7 -7
- package/esm2022/lib/ui-kit/dialog/dialog-injector.mjs +17 -17
- package/esm2022/lib/ui-kit/dialog/dialog-ref.mjs +11 -11
- package/esm2022/lib/ui-kit/dialog/dialog.component.mjs +99 -99
- package/esm2022/lib/ui-kit/dialog/dialog.module.mjs +20 -20
- package/esm2022/lib/ui-kit/dialog/dialog.service.mjs +56 -56
- package/esm2022/lib/ui-kit/dialog/insertion.directive.mjs +17 -17
- package/esm2022/lib/ui-kit/floating-bar/floating-bar.component.mjs +57 -57
- package/esm2022/lib/ui-kit/floating-bar/floating-bar.module.mjs +32 -32
- package/esm2022/lib/ui-kit/formgroup/click-outside.directive.mjs +30 -30
- package/esm2022/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.mjs +29 -29
- package/esm2022/lib/ui-kit/formgroup/cs-radio/cs-radio.component.mjs +34 -34
- package/esm2022/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.mjs +14 -14
- package/esm2022/lib/ui-kit/formgroup/cs-select/cs-select.component.mjs +119 -119
- package/esm2022/lib/ui-kit/formgroup/cs-switch/cs-switch.component.mjs +39 -39
- package/esm2022/lib/ui-kit/formgroup/formgroup.module.mjs +55 -55
- package/esm2022/lib/ui-kit/formgroup/pipes/pascal.pipe.mjs +19 -19
- package/esm2022/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.mjs +24 -24
- package/esm2022/lib/ui-kit/no-data/no-data.component.mjs +47 -47
- package/esm2022/lib/ui-kit/no-data/no-data.module.mjs +18 -18
- package/esm2022/lib/ui-kit/pagination/pagination.component.mjs +130 -130
- package/esm2022/lib/ui-kit/pagination/pagination.module.mjs +18 -18
- package/esm2022/lib/ui-kit/popover/popover.component.mjs +142 -142
- package/esm2022/lib/ui-kit/popover/popover.directive.mjs +93 -93
- package/esm2022/lib/ui-kit/popover/popover.module.mjs +21 -21
- package/esm2022/lib/ui-kit/popover/popover.service.mjs +23 -23
- package/esm2022/lib/ui-kit/select/cs-option/cs-option.component.mjs +41 -41
- package/esm2022/lib/ui-kit/select/cs-select/cs-select.component.mjs +107 -107
- package/esm2022/lib/ui-kit/select/safe-html.pipe.mjs +21 -21
- package/esm2022/lib/ui-kit/select/select.module.mjs +21 -21
- package/esm2022/lib/ui-kit/services/cs-select.service.mjs +16 -16
- package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.component.mjs +52 -52
- package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.module.mjs +18 -18
- package/esm2022/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.mjs +46 -46
- package/esm2022/lib/ui-kit/snack-bar/snack-bar.module.mjs +18 -18
- package/esm2022/lib/ui-kit/snack-bar/snack-bar.service.mjs +23 -23
- package/esm2022/lib/ui-kit/tooltip/tooltip.directive.mjs +168 -168
- package/esm2022/lib/ui-kit/tooltip/tooltip.module.mjs +18 -18
- package/esm2022/lib/ui-kit/v-loader/loader/loader.component.mjs +24 -24
- package/esm2022/lib/ui-kit/v-loader/loader-inline/loader-inline.component.mjs +24 -24
- package/esm2022/lib/ui-kit/v-loader/v-loader.module.mjs +19 -19
- package/esm2022/public-api.mjs +10 -10
- package/esm2022/vc-create-dashboard.mjs +4 -4
- package/fesm2022/vc-create-dashboard.mjs +5367 -5308
- package/fesm2022/vc-create-dashboard.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/configurations.d.ts +4 -4
- package/lib/create-dashboard-container/categories/categories-config.d.ts +18 -18
- package/lib/create-dashboard-container/categories/categories.component.d.ts +64 -31
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.d.ts +121 -88
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.d.ts +9 -9
- package/lib/create-dashboard-container/configure-widgets/configure-widgets.module.d.ts +14 -14
- package/lib/create-dashboard-container/constants/assets.constant.d.ts +33 -9
- package/lib/create-dashboard-container/create-dashboard-config.d.ts +18 -18
- package/lib/create-dashboard-container/create-dashboard.component.d.ts +178 -178
- package/lib/create-dashboard-container/create-dashboard.module.d.ts +40 -40
- package/lib/create-dashboard-container/directives/directives.module.d.ts +8 -8
- package/lib/create-dashboard-container/directives/scroll-in-view.directive.d.ts +12 -12
- package/lib/create-dashboard-container/form-group/form-group.component.d.ts +48 -48
- package/lib/create-dashboard-container/frequency/frequency.component.d.ts +39 -39
- package/lib/create-dashboard-container/interfaces/widget-data-model.d.ts +8 -8
- package/lib/create-dashboard-container/pipes/filter.pipe.d.ts +7 -7
- package/lib/create-dashboard-container/pipes/search.pipe.d.ts +7 -7
- package/lib/create-dashboard-container/pipes/text-count.pipe.d.ts +7 -7
- package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts +60 -27
- package/lib/create-dashboard-container/risk-categories/risk-categories-config.d.ts +18 -18
- package/lib/create-dashboard-container/risk-categories/risk-categories.component.d.ts +64 -31
- package/lib/create-dashboard-container/services/auth.service.d.ts +11 -11
- package/lib/create-dashboard-container/services/configure-widgets.service.d.ts +38 -38
- package/lib/create-dashboard-container/services/create-dashboard.service.d.ts +45 -45
- package/lib/create-dashboard-container/services/pagination.service.d.ts +12 -12
- package/lib/create-dashboard-container/services/urlConfig.service.d.ts +10 -10
- package/lib/create-dashboard-container/user-list/user-list.component.d.ts +121 -88
- package/lib/create-dashboard-container/user-list/user-list.config.d.ts +13 -13
- package/lib/create-dashboard.service.d.ts +6 -6
- package/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.d.ts +17 -17
- package/lib/ui-kit/dashboard-footer/dashboard-footer-config.d.ts +11 -11
- package/lib/ui-kit/dashboard-footer/dashboard-footer.module.d.ts +10 -10
- package/lib/ui-kit/dialog/dialog-config.d.ts +6 -6
- package/lib/ui-kit/dialog/dialog-injector.d.ts +7 -7
- package/lib/ui-kit/dialog/dialog-ref.d.ts +7 -7
- package/lib/ui-kit/dialog/dialog.component.d.ts +33 -33
- package/lib/ui-kit/dialog/dialog.module.d.ts +9 -9
- package/lib/ui-kit/dialog/dialog.service.d.ts +17 -17
- package/lib/ui-kit/dialog/insertion.directive.d.ts +8 -8
- package/lib/ui-kit/floating-bar/floating-bar.component.d.ts +20 -20
- package/lib/ui-kit/floating-bar/floating-bar.module.d.ts +10 -10
- package/lib/ui-kit/formgroup/click-outside.directive.d.ts +10 -10
- package/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +13 -13
- package/lib/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +15 -15
- package/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +8 -8
- package/lib/ui-kit/formgroup/cs-select/cs-select.component.d.ts +36 -36
- package/lib/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +15 -15
- package/lib/ui-kit/formgroup/formgroup.module.d.ts +17 -17
- package/lib/ui-kit/formgroup/pipes/pascal.pipe.d.ts +7 -7
- package/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.d.ts +7 -7
- package/lib/ui-kit/no-data/no-data.component.d.ts +19 -19
- package/lib/ui-kit/no-data/no-data.module.d.ts +8 -8
- package/lib/ui-kit/pagination/pagination.component.d.ts +21 -21
- package/lib/ui-kit/pagination/pagination.module.d.ts +8 -8
- package/lib/ui-kit/popover/popover.component.d.ts +28 -28
- package/lib/ui-kit/popover/popover.directive.d.ts +17 -17
- package/lib/ui-kit/popover/popover.module.d.ts +9 -9
- package/lib/ui-kit/popover/popover.service.d.ts +13 -13
- package/lib/ui-kit/select/cs-option/cs-option.component.d.ts +16 -16
- package/lib/ui-kit/select/cs-select/cs-select.component.d.ts +32 -32
- package/lib/ui-kit/select/safe-html.pipe.d.ts +10 -10
- package/lib/ui-kit/select/select.module.d.ts +11 -11
- package/lib/ui-kit/services/cs-select.service.d.ts +7 -7
- package/lib/ui-kit/smiley-dialog/smiley-dialog.component.d.ts +17 -17
- package/lib/ui-kit/smiley-dialog/smiley-dialog.module.d.ts +8 -8
- package/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.d.ts +17 -17
- package/lib/ui-kit/snack-bar/snack-bar.module.d.ts +8 -8
- package/lib/ui-kit/snack-bar/snack-bar.service.d.ts +9 -9
- package/lib/ui-kit/tooltip/tooltip.directive.d.ts +28 -28
- package/lib/ui-kit/tooltip/tooltip.module.d.ts +8 -8
- package/lib/ui-kit/v-loader/loader/loader.component.d.ts +11 -11
- package/lib/ui-kit/v-loader/loader-inline/loader-inline.component.d.ts +11 -11
- package/lib/ui-kit/v-loader/v-loader.module.d.ts +9 -9
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="vc-create-dashboard" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="vc-create-dashboard" />
|
|
5
|
+
export * from './public-api';
|
package/lib/configurations.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class Configurations {
|
|
2
|
-
envConfig: any;
|
|
3
|
-
constructor();
|
|
4
|
-
}
|
|
1
|
+
export declare class Configurations {
|
|
2
|
+
envConfig: any;
|
|
3
|
+
constructor();
|
|
4
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface CategoriesConfig {
|
|
2
|
-
regulations: {
|
|
3
|
-
list: [];
|
|
4
|
-
selectedList: any[];
|
|
5
|
-
};
|
|
6
|
-
standards: {
|
|
7
|
-
list: [];
|
|
8
|
-
selectedList: any[];
|
|
9
|
-
};
|
|
10
|
-
internalControls: {
|
|
11
|
-
list: [];
|
|
12
|
-
selectedList: any[];
|
|
13
|
-
};
|
|
14
|
-
others: {
|
|
15
|
-
list: [];
|
|
16
|
-
selectedList: any[];
|
|
17
|
-
};
|
|
18
|
-
}
|
|
1
|
+
export interface CategoriesConfig {
|
|
2
|
+
regulations: {
|
|
3
|
+
list: [];
|
|
4
|
+
selectedList: any[];
|
|
5
|
+
};
|
|
6
|
+
standards: {
|
|
7
|
+
list: [];
|
|
8
|
+
selectedList: any[];
|
|
9
|
+
};
|
|
10
|
+
internalControls: {
|
|
11
|
+
list: [];
|
|
12
|
+
selectedList: any[];
|
|
13
|
+
};
|
|
14
|
+
others: {
|
|
15
|
+
list: [];
|
|
16
|
+
selectedList: any[];
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -1,31 +1,64 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { DashboardFooterConfig } from '../../ui-kit/dashboard-footer/dashboard-footer-config';
|
|
3
|
-
import { CategoriesConfig } from './categories-config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CategoriesComponent implements OnInit {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DashboardFooterConfig } from '../../ui-kit/dashboard-footer/dashboard-footer-config';
|
|
3
|
+
import { CategoriesConfig } from './categories-config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CategoriesComponent 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
|
+
};
|
|
39
|
+
categoryList: CategoriesConfig;
|
|
40
|
+
allCategories: any[];
|
|
41
|
+
categoryIdKey: any;
|
|
42
|
+
selectedCategories: any[];
|
|
43
|
+
search: string;
|
|
44
|
+
activeTab: 'standards' | 'regulations' | 'internalControls' | 'others';
|
|
45
|
+
selectedIds: any[];
|
|
46
|
+
animation: boolean;
|
|
47
|
+
blockWidth: any;
|
|
48
|
+
footerDetails: DashboardFooterConfig;
|
|
49
|
+
saveSelectedCategory: EventEmitter<any>;
|
|
50
|
+
closeList: EventEmitter<any>;
|
|
51
|
+
closeCategoriesList: EventEmitter<any>;
|
|
52
|
+
constructor();
|
|
53
|
+
ngOnInit(): void;
|
|
54
|
+
selectCategory(mode: any, activeTab: any, category: any): void;
|
|
55
|
+
deleteEvent(event: any): void;
|
|
56
|
+
selectAll(mode: any, activeTab: 'standards' | 'regulations' | 'internalControls' | 'others'): void;
|
|
57
|
+
setList(): void;
|
|
58
|
+
setActiveTab(): void;
|
|
59
|
+
checkSelectAll(activeTab: 'standards' | 'regulations' | 'internalControls' | 'others'): boolean;
|
|
60
|
+
save(): void;
|
|
61
|
+
close(): void;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CategoriesComponent, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CategoriesComponent, "app-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>;
|
|
64
|
+
}
|
|
@@ -1,88 +1,121 @@
|
|
|
1
|
-
import { ConfigureWidgetsService } from '../../services/configure-widgets.service';
|
|
2
|
-
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
3
|
-
import { widgetDataModel } from '../../interfaces/widget-data-model';
|
|
4
|
-
import { DialogRef } from '../../../ui-kit/dialog/dialog-ref';
|
|
5
|
-
import { widgetConfig } from './widget.interface';
|
|
6
|
-
import { SnackBarService } from '../../../ui-kit/snack-bar/snack-bar.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
|
|
9
|
-
private dialog;
|
|
10
|
-
configureWidgetsService: ConfigureWidgetsService;
|
|
11
|
-
private snackBar;
|
|
12
|
-
widgetsDataModified: EventEmitter<any>;
|
|
13
|
-
closeConfigureWidgets: EventEmitter<any>;
|
|
14
|
-
checkboxStatus: any;
|
|
15
|
-
search: string;
|
|
16
|
-
checkedArray: Array<{
|
|
17
|
-
index: number;
|
|
18
|
-
status: number;
|
|
19
|
-
}>;
|
|
20
|
-
selectedWidgets: Array<widgetDataModel>;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
1
|
+
import { ConfigureWidgetsService } from '../../services/configure-widgets.service';
|
|
2
|
+
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
3
|
+
import { widgetDataModel } from '../../interfaces/widget-data-model';
|
|
4
|
+
import { DialogRef } from '../../../ui-kit/dialog/dialog-ref';
|
|
5
|
+
import { widgetConfig } from './widget.interface';
|
|
6
|
+
import { SnackBarService } from '../../../ui-kit/snack-bar/snack-bar.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
|
|
9
|
+
private dialog;
|
|
10
|
+
configureWidgetsService: ConfigureWidgetsService;
|
|
11
|
+
private snackBar;
|
|
12
|
+
widgetsDataModified: EventEmitter<any>;
|
|
13
|
+
closeConfigureWidgets: EventEmitter<any>;
|
|
14
|
+
checkboxStatus: any;
|
|
15
|
+
search: string;
|
|
16
|
+
checkedArray: Array<{
|
|
17
|
+
index: number;
|
|
18
|
+
status: number;
|
|
19
|
+
}>;
|
|
20
|
+
selectedWidgets: Array<widgetDataModel>;
|
|
21
|
+
ASSETS: {
|
|
22
|
+
dashBoardIcon: string;
|
|
23
|
+
dashBoardUsersIcon: string;
|
|
24
|
+
dashBoardRcIcon: string;
|
|
25
|
+
dashBoardProgramIcon: string;
|
|
26
|
+
dashBoardRiskIcon: string;
|
|
27
|
+
dashBoardTimeFrameIcon: string;
|
|
28
|
+
dashBoardEmailSummariesIcon: string;
|
|
29
|
+
configure_widget: string;
|
|
30
|
+
overviewWidget: string;
|
|
31
|
+
responsibilityCalenderWidget: string;
|
|
32
|
+
responsibilityCenterOverviewWidget: string;
|
|
33
|
+
myResponsibilitiesWidget: string;
|
|
34
|
+
keyResponsibilitiesWidget: string;
|
|
35
|
+
trendAnalysisWidget: string;
|
|
36
|
+
workroomUpdatesWidget: string;
|
|
37
|
+
recentActivitiesWidget: string;
|
|
38
|
+
exceptionSummaryWidget: string;
|
|
39
|
+
riskOverviewWidget: string;
|
|
40
|
+
appetiteToleranceWidget: string;
|
|
41
|
+
inherentRCWidget: string;
|
|
42
|
+
residualRCWidget: string;
|
|
43
|
+
riskCategoryOverviewWidget: string;
|
|
44
|
+
riskHeatmapWidget: string;
|
|
45
|
+
inherentCategoriesWidget: string;
|
|
46
|
+
residualCategoriesWidget: string;
|
|
47
|
+
tenRiskRatingsWidget: string;
|
|
48
|
+
search_data: string;
|
|
49
|
+
appetite_tolerance: string;
|
|
50
|
+
inherent_trend: string;
|
|
51
|
+
residual_trend: string;
|
|
52
|
+
risk_trend: string;
|
|
53
|
+
};
|
|
54
|
+
module: 'COMPLIANCE' | 'RISK';
|
|
55
|
+
selectedWidgetsData: any;
|
|
56
|
+
displayedWidgets: any;
|
|
57
|
+
showRisk: boolean;
|
|
58
|
+
showCompliance: boolean;
|
|
59
|
+
mode: string;
|
|
60
|
+
noDataText: string;
|
|
61
|
+
selectedWidgetIds: any;
|
|
62
|
+
subResponsibilitiesSelected: boolean;
|
|
63
|
+
subKeyResponsibilitiesSelected: boolean;
|
|
64
|
+
showWidgets: boolean;
|
|
65
|
+
complianceWidgetsDisplayCount: number;
|
|
66
|
+
riskWidgetsDisplayCount: number;
|
|
67
|
+
constructor(dialog: DialogRef, configureWidgetsService: ConfigureWidgetsService, snackBar: SnackBarService);
|
|
68
|
+
ngOnChanges(): void;
|
|
69
|
+
ngOnInit(): void;
|
|
70
|
+
widgetsList: {
|
|
71
|
+
COMPLIANCE: ({
|
|
72
|
+
title: string;
|
|
73
|
+
id: string;
|
|
74
|
+
description: string;
|
|
75
|
+
widgetImage: string;
|
|
76
|
+
value: boolean;
|
|
77
|
+
visibility: boolean;
|
|
78
|
+
module: string;
|
|
79
|
+
subWidgets: never[];
|
|
80
|
+
tabOption?: undefined;
|
|
81
|
+
} | {
|
|
82
|
+
title: string;
|
|
83
|
+
id: string;
|
|
84
|
+
description: string;
|
|
85
|
+
widgetImage: string;
|
|
86
|
+
tabOption: boolean;
|
|
87
|
+
value: boolean;
|
|
88
|
+
visibility: boolean;
|
|
89
|
+
module: string;
|
|
90
|
+
subWidgets: {
|
|
91
|
+
title: string;
|
|
92
|
+
id: string;
|
|
93
|
+
value: boolean;
|
|
94
|
+
visibility: boolean;
|
|
95
|
+
}[];
|
|
96
|
+
})[];
|
|
97
|
+
RISK: {
|
|
98
|
+
title: string;
|
|
99
|
+
id: string;
|
|
100
|
+
description: string;
|
|
101
|
+
widgetImage: string;
|
|
102
|
+
value: boolean;
|
|
103
|
+
visibility: boolean;
|
|
104
|
+
module: string;
|
|
105
|
+
subWidgets: {
|
|
106
|
+
title: string;
|
|
107
|
+
id: string;
|
|
108
|
+
value: boolean;
|
|
109
|
+
visibility: boolean;
|
|
110
|
+
}[];
|
|
111
|
+
}[];
|
|
112
|
+
};
|
|
113
|
+
selectWidget(event: any, module: 'COMPLIANCE' | 'RISK', widgetId: string, subWidgetId?: string): void;
|
|
114
|
+
setSelectedWidgets(): void;
|
|
115
|
+
removeWidget(widget: widgetConfig): void;
|
|
116
|
+
onNextClick(): void;
|
|
117
|
+
closeConfigureDashboard(): void;
|
|
118
|
+
setWidgetsVisibilityToFalse(): void;
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsComponent, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigureWidgetsComponent, "app-configure-widgets", never, { "selectedWidgetsData": { "alias": "selectedWidgetsData"; "required": false; }; "displayedWidgets": { "alias": "displayedWidgets"; "required": false; }; "showRisk": { "alias": "showRisk"; "required": false; }; "showCompliance": { "alias": "showCompliance"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "widgetsDataModified": "widgetsDataModified"; "closeConfigureWidgets": "closeConfigureWidgets"; }, never, never, false, never>;
|
|
121
|
+
}
|
package/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface widgetConfig {
|
|
2
|
-
title: string;
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
widgetImage: string;
|
|
6
|
-
value: boolean;
|
|
7
|
-
module: 'COMPLIANCE' | 'RISK';
|
|
8
|
-
subWidgets: [];
|
|
9
|
-
}
|
|
1
|
+
export interface widgetConfig {
|
|
2
|
+
title: string;
|
|
3
|
+
id: string;
|
|
4
|
+
description: string;
|
|
5
|
+
widgetImage: string;
|
|
6
|
+
value: boolean;
|
|
7
|
+
module: 'COMPLIANCE' | 'RISK';
|
|
8
|
+
subWidgets: [];
|
|
9
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./configure-widgets/configure-widgets.component";
|
|
3
|
-
import * as i2 from "../pipes/search.pipe";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "../../ui-kit/floating-bar/floating-bar.module";
|
|
6
|
-
import * as i5 from "../../ui-kit/formgroup/formgroup.module";
|
|
7
|
-
import * as i6 from "@angular/forms";
|
|
8
|
-
import * as i7 from "../directives/directives.module";
|
|
9
|
-
import * as i8 from "../../ui-kit/no-data/no-data.module";
|
|
10
|
-
export declare class ConfigureWidgetsModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigureWidgetsModule, [typeof i1.ConfigureWidgetsComponent, typeof i2.SearchPipe], [typeof i3.CommonModule, typeof i4.FloatingBarModule, typeof i5.FormgroupModule, typeof i6.FormsModule, typeof i7.DirectivesModule, typeof i8.NoDataModule, typeof i3.NgOptimizedImage], [typeof i1.ConfigureWidgetsComponent]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigureWidgetsModule>;
|
|
14
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./configure-widgets/configure-widgets.component";
|
|
3
|
+
import * as i2 from "../pipes/search.pipe";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../ui-kit/floating-bar/floating-bar.module";
|
|
6
|
+
import * as i5 from "../../ui-kit/formgroup/formgroup.module";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "../directives/directives.module";
|
|
9
|
+
import * as i8 from "../../ui-kit/no-data/no-data.module";
|
|
10
|
+
export declare class ConfigureWidgetsModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigureWidgetsModule, [typeof i1.ConfigureWidgetsComponent, typeof i2.SearchPipe], [typeof i3.CommonModule, typeof i4.FloatingBarModule, typeof i5.FormgroupModule, typeof i6.FormsModule, typeof i7.DirectivesModule, typeof i8.NoDataModule, typeof i3.NgOptimizedImage], [typeof i1.ConfigureWidgetsComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigureWidgetsModule>;
|
|
14
|
+
}
|
|
@@ -1,9 +1,33 @@
|
|
|
1
|
-
export declare const ASSETS: {
|
|
2
|
-
dashBoardIcon: string;
|
|
3
|
-
dashBoardUsersIcon: string;
|
|
4
|
-
dashBoardRcIcon: string;
|
|
5
|
-
dashBoardProgramIcon: string;
|
|
6
|
-
dashBoardRiskIcon: string;
|
|
7
|
-
dashBoardTimeFrameIcon: string;
|
|
8
|
-
dashBoardEmailSummariesIcon: string;
|
|
9
|
-
|
|
1
|
+
export declare const ASSETS: {
|
|
2
|
+
dashBoardIcon: string;
|
|
3
|
+
dashBoardUsersIcon: string;
|
|
4
|
+
dashBoardRcIcon: string;
|
|
5
|
+
dashBoardProgramIcon: string;
|
|
6
|
+
dashBoardRiskIcon: string;
|
|
7
|
+
dashBoardTimeFrameIcon: string;
|
|
8
|
+
dashBoardEmailSummariesIcon: string;
|
|
9
|
+
configure_widget: string;
|
|
10
|
+
overviewWidget: string;
|
|
11
|
+
responsibilityCalenderWidget: string;
|
|
12
|
+
responsibilityCenterOverviewWidget: string;
|
|
13
|
+
myResponsibilitiesWidget: string;
|
|
14
|
+
keyResponsibilitiesWidget: string;
|
|
15
|
+
trendAnalysisWidget: string;
|
|
16
|
+
workroomUpdatesWidget: string;
|
|
17
|
+
recentActivitiesWidget: string;
|
|
18
|
+
exceptionSummaryWidget: string;
|
|
19
|
+
riskOverviewWidget: string;
|
|
20
|
+
appetiteToleranceWidget: string;
|
|
21
|
+
inherentRCWidget: string;
|
|
22
|
+
residualRCWidget: string;
|
|
23
|
+
riskCategoryOverviewWidget: string;
|
|
24
|
+
riskHeatmapWidget: string;
|
|
25
|
+
inherentCategoriesWidget: string;
|
|
26
|
+
residualCategoriesWidget: string;
|
|
27
|
+
tenRiskRatingsWidget: string;
|
|
28
|
+
search_data: string;
|
|
29
|
+
appetite_tolerance: string;
|
|
30
|
+
inherent_trend: string;
|
|
31
|
+
residual_trend: string;
|
|
32
|
+
risk_trend: string;
|
|
33
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface CreateDashboardForm {
|
|
2
|
-
dashboardName: string;
|
|
3
|
-
dashboardDescriptionText: string;
|
|
4
|
-
selectedViewers: any[];
|
|
5
|
-
selectedGroup: any[];
|
|
6
|
-
selectedFromDate: any;
|
|
7
|
-
selectedToDate: any;
|
|
8
|
-
selectedResponsibilityCenters: any[];
|
|
9
|
-
selectedResponsibilityCategories: any[];
|
|
10
|
-
selectedRiskCategories: any[];
|
|
11
|
-
displayCriteria: string;
|
|
12
|
-
configureWidget: any[];
|
|
13
|
-
frequencyDetails: string;
|
|
14
|
-
selectedFrequencyType: string;
|
|
15
|
-
selectedFrequencies: any;
|
|
16
|
-
frequencyMessage: string;
|
|
17
|
-
frequencyDate: any;
|
|
18
|
-
}
|
|
1
|
+
export interface CreateDashboardForm {
|
|
2
|
+
dashboardName: string;
|
|
3
|
+
dashboardDescriptionText: string;
|
|
4
|
+
selectedViewers: any[];
|
|
5
|
+
selectedGroup: any[];
|
|
6
|
+
selectedFromDate: any;
|
|
7
|
+
selectedToDate: any;
|
|
8
|
+
selectedResponsibilityCenters: any[];
|
|
9
|
+
selectedResponsibilityCategories: any[];
|
|
10
|
+
selectedRiskCategories: any[];
|
|
11
|
+
displayCriteria: string;
|
|
12
|
+
configureWidget: any[];
|
|
13
|
+
frequencyDetails: string;
|
|
14
|
+
selectedFrequencyType: string;
|
|
15
|
+
selectedFrequencies: any;
|
|
16
|
+
frequencyMessage: string;
|
|
17
|
+
frequencyDate: any;
|
|
18
|
+
}
|