vc-create-dashboard 2.9.8 → 3.0.0
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/create-dashboard.component.mjs +47 -18
- package/esm2022/lib/create-dashboard-container/services/create-dashboard.service.mjs +63 -29
- package/fesm2022/vc-create-dashboard.mjs +108 -45
- package/fesm2022/vc-create-dashboard.mjs.map +1 -1
- package/lib/create-dashboard-container/create-dashboard.component.d.ts +6 -2
- package/lib/create-dashboard-container/services/create-dashboard.service.d.ts +9 -11
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
2
|
import { EditorConfig } from '@vcomply/editor';
|
|
3
3
|
import { DatePickerComponent, IDatePickerConfig } from 'ng2-date-picker';
|
|
4
4
|
import { CreateDashboardService } from './services/create-dashboard.service';
|
|
@@ -83,6 +83,9 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
|
|
|
83
83
|
groupList: any;
|
|
84
84
|
groupsEnabled: boolean;
|
|
85
85
|
totalgroups: any;
|
|
86
|
+
fromDatePickerPopup: ElementRef;
|
|
87
|
+
toDatePickerPopup: ElementRef;
|
|
88
|
+
openedDatePicker: string;
|
|
86
89
|
constructor(createDashboardService: CreateDashboardService, paginationService: PaginationService, cdr: ChangeDetectorRef, snackBar: SnackBarService, popoverService: PopoverService, configureWidgetsService: ConfigureWidgetsService, textCount: TextCountPipe);
|
|
87
90
|
ngOnChanges(): void;
|
|
88
91
|
onKeydownHandler(event: KeyboardEvent): void;
|
|
@@ -121,7 +124,6 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
|
|
|
121
124
|
getUsersList(url: any): void;
|
|
122
125
|
getGroupList(): void;
|
|
123
126
|
getComplianceCategoryList(): void;
|
|
124
|
-
saveSelectedCategory(event: any): void;
|
|
125
127
|
getCategoryList(): void;
|
|
126
128
|
/**
|
|
127
129
|
* It is to ensure whether all required lists on Policy from is loaded from the api call or not
|
|
@@ -168,6 +170,8 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
|
|
|
168
170
|
setFrequency(event: any, mode: any): string | undefined;
|
|
169
171
|
ngAfterViewChecked(): void;
|
|
170
172
|
setPermission(roleActions: any): void;
|
|
173
|
+
documentClick(event: any): void;
|
|
174
|
+
documentClickListener(target: any, openedElements: ElementRef, selectedDatePicker: any): void;
|
|
171
175
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardComponent, never>;
|
|
172
176
|
static ɵcmp: i0.ɵɵComponentDeclaration<CreateDashboardComponent, "app-create-dashboard", never, { "feature": { "alias": "feature"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "dashboardId": { "alias": "dashboardId"; "required": false; }; "createdBy": { "alias": "createdBy"; "required": false; }; "configureWidget": { "alias": "configureWidget"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
173
177
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpParams } from '@angular/common/http';
|
|
2
2
|
import { Configurations } from '../../configurations';
|
|
3
3
|
import { AuthService } from './auth.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -6,9 +6,7 @@ export declare class CreateDashboardService {
|
|
|
6
6
|
private http;
|
|
7
7
|
private authService;
|
|
8
8
|
env: any;
|
|
9
|
-
httpOptions:
|
|
10
|
-
headers: HttpHeaders;
|
|
11
|
-
};
|
|
9
|
+
httpOptions: any;
|
|
12
10
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
13
11
|
getOrganizationUsers(url?: any): import("rxjs").Observable<any>;
|
|
14
12
|
/**
|
|
@@ -21,14 +19,14 @@ export declare class CreateDashboardService {
|
|
|
21
19
|
/**
|
|
22
20
|
* Fetches all users by making an API call
|
|
23
21
|
*/
|
|
24
|
-
getAllUsers(): import("rxjs").Observable<
|
|
22
|
+
getAllUsers(): import("rxjs").Observable<ArrayBuffer>;
|
|
25
23
|
/**
|
|
26
24
|
* Fetches all groups by making an API call
|
|
27
25
|
* */
|
|
28
26
|
getAllGroups(params?: HttpParams): import("rxjs").Observable<Object>;
|
|
29
27
|
/**
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
* Fetches responsibilityCentersList by making an API call
|
|
29
|
+
*/
|
|
32
30
|
getResponsibilityCenterList(): import("rxjs").Observable<any[]>;
|
|
33
31
|
getComplianceCategoriesList(): import("rxjs").Observable<any[]>;
|
|
34
32
|
getComplianceCategoriesListFromGlobal(): import("rxjs").Observable<any[]>;
|
|
@@ -37,11 +35,11 @@ export declare class CreateDashboardService {
|
|
|
37
35
|
* Fetches the Dashboard details for data population to Edit the dashboard
|
|
38
36
|
* @param id
|
|
39
37
|
*/
|
|
40
|
-
fetchDashboard(id: any): import("rxjs").Observable<
|
|
41
|
-
updateDashboard(id: any, payload: any): import("rxjs").Observable<
|
|
42
|
-
getUserInformation(): import("rxjs").Observable<
|
|
38
|
+
fetchDashboard(id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
39
|
+
updateDashboard(id: any, payload: any): import("rxjs").Observable<ArrayBuffer>;
|
|
40
|
+
getUserInformation(): import("rxjs").Observable<ArrayBuffer>;
|
|
43
41
|
_ID(): any;
|
|
44
|
-
checkDuplicateDashboardName(payload: any): import("rxjs").Observable<
|
|
42
|
+
checkDuplicateDashboardName(payload: any): import("rxjs").Observable<ArrayBuffer>;
|
|
45
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardService, [null, null, { optional: true; }]>;
|
|
46
44
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateDashboardService>;
|
|
47
45
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vc-create-dashboard",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
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 "
|