vcomply-workflow-engine 5.0.6 → 5.0.8

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.
@@ -372,6 +372,7 @@ export declare class WorkflowCaseComponent {
372
372
  getCcUsers(evt: any, type: string): void;
373
373
  filterOversights(): void;
374
374
  filterResponsibilities(payload: any): void;
375
+ filterAssessment(payload: any): void;
375
376
  addToCase(): void;
376
377
  addCaseToWorkflow(): void;
377
378
  updateAddToCase(): void;
@@ -1,9 +1,11 @@
1
1
  import { RbacService } from './RBAC.service';
2
2
  import { AuthService } from './auth.service';
3
+ import { BehaviorSubject } from 'rxjs';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class ReportCasePermissionService {
5
6
  private rbacService;
6
7
  private authService;
8
+ hasPermission: BehaviorSubject<boolean>;
7
9
  constructor(rbacService: RbacService, authService: AuthService);
8
10
  checkReportACasePermission(): boolean;
9
11
  checkSubscription(): boolean;
@@ -15,6 +15,7 @@ import { MoreOptionComponent } from './../more-option/more-option.component';
15
15
  import { WorkflowProgramComponent } from '../workflow-program/workflow-program.component';
16
16
  import { GrcObjectContainerComponent } from '../workflow/grc-object/grc-object-container/grc-object-container.component';
17
17
  import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
18
+ import { Subscription } from 'rxjs';
18
19
  import { ReportACaseService } from '../report-a-case/services/report-a-case.service';
19
20
  import { WorkflowCaseComponent } from '../report-a-case/workflow-case/workflow-case.component';
20
21
  import { ReportCasePermissionService } from '../services/report-case-permission.service';
@@ -30,6 +31,7 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
30
31
  isRCSelected: boolean;
31
32
  featureFlag_groups: boolean;
32
33
  addToCaseMode: string;
34
+ permissionSubscription: Subscription;
33
35
  unloadNotification($event: any): void;
34
36
  constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService, orgCommonService: OrganizationCommonService, reportACaseService: ReportACaseService, reportCasePermissionService: ReportCasePermissionService);
35
37
  workflowType: string;
@@ -118,6 +120,8 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
118
120
  closeConfirm(evt: any): void;
119
121
  executeClose(evt: any): void;
120
122
  ngOnInit(): void;
123
+ ngOnDestroy(): void;
124
+ checkPermission(): void;
121
125
  setNetworkListner(): void;
122
126
  ngAfterViewInit(): void;
123
127
  checkReportCasePermission(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "5.0.6",
3
+ "version": "5.0.8",
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 "