vcomply-workflow-engine 6.1.2 → 6.1.3

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 (173) hide show
  1. package/esm2022/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +7 -34
  2. package/esm2022/lib/constants/api.constants.mjs +6 -1
  3. package/esm2022/lib/constants/assets.constants.mjs +1 -2
  4. package/esm2022/lib/interfaces/frequency.interface.mjs +2 -0
  5. package/esm2022/lib/interfaces/iframe-type.mjs +7 -0
  6. package/esm2022/lib/interfaces/responsibilty.interface.mjs +1 -1
  7. package/esm2022/lib/more-option/more-option.component.mjs +26 -191
  8. package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +3 -2
  9. package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +4 -7
  10. package/esm2022/lib/services/common.service.mjs +40 -1
  11. package/esm2022/lib/services/iframe.service.mjs +14 -1
  12. package/esm2022/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.mjs +3 -6
  13. package/esm2022/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.mjs +7 -7
  14. package/esm2022/lib/sharedComponents/category-list-selection/category-list-selection.module.mjs +27 -4
  15. package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.component.mjs +10 -21
  16. package/esm2022/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.mjs +5 -1
  17. package/esm2022/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.mjs +5 -1
  18. package/esm2022/lib/sharedComponents/frequency/frequency-container/frequency-container.component.mjs +5 -5
  19. package/esm2022/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.mjs +2 -1
  20. package/esm2022/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.mjs +6 -2
  21. package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +3 -2
  22. package/esm2022/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.mjs +3 -1
  23. package/esm2022/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.mjs +5 -1
  24. package/esm2022/lib/sharedComponents/frequency/frequency-random/frequency-random.component.mjs +9 -2
  25. package/esm2022/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.mjs +4 -2
  26. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +267 -5
  27. package/esm2022/lib/sharedComponents/group-users-list/group-users-list.component.mjs +5 -2
  28. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.component.mjs +48 -16
  29. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.module.mjs +8 -4
  30. package/esm2022/lib/sharedComponents/list-container/list-container.component.mjs +52 -0
  31. package/esm2022/lib/sharedComponents/program-list/constant.mjs +27 -0
  32. package/esm2022/lib/sharedComponents/program-list/interfaces/data-source.interface.mjs +2 -0
  33. package/esm2022/lib/sharedComponents/program-list/interfaces/list-item.interface.mjs +2 -0
  34. package/esm2022/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.mjs +23 -0
  35. package/esm2022/lib/sharedComponents/program-list/program-list/program-list.component.mjs +273 -0
  36. package/esm2022/lib/sharedComponents/program-list/program-list.module.mjs +51 -0
  37. package/esm2022/lib/sharedComponents/program-list/services/list-utils.service.mjs +27 -0
  38. package/esm2022/lib/sharedComponents/program-list/services/program-list-api.service.mjs +32 -0
  39. package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +24 -0
  40. package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +19 -0
  41. package/esm2022/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +45 -17
  42. package/esm2022/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.mjs +13 -10
  43. package/esm2022/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.mjs +62 -35
  44. package/esm2022/lib/workflow/shared/services/grc.service.mjs +15 -2
  45. package/esm2022/lib/workflow/shared/workflow-pipes/get-user-details.pipe.mjs +26 -0
  46. package/esm2022/lib/workflow/shared/workflow-pipes/workflow-pipes.module.mjs +8 -3
  47. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +294 -453
  48. package/esm2022/lib/workflow-engine-container/api-constants.mjs +3 -2
  49. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +32 -53
  50. package/esm2022/lib/workflow-engine.module.mjs +11 -16
  51. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +46 -29
  52. package/esm2022/lib/workflow-program/constants.mjs +3 -11
  53. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/pipes/tooltip-message.pipe.mjs +1 -7
  54. package/esm2022/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.mjs +13 -11
  55. package/esm2022/lib/workflow-program/workflow-program.component.mjs +340 -311
  56. package/esm2022/lib/workflow-services/policy.service.mjs +8 -9
  57. package/esm2022/lib/workflow-services/programs.service.mjs +26 -114
  58. package/esm2022/lib/workflow-services/responsibility.service.mjs +60 -56
  59. package/fesm2022/vcomply-workflow-engine.mjs +5848 -5338
  60. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  61. package/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.d.ts +0 -1
  62. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +0 -3
  63. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +0 -1
  64. package/lib/constants/api.constants.d.ts +5 -0
  65. package/lib/constants/assets.constants.d.ts +0 -1
  66. package/lib/interfaces/frequency.interface.d.ts +37 -0
  67. package/lib/interfaces/iframe-type.d.ts +5 -0
  68. package/lib/interfaces/responsibilty.interface.d.ts +13 -13
  69. package/lib/log-an-issue/log-an-issue.component.d.ts +0 -1
  70. package/lib/more-option/more-option.component.d.ts +0 -1
  71. package/lib/report-a-case/components/assignee/assignee.component.d.ts +0 -1
  72. package/lib/report-a-case/components/case-assignees/case-assignees.component.d.ts +0 -1
  73. package/lib/report-a-case/components/case-category/case-category.component.d.ts +0 -1
  74. package/lib/report-a-case/components/case-details/case-details.component.d.ts +0 -1
  75. package/lib/report-a-case/components/case-owners/case-owners.component.d.ts +0 -1
  76. package/lib/report-a-case/components/case-priority/case-priority.component.d.ts +0 -1
  77. package/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.d.ts +0 -1
  78. package/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.d.ts +0 -1
  79. package/lib/report-a-case/components/due-date/due-date.component.d.ts +0 -1
  80. package/lib/report-a-case/components/field-holder/field-holder.component.d.ts +0 -1
  81. package/lib/report-a-case/components/linked assessment/linked-assessment.component.d.ts +0 -1
  82. package/lib/report-a-case/components/linked-responsibilities/linked-responsibilities.component.d.ts +0 -1
  83. package/lib/report-a-case/components/rc-details/rc-details.component.d.ts +0 -1
  84. package/lib/report-a-case/components/report-date/report-date.component.d.ts +0 -1
  85. package/lib/report-a-case/workflow-case/workflow-case.component.d.ts +0 -1
  86. package/lib/services/common.service.d.ts +28 -0
  87. package/lib/services/iframe.service.d.ts +6 -0
  88. package/lib/sharedComponents/approval-workflow/approval-create-form/approval-create-form.component.d.ts +0 -1
  89. package/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.d.ts +0 -1
  90. package/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.d.ts +0 -1
  91. package/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.d.ts +0 -1
  92. package/lib/sharedComponents/assessment-editor/components/logic/logic.component.d.ts +0 -1
  93. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.d.ts +0 -1
  94. package/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.d.ts +0 -1
  95. package/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.d.ts +0 -1
  96. package/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.d.ts +0 -1
  97. package/lib/sharedComponents/assessment-list/assessment-list.component.d.ts +0 -1
  98. package/lib/sharedComponents/audit-category-list/audit-category-list.component.d.ts +0 -1
  99. package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +0 -6
  100. package/lib/sharedComponents/category-list/category-list.component.d.ts +0 -1
  101. package/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.d.ts +0 -1
  102. package/lib/sharedComponents/category-list-selection/category-list-selection.module.d.ts +5 -5
  103. package/lib/sharedComponents/category-multiselect/category-multi-select.component.d.ts +0 -1
  104. package/lib/sharedComponents/checkbox-list/checkbox-list.component.d.ts +0 -1
  105. package/lib/sharedComponents/format-and-evidence/format-and-evidence.component.d.ts +1 -5
  106. package/lib/sharedComponents/framework-list/framework-list.component.d.ts +0 -1
  107. package/lib/sharedComponents/frequency/frequency-random/frequency-random.component.d.ts +1 -0
  108. package/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.d.ts +0 -1
  109. package/lib/sharedComponents/frequency/frequency.service.d.ts +92 -2
  110. package/lib/sharedComponents/group-users-list/group-users-list.component.d.ts +0 -1
  111. package/lib/sharedComponents/link-program/link-program/link-program.component.d.ts +0 -1
  112. package/lib/sharedComponents/link-responsibility/link-responsibility.component.d.ts +2 -1
  113. package/lib/sharedComponents/link-responsibility/link-responsibility.module.d.ts +2 -1
  114. package/lib/sharedComponents/list-container/list-container.component.d.ts +9 -0
  115. package/lib/sharedComponents/owner-list/owner-list.component.d.ts +0 -1
  116. package/lib/sharedComponents/policy-access/policy-access.component.d.ts +0 -1
  117. package/lib/sharedComponents/program-list/constant.d.ts +20 -0
  118. package/lib/sharedComponents/program-list/interfaces/data-source.interface.d.ts +4 -0
  119. package/lib/sharedComponents/program-list/interfaces/list-item.interface.d.ts +5 -0
  120. package/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.d.ts +7 -0
  121. package/lib/sharedComponents/program-list/program-list/program-list.component.d.ts +126 -0
  122. package/lib/sharedComponents/program-list/program-list.module.d.ts +15 -0
  123. package/lib/sharedComponents/program-list/services/list-utils.service.d.ts +7 -0
  124. package/lib/sharedComponents/program-list/services/program-list-api.service.d.ts +14 -0
  125. package/lib/sharedComponents/program-listing/program-listing.component.d.ts +0 -1
  126. package/lib/sharedComponents/radio-list/radio-list.component.d.ts +0 -1
  127. package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.d.ts +0 -1
  128. package/lib/sharedComponents/responsibility-centers-list/responsibility-centers-list.component.d.ts +0 -1
  129. package/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.d.ts +0 -1
  130. package/lib/sharedComponents/review-frequency/review-frequency.component.d.ts +0 -1
  131. package/lib/sharedComponents/roles-list/roles-list.component.d.ts +0 -1
  132. package/lib/sharedComponents/select-approvers/select-approvers.component.d.ts +0 -1
  133. package/lib/sharedComponents/users-radio-list/users-radio-list.component.d.ts +0 -1
  134. package/lib/ui-kit/loaders/loaders.module.d.ts +8 -0
  135. package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +9 -0
  136. package/lib/ui-kit/pagination/pagination/pagination.component.d.ts +0 -1
  137. package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +5 -1
  138. package/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.d.ts +0 -1
  139. package/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.d.ts +3 -1
  140. package/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.d.ts +6 -2
  141. package/lib/workflow/shared/services/grc.service.d.ts +1 -0
  142. package/lib/workflow/shared/workflow-pipes/get-user-details.pipe.d.ts +7 -0
  143. package/lib/workflow/shared/workflow-pipes/workflow-pipes.module.d.ts +3 -2
  144. package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +0 -1
  145. package/lib/workflow-assessment/workflow-assessment.component.d.ts +0 -1
  146. package/lib/workflow-compliance/workflow-compliance.component.d.ts +32 -11
  147. package/lib/workflow-engine-container/api-constants.d.ts +1 -0
  148. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +5 -2
  149. package/lib/workflow-engine.module.d.ts +3 -2
  150. package/lib/workflow-policy/workflow-policy.component.d.ts +9 -1
  151. package/lib/workflow-program/constants.d.ts +0 -3
  152. package/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.d.ts +0 -1
  153. package/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.d.ts +0 -1
  154. package/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.d.ts +0 -1
  155. package/lib/workflow-program/create-program-ui/role-list/role-list.component.d.ts +0 -1
  156. package/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.d.ts +0 -1
  157. package/lib/workflow-program/workflow-program.component.d.ts +9 -11
  158. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -2
  159. package/lib/workflow-services/policy.service.d.ts +1 -1
  160. package/lib/workflow-services/programs.service.d.ts +13 -54
  161. package/lib/workflow-services/responsibility.service.d.ts +17 -4
  162. package/lib/workflow-survey-form/workflow-survey-form.component.d.ts +0 -1
  163. package/package.json +1 -1
  164. package/esm2022/lib/constants/policy.constant.mjs +0 -6
  165. package/esm2022/lib/constants/regix.constants.mjs +0 -4
  166. package/esm2022/lib/constants/responsibility.mjs +0 -8
  167. package/esm2022/lib/interfaces/policy.interface.mjs +0 -2
  168. package/esm2022/lib/sharedComponents/pipes/risk-class.pipe.mjs +0 -19
  169. package/lib/constants/policy.constant.d.ts +0 -2
  170. package/lib/constants/regix.constants.d.ts +0 -3
  171. package/lib/constants/responsibility.d.ts +0 -7
  172. package/lib/interfaces/policy.interface.d.ts +0 -5
  173. package/lib/sharedComponents/pipes/risk-class.pipe.d.ts +0 -7
