vcomply-workflow-engine 6.0.70 → 6.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.
- package/esm2022/lib/interfaces/iframe-type.mjs +7 -0
- package/esm2022/lib/interfaces/responsibilty.interface.mjs +1 -1
- package/esm2022/lib/more-option/more-option.component.mjs +13 -133
- package/esm2022/lib/services/common.service.mjs +2 -2
- package/esm2022/lib/services/iframe.service.mjs +14 -1
- package/esm2022/lib/sharedComponents/frequency/frequency-container/frequency-container.component.mjs +5 -5
- package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +2 -2
- package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +19 -37
- package/esm2022/lib/workflow-engine-container/api-constants.mjs +3 -2
- package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +29 -24
- package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +9 -36
- package/esm2022/lib/workflow-program/constants.mjs +3 -3
- package/esm2022/lib/workflow-program/workflow-program.component.mjs +50 -77
- package/esm2022/lib/workflow-services/policy.service.mjs +5 -1
- package/esm2022/lib/workflow-services/programs.service.mjs +5 -8
- package/esm2022/lib/workflow-services/responsibility.service.mjs +3 -13
- package/fesm2022/vcomply-workflow-engine.mjs +161 -339
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/interfaces/iframe-type.d.ts +5 -0
- package/lib/interfaces/responsibilty.interface.d.ts +1 -1
- package/lib/services/common.service.d.ts +4 -4
- package/lib/services/iframe.service.d.ts +6 -0
- package/lib/workflow-engine-container/api-constants.d.ts +1 -0
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +3 -1
- package/lib/workflow-policy/workflow-policy.component.d.ts +1 -1
- package/lib/workflow-program/workflow-program.component.d.ts +2 -0
- package/lib/workflow-services/policy.service.d.ts +1 -0
- package/lib/workflow-services/responsibility.service.d.ts +0 -1
- package/package.json +1 -1
|
@@ -28,10 +28,10 @@ export declare class CommonService {
|
|
|
28
28
|
* // Returns { added: [2, 3], removed: [4] }
|
|
29
29
|
*/
|
|
30
30
|
transformProgramData(input: Record<string, Array<{
|
|
31
|
-
|
|
32
|
-
}>>, linkedProgramIds?:
|
|
33
|
-
added:
|
|
34
|
-
removed:
|
|
31
|
+
pid: string;
|
|
32
|
+
}>>, linkedProgramIds?: string[]): {
|
|
33
|
+
added: string[];
|
|
34
|
+
removed: string[];
|
|
35
35
|
};
|
|
36
36
|
transformResponsibilitiesData(currentResponsibilityIds: number[], linkedResponsibilityIds?: number[]): {
|
|
37
37
|
added: number[];
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class IframeService {
|
|
3
3
|
redirectIfInIframe(targetUrl: string, mode?: boolean): void;
|
|
4
|
+
postMessage(message: any): void;
|
|
5
|
+
private getOrigin;
|
|
6
|
+
getCloseWebviewMessage(event: string, data: any): {
|
|
7
|
+
event: string;
|
|
8
|
+
data: any;
|
|
9
|
+
};
|
|
4
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<IframeService, never>;
|
|
5
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<IframeService>;
|
|
6
12
|
}
|
|
@@ -19,6 +19,7 @@ import { Subscription } from 'rxjs';
|
|
|
19
19
|
import { ReportACaseService } from '../report-a-case/services/report-a-case.service';
|
|
20
20
|
import { WorkflowCaseComponent } from '../report-a-case/workflow-case/workflow-case.component';
|
|
21
21
|
import { ReportCasePermissionService } from '../services/report-case-permission.service';
|
|
22
|
+
import { IframeService } from '../services/iframe.service';
|
|
22
23
|
import * as i0 from "@angular/core";
|
|
23
24
|
export declare class WorkflowEngineContainerComponent implements OnInit, AfterViewInit {
|
|
24
25
|
uiKitService: UiKitService;
|
|
@@ -27,12 +28,13 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
27
28
|
private orgCommonService;
|
|
28
29
|
private reportACaseService;
|
|
29
30
|
private reportCasePermissionService;
|
|
31
|
+
private iframeService;
|
|
30
32
|
isHostRefreshActive: boolean;
|
|
31
33
|
isRCSelected: boolean;
|
|
32
34
|
featureFlag_groups: boolean;
|
|
33
35
|
addToCaseMode: string;
|
|
34
36
|
permissionSubscription: Subscription;
|
|
35
|
-
constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService, orgCommonService: OrganizationCommonService, reportACaseService: ReportACaseService, reportCasePermissionService: ReportCasePermissionService);
|
|
37
|
+
constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService, orgCommonService: OrganizationCommonService, reportACaseService: ReportACaseService, reportCasePermissionService: ReportCasePermissionService, iframeService: IframeService);
|
|
36
38
|
workflowType: string;
|
|
37
39
|
mode: string;
|
|
38
40
|
id: string;
|
|
@@ -419,7 +419,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
419
419
|
onItemsSelectedChange(items: ListItem[]): void;
|
|
420
420
|
selectCategory(): void;
|
|
421
421
|
removeProgram(program: any): void;
|
|
422
|
-
getLinkProgram(): void;
|
|
422
|
+
getLinkProgram(policyId: string): void;
|
|
423
423
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowPolicyComponent, never>;
|
|
424
424
|
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowPolicyComponent, "app-workflow-policy", never, { "mode": { "alias": "mode"; "required": false; }; "policyId": { "alias": "policyId"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "convertFileData": { "alias": "convertFileData"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "isSendForAttestation": { "alias": "isSendForAttestation"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "showConfirmationAlert": "showConfirmationAlert"; "populateOption": "populateOption"; "disconnectRefresh": "disconnectRefresh"; "shiftToEditMode": "shiftToEditMode"; }, never, never, false, never>;
|
|
425
425
|
}
|
|
@@ -253,6 +253,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
253
253
|
uniqueByProp(array: any, key: string): unknown[];
|
|
254
254
|
setList(list: any[], ids: any[], key: string): any;
|
|
255
255
|
saveProgram(): void;
|
|
256
|
+
postIframeMessage(event: string, data: any): void;
|
|
256
257
|
action(event: string): void;
|
|
257
258
|
viewPrograms(): void;
|
|
258
259
|
resetForm(): void;
|
|
@@ -264,6 +265,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
264
265
|
populateProgramDetails(res: any): void;
|
|
265
266
|
populateMembers(res: any): void;
|
|
266
267
|
populateGroups(res: any): void;
|
|
268
|
+
populateGroupsByGID(programDetails: any, type: string): void;
|
|
267
269
|
resetAdditionalOption(): void;
|
|
268
270
|
checkProgramOptionField(): any;
|
|
269
271
|
enablefeature(): void;
|
|
@@ -30,6 +30,7 @@ export declare class PolicyService {
|
|
|
30
30
|
createApprovalWorkflow(payload: any): import("rxjs").Observable<any>;
|
|
31
31
|
editApprovalWorkflow(payload: any, id: string): import("rxjs").Observable<any>;
|
|
32
32
|
LinkedPoliciesList(policyId: string): import("rxjs").Observable<Object>;
|
|
33
|
+
getLinkedPrograms(policyId: string): import("rxjs").Observable<Object>;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<PolicyService, [null, null, { optional: true; }]>;
|
|
34
35
|
static ɵprov: i0.ɵɵInjectableDeclaration<PolicyService>;
|
|
35
36
|
}
|
|
@@ -66,7 +66,6 @@ export declare class ResponsibilityService {
|
|
|
66
66
|
userGroupId: any;
|
|
67
67
|
};
|
|
68
68
|
} | undefined;
|
|
69
|
-
getRiskClass(riskClass: 0 | 1 | 2 | 3): 'low' | 'low_medium' | 'medium_high' | 'high';
|
|
70
69
|
transformData(input: any): any;
|
|
71
70
|
getAllResponsibilities(): Observable<any[]>;
|
|
72
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityService, [null, null, { optional: true; }]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.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 "
|