vc-create-dashboard 2.9.8 → 3.0.1
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 +57 -28
- package/esm2022/lib/create-dashboard-container/create-dashboard.module.mjs +6 -10
- package/esm2022/lib/create-dashboard-container/form-group/form-group.component.mjs +4 -4
- package/esm2022/lib/create-dashboard-container/services/create-dashboard.service.mjs +63 -29
- package/esm2022/lib/ui-kit/dialog/dialog.component.mjs +12 -9
- package/fesm2022/vc-create-dashboard.mjs +131 -68
- 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/create-dashboard.module.d.ts +16 -16
- 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
|
}
|
|
@@ -13,24 +13,24 @@ import * as i9 from "./pipes/text-count.pipe";
|
|
|
13
13
|
import * as i10 from "@angular/common";
|
|
14
14
|
import * as i11 from "@vcomply/editor";
|
|
15
15
|
import * as i12 from "../ui-kit/formgroup/formgroup.module";
|
|
16
|
-
import * as i13 from "
|
|
17
|
-
import * as i14 from "
|
|
18
|
-
import * as i15 from "../ui-kit/
|
|
19
|
-
import * as i16 from "../ui-kit/
|
|
20
|
-
import * as i17 from "../ui-kit/
|
|
21
|
-
import * as i18 from "../ui-kit/
|
|
22
|
-
import * as i19 from "../ui-kit/
|
|
23
|
-
import * as i20 from "
|
|
24
|
-
import * as i21 from "
|
|
25
|
-
import * as i22 from "../ui-kit/
|
|
26
|
-
import * as i23 from "../ui-kit/
|
|
27
|
-
import * as i24 from "../ui-kit/
|
|
28
|
-
import * as i25 from "
|
|
29
|
-
import * as i26 from "
|
|
30
|
-
import * as i27 from "
|
|
16
|
+
import * as i13 from "@angular/forms";
|
|
17
|
+
import * as i14 from "../ui-kit/tooltip/tooltip.module";
|
|
18
|
+
import * as i15 from "../ui-kit/select/select.module";
|
|
19
|
+
import * as i16 from "../ui-kit/dashboard-footer/dashboard-footer.module";
|
|
20
|
+
import * as i17 from "../ui-kit/pagination/pagination.module";
|
|
21
|
+
import * as i18 from "../ui-kit/floating-bar/floating-bar.module";
|
|
22
|
+
import * as i19 from "../ui-kit/dialog/dialog.module";
|
|
23
|
+
import * as i20 from "./configure-widgets/configure-widgets.module";
|
|
24
|
+
import * as i21 from "../ui-kit/popover/popover.module";
|
|
25
|
+
import * as i22 from "../ui-kit/v-loader/v-loader.module";
|
|
26
|
+
import * as i23 from "../ui-kit/snack-bar/snack-bar.module";
|
|
27
|
+
import * as i24 from "../ui-kit/no-data/no-data.module";
|
|
28
|
+
import * as i25 from "./directives/directives.module";
|
|
29
|
+
import * as i26 from "../ui-kit/smiley-dialog/smiley-dialog.module";
|
|
30
|
+
import * as i27 from "ng2-date-picker";
|
|
31
31
|
export declare class CreateDashboardModule {
|
|
32
32
|
static forRoot(environmentConfig: Configurations): ModuleWithProviders<CreateDashboardModule>;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardModule, never>;
|
|
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.
|
|
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 i1.CreateDashboardComponent]>;
|
|
35
35
|
static ɵinj: i0.ɵɵInjectorDeclaration<CreateDashboardModule>;
|
|
36
36
|
}
|
|
@@ -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.1",
|
|
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 "
|