vcomply-workflow-engine 6.0.72 → 6.0.73
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/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +3 -3
- package/esm2022/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.mjs +62 -35
- package/esm2022/lib/workflow/shared/services/grc.service.mjs +5 -1
- package/esm2022/lib/workflow/shared/workflow-pipes/get-user-details.pipe.mjs +26 -0
- package/esm2022/lib/workflow/shared/workflow-pipes/workflow-pipes.module.mjs +8 -3
- package/esm2022/lib/workflow-program/workflow-program.component.mjs +9 -41
- package/fesm2022/vcomply-workflow-engine.mjs +879 -850
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.d.ts +6 -2
- package/lib/workflow/shared/services/grc.service.d.ts +1 -0
- package/lib/workflow/shared/workflow-pipes/get-user-details.pipe.d.ts +7 -0
- package/lib/workflow/shared/workflow-pipes/workflow-pipes.module.d.ts +3 -2
- package/package.json +1 -1
|
@@ -2,9 +2,13 @@ import { EventEmitter, OnInit } from '@angular/core';
|
|
|
2
2
|
import { GrcResponsibilityListingComponent } from '../grc-responsibility-listing/grc-responsibility-listing.component';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { GrcService } from '../../services/grc.service';
|
|
5
|
+
import { ResponsibilityService } from 'projects/vx-workflow-engine/src/lib/workflow-services/responsibility.service';
|
|
6
|
+
import { GetUserDetailsPipe } from '../../workflow-pipes/get-user-details.pipe';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
export declare class ProgramResponsibilityListingComponent implements OnInit {
|
|
7
9
|
private grcService;
|
|
10
|
+
private responsibilityService;
|
|
11
|
+
private getUserDetails;
|
|
8
12
|
programTypes: {
|
|
9
13
|
title: string;
|
|
10
14
|
count: number;
|
|
@@ -54,7 +58,7 @@ export declare class ProgramResponsibilityListingComponent implements OnInit {
|
|
|
54
58
|
MODE: 'CREATE' | 'EDIT';
|
|
55
59
|
closeList: EventEmitter<any>;
|
|
56
60
|
responsibilityListingComponent: GrcResponsibilityListingComponent;
|
|
57
|
-
constructor(grcService: GrcService);
|
|
61
|
+
constructor(grcService: GrcService, responsibilityService: ResponsibilityService, getUserDetails: GetUserDetailsPipe);
|
|
58
62
|
ngOnInit(): void;
|
|
59
63
|
close(): void;
|
|
60
64
|
save(): void;
|
|
@@ -70,7 +74,7 @@ export declare class ProgramResponsibilityListingComponent implements OnInit {
|
|
|
70
74
|
activeSelectedSubCategory(event: any): void;
|
|
71
75
|
getResponsibilitiesList(event?: any): void;
|
|
72
76
|
getUpdatedDataList(event: any): void;
|
|
73
|
-
setDataListStructure(
|
|
77
|
+
setDataListStructure(responsibilities: any[], users: any[], responsibilityCenters: any[]): any[];
|
|
74
78
|
onSelectedProgramChange(): void;
|
|
75
79
|
changeSelectedProgramAndResp(event: any): void;
|
|
76
80
|
getSelectedProgramIds(selectedData: any): void;
|
|
@@ -17,6 +17,7 @@ export declare class GrcService {
|
|
|
17
17
|
readonly GRC_PAYLOAD: AddGrc;
|
|
18
18
|
readonly LIST_OBJECT: ListObject;
|
|
19
19
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
20
|
+
getAllResponsibilities(pageNo: number): import("rxjs").Observable<any[]>;
|
|
20
21
|
getGRCList(event?: any): import("rxjs").Observable<any[]>;
|
|
21
22
|
getGRCTabsCount(event?: any): import("rxjs").Observable<any[]>;
|
|
22
23
|
checkValidation(grcPayload: AddGrc, isAttributesSelected: boolean): boolean | 0;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GetUserDetailsPipe implements PipeTransform {
|
|
4
|
+
transform(ids: number[], list: any[]): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetUserDetailsPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetUserDetailsPipe, "getUserDetails", false>;
|
|
7
|
+
}
|
|
@@ -2,9 +2,10 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./get-selected-value.pipe";
|
|
3
3
|
import * as i2 from "./is-attributes-valid.pipe";
|
|
4
4
|
import * as i3 from "./unique-responsibilities.pipe";
|
|
5
|
-
import * as i4 from "
|
|
5
|
+
import * as i4 from "./get-user-details.pipe";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
6
7
|
export declare class WorkflowPipesModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowPipesModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WorkflowPipesModule, [typeof i1.GetSelectedValuePipe, typeof i2.IsAttributesValidPipe, typeof i3.UniqueResponsibilitiesPipe], [typeof
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WorkflowPipesModule, [typeof i1.GetSelectedValuePipe, typeof i2.IsAttributesValidPipe, typeof i3.UniqueResponsibilitiesPipe, typeof i4.GetUserDetailsPipe], [typeof i5.CommonModule], [typeof i1.GetSelectedValuePipe, typeof i2.IsAttributesValidPipe, typeof i3.UniqueResponsibilitiesPipe, typeof i4.GetUserDetailsPipe]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<WorkflowPipesModule>;
|
|
10
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.73",
|
|
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 "
|