vcomply-workflow-engine 6.0.63 → 6.0.65

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 (83) 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/interfaces/responsibilty.interface.mjs +1 -1
  5. package/esm2022/lib/more-option/more-option.component.mjs +180 -14
  6. package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +2 -3
  7. package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +4 -4
  8. package/esm2022/lib/services/common.service.mjs +1 -40
  9. package/esm2022/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.mjs +1 -5
  10. package/esm2022/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.mjs +1 -5
  11. package/esm2022/lib/sharedComponents/frequency/frequency-container/frequency-container.component.mjs +5 -5
  12. package/esm2022/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.mjs +1 -2
  13. package/esm2022/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.mjs +2 -6
  14. package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +2 -3
  15. package/esm2022/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.mjs +1 -3
  16. package/esm2022/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.mjs +1 -5
  17. package/esm2022/lib/sharedComponents/frequency/frequency-random/frequency-random.component.mjs +2 -9
  18. package/esm2022/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.mjs +2 -4
  19. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +1 -243
  20. package/esm2022/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +17 -45
  21. package/esm2022/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.mjs +10 -13
  22. package/esm2022/lib/workflow/shared/services/grc.service.mjs +2 -2
  23. package/esm2022/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.mjs +10 -1
  24. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +411 -283
  25. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +31 -5
  26. package/esm2022/lib/workflow-engine.module.mjs +6 -13
  27. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +47 -91
  28. package/esm2022/lib/workflow-program/constants.mjs +3 -3
  29. package/esm2022/lib/workflow-program/workflow-program.component.mjs +311 -118
  30. package/esm2022/lib/workflow-services/common-workflow-services/common-route.service.mjs +20 -0
  31. package/esm2022/lib/workflow-services/policy.service.mjs +4 -4
  32. package/esm2022/lib/workflow-services/programs.service.mjs +113 -26
  33. package/esm2022/lib/workflow-services/responsibility.service.mjs +45 -48
  34. package/fesm2022/vcomply-workflow-engine.mjs +17392 -17517
  35. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  36. package/lib/add-multiple-responsibility/add-multiple-responsibility.component.d.ts +2 -0
  37. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +2 -0
  38. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +3 -1
  39. package/lib/interfaces/responsibilty.interface.d.ts +12 -12
  40. package/lib/services/common.service.d.ts +0 -28
  41. package/lib/sharedComponents/frequency/frequency-random/frequency-random.component.d.ts +0 -1
  42. package/lib/sharedComponents/frequency/frequency.service.d.ts +0 -87
  43. package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +1 -5
  44. package/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.d.ts +1 -3
  45. package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +2 -0
  46. package/lib/workflow-compliance/workflow-compliance.component.d.ts +6 -32
  47. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +1 -2
  48. package/lib/workflow-engine.module.d.ts +40 -42
  49. package/lib/workflow-policy/workflow-policy.component.d.ts +3 -10
  50. package/lib/workflow-program/workflow-program.component.d.ts +4 -7
  51. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
  52. package/lib/workflow-services/common-workflow-services/common-route.service.d.ts +9 -0
  53. package/lib/workflow-services/programs.service.d.ts +53 -13
  54. package/lib/workflow-services/responsibility.service.d.ts +2 -14
  55. package/package.json +1 -1
  56. package/esm2022/lib/constants/api.constants.mjs +0 -8
  57. package/esm2022/lib/constants/mock.mjs +0 -152
  58. package/esm2022/lib/interfaces/frequency.interface.mjs +0 -2
  59. package/esm2022/lib/sharedComponents/list-container/list-container.component.mjs +0 -52
  60. package/esm2022/lib/sharedComponents/program-list/constant.mjs +0 -16
  61. package/esm2022/lib/sharedComponents/program-list/interfaces/data-source.interface.mjs +0 -2
  62. package/esm2022/lib/sharedComponents/program-list/interfaces/list-item.interface.mjs +0 -2
  63. package/esm2022/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.mjs +0 -23
  64. package/esm2022/lib/sharedComponents/program-list/program-list/program-list.component.mjs +0 -182
  65. package/esm2022/lib/sharedComponents/program-list/program-list.module.mjs +0 -47
  66. package/esm2022/lib/sharedComponents/program-list/services/list-utils.service.mjs +0 -27
  67. package/esm2022/lib/sharedComponents/program-list/services/program-list-api.service.mjs +0 -32
  68. package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +0 -24
  69. package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +0 -19
  70. package/lib/constants/api.constants.d.ts +0 -7
  71. package/lib/constants/mock.d.ts +0 -15
  72. package/lib/interfaces/frequency.interface.d.ts +0 -37
  73. package/lib/sharedComponents/list-container/list-container.component.d.ts +0 -9
  74. package/lib/sharedComponents/program-list/constant.d.ts +0 -9
  75. package/lib/sharedComponents/program-list/interfaces/data-source.interface.d.ts +0 -4
  76. package/lib/sharedComponents/program-list/interfaces/list-item.interface.d.ts +0 -5
  77. package/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.d.ts +0 -7
  78. package/lib/sharedComponents/program-list/program-list/program-list.component.d.ts +0 -45
  79. package/lib/sharedComponents/program-list/program-list.module.d.ts +0 -14
  80. package/lib/sharedComponents/program-list/services/list-utils.service.d.ts +0 -7
  81. package/lib/sharedComponents/program-list/services/program-list-api.service.d.ts +0 -14
  82. package/lib/ui-kit/loaders/loaders.module.d.ts +0 -8
  83. package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +0 -9
