vcomply-workflow-engine 5.0.3 → 5.0.4

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 (64) hide show
  1. package/esm2022/lib/constants/assessts.constants.mjs +4 -3
  2. package/esm2022/lib/more-option/more-option.component.mjs +79 -10
  3. package/esm2022/lib/pipes/pipes.module.mjs +10 -5
  4. package/esm2022/lib/pipes/user.pipe.mjs +17 -0
  5. package/esm2022/lib/report-a-case/components/assignee/assignee.component.mjs +42 -6
  6. package/esm2022/lib/report-a-case/components/case-assignees/case-assignees.component.mjs +131 -25
  7. package/esm2022/lib/report-a-case/components/case-category/case-category.component.mjs +157 -11
  8. package/esm2022/lib/report-a-case/components/case-details/case-details.component.mjs +25 -6
  9. package/esm2022/lib/report-a-case/components/case-owners/case-owners.component.mjs +222 -0
  10. package/esm2022/lib/report-a-case/components/case-priority/case-priority.component.mjs +61 -6
  11. package/esm2022/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.mjs +62 -30
  12. package/esm2022/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.mjs +51 -5
  13. package/esm2022/lib/report-a-case/components/chip-capsule/chip-capsule.component.mjs +4 -4
  14. package/esm2022/lib/report-a-case/components/due-date/due-date.component.mjs +196 -20
  15. package/esm2022/lib/report-a-case/components/form-selectBox/form-selectBox.component.mjs +28 -3
  16. package/esm2022/lib/report-a-case/components/information-block/information-block.component.mjs +19 -6
  17. package/esm2022/lib/report-a-case/components/rc-details/rc-details.component.mjs +229 -10
  18. package/esm2022/lib/report-a-case/components/report-date/report-date.component.mjs +27 -12
  19. package/esm2022/lib/report-a-case/constants/api.constants.mjs +3 -2
  20. package/esm2022/lib/report-a-case/constants/report-case.constants.mjs +124 -7
  21. package/esm2022/lib/report-a-case/report-case.module.mjs +5 -2
  22. package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +14 -1
  23. package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +378 -175
  24. package/esm2022/lib/services/RBAC.service.mjs +66 -0
  25. package/esm2022/lib/services/api.service.mjs +32 -0
  26. package/esm2022/lib/services/report-case-permission.service.mjs +37 -0
  27. package/esm2022/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.mjs +22 -11
  28. package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.component.mjs +14 -5
  29. package/esm2022/lib/sharedComponents/radio-list-with-pagination/radio-list-with-pagination.module.mjs +5 -4
  30. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +55 -29
  31. package/fesm2022/vcomply-workflow-engine.mjs +2956 -1116
  32. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  33. package/lib/constants/assessts.constants.d.ts +1 -0
  34. package/lib/more-option/more-option.component.d.ts +4 -1
  35. package/lib/pipes/pipes.module.d.ts +3 -2
  36. package/lib/pipes/user.pipe.d.ts +7 -0
  37. package/lib/report-a-case/components/assignee/assignee.component.d.ts +14 -2
  38. package/lib/report-a-case/components/case-assignees/case-assignees.component.d.ts +43 -5
  39. package/lib/report-a-case/components/case-category/case-category.component.d.ts +43 -2
  40. package/lib/report-a-case/components/case-details/case-details.component.d.ts +29 -1
  41. package/lib/report-a-case/components/case-owners/case-owners.component.d.ts +132 -0
  42. package/lib/report-a-case/components/case-priority/case-priority.component.d.ts +38 -2
  43. package/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.d.ts +37 -7
  44. package/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.d.ts +37 -2
  45. package/lib/report-a-case/components/case-type-slider/case-type.component.d.ts +24 -0
  46. package/lib/report-a-case/components/due-date/due-date.component.d.ts +68 -11
  47. package/lib/report-a-case/components/field-holder/field-holder.component.d.ts +1 -0
  48. package/lib/report-a-case/components/form-selectBox/form-selectBox.component.d.ts +7 -1
  49. package/lib/report-a-case/components/information-block/information-block.component.d.ts +6 -0
  50. package/lib/report-a-case/components/rc-details/rc-details.component.d.ts +40 -1
  51. package/lib/report-a-case/components/report-date/report-date.component.d.ts +29 -0
  52. package/lib/report-a-case/constants/api.constants.d.ts +1 -0
  53. package/lib/report-a-case/constants/report-case.constants.d.ts +120 -2
  54. package/lib/report-a-case/report-case.module.d.ts +21 -20
  55. package/lib/report-a-case/services/report-a-case.service.d.ts +3 -0
  56. package/lib/report-a-case/workflow-case/workflow-case.component.d.ts +125 -48
  57. package/lib/services/RBAC.service.d.ts +27 -0
  58. package/lib/services/api.service.d.ts +13 -0
  59. package/lib/services/report-case-permission.service.d.ts +13 -0
  60. package/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.d.ts +2 -1
  61. package/lib/sharedComponents/radio-list-with-pagination/radio-list-with-pagination.module.d.ts +2 -1
  62. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +9 -1
  63. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
  64. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
