vcomply-workflow-engine 6.0.79 → 6.0.81

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.
Files changed (28) hide show
  1. package/esm2022/lib/add-multiple-responsibility/add-multiple-responsibility.component.mjs +10 -1
  2. package/esm2022/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +10 -1
  3. package/esm2022/lib/add-multiple-risk/add-multiple-risk.component.mjs +10 -1
  4. package/esm2022/lib/constants/api.constants.mjs +4 -1
  5. package/esm2022/lib/interfaces/responsibilty.interface.mjs +1 -1
  6. package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +3 -6
  7. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +6 -1
  8. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.component.mjs +48 -14
  9. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.module.mjs +8 -4
  10. package/esm2022/lib/workflow/shared/services/grc.service.mjs +2 -11
  11. package/esm2022/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.mjs +10 -1
  12. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +4 -3
  13. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +7 -10
  14. package/esm2022/lib/workflow-services/responsibility.service.mjs +7 -18
  15. package/fesm2022/vcomply-workflow-engine.mjs +120 -64
  16. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  17. package/lib/add-multiple-responsibility/add-multiple-responsibility.component.d.ts +2 -0
  18. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +2 -0
  19. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +2 -0
  20. package/lib/constants/api.constants.d.ts +3 -0
  21. package/lib/interfaces/responsibilty.interface.d.ts +1 -1
  22. package/lib/sharedComponents/frequency/frequency.service.d.ts +1 -0
  23. package/lib/sharedComponents/link-responsibility/link-responsibility.component.d.ts +2 -1
  24. package/lib/sharedComponents/link-responsibility/link-responsibility.module.d.ts +2 -1
  25. package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +2 -0
  26. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
  27. package/lib/workflow-services/responsibility.service.d.ts +2 -4
  28. package/package.json +1 -1