@@ -61,7 +61,6 @@ export declare class ImportAnAssessmentComponent {
61
61
  sequential: string;
62
62
  round_robin: string;
63
63
  anyone: string;
64
- collaborator: string;
65
64
  };
66
65
  editorCont: CreateAssessmentContainerComponent;
67
66
  closeWorkflow: EventEmitter<any>;
@@ -66,7 +66,6 @@ export declare class WorkflowAssessmentComponent implements OnInit {
66
66
  sequential: string;
67
67
  round_robin: string;
68
68
  anyone: string;
69
- collaborator: string;
70
69
  };
71
70
  activeSelector: any;
72
71
  submitted: boolean;
@@ -1,4 +1,4 @@
1
- import { OnInit, EventEmitter, ElementRef } from '@angular/core';
1
+ import { OnInit, EventEmitter, ElementRef, TemplateRef } 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,6 +11,9 @@ 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';
14
17
  import { IframeService } from '../services/iframe.service';
15
18
  import * as i0 from "@angular/core";
16
19
  export declare class WorkflowComplianceComponent implements OnInit {
@@ -85,7 +88,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
85
88
  sequential: string;
86
89
  round_robin: string;
87
90
  anyone: string;
88
- collaborator: string;
89
91
  };
90
92
  allGroupAssignee: boolean;