2
- import { ComplianceCommonService } from '../../../workflow-services/common-workflow-services/compliance-common.service';
2
+ import { ReportACaseService } from '../../services/report-a-case.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class CaseResolutionDeadlineComponent {
5
- private complianceService;
5
+ private reportACaseService;
6
6
  ASSETS: {
7
7
  responsibility_center: string;
8
8
  case_type: string;
@@ -12,11 +12,13 @@ export declare class CaseResolutionDeadlineComponent {
12
12
  case_resolution_deadline: string;
13
13
  case_assignees: string;
14
14
  format_evidence: string;
15
+ case_owners: string;
15
16
  };
16
17
  dueDateTexts: {
17
18
  case_type: string;
18
19
  report_case: string;
19
20
  add_case: string;
21
+ default_flow: string;
20
22
  receive_updates: string;
21
23
  case_details: {
22
24
  name: {
@@ -32,6 +34,11 @@ export declare class CaseResolutionDeadlineComponent {
32
34
  placeholder: string;
33
35
  singularText: string;
34
36
  pluralText: string;
37
+ mainRcPlaceholder: string;
38
+ separateRcText: string;
39
+ separateRcTooltip: string;
40
+ sameRcText: string;
41
+ sameRcTooltip: string;
35
42
  };
36
43
  case_type: {
37
44
  title: string;
@@ -41,6 +48,10 @@ export declare class CaseResolutionDeadlineComponent {
41
48
  title: string;
42
49
  placeholder: string;
43
50
  };
51
+ additional_category: {
52
+ title: string;
53
+ placeholder: string;
54
+ };
44
55
  when: {
45
56
  title: string;
46
57
  placeholder: string;
@@ -62,6 +73,10 @@ export declare class CaseResolutionDeadlineComponent {
62
73
  title: string;
63
74
  placeholder: string;
64
75
  };
76
+ owners: {
77
+ title: string;
78
+ placeholder: string;
79
+ };
65
80
  };
66
81
  tooltipMessage: {
67
82
  report_case: string;
@@ -71,6 +86,16 @@ export declare class CaseResolutionDeadlineComponent {
71
86
  };
72
87
  errorMessage: {
73
88
  rc: string;
89
+ name: string;
90
+ description: string;
91
+ caseType: string;
92
+ reportDate: string;
93
+ priority: string;
94
+ mainRc: string;
95
+ caseOwner: string;
96
+ caseAssignee: string;
97
+ dueDate: string;
98
+ stageAssignee: string;
74
99
  };
75
100
  };
76
101
  responsibilityCentersList: any[];
@@ -82,13 +107,18 @@ export declare class CaseResolutionDeadlineComponent {
82
107
  state: string;
83
108
  selectedItems: any[];
84
109
  selectedRcList: any[];
110
+ workflowDetails: any;
111
+ initialResolutionDeadline: any;
85
112
  payload: any;
86
- constructor(complianceService: ComplianceCommonService);
87
- ngOnInit(): void;
88
- getResponsibilityCentersList(): void;
89
- saveSelectedRCList(event: any): void;
113
+ userList: any[];
114
+ groupList: any[];
115
+ set initialSelection(value: any);
116
+ constructor(reportACaseService: ReportACaseService);
117
+ saveSelectedDueDate(): void;
90
118
  setSelectedRcList(event: any): void;
91
119
  activateSelector(active: boolean): void;
120
+ getWorkflowDetails(): void;
121
+ isCaseResolutionDeadlineDisabled(): boolean;
92
122
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseResolutionDeadlineComponent, never>;
93
- static ɵcmp: i0.ɵɵComponentDeclaration<CaseResolutionDeadlineComponent, "app-case-resolution-deadline", never, { "payload": { "alias": "payload"; "required": false; }; }, {}, never, never, false, never>;
123
+ 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; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; }, {}, never, never, false, never>;
94
124
  }
@@ -1,6 +1,7 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
3
3
  import { ReportACaseService } from '../../services/report-a-case.service';
4
+ import { report } from '../case-type-slider/case-type.component';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CaseDropdownComponent implements OnInit {
6
7
  private reportACaseService;
@@ -8,6 +9,7 @@ export declare class CaseDropdownComponent implements OnInit {
8
9
  case_type: string;
9
10
  report_case: string;
10
11
  add_case: string;
12
+ default_flow: string;
11
13
  receive_updates: string;
12
14
  case_details: {
13
15
  name: {
@@ -23,6 +25,11 @@ export declare class CaseDropdownComponent implements OnInit {
23
25
  placeholder: string;
24
26
  singularText: string;
25
27
  pluralText: string;
28
+ mainRcPlaceholder: string;
29
+ separateRcText: string;
30
+ separateRcTooltip: string;
31
+ sameRcText: string;
32
+ sameRcTooltip: string;
26
33
  };
27
34
  case_type: {
28
35
  title: string;
@@ -32,6 +39,10 @@ export declare class CaseDropdownComponent implements OnInit {
32
39
  title: string;
33
40
  placeholder: string;
34
41
  };
42
+ additional_category: {
43
+ title: string;
44
+ placeholder: string;
45
+ };
35
46
  when: {
36
47
  title: string;
37
48
  placeholder: string;
@@ -53,6 +64,10 @@ export declare class CaseDropdownComponent implements OnInit {
53
64
  title: string;
54
65
  placeholder: string;
55
66
  };
67
+ owners: {
68
+ title: string;
69
+ placeholder: string;
70
+ };
56
71
  };
57
72
  tooltipMessage: {
58
73
  report_case: string;
@@ -62,6 +77,16 @@ export declare class CaseDropdownComponent implements OnInit {
62
77
  };
63
78
  errorMessage: {
64
79
  rc: string;
80
+ name: string;
81
+ description: string;
82
+ caseType: string;
83
+ reportDate: string;
84
+ priority: string;
85
+ mainRc: string;
86
+ caseOwner: string;
87
+ caseAssignee: string;
88
+ dueDate: string;
89
+ stageAssignee: string;
65
90
  };
66
91
  };
67
92
  ASSETS: {
@@ -73,6 +98,7 @@ export declare class CaseDropdownComponent implements OnInit {
73
98
  case_resolution_deadline: string;
74
99
  case_assignees: string;
75
100
  format_evidence: string;
101
+ case_owners: string;
76
102
  };
77
103
  config: any;
78
104
  chipItems: any[];
@@ -80,15 +106,24 @@ export declare class CaseDropdownComponent implements OnInit {
80
106
  selectionState: typeof SelectionState;
81
107
  selectionPopupState: typeof SelectionPopupState;
82
108
  isLoading: boolean;
109
+ initialType: any;
110
+ state: SelectionState;
111
+ caseType: typeof report;
83
112
  fieldSelected: string;
84
113
  payload: any;
85
114
  validationError: any;
115
+ set initialSelection(value: any);
116
+ mode: string;
117
+ caseTypeSelected: string;
118
+ workflowType: string;
86
119
  onCaseTypeChange: EventEmitter<any>;
87
120
  onCaseTypeLoading: EventEmitter<boolean>;
88
121
  constructor(reportACaseService: ReportACaseService);
89
122
  ngOnInit(): void;
123
+ ngOnChanges(changes: SimpleChanges): void;
90
124
  getAllTypes(): void;
125
+ populateInitialType(): void;
91
126
  onSelectedItemListChange(event: any): void;
92
127
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseDropdownComponent, never>;
93
- static ɵcmp: i0.ɵɵComponentDeclaration<CaseDropdownComponent, "app-case-type-dropdown", never, { "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "payload": { "alias": "payload"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, { "onCaseTypeChange": "onCaseTypeChange"; "onCaseTypeLoading": "onCaseTypeLoading"; }, never, never, false, never>;
128
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseDropdownComponent, "app-case-type-dropdown", never, { "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "payload": { "alias": "payload"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "caseTypeSelected": { "alias": "caseTypeSelected"; "required": false; }; "workflowType": { "alias": "workflowType"; "required": false; }; }, { "onCaseTypeChange": "onCaseTypeChange"; "onCaseTypeLoading": "onCaseTypeLoading"; }, never, never, false, never>;
94
129
  }
@@ -9,6 +9,7 @@ export declare class CaseTypeComponent implements OnInit {
9
9
  case_type: string;
10
10
  report_case: string;
11
11
  add_case: string;
12
+ default_flow: string;
12
13
  receive_updates: string;
13
14
  case_details: {
14
15
  name: {
@@ -24,6 +25,11 @@ export declare class CaseTypeComponent implements OnInit {
24
25
  placeholder: string;
25
26
  singularText: string;
26
27
  pluralText: string;
28
+ mainRcPlaceholder: string;
29
+ separateRcText: string;
30
+ separateRcTooltip: string;
31
+ sameRcText: string;
32
+ sameRcTooltip: string;
27
33
  };
28
34
  case_type: {
29
35
  title: string;
@@ -33,6 +39,10 @@ export declare class CaseTypeComponent implements OnInit {
33
39
  title: string;
34
40
  placeholder: string;
35
41
  };
42
+ additional_category: {
43
+ title: string;
44
+ placeholder: string;
45
+ };
36
46
  when: {
37
47
  title: string;
38
48
  placeholder: string;
@@ -54,6 +64,10 @@ export declare class CaseTypeComponent implements OnInit {
54
64
  title: string;
55
65
  placeholder: string;
56
66
  };
67
+ owners: {
68
+ title: string;
69
+ placeholder: string;
70
+ };
57
71
  };
58
72
  tooltipMessage: {
59
73
  report_case: string;
@@ -63,6 +77,16 @@ export declare class CaseTypeComponent implements OnInit {
63
77
  };
64
78
  errorMessage: {
65
79
  rc: string;
80
+ name: string;
81
+ description: string;
82
+ caseType: string;
83
+ reportDate: string;
84
+ priority: string;
85
+ mainRc: string;
86
+ caseOwner: string;
87
+ caseAssignee: string;
88
+ dueDate: string;
89
+ stageAssignee: string;
66
90
  };
67
91
  };
68
92
  caseType: typeof report;
@@ -1,24 +1,22 @@
1
1
  import { ElementRef, OnInit, EventEmitter } from '@angular/core';
2
- import { DatePickerComponent } from 'ng2-date-picker';
2
+ import { DatePickerComponent, IDatePickerConfig } from 'ng2-date-picker';
3
+ import { CommonService } from '../../../services/common.service';
4
+ import { FrequencyService } from '../../../sharedComponents/frequency/frequency.service';
3
5
  import * as i0 from "@angular/core";
4
6
  export declare class DueDateComponent implements OnInit {
5
- closeDueDateEvent: EventEmitter<any>;
6
- animation: boolean;
7
+ private commonDateService;
8
+ private frequencyService;
7
9
  datePicker: DatePickerComponent;
10
+ animation: boolean;
8
11
  datePickerPopUp: ElementRef;
9
12
  datePickerOverlay: boolean;
10
- dateConfig: {
11
- disableKeypress: boolean;
12
- format: string;
13
- unSelectOnClick: boolean;
14
- openOnClick: boolean;
15
- openOnFocus: boolean;
16
- };
13
+ dateConfig: IDatePickerConfig;
17
14
  commonService: any;
18
15
  dueDateTexts: {
19
16
  case_type: string;
20
17
  report_case: string;
21
18
  add_case: string;
19
+ default_flow: string;
22
20
  receive_updates: string;
23
21
  case_details: {
24
22
  name: {
@@ -34,6 +32,11 @@ export declare class DueDateComponent implements OnInit {
34
32
  placeholder: string;
35
33
  singularText: string;
36
34
  pluralText: string;
35
+ mainRcPlaceholder: string;
36
+ separateRcText: string;
37
+ separateRcTooltip: string;
38
+ sameRcText: string;
39
+ sameRcTooltip: string;
37
40
  };
38
41
  case_type: {
39
42
  title: string;
@@ -43,6 +46,10 @@ export declare class DueDateComponent implements OnInit {
43
46
  title: string;
44
47
  placeholder: string;
45
48
  };
49
+ additional_category: {
50
+ title: string;
51
+ placeholder: string;
52
+ };
46
53
  when: {
47
54
  title: string;
48
55
  placeholder: string;
@@ -64,6 +71,10 @@ export declare class DueDateComponent implements OnInit {
64
71
  title: string;
65
72
  placeholder: string;
66
73
  };
74
+ owners: {
75
+ title: string;
76
+ placeholder: string;
77
+ };
67
78
  };
68
79
  tooltipMessage: {
69
80
  report_case: string;
@@ -73,6 +84,16 @@ export declare class DueDateComponent implements OnInit {
73
84
  };
74
85
  errorMessage: {
75
86
  rc: string;
87
+ name: string;
88
+ description: string;
89
+ caseType: string;
90
+ reportDate: string;
91
+ priority: string;
92
+ mainRc: string;
93
+ caseOwner: string;
94
+ caseAssignee: string;
95
+ dueDate: string;
96
+ stageAssignee: string;
76
97
  };
77
98
  };
78
99
  helperText: {
@@ -80,15 +101,51 @@ export declare class DueDateComponent implements OnInit {
80
101
  assignee: string;
81
102
  deadline: string;
82
103
  };
104
+ assigneeClicked: boolean;
105
+ assigneeList: any[];
106
+ assigneeData: {
107
+ [key: number]: any[];
108
+ };
109
+ currentStageIndex: number;
110
+ activeAssignee: any[];
111
+ emailReminder: number;
112
+ escalationEmail: number;
113
+ showError: boolean;
114
+ showAssigneeError: boolean;
83
115
  payload: any;
84
116
  dueDate: any;
117
+ workflowDetails: any;
118
+ userList: any[];
119
+ groupList: any[];
120
+ set initialSelection(value: any);
121
+ closeDueDateResolution: EventEmitter<any>;
122
+ closeDueDateEvent: EventEmitter<any>;
123
+ constructor(commonDateService: CommonService, frequencyService: FrequencyService);
85
124
  ngOnInit(): void;
125
+ private initializeEditMode;
126
+ private initializeDeadlineValues;
127
+ private initializeStageAssignees;
128
+ private createStageAssigneeMap;
129
+ private mapWorkflowStages;
86
130
  openDatePicker(): void;
87
131
  /**
88
132
  * closes the date picker from policy form
89
133
  */
90
134
  closeDatePicker(evt: any): void;
91
135
  closeDueDate(): void;
136
+ activateSelector(active: boolean, stageIndex?: number): void;
137
+ setAssigneeList(): void;
138
+ selectedAssignee(event: any[]): void;
139
+ saveCaseResolutionDeadline(): void;
140
+ isDueDateValid(): boolean;
141
+ areAssigneesValid(): boolean;
142
+ formatDueDate(date: any): string;
143
+ setDeadlineReminders(): void;
144
+ setStagesAssignees(): any[];
145
+ createStageAssignee(stage: any, assigneeData: any[]): any;
146
+ setPayload(): void;
147
+ documentClick(event: any): void;
148
+ onInputChange(): void;
92
149
  static ɵfac: i0.ɵɵFactoryDeclaration<DueDateComponent, never>;
93
- static ɵcmp: i0.ɵɵComponentDeclaration<DueDateComponent, "app-due-date", never, { "payload": { "alias": "payload"; "required": false; }; "dueDate": { "alias": "dueDate"; "required": false; }; }, { "closeDueDateEvent": "closeDueDateEvent"; }, never, never, false, never>;
150
+ 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; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; }, { "closeDueDateResolution": "closeDueDateResolution"; "closeDueDateEvent": "closeDueDateEvent"; }, never, never, false, never>;
94
151
  }
@@ -9,6 +9,7 @@ export declare class FieldHolderComponent {
9
9
  case_resolution_deadline: string;
10
10
  case_assignees: string;
11
11
  format_evidence: string;
12
+ case_owners: string;
12
13
  };
13
14
  image: string;
14
15
  active: boolean;
@@ -20,16 +20,22 @@ export declare class FormSelectBoxComponent {
20
20
  popupState: string;
21
21
  isCaseTypeSelected: boolean;
22
22
  chipItems: any[];
23
+ chipGroupItems?: any[];
23
24
  set config(value: any);
24
25
  isError: boolean;
25
26
  errorMessage: string;
26
27
  selectedData: any;
28
+ removable: boolean;
29
+ disabled: boolean;
30
+ editDisabled: boolean;
27
31
  selectedItemListChange: EventEmitter<any>;
32
+ selectedGroupItemListChange: EventEmitter<any>;
28
33
  fieldClicked: EventEmitter<any>;
29
34
  ngOnChanges(changes: SimpleChanges): void;
30
35
  openSelection(): void;
31
36
  setDropdownList(event: any): void;
32
37
  removeSelectedList(event: any): void;
38
+ removeGroupSelectedList(event: any): void;
33
39
  static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectBoxComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<FormSelectBoxComponent, "app-form-selectBox", never, { "title": { "alias": "title"; "required": false; }; "key": { "alias": "key"; "required": false; }; "action": { "alias": "action"; "required": false; }; "state": { "alias": "state"; "required": false; }; "popupState": { "alias": "popupState"; "required": false; }; "isCaseTypeSelected": { "alias": "isCaseTypeSelected"; "required": false; }; "chipItems": { "alias": "chipItems"; "required": false; }; "config": { "alias": "config"; "required": false; }; "isError": { "alias": "isError"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "selectedData": { "alias": "selectedData"; "required": false; }; }, { "selectedItemListChange": "selectedItemListChange"; "fieldClicked": "fieldClicked"; }, never, ["[label]"], false, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormSelectBoxComponent, "app-form-selectBox", never, { "title": { "alias": "title"; "required": false; }; "key": { "alias": "key"; "required": false; }; "action": { "alias": "action"; "required": false; }; "state": { "alias": "state"; "required": false; }; "popupState": { "alias": "popupState"; "required": false; }; "isCaseTypeSelected": { "alias": "isCaseTypeSelected"; "required": false; }; "chipItems": { "alias": "chipItems"; "required": false; }; "chipGroupItems": { "alias": "chipGroupItems"; "required": false; }; "config": { "alias": "config"; "required": false; }; "isError": { "alias": "isError"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "selectedData": { "alias": "selectedData"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "editDisabled": { "alias": "editDisabled"; "required": false; }; }, { "selectedItemListChange": "selectedItemListChange"; "selectedGroupItemListChange": "selectedGroupItemListChange"; "fieldClicked": "fieldClicked"; }, never, ["[label]"], false, never>;
35
41
  }
@@ -1,5 +1,11 @@
1
+ import { ReportACaseService } from '../../services/report-a-case.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class InformationBlockComponent {
4
+ private reportACaseService;
5
+ workflowDetails: any;
6
+ defaultFlow: string;
7
+ constructor(reportACaseService: ReportACaseService);
8
+ getWorkflowDetails(): void;
3
9
  static ɵfac: i0.ɵɵFactoryDeclaration<InformationBlockComponent, never>;
4
10
  static ɵcmp: i0.ɵɵComponentDeclaration<InformationBlockComponent, "app-information-block", never, {}, {}, never, never, false, never>;
5
11
  }
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
3
3
  import { ComplianceCommonService } from '../../../workflow-services/common-workflow-services/compliance-common.service';
4
+ import { report } from '../case-type-slider/case-type.component';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class RcDetailsComponent {
6
7
  private complianceService;
@@ -13,11 +14,13 @@ export declare class RcDetailsComponent {
13
14
  case_resolution_deadline: string;
14
15
  case_assignees: string;
15
16
  format_evidence: string;
17
+ case_owners: string;
16
18
  };
17
19
  rcTexts: {
18
20
  case_type: string;
19
21
  report_case: string;
20
22
  add_case: string;
23
+ default_flow: string;
21
24
  receive_updates: string;
22
25
  case_details: {
23
26
  name: {
@@ -33,6 +36,11 @@ export declare class RcDetailsComponent {
33
36
  placeholder: string;
34
37
  singularText: string;
35
38
  pluralText: string;
39
+ mainRcPlaceholder: string;
40
+ separateRcText: string;
41
+ separateRcTooltip: string;
42
+ sameRcText: string;
43
+ sameRcTooltip: string;
36
44
  };
37
45
  case_type: {
38
46
  title: string;
@@ -42,6 +50,10 @@ export declare class RcDetailsComponent {
42
50
  title: string;
43
51
  placeholder: string;
44
52
  };
53
+ additional_category: {
54
+ title: string;
55
+ placeholder: string;
56
+ };
45
57
  when: {
46
58
  title: string;
47
59
  placeholder: string;
@@ -63,6 +75,10 @@ export declare class RcDetailsComponent {
63
75
  title: string;
64
76
  placeholder: string;
65
77
  };
78
+ owners: {
79
+ title: string;
80
+ placeholder: string;
81
+ };
66
82
  };
67
83
  tooltipMessage: {
68
84
  report_case: string;
@@ -72,29 +88,52 @@ export declare class RcDetailsComponent {
72
88
  };
73
89
  errorMessage: {
74
90
  rc: string;
91
+ name: string;
92
+ description: string;
93
+ caseType: string;
94
+ reportDate: string;
95
+ priority: string;
96
+ mainRc: string;
97
+ caseOwner: string;
98
+ caseAssignee: string;
99
+ dueDate: string;
100
+ stageAssignee: string;
75
101
  };
76
102
  };
103
+ caseType: typeof report;
77
104
  responsibilityCentersList: any[];
105
+ mainRcConfig: any;
78
106
  config: any;
79
107
  rcClicked: boolean;
80
108
  rcListLoader: boolean;
81
109
  SelectionState: typeof SelectionState;
82
110
  SelectionPopupState: typeof SelectionPopupState;
83
111
  state: string;
112
+ mainRcState: string;
84
113
  selectedItems: any[];
85
114
  selectedRcList: any[];
115
+ selectedMainRcItems: any[];
86
116
  payload: any;
87
117
  fieldSelected: string;
118
+ caseTypeSelected: string;
119
+ validationError: any;
120
+ set initialSelection(value: any);
121
+ mode: string;
122
+ workflowType: string;
88
123
  fieldClicked: EventEmitter<any>;
89
124
  onRcChange: EventEmitter<any>;
90
125
  constructor(complianceService: ComplianceCommonService);
91
126
  ngOnInit(): void;
92
127
  getResponsibilityCentersList(): void;
128
+ populateSelectedItems(): void;
93
129
  saveSelectedRCList(event: any): void;
130
+ setMainRcList(event: any): void;
131
+ saveMainRcList(event: any): void;
94
132
  setPayload(event: any): void;
95
133
  setSelectedRcList(event: any): void;
96
134
  activateSelector(active: boolean): void;
97
135
  setRcList(event: any): void;
136
+ onRcTypeChange(event: any): void;
98
137
  static ɵfac: i0.ɵɵFactoryDeclaration<RcDetailsComponent, never>;
99
- static ɵcmp: i0.ɵɵComponentDeclaration<RcDetailsComponent, "app-rc-details", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; }, { "fieldClicked": "fieldClicked"; "onRcChange": "onRcChange"; }, never, never, false, never>;
138
+ static ɵcmp: i0.ɵɵComponentDeclaration<RcDetailsComponent, "app-rc-details", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "caseTypeSelected": { "alias": "caseTypeSelected"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "workflowType": { "alias": "workflowType"; "required": false; }; }, { "fieldClicked": "fieldClicked"; "onRcChange": "onRcChange"; }, never, never, false, never>;
100
139
  }
@@ -1,7 +1,9 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { DatePickerComponent } from 'ng2-date-picker';
3
+ import { CommonService } from '../../../services/common.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class ReportDateComponent {
6
+ private commonService;
5
7
  ASSETS: {
6
8
  responsibility_center: string;
7
9
  case_type: string;
@@ -11,11 +13,13 @@ export declare class ReportDateComponent {
11
13
  case_resolution_deadline: string;
12
14
  case_assignees: string;
13
15
  format_evidence: string;
16
+ case_owners: string;
14
17
  };
15
18
  reportTexts: {
16
19
  case_type: string;
17
20
  report_case: string;
18
21
  add_case: string;
22
+ default_flow: string;
19
23
  receive_updates: string;
20
24
  case_details: {
21
25
  name: {
@@ -31,6 +35,11 @@ export declare class ReportDateComponent {
31
35
  placeholder: string;
32
36
  singularText: string;
33
37
  pluralText: string;
38
+ mainRcPlaceholder: string;
39
+ separateRcText: string;
40
+ separateRcTooltip: string;
41
+ sameRcText: string;
42
+ sameRcTooltip: string;
34
43
  };
35
44
  case_type: {
36
45
  title: string;
@@ -40,6 +49,10 @@ export declare class ReportDateComponent {
40
49
  title: string;
41
50
  placeholder: string;
42
51
  };
52
+ additional_category: {
53
+ title: string;
54
+ placeholder: string;
55
+ };
43
56
  when: {
44
57
  title: string;
45
58
  placeholder: string;
@@ -61,6 +74,10 @@ export declare class ReportDateComponent {
61
74
  title: string;
62
75
  placeholder: string;
63
76
  };
77
+ owners: {
78
+ title: string;
79
+ placeholder: string;
80
+ };
64
81
  };
65
82
  tooltipMessage: {
66
83
  report_case: string;
@@ -70,6 +87,16 @@ export declare class ReportDateComponent {
70
87
  };
71
88
  errorMessage: {
72
89
  rc: string;
90
+ name: string;
91
+ description: string;
92
+ caseType: string;
93
+ reportDate: string;
94
+ priority: string;
95
+ mainRc: string;
96
+ caseOwner: string;
97
+ caseAssignee: string;
98
+ dueDate: string;
99
+ stageAssignee: string;
73
100
  };
74
101
  };
75
102
  datePickerOverlay: boolean;
@@ -83,10 +110,12 @@ export declare class ReportDateComponent {
83
110
  payload: any;
84
111
  fieldSelected: string;
85
112
  validationError: any;
113
+ constructor(commonService: CommonService);
86
114
  datePicker: DatePickerComponent;
87
115
  datePickerPopUp: ElementRef;
88
116
  openDatePicker(): void;
89
117
  closeDatePicker(evt: any): void;
118
+ documentClick(event: any): void;
90
119
  static ɵfac: i0.ɵɵFactoryDeclaration<ReportDateComponent, never>;
91
120
  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>;
92
121
  }
@@ -3,4 +3,5 @@ export declare const API_URLS: {
3
3
  GET_ALL_PRIORITIES: string;
4
4
  GET_ALL_CATEGORIES: string;
5
5
  GET_STAGE_DETAILS: string;
6
+ GET_CASE_OWNERS: string;
6
7
  };