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
@@ -60,7 +60,6 @@ export declare class AddMultipleResponsibilityContainerComponent implements OnIn
60
60
  sequential: string;
61
61
  round_robin: string;
62
62
  anyone: string;
63
- collaborator: string;
64
63
  };
65
64
  downloadStatus: string;
66
65
  downloadStatusV2: string;
@@ -64,8 +64,6 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
64
64
  responsibilityData: any;
65
65
  featureflag: any;
66
66
  ffBulkUploadOptimization: boolean;
67
- isDayInvalid: boolean;
68
- isDateFormatInvalid: boolean;
69
67
  constructor(riskService: AddRiskService, responsibilityService: ResponsibilityService, authService: AuthService, frequencyService: FrequencyBulkService, snackBar: SnackBarService, iframeService: IframeService);
70
68
  ngOnChanges(changes: SimpleChanges): void;
71
69
  ngOnInit(): void;
@@ -134,7 +132,6 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
134
132
  * @returns An object with the following properties:
135
133
  */
136
134
  setReportDetails(report: any, tabType: string, isProgram: boolean): any;
137
- isValidRiskClass(riskClass: any): boolean;
138
135
  /**
139
136
  * It takes a string, removes all whitespace, and returns the string
140
137
  * @param {any} name - the name of the responsibility
@@ -65,7 +65,6 @@ export declare class AddMultipleRiskComponent implements OnInit, OnChanges {
65
65
  sequential: string;
66
66
  round_robin: string;
67
67
  anyone: string;
68
- collaborator: string;
69
68
  };
70
69
  feature: any;
71
70
  pickerChanged: EventEmitter<any>;
@@ -2,4 +2,9 @@ export declare const API: {
2
2
  subscriptionList: string;
3
3
  goToPolicyWorkroom: string;
4
4
  editPolicy: string;
5
+ responsibilityList: string;
6
+ };
7
+ export declare const PROGRAM_LIST_API: {
8
+ programList: string;
9
+ categoryList: string;
5
10
  };
@@ -51,5 +51,4 @@ export declare const ASSETS: {
51
51
  sequential: string;
52
52
  round_robin: string;
53
53
  anyone: string;
54
- collaborator: string;
55
54
  };
@@ -0,0 +1,37 @@
1
+ export interface FrequencyObject {
2
+ type: 'one_time' | 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'semester' | 'yearly' | 'random' | 'ongoing' | 'on_completion_of' | 'biannually';
3
+ endAfter: number;
4
+ startBefore: number;
5
+ autoDeactivate: number;
6
+ day: number;
7
+ time: string;
8
+ repeatOptions?: RepeatOptions;
9
+ random?: Random | {};
10
+ onComplete?: OnComplete | {};
11
+ onGoing?: OnGoing | {};
12
+ }
13
+ interface RepeatOptions {
14
+ every: number;
15
+ repeatOn: string;
16
+ lifecycle: Lifecycle;
17
+ }
18
+ interface Random {
19
+ type: string;
20
+ occurrences: number;
21
+ }
22
+ interface OnComplete {
23
+ rId: number;
24
+ aId: number;
25
+ rcId: number;
26
+ startAfter: number;
27
+ }
28
+ interface OnGoing {
29
+ reminders: number;
30
+ startOf: 'week' | 'month' | 'quarter' | 'semester' | 'year';
31
+ }
32
+ interface Lifecycle {
33
+ startFrom: string;
34
+ endBy: string | undefined;
35
+ endAfter: number | undefined;
36
+ }
37
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare enum PostMessageEvent {
2
+ CLOSE_WEBVIEW = "closeWebview",
3
+ PROGRAM_CREATED = "programCreated",
4
+ PROGRAM_UPDATED = "programUpdated"
5
+ }
@@ -1,8 +1,8 @@
1
1
  interface Frequency {
2
- type: 'daily';
2
+ type: string;
3
3
  }
4
4
  interface Assignee {
5
- type: 'all' | 'any_one';
5
+ type: 'all' | 'any';
6
6
  userId: number[];
7
7
  userGroupId: number[];
8
8
  }
@@ -11,11 +11,11 @@ interface ResponsibilityCenter {
11
11
  id: number[];
12
12
  }
13
13
  interface ReviewerFrequency {
14
- dueDays: number;
15
- extensionDays: number;
14
+ completeBy: number;
15
+ endAfter: number;
16
16
  }
17
17
  interface Reviewer {
18
- type: 'sequential' | 'any_one';
18
+ type: 'sequential' | 'any';
19
19
  frequency: ReviewerFrequency;
20
20
  userId: number[];
21
21
  }
@@ -37,23 +37,23 @@ interface Evidence {
37
37
  }
38
38
  interface Program {
39
39
  id: number[];
40
+ tags: {
41
+ [key: string]: string;
42
+ };
40
43
  }
41
44
  export interface Responsibility {
42
45
  title: string;
43
46
  key: number;
44
- riskClass: 'low' | 'low-medium' | 'medium-high' | 'high';
47
+ riskClass: 'low' | 'low_medium' | 'medium_high' | 'high';
45
48
  notes: string;
46
49
  objective: string;
47
50
  frequency: Frequency;
48
- assignorId: number;
51
+ assignor: number;
49
52
  assignee: Assignee;
50
- responsibilityCenter: ResponsibilityCenter;
51
- reviewer: Reviewer;
52
- overseer: Overseer;
53
+ responsibilityCenter: ResponsibilityCenter | undefined;
54
+ reviewer: Reviewer | undefined;
55
+ overseer: Overseer | undefined;
53
56
  evidence: Evidence;
54
- tags: {
55
- [key: string]: string;
56
- };
57
57
  program: Program;
58
58
  grcObjectId: any[];
59
59
  assessmentId: string;
@@ -76,7 +76,6 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
76
76
  sequential: string;
77
77
  round_robin: string;
78
78
  anyone: string;
79
- collaborator: string;
80
79
  };
81
80
  openedFrom: any;
82
81
  source: 'SAP' | 'WORKROOM' | '';
@@ -56,7 +56,6 @@ export declare class MoreOptionComponent implements OnInit, OnChanges {
56
56
  sequential: string;
57
57
  round_robin: string;
58
58
  anyone: string;
59
- collaborator: string;
60
59
  };
61
60
  currentWorkflow: string;
62
61
  openedFrom: string;
@@ -54,7 +54,6 @@ export declare class AssigneeComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
- collaborator: string;
58
57
  };
59
58
  animation: boolean;
60
59
  search: string;
@@ -55,7 +55,6 @@ export declare class CaseAssigneesComponent {
55
55
  sequential: string;
56
56
  round_robin: string;
57
57
  anyone: string;
58
- collaborator: string;
59
58
  };
60
59
  assigneesTexts: {
61
60
  case_type: string;
@@ -59,7 +59,6 @@ export declare class CaseCategoryComponent implements OnInit, OnChanges {
59
59
  sequential: string;
60
60
  round_robin: string;
61
61
  anyone: string;
62
- collaborator: string;
63
62
  };
64
63
  categoryTexts: {
65
64
  case_type: string;
@@ -147,7 +147,6 @@ export declare class CaseDetailsComponent implements OnInit {
147
147
  sequential: string;
148
148
  round_robin: string;
149
149
  anyone: string;
150
- collaborator: string;
151
150
  };
152
151
  caseType: typeof report;
153
152
  description: EditorConfig;
@@ -57,7 +57,6 @@ export declare class CaseOwnersComponent implements OnInit, OnDestroy {
57
57
  sequential: string;
58
58
  round_robin: string;
59
59
  anyone: string;
60
- collaborator: string;
61
60
  };
62
61
  ownerTexts: {
63
62
  case_type: string;
@@ -149,7 +149,6 @@ export declare class CasePriorityComponent implements OnInit {
149
149
  sequential: string;
150
150
  round_robin: string;
151
151
  anyone: string;
152
- collaborator: string;
153
152
  };
154
153
  caseType: typeof report;
155
154
  config: any;
@@ -57,7 +57,6 @@ export declare class CaseResolutionDeadlineComponent {
57
57
  sequential: string;
58
58
  round_robin: string;
59
59
  anyone: string;
60
- collaborator: string;
61
60
  };
62
61
  dueDateTexts: {
63
62
  case_type: string;
@@ -150,7 +150,6 @@ export declare class CaseDropdownComponent implements OnInit {
150
150
  sequential: string;
151
151
  round_robin: string;
152
152
  anyone: string;
153
- collaborator: string;
154
153
  };
155
154
  config: any;
156
155
  chipItems: any[];
@@ -60,7 +60,6 @@ export declare class DueDateComponent implements OnInit {
60
60
  sequential: string;
61
61
  round_robin: string;
62
62
  anyone: string;
63
- collaborator: string;
64
63
  };
65
64
  animation: boolean;
66
65
  datePickerPopUp: ElementRef;
@@ -53,7 +53,6 @@ export declare class FieldHolderComponent {
53
53
  sequential: string;
54
54
  round_robin: string;
55
55
  anyone: string;
56
- collaborator: string;
57
56
  };
58
57
  image: string;
59
58
  active: boolean;
@@ -145,7 +145,6 @@ export declare class LinkedAssessmentComponent implements OnInit {
145
145
  sequential: string;
146
146
  round_robin: string;
147
147
  anyone: string;
148
- collaborator: string;
149
148
  };
150
149
  linkText: string;
151
150
  isLinkQuestionVisible: boolean;
@@ -54,7 +54,6 @@ export declare class LinkedResponsibilitiesComponent {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
- collaborator: string;
58
57
  };
59
58
  reportTexts: {
60
59
  case_type: string;
@@ -58,7 +58,6 @@ export declare class RcDetailsComponent implements OnInit, OnDestroy {
58
58
  sequential: string;
59
59
  round_robin: string;
60
60
  anyone: string;
61
- collaborator: string;
62
61
  };
63
62
  rcTexts: {
64
63
  case_type: string;
@@ -57,7 +57,6 @@ export declare class ReportDateComponent {
57
57
  sequential: string;
58
58
  round_robin: string;
59
59
  anyone: string;
60
- collaborator: string;
61
60
  };
62
61
  reportTexts: {
63
62
  case_type: string;
@@ -158,7 +158,6 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
158
158
  sequential: string;
159
159
  round_robin: string;
160
160
  anyone: string;
161
- collaborator: string;
162
161
  };
163
162
  caseType: typeof report;
164
163
  caseTypeSelected: report;
@@ -9,6 +9,34 @@ 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
+ pid: string;
32
+ }>>, linkedProgramIds?: string[]): {
33
+ added: string[];
34
+ removed: string[];
35
+ };
36
+ transformResponsibilitiesData(currentResponsibilityIds: number[], linkedResponsibilityIds?: number[]): {
37
+ added: number[];
38
+ removed: number[];
39
+ };
12
40
  static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
13
41
  static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
14
42
  }
@@ -1,6 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class IframeService {
3
3
  redirectIfInIframe(targetUrl: string, mode?: boolean): void;
4
+ postMessage(message: any): void;
5
+ private getOrigin;
6
+ getCloseWebviewMessage(event: string, data: any): {
7
+ event: string;
8
+ data: any;
9
+ };
4
10
  static ɵfac: i0.ɵɵFactoryDeclaration<IframeService, never>;
5
11
  static ɵprov: i0.ɵɵInjectableDeclaration<IframeService>;
6
12
  }
@@ -59,7 +59,6 @@ export declare class ApprovalCreateFormComponent implements OnInit {
59
59
  sequential: string;
60
60
  round_robin: string;
61
61
  anyone: string;
62
- collaborator: string;
63
62
  };
64
63
  enableApprovalCreate: boolean;
65
64
  enableApprovalLevel: boolean;
@@ -54,7 +54,6 @@ export declare class ImageChoiceComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
- collaborator: string;
58
57
  };
59
58
  constructor();
60
59
  ngOnInit(): void;
@@ -54,7 +54,6 @@ export declare class ThankYouComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
- collaborator: string;
58
57
  };
59
58
  constructor();
60
59
  ngOnInit(): void;
@@ -54,7 +54,6 @@ export declare class WelcomeComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
- collaborator: string;
58
57
  };
59
58
  constructor();
60
59
  ngOnInit(): void;
@@ -63,7 +63,6 @@ export declare class LogicComponent implements OnInit {
63
63
  sequential: string;
64
64
  round_robin: string;
65
65
  anyone: string;
66
- collaborator: string;
67
66
  };
68
67
  modifyLogic(): void;
69
68
  addLogic(): void;
@@ -54,7 +54,6 @@ export declare class LogicImageChoiceComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
- collaborator: string;
58
57
  };
59
58
  constructor();
60
59
  ngOnInit(): void;
@@ -54,7 +54,6 @@ export declare class ThankYouComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
- collaborator: string;
58
57
  };
59
58
  constructor();
60
59
  ngOnInit(): void;
@@ -54,7 +54,6 @@ export declare class WelcomeComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
- collaborator: string;
58
57
  };
59
58
  constructor();
60
59
  ngOnInit(): void;
@@ -55,7 +55,6 @@ export declare class WelcomeThankyouComponent implements OnInit {
55
55
  sequential: string;
56
56
  round_robin: string;
57
57
  anyone: string;
58
- collaborator: string;
59
58
  };
60
59
  deleteQuestion: EventEmitter<any>;
61
60
  entityData: any;
@@ -61,7 +61,6 @@ export declare class AssessmentListComponent 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
  selectedData: any;
@@ -57,7 +57,6 @@ export declare class AuditCategoryListComponent implements OnInit, OnChanges {
57
57
  sequential: string;
58
58
  round_robin: string;
59
59
  anyone: string;
60
- collaborator: string;
61
60
  };
62
61
  selectedData: any;
63
62
  selectedIndex: number;
@@ -1,12 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BulkResponsibilityViewComponent {
4
- VALIDATION_MESSAGES: {
5
- RISK_CLASS: string;
6
- DAY: string;
7
- DATE_FORMAT: string;
8
- DUE_DATE: string;
9
- };
10
4
  responsibilityBulkUpload: any;
11
5
  fileName: any;
12
6
  defaultOwner: any;
@@ -59,7 +59,6 @@ export declare class CategoryListComponent implements OnInit, OnChanges {
59
59
  sequential: string;
60
60
  round_robin: string;
61
61
  anyone: string;
62
- collaborator: string;
63
62
  };
64
63
  animation: boolean;
65
64
  saveSelectedCategory: EventEmitter<any>;
@@ -73,7 +73,6 @@ export declare class CategoryListSelectionComponent implements OnInit {
73
73
  sequential: string;
74
74
  round_robin: string;
75
75
  anyone: string;
76
- collaborator: string;
77
76
  };
78
77
  list: never[];
79
78
  searchKey: string;
@@ -2,14 +2,14 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./category-list-selection/category-list-selection.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../floating-bar/floating-bar.module";
5
- import * as i4 from "../no-data/no-data.module";
5
+ import * as i4 from "../../formgroup/formgroup.module";
6
6
  import * as i5 from "@angular/forms";
7
- import * as i6 from "../../formgroup/formgroup.module";
7
+ import * as i6 from "../no-data/no-data.module";
8
8
  import * as i7 from "../../ui-kit/pagination/pagination.module";
9
- import * as i8 from "../radio-list-with-pagination/radio-list-with-pagination.module";
10
- import * as i9 from "../../pipes/pipes.module";
9
+ import * as i8 from "../../pipes/pipes.module";
10
+ import * as i9 from "../radio-list-with-pagination/radio-list-with-pagination.module";
11
11
  export declare class CategoryListSelectionModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<CategoryListSelectionModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<CategoryListSelectionModule, [typeof i1.CategoryListSelectionComponent], [typeof i2.CommonModule, typeof i3.FloatingBarModule, typeof i4.NoDataModule, typeof i5.FormsModule, typeof i6.FormgroupModule, typeof i7.PaginationModule, typeof i8.RadioListWithPaginationModule, typeof i9.PipesModule], [typeof i1.CategoryListSelectionComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CategoryListSelectionModule, [typeof i1.CategoryListSelectionComponent], [typeof i2.CommonModule, typeof i3.FloatingBarModule, typeof i4.FormgroupModule, typeof i5.FormsModule, typeof i6.NoDataModule, typeof i7.PaginationModule, typeof i8.PipesModule, typeof i9.RadioListWithPaginationModule], [typeof i1.CategoryListSelectionComponent]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<CategoryListSelectionModule>;
15
15
  }
@@ -60,7 +60,6 @@ export declare class CategoryMultiSelectComponent implements OnInit, OnChanges {
60
60
  sequential: string;
61
61
  round_robin: string;
62
62
  anyone: string;
63
- collaborator: string;
64
63
  };
65
64
  search: string;
66
65
  activeTab: any;
@@ -66,7 +66,6 @@ export declare class CheckboxListComponent implements OnInit {
66
66
  sequential: string;
67
67
  round_robin: string;
68
68
  anyone: string;
69
- collaborator: string;
70
69
  };
71
70
  constructor();
72
71
  ngOnInit(): void;
@@ -1,14 +1,12 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
2
  import { AuthService } from '../../workflow-services/auth.service';
3
3
  import { PolicyService } from '../../workflow-services/policy.service';
4
- import { SnackBarService } from '../../ui-kit/snack-bar/snack-bar.service';
5
4
  import { ResponsibilityService } from '../../workflow-services/responsibility.service';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class FormatAndEvidenceComponent implements OnInit {
8
7
  private responsibilityService;
9
8
  private policyService;
10
9
  private authService;
11
- private snackbarService;
12
10
  ASSETS: {
13
11
  responsibility_center: string;
14
12
  case_type: string;
@@ -62,7 +60,6 @@ export declare class FormatAndEvidenceComponent implements OnInit {
62
60
  sequential: string;
63
61
  round_robin: string;
64
62
  anyone: string;
65
- collaborator: string;
66
63
  };
67
64
  updateFiles: EventEmitter<any>;
68
65
  mode: string;
@@ -71,7 +68,7 @@ export declare class FormatAndEvidenceComponent implements OnInit {
71
68
  set formatEvidanceData(value: any);
72
69
  isNewLinkDisabled: boolean;
73
70
  isEditDisabled: boolean;
74
- constructor(responsibilityService: ResponsibilityService, policyService: PolicyService, authService: AuthService, snackbarService: SnackBarService);
71
+ constructor(responsibilityService: ResponsibilityService, policyService: PolicyService, authService: AuthService);
75
72
  formate: any;
76
73
  newLink: {
77
74
  link: string;
@@ -86,7 +83,6 @@ export declare class FormatAndEvidenceComponent implements OnInit {
86
83
  editLink(index: number): void;
87
84
  deleteLink(index: number): void;
88
85
  resetNewLink(): void;
89
- private fileProcessing;
90
86
  onFileDropped(files: any): void;
91
87
  uploadFile(file: any, uid: string): void;
92
88
  deleteAttachment(index: number): void;
@@ -59,7 +59,6 @@ export declare class FrameworkListComponent implements OnInit, OnChanges {
59
59
  sequential: string;
60
60
  round_robin: string;
61
61
  anyone: string;
62
- collaborator: string;
63
62
  };
64
63
  breadCrumb: any[];
65
64
  search: string;
@@ -52,6 +52,7 @@ export declare class FrequencyRandomComponent implements OnInit {
52
52
  getQuarterlyFrequency(): {
53
53
  pattern: string;
54
54
  placeholder: string;
55
+ monthSequence: number[];
55
56
  };
56
57
  getYearlyFrequency(): {
57
58
  pattern: string;
@@ -60,7 +60,6 @@ export declare class FrequencyResponsibilityListComponent implements OnInit {
60
60
  sequential: string;
61
61
  round_robin: string;
62
62
  anyone: string;
63
- collaborator: string;
64
63
  };
65
64
  backButton: EventEmitter<any>;
66
65
  selectedResponsibility: EventEmitter<any>;