91
93
  assignorId: any[];
@@ -105,6 +107,11 @@ export declare class WorkflowComplianceComponent implements OnInit {
105
107
  grcSearchString: string;
106
108
  GRC_TYPE_ARRAY: string[];
107
109
  grcDataWithTypes: any;
110
+ selectedCategory: any[];
111
+ programListUrl: {
112
+ programList: string;
113
+ categoryList: string;
114
+ };
108
115
  set closeOnEsc(escapeCondition: boolean);
109
116
  orgDetails: any;
110
117
  url: string;
@@ -147,7 +154,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
147
154
  assigneesListLoaded: boolean;
148
155
  categoriesListLoaded: boolean;
149
156
  groupsListLoaded: boolean;
150
- assuranceCategoryListLoaded: boolean;
151
157
  selectedFrameworkValues: any;
152
158
  hasReviewer: boolean;
153
159
  assignorsList: any[];
@@ -190,7 +196,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
190
196
  allPrograms: any[];
191
197
  riskClassification: {
192
198
  name: string;
193
- value: number;
199
+ value: string;
194
200
  class: string;
195
201
  }[];
196
202
  assignorMode: string;
@@ -215,6 +221,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
215
221
  continuous_failed_days: number;
216
222
  onCompletionReportDetails: {};
217
223
  };
