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.
@@ -0,0 +1,5 @@
1
+ export declare enum PostMessageEvent {
2
+ CLOSE_WEBVIEW = "closeWebview",
3
+ PROGRAM_CREATED = "programCreated",
4
+ PROGRAM_UPDATED = "programUpdated"
5
+ }
@@ -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): "others" | "compliance" | "strategic" | "operational";
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.69",
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 "