vcomply-workflow-engine 6.1.83 → 6.1.85

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.
@@ -162,7 +162,7 @@ export declare class AddMultipleRiskComponent implements OnInit, OnChanges {
162
162
  * @param {string} [label] - the label of the risk
163
163
  * @returns The return value is the value of the last expression in the function.
164
164
  */
165
- setRiskLabel(label?: string): 1 | 2;
165
+ setRiskLabel(label?: string): 2 | 1;
166
166
  /**
167
167
  * "If the date is a number, convert it to a date object, then create a new date object with the
168
168
  * timezone set to the user's timezone, then return the date in the format YYYY-MM-DD."
@@ -46,6 +46,12 @@ export declare class CommonService {
46
46
  per_page: any;
47
47
  total_count: any;
48
48
  };
49
+ /**
50
+ * Post Message to parent window
51
+ * @param message
52
+ */
53
+ postMessageToParent(message: any): void;
54
+ private getOrigin;
49
55
  static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
50
56
  static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
51
57
  }
@@ -3,11 +3,13 @@ import { AuthService } from '../../workflow-services/auth.service';
3
3
  import { ResponsibilityService } from '../../workflow-services/responsibility.service';
4
4
  import { AssessmentCategoryList } from './service/assessment.interface';
5
5
  import { AssessmentService } from './service/assessment.service';
6
+ import { CommonService } from '../../services/common.service';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class AssessmentListComponent implements OnInit {
8
9
  private responsibilityService;
9
10
  private assessmentService;
10
11
  private auth;
12
+ private commonService;
11
13
  ASSETS: {
12
14
  responsibility_center: string;
13
15
  case_type: string;
@@ -39,6 +41,11 @@ export declare class AssessmentListComponent implements OnInit {
39
41
  recurring: string;
40
42
  lock_scope: string;
41
43
  custom_fields: string;
44
+ /**
45
+ *
46
+ * @param index : Accept index of elementPosition
47
+ *
48
+ */
42
49
  link_risks: string;
43
50
  placeholder: string;
44
51
  add_logic: string;
@@ -94,8 +101,9 @@ export declare class AssessmentListComponent implements OnInit {
94
101
  isFullScreen: boolean;
95
102
  onAssessmentSelect: EventEmitter<any>;
96
103
  cancelAssessment: EventEmitter<any>;
97
- constructor(responsibilityService: ResponsibilityService, assessmentService: AssessmentService, auth: AuthService);
104
+ constructor(responsibilityService: ResponsibilityService, assessmentService: AssessmentService, auth: AuthService, commonService: CommonService);
98
105
  ngOnInit(): void;
106
+ postIframeLoaded(): void;
99
107
  onAssessmentSelected(event: any): void;
100
108
  preview(evt: any): void;
101
109
  previewBack(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "6.1.83",
3
+ "version": "6.1.85",
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 "