vcomply-workflow-engine 6.1.31 → 6.1.32

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 (127) hide show
  1. package/esm2022/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +34 -7
  2. package/esm2022/lib/constants/assets.constants.mjs +2 -1
  3. package/esm2022/lib/constants/policy.constant.mjs +6 -0
  4. package/esm2022/lib/constants/regix.constants.mjs +4 -0
  5. package/esm2022/lib/constants/responsibility.mjs +8 -0
  6. package/esm2022/lib/formgroup/select/cs-select/cs-select.component.mjs +2 -2
  7. package/esm2022/lib/interfaces/policy.interface.mjs +2 -0
  8. package/esm2022/lib/more-option/more-option.component.mjs +13 -14
  9. package/esm2022/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.mjs +29 -3
  10. package/esm2022/lib/report-a-case/components/due-date/due-date.component.mjs +34 -6
  11. package/esm2022/lib/report-a-case/components/report-date/report-date.component.mjs +4 -1
  12. package/esm2022/lib/report-a-case/constants/api.constants.mjs +3 -2
  13. package/esm2022/lib/report-a-case/constants/report-case.constants.mjs +3 -1
  14. package/esm2022/lib/report-a-case/report-case.module.mjs +5 -2
  15. package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +16 -4
  16. package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +5 -4
  17. package/esm2022/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.mjs +6 -3
  18. package/esm2022/lib/sharedComponents/document-section/document-section.component.mjs +39 -14
  19. package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.component.mjs +22 -9
  20. package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.module.mjs +19 -15
  21. package/esm2022/lib/sharedComponents/group-users-list/group-users-list.component.mjs +20 -17
  22. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.component.mjs +3 -2
  23. package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.module.mjs +8 -4
  24. package/esm2022/lib/sharedComponents/pipes/risk-class.pipe.mjs +19 -0
  25. package/esm2022/lib/sharedComponents/policy-template/select-template-list/select-template-list.component.mjs +15 -5
  26. package/esm2022/lib/ui-kit/banner/banner.component.mjs +44 -0
  27. package/esm2022/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.mjs +12 -5
  28. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +31 -9
  29. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +2 -2
  30. package/esm2022/lib/workflow-engine.module.mjs +6 -3
  31. package/esm2022/lib/workflow-policy/ms-word.constants.mjs +2 -2
  32. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +5 -5
  33. package/esm2022/lib/workflow-program/constants.mjs +9 -1
  34. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/pipes/tooltip-message.pipe.mjs +7 -1
  35. package/esm2022/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.mjs +11 -13
  36. package/esm2022/lib/workflow-program/workflow-program.component.mjs +54 -296
  37. package/esm2022/lib/workflow-services/policy.service.mjs +7 -1
  38. package/esm2022/lib/workflow-services/programs.service.mjs +2 -1
  39. package/fesm2022/vcomply-workflow-engine.mjs +1000 -972
  40. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  41. package/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.d.ts +1 -0
  42. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +3 -0
  43. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +1 -0
  44. package/lib/constants/assets.constants.d.ts +1 -0
  45. package/lib/constants/policy.constant.d.ts +2 -0
  46. package/lib/constants/regix.constants.d.ts +3 -0
  47. package/lib/constants/responsibility.d.ts +7 -0
  48. package/lib/interfaces/policy.interface.d.ts +5 -0
  49. package/lib/log-an-issue/log-an-issue.component.d.ts +1 -0
  50. package/lib/more-option/more-option.component.d.ts +1 -0
  51. package/lib/report-a-case/components/assignee/assignee.component.d.ts +1 -0
  52. package/lib/report-a-case/components/case-assignees/case-assignees.component.d.ts +1 -0
  53. package/lib/report-a-case/components/case-category/case-category.component.d.ts +1 -0
  54. package/lib/report-a-case/components/case-details/case-details.component.d.ts +1 -0
  55. package/lib/report-a-case/components/case-owners/case-owners.component.d.ts +1 -0
  56. package/lib/report-a-case/components/case-priority/case-priority.component.d.ts +1 -0
  57. package/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.d.ts +9 -3
  58. package/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.d.ts +1 -0
  59. package/lib/report-a-case/components/due-date/due-date.component.d.ts +7 -1
  60. package/lib/report-a-case/components/field-holder/field-holder.component.d.ts +1 -0
  61. package/lib/report-a-case/components/linked assessment/linked-assessment.component.d.ts +1 -0
  62. package/lib/report-a-case/components/linked-responsibilities/linked-responsibilities.component.d.ts +1 -0
  63. package/lib/report-a-case/components/rc-details/rc-details.component.d.ts +1 -0
  64. package/lib/report-a-case/components/report-date/report-date.component.d.ts +3 -0
  65. package/lib/report-a-case/constants/api.constants.d.ts +1 -0
  66. package/lib/report-a-case/constants/report-case.constants.d.ts +2 -0
  67. package/lib/report-a-case/report-case.module.d.ts +22 -21
  68. package/lib/report-a-case/services/report-a-case.service.d.ts +2 -1
  69. package/lib/report-a-case/workflow-case/workflow-case.component.d.ts +1 -0
  70. package/lib/sharedComponents/approval-workflow/approval-create-form/approval-create-form.component.d.ts +1 -0
  71. package/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.d.ts +1 -0
  72. package/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.d.ts +1 -0
  73. package/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.d.ts +1 -0
  74. package/lib/sharedComponents/assessment-editor/components/logic/logic.component.d.ts +1 -0
  75. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.d.ts +1 -0
  76. package/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.d.ts +1 -0
  77. package/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.d.ts +1 -0
  78. package/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.d.ts +1 -0
  79. package/lib/sharedComponents/assessment-list/assessment-list.component.d.ts +1 -0
  80. package/lib/sharedComponents/audit-category-list/audit-category-list.component.d.ts +1 -0
  81. package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +6 -0
  82. package/lib/sharedComponents/category-list/category-list.component.d.ts +1 -0
  83. package/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.d.ts +1 -0
  84. package/lib/sharedComponents/category-multiselect/category-multi-select.component.d.ts +1 -0
  85. package/lib/sharedComponents/checkbox-list/checkbox-list.component.d.ts +1 -0
  86. package/lib/sharedComponents/document-section/document-section.component.d.ts +8 -5
  87. package/lib/sharedComponents/format-and-evidence/format-and-evidence.component.d.ts +5 -1
  88. package/lib/sharedComponents/format-and-evidence/format-and-evidence.module.d.ts +8 -7
  89. package/lib/sharedComponents/framework-list/framework-list.component.d.ts +1 -0
  90. package/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.d.ts +1 -0
  91. package/lib/sharedComponents/group-users-list/group-users-list.component.d.ts +1 -0
  92. package/lib/sharedComponents/link-program/link-program/link-program.component.d.ts +1 -0
  93. package/lib/sharedComponents/link-responsibility/link-responsibility.module.d.ts +2 -1
  94. package/lib/sharedComponents/owner-list/owner-list.component.d.ts +1 -0
  95. package/lib/sharedComponents/pipes/risk-class.pipe.d.ts +7 -0
  96. package/lib/sharedComponents/policy-access/policy-access.component.d.ts +1 -0
  97. package/lib/sharedComponents/policy-template/select-template-list/select-template-list.component.d.ts +1 -0
  98. package/lib/sharedComponents/program-listing/program-listing.component.d.ts +1 -0
  99. package/lib/sharedComponents/radio-list/radio-list.component.d.ts +1 -0
  100. package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.d.ts +1 -0
  101. package/lib/sharedComponents/responsibility-centers-list/responsibility-centers-list.component.d.ts +1 -0
  102. package/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.d.ts +1 -0
  103. package/lib/sharedComponents/review-frequency/review-frequency.component.d.ts +1 -0
  104. package/lib/sharedComponents/roles-list/roles-list.component.d.ts +1 -0
  105. package/lib/sharedComponents/select-approvers/select-approvers.component.d.ts +1 -0
  106. package/lib/sharedComponents/users-radio-list/users-radio-list.component.d.ts +1 -0
  107. package/lib/ui-kit/banner/banner.component.d.ts +8 -0
  108. package/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.d.ts +3 -1
  109. package/lib/ui-kit/pagination/pagination/pagination.component.d.ts +1 -0
  110. package/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.d.ts +1 -0
  111. package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +1 -0
  112. package/lib/workflow-assessment/workflow-assessment.component.d.ts +1 -0
  113. package/lib/workflow-compliance/workflow-compliance.component.d.ts +4 -0
  114. package/lib/workflow-engine.module.d.ts +41 -40
  115. package/lib/workflow-policy/workflow-policy.component.d.ts +1 -1
  116. package/lib/workflow-program/constants.d.ts +3 -0
  117. package/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.d.ts +1 -0
  118. package/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.d.ts +1 -0
  119. package/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.d.ts +1 -0
  120. package/lib/workflow-program/create-program-ui/role-list/role-list.component.d.ts +1 -0
  121. package/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.d.ts +1 -0
  122. package/lib/workflow-program/workflow-program.component.d.ts +7 -1
  123. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -0
  124. package/lib/workflow-services/policy.service.d.ts +2 -0
  125. package/lib/workflow-services/programs.service.d.ts +1 -0
  126. package/lib/workflow-survey-form/workflow-survey-form.component.d.ts +1 -0
  127. package/package.json +1 -1
@@ -60,6 +60,7 @@ export declare class AddMultipleResponsibilityContainerComponent implements OnIn
60
60
  sequential: string;
61
61
  round_robin: string;
62
62
  anyone: string;
63
+ collaborator: string;
63
64
  };
64
65
  downloadStatus: string;
65
66
  downloadStatusV2: string;
@@ -64,6 +64,8 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
64
64
  responsibilityData: any;
65
65
  featureflag: any;
66
66
  ffBulkUploadOptimization: boolean;
67
+ isDayInvalid: boolean;
68
+ isDateFormatInvalid: boolean;
67
69
  constructor(riskService: AddRiskService, responsibilityService: ResponsibilityService, authService: AuthService, frequencyService: FrequencyBulkService, snackBar: SnackBarService, iframeService: IframeService);
68
70
  ngOnChanges(changes: SimpleChanges): void;
69
71
  ngOnInit(): void;
@@ -132,6 +134,7 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
132
134
  * @returns An object with the following properties:
133
135
  */
134
136
  setReportDetails(report: any, tabType: string, isProgram: boolean): any;
137
+ isValidRiskClass(riskClass: any): boolean;
135
138
  /**
136
139
  * It takes a string, removes all whitespace, and returns the string
137
140
  * @param {any} name - the name of the responsibility
@@ -65,6 +65,7 @@ export declare class AddMultipleRiskComponent implements OnInit, OnChanges {
65
65
  sequential: string;
66
66
  round_robin: string;
67
67
  anyone: string;
68
+ collaborator: string;
68
69
  };
69
70
  feature: any;
70
71
  pickerChanged: EventEmitter<any>;
@@ -51,4 +51,5 @@ export declare const ASSETS: {
51
51
  sequential: string;
52
52
  round_robin: string;
53
53
  anyone: string;
54
+ collaborator: string;
54
55
  };
@@ -0,0 +1,2 @@
1
+ import { FileSize } from "../interfaces/policy.interface";
2
+ export declare const FILE_SIZE: FileSize;
@@ -0,0 +1,3 @@
1
+ export declare const REGEX: {
2
+ MONTH: RegExp;
3
+ };
@@ -0,0 +1,7 @@
1
+ export declare const RISK_CLASS_LIST: string[];
2
+ export declare const VALIDATION_MESSAGES: {
3
+ RISK_CLASS: string;
4
+ DAY: string;
5
+ DATE_FORMAT: string;
6
+ DUE_DATE: string;
7
+ };
@@ -0,0 +1,5 @@
1
+ export interface FileSize {
2
+ MAX_SIZE: number;
3
+ ERROR: 'success' | 'warning' | 'info' | 'alert' | 'error';
4
+ MESSAGE: string;
5
+ }
@@ -76,6 +76,7 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
76
76
  sequential: string;
77
77
  round_robin: string;
78
78
  anyone: string;
79
+ collaborator: string;
79
80
  };
80
81
  openedFrom: any;
81
82
  source: 'SAP' | 'WORKROOM' | '';
@@ -56,6 +56,7 @@ export declare class MoreOptionComponent implements OnInit, OnChanges {
56
56
  sequential: string;
57
57
  round_robin: string;
58
58
  anyone: string;
59
+ collaborator: string;
59
60
  };
60
61
  currentWorkflow: string;
61
62
  openedFrom: string;
@@ -54,6 +54,7 @@ export declare class AssigneeComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
+ collaborator: string;
57
58
  };
58
59
  animation: boolean;
59
60
  search: string;
@@ -55,6 +55,7 @@ export declare class CaseAssigneesComponent {
55
55
  sequential: string;
56
56
  round_robin: string;
57
57
  anyone: string;
58
+ collaborator: string;
58
59
  };
59
60
  assigneesTexts: {
60
61
  case_type: string;
@@ -59,6 +59,7 @@ export declare class CaseCategoryComponent implements OnInit, OnChanges {
59
59
  sequential: string;
60
60
  round_robin: string;
61
61
  anyone: string;
62
+ collaborator: string;
62
63
  };
63
64
  categoryTexts: {
64
65
  case_type: string;
@@ -147,6 +147,7 @@ export declare class CaseDetailsComponent implements OnInit {
147
147
  sequential: string;
148
148
  round_robin: string;
149
149
  anyone: string;
150
+ collaborator: string;
150
151
  };
151
152
  caseType: typeof report;
152
153
  description: EditorConfig;
@@ -57,6 +57,7 @@ export declare class CaseOwnersComponent implements OnInit, OnDestroy {
57
57
  sequential: string;
58
58
  round_robin: string;
59
59
  anyone: string;
60
+ collaborator: string;
60
61
  };
61
62
  ownerTexts: {
62
63
  case_type: string;
@@ -149,6 +149,7 @@ export declare class CasePriorityComponent implements OnInit {
149
149
  sequential: string;
150
150
  round_robin: string;
151
151
  anyone: string;
152
+ collaborator: string;
152
153
  };
153
154
  caseType: typeof report;
154
155
  config: any;
@@ -1,8 +1,8 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
3
3
  import { ReportACaseService } from '../../services/report-a-case.service';
4
4
  import * as i0 from "@angular/core";
5
- export declare class CaseResolutionDeadlineComponent {
5
+ export declare class CaseResolutionDeadlineComponent implements OnInit {
6
6
  private reportACaseService;
7
7
  ASSETS: {
8
8
  responsibility_center: string;
@@ -57,6 +57,7 @@ export declare class CaseResolutionDeadlineComponent {
57
57
  sequential: string;
58
58
  round_robin: string;
59
59
  anyone: string;
60
+ collaborator: string;
60
61
  };
61
62
  dueDateTexts: {
62
63
  case_type: string;
@@ -162,21 +163,26 @@ export declare class CaseResolutionDeadlineComponent {
162
163
  initialResolutionDeadline: any;
163
164
  fieldSelector: string[];
164
165
  dueDateHelpText: string;
166
+ latestValidDeadline: string;
167
+ taskCount: number;
165
168
  payload: any;
166
169
  userList: any[];
167
170
  groupList: any[];
168
171
  mode: string;
172
+ caseId: string;
169
173
  set initialSelection(value: any);
170
174
  fieldSelected: string;
171
175
  validationError: any;
172
176
  fieldClicked: EventEmitter<string>;
173
177
  filterDeselector: EventEmitter<any>;
174
178
  constructor(reportACaseService: ReportACaseService);
179
+ ngOnInit(): void;
180
+ validateDeadline(): void;
175
181
  saveSelectedDueDate(): void;
176
182
  setSelectedRcList(event: any): void;
177
183
  activateSelector(active: boolean): void;
178
184
  getWorkflowDetails(): void;
179
185
  isCaseResolutionDeadlineDisabled(): boolean;
180
186
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseResolutionDeadlineComponent, never>;
181
- static ɵcmp: i0.ɵɵComponentDeclaration<CaseResolutionDeadlineComponent, "app-case-resolution-deadline", never, { "payload": { "alias": "payload"; "required": false; }; "userList": { "alias": "userList"; "required": false; }; "groupList": { "alias": "groupList"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, { "fieldClicked": "fieldClicked"; "filterDeselector": "filterDeselector"; }, never, never, false, never>;
187
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseResolutionDeadlineComponent, "app-case-resolution-deadline", never, { "payload": { "alias": "payload"; "required": false; }; "userList": { "alias": "userList"; "required": false; }; "groupList": { "alias": "groupList"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "caseId": { "alias": "caseId"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, { "fieldClicked": "fieldClicked"; "filterDeselector": "filterDeselector"; }, never, never, false, never>;
182
188
  }
@@ -150,6 +150,7 @@ export declare class CaseDropdownComponent implements OnInit {
150
150
  sequential: string;
151
151
  round_robin: string;
152
152
  anyone: string;
153
+ collaborator: string;
153
154
  };
154
155
  config: any;
155
156
  chipItems: any[];
@@ -60,6 +60,7 @@ export declare class DueDateComponent implements OnInit {
60
60
  sequential: string;
61
61
  round_robin: string;
62
62
  anyone: string;
63
+ collaborator: string;
63
64
  };
64
65
  animation: boolean;
65
66
  datePickerPopUp: ElementRef;
@@ -173,6 +174,7 @@ export declare class DueDateComponent implements OnInit {
173
174
  escalationEmail: number;
174
175
  showError: boolean;
175
176
  showAssigneeError: boolean;
177
+ CaseDeadlineWarning: string;
176
178
  payload: any;
177
179
  dueDate: any;
178
180
  workflowDetails: any;
@@ -180,6 +182,9 @@ export declare class DueDateComponent implements OnInit {
180
182
  groupList: any[];
181
183
  mode: string;
182
184
  set initialSelection(value: any);
185
+ min: string;
186
+ taskCount: number;
187
+ validDeadline: string;
183
188
  closeDueDateResolution: EventEmitter<any>;
184
189
  closeDueDateEvent: EventEmitter<any>;
185
190
  constructor(commonDateService: CommonService, frequencyService: FrequencyService);
@@ -187,6 +192,7 @@ export declare class DueDateComponent implements OnInit {
187
192
  private initializeEditMode;
188
193
  private initializeDeadlineValues;
189
194
  private initializeStageAssignees;
195
+ private setMinDate;
190
196
  private createStageAssigneeMap;
191
197
  private mapWorkflowStages;
192
198
  openDatePicker(): void;
@@ -216,5 +222,5 @@ export declare class DueDateComponent implements OnInit {
216
222
  documentClick(event: any): void;
217
223
  onInputChange(): void;
218
224
  static ɵfac: i0.ɵɵFactoryDeclaration<DueDateComponent, never>;
219
- static ɵcmp: i0.ɵɵComponentDeclaration<DueDateComponent, "app-due-date", never, { "payload": { "alias": "payload"; "required": false; }; "dueDate": { "alias": "dueDate"; "required": false; }; "workflowDetails": { "alias": "workflowDetails"; "required": false; }; "userList": { "alias": "userList"; "required": false; }; "groupList": { "alias": "groupList"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; }, { "closeDueDateResolution": "closeDueDateResolution"; "closeDueDateEvent": "closeDueDateEvent"; }, never, never, false, never>;
225
+ static ɵcmp: i0.ɵɵComponentDeclaration<DueDateComponent, "app-due-date", never, { "payload": { "alias": "payload"; "required": false; }; "dueDate": { "alias": "dueDate"; "required": false; }; "workflowDetails": { "alias": "workflowDetails"; "required": false; }; "userList": { "alias": "userList"; "required": false; }; "groupList": { "alias": "groupList"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "min": { "alias": "min"; "required": false; }; "taskCount": { "alias": "taskCount"; "required": false; }; "validDeadline": { "alias": "validDeadline"; "required": false; }; }, { "closeDueDateResolution": "closeDueDateResolution"; "closeDueDateEvent": "closeDueDateEvent"; }, never, never, false, never>;
220
226
  }
@@ -53,6 +53,7 @@ export declare class FieldHolderComponent {
53
53
  sequential: string;
54
54
  round_robin: string;
55
55
  anyone: string;
56
+ collaborator: string;
56
57
  };
57
58
  image: string;
58
59
  active: boolean;
@@ -145,6 +145,7 @@ export declare class LinkedAssessmentComponent implements OnInit {
145
145
  sequential: string;
146
146
  round_robin: string;
147
147
  anyone: string;
148
+ collaborator: string;
148
149
  };
149
150
  linkText: string;
150
151
  isLinkQuestionVisible: boolean;
@@ -54,6 +54,7 @@ export declare class LinkedResponsibilitiesComponent {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
+ collaborator: string;
57
58
  };
58
59
  reportTexts: {
59
60
  case_type: string;
@@ -58,6 +58,7 @@ export declare class RcDetailsComponent implements OnInit, OnDestroy {
58
58
  sequential: string;
59
59
  round_robin: string;
60
60
  anyone: string;
61
+ collaborator: string;
61
62
  };
62
63
  rcTexts: {
63
64
  case_type: string;
@@ -1,5 +1,6 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { DatePickerComponent } from 'ng2-date-picker';
3
+ import moment from 'moment';
3
4
  import { CommonService } from '../../../services/common.service';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class ReportDateComponent {
@@ -57,6 +58,7 @@ export declare class ReportDateComponent {
57
58
  sequential: string;
58
59
  round_robin: string;
59
60
  anyone: string;
61
+ collaborator: string;
60
62
  };
61
63
  reportTexts: {
62
64
  case_type: string;
@@ -156,6 +158,7 @@ export declare class ReportDateComponent {
156
158
  unSelectOnClick: boolean;
157
159
  openOnClick: boolean;
158
160
  openOnFocus: boolean;
161
+ max: moment.Moment;
159
162
  };
160
163
  fieldSelector: string[];
161
164
  payload: any;
@@ -5,4 +5,5 @@ export declare const API_URLS: {
5
5
  GET_STAGE_DETAILS: string;
6
6
  GET_CASE_OWNERS: string;
7
7
  ADD_CASE_TO_WORKFLOW: string;
8
+ VALIDATE_CASE_DEADLINE: string;
8
9
  };
@@ -353,3 +353,5 @@ export declare const EMAIL_REMINDERS: {
353
353
  };
354
354
  export declare const FIELD_SELECTOR: string[];
355
355
  export declare const MONTH_NAMES: string[];
356
+ export declare const BANNER_CASE_RESOLUTION_DEADLINE_WARNING = "Note: Please ensure that the case resolution deadline is not set before the associated task due date within this case.";
357
+ export declare const WORKFLOW_ID_PARAM = "?hasWorkflow=true";
@@ -18,28 +18,29 @@ import * as i16 from "./components/case-assignees/case-assignees.component";
18
18
  import * as i17 from "./components/case-owners/case-owners.component";
19
19
  import * as i18 from "./components/linked assessment/linked-assessment.component";
20
20
  import * as i19 from "./components/linked-responsibilities/linked-responsibilities.component";
21
- import * as i20 from "@angular/common";
22
- import * as i21 from "../ui-kit/tooltip/tooltip.module";
23
- import * as i22 from "../sharedComponents/floating-bar/floating-bar.module";
24
- import * as i23 from "../formgroup/formgroup.module";
25
- import * as i24 from "ng2-date-picker";
26
- import * as i25 from "@vcomply/editor";
27
- import * as i26 from "../ui-kit/popover/popover.module";
28
- import * as i27 from "./components/vc-dropdown/vc-dropdown.module";
29
- import * as i28 from "./components/form-selectBox/form-selectBox.module";
30
- import * as i29 from "@angular/forms";
31
- import * as i30 from "../sharedComponents/responsibility-centers-list/rc-list.module";
32
- import * as i31 from "../sharedComponents/format-and-evidence/format-and-evidence.module";
33
- import * as i32 from "../sharedComponents/v-loader/v-loader.module";
34
- import * as i33 from "../ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
35
- import * as i34 from "../sharedComponents/category-list-selection/category-list-selection.module";
36
- import * as i35 from "../sharedComponents/directive/directive.module";
37
- import * as i36 from "../sharedComponents/checkbox-list/checkbox-list.module";
38
- import * as i37 from "../pipes/pipes.module";
39
- import * as i38 from "../sharedComponents/group-users-list/group-users-list.component";
40
- import * as i39 from "../sharedComponents/link-responsibility/link-responsibility.module";
21
+ import * as i20 from "../ui-kit/banner/banner.component";
22
+ import * as i21 from "@angular/common";
23
+ import * as i22 from "../ui-kit/tooltip/tooltip.module";
24
+ import * as i23 from "../sharedComponents/floating-bar/floating-bar.module";
25
+ import * as i24 from "../formgroup/formgroup.module";
26
+ import * as i25 from "ng2-date-picker";
27
+ import * as i26 from "@vcomply/editor";
28
+ import * as i27 from "../ui-kit/popover/popover.module";
29
+ import * as i28 from "./components/vc-dropdown/vc-dropdown.module";
30
+ import * as i29 from "./components/form-selectBox/form-selectBox.module";
31
+ import * as i30 from "@angular/forms";
32
+ import * as i31 from "../sharedComponents/responsibility-centers-list/rc-list.module";
33
+ import * as i32 from "../sharedComponents/format-and-evidence/format-and-evidence.module";
34
+ import * as i33 from "../sharedComponents/v-loader/v-loader.module";
35
+ import * as i34 from "../ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
36
+ import * as i35 from "../sharedComponents/category-list-selection/category-list-selection.module";
37
+ import * as i36 from "../sharedComponents/directive/directive.module";
38
+ import * as i37 from "../sharedComponents/checkbox-list/checkbox-list.module";
39
+ import * as i38 from "../pipes/pipes.module";
40
+ import * as i39 from "../sharedComponents/group-users-list/group-users-list.component";
41
+ import * as i40 from "../sharedComponents/link-responsibility/link-responsibility.module";
41
42
  export declare class ReportCaseModule {
42
43
  static ɵfac: i0.ɵɵFactoryDeclaration<ReportCaseModule, never>;
43
- static ɵmod: i0.ɵɵNgModuleDeclaration<ReportCaseModule, [typeof i1.CaseTypeComponent, typeof i2.WorkflowCaseComponent, typeof i3.AssigneeComponent, typeof i4.DueDateComponent, typeof i5.InformationBlockComponent, typeof i6.CaseDetailsComponent, typeof i7.VCInputComponent, typeof i8.VCFormLabelComponent, typeof i9.FieldHolderComponent, typeof i10.RcDetailsComponent, typeof i11.CaseDropdownComponent, typeof i12.ReportDateComponent, typeof i13.CasePriorityComponent, typeof i14.CaseCategoryComponent, typeof i15.CaseResolutionDeadlineComponent, typeof i16.CaseAssigneesComponent, typeof i17.CaseOwnersComponent, typeof i18.LinkedAssessmentComponent, typeof i19.LinkedResponsibilitiesComponent], [typeof i20.CommonModule, typeof i21.TooltipModule, typeof i22.FloatingBarModule, typeof i23.FormgroupModule, typeof i24.DpDatePickerModule, typeof i25.VcomplyEditorModule, typeof i26.PopoverModule, typeof i27.VcDropdownModule, typeof i28.FormSelectBoxModule, typeof i29.FormsModule, typeof i30.RcListModule, typeof i31.FormatAndEvidenceModule, typeof i32.VLoaderModule, typeof i33.SmileyDialogInlineModule, typeof i34.CategoryListSelectionModule, typeof i35.SharedDirectiveModule, typeof i36.CheckboxListModule, typeof i37.PipesModule, typeof i38.GroupUsersListComponent, typeof i39.LinkResponsibilityModule], [typeof i2.WorkflowCaseComponent]>;
44
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ReportCaseModule, [typeof i1.CaseTypeComponent, typeof i2.WorkflowCaseComponent, typeof i3.AssigneeComponent, typeof i4.DueDateComponent, typeof i5.InformationBlockComponent, typeof i6.CaseDetailsComponent, typeof i7.VCInputComponent, typeof i8.VCFormLabelComponent, typeof i9.FieldHolderComponent, typeof i10.RcDetailsComponent, typeof i11.CaseDropdownComponent, typeof i12.ReportDateComponent, typeof i13.CasePriorityComponent, typeof i14.CaseCategoryComponent, typeof i15.CaseResolutionDeadlineComponent, typeof i16.CaseAssigneesComponent, typeof i17.CaseOwnersComponent, typeof i18.LinkedAssessmentComponent, typeof i19.LinkedResponsibilitiesComponent, typeof i20.BannerComponent], [typeof i21.CommonModule, typeof i22.TooltipModule, typeof i23.FloatingBarModule, typeof i24.FormgroupModule, typeof i25.DpDatePickerModule, typeof i26.VcomplyEditorModule, typeof i27.PopoverModule, typeof i28.VcDropdownModule, typeof i29.FormSelectBoxModule, typeof i30.FormsModule, typeof i31.RcListModule, typeof i32.FormatAndEvidenceModule, typeof i33.VLoaderModule, typeof i34.SmileyDialogInlineModule, typeof i35.CategoryListSelectionModule, typeof i36.SharedDirectiveModule, typeof i37.CheckboxListModule, typeof i38.PipesModule, typeof i39.GroupUsersListComponent, typeof i40.LinkResponsibilityModule], [typeof i2.WorkflowCaseComponent]>;
44
45
  static ɵinj: i0.ɵɵInjectorDeclaration<ReportCaseModule>;
45
46
  }
@@ -25,9 +25,10 @@ export declare class ReportACaseService {
25
25
  reportACase(payload: any): Observable<any>;
26
26
  addCaseToWorkflow(payload: any): Observable<any>;
27
27
  updateCase(payload: any, caseId: string): Observable<any>;
28
- getWorkflowDetails(params: any): import("rxjs").Subscription;
28
+ getWorkflowDetails(params: any, workflow_id?: string): import("rxjs").Subscription;
29
29
  getCaseOwners(workflow_id: string): Observable<Object>;
30
30
  getCaseDetails(caseId: string): Observable<Object>;
31
+ validateCaseDeadline(caseId: string): Observable<Object>;
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ReportACaseService, [null, null, { optional: true; }]>;
32
33
  static ɵprov: i0.ɵɵInjectableDeclaration<ReportACaseService>;
33
34
  }
@@ -158,6 +158,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
158
158
  sequential: string;
159
159
  round_robin: string;
160
160
  anyone: string;
161
+ collaborator: string;
161
162
  };
162
163
  caseType: typeof report;
163
164
  caseTypeSelected: report;
@@ -59,6 +59,7 @@ export declare class ApprovalCreateFormComponent implements OnInit {
59
59
  sequential: string;
60
60
  round_robin: string;
61
61
  anyone: string;
62
+ collaborator: string;
62
63
  };
63
64
  enableApprovalCreate: boolean;
64
65
  enableApprovalLevel: boolean;
@@ -54,6 +54,7 @@ export declare class ImageChoiceComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
+ collaborator: string;
57
58
  };
58
59
  constructor();
59
60
  ngOnInit(): void;
@@ -54,6 +54,7 @@ export declare class ThankYouComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
+ collaborator: string;
57
58
  };
58
59
  constructor();
59
60
  ngOnInit(): void;
@@ -54,6 +54,7 @@ export declare class WelcomeComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
+ collaborator: string;
57
58
  };
58
59
  constructor();
59
60
  ngOnInit(): void;
@@ -63,6 +63,7 @@ export declare class LogicComponent implements OnInit {
63
63
  sequential: string;
64
64
  round_robin: string;
65
65
  anyone: string;
66
+ collaborator: string;
66
67
  };
67
68
  modifyLogic(): void;
68
69
  addLogic(): void;
@@ -54,6 +54,7 @@ export declare class LogicImageChoiceComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
+ collaborator: string;
57
58
  };
58
59
  constructor();
59
60
  ngOnInit(): void;
@@ -54,6 +54,7 @@ export declare class ThankYouComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
+ collaborator: string;
57
58
  };
58
59
  constructor();
59
60
  ngOnInit(): void;
@@ -54,6 +54,7 @@ export declare class WelcomeComponent implements OnInit {
54
54
  sequential: string;
55
55
  round_robin: string;
56
56
  anyone: string;
57
+ collaborator: string;
57
58
  };
58
59
  constructor();
59
60
  ngOnInit(): void;
@@ -55,6 +55,7 @@ export declare class WelcomeThankyouComponent implements OnInit {
55
55
  sequential: string;
56
56
  round_robin: string;
57
57
  anyone: string;
58
+ collaborator: string;
58
59
  };
59
60
  deleteQuestion: EventEmitter<any>;
60
61
  entityData: any;
@@ -61,6 +61,7 @@ export declare class AssessmentListComponent implements OnInit {
61
61
  sequential: string;
62
62
  round_robin: string;
63
63
  anyone: string;
64
+ collaborator: string;
64
65
  };
65
66
  animation: boolean;
66
67
  selectedData: any;
@@ -57,6 +57,7 @@ export declare class AuditCategoryListComponent implements OnInit, OnChanges {
57
57
  sequential: string;
58
58
  round_robin: string;
59
59
  anyone: string;
60
+ collaborator: string;
60
61
  };
61
62
  selectedData: any;
62
63
  selectedIndex: number;
@@ -1,6 +1,12 @@
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
+ };
4
10
  responsibilityBulkUpload: any;
5
11
  fileName: any;
6
12
  defaultOwner: any;
@@ -59,6 +59,7 @@ export declare class CategoryListComponent implements OnInit, OnChanges {
59
59
  sequential: string;
60
60
  round_robin: string;
61
61
  anyone: string;
62
+ collaborator: string;
62
63
  };
63
64
  animation: boolean;
64
65
  saveSelectedCategory: EventEmitter<any>;
@@ -73,6 +73,7 @@ export declare class CategoryListSelectionComponent implements OnInit {
73
73
  sequential: string;
74
74
  round_robin: string;
75
75
  anyone: string;
76
+ collaborator: string;
76
77
  };
77
78
  list: never[];
78
79
  searchKey: string;
@@ -60,6 +60,7 @@ export declare class CategoryMultiSelectComponent implements OnInit, OnChanges {
60
60
  sequential: string;
61
61
  round_robin: string;
62
62
  anyone: string;
63
+ collaborator: string;
63
64
  };
64
65
  search: string;
65
66
  activeTab: any;
@@ -66,6 +66,7 @@ export declare class CheckboxListComponent implements OnInit {
66
66
  sequential: string;
67
67
  round_robin: string;
68
68
  anyone: string;
69
+ collaborator: string;
69
70
  };
70
71
  constructor();
71
72
  ngOnInit(): void;
@@ -1,18 +1,19 @@
1
1
  import { PlatformLocation } from '@angular/common';
2
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { SnackBarService } from '../../ui-kit/snack-bar/snack-bar.service';
5
5
  import { PolicyService } from '../../workflow-services/policy.service';
6
6
  import { PolicyAPIService } from '../../workflow-services/policy-api.service';
7
7
  import { IframeService } from '../../services/iframe.service';
8
8
  import * as i0 from "@angular/core";
9
- export declare class DocumentSectionComponent implements OnInit, OnChanges {
9
+ export declare class DocumentSectionComponent implements OnInit, OnDestroy {
10
10
  private snackBar;
11
11
  private policyService;
12
12
  private policyAPIService;
13
13
  private router;
14
14
  private route;
15
15
  private iframeService;
16
+ private templateViewSubscription;
16
17
  private fileToUpload;
17
18
  filename: string;
18
19
  fileType: string;
@@ -32,7 +33,6 @@ export declare class DocumentSectionComponent implements OnInit, OnChanges {
32
33
  member_obj_id: any;
33
34
  userInfo: any;
34
35
  templateUrl: string;
35
- isTemplateOpened: boolean;
36
36
  disconnectRefresh: EventEmitter<any>;
37
37
  editPolicy: EventEmitter<any>;
38
38
  openTemplate: EventEmitter<any>;
@@ -42,21 +42,24 @@ export declare class DocumentSectionComponent implements OnInit, OnChanges {
42
42
  message: string;
43
43
  };
44
44
  constructor(snackBar: SnackBarService, policyService: PolicyService, policyAPIService: PolicyAPIService, router: Router, route: ActivatedRoute, platformLocation: PlatformLocation, iframeService: IframeService);
45
- ngOnChanges(changes: SimpleChanges): void;
46
45
  ngOnInit(): void;
46
+ checkTemplateView(): void;
47
+ ngOnDestroy(): void;
47
48
  initialiseFeatureFlags(): void;
48
49
  redirectUserToWordPolicy(): void;
49
50
  createWordPolicy(): void;
50
51
  handleFileInput(files: FileList): void;
51
52
  showPdfBlock: boolean;
52
53
  showDocxBlock: boolean;
54
+ get isNextButtonDisabled(): boolean;
53
55
  uploadFile(event: any): void;
54
56
  uploadDocxfile(event: any): void;
57
+ resetUploads(): void;
55
58
  resetDocsError(): void;
56
59
  changeDocType(event: any): void;
57
60
  editor(event: string): void;
58
61
  editPolicyEmit(): void;
59
62
  openTemplateList(): void;
60
63
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentSectionComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<DocumentSectionComponent, "lib-document-section", never, { "selectedDocumentType": { "alias": "selectedDocumentType"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "templateView": { "alias": "templateView"; "required": false; }; "policyId": { "alias": "policyId"; "required": false; }; "policyName": { "alias": "policyName"; "required": false; }; "organization_id": { "alias": "organization_id"; "required": false; }; "member_obj_id": { "alias": "member_obj_id"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "templateUrl": { "alias": "templateUrl"; "required": false; }; "isTemplateOpened": { "alias": "isTemplateOpened"; "required": false; }; }, { "disconnectRefresh": "disconnectRefresh"; "editPolicy": "editPolicy"; "openTemplate": "openTemplate"; }, never, never, false, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocumentSectionComponent, "lib-document-section", never, { "selectedDocumentType": { "alias": "selectedDocumentType"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "templateView": { "alias": "templateView"; "required": false; }; "policyId": { "alias": "policyId"; "required": false; }; "policyName": { "alias": "policyName"; "required": false; }; "organization_id": { "alias": "organization_id"; "required": false; }; "member_obj_id": { "alias": "member_obj_id"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "templateUrl": { "alias": "templateUrl"; "required": false; }; }, { "disconnectRefresh": "disconnectRefresh"; "editPolicy": "editPolicy"; "openTemplate": "openTemplate"; }, never, never, false, never>;
62
65
  }