224
+ frequencyObject: FrequencyObject | null;
218
225
  frequencyPlaceholder: string;
219
226
  shortMonth: Array<string>;
220
227
  isEditWhat: Boolean;
@@ -245,14 +252,14 @@ export declare class WorkflowComplianceComponent implements OnInit {
245
252
  rawResponsibility: any;
246
253
  otherGRCSubscription: Subscription;
247
254
  allowEditDueDateFeatureFlag: boolean;
255
+ allProgamSelected: any[];
248
256
  whatInput: ElementRef;
249
257
  unSubscribeProgram: Subject<void>;
258
+ responsibilityDetails: any;
250
259
  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);
251
260
  ngOnInit(): void;
252
- populateRCList(): void;
253
261
  setFeatureFlags(): void;
254
262
  getInitialData(): void;
255
- getRCDetailsinRiskTreatment(): void;
256
263
  getOrgDetails(): void;
257
264
  getSubscriptionDetail(): void;
258
265
  activateSelector(type: any, event: boolean): void;
@@ -263,8 +270,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
263
270
  onRcTypeChange(selectedType: Number): void;
264
271
  getRCList(program_id?: string): void;
265
272
  getUserDetails(): void;
266
- getAssurance(): void;
267
- getAssuranceForRequiresAudit(): void;
268
273
  getOrganizationDetails(): void;
269
274
  getCategoryList(): void;
270
275
  filterListsAccordingToProgram(program_id?: string): void;
