vc-create-dashboard 3.0.73 → 3.0.80

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.
@@ -36,6 +36,7 @@ export declare class CategoriesComponent implements OnInit {
36
36
  residual_trend: string;
37
37
  risk_trend: string;
38
38
  policyApproverView: string;
39
+ responsibilitiesByAssignee: string;
39
40
  };
40
41
  categoryList: CategoriesConfig;
41
42
  allCategories: any[];
@@ -51,6 +51,7 @@ export declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
51
51
  residual_trend: string;
52
52
  risk_trend: string;
53
53
  policyApproverView: string;
54
+ responsibilitiesByAssignee: string;
54
55
  };
55
56
  module: 'COMPLIANCE' | 'RISK';
56
57
  selectedWidgetsData: any;
@@ -69,6 +70,32 @@ export declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
69
70
  ngOnChanges(): void;
70
71
  ngOnInit(): void;
71
72
  widgetsList: {
73
+ COMPLIANCE: ({
74
+ title: string;
75
+ id: string;
76
+ description: string;
77
+ widgetImage: string;
78
+ value: boolean;
79
+ visibility: boolean;
80
+ module: string;
81
+ subWidgets: never[];
82
+ tabOption?: undefined;
83
+ } | {
84
+ title: string;
85
+ id: string;
86
+ description: string;
87
+ widgetImage: string;
88
+ tabOption: boolean;
89
+ value: boolean;
90
+ visibility: boolean;
91
+ module: string;
92
+ subWidgets: {
93
+ title: string;
94
+ id: string;
95
+ value: boolean;
96
+ visibility: boolean;
97
+ }[];
98
+ })[];
72
99
  RISK: {
73
100
  title: string;
74
101
  id: string;
@@ -85,7 +112,7 @@ export declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
85
112
  }[];
86
113
  }[];
87
114
  };
88
- selectWidget(event: any, module: 'RISK', widgetId: string, subWidgetId?: string): void;
115
+ selectWidget(event: any, module: 'COMPLIANCE' | 'RISK', widgetId: string, subWidgetId?: string): void;
89
116
  setSelectedWidgets(): void;
90
117
  removeWidget(widget: widgetConfig): void;
91
118
  onNextClick(): void;
@@ -4,6 +4,6 @@ export interface widgetConfig {
4
4
  description: string;
5
5
  widgetImage: string;
6
6
  value: boolean;
7
- module: 'RISK';
7
+ module: 'COMPLIANCE' | 'RISK';
8
8
  subWidgets: [];
9
9
  }
@@ -31,4 +31,5 @@ export declare const ASSETS: {
31
31
  residual_trend: string;
32
32
  risk_trend: string;
33
33
  policyApproverView: string;
34
+ responsibilitiesByAssignee: string;
34
35
  };
@@ -41,6 +41,7 @@ export declare class ResponsibilityCenterComponent implements OnInit, OnChanges
41
41
  residual_trend: string;
42
42
  risk_trend: string;
43
43
  policyApproverView: string;
44
+ responsibilitiesByAssignee: string;
44
45
  };
45
46
  selectedIds: any[];
46
47
  animation: boolean;
@@ -36,6 +36,7 @@ export declare class RiskCategoriesComponent implements OnInit {
36
36
  residual_trend: string;
37
37
  risk_trend: string;
38
38
  policyApproverView: string;
39
+ responsibilitiesByAssignee: string;
39
40
  };
40
41
  categoryList: RiskCategoriesConfig;
41
42
  allCategories: any[];
@@ -7,6 +7,21 @@ export declare class ConfigureWidgetsService {
7
7
  private authService;
8
8
  env: any;
9
9
  constructor(http: HttpClient, authService: AuthService, config?: Configurations);
10
+ complianceWidgetsData: ({
11
+ title: string;
12
+ id: string;
13
+ description: string;
14
+ widgetImage: string;
15
+ value: number;
16
+ tabOption?: undefined;
17
+ } | {
18
+ title: string;
19
+ id: string;
20
+ description: string;
21
+ widgetImage: string;
22
+ tabOption: boolean;
23
+ value: number;
24
+ })[];
10
25
  riskWidgetsData: {
11
26
  title: string;
12
27
  id: string;
@@ -17,7 +32,7 @@ export declare class ConfigureWidgetsService {
17
32
  auditWidgetsData: never[];
18
33
  policyWidgetsData: never[];
19
34
  dashBoardWidgetUpdate(widGetJson: any): import("rxjs").Observable<Object>;
20
- moduleType(identifier: string): "RISK" | undefined;
35
+ moduleType(identifier: string): "COMPLIANCE" | "RISK" | undefined;
21
36
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsService, [null, null, { optional: true; }]>;
22
37
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfigureWidgetsService>;
23
38
  }
@@ -47,6 +47,7 @@ export declare class UserListComponent implements OnInit {
47
47
  residual_trend: string;
48
48
  risk_trend: string;
49
49
  policyApproverView: string;
50
+ responsibilitiesByAssignee: string;
50
51
  };
51
52
  totalPages: number;
52
53
  limit: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vc-create-dashboard",
3
- "version": "3.0.73",
3
+ "version": "3.0.80",
4
4
  "peerDependencies": {
5
5
  "@angular/common": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x ",
6
6
  "@angular/core": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x "