vc-create-dashboard 3.0.72 → 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.
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.mjs +207 -206
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.mjs +1 -1
- package/esm2022/lib/create-dashboard-container/constants/assets.constant.mjs +35 -33
- package/esm2022/lib/create-dashboard-container/create-dashboard.component.mjs +25 -7
- package/esm2022/lib/create-dashboard-container/create-dashboard.module.mjs +3 -12
- package/esm2022/lib/create-dashboard-container/services/configure-widgets.service.mjs +72 -80
- package/esm2022/lib/create-dashboard-container/user-list/user-list.component.mjs +3 -3
- package/esm2022/lib/ui-kit/popover/popover.component.mjs +44 -57
- package/fesm2022/vc-create-dashboard.mjs +382 -415
- package/fesm2022/vc-create-dashboard.mjs.map +1 -1
- package/lib/create-dashboard-container/categories/categories.component.d.ts +1 -0
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.d.ts +28 -1
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.d.ts +1 -1
- package/lib/create-dashboard-container/constants/assets.constant.d.ts +1 -0
- package/lib/create-dashboard-container/create-dashboard.component.d.ts +2 -0
- package/lib/create-dashboard-container/create-dashboard.module.d.ts +0 -4
- package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts +1 -0
- package/lib/create-dashboard-container/risk-categories/risk-categories.component.d.ts +1 -0
- package/lib/create-dashboard-container/services/configure-widgets.service.d.ts +16 -1
- package/lib/create-dashboard-container/user-list/user-list.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -131,6 +131,7 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
|
|
|
131
131
|
*/
|
|
132
132
|
checkWhetherAllListsLoaded(): void;
|
|
133
133
|
setSelectedWidgets(data: any): void;
|
|
134
|
+
extractWidgetCodes(widgets: any[]): any[];
|
|
134
135
|
closeConfigureWidgets(event: boolean): void;
|
|
135
136
|
/**
|
|
136
137
|
* Filter list user's list based on pagination by making api call
|
|
@@ -171,6 +172,7 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
|
|
|
171
172
|
setFrequency(event: any, mode: any): string | undefined;
|
|
172
173
|
ngAfterViewChecked(): void;
|
|
173
174
|
setPermission(roleActions: any): void;
|
|
175
|
+
getElementClassName(el: any): string;
|
|
174
176
|
documentClick(event: any): void;
|
|
175
177
|
documentClickListener(target: any, openedElements: ElementRef, selectedDatePicker: any): void;
|
|
176
178
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardComponent, never>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import { Configurations } from '../configurations';
|
|
3
|
-
import { ConfigureBaseUrlService } from './services/urlConfig.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
import * as i1 from "./create-dashboard.component";
|
|
6
5
|
import * as i2 from "./user-list/user-list.component";
|
|
@@ -30,10 +29,7 @@ import * as i25 from "./directives/directives.module";
|
|
|
30
29
|
import * as i26 from "../ui-kit/smiley-dialog/smiley-dialog.module";
|
|
31
30
|
import * as i27 from "ng2-date-picker";
|
|
32
31
|
export declare class CreateDashboardModule {
|
|
33
|
-
private configureBaseUrlService;
|
|
34
|
-
constructor(configureBaseUrlService: ConfigureBaseUrlService);
|
|
35
32
|
static forRoot(environmentConfig: Configurations): ModuleWithProviders<CreateDashboardModule>;
|
|
36
|
-
setBaseUrl(): void;
|
|
37
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardModule, never>;
|
|
38
34
|
static ɵmod: i0.ɵɵNgModuleDeclaration<CreateDashboardModule, [typeof i1.CreateDashboardComponent, typeof i2.UserListComponent, typeof i3.FormGroupComponent, typeof i4.ResponsibilityCenterComponent, typeof i5.CategoriesComponent, typeof i6.RiskCategoriesComponent, typeof i7.FrequencyComponent, typeof i8.FilterPipe, typeof i9.TextCountPipe], [typeof i10.CommonModule, typeof i11.VcomplyEditorModule, typeof i12.FormgroupModule, typeof i13.FormsModule, typeof i14.TooltipModule, typeof i15.SelectModule, typeof i16.DashboardFooterModule, typeof i17.PaginationModule, typeof i18.FloatingBarModule, typeof i19.DialogModule, typeof i20.ConfigureWidgetsModule, typeof i21.PopoverModule, typeof i22.VLoaderModule, typeof i23.SnackBarModule, typeof i24.NoDataModule, typeof i25.DirectivesModule, typeof i26.SmileyDialogModule, typeof i27.DpDatePickerModule, typeof i10.NgOptimizedImage], [typeof i1.CreateDashboardComponent]>;
|
|
39
35
|
static ɵinj: i0.ɵɵInjectorDeclaration<CreateDashboardModule>;
|
|
@@ -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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vc-create-dashboard",
|
|
3
|
-
"version": "3.0.
|
|
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 "
|