@@ -71,6 +71,8 @@ export declare class AddMultipleResponsibilityComponent implements OnChanges {
71
71
  isPastDate(day: any, month: any): boolean;
72
72
  downloadTemplate(): void;
73
73
  submitResponsibilityBulkUpload(): void;
74
+ submitWorkflow(): void;
75
+ private getOrigin;
74
76
  returnIds(item: any, key: string): number | {
75
77
  name: string;
76
78
  rcId: number;
@@ -94,6 +94,8 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
94
94
  isPastDate(day: any, month: any): boolean;
95
95
  downloadTemplate(): void;
96
96
  submitResponsibilityBulkUpload(): void;
97
+ submitWorkflow(): void;
98
+ private getOrigin;
97
99
  returnIds(item: any, key: string): any;
98
100
  reset(): void;
99
101
  action(event: string): void;
@@ -123,6 +123,8 @@ export declare class AddMultipleRiskComponent implements OnInit, OnChanges {
123
123
  checkValidity(risk: any): boolean;
124
124
  downloadTemplate(): void;
125
125
  submitRiskBulkUpload(completeAssessment: any): void;
126
+ submitWorkflow(): void;
127
+ private getOrigin;
126
128
  returnIds(item: any, key: string): any;
127
129
  reset(): void;
128
130
  action(event: string): void;
@@ -1,5 +1,8 @@
1
1
  export declare const API: {
2
2
  subscriptionList: string;
3
+ goToPolicyWorkroom: string;
4
+ editPolicy: string;
5
+ responsibilityList: string;
3
6
  };
4
7
  export declare const PROGRAM_LIST_API: {
5
8
  programList: string;
@@ -15,7 +15,7 @@ interface ReviewerFrequency {
15
15
  endAfter: number;
16
16
  }
17
17
  interface Reviewer {
18
- type: 'sequential' | 'any_one';
18
+ type: 'sequential' | 'any';
19
19
  frequency: ReviewerFrequency;
20
20
  userId: number[];
21
21
  }
@@ -47,6 +47,7 @@ export declare class FrequencyService {
47
47
  changeTimeZone(date: any): Date;
48
48
  getResponsibilityList(payload: any): import("rxjs").Observable<any>;
49
49
  getResponsibilitiesCount(payload: any): import("rxjs").Observable<any>;
50
+ getAllResponsibilities(pageNo: number): import("rxjs").Observable<any[]>;
50
51
  formatDate(): string;
51
52
  /**
52
53
  * Converts a frequency configuration object into a standardized FrequencyObject format.
@@ -57,7 +57,8 @@ export declare class LinkResponsibilityListComponent implements OnInit {
57
57
  ngOnInit(): void;
58
58
  back(): void;
59
59
  getResponsibilityValues(): void;
60
- getResponsibilityList(): void;
60
+ getResponsibilityList(pageNo?: number): void;
61
+ private mapResponsibilitiesData;
61
62
  responsibilityPageChange(pageNumber: number): void;
62
63
  deleteItem(item: any): void;
63
64
  save(event: any): void;
@@ -8,8 +8,9 @@ import * as i6 from "../../formgroup/formgroup.module";
8
8
  import * as i7 from "../no-data/no-data.module";
9
9
  import * as i8 from "../v-loader/v-loader.module";
10
10
  import * as i9 from "../../ui-kit/popover/popover.module";
11
+ import * as i10 from "../../ui-kit/pagination/pagination.module";
11
12
  export declare class LinkResponsibilityModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<LinkResponsibilityModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<LinkResponsibilityModule, [typeof i1.LinkResponsibilityListComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PipesModule, typeof i5.FloatingBarModule, typeof i6.FormgroupModule, typeof i7.NoDataModule, typeof i8.VLoaderModule, typeof i9.PopoverModule], [typeof i1.LinkResponsibilityListComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LinkResponsibilityModule, [typeof i1.LinkResponsibilityListComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PipesModule, typeof i5.FloatingBarModule, typeof i6.FormgroupModule, typeof i7.NoDataModule, typeof i8.VLoaderModule, typeof i9.PopoverModule, typeof i10.PaginationModule], [typeof i1.LinkResponsibilityListComponent]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<LinkResponsibilityModule>;
15
16
  }
@@ -284,6 +284,8 @@ export declare class ImportAnAssessmentComponent {
284
284
  };
285
285
  postAssessment(data: any): void;
286
286
  postAssessmentDetails(id: any, mode: any, assessmentDetails: any): void;
287
+ submitWorkflow(): void;
288
+ private getOrigin;
287
289
  smileyAction(id: any): void;
288
290
  static ɵfac: i0.ɵɵFactoryDeclaration<ImportAnAssessmentComponent, never>;
289
291
  static ɵcmp: i0.ɵɵComponentDeclaration<ImportAnAssessmentComponent, "app-import-an-assessment", never, {}, { "closeWorkflow": "closeWorkflow"; "disconnectRefresh": "disconnectRefresh"; }, never, never, false, never>;
@@ -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): "strategic" | "compliance" | "others" | "operational";
170
+ setCategoryType(type: any): "others" | "strategic" | "operational" | "compliance";
171
171
  getRCList(): void;
172
172
  getCategoryList(): void;
173
173
  getOwnersList(): void;
@@ -4,12 +4,10 @@ import { AuthService } from './auth.service';
4
4
  import { AssessmentList } from '../sharedComponents/assessment-list/service/assessment.interface';
5
5
  import { BehaviorSubject, Observable } from 'rxjs';
6
6
  import { Responsibility } from '../interfaces/responsibilty.interface';
7
- import { GrcService } from '../workflow/shared/services/grc.service';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class ResponsibilityService {
10
9
  private http;
11
10
  private authService;
12
- private grcService;
13
11
  env: any;
14
12
  dataPerPage: number;
15
13
  responsibilityPageNumber: number;
@@ -21,7 +19,7 @@ export declare class ResponsibilityService {
21
19
  AssuranceCategoryList: BehaviorSubject<any>;
22
20
  private overseerList;
23
21
  private policyGroups;
24
- constructor(http: HttpClient, authService: AuthService, grcService: GrcService, config?: Configurations);
22
+ constructor(http: HttpClient, authService: AuthService, config?: Configurations);
25
23
  getResponsibilityCenterList(params?: HttpParams): Observable<any>;
26
24
  getOrganizationGroups(params?: HttpParams): Observable<any>;
27
25
  getOrganizationPolicyGroups(params?: HttpParams): Observable<any>;
@@ -70,6 +68,6 @@ export declare class ResponsibilityService {
70
68
  } | undefined;
71
69
  transformData(input: any): any;
72
70
  getAllResponsibilities(): Observable<any[]>;
73
- static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityService, [null, null, null, { optional: true; }]>;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityService, [null, null, { optional: true; }]>;
74
72
  static ɵprov: i0.ɵɵInjectableDeclaration<ResponsibilityService>;
75
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "6.0.79",
3
+ "version": "6.0.81",
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 "