vcomply-workflow-engine 6.0.57 → 6.0.59

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 (72) 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 +51 -5
  6. package/esm2022/lib/services/common.service.mjs +1 -31
  7. package/esm2022/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.mjs +1 -5
  8. package/esm2022/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.mjs +1 -5
  9. package/esm2022/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.mjs +1 -2
  10. package/esm2022/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.mjs +2 -6
  11. package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +1 -2
  12. package/esm2022/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.mjs +1 -3
  13. package/esm2022/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.mjs +1 -5
  14. package/esm2022/lib/sharedComponents/frequency/frequency-random/frequency-random.component.mjs +2 -9
  15. package/esm2022/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.mjs +2 -4
  16. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +1 -244
  17. package/esm2022/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.mjs +10 -1
  18. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +354 -268
  19. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +31 -5
  20. package/esm2022/lib/workflow-engine.module.mjs +6 -13
  21. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +29 -73
  22. package/esm2022/lib/workflow-program/workflow-program.component.mjs +240 -83
  23. package/esm2022/lib/workflow-services/policy.service.mjs +4 -4
  24. package/esm2022/lib/workflow-services/programs.service.mjs +112 -28
  25. package/esm2022/lib/workflow-services/responsibility.service.mjs +25 -38
  26. package/fesm2022/vcomply-workflow-engine.mjs +17753 -18067
  27. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  28. package/lib/add-multiple-responsibility/add-multiple-responsibility.component.d.ts +2 -0
  29. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +2 -0
  30. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +2 -0
  31. package/lib/interfaces/responsibilty.interface.d.ts +9 -9
  32. package/lib/services/common.service.d.ts +0 -24
  33. package/lib/sharedComponents/frequency/frequency-random/frequency-random.component.d.ts +0 -1
  34. package/lib/sharedComponents/frequency/frequency.service.d.ts +0 -87
  35. package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +2 -0
  36. package/lib/workflow-compliance/workflow-compliance.component.d.ts +5 -32
  37. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +1 -2
  38. package/lib/workflow-engine.module.d.ts +40 -42
  39. package/lib/workflow-policy/workflow-policy.component.d.ts +0 -9
  40. package/lib/workflow-program/workflow-program.component.d.ts +4 -6
  41. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
  42. package/lib/workflow-services/programs.service.d.ts +53 -13
  43. package/lib/workflow-services/responsibility.service.d.ts +1 -12
  44. package/package.json +1 -1
  45. package/esm2022/lib/constants/api.constants.mjs +0 -8
  46. package/esm2022/lib/constants/mock.mjs +0 -152
  47. package/esm2022/lib/interfaces/frequency.interface.mjs +0 -2
  48. package/esm2022/lib/sharedComponents/list-container/list-container.component.mjs +0 -52
  49. package/esm2022/lib/sharedComponents/program-list/constant.mjs +0 -16
  50. package/esm2022/lib/sharedComponents/program-list/interfaces/data-source.interface.mjs +0 -2
  51. package/esm2022/lib/sharedComponents/program-list/interfaces/list-item.interface.mjs +0 -2
  52. package/esm2022/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.mjs +0 -23
  53. package/esm2022/lib/sharedComponents/program-list/program-list/program-list.component.mjs +0 -182
  54. package/esm2022/lib/sharedComponents/program-list/program-list.module.mjs +0 -47
  55. package/esm2022/lib/sharedComponents/program-list/services/list-utils.service.mjs +0 -27
  56. package/esm2022/lib/sharedComponents/program-list/services/program-list-api.service.mjs +0 -32
  57. package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +0 -24
  58. package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +0 -19
  59. package/lib/constants/api.constants.d.ts +0 -7
  60. package/lib/constants/mock.d.ts +0 -15
  61. package/lib/interfaces/frequency.interface.d.ts +0 -37
  62. package/lib/sharedComponents/list-container/list-container.component.d.ts +0 -9
  63. package/lib/sharedComponents/program-list/constant.d.ts +0 -9
  64. package/lib/sharedComponents/program-list/interfaces/data-source.interface.d.ts +0 -4
  65. package/lib/sharedComponents/program-list/interfaces/list-item.interface.d.ts +0 -5
  66. package/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.d.ts +0 -7
  67. package/lib/sharedComponents/program-list/program-list/program-list.component.d.ts +0 -45
  68. package/lib/sharedComponents/program-list/program-list.module.d.ts +0 -14
  69. package/lib/sharedComponents/program-list/services/list-utils.service.d.ts +0 -7
  70. package/lib/sharedComponents/program-list/services/program-list-api.service.d.ts +0 -14
  71. package/lib/ui-kit/loaders/loaders.module.d.ts +0 -8
  72. 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;
