vcomply-workflow-engine 6.1.66 → 6.1.68

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 (129) hide show
  1. package/esm2022/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +34 -6
  2. package/esm2022/lib/constants/assets.constants.mjs +2 -1
  3. package/esm2022/lib/constants/file-upload.constant.mjs +4 -0
  4. package/esm2022/lib/constants/policy.constant.mjs +6 -0
  5. package/esm2022/lib/constants/regix.constants.mjs +4 -0
  6. package/esm2022/lib/constants/responsibility.mjs +8 -0
  7. package/esm2022/lib/formgroup/select/cs-select/cs-select.component.mjs +2 -2
  8. package/esm2022/lib/interfaces/policy.interface.mjs +2 -0
  9. package/esm2022/lib/log-an-issue/log-an-issue.component.mjs +9 -1
  10. package/esm2022/lib/more-option/more-option.component.mjs +3 -13
  11. package/esm2022/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.mjs +29 -3
  12. package/esm2022/lib/report-a-case/components/due-date/due-date.component.mjs +55 -29
  13. package/esm2022/lib/report-a-case/components/report-date/report-date.component.mjs +32 -13
  14. package/esm2022/lib/report-a-case/constants/api.constants.mjs +3 -2
  15. package/esm2022/lib/report-a-case/constants/report-case.constants.mjs +3 -1
  16. package/esm2022/lib/report-a-case/report-case.module.mjs +5 -2
  17. package/esm2022/lib/report-a-case/services/date-utility.service.mjs +29 -0
  18. package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +16 -4
  19. package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +54 -45
  20. package/esm2022/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.mjs +3 -1
  21. package/esm2022/lib/sharedComponents/document-section/document-section.component.mjs +39 -14
  22. package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.component.mjs +27 -11
  23. package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.module.mjs +19 -15
  24. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +2 -2
  25. package/esm2022/lib/sharedComponents/group-users-list/group-users-list.component.mjs +19 -19
  26. package/esm2022/lib/sharedComponents/pipes/risk-class.pipe.mjs +19 -0
  27. package/esm2022/lib/sharedComponents/policy-template/select-template-list/select-template-list.component.mjs +15 -5
  28. package/esm2022/lib/ui-kit/banner/banner.component.mjs +44 -0
  29. package/esm2022/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.mjs +12 -5
  30. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +81 -21
  31. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +2 -2
  32. package/esm2022/lib/workflow-engine.module.mjs +5 -2
  33. package/esm2022/lib/workflow-policy/ms-word.constants.mjs +2 -2
  34. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +70 -35
  35. package/esm2022/lib/workflow-program/constants.mjs +9 -1
  36. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/pipes/tooltip-message.pipe.mjs +7 -1
  37. package/esm2022/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.mjs +11 -13
  38. package/esm2022/lib/workflow-program/workflow-program.component.mjs +5 -5
  39. package/esm2022/lib/workflow-services/policy.service.mjs +7 -1
  40. package/esm2022/lib/workflow-services/programs.service.mjs +1 -1
  41. package/fesm2022/vcomply-workflow-engine.mjs +1138 -751
  42. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  43. package/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.d.ts +1 -0
  44. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +3 -0
  45. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +1 -0
  46. package/lib/constants/assets.constants.d.ts +1 -0
  47. package/lib/constants/file-upload.constant.d.ts +3 -0
  48. package/lib/constants/policy.constant.d.ts +2 -0
  49. package/lib/constants/regix.constants.d.ts +3 -0
  50. package/lib/constants/responsibility.d.ts +7 -0
  51. package/lib/interfaces/policy.interface.d.ts +5 -0
  52. package/lib/log-an-issue/log-an-issue.component.d.ts +2 -0
  53. package/lib/more-option/more-option.component.d.ts +1 -0
  54. package/lib/report-a-case/components/assignee/assignee.component.d.ts +1 -0
  55. package/lib/report-a-case/components/case-assignees/case-assignees.component.d.ts +1 -0
  56. package/lib/report-a-case/components/case-category/case-category.component.d.ts +1 -0
  57. package/lib/report-a-case/components/case-details/case-details.component.d.ts +1 -0
  58. package/lib/report-a-case/components/case-owners/case-owners.component.d.ts +1 -0
  59. package/lib/report-a-case/components/case-priority/case-priority.component.d.ts +1 -0
  60. package/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.d.ts +9 -3
  61. package/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.d.ts +1 -0
  62. package/lib/report-a-case/components/due-date/due-date.component.d.ts +10 -2
  63. package/lib/report-a-case/components/field-holder/field-holder.component.d.ts +1 -0
  64. package/lib/report-a-case/components/linked assessment/linked-assessment.component.d.ts +1 -0
  65. package/lib/report-a-case/components/linked-responsibilities/linked-responsibilities.component.d.ts +1 -0
  66. package/lib/report-a-case/components/rc-details/rc-details.component.d.ts +1 -0
  67. package/lib/report-a-case/components/report-date/report-date.component.d.ts +9 -1
  68. package/lib/report-a-case/constants/api.constants.d.ts +1 -0
  69. package/lib/report-a-case/constants/report-case.constants.d.ts +2 -0
  70. package/lib/report-a-case/report-case.module.d.ts +23 -22
  71. package/lib/report-a-case/services/date-utility.service.d.ts +9 -0
  72. package/lib/report-a-case/services/report-a-case.service.d.ts +2 -1
  73. package/lib/report-a-case/workflow-case/workflow-case.component.d.ts +5 -1
  74. package/lib/sharedComponents/approval-workflow/approval-create-form/approval-create-form.component.d.ts +1 -0
  75. package/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.d.ts +1 -0
  76. package/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.d.ts +1 -0
  77. package/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.d.ts +1 -0
  78. package/lib/sharedComponents/assessment-editor/components/logic/logic.component.d.ts +1 -0
  79. package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.d.ts +1 -0
  80. package/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.d.ts +1 -0
  81. package/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.d.ts +1 -0
  82. package/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.d.ts +1 -0
  83. package/lib/sharedComponents/assessment-list/assessment-list.component.d.ts +1 -0
  84. package/lib/sharedComponents/audit-category-list/audit-category-list.component.d.ts +1 -0
  85. package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +6 -0
  86. package/lib/sharedComponents/category-list/category-list.component.d.ts +1 -0
  87. package/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.d.ts +1 -0
  88. package/lib/sharedComponents/category-multiselect/category-multi-select.component.d.ts +1 -0
  89. package/lib/sharedComponents/checkbox-list/checkbox-list.component.d.ts +1 -0
  90. package/lib/sharedComponents/document-section/document-section.component.d.ts +8 -5
  91. package/lib/sharedComponents/format-and-evidence/format-and-evidence.component.d.ts +5 -1
  92. package/lib/sharedComponents/format-and-evidence/format-and-evidence.module.d.ts +8 -7
  93. package/lib/sharedComponents/framework-list/framework-list.component.d.ts +1 -0
  94. package/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.d.ts +1 -0
  95. package/lib/sharedComponents/group-users-list/group-users-list.component.d.ts +1 -0
  96. package/lib/sharedComponents/link-program/link-program/link-program.component.d.ts +1 -0
  97. package/lib/sharedComponents/owner-list/owner-list.component.d.ts +1 -0
  98. package/lib/sharedComponents/pipes/risk-class.pipe.d.ts +7 -0
  99. package/lib/sharedComponents/policy-access/policy-access.component.d.ts +1 -0
  100. package/lib/sharedComponents/policy-template/select-template-list/select-template-list.component.d.ts +1 -0
  101. package/lib/sharedComponents/program-listing/program-listing.component.d.ts +1 -0
  102. package/lib/sharedComponents/radio-list/radio-list.component.d.ts +1 -0
  103. package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.d.ts +1 -0
  104. package/lib/sharedComponents/responsibility-centers-list/responsibility-centers-list.component.d.ts +1 -0
  105. package/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.d.ts +1 -0
  106. package/lib/sharedComponents/review-frequency/review-frequency.component.d.ts +1 -0
  107. package/lib/sharedComponents/roles-list/roles-list.component.d.ts +1 -0
  108. package/lib/sharedComponents/select-approvers/select-approvers.component.d.ts +1 -0
  109. package/lib/sharedComponents/users-radio-list/users-radio-list.component.d.ts +1 -0
  110. package/lib/ui-kit/banner/banner.component.d.ts +8 -0
  111. package/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.d.ts +3 -1
  112. package/lib/ui-kit/pagination/pagination/pagination.component.d.ts +1 -0
  113. package/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.d.ts +1 -0
  114. package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +1 -0
  115. package/lib/workflow-assessment/workflow-assessment.component.d.ts +1 -0
  116. package/lib/workflow-compliance/workflow-compliance.component.d.ts +5 -0
  117. package/lib/workflow-engine.module.d.ts +44 -43
  118. package/lib/workflow-policy/workflow-policy.component.d.ts +3 -0
  119. package/lib/workflow-program/constants.d.ts +3 -0
  120. package/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.d.ts +1 -0
  121. package/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.d.ts +1 -0
  122. package/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.d.ts +1 -0
  123. package/lib/workflow-program/create-program-ui/role-list/role-list.component.d.ts +1 -0
  124. package/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.d.ts +1 -0
  125. package/lib/workflow-program/workflow-program.component.d.ts +1 -0
  126. package/lib/workflow-risk/workflow-risk.component.d.ts +2 -1
  127. package/lib/workflow-services/policy.service.d.ts +2 -0
  128. package/lib/workflow-survey-form/workflow-survey-form.component.d.ts +1 -0
  129. 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;
