vcomply-workflow-engine 6.0.69 → 6.0.71
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/services/iframe.service.mjs +14 -1
- package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +6 -2
- package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +29 -24
- package/esm2022/lib/workflow-program/workflow-program.component.mjs +10 -3
- package/fesm2022/vcomply-workflow-engine.mjs +68 -35
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/interfaces/iframe-type.d.ts +5 -0
- package/lib/services/iframe.service.d.ts +6 -0
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +3 -1
- package/lib/workflow-program/workflow-program.component.d.ts +1 -0
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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;
|
|
@@ -167,7 +167,7 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
167
167
|
setPopupButtons(): void;
|
|
168
168
|
getRiskDetails(riskId: any): void;
|
|
169
169
|
populateOptionalFields(): void;
|
|
170
|
-
setCategoryType(type: any): "
|
|
170
|
+
setCategoryType(type: any): "strategic" | "compliance" | "others" | "operational";
|
|
171
171
|
getRCList(): void;
|
|
172
172
|
getCategoryList(): void;
|
|
173
173
|
getOwnersList(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.71",
|
|
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 "
|