vcomply-workflow-engine 6.1.26 → 6.1.27
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/more-option/more-option.component.mjs +2 -2
- package/esm2022/lib/services/biz-cycle.service.mjs +63 -0
- package/esm2022/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +35 -40
- package/esm2022/lib/workflow/shared/components/grc-responsibility-listing/grc-responsibility-listing.component.mjs +19 -15
- package/esm2022/lib/workflow/shared/components/list-popup/list-popup.component.mjs +4 -4
- package/esm2022/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.mjs +7 -8
- package/esm2022/lib/workflow/shared/services/grc.service.mjs +2 -2
- package/esm2022/lib/workflow/shared/workflow-pipes/filterResponsibility.pipe.mjs +23 -0
- package/esm2022/lib/workflow/shared/workflow-pipes/workflow-pipes.module.mjs +8 -3
- package/esm2022/lib/workflow-services/responsibility.service.mjs +16 -7
- package/fesm2022/vcomply-workflow-engine.mjs +161 -70
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/services/biz-cycle.service.d.ts +16 -0
- package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +2 -0
- package/lib/workflow/shared/components/grc-responsibility-listing/grc-responsibility-listing.component.d.ts +2 -3
- package/lib/workflow/shared/components/list-popup/list-popup.component.d.ts +0 -1
- package/lib/workflow/shared/workflow-pipes/filterResponsibility.pipe.d.ts +7 -0
- package/lib/workflow/shared/workflow-pipes/workflow-pipes.module.d.ts +3 -2
- package/lib/workflow-services/responsibility.service.d.ts +4 -2
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BizCycleService {
|
|
3
|
+
private businessCycle;
|
|
4
|
+
private timeFilter;
|
|
5
|
+
private selectedRange;
|
|
6
|
+
constructor();
|
|
7
|
+
getBusinessCycle(): any;
|
|
8
|
+
businessCycleInfo(): any;
|
|
9
|
+
timeFilterInfo(): any;
|
|
10
|
+
selectedRangeInfo(): any;
|
|
11
|
+
getFormatedDate(date: string): string;
|
|
12
|
+
reset(): void;
|
|
13
|
+
detectChange(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BizCycleService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BizCycleService>;
|
|
16
|
+
}
|
|
@@ -107,6 +107,7 @@ export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
|
|
|
107
107
|
hideElementsFromMoreOptions: EventEmitter<any>;
|
|
108
108
|
otherGRCSubscription: Subscription;
|
|
109
109
|
hideMoreOption: any;
|
|
110
|
+
responsibilityList: any;
|
|
110
111
|
constructor(grcService: GrcService, apiService: ResponsibilityService, authService: AuthService, uiKitService: UiKitService, complianceCommonService: ComplianceCommonService, organizationCommonService: OrganizationCommonService, iframeService: IframeService, CommonService: CommonService);
|
|
111
112
|
ngOnDestroy(): void;
|
|
112
113
|
ngOnInit(): void;
|
|
@@ -131,6 +132,7 @@ export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
|
|
|
131
132
|
* `data` property is an array of user objects.
|
|
132
133
|
*/
|
|
133
134
|
private mapUserList;
|
|
135
|
+
getAllResponsibilitiesList(): void;
|
|
134
136
|
/**
|
|
135
137
|
* The function `defaultSelectedUser()` sets the default selected user based on the current user's role
|
|
136
138
|
* and assigns it to the `OWNER` list object.
|
|
@@ -12,13 +12,12 @@ export declare class GrcResponsibilityListingComponent implements OnInit {
|
|
|
12
12
|
currentPage: number;
|
|
13
13
|
totalPages: number;
|
|
14
14
|
totalListData: number;
|
|
15
|
-
selectedProgramAndResp: any;
|
|
16
15
|
activeProgram: any;
|
|
17
16
|
calledFrom: string;
|
|
18
17
|
MODE: 'CREATE' | 'EDIT';
|
|
19
18
|
allSelectedResponsibilityIds: any;
|
|
20
19
|
set getResponsibilityList(value: any);
|
|
21
|
-
|
|
20
|
+
selectedProgramAndResp: any;
|
|
22
21
|
getUpdatedDataList: EventEmitter<any>;
|
|
23
22
|
changeSelectedProgramAndResp: EventEmitter<any>;
|
|
24
23
|
constructor(config?: Configurations);
|
|
@@ -34,5 +33,5 @@ export declare class GrcResponsibilityListingComponent implements OnInit {
|
|
|
34
33
|
deleteSelectedResponsibility(responsibility: any): void;
|
|
35
34
|
getSubCategoryIds(selectedResponsibility: any): unknown[];
|
|
36
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<GrcResponsibilityListingComponent, [{ optional: true; }]>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GrcResponsibilityListingComponent, "app-grc-responsibility-listing", never, { "tableCard": { "alias": "tableCard"; "required": false; }; "activeProgram": { "alias": "activeProgram"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "perPageLimit": { "alias": "perPageLimit"; "required": false; }; "totalListData": { "alias": "totalListData"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "selectedListData": { "alias": "selectedListData"; "required": false; }; "selectedListDataIds": { "alias": "selectedListDataIds"; "required": false; }; "MODE": { "alias": "MODE"; "required": false; }; "allSelectedResponsibilityIds": { "alias": "allSelectedResponsibilityIds"; "required": false; }; "getResponsibilityList": { "alias": "responsibilityData"; "required": false; }; "
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GrcResponsibilityListingComponent, "app-grc-responsibility-listing", never, { "tableCard": { "alias": "tableCard"; "required": false; }; "activeProgram": { "alias": "activeProgram"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "perPageLimit": { "alias": "perPageLimit"; "required": false; }; "totalListData": { "alias": "totalListData"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "selectedListData": { "alias": "selectedListData"; "required": false; }; "selectedListDataIds": { "alias": "selectedListDataIds"; "required": false; }; "MODE": { "alias": "MODE"; "required": false; }; "allSelectedResponsibilityIds": { "alias": "allSelectedResponsibilityIds"; "required": false; }; "getResponsibilityList": { "alias": "responsibilityData"; "required": false; }; "selectedProgramAndResp": { "alias": "selectedProgramAndResp"; "required": false; }; }, { "getUpdatedDataList": "getUpdatedDataList"; "changeSelectedProgramAndResp": "changeSelectedProgramAndResp"; }, never, never, true, never>;
|
|
38
37
|
}
|
|
@@ -11,7 +11,6 @@ export declare class ListPopupComponent {
|
|
|
11
11
|
onEditGRCId: string;
|
|
12
12
|
onSaveSelectedList: EventEmitter<any>;
|
|
13
13
|
getOtherGRCObjects: EventEmitter<any>;
|
|
14
|
-
constructor();
|
|
15
14
|
saveSelectedList(selectedData: number[]): void;
|
|
16
15
|
activeDeSelector(): void;
|
|
17
16
|
getOtherGRCObjectList(event: any): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FilterResponsibilityPipe implements PipeTransform {
|
|
4
|
+
transform(ids: any[], list: any[]): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterResponsibilityPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterResponsibilityPipe, "filterResponsibility", false>;
|
|
7
|
+
}
|
|
@@ -4,9 +4,10 @@ import * as i2 from "./get-user-details.pipe";
|
|
|
4
4
|
import * as i3 from "./user-short-name.pipe";
|
|
5
5
|
import * as i4 from "./is-attributes-valid.pipe";
|
|
6
6
|
import * as i5 from "./unique-responsibilities.pipe";
|
|
7
|
-
import * as i6 from "
|
|
7
|
+
import * as i6 from "./filterResponsibility.pipe";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
8
9
|
export declare class WorkflowPipesModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowPipesModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WorkflowPipesModule, [typeof i1.GetSelectedValuePipe, typeof i2.GetUserDetailsPipe, typeof i3.GetUserShortNamePipe, typeof i4.IsAttributesValidPipe, typeof i5.UniqueResponsibilitiesPipe], [typeof
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WorkflowPipesModule, [typeof i1.GetSelectedValuePipe, typeof i2.GetUserDetailsPipe, typeof i3.GetUserShortNamePipe, typeof i4.IsAttributesValidPipe, typeof i5.UniqueResponsibilitiesPipe, typeof i6.FilterResponsibilityPipe], [typeof i7.CommonModule], [typeof i1.GetSelectedValuePipe, typeof i2.GetUserDetailsPipe, typeof i3.GetUserShortNamePipe, typeof i4.IsAttributesValidPipe, typeof i5.UniqueResponsibilitiesPipe, typeof i6.FilterResponsibilityPipe]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<WorkflowPipesModule>;
|
|
12
13
|
}
|
|
@@ -5,11 +5,13 @@ import { AssessmentList } from '../sharedComponents/assessment-list/service/asse
|
|
|
5
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
6
|
import { Responsibility } from '../interfaces/responsibilty.interface';
|
|
7
7
|
import { GrcService } from '../workflow/shared/services/grc.service';
|
|
8
|
+
import { BizCycleService } from '../services/biz-cycle.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class ResponsibilityService {
|
|
10
11
|
private http;
|
|
11
12
|
private authService;
|
|
12
13
|
private grcService;
|
|
14
|
+
private businessCycleService;
|
|
13
15
|
env: any;
|
|
14
16
|
dataPerPage: number;
|
|
15
17
|
responsibilityPageNumber: number;
|
|
@@ -21,7 +23,7 @@ export declare class ResponsibilityService {
|
|
|
21
23
|
AssuranceCategoryList: BehaviorSubject<any>;
|
|
22
24
|
private overseerList;
|
|
23
25
|
private policyGroups;
|
|
24
|
-
constructor(http: HttpClient, authService: AuthService, grcService: GrcService, config?: Configurations);
|
|
26
|
+
constructor(http: HttpClient, authService: AuthService, grcService: GrcService, businessCycleService: BizCycleService, config?: Configurations);
|
|
25
27
|
getResponsibilityCenterList(params?: HttpParams): Observable<any>;
|
|
26
28
|
getOrganizationGroups(params?: HttpParams): Observable<any>;
|
|
27
29
|
getOrganizationPolicyGroups(params?: HttpParams): Observable<any>;
|
|
@@ -70,6 +72,6 @@ export declare class ResponsibilityService {
|
|
|
70
72
|
} | undefined;
|
|
71
73
|
transformData(input: any): any;
|
|
72
74
|
getAllResponsibilities(): Observable<any[]>;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityService, [null, null, null, { optional: true; }]>;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityService, [null, null, null, null, { optional: true; }]>;
|
|
74
76
|
static ɵprov: i0.ɵɵInjectableDeclaration<ResponsibilityService>;
|
|
75
77
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.27",
|
|
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 "
|