@@ -116,6 +116,8 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
116
116
  name: number;
117
117
  };
118
118
  };
119
+ isDayInvalid: boolean;
120
+ isDateFormatInvalid: boolean;
119
121
  constructor(riskService: AddRiskService, responsibilityService: ResponsibilityService, authService: AuthService, frequencyService: FrequencyBulkService, snackBar: SnackBarService, iframeService: IframeService);
120
122
  ngOnChanges(changes: SimpleChanges): void;
121
123
  ngOnInit(): void;
@@ -189,6 +191,7 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
189
191
  * @returns An object with the following properties:
190
192
  */
191
193
  setReportDetails(report: any, tabType: string, isProgram: boolean): any;
194
+ isValidRiskClass(riskClass: any): boolean;
192
195
  /**
193
196
  * It takes a string, removes all whitespace, and returns the string
194
197
  * @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,3 @@
1
+ export declare const FILE_URL: {
2
+ format: string;
3
+ };
@@ -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' | '';
@@ -251,6 +252,7 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
251
252
  selectFile(type: string, files: any): void;
252
253
  uploadFile(file: any, type: string): void;
253
254
  deleteFile(file: any, type: string): void;
255
+ handleIssueIdFromResponse(res: any): void;
254
256
  addIssue(): void;
255
257
  closeSmiley(evt?: any): void;
256
258
  /**
@@ -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[];
@@ -2,10 +2,12 @@ import { ElementRef, OnInit, EventEmitter } from '@angular/core';
2
2
  import { DatePickerComponent, IDatePickerConfig } from 'ng2-date-picker';
3
3
  import { CommonService } from '../../../services/common.service';
4
4
  import { FrequencyService } from '../../../sharedComponents/frequency/frequency.service';
5
+ import { DateUtilityService } from '../../services/date-utility.service';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class DueDateComponent implements OnInit {
7
8
  private commonDateService;
8
9
  private frequencyService;
10
+ private dateUtilityService;
9
11
  datePicker: DatePickerComponent;
10
12
  ASSETS: {
11
13
  responsibility_center: string;
@@ -60,6 +62,7 @@ export declare class DueDateComponent implements OnInit {
60
62
  sequential: string;
61
63
  round_robin: string;
62
64
  anyone: string;
65
+ collaborator: string;
63
66
  };
64
67
  animation: boolean;
65
68
  datePickerPopUp: ElementRef;
@@ -173,6 +176,7 @@ export declare class DueDateComponent implements OnInit {
173
176
  escalationEmail: number;
174
177
  showError: boolean;
175
178
  showAssigneeError: boolean;
179
+ CaseDeadlineWarning: string;
176
180
  payload: any;
177
181
  dueDate: any;
178
182
  workflowDetails: any;
@@ -180,13 +184,17 @@ export declare class DueDateComponent implements OnInit {
180
184
  groupList: any[];
181
185
  mode: string;
182
186
  set initialSelection(value: any);
187
+ min: string;
188
+ taskCount: number;
189
+ validDeadline: string;
183
190
  closeDueDateResolution: EventEmitter<any>;
184
191
  closeDueDateEvent: EventEmitter<any>;
185
- constructor(commonDateService: CommonService, frequencyService: FrequencyService);
192
+ constructor(commonDateService: CommonService, frequencyService: FrequencyService, dateUtilityService: DateUtilityService);
186
193
  ngOnInit(): void;
187
194
  private initializeEditMode;
188
195
  private initializeDeadlineValues;
189
196
  private initializeStageAssignees;
197
+ private setMinDate;
190
198
  private createStageAssigneeMap;
191
199
  private mapWorkflowStages;
192
200
  openDatePicker(): void;
@@ -216,5 +224,5 @@ export declare class DueDateComponent implements OnInit {
216
224
  documentClick(event: any): void;
217
225
  onInputChange(): void;
218
226
  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>;
227
+ 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
228
  }
@@ -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,9 +1,14 @@
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';
5
+ import { AuthService } from '../../../workflow-services/auth.service';
6
+ import { DateUtilityService } from '../../services/date-utility.service';
4
7
  import * as i0 from "@angular/core";
5
8
  export declare class ReportDateComponent {
6
9
  private commonService;
10
+ private authService;
11
+ private dateUtilityService;
7
12
  ASSETS: {
8
13
  responsibility_center: string;
9
14
  case_type: string;
@@ -57,6 +62,7 @@ export declare class ReportDateComponent {
57
62
  sequential: string;
58
63
  round_robin: string;
59
64
  anyone: string;
65
+ collaborator: string;
60
66
  };
61
67
  reportTexts: {
62
68
  case_type: string;
@@ -156,17 +162,19 @@ export declare class ReportDateComponent {
156
162
  unSelectOnClick: boolean;
157
163
  openOnClick: boolean;
158
164
  openOnFocus: boolean;
165
+ max: moment.Moment;
159
166
  };
160
167
  fieldSelector: string[];
161
168
  payload: any;
162
169
  fieldSelected: string;
163
170
  validationError: any;
164
- constructor(commonService: CommonService);
171
+ constructor(commonService: CommonService, authService: AuthService, dateUtilityService: DateUtilityService);
165
172
  datePicker: DatePickerComponent;
166
173
  datePickerPopUp: ElementRef;
167
174
  openDatePicker(): void;
168
175
  closeDatePicker(evt: any): void;
169
176
  resetValidationErrors(): void;
177
+ getDisplayDate(utcDate: Date | string | null): string;
170
178
  documentClick(event: any): void;
171
179
  static ɵfac: i0.ɵɵFactoryDeclaration<ReportDateComponent, never>;
172
180
  static ɵcmp: i0.ɵɵComponentDeclaration<ReportDateComponent, "app-report-date", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, {}, never, never, false, never>;
@@ -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,29 +18,30 @@ 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";
41
- import * as i40 from "../ui-kit/no-data/no-data.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";
42
+ import * as i41 from "../ui-kit/no-data/no-data.module";
42
43
  export declare class ReportCaseModule {
43
44
  static ɵfac: i0.ɵɵFactoryDeclaration<ReportCaseModule, never>;
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.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 i40.NoDataModule], [typeof i2.WorkflowCaseComponent]>;
45
+ 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 i41.NoDataModule], [typeof i2.WorkflowCaseComponent]>;
45
46
  static ɵinj: i0.ɵɵInjectorDeclaration<ReportCaseModule>;
46
47
  }
@@ -0,0 +1,9 @@
1
+ import { AuthService } from '../../workflow-services/auth.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DateUtilityService {
4
+ private authService;
5
+ constructor(authService: AuthService);
6
+ convertToUTC(date: string | Date): Date;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateUtilityService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<DateUtilityService>;
9
+ }
@@ -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
  }
@@ -6,6 +6,7 @@ import { OrganizationUserService } from '../../workflow-services/organization-us
6
6
  import { ResponsibilityService } from '../../workflow-services/responsibility.service';
7
7
  import { ComplianceCommonService } from '../../workflow-services/common-workflow-services/compliance-common.service';
8
8
  import { IframeService } from '../../services/iframe.service';
9
+ import { DateUtilityService } from '../services/date-utility.service';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
11
12
  private reportACaseService;
@@ -14,6 +15,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
14
15
  private responsibilityService;
15
16
  private complianceCommonService;
16
17
  private iframeService;
18
+ private dateUtilityService;
17
19
  reportTexts: {
18
20
  case_type: string;
19
21
  report_case: string;
@@ -158,6 +160,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
158
160
  sequential: string;
159
161
  round_robin: string;
160
162
  anyone: string;
163
+ collaborator: string;
161
164
  };
162
165
  caseType: typeof report;
163
166
  caseTypeSelected: report;
@@ -274,7 +277,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
274
277
  userListEmitter: EventEmitter<any>;
275
278
  disconnectRefresh: EventEmitter<any>;
276
279
  pickerChanged: EventEmitter<any>;
277
- constructor(reportACaseService: ReportACaseService, uiKitService: UiKitService, organizationUserService: OrganizationUserService, responsibilityService: ResponsibilityService, complianceCommonService: ComplianceCommonService, iframeService: IframeService);
280
+ constructor(reportACaseService: ReportACaseService, uiKitService: UiKitService, organizationUserService: OrganizationUserService, responsibilityService: ResponsibilityService, complianceCommonService: ComplianceCommonService, iframeService: IframeService, dateUtilityService: DateUtilityService);
278
281
  ngOnDestroy(): void;
279
282
  ngOnInit(): void;
280
283
  permissionLoader(): void;
@@ -297,6 +300,7 @@ export declare class WorkflowCaseComponent implements OnInit, OnDestroy {
297
300
  onPriorityChange(event: any): void;
298
301
  onRcChange(event: any): void;
299
302
  onCaseTypeDropdownChange(event: any): void;
303
+ handleCaseIdFromResponse(res: any): void;
300
304
  reportCase(): void;
301
305
  updateCase(): void;
302
306
  checkValidation(payload: any): boolean;
@@ -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;