@@ -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;
@@ -159,7 +161,7 @@ export declare class AddMultipleRiskComponent implements OnInit, OnChanges {
159
161
  * @param {string} [label] - the label of the risk
160
162
  * @returns The return value is the value of the last expression in the function.
161
163
  */
162
- setRiskLabel(label?: string): 2 | 1;
164
+ setRiskLabel(label?: string): 1 | 2;
163
165
  /**
164
166
  * "If the date is a number, convert it to a date object, then create a new date object with the
165
167
  * timezone set to the user's timezone, then return the date in the format YYYY-MM-DD."
@@ -1,8 +1,8 @@
1
1
  interface Frequency {
2
- type: string;
2
+ type: 'daily';
3
3
  }
4
4
  interface Assignee {
5
- type: 'all' | 'any';
5
+ type: 'all' | 'any_one';
6
6
  userId: number[];
7
7
  userGroupId: number[];
8
8
  }
@@ -11,8 +11,8 @@ interface ResponsibilityCenter {
11
11
  id: number[];
12
12
  }
13
13
  interface ReviewerFrequency {
14
- completeBy: number;
15
- endAfter: number;
14
+ dueDays: number;
15
+ extensionDays: number;
16
16
  }
17
17
  interface Reviewer {
18
18
  type: 'sequential' | 'any_one';
@@ -37,23 +37,23 @@ interface Evidence {
37
37
  }
38
38
  interface Program {
39
39
  id: number[];
40
- tags: {
41
- [key: string]: string;
42
- };
43
40
  }
44
41
  export interface Responsibility {
45
42
  title: string;
46
43
  key: number;
47
- riskClass: 'low' | 'low_medium' | 'medium_high' | 'high';
44
+ riskClass: 'low' | 'low-medium' | 'medium-high' | 'high';
48
45
  notes: string;
49
46
  objective: string;
50
47
  frequency: Frequency;
51
- assignor: number;
48
+ assignorId: number;
52
49
  assignee: Assignee;
53
- responsibilityCenter: ResponsibilityCenter | undefined;
54
- reviewer: Reviewer | undefined;
55
- overseer: Overseer | undefined;
50
+ responsibilityCenter: ResponsibilityCenter;
51
+ reviewer: Reviewer;
52
+ overseer: Overseer;
56
53
  evidence: Evidence;
54
+ tags: {
55
+ [key: string]: string;
56
+ };
57
57
  program: Program;
58
58
  grcObjectId: any[];
59
59
  assessmentId: string;
@@ -9,34 +9,6 @@ export declare class CommonService {
9
9
  };
10
10
  handleDocumentClick(datePickerObject: any): boolean;
11
11
  private closeDatePickerIfOpen;
12
- /**
13
- * Transforms program data to identify added and removed program IDs.
14
- * This method compares the current program selection with previously linked programs
15
- * to determine which programs have been added or removed.
16
- *
17
- * @param input - An object containing program selections, where each key represents a category
18
- * and its value is an array of program objects with an 'id' property.
19
- * @param linkedProgramIds - Array of previously linked program IDs
20
- *
21
- * @returns An object containing:
22
- * - added: Array of program IDs that are newly selected
23
- * - removed: Array of program IDs that were previously linked but are no longer selected
24
- *
25
- * @example
26
- * // If input is { category1: [{id: 1}, {id: 2}], category2: [{id: 3}] }
27
- * // And linkedProgramIds is [1, 4]
28
- * // Returns { added: [2, 3], removed: [4] }
29
- */
30
- transformProgramData(input: Record<string, Array<{
31
- id: number;
32
- }>>, linkedProgramIds?: number[]): {
33
- added: number[];
34
- removed: number[];
35
- };
36
- transformResponsibilitiesData(currentResponsibilityIds: number[], linkedResponsibilityIds?: number[]): {
37
- added: number[];
38
- removed: number[];
39
- };
40
12
  static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
41
13
  static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
42
14
  }
@@ -52,7 +52,6 @@ export declare class FrequencyRandomComponent implements OnInit {
52
52
  getQuarterlyFrequency(): {
53
53
  pattern: string;
54
54
  placeholder: string;
55
- monthSequence: number[];
56
55
  };
57
56
  getYearlyFrequency(): {
58
57
  pattern: string;
@@ -1,7 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Configurations } from '../../configurations';
3
3
  import { AuthService } from '../../workflow-services/auth.service';
4
- import { FrequencyObject } from '../../interfaces/frequency.interface';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class FrequencyService {
7
6
  private http;
@@ -48,92 +47,6 @@ export declare class FrequencyService {
48
47
  getResponsibilityList(payload: any): import("rxjs").Observable<any>;
49
48
  getResponsibilitiesCount(payload: any): import("rxjs").Observable<any>;
50
49
  formatDate(): string;
51
- /**
52
- * Converts a frequency configuration object into a standardized FrequencyObject format.
53
- *
54
- * @param frequency - The input frequency configuration object with the following properties:
55
- * - case: The type of frequency ('one_time' | 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'semester' | 'yearly' | 'random' | 'ongoing' | 'on_completion_of' | 'biannually')
56
- * - window: Number of days before the task can be started
57
- * - failedAfter: Number of days after which the task is considered failed
58
- * - continuous_failed_days: Number of days after which the task is auto-deactivated
59
- * - day: The day of occurrence
60
- * - timeIn24Hr: Time in 24-hour format
61
- * - every: Frequency interval
62
- * - selectedDay: Array of selected days for weekly frequency (1-7 representing Monday-Sunday)
63
- * - selectedMonth: Array of selected months (0-11 representing January-December)
64
- * - startFrom: Unix timestamp for the start date
65
- * - lifecycleDetails: String in format "YYYY-MM-DD~~N" where N is the number of occurrences
66
- * - randomTypeSelected: Index for random frequency type (0: weekly, 1: monthly, 2: quarterly, 3: yearly)
67
- * - randomInstances: Number of random occurrences
68
- * - selectedType: Number of reminders for ongoing frequency
69
- * - selectedOngoingType: Index for ongoing frequency type (1: week, 2: month, 3: quarter, 4: semester, 5: year)
70
- *
71
- * @returns A FrequencyObject with the following structure:
72
- * - type: Frequency type
73
- * - startBefore: Days before task can start
74
- * - endAfter: Days after which task fails
75
- * - autoDeactivate: Days after which task is deactivated
76
- * - day: Day of occurrence
77
- * - time: Time in 24-hour format
78
- * - repeatOptions: {
79
- * every: number,
80
- * repeatOn: string (binary representation of selected days/months),
81
- * lifecycle: {
82
- * startFrom: string (YYYY-MM-DD),
83
- * endBy?: string (YYYY-MM-DD),
84
- * endAfter?: number
85
- * }
86
- * }
87
- * - random?: { type: string, occurrence: number }
88
- * - onComplete: {}
89
- * - onGoing: { reminders: number, startOf: 'week' | 'month' | 'quarter' | 'semester' | 'year' }
90
- *
91
- * @example
92
- * ```typescript
93
- * const frequency = {
94
- * case: 'weekly',
95
- * window: 2,
96
- * failedAfter: 1,
97
- * continuous_failed_days: 3,
98
- * day: 1,
99
- * timeIn24Hr: '09:00:00',
100
- * every: 1,
101
- * selectedDay: [1, 3, 5], // Monday, Wednesday, Friday
102
- * startFrom: 1678900000,
103
- * lifecycleDetails: '2024-12-31~~10'
104
- * };
105
- * const result = setFrequencyObject(frequency);
106
- * ```
107
- */
108
- setFrequencyObject(frequency: any): FrequencyObject | null;
109
- repeatOptions(frequency: any): string;
110
- getOngoing(frequency: any): {
111
- reminders: any;
112
- startOf: string;
113
- };
114
- getRandomFrequency(frequency: any): {
115
- type: string;
116
- occurrence: any;
117
- };
118
- createFrequencyPattern(frequency: any): string;
119
- getDay(repeatOptions: string): string;
120
- getMonth(repeatOptions: string): string;
121
- getLifecyclePattern(frequency: any): {
122
- startFrom: number;
123
- pattern: string;
124
- };
125
- /**
126
- * Converts a date string in "YYYY-MM-DD" format to "DD-Month-YYYY~~0".
127
- *
128
- * @param {string} dateString - The input date string in "YYYY-MM-DD" format.
129
- * @returns {string} - The formatted date string in "DD-Month-YYYY~~0" format.
130
- *
131
- * @example
132
- * ```typescript
133
- * formatDateString("2025-03-27"); // Returns "27-March-2025~~0"
134
- * ```
135
- */
136
- formatDateString(dateString: string): string;
137
50
  static ɵfac: i0.ɵɵFactoryDeclaration<FrequencyService, [null, null, { optional: true; }]>;
138
51
  static ɵprov: i0.ɵɵInjectableDeclaration<FrequencyService>;
139
52
  }
@@ -8,7 +8,6 @@ import { UiKitService } from '../../../workflow-services/ui-kit.service';
8
8
  import { ComplianceCommonService } from '../../../workflow-services/common-workflow-services/compliance-common.service';
9
9
  import { OrganizationCommonService } from '../../../workflow-services/common-workflow-services/organization-common.service';
10
10
  import { IframeService } from '../../../services/iframe.service';
11
- import { CommonService } from '../../../services/common.service';
12
11
  import * as i0 from "@angular/core";
13
12
  export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
14
13
  private grcService;
@@ -18,7 +17,6 @@ export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
18
17
  private complianceCommonService;
19
18
  private organizationCommonService;
20
19
  private iframeService;
21
- private CommonService;
22
20
  MODE: 'CREATE' | 'EDIT';
23
21
  ID: string;
24
22
  ALL_TEXT: {
@@ -98,7 +96,6 @@ export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
98
96
  selectedProgram: any[];
99
97
  selectedResponsibility: any[];
100
98
  submitLoader: boolean;
101
- linkedResponsibilities: any;
102
99
  populateOption: EventEmitter<any>;
103
100
  pickerChanged: EventEmitter<any>;
104
101
  closeWorkflow: EventEmitter<any>;
@@ -107,7 +104,7 @@ export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
107
104
  hideElementsFromMoreOptions: EventEmitter<any>;
108
105
  otherGRCSubscription: Subscription;
109
106
  hideMoreOption: any;
110
- constructor(grcService: GrcService, apiService: ResponsibilityService, authService: AuthService, uiKitService: UiKitService, complianceCommonService: ComplianceCommonService, organizationCommonService: OrganizationCommonService, iframeService: IframeService, CommonService: CommonService);
107
+ constructor(grcService: GrcService, apiService: ResponsibilityService, authService: AuthService, uiKitService: UiKitService, complianceCommonService: ComplianceCommonService, organizationCommonService: OrganizationCommonService, iframeService: IframeService);
111
108
  ngOnDestroy(): void;
112
109
  ngOnInit(): void;
113
110
  getSubscriptionDetails(): void;
@@ -173,7 +170,6 @@ export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
173
170
  resetOtherGRCCard(): void;
174
171
  resetDataOnRCChange(): void;
175
172
  resetMoreOptionsOnRCChange(): void;
176
- getAllResponsibilities(): void;
177
173
  static ɵfac: i0.ɵɵFactoryDeclaration<GrcObjectContainerComponent, never>;
178
174
  static ɵcmp: i0.ɵɵComponentDeclaration<GrcObjectContainerComponent, "lib-grc-object-container", never, { "grcType": { "alias": "grcType"; "required": false; }; "MODE": { "alias": "MODE"; "required": false; }; "ID": { "alias": "ID"; "required": false; }; }, { "populateOption": "populateOption"; "pickerChanged": "pickerChanged"; "closeWorkflow": "closeWorkflow"; "disconnectRefresh": "disconnectRefresh"; "resetForm": "resetForm"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; }, never, never, false, never>;
179
175
  }
@@ -1,8 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { ResponsibilityService } from '../../../../workflow-services/responsibility.service';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class GrcCategoryListingComponent implements OnInit {
5
- private responsibilityService;
6
4
  categories: any;
7
5
  tableCard: Array<any>;
8
6
  selectedCategory: any;
@@ -23,7 +21,7 @@ export declare class GrcCategoryListingComponent implements OnInit {
23
21
  set getProgramData(value: any);
24
22
  activeSelectedCategory: EventEmitter<any>;
25
23
  onCategoryPageChange: EventEmitter<any>;
26
- constructor(responsibilityService: ResponsibilityService);
24
+ constructor();
27
25
  ngOnInit(): void;
28
26
  getSelectedCategory(category: any, event: any): void;
29
27
  deleteEvent(category: any): void;
@@ -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>;
@@ -1,4 +1,4 @@
1
- import { OnInit, EventEmitter, ElementRef, TemplateRef } from '@angular/core';
1
+ import { OnInit, EventEmitter, ElementRef } from '@angular/core';
2
2
  import { EditorConfig } from 'vcomply-editor';
3
3
  import { AuthService } from '../workflow-services/auth.service';
4
4
  import { ResponsibilityService } from '../workflow-services/responsibility.service';
@@ -11,9 +11,6 @@ import { GrcService } from '../workflow/shared/services/grc.service';
11
11
  import { OrganizationUserService } from '../workflow-services/organization-user.service';
12
12
  import { ComplianceCommonService } from '../workflow-services/common-workflow-services/compliance-common.service';
13
13
  import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
14
- import { FrequencyObject } from '../interfaces/frequency.interface';
15
- import { Responsibility } from '../interfaces/responsibilty.interface';
16
- import { ListItem } from '../sharedComponents/program-list/interfaces/list-item.interface';
17
14
  import { IframeService } from '../services/iframe.service';
18
15
  import * as i0 from "@angular/core";
19
16
  export declare class WorkflowComplianceComponent implements OnInit {
@@ -107,11 +104,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
107
104
  grcSearchString: string;
108
105
  GRC_TYPE_ARRAY: string[];
109
106
  grcDataWithTypes: any;
110
- selectedCategory: any[];
111
- programListUrl: {
112
- programList: string;
113
- categoryList: string;
114
- };
115
107
  set closeOnEsc(escapeCondition: boolean);
116
108
  orgDetails: any;
117
109
  url: string;
@@ -197,7 +189,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
197
189
  allPrograms: any[];
198
190
  riskClassification: {
199
191
  name: string;
200
- value: string;
192
+ value: number;
201
193
  class: string;
202
194
  }[];
203
195
  assignorMode: string;
@@ -222,7 +214,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
222
214
  continuous_failed_days: number;
223
215
  onCompletionReportDetails: {};
224
216
  };
225
- frequencyObject: FrequencyObject | null;
226
217
  frequencyPlaceholder: string;
227
218
  shortMonth: Array<string>;
228
219
  isEditWhat: Boolean;
@@ -253,10 +244,8 @@ export declare class WorkflowComplianceComponent implements OnInit {
253
244
  rawResponsibility: any;
254
245
  otherGRCSubscription: Subscription;
255
246
  allowEditDueDateFeatureFlag: boolean;
256
- allProgamSelected: any[];
257
247
  whatInput: ElementRef;
258
248
  unSubscribeProgram: Subject<void>;
259
- responsibilityDetails: any;
260
249
  constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService, programService: ProgramsService, grcService: GrcService, organizationUserService: OrganizationUserService, complianceCommonService: ComplianceCommonService, organizationCommonService: OrganizationCommonService, iframeService: IframeService);
261
250
  ngOnInit(): void;
262
251
  setFeatureFlags(): void;
@@ -272,6 +261,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
272
261
  getRCList(program_id?: string): void;
273
262
  getUserDetails(): void;
274
263
  getAssurance(): void;
264
+ getAssuranceForRequiresAudit(): void;
275
265
  getOrganizationDetails(): void;
276
266
  getCategoryList(): void;
277
267
  filterListsAccordingToProgram(program_id?: string): void;
@@ -353,14 +343,13 @@ export declare class WorkflowComplianceComponent implements OnInit {
353
343
  getOnCompletionReportDetails(event: any): any;
354
344
  frequencyDataPopulation(event: any): void;
355
345
  frequencyPopulation(event: any): void;
356
- setPayload(event: any): Responsibility | null;
357
346
  frequencyData(event: any): void;
358
347
  checkBlank(data: string): string;
359
348
  /**
360
349
  * It takes a string and returns a string.
361
350
  * @param {any} res - any = {
362
351
  */
363
- getFrequencyPlaceholder(frequency: any): void;
352
+ getFrequencyPlaceholder(res: any): void;
364
353
  /**
365
354
  * It gets the frequency details and report id, then it sets the frequency placeholder to the frequency
366
355
  * details and then it gets the on completion of responsibility and sets the frequency placeholder to
@@ -464,7 +453,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
464
453
  */
465
454
  postAssessment(event: any): void;
466
455
  setIsUploaded(event: any): void;
467
- checkDefaultProgramOnRemove(event: any): void;
456
+ checkDefaultProgramOnRemove(program: any): void;
468
457
  /**
469
458
  * It takes an array of numbers and returns an array of unique numbers.
470
459
  * @param {any} array - The array you want to get the unique values from.
@@ -490,21 +479,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
490
479
  resetGRCDataWithTypes(): void;
491
480
  removeOtherGRCObjects(event: any): void;
492
481
  filterOtherGRCData(event: any, type: string): void;
493
- programs: ListItem[];
494
- selectedPrograms: any[];
495
- customItemTemplate: TemplateRef<any> | undefined;
496
- onItemsSelectedChange(items: ListItem[]): void;
497
- selectCategory(): void;
498
- get currentUserInfo(): {
499
- member_email: any;
500
- member_id: any;
501
- member_name: any;
502
- organisation_id: any;
503
- _id: any;
504
- };
505
- removeProgram(program: any): void;
506
- populateResponsibilityDetails(): void;
507
- populateFrequencyDetails(frequency: any): void;
508
482
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowComplianceComponent, never>;
509
- static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowComplianceComponent, "app-workflow-compliance", never, { "mode": { "alias": "mode"; "required": false; }; "responsibilityId": { "alias": "responsibilityId"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "isEntrust": { "alias": "isEntrust"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "setSelectedProgram": { "alias": "selectedProgram"; "required": false; }; "responsibilityDetails": { "alias": "responsibilityDetails"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "closeWorkflow": "closeWorkflow"; "resetForm": "resetForm"; "disconnectRefresh": "disconnectRefresh"; "checkpointCountUpdated": "checkpointCountUpdated"; "rcSelected": "rcSelected"; "onRemovingCheckpoint": "onRemovingCheckpoint"; "isAssessmentDisabled": "isAssessmentDisabled"; "assigneeTypeChange": "assigneeTypeChange"; "onReviewerTypeChange": "onReviewerTypeChange"; }, never, never, false, never>;
483
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowComplianceComponent, "app-workflow-compliance", never, { "mode": { "alias": "mode"; "required": false; }; "responsibilityId": { "alias": "responsibilityId"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "isEntrust": { "alias": "isEntrust"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "setSelectedProgram": { "alias": "selectedProgram"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "closeWorkflow": "closeWorkflow"; "resetForm": "resetForm"; "disconnectRefresh": "disconnectRefresh"; "checkpointCountUpdated": "checkpointCountUpdated"; "rcSelected": "rcSelected"; "onRemovingCheckpoint": "onRemovingCheckpoint"; "isAssessmentDisabled": "isAssessmentDisabled"; "assigneeTypeChange": "assigneeTypeChange"; "onReviewerTypeChange": "onReviewerTypeChange"; }, never, never, false, never>;
510
484
  }
@@ -45,7 +45,6 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
45
45
  secondaryOpenPortal: string;
46
46
  defaultRiskType: string;
47
47
  moveToRegisterMode: string;
48
- workflowDetails: any;
49
48
  reponsibilityData: {
50
49
  responsibilityId: null;
51
50
  responsibilityName: string;
@@ -165,5 +164,5 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
165
164
  onReviewerChange(event: string): void;
166
165
  isResponsibilitySimplify(): void;
167
166
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowEngineContainerComponent, never>;
168
- static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowEngineContainerComponent, "app-vcomply-workflow-engine-container", never, { "workflowType": { "alias": "workflowType"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "id": { "alias": "id"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "source": { "alias": "source"; "required": false; }; "allowedWorkflows": { "alias": "allowedWorkflows"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "secondaryOpenPortal": { "alias": "secondaryOpenPortal"; "required": false; }; "defaultRiskType": { "alias": "defaultRiskType"; "required": false; }; "moveToRegisterMode": { "alias": "moveToRegisterMode"; "required": false; }; "workflowDetails": { "alias": "workflowDetails"; "required": false; }; "reponsibilityData": { "alias": "reponsibilityData"; "required": false; }; "assessmentQuestion": { "alias": "assessmentQuestion"; "required": false; }; "pid": { "alias": "pid"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "issueData": { "alias": "issueData"; "required": false; }; "entrustButtonName": { "alias": "entrustButtonName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "convertFileData": { "alias": "convertFileData"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "selectedProgram": { "alias": "selectedProgram"; "required": false; }; "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "grcType": { "alias": "grcType"; "required": false; }; "isSendForAttestation": { "alias": "isSendForAttestation"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; }, { "closeWorkflow": "closeWorkflow"; }, never, never, false, never>;
167
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowEngineContainerComponent, "app-vcomply-workflow-engine-container", never, { "workflowType": { "alias": "workflowType"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "id": { "alias": "id"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "source": { "alias": "source"; "required": false; }; "allowedWorkflows": { "alias": "allowedWorkflows"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "secondaryOpenPortal": { "alias": "secondaryOpenPortal"; "required": false; }; "defaultRiskType": { "alias": "defaultRiskType"; "required": false; }; "moveToRegisterMode": { "alias": "moveToRegisterMode"; "required": false; }; "reponsibilityData": { "alias": "reponsibilityData"; "required": false; }; "assessmentQuestion": { "alias": "assessmentQuestion"; "required": false; }; "pid": { "alias": "pid"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "issueData": { "alias": "issueData"; "required": false; }; "entrustButtonName": { "alias": "entrustButtonName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "convertFileData": { "alias": "convertFileData"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "selectedProgram": { "alias": "selectedProgram"; "required": false; }; "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "grcType": { "alias": "grcType"; "required": false; }; "isSendForAttestation": { "alias": "isSendForAttestation"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; }, { "closeWorkflow": "closeWorkflow"; }, never, never, false, never>;
169
168
  }
@@ -91,50 +91,48 @@ import * as i87 from "./sharedComponents/approval-workflow/approval-create-form/
91
91
  import * as i88 from "./sharedComponents/link-program/link-program/link-program.component";
92
92
  import * as i89 from "./sharedComponents/link-program/tooltip-validation.pipe";
93
93
  import * as i90 from "./link-related-policies/link-related-policies.component";
94
- import * as i91 from "./sharedComponents/list-container/list-container.component";
95
- import * as i92 from "@angular/forms";
96
- import * as i93 from "./sharedComponents/assessment-editor/create-assessment.module";
97
- import * as i94 from "@vcomply/editor";
98
- import * as i95 from "@angular/common";
99
- import * as i96 from "./formgroup/formgroup.module";
100
- import * as i97 from "./ui-kit/tooltip/tooltip.module";
101
- import * as i98 from "./ui-kit/popover/popover.module";
102
- import * as i99 from "./ui-kit/line-loader/line-loader.module";
103
- import * as i100 from "./formgroup/select/select.module";
104
- import * as i101 from "ngx-material-timepicker";
105
- import * as i102 from "ng2-date-picker";
106
- import * as i103 from "./sharedComponents/no-data/no-data.module";
107
- import * as i104 from "./sharedComponents/v-loader/v-loader.module";
108
- import * as i105 from "./ui-kit/smiley-dialog/smiley-dialog.module";
109
- import * as i106 from "./ui-kit/snack-bar/snack-bar.module";
110
- import * as i107 from "@angular/common/http";
111
- import * as i108 from "./ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
112
- import * as i109 from "./ui-kit/click-outside/click-outside.module";
113
- import * as i110 from "./ui-kit/popover-hover/popover-hover.module";
114
- import * as i111 from "./ui-kit/pagination/pagination.module";
115
- import * as i112 from "./ui-kit/action-dialog/action-dialog.module";
116
- import * as i113 from "./sharedComponents/assessment-preview/assessment-preview.module";
117
- import * as i114 from "./workflow-program/create-program-ui/create-program-ui.module";
118
- import * as i115 from "./ui-kit/directive/directive.module";
119
- import * as i116 from "./workflow/grc-object/grc-object.module";
120
- import * as i117 from "./sharedComponents/responsibility-centers-list/rc-list.module";
121
- import * as i118 from "./pipes/pipes.module";
122
- import * as i119 from "./sharedComponents/floating-bar/floating-bar.module";
123
- import * as i120 from "./sharedComponents/group-users-list/group-users-list.component";
124
- import * as i121 from "./sharedComponents/list-loader/list-loader.module";
125
- import * as i122 from "./workflow/shared/components/grc-object-list/grc-object-list.component";
126
- import * as i123 from "./ui-kit/time-picker/time-picker.module";
127
- import * as i124 from "./ui-kit/multi-select/multi-select.module";
128
- import * as i125 from "./sharedComponents/policy-template/policy-template.module";
129
- import * as i126 from "./report-a-case/report-case.module";
130
- import * as i127 from "./sharedComponents/format-and-evidence/format-and-evidence.module";
131
- import * as i128 from "./sharedComponents/checkbox-list/checkbox-list.module";
132
- import * as i129 from "./sharedComponents/radio-list-with-pagination/radio-list-with-pagination.module";
133
- import * as i130 from "./sharedComponents/link-responsibility/link-responsibility.module";
134
- import * as i131 from "./sharedComponents/program-list/program-list.module";
94
+ import * as i91 from "@angular/forms";
95
+ import * as i92 from "./sharedComponents/assessment-editor/create-assessment.module";
96
+ import * as i93 from "@vcomply/editor";
97
+ import * as i94 from "@angular/common";
98
+ import * as i95 from "./formgroup/formgroup.module";
99
+ import * as i96 from "./ui-kit/tooltip/tooltip.module";
100
+ import * as i97 from "./ui-kit/popover/popover.module";
101
+ import * as i98 from "./ui-kit/line-loader/line-loader.module";
102
+ import * as i99 from "./formgroup/select/select.module";
103
+ import * as i100 from "ngx-material-timepicker";
104
+ import * as i101 from "ng2-date-picker";
105
+ import * as i102 from "./sharedComponents/no-data/no-data.module";
106
+ import * as i103 from "./sharedComponents/v-loader/v-loader.module";
107
+ import * as i104 from "./ui-kit/smiley-dialog/smiley-dialog.module";
108
+ import * as i105 from "./ui-kit/snack-bar/snack-bar.module";
109
+ import * as i106 from "@angular/common/http";
110
+ import * as i107 from "./ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
111
+ import * as i108 from "./ui-kit/click-outside/click-outside.module";
112
+ import * as i109 from "./ui-kit/popover-hover/popover-hover.module";
113
+ import * as i110 from "./ui-kit/pagination/pagination.module";
114
+ import * as i111 from "./ui-kit/action-dialog/action-dialog.module";
115
+ import * as i112 from "./sharedComponents/assessment-preview/assessment-preview.module";
116
+ import * as i113 from "./workflow-program/create-program-ui/create-program-ui.module";
117
+ import * as i114 from "./ui-kit/directive/directive.module";
118
+ import * as i115 from "./workflow/grc-object/grc-object.module";
119
+ import * as i116 from "./sharedComponents/responsibility-centers-list/rc-list.module";
120
+ import * as i117 from "./pipes/pipes.module";
121
+ import * as i118 from "./sharedComponents/floating-bar/floating-bar.module";
122
+ import * as i119 from "./sharedComponents/group-users-list/group-users-list.component";
123
+ import * as i120 from "./sharedComponents/list-loader/list-loader.module";
124
+ import * as i121 from "./workflow/shared/components/grc-object-list/grc-object-list.component";
125
+ import * as i122 from "./ui-kit/time-picker/time-picker.module";
126
+ import * as i123 from "./ui-kit/multi-select/multi-select.module";
127
+ import * as i124 from "./sharedComponents/policy-template/policy-template.module";
128
+ import * as i125 from "./report-a-case/report-case.module";
129
+ import * as i126 from "./sharedComponents/format-and-evidence/format-and-evidence.module";
130
+ import * as i127 from "./sharedComponents/checkbox-list/checkbox-list.module";
131
+ import * as i128 from "./sharedComponents/radio-list-with-pagination/radio-list-with-pagination.module";
132
+ import * as i129 from "./sharedComponents/link-responsibility/link-responsibility.module";
135
133
  export declare class VComplyWorkflowEngineModule {
136
134
  static forRoot(environmentConfig: Configurations): ModuleWithProviders<VComplyWorkflowEngineModule>;
137
135
  static ɵfac: i0.ɵɵFactoryDeclaration<VComplyWorkflowEngineModule, never>;
138
- static ɵmod: i0.ɵɵNgModuleDeclaration<VComplyWorkflowEngineModule, [typeof i1.WorkflowEngineContainerComponent, typeof i2.WorkflowRiskComponent, typeof i3.WorkflowComplianceComponent, typeof i4.WorkflowPolicyComponent, typeof i5.MoreOptionComponent, typeof i6.OwnerListComponent, typeof i7.UserRadioListComponent, typeof i8.CategoryListComponent, typeof i9.CategoryMultiSelectComponent, typeof i10.WorkflowPaginationComponent, typeof i11.AddMultipleRiskComponent, typeof i12.BulkViewComponent, typeof i13.CheckpointsComponent, typeof i14.ConfirmationAlertComponent, typeof i15.CheckpointsQuestionsComponent, typeof i16.CheckpointsListComponent, typeof i17.ReviewFrequencyComponent, typeof i18.FrequencyContainerComponent, typeof i19.FrequencyDailyComponent, typeof i20.FrequencyWeeklyComponent, typeof i21.FrequencyMonthlyComponent, typeof i22.FrequencyQuarterlyComponent, typeof i23.FrequencyBiannualComponent, typeof i24.FrequencyAnnualComponent, typeof i25.FrequencyOneTimeComponent, typeof i26.FrequencyRandomComponent, typeof i27.FrequencyOnCompletionOfComponent, typeof i28.FrequencyOngoingComponent, typeof i29.FrequencyTopComponent, typeof i30.FrequencyLifecycleComponent, typeof i31.FrequencyDueDateComponent, typeof i32.FrequencyCheckboxListComponent, typeof i33.FrequencyRadioListComponent, typeof i34.AddMultipleResponsibilityComponent, typeof i35.BulkResponsibilityViewComponent, typeof i36.CheckpointsPolicyContainerComponent, typeof i37.CheckpointsPolicyListComponent, typeof i38.CheckpointsPolicyQuestionsComponent, typeof i39.WorkflowSurveyFormComponent, typeof i40.LogAnIssueComponent, typeof i41.FilterPipe, typeof i42.RadioListComponent, typeof i43.CreateDocumentsComponent, typeof i44.FrameworkListComponent, typeof i45.ParentTableComponent, typeof i46.CheckpointFloatingBarComponent, typeof i47.RiskClassificationComponent, typeof i48.ShortMergePipe, typeof i49.FormatHtmlPipe, typeof i50.WithinDataPipe, typeof i51.rcTreeToolTipPipe, typeof i52.ResponsibilityRiskSelectorComponent, typeof i53.ArrayFilterPipe, typeof i54.AuditCategoryListComponent, typeof i55.DocumentSectionComponent, typeof i55.DocumentSectionComponent, typeof i56.WorkflowAssessmentComponent, typeof i57.ImportAnAssessmentComponent, typeof i58.AssessmentListComponent, typeof i59.AssessmentListLoaderComponent, typeof i60.AssessmentListSubLoaderComponent, typeof i61.ProgramListingComponent, typeof i62.WorkflowProgramComponent, typeof i63.RolesListComponent, typeof i64.FrameworkListTableComponent, typeof i65.FrameworkResponsibilityTableComponent, typeof i66.FrameworkTableLoaderComponent, typeof i67.ArrayConcatPipe, typeof i68.SpaceTrimPipe, typeof i69.FrequencyDialogContainerComponent, typeof i70.FrequencyDialogWeeklyComponent, typeof i71.FrequencyDialogTopComponent, typeof i72.FrequencyDialogDueDateComponent, typeof i73.FrequencyDialogCheckboxListComponent, typeof i74.FrequencyDialogMonthlyComponent, typeof i75.FrequencyDialogQuarterlyComponent, typeof i76.FrequencyDialogRadioListComponent, typeof i77.FrequencyDialogBiannualComponent, typeof i78.FrequencyDialogAnnualComponent, typeof i79.FrequencyDialogOneTimeComponent, typeof i80.AddMultipleResponsibilityContainerComponent, typeof i81.AddMultipleResponsibilityWithTabComponent, typeof i82.FrequencyResponsibilityListComponent, typeof i83.ApprovalWorkflowComponent, typeof i84.SelectApproversComponent, typeof i85.PolicyAccessComponent, typeof i86.ApprovalWorkflowListComponent, typeof i87.ApprovalCreateFormComponent, typeof i88.LinkProgramComponent, typeof i89.TooltipValidationPipe, typeof i90.LinkRelatedPoliciesComponent, typeof i91.ListContainerComponent], [typeof i92.ReactiveFormsModule, typeof i93.CreateAssessmentModule, typeof i94.VcomplyEditorModule, typeof i95.CommonModule, typeof i96.FormgroupModule, typeof i97.TooltipModule, typeof i98.PopoverModule, typeof i99.LineLoaderModule, typeof i92.FormsModule, typeof i100.SelectModule, typeof i101.NgxMaterialTimepickerModule, typeof i102.DpDatePickerModule, typeof i103.NoDataModule, typeof i104.VLoaderModule, typeof i105.SmileyDialogModule, typeof i106.SnackBarModule, typeof i107.HttpClientModule, typeof i108.SmileyDialogInlineModule, typeof i109.ClickOutsideModule, typeof i110.PopoverHoverModule, typeof i111.PaginationModule, typeof i93.CreateAssessmentModule, typeof i112.ActionDialogModule, typeof i113.AssessmentPreviewModule, typeof i114.CreateProgramUiModule, typeof i115.DirectiveModule, typeof i116.GrcObjectModule, typeof i117.RcListModule, typeof i118.PipesModule, typeof i119.FloatingBarModule, typeof i120.GroupUsersListComponent, typeof i121.ListLoaderModule, typeof i122.GrcObjectListComponent, typeof i123.TimePickerModule, typeof i124.MultiSelectModule, typeof i125.PolicyTemplateModule, typeof i126.ReportCaseModule, typeof i127.FormatAndEvidenceModule, typeof i128.CheckboxListModule, typeof i129.RadioListWithPaginationModule, typeof i130.LinkResponsibilityModule, typeof i131.ProgramListModule], [typeof i1.WorkflowEngineContainerComponent]>;
136
+ static ɵmod: i0.ɵɵNgModuleDeclaration<VComplyWorkflowEngineModule, [typeof i1.WorkflowEngineContainerComponent, typeof i2.WorkflowRiskComponent, typeof i3.WorkflowComplianceComponent, typeof i4.WorkflowPolicyComponent, typeof i5.MoreOptionComponent, typeof i6.OwnerListComponent, typeof i7.UserRadioListComponent, typeof i8.CategoryListComponent, typeof i9.CategoryMultiSelectComponent, typeof i10.WorkflowPaginationComponent, typeof i11.AddMultipleRiskComponent, typeof i12.BulkViewComponent, typeof i13.CheckpointsComponent, typeof i14.ConfirmationAlertComponent, typeof i15.CheckpointsQuestionsComponent, typeof i16.CheckpointsListComponent, typeof i17.ReviewFrequencyComponent, typeof i18.FrequencyContainerComponent, typeof i19.FrequencyDailyComponent, typeof i20.FrequencyWeeklyComponent, typeof i21.FrequencyMonthlyComponent, typeof i22.FrequencyQuarterlyComponent, typeof i23.FrequencyBiannualComponent, typeof i24.FrequencyAnnualComponent, typeof i25.FrequencyOneTimeComponent, typeof i26.FrequencyRandomComponent, typeof i27.FrequencyOnCompletionOfComponent, typeof i28.FrequencyOngoingComponent, typeof i29.FrequencyTopComponent, typeof i30.FrequencyLifecycleComponent, typeof i31.FrequencyDueDateComponent, typeof i32.FrequencyCheckboxListComponent, typeof i33.FrequencyRadioListComponent, typeof i34.AddMultipleResponsibilityComponent, typeof i35.BulkResponsibilityViewComponent, typeof i36.CheckpointsPolicyContainerComponent, typeof i37.CheckpointsPolicyListComponent, typeof i38.CheckpointsPolicyQuestionsComponent, typeof i39.WorkflowSurveyFormComponent, typeof i40.LogAnIssueComponent, typeof i41.FilterPipe, typeof i42.RadioListComponent, typeof i43.CreateDocumentsComponent, typeof i44.FrameworkListComponent, typeof i45.ParentTableComponent, typeof i46.CheckpointFloatingBarComponent, typeof i47.RiskClassificationComponent, typeof i48.ShortMergePipe, typeof i49.FormatHtmlPipe, typeof i50.WithinDataPipe, typeof i51.rcTreeToolTipPipe, typeof i52.ResponsibilityRiskSelectorComponent, typeof i53.ArrayFilterPipe, typeof i54.AuditCategoryListComponent, typeof i55.DocumentSectionComponent, typeof i55.DocumentSectionComponent, typeof i56.WorkflowAssessmentComponent, typeof i57.ImportAnAssessmentComponent, typeof i58.AssessmentListComponent, typeof i59.AssessmentListLoaderComponent, typeof i60.AssessmentListSubLoaderComponent, typeof i61.ProgramListingComponent, typeof i62.WorkflowProgramComponent, typeof i63.RolesListComponent, typeof i64.FrameworkListTableComponent, typeof i65.FrameworkResponsibilityTableComponent, typeof i66.FrameworkTableLoaderComponent, typeof i67.ArrayConcatPipe, typeof i68.SpaceTrimPipe, typeof i69.FrequencyDialogContainerComponent, typeof i70.FrequencyDialogWeeklyComponent, typeof i71.FrequencyDialogTopComponent, typeof i72.FrequencyDialogDueDateComponent, typeof i73.FrequencyDialogCheckboxListComponent, typeof i74.FrequencyDialogMonthlyComponent, typeof i75.FrequencyDialogQuarterlyComponent, typeof i76.FrequencyDialogRadioListComponent, typeof i77.FrequencyDialogBiannualComponent, typeof i78.FrequencyDialogAnnualComponent, typeof i79.FrequencyDialogOneTimeComponent, typeof i80.AddMultipleResponsibilityContainerComponent, typeof i81.AddMultipleResponsibilityWithTabComponent, typeof i82.FrequencyResponsibilityListComponent, typeof i83.ApprovalWorkflowComponent, typeof i84.SelectApproversComponent, typeof i85.PolicyAccessComponent, typeof i86.ApprovalWorkflowListComponent, typeof i87.ApprovalCreateFormComponent, typeof i88.LinkProgramComponent, typeof i89.TooltipValidationPipe, typeof i90.LinkRelatedPoliciesComponent], [typeof i91.ReactiveFormsModule, typeof i92.CreateAssessmentModule, typeof i93.VcomplyEditorModule, typeof i94.CommonModule, typeof i95.FormgroupModule, typeof i96.TooltipModule, typeof i97.PopoverModule, typeof i98.LineLoaderModule, typeof i91.FormsModule, typeof i99.SelectModule, typeof i100.NgxMaterialTimepickerModule, typeof i101.DpDatePickerModule, typeof i102.NoDataModule, typeof i103.VLoaderModule, typeof i104.SmileyDialogModule, typeof i105.SnackBarModule, typeof i106.HttpClientModule, typeof i107.SmileyDialogInlineModule, typeof i108.ClickOutsideModule, typeof i109.PopoverHoverModule, typeof i110.PaginationModule, typeof i92.CreateAssessmentModule, typeof i111.ActionDialogModule, typeof i112.AssessmentPreviewModule, typeof i113.CreateProgramUiModule, typeof i114.DirectiveModule, typeof i115.GrcObjectModule, typeof i116.RcListModule, typeof i117.PipesModule, typeof i118.FloatingBarModule, typeof i119.GroupUsersListComponent, typeof i120.ListLoaderModule, typeof i121.GrcObjectListComponent, typeof i122.TimePickerModule, typeof i123.MultiSelectModule, typeof i124.PolicyTemplateModule, typeof i125.ReportCaseModule, typeof i126.FormatAndEvidenceModule, typeof i127.CheckboxListModule, typeof i128.RadioListWithPaginationModule, typeof i129.LinkResponsibilityModule], [typeof i1.WorkflowEngineContainerComponent]>;
139
137
  static ɵinj: i0.ɵɵInjectorDeclaration<VComplyWorkflowEngineModule>;
140
138
  }
@@ -17,7 +17,7 @@ import { OrganizationUserService } from '../workflow-services/organization-user.
17
17
  import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
18
18
  import { ComplianceCommonService } from '../workflow-services/common-workflow-services/compliance-common.service';
19
19
  import { IframeService } from '../services/iframe.service';
20
- import { ListItem } from '../sharedComponents/program-list/interfaces/list-item.interface';
20
+ import { CommonRouteService } from '../workflow-services/common-workflow-services/common-route.service';
21
21
  import * as i0 from "@angular/core";
22
22
  export declare class WorkflowPolicyComponent implements OnInit {
23
23
  private policyService;
@@ -35,6 +35,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
35
35
  private organizationCommonService;
36
36
  private complianceCommonService;
37
37
  private iframeService;
38
+ private commonRouteService;
38
39
  ASSETS: {
39
40
  responsibility_center: string;
40
41
  case_type: string;
@@ -226,11 +227,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
226
227
  templateView: boolean;
227
228
  templateUrl: string;
228
229
  isTemplateClosed: boolean;
229
- programListUrl: any;
230
- selectedPrograms: any;
231
- allProgamSelected: ListItem[];
232
- linkProgram: any;
233
- constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation, changeRef: ChangeDetectorRef, restApiService: RestApiService, commonService: CommonService, organizationUserService: OrganizationUserService, organizationCommonService: OrganizationCommonService, complianceCommonService: ComplianceCommonService, iframeService: IframeService);
230
+ constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation, changeRef: ChangeDetectorRef, restApiService: RestApiService, commonService: CommonService, organizationUserService: OrganizationUserService, organizationCommonService: OrganizationCommonService, complianceCommonService: ComplianceCommonService, iframeService: IframeService, commonRouteService: CommonRouteService);
234
231
  policyForm: PolicyForm;
235
232
  ngOnInit(): void;
236
233
  _initiateAPI(): void;
@@ -416,10 +413,6 @@ export declare class WorkflowPolicyComponent implements OnInit {
416
413
  onTemplateSelect(event: any, isPreselected?: boolean): void;
417
414
  setNavigationUrl(): void;
418
415
  navigateToTemplate(): void;
419
- onItemsSelectedChange(items: ListItem[]): void;
420
- selectCategory(): void;
421
- removeProgram(program: any): void;
422
- getLinkProgram(): void;
423
416
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowPolicyComponent, never>;
424
417
  static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowPolicyComponent, "app-workflow-policy", never, { "mode": { "alias": "mode"; "required": false; }; "policyId": { "alias": "policyId"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "convertFileData": { "alias": "convertFileData"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "isSendForAttestation": { "alias": "isSendForAttestation"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "showConfirmationAlert": "showConfirmationAlert"; "populateOption": "populateOption"; "disconnectRefresh": "disconnectRefresh"; "shiftToEditMode": "shiftToEditMode"; }, never, never, false, never>;
425
418
  }