@@ -346,13 +351,14 @@ export declare class WorkflowComplianceComponent implements OnInit {
346
351
  getOnCompletionReportDetails(event: any): any;
347
352
  frequencyDataPopulation(event: any): void;
348
353
  frequencyPopulation(event: any): void;
354
+ setPayload(event: any): Responsibility | null;
349
355
  frequencyData(event: any): void;
350
356
  checkBlank(data: string): string;
351
357
  /**
352
358
  * It takes a string and returns a string.
353
359
  * @param {any} res - any = {
354
360
  */
355
- getFrequencyPlaceholder(res: any): void;
361
+ getFrequencyPlaceholder(frequency: any): void;
356
362
  /**
357
363
  * It gets the frequency details and report id, then it sets the frequency placeholder to the frequency
358
364
  * details and then it gets the on completion of responsibility and sets the frequency placeholder to
@@ -456,7 +462,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
456
462
  */
457
463
  postAssessment(event: any): void;
458
464
  setIsUploaded(event: any): void;
459
- checkDefaultProgramOnRemove(program: any): void;
465
+ checkDefaultProgramOnRemove(event: any): void;
460
466
  /**
461
467
  * It takes an array of numbers and returns an array of unique numbers.
462
468
  * @param {any} array - The array you want to get the unique values from.
@@ -482,6 +488,21 @@ export declare class WorkflowComplianceComponent implements OnInit {
482
488
  resetGRCDataWithTypes(): void;
483
489
  removeOtherGRCObjects(event: any): void;
484
490
  filterOtherGRCData(event: any, type: string): void;
491
+ programs: ListItem[];
492
+ selectedPrograms: any[];
493
+ customItemTemplate: TemplateRef<any> | undefined;
494
+ onItemsSelectedChange(items: ListItem[]): void;
495
+ selectCategory(): void;
496
+ get currentUserInfo(): {
497
+ member_email: any;
498
+ member_id: any;
499
+ member_name: any;
500
+ organisation_id: any;
501
+ _id: any;
502
+ };
503
+ removeProgram(program: any): void;
504
+ populateResponsibilityDetails(): void;
505
+ populateFrequencyDetails(frequency: any): void;
485
506
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowComplianceComponent, never>;
486
- 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>;
507
+ 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>;
487
508
  }
@@ -1,4 +1,5 @@
1
1
  export declare const API_URLS: {
2
2
  fetchPolicyList: string;
3
3
  LINKED_POLICIES: string;
4
+ LINKED_PROGRAMS: string;
4
5
  };
@@ -19,6 +19,7 @@ import { Subscription } from 'rxjs';
19
19
  import { ReportACaseService } from '../report-a-case/services/report-a-case.service';
20
20
  import { WorkflowCaseComponent } from '../report-a-case/workflow-case/workflow-case.component';
21
21
  import { ReportCasePermissionService } from '../services/report-case-permission.service';
22
+ import { IframeService } from '../services/iframe.service';
22
23
  import * as i0 from "@angular/core";
23
24
  export declare class WorkflowEngineContainerComponent implements OnInit, AfterViewInit {
24
25
  uiKitService: UiKitService;
@@ -27,12 +28,13 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
27
28
  private orgCommonService;
28
29
  private reportACaseService;
29
30
  private reportCasePermissionService;
31
+ private iframeService;
30
32
  isHostRefreshActive: boolean;
31
33
  isRCSelected: boolean;
32
34
  featureFlag_groups: boolean;
33
35
  addToCaseMode: string;
34
36
  permissionSubscription: Subscription;
35
- constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService, orgCommonService: OrganizationCommonService, reportACaseService: ReportACaseService, reportCasePermissionService: ReportCasePermissionService);
37
+ constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService, orgCommonService: OrganizationCommonService, reportACaseService: ReportACaseService, reportCasePermissionService: ReportCasePermissionService, iframeService: IframeService);
36
38
  workflowType: string;
37
39
  mode: string;
38
40
  id: string;
@@ -45,6 +47,7 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
45
47
  secondaryOpenPortal: string;
46
48
  defaultRiskType: string;
47
49
  moveToRegisterMode: string;
50
+ workflowDetails: any;
48
51
  reponsibilityData: {
49
52
  responsibilityId: null;
50
53
  responsibilityName: string;
@@ -164,5 +167,5 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
164
167
  onReviewerChange(event: string): void;
165
168
  isResponsibilitySimplify(): void;
166
169
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowEngineContainerComponent, 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>;
170
+ 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>;
168
171
  }
@@ -91,7 +91,7 @@ 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/pipes/risk-class.pipe";
94
+ import * as i91 from "./sharedComponents/list-container/list-container.component";
95
95
  import * as i92 from "@angular/forms";
96
96
  import * as i93 from "./sharedComponents/assessment-editor/create-assessment.module";
97
97
  import * as i94 from "@vcomply/editor";
@@ -131,9 +131,10 @@ import * as i127 from "./sharedComponents/format-and-evidence/format-and-evidenc
131
131
  import * as i128 from "./sharedComponents/checkbox-list/checkbox-list.module";
132
132
  import * as i129 from "./sharedComponents/radio-list-with-pagination/radio-list-with-pagination.module";
133
133
  import * as i130 from "./sharedComponents/link-responsibility/link-responsibility.module";
134
+ import * as i131 from "./sharedComponents/program-list/program-list.module";
134
135
  export declare class VComplyWorkflowEngineModule {
135
136
  static forRoot(environmentConfig: Configurations): ModuleWithProviders<VComplyWorkflowEngineModule>;
136
137
  static ɵfac: i0.ɵɵFactoryDeclaration<VComplyWorkflowEngineModule, never>;
137
- 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.RiskClassPipe], [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 i1.WorkflowEngineContainerComponent]>;
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]>;
138
139
  static ɵinj: i0.ɵɵInjectorDeclaration<VComplyWorkflowEngineModule>;
139
140
  }
@@ -17,6 +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
21
  import * as i0 from "@angular/core";
21
22
  export declare class WorkflowPolicyComponent implements OnInit {
22
23
  private policyService;
@@ -87,7 +88,6 @@ export declare class WorkflowPolicyComponent implements OnInit {
87
88
  sequential: string;
88
89
  round_robin: string;
89
90
  anyone: string;
90
- collaborator: string;
91
91
  };
92
92
  CONSTANTS: any;
93
93
  LINKS: any;
@@ -226,6 +226,10 @@ export declare class WorkflowPolicyComponent implements OnInit {
226
226
  templateView: boolean;
227
227
  templateUrl: string;
228
228
  isTemplateClosed: boolean;
229
+ programListUrl: any;
230
+ selectedPrograms: any;
231
+ allProgamSelected: ListItem[];
232
+ linkProgram: any;
229
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
234
  policyForm: PolicyForm;
231
235
  ngOnInit(): void;
@@ -412,6 +416,10 @@ export declare class WorkflowPolicyComponent implements OnInit {
412
416
  onTemplateSelect(event: any, isPreselected?: boolean): void;
413
417
  setNavigationUrl(): void;
414
418
  navigateToTemplate(): void;
419
+ onItemsSelectedChange(items: ListItem[]): void;
420
+ selectCategory(): void;
421
+ removeProgram(program: any): void;
422
+ getLinkProgram(policyId: string): void;
415
423
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowPolicyComponent, never>;
416
424
  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>;
417
425
  }
@@ -46,6 +46,3 @@ export declare const CONSTANTS: {
46
46
  ASSIGNEES: boolean;
47
47
  };
48
48
  };
49
- export declare const COLLABORATOR_TOOLTIP = "<strong>Collaborators</strong> can only access responsibilities in this program where they are directly involved, such as creator, reviewer, assignor, oversight user, or collaborator.<br>\n <br>\n This role is ideal for users who need to work on specific tasks but shouldn't see the entire program\u2019s contents.\n <br>\n <br>\n <em>Example:</em> In an AML (Anti-Money Laundering) program, the Finance lead added as a collaborator will only see responsibilities related to financial reporting or audits they are linked to, not those owned by Legal or Compliance.";
50
- export declare const COLLABORATOR_PLACEHODLER = "Select users that can collaborate in this Program";
51
- export declare const COLLABORATOR_TOOLTIP_TEXT = "This user has already been selected as a Program Owner.";
@@ -58,7 +58,6 @@ export declare class AssessmentPickerComponent implements OnInit {
58
58
  sequential: string;
59
59
  round_robin: string;
60
60
  anyone: string;
61
- collaborator: string;
62
61
  };
63
62
  animation: boolean;
64
63
  selectedData: any;
@@ -61,7 +61,6 @@ export declare class DefineFrameworkListingComponent implements OnInit {
61
61
  sequential: string;
62
62
  round_robin: string;
63
63
  anyone: string;
64
- collaborator: string;
65
64
  };
66
65
  animation: boolean;
67
66
  frameworkListSubscription: Subscription;
@@ -54,7 +54,6 @@ export declare class PaginationComponent {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
- collaborator: string;
58
57
  };
59
58
  currPage: number;
60
59
  from: number;
@@ -60,7 +60,6 @@ export declare class RoleListComponent implements OnInit {
60
60
  sequential: string;
61
61
  round_robin: string;
62
62
  anyone: string;
63
- collaborator: string;
64
63
  };
65
64
  constructor();
66
65
  ngOnInit(): void;
@@ -55,7 +55,6 @@ export declare class UserGroupListComponent implements OnInit {
55
55
  sequential: string;
56
56
  round_robin: string;
57
57
  anyone: string;
58
- collaborator: string;
59
58
  };
60
59
  save: EventEmitter<any>;
61
60
  cancel: EventEmitter<any>;
@@ -11,8 +11,8 @@ export declare class WorkflowProgramComponent implements OnInit {
11
11
  private programService;
12
12
  private authService;
13
13
  private uiKitService;
14
- private iframeService;
15
14
  private changeRef;
15
+ private iframeService;
16
16
  ASSETS: {
17
17
  responsibility_center: string;
18
18
  case_type: string;
@@ -66,7 +66,6 @@ export declare class WorkflowProgramComponent implements OnInit {
66
66
  sequential: string;
67
67
  round_robin: string;
68
68
  anyone: string;
69
- collaborator: string;
70
69
  };
71
70
  constants: {
72
71
  categoryType: {
@@ -140,11 +139,11 @@ export declare class WorkflowProgramComponent implements OnInit {
140
139
  allowedFeature: any;
141
140
  addToProgramDetails: any;
142
141
  orgDetails: any;
142
+ programDetails: any;
143
143
  panelTitleDefaultReviewer: string;
144
144
  panelTitleOwner: string;
145
145
  panelTitleReviewer: string;
146
146
  panelTitleAssignee: string;
147
- panelTitleCollaborator: string;
148
147
  panelTitleApprover: string;
149
148
  isApproverDisabled: boolean;
150
149
  isProgramScope: boolean;
@@ -152,15 +151,14 @@ export declare class WorkflowProgramComponent implements OnInit {
152
151
  businessCycle: any;
153
152
  featureflagrole: boolean;
154
153
  featureflagGroups: boolean;
155
- disableCollaboratorIds: any[];
154
+ disabledAssigneeIds: any[];
156
155
  selectedReviewerIds: any[];
157
156
  selectedAssigneeIds: any[];
158
157
  selectedOverseerIds: any[];
159
158
  assignorId: number[];
160
159
  disableReviewerIds: any[];
161
160
  disableOverseerIds: any[];
162
- COLLABORATOR_PLACEHODLER: string;
163
- constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, iframeService: IframeService, changeRef: ChangeDetectorRef);
161
+ constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, changeRef: ChangeDetectorRef, iframeService: IframeService);
164
162
  noWhitespaceValidator(control: UntypedFormControl): {
165
163
  whitespace: boolean;
166
164
  } | null;
@@ -185,7 +183,6 @@ export declare class WorkflowProgramComponent implements OnInit {
185
183
  programDescription: string;
186
184
  };
187
185
  selectedAssessment: any;
188
- manageProgramsRoleId: string[];
189
186
  currentUser(): {
190
187
  member_email: any;
191
188
  member_id: any;
@@ -222,7 +219,6 @@ export declare class WorkflowProgramComponent implements OnInit {
222
219
  returnIds(list: any[], key: string): any[];
223
220
  refreshList(): void;
224
221
  removeRole(evt: any): void;
225
- setDefaultAssignee(evt: any): void;
226
222
  setDefaultAssigneeOnRemove(evt: any, type: any): void;
227
223
  setDefaultReviewer(evt: any): void;
228
224
  setDefaultOverseer(evt: any): void;
@@ -231,10 +227,8 @@ export declare class WorkflowProgramComponent implements OnInit {
231
227
  fieldDeselector(type: any): void;
232
228
  markasTouchedSelector(fieldName: any): void;
233
229
  fetchRoles(): void;
234
- getManageProgramsRoleId(): any;
235
230
  fetchRC(): void;
236
231
  fetchUsersAssociatedWithRoles(calledFrom?: any): void;
237
- fetchUserWithManageProgramsRole(): void;
238
232
  fetchGroupsAssociatedWithRoles(): void;
239
233
  setDefaultOwners(userList: any, calledFrom?: any): void;
240
234
  getPreSelectedOwners(previousSelectedUsers: any, currentUsers: any): any;
@@ -259,6 +253,7 @@ export declare class WorkflowProgramComponent implements OnInit {
259
253
  uniqueByProp(array: any, key: string): unknown[];
260
254
  setList(list: any[], ids: any[], key: string): any;
261
255
  saveProgram(): void;
256
+ postIframeMessage(event: string, data: any): void;
262
257
  action(event: string): void;
263
258
  viewPrograms(): void;
264
259
  resetForm(): void;
@@ -267,11 +262,14 @@ export declare class WorkflowProgramComponent implements OnInit {
267
262
  * Get program details when user is trying to edit program
268
263
  */
269
264
  getProgramDetails(): void;
265
+ populateProgramDetails(res: any): void;
270
266
  populateMembers(res: any): void;
271
267
  populateGroups(res: any): void;
268
+ populateGroupsByGID(programDetails: any, type: string): void;
272
269
  resetAdditionalOption(): void;
273
270
  checkProgramOptionField(): any;
274
271
  enablefeature(): void;
272
+ handleDataPopulation(): void;
275
273
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowProgramComponent, never>;
276
- 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>;
274
+ 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>;
277
275
  }
@@ -74,7 +74,6 @@ export declare class WorkflowRiskComponent implements OnInit {
74
74
  sequential: string;
75
75
  round_robin: string;
76
76
  anyone: string;
77
- collaborator: string;
78
77
  };
79
78
  GRC_TYPE_ARRAY: string[];
80
79
  responsibilityCentersList: any;
@@ -168,7 +167,7 @@ export declare class WorkflowRiskComponent implements OnInit {
168
167
  setPopupButtons(): void;
169
168
  getRiskDetails(riskId: any): void;
170
169
  populateOptionalFields(): void;
171
- setCategoryType(type: any): "strategic" | "compliance" | "operational" | "others";
170
+ setCategoryType(type: any): "strategic" | "compliance" | "others" | "operational";
172
171
  getRCList(): void;
173
172
  getCategoryList(): void;
174
173
  getOwnersList(): void;
@@ -24,13 +24,13 @@ export declare class PolicyService {
24
24
  uploadFile(data: any, id: string, path: string): import("rxjs").Observable<Object>;
25
25
  uploadDocxFile(data: any, id: string, path: string): import("rxjs").Observable<Object>;
26
26
  savePolicyDetails(uname: any, uid: any, id: any, name: any, html: any, isSendForApprove: any): import("rxjs").Observable<Object>;
27
- fileSizeLimit(file: File): boolean;
28
27
  editPolicy(id: any): import("rxjs").Observable<any[]>;
29
28
  updatePolicy(payload: any, policyId: any): import("rxjs").Observable<any>;
30
29
  extractFile(extension: any, path: any, id: any): import("rxjs").Observable<Object>;
31
30
  createApprovalWorkflow(payload: any): import("rxjs").Observable<any>;
32
31
  editApprovalWorkflow(payload: any, id: string): import("rxjs").Observable<any>;
33
32
  LinkedPoliciesList(policyId: string): import("rxjs").Observable<Object>;
33
+ getLinkedPrograms(policyId: string): import("rxjs").Observable<Object>;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<PolicyService, [null, null, { optional: true; }]>;
35
35
  static ɵprov: i0.ɵɵInjectableDeclaration<PolicyService>;
36
36
  }
@@ -29,62 +29,20 @@ export declare class ProgramsService {
29
29
  };
30
30
  saveProgram(payload: any): import("rxjs").Observable<any[]>;
31
31
  buildPayload(formData: any, instance: any): {
32
- mode: string;
33
32
  name: any;
34
- description: {
35
- text: any;
36
- attachments: any;
33
+ type: string;
34
+ description: any;
35
+ owners: {
36
+ admins: {
37
+ users: any;
38
+ userGroups: any;
39
+ };
40
+ managers: {
41
+ users: any;
42
+ userGroups: any;
43
+ };
37
44
  };
38
- program_objective: {
39
- text: any;
40
- attachments: any;
41
- };
42
- roles: any;
43
- owners: any;
44
- owners_group: any;
45
- all_user_in_role: any;
46
- programType: any;
47
- state: any;
48
- approvers: any;
49
- calculate_past_upcoming_event: any;
50
- program_frequency: number;
51
- lock_scope: number;
52
- rc_ids: any;
53
- assignee_ids: any;
54
- assignee_group_ids: any;
55
- default_assignee_ids: any;
56
- default_assignee_group_ids: any;
57
- default_assignee_type: any;
58
- reviewers: any;
59
- reviewer_group_ids: any;
60
- default_reviewers: any;
61
- default_reviewer_group_ids: any;
62
- default_reviewers_type: any;
63
- overseers: {
64
- cc_email: any;
65
- cc_email_groups: any;
66
- failure_cc_email: never[];
67
- failure_cc_email_groups: never[];
68
- };
69
- default_overseers: {
70
- cc_email: any;
71
- cc_email_groups: any;
72
- failure_cc_email: any;
73
- failure_cc_email_groups: any;
74
- };
75
- assessment: any;
76
- evidence_upload_flag: number;
77
- is_key_evidence: any;
78
- custom_fields: any;
79
- framework: {
80
- _id: any;
81
- framework_name: any;
82
- type: any;
83
- in_scope: any;
84
- out_scope: any;
85
- }[];
86
- collaborators: any;
87
- _id: any;
45
+ customFields: any;
88
46
  };
89
47
  generateAssessment(assessment: any): any;
90
48
  getFramework(input: any): {
@@ -109,6 +67,7 @@ export declare class ProgramsService {
109
67
  */
110
68
  updateProgram(payload: any, id: string): import("rxjs").Observable<any[]>;
111
69
  getMemeberByIds(ids: any): import("rxjs").Observable<any[]>;
70
+ getMemeberByUIds(ids: any): import("rxjs").Observable<any[]>;
112
71
  getMemberByGroups(ids: any): import("rxjs").Observable<any[]>;
113
72
  static ɵfac: i0.ɵɵFactoryDeclaration<ProgramsService, [null, null, { optional: true; }]>;
114
73
  static ɵprov: i0.ɵɵInjectableDeclaration<ProgramsService>;
@@ -4,12 +4,15 @@ import { AuthService } from './auth.service';
4
4
  import { AssessmentList } from '../sharedComponents/assessment-list/service/assessment.interface';
5
5
  import { BehaviorSubject, Observable } from 'rxjs';
6
6
  import { Responsibility } from '../interfaces/responsibilty.interface';
7
+ import { GrcService } from '../workflow/shared/services/grc.service';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class ResponsibilityService {
9
10
  private http;
10
11
  private authService;
12
+ private grcService;
11
13
  env: any;
12
14
  dataPerPage: number;
15
+ responsibilityPageNumber: number;
13
16
  grcOwners$: BehaviorSubject<any>;
14
17
  RCList: BehaviorSubject<any>;
15
18
  AssignorList: BehaviorSubject<any>;
@@ -18,7 +21,7 @@ export declare class ResponsibilityService {
18
21
  AssuranceCategoryList: BehaviorSubject<any>;
19
22
  private overseerList;
20
23
  private policyGroups;
21
- constructor(http: HttpClient, authService: AuthService, config?: Configurations);
24
+ constructor(http: HttpClient, authService: AuthService, grcService: GrcService, config?: Configurations);
22
25
  getResponsibilityCenterList(params?: HttpParams): Observable<any>;
23
26
  getOrganizationGroups(params?: HttpParams): Observable<any>;
24
27
  getOrganizationPolicyGroups(params?: HttpParams): Observable<any>;
@@ -31,7 +34,6 @@ export declare class ResponsibilityService {
31
34
  getProgramsListCount(params: HttpParams, ids?: any): Observable<any[]>;
32
35
  getCategoriesUnderProgram(params: HttpParams): Observable<any[]>;
33
36
  getAssurance(): Observable<any>;
34
- getAssuranceForRequiresAudit(): Observable<any>;
35
37
  getRCDetailsOfFramework(rc_id: any, category_id: any): Observable<Object>;
36
38
  submitEntrust(entrust_body: any): Observable<Object>;
37
39
  updateEntrust(entrust_body: any, object_id: any, isDelegate: any): Observable<Object>;
@@ -56,7 +58,18 @@ export declare class ResponsibilityService {
56
58
  addGRCObject(payload: any): Observable<any[]>;
57
59
  updateGRCObject(payload: any, _id: string): Observable<any[]>;
58
60
  buildResponsibilityPayload(event: any): Responsibility | null;
59
- getRiskClass(riskClass: 0 | 1 | 2 | 3): 'low' | 'low-medium' | 'medium-high' | 'high';
60
- static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityService, [null, null, { optional: true; }]>;
61
+ getOverseer(event: any): {
62
+ success: {
63
+ userId: any;
64
+ userGroupId: any;
65
+ };
66
+ fail: {
67
+ userId: any;
68
+ userGroupId: any;
69
+ };
70
+ } | undefined;
71
+ transformData(input: any): any;
72
+ getAllResponsibilities(): Observable<any[]>;
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityService, [null, null, null, { optional: true; }]>;
61
74
  static ɵprov: i0.ɵɵInjectableDeclaration<ResponsibilityService>;
62
75
  }
@@ -55,7 +55,6 @@ export declare class WorkflowSurveyFormComponent implements OnInit {
55
55
  sequential: string;
56
56
  round_robin: string;
57
57
  anyone: string;
58
- collaborator: string;
59
58
  };
60
59
  description: EditorConfig;
61
60
  constructor();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "6.1.02",
3
+ "version": "6.1.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x ",
6
6
  "@angular/core": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x "