vcomply-workflow-engine 6.0.78 → 6.0.80

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 (23) 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/report-a-case/services/report-a-case.service.mjs +2 -2
  6. package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +3 -6
  7. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +21 -5
  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-assessment/import-an-assessment/import-an-assessment.component.mjs +10 -1
  11. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +3 -2
  12. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +7 -10
  13. package/fesm2022/vcomply-workflow-engine.mjs +125 -43
  14. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  15. package/lib/add-multiple-responsibility/add-multiple-responsibility.component.d.ts +2 -0
  16. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +2 -0
  17. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +2 -0
  18. package/lib/constants/api.constants.d.ts +3 -0
  19. package/lib/sharedComponents/frequency/frequency.service.d.ts +5 -2
  20. package/lib/sharedComponents/link-responsibility/link-responsibility.component.d.ts +2 -1
  21. package/lib/sharedComponents/link-responsibility/link-responsibility.module.d.ts +2 -1
  22. package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +2 -0
  23. 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;
@@ -2,10 +2,12 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { Configurations } from '../../configurations';
3
3
  import { AuthService } from '../../workflow-services/auth.service';
4
4
  import { FrequencyObject } from '../../interfaces/frequency.interface';
5
+ import { GrcService } from '../../workflow/shared/services/grc.service';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class FrequencyService {
7
8
  private http;
8
9
  private authService;
10
+ private grcService;
9
11
  monthArray: Array<string>;
10
12
  dayName: Array<string>;
11
13
  quarterlyMonth: Array<string>;
@@ -31,7 +33,7 @@ export declare class FrequencyService {
31
33
  };
32
34
  frequencyDetails: object;
33
35
  private env;
34
- constructor(http: HttpClient, authService: AuthService, config?: Configurations);
36
+ constructor(http: HttpClient, authService: AuthService, grcService: GrcService, config?: Configurations);
35
37
  timeFrom12hTo24h(value: string): string;
36
38
  timeIn12(value: any): string;
37
39
  frameworkStartDate(row: any): number;
@@ -47,6 +49,7 @@ export declare class FrequencyService {
47
49
  changeTimeZone(date: any): Date;
48
50
  getResponsibilityList(payload: any): import("rxjs").Observable<any>;
49
51
  getResponsibilitiesCount(payload: any): import("rxjs").Observable<any>;
52
+ getAllResponsibilities(pageNo: number): import("rxjs").Observable<any[]>;
50
53
  formatDate(): string;
51
54
  /**
52
55
  * Converts a frequency configuration object into a standardized FrequencyObject format.
@@ -134,6 +137,6 @@ export declare class FrequencyService {
134
137
  * ```
135
138
  */
136
139
  formatDateString(dateString: string): string;
137
- static ɵfac: i0.ɵɵFactoryDeclaration<FrequencyService, [null, null, { optional: true; }]>;
140
+ static ɵfac: i0.ɵɵFactoryDeclaration<FrequencyService, [null, null, null, { optional: true; }]>;
138
141
  static ɵprov: i0.ɵɵInjectableDeclaration<FrequencyService>;
139
142
  }
@@ -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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "6.0.78",
3
+ "version": "6.0.80",
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 "