vc-create-dashboard 3.0.70 → 3.0.72

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.
@@ -69,32 +69,6 @@ export declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
69
69
  ngOnChanges(): void;
70
70
  ngOnInit(): void;
71
71
  widgetsList: {
72
- COMPLIANCE: ({
73
- title: string;
74
- id: string;
75
- description: string;
76
- widgetImage: string;
77
- value: boolean;
78
- visibility: boolean;
79
- module: string;
80
- subWidgets: never[];
81
- tabOption?: undefined;
82
- } | {
83
- title: string;
84
- id: string;
85
- description: string;
86
- widgetImage: string;
87
- tabOption: boolean;
88
- value: boolean;
89
- visibility: boolean;
90
- module: string;
91
- subWidgets: {
92
- title: string;
93
- id: string;
94
- value: boolean;
95
- visibility: boolean;
96
- }[];
97
- })[];
98
72
  RISK: {
99
73
  title: string;
100
74
  id: string;
@@ -111,7 +85,7 @@ export declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
111
85
  }[];
112
86
  }[];
113
87
  };
114
- selectWidget(event: any, module: 'COMPLIANCE' | 'RISK', widgetId: string, subWidgetId?: string): void;
88
+ selectWidget(event: any, module: 'RISK', widgetId: string, subWidgetId?: string): void;
115
89
  setSelectedWidgets(): void;
116
90
  removeWidget(widget: widgetConfig): void;
117
91
  onNextClick(): void;
@@ -4,6 +4,6 @@ export interface widgetConfig {
4
4
  description: string;
5
5
  widgetImage: string;
6
6
  value: boolean;
7
- module: 'COMPLIANCE' | 'RISK';
7
+ module: 'RISK';
8
8
  subWidgets: [];
9
9
  }
@@ -131,7 +131,6 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
131
131
  */
132
132
  checkWhetherAllListsLoaded(): void;
133
133
  setSelectedWidgets(data: any): void;
134
- extractWidgetCodes(widgets: any[]): any[];
135
134
  closeConfigureWidgets(event: boolean): void;
136
135
  /**
137
136
  * Filter list user's list based on pagination by making api call
@@ -172,7 +171,6 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
172
171
  setFrequency(event: any, mode: any): string | undefined;
173
172
  ngAfterViewChecked(): void;
174
173
  setPermission(roleActions: any): void;
175
- getElementClassName(el: any): string;
176
174
  documentClick(event: any): void;
177
175
  documentClickListener(target: any, openedElements: ElementRef, selectedDatePicker: any): void;
178
176
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardComponent, never>;
@@ -1,5 +1,6 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
2
  import { Configurations } from '../configurations';
3
+ import { ConfigureBaseUrlService } from './services/urlConfig.service';
3
4
  import * as i0 from "@angular/core";
4
5
  import * as i1 from "./create-dashboard.component";
5
6
  import * as i2 from "./user-list/user-list.component";
@@ -29,7 +30,10 @@ import * as i25 from "./directives/directives.module";
29
30
  import * as i26 from "../ui-kit/smiley-dialog/smiley-dialog.module";
30
31
  import * as i27 from "ng2-date-picker";
31
32
  export declare class CreateDashboardModule {
33
+ private configureBaseUrlService;
34
+ constructor(configureBaseUrlService: ConfigureBaseUrlService);
32
35
  static forRoot(environmentConfig: Configurations): ModuleWithProviders<CreateDashboardModule>;
36
+ setBaseUrl(): void;
33
37
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardModule, never>;
34
38
  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]>;
35
39
  static ɵinj: i0.ɵɵInjectorDeclaration<CreateDashboardModule>;
@@ -7,21 +7,6 @@ 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
- })[];
25
10
  riskWidgetsData: {
26
11
  title: string;
27
12
  id: string;
@@ -32,7 +17,7 @@ export declare class ConfigureWidgetsService {
32
17
  auditWidgetsData: never[];
33
18
  policyWidgetsData: never[];
34
19
  dashBoardWidgetUpdate(widGetJson: any): import("rxjs").Observable<Object>;
35
- moduleType(identifier: string): "COMPLIANCE" | "RISK" | undefined;
20
+ moduleType(identifier: string): "RISK" | undefined;
36
21
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsService, [null, null, { optional: true; }]>;
37
22
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfigureWidgetsService>;
38
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vc-create-dashboard",
3
- "version": "3.0.70",
3
+ "version": "3.0.72",
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 "