@@ -1,5 +1,5 @@
1
1
  interface Frequency {
2
- type: string;
2
+ type: 'daily';
3
3
  }
4
4
  interface Assignee {
5
5
  type: 'all' | '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,30 +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
12
  static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
37
13
  static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
38
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
  }
@@ -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;
@@ -354,14 +343,13 @@ export declare class WorkflowComplianceComponent implements OnInit {
354
343
  getOnCompletionReportDetails(event: any): any;
355
344
  frequencyDataPopulation(event: any): void;
356
345
  frequencyPopulation(event: any): void;
357
- setPayload(event: any): Responsibility | null;
358
346
  frequencyData(event: any): void;
359
347
  checkBlank(data: string): string;
360
348
  /**
361
349
  * It takes a string and returns a string.
362
350
  * @param {any} res - any = {
363
351
  */
364
- getFrequencyPlaceholder(frequency: any): void;
352
+ getFrequencyPlaceholder(res: any): void;
365
353
  /**
366
354
  * It gets the frequency details and report id, then it sets the frequency placeholder to the frequency
367
355
  * details and then it gets the on completion of responsibility and sets the frequency placeholder to
@@ -465,7 +453,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
465
453
  */
466
454
  postAssessment(event: any): void;
467
455
  setIsUploaded(event: any): void;
468
- checkDefaultProgramOnRemove(event: any): void;
456
+ checkDefaultProgramOnRemove(program: any): void;
469
457
  /**
470
458
  * It takes an array of numbers and returns an array of unique numbers.
471
459
  * @param {any} array - The array you want to get the unique values from.
@@ -491,21 +479,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
491
479
  resetGRCDataWithTypes(): void;
492
480
  removeOtherGRCObjects(event: any): void;
493
481
  filterOtherGRCData(event: any, type: string): void;
494
- programs: ListItem[];
495
- selectedPrograms: any[];
496
- customItemTemplate: TemplateRef<any> | undefined;
497
- onItemsSelectedChange(items: ListItem[]): void;
498
- selectCategory(): void;
499
- get currentUserInfo(): {
500
- member_email: any;
501
- member_id: any;
502
- member_name: any;
503
- organisation_id: any;
504
- _id: any;
505
- };
506
- removeProgram(program: any): void;
507
- populateResponsibilityDetails(): void;
508
- populateFrequencyDetails(frequency: any): void;
509
482
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowComplianceComponent, never>;
510
- 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>;
511
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,6 @@ 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';
21
20
  import * as i0 from "@angular/core";
22
21
  export declare class WorkflowPolicyComponent implements OnInit {
23
22
  private policyService;
@@ -226,10 +225,6 @@ export declare class WorkflowPolicyComponent implements OnInit {
226
225
  templateView: boolean;
227
226
  templateUrl: string;
228
227
  isTemplateClosed: boolean;
229
- programListUrl: any;
230
- selectedPrograms: any;
231
- allProgamSelected: ListItem[];
232
- linkProgram: any;
233
228
  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);
234
229
  policyForm: PolicyForm;
235
230
  ngOnInit(): void;
@@ -416,10 +411,6 @@ export declare class WorkflowPolicyComponent implements OnInit {
416
411
  onTemplateSelect(event: any, isPreselected?: boolean): void;
417
412
  setNavigationUrl(): void;
418
413
  navigateToTemplate(): void;
419
- onItemsSelectedChange(items: ListItem[]): void;
420
- selectCategory(): void;
421
- removeProgram(program: any): void;
422
- getLinkProgram(): void;
423
414
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowPolicyComponent, never>;
424
415
  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
416
  }
@@ -11,8 +11,8 @@ export declare class WorkflowProgramComponent implements OnInit {
11
11
  private programService;
12
12
  private authService;
13
13
  private uiKitService;
14
- private changeRef;
15
14
  private iframeService;
15
+ private changeRef;
16
16
  ASSETS: {
17
17
  responsibility_center: string;
18
18
  case_type: string;
@@ -139,7 +139,6 @@ export declare class WorkflowProgramComponent implements OnInit {
139
139
  allowedFeature: any;
140
140
  addToProgramDetails: any;
141
141
  orgDetails: any;
142
- programDetails: any;
143
142
  panelTitleDefaultReviewer: string;
144
143
  panelTitleOwner: string;
145
144
  panelTitleReviewer: string;
@@ -158,7 +157,7 @@ export declare class WorkflowProgramComponent implements OnInit {
158
157
  assignorId: number[];
159
158
  disableReviewerIds: any[];
160
159
  disableOverseerIds: any[];
161
- constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, changeRef: ChangeDetectorRef, iframeService: IframeService);
160
+ constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, iframeService: IframeService, changeRef: ChangeDetectorRef);
162
161
  noWhitespaceValidator(control: UntypedFormControl): {
163
162
  whitespace: boolean;
164
163
  } | null;
@@ -219,6 +218,7 @@ export declare class WorkflowProgramComponent implements OnInit {
219
218
  returnIds(list: any[], key: string): any[];
220
219
  refreshList(): void;
221
220
  removeRole(evt: any): void;
221
+ setDefaultAssignee(evt: any): void;
222
222
  setDefaultAssigneeOnRemove(evt: any, type: any): void;
223
223
  setDefaultReviewer(evt: any): void;
224
224
  setDefaultOverseer(evt: any): void;
@@ -261,13 +261,11 @@ export declare class WorkflowProgramComponent implements OnInit {
261
261
  * Get program details when user is trying to edit program
262
262
  */
263
263
  getProgramDetails(): void;
264
- populateProgramDetails(res: any): void;
265
264
  populateMembers(res: any): void;
266
265
  populateGroups(res: any): void;
267
266
  resetAdditionalOption(): void;
268
267
  checkProgramOptionField(): any;
269
268
  enablefeature(): void;
270
- handleDataPopulation(): void;
271
269
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowProgramComponent, never>;
272
- static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowProgramComponent, "app-workflow-program", never, { "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "programId": { "alias": "programId"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "allowedFeature": { "alias": "allowedFeature"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; "programDetails": { "alias": "programDetails"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "closeWorkflow": "closeWorkflow"; "showConfirmationAlert": "showConfirmationAlert"; "disconnectRefresh": "disconnectRefresh"; "refreshForm": "refreshForm"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "onRemovingRole": "onRemovingRole"; "disableElementsFromMoreOptions": "disableElementsFromMoreOptions"; }, never, never, false, never>;
270
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowProgramComponent, "app-workflow-program", never, { "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "programId": { "alias": "programId"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "allowedFeature": { "alias": "allowedFeature"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "closeWorkflow": "closeWorkflow"; "showConfirmationAlert": "showConfirmationAlert"; "disconnectRefresh": "disconnectRefresh"; "refreshForm": "refreshForm"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "onRemovingRole": "onRemovingRole"; "disableElementsFromMoreOptions": "disableElementsFromMoreOptions"; }, never, never, false, never>;
273
271
  }
@@ -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): "compliance" | "others" | "strategic" | "operational";
170
+ setCategoryType(type: any): "compliance" | "strategic" | "operational" | "others";
171
171
  getRCList(): void;
172
172
  getCategoryList(): void;
173
173
  getOwnersList(): void;