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
@@ -7,4 +7,5 @@ export declare const ASSETS: {
7
7
  case_resolution_deadline: string;
8
8
  case_assignees: string;
9
9
  format_evidence: string;
10
+ case_owners: string;
10
11
  };
@@ -1,6 +1,8 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ReportACaseService } from '../report-a-case/services/report-a-case.service';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class MoreOptionComponent implements OnInit, OnChanges {
5
+ private reportACaseService;
4
6
  currentWorkflow: string;
5
7
  openedFrom: string;
6
8
  isEditMode: boolean;
@@ -18,7 +20,8 @@ export declare class MoreOptionComponent implements OnInit, OnChanges {
18
20
  placeholderTexts: any;
19
21
  businessCycle: any;
20
22
  moreOptionsList: any;
21
- constructor();
23
+ constructor(reportACaseService: ReportACaseService);
24
+ resetRACMoreOptions(): void;
22
25
  ngOnChanges(changes: SimpleChanges): void;
23
26
  checkGRCAttributes(value: any): void;
24
27
  ngOnInit(): void;
@@ -10,9 +10,10 @@ import * as i8 from "../workflow-program/create-program-ui/define-framework-list
10
10
  import * as i9 from "./dom-sanitizer.pipe";
11
11
  import * as i10 from "./is-read-more.pipe";
12
12
  import * as i11 from "./within.pipe";
13
- import * as i12 from "@angular/common";
13
+ import * as i12 from "./user.pipe";
14
+ import * as i13 from "@angular/common";
14
15
  export declare class PipesModule {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.DataTypePipe, typeof i2.FilterPipe, typeof i3.ListMapperPipe, typeof i4.SearchPipe, typeof i5.SpaceBreakerPipe, typeof i6.UncategorizedFilterPipe, typeof i7.UserFilterPipe, typeof i8.TooltipMessagePipe, typeof i9.DomSanitizerPipe, typeof i10.IsReadMorePipe, typeof i11.WithinStructurePipe], [typeof i12.CommonModule], [typeof i1.DataTypePipe, typeof i2.FilterPipe, typeof i3.ListMapperPipe, typeof i4.SearchPipe, typeof i5.SpaceBreakerPipe, typeof i6.UncategorizedFilterPipe, typeof i7.UserFilterPipe, typeof i8.TooltipMessagePipe, typeof i9.DomSanitizerPipe, typeof i10.IsReadMorePipe, typeof i11.WithinStructurePipe]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.DataTypePipe, typeof i2.FilterPipe, typeof i3.ListMapperPipe, typeof i4.SearchPipe, typeof i5.SpaceBreakerPipe, typeof i6.UncategorizedFilterPipe, typeof i7.UserFilterPipe, typeof i8.TooltipMessagePipe, typeof i9.DomSanitizerPipe, typeof i10.IsReadMorePipe, typeof i11.WithinStructurePipe, typeof i12.UserPipe], [typeof i13.CommonModule], [typeof i1.DataTypePipe, typeof i2.FilterPipe, typeof i3.ListMapperPipe, typeof i4.SearchPipe, typeof i5.SpaceBreakerPipe, typeof i6.UncategorizedFilterPipe, typeof i7.UserFilterPipe, typeof i8.TooltipMessagePipe, typeof i9.DomSanitizerPipe, typeof i10.IsReadMorePipe, typeof i11.WithinStructurePipe, typeof i12.UserPipe]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
18
19
  }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class UserPipe implements PipeTransform {
4
+ transform(id: any, list: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<UserPipe, "userPipe", false>;
7
+ }
@@ -1,8 +1,20 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class AssigneeComponent implements OnInit {
4
4
  animation: boolean;
5
+ search: string;
6
+ selectedAssignees: any[];
7
+ assigneeList: any[];
8
+ activeAssignee: any[];
9
+ payload: any;
10
+ closeEvent: EventEmitter<any>;
11
+ selectedAssigneeEvent: EventEmitter<any>;
5
12
  ngOnInit(): void;
13
+ closeList(event?: any): void;
14
+ onSelectAssignee(assignee: any): void;
15
+ deleteAssignee(assignee: any): void;
16
+ isSelected(assignee: any): boolean;
17
+ selectedAssigneeData(event: any): void;
6
18
  static ɵfac: i0.ɵɵFactoryDeclaration<AssigneeComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AssigneeComponent, "app-assignee", never, {}, {}, never, never, false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<AssigneeComponent, "app-assignee", never, { "assigneeList": { "alias": "assigneeList"; "required": false; }; "activeAssignee": { "alias": "activeAssignee"; "required": false; }; "payload": { "alias": "payload"; "required": false; }; }, { "closeEvent": "closeEvent"; "selectedAssigneeEvent": "selectedAssigneeEvent"; }, never, never, false, never>;
8
20
  }
@@ -1,9 +1,7 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, SimpleChanges } from '@angular/core';
2
2
  import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
3
- import { ComplianceCommonService } from '../../../workflow-services/common-workflow-services/compliance-common.service';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class CaseAssigneesComponent {
6
- private complianceService;
7
5
  ASSETS: {
8
6
  responsibility_center: string;
9
7
  case_type: string;
@@ -13,11 +11,13 @@ export declare class CaseAssigneesComponent {
13
11
  case_resolution_deadline: string;
14
12
  case_assignees: string;
15
13
  format_evidence: string;
14
+ case_owners: string;
16
15
  };
17
16
  assigneesTexts: {
18
17
  case_type: string;
19
18
  report_case: string;
20
19
  add_case: string;
20
+ default_flow: string;
21
21
  receive_updates: string;
22
22
  case_details: {
23
23
  name: {
@@ -33,6 +33,11 @@ export declare class CaseAssigneesComponent {
33
33
  placeholder: string;
34
34
  singularText: string;
35
35
  pluralText: string;
36
+ mainRcPlaceholder: string;
37
+ separateRcText: string;
38
+ separateRcTooltip: string;
39
+ sameRcText: string;
40
+ sameRcTooltip: string;
36
41
  };
37
42
  case_type: {
38
43
  title: string;
@@ -42,6 +47,10 @@ export declare class CaseAssigneesComponent {
42
47
  title: string;
43
48
  placeholder: string;
44
49
  };
50
+ additional_category: {
51
+ title: string;
52
+ placeholder: string;
53
+ };
45
54
  when: {
46
55
  title: string;
47
56
  placeholder: string;
@@ -63,6 +72,10 @@ export declare class CaseAssigneesComponent {
63
72
  title: string;
64
73
  placeholder: string;
65
74
  };
75
+ owners: {
76
+ title: string;
77
+ placeholder: string;
78
+ };
66
79
  };
67
80
  tooltipMessage: {
68
81
  report_case: string;
@@ -72,6 +85,16 @@ export declare class CaseAssigneesComponent {
72
85
  };
73
86
  errorMessage: {
74
87
  rc: string;
88
+ name: string;
89
+ description: string;
90
+ caseType: string;
91
+ reportDate: string;
92
+ priority: string;
93
+ mainRc: string;
94
+ caseOwner: string;
95
+ caseAssignee: string;
96
+ dueDate: string;
97
+ stageAssignee: string;
75
98
  };
76
99
  };
77
100
  responsibilityCentersList: any[];
@@ -82,18 +105,33 @@ export declare class CaseAssigneesComponent {
82
105
  SelectionPopupState: typeof SelectionPopupState;
83
106
  state: string;
84
107
  selectedItems: any[];
108
+ selectedGroupItems: any[];
85
109
  selectedAssigneesList: any[];
110
+ selectedAssigneeGroups: any[];
111
+ selectedGroupIds: any[];
112
+ userIds: any[];
113
+ initialAssignees: any;
86
114
  payload: any;
87
115
  fieldSelected: string;
88
116
  userList: any[];
89
117
  groupList: any[];
118
+ set initialSelection(value: any);
90
119
  fieldClicked: EventEmitter<any>;
91
120
  onRcChange: EventEmitter<any>;
92
- constructor(complianceService: ComplianceCommonService);
121
+ validationError: any;
93
122
  ngOnInit(): void;
123
+ ngOnChanges(changes: SimpleChanges): void;
94
124
  saveSelectedAssigneesList(event: any): void;
125
+ populateAssigneesList(value: any): void;
126
+ populateGroupAssigneesList(value: any): void;
127
+ updateSelectedAssignees(usersIds: string[]): void;
128
+ updateSelectedAssigneeGroups(groupsIds: string[]): void;
129
+ getSelectedGroupIds(groupIds: number[]): any[];
95
130
  setSelectedAssigneesList(event: any): void;
96
131
  activateSelector(active: boolean): void;
132
+ setAssigneesList(event: any): void;
133
+ setAssigneeGroupsList(event: any): void;
134
+ setPayload(users: any, groups: any): void;
97
135
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseAssigneesComponent, never>;
98
- static ɵcmp: i0.ɵɵComponentDeclaration<CaseAssigneesComponent, "app-case-assignees", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "userList": { "alias": "userList"; "required": false; }; "groupList": { "alias": "groupList"; "required": false; }; }, { "fieldClicked": "fieldClicked"; "onRcChange": "onRcChange"; }, never, never, false, never>;
136
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseAssigneesComponent, "app-case-assignees", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "userList": { "alias": "userList"; "required": false; }; "groupList": { "alias": "groupList"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, { "fieldClicked": "fieldClicked"; "onRcChange": "onRcChange"; }, never, never, false, never>;
99
137
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
3
+ import { report } from '../case-type-slider/case-type.component';
3
4
  import { ReportACaseService } from '../../services/report-a-case.service';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CaseCategoryComponent {
@@ -13,11 +14,13 @@ export declare class CaseCategoryComponent {
13
14
  case_resolution_deadline: string;
14
15
  case_assignees: string;
15
16
  format_evidence: string;
17
+ case_owners: string;
16
18
  };
17
19
  categoryTexts: {
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 CaseCategoryComponent {
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 CaseCategoryComponent {
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 CaseCategoryComponent {
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,26 +88,51 @@ export declare class CaseCategoryComponent {
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
  };
77
103
  caseCategoryList: any[];
78
104
  config: any;
79
105
  categoryClicked: boolean;
106
+ additionalCategoryClicked: boolean;
80
107
  categoryListLoader: boolean;
81
108
  SelectionState: typeof SelectionState;
82
109
  SelectionPopupState: typeof SelectionPopupState;
83
110
  state: string;
111
+ additionalCategoryState: string;
84
112
  selectedItems: any[];
113
+ selectedAdditionalItems: any[];
85
114
  selectedCategoryList: any[];
115
+ selectedAdditionalCategoryList: any[];
116
+ initialCategory: any;
117
+ caseType: typeof report;
86
118
  payload: any;
119
+ fieldSelected: string;
120
+ caseTypeSelected: any;
121
+ set initialSelection(value: any);
87
122
  onCategoryChange: EventEmitter<any>;
123
+ fieldClicked: EventEmitter<any>;
88
124
  constructor(caseService: ReportACaseService);
89
125
  ngOnInit(): void;
90
126
  getAllCategories(): void;
127
+ populateInitialCategory(): void;
91
128
  saveSelectedCategoryList(event: any): void;
129
+ saveSelectedAdditionalCategoryList(event: any[]): void;
130
+ setSelectedAdditionalCategoryList(event: any[]): void;
92
131
  setSelectedCategoryList(event: any[]): void;
93
132
  activateSelector(active: boolean): void;
94
- cancelSelector(): void;
133
+ activateAdditionalCategorySelector(active: boolean): void;
134
+ setCategoryList(event: any): void;
135
+ setAdditionalCategoryList(event: any[]): void;
95
136
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseCategoryComponent, never>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<CaseCategoryComponent, "app-case-category", never, { "payload": { "alias": "payload"; "required": false; }; }, { "onCategoryChange": "onCategoryChange"; }, never, never, false, never>;
137
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseCategoryComponent, "app-case-category", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "caseTypeSelected": { "alias": "caseTypeSelected"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; }, { "onCategoryChange": "onCategoryChange"; "fieldClicked": "fieldClicked"; }, never, never, false, never>;
97
138
  }
@@ -1,11 +1,13 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { EditorConfig } from 'vcomply-editor';
3
+ import { report } from '../case-type-slider/case-type.component';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class CaseDetailsComponent implements OnInit {
5
6
  reportTexts: {
6
7
  case_type: string;
7
8
  report_case: string;
8
9
  add_case: string;
10
+ default_flow: string;
9
11
  receive_updates: string;
10
12
  case_details: {
11
13
  name: {
@@ -21,6 +23,11 @@ export declare class CaseDetailsComponent implements OnInit {
21
23
  placeholder: string;
22
24
  singularText: string;
23
25
  pluralText: string;
26
+ mainRcPlaceholder: string;
27
+ separateRcText: string;
28
+ separateRcTooltip: string;
29
+ sameRcText: string;
30
+ sameRcTooltip: string;
24
31
  };
25
32
  case_type: {
26
33
  title: string;
@@ -30,6 +37,10 @@ export declare class CaseDetailsComponent implements OnInit {
30
37
  title: string;
31
38
  placeholder: string;
32
39
  };
40
+ additional_category: {
41
+ title: string;
42
+ placeholder: string;
43
+ };
33
44
  when: {
34
45
  title: string;
35
46
  placeholder: string;
@@ -51,6 +62,10 @@ export declare class CaseDetailsComponent implements OnInit {
51
62
  title: string;
52
63
  placeholder: string;
53
64
  };
65
+ owners: {
66
+ title: string;
67
+ placeholder: string;
68
+ };
54
69
  };
55
70
  tooltipMessage: {
56
71
  report_case: string;
@@ -60,6 +75,16 @@ export declare class CaseDetailsComponent implements OnInit {
60
75
  };
61
76
  errorMessage: {
62
77
  rc: string;
78
+ name: string;
79
+ description: string;
80
+ caseType: string;
81
+ reportDate: string;
82
+ priority: string;
83
+ mainRc: string;
84
+ caseOwner: string;
85
+ caseAssignee: string;
86
+ dueDate: string;
87
+ stageAssignee: string;
63
88
  };
64
89
  };
65
90
  ASSETS: {
@@ -71,16 +96,19 @@ export declare class CaseDetailsComponent implements OnInit {
71
96
  case_resolution_deadline: string;
72
97
  case_assignees: string;
73
98
  format_evidence: string;
99
+ case_owners: string;
74
100
  };
101
+ caseType: typeof report;
75
102
  description: EditorConfig;
76
103
  payload: any;
77
104
  fieldSelected: string;
78
105
  validationError: any;
106
+ caseTypeSelected: string;
79
107
  constructor();
80
108
  ngOnInit(): void;
81
109
  onNameChange(event: any): void;
82
110
  onDescriptionChange(event: any): void;
83
111
  checkDescription(): void;
84
112
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseDetailsComponent, never>;
85
- static ɵcmp: i0.ɵɵComponentDeclaration<CaseDetailsComponent, "app-case-details", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, {}, never, never, false, never>;
113
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseDetailsComponent, "app-case-details", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; "caseTypeSelected": { "alias": "caseTypeSelected"; "required": false; }; }, {}, never, never, false, never>;
86
114
  }
@@ -0,0 +1,132 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
3
+ import { ReportACaseService } from '../../services/report-a-case.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CaseOwnersComponent {
6
+ private reportACaseService;
7
+ ASSETS: {
8
+ responsibility_center: string;
9
+ case_type: string;
10
+ case_category: string;
11
+ when: string;
12
+ what: string;
13
+ case_resolution_deadline: string;
14
+ case_assignees: string;
15
+ format_evidence: string;
16
+ case_owners: string;
17
+ };
18
+ ownerTexts: {
19
+ case_type: string;
20
+ report_case: string;
21
+ add_case: string;
22
+ default_flow: string;
23
+ receive_updates: string;
24
+ case_details: {
25
+ name: {
26
+ title: string;
27
+ placeholder: string;
28
+ };
29
+ description: {
30
+ title: string;
31
+ placeholder: string;
32
+ };
33
+ rc: {
34
+ title: string;
35
+ placeholder: string;
36
+ singularText: string;
37
+ pluralText: string;
38
+ mainRcPlaceholder: string;
39
+ separateRcText: string;
40
+ separateRcTooltip: string;
41
+ sameRcText: string;
42
+ sameRcTooltip: string;
43
+ };
44
+ case_type: {
45
+ title: string;
46
+ placeholder: string;
47
+ };
48
+ category: {
49
+ title: string;
50
+ placeholder: string;
51
+ };
52
+ additional_category: {
53
+ title: string;
54
+ placeholder: string;
55
+ };
56
+ when: {
57
+ title: string;
58
+ placeholder: string;
59
+ };
60
+ priority: {
61
+ title: string;
62
+ placeholder: string;
63
+ };
64
+ attachments: {
65
+ title: string;
66
+ placeholder: string;
67
+ };
68
+ due_date: {
69
+ title: string;
70
+ placeholder: string;
71
+ deadline_placeholder: string;
72
+ };
73
+ assignees: {
74
+ title: string;
75
+ placeholder: string;
76
+ };
77
+ owners: {
78
+ title: string;
79
+ placeholder: string;
80
+ };
81
+ };
82
+ tooltipMessage: {
83
+ report_case: string;
84
+ add_case: string;
85
+ receive_updates: string;
86
+ rc: string;
87
+ };
88
+ errorMessage: {
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;
100
+ };
101
+ };
102
+ caseOwnersList: any[];
103
+ config: any;
104
+ ownerClicked: boolean;
105
+ ownerListLoader: boolean;
106
+ SelectionState: typeof SelectionState;
107
+ SelectionPopupState: typeof SelectionPopupState;
108
+ state: string;
109
+ selectedItems: any[];
110
+ selectedOwnerList: any[];
111
+ workflowDetails: any;
112
+ payload: any;
113
+ fieldSelected: string;
114
+ set initialSelection(value: any);
115
+ workflowId: string;
116
+ validationError: any;
117
+ fieldClicked: EventEmitter<any>;
118
+ constructor(reportACaseService: ReportACaseService);
119
+ ngOnInit(): void;
120
+ getWorkflowDetails(): void;
121
+ getCaseOwnersList(workflowId: string): void;
122
+ populateOwnerList(): void;
123
+ setDefaultOwner(): void;
124
+ saveSelectedOwnerList(event: any): void;
125
+ setSelectedOwnersList(event: any): void;
126
+ activateSelector(active: boolean): void;
127
+ setOwnerList(event: any): void;
128
+ setPayload(event: any): void;
129
+ isCaseOwnerSelectionDisabled(): boolean;
130
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaseOwnersComponent, never>;
131
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseOwnersComponent, "app-case-owners", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "workflowId": { "alias": "workflowId"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, { "fieldClicked": "fieldClicked"; }, never, never, false, never>;
132
+ }
@@ -1,6 +1,7 @@
1
- import { OnInit, EventEmitter } from '@angular/core';
1
+ import { OnInit, EventEmitter, 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 CasePriorityComponent implements OnInit {
6
7
  private reportACaseService;
@@ -8,6 +9,7 @@ export declare class CasePriorityComponent 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 CasePriorityComponent 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 CasePriorityComponent 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 CasePriorityComponent 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 CasePriorityComponent 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,21 +98,32 @@ export declare class CasePriorityComponent implements OnInit {
73
98
  case_resolution_deadline: string;
74
99
  case_assignees: string;
75
100
  format_evidence: string;
101
+ case_owners: string;
76
102
  };
103
+ caseType: typeof report;
77
104
  config: any;
78
105
  chipItems: any[];
79
106
  allPriorities: any[];
80
107
  selectionState: typeof SelectionState;
81
108
  selectionPopupState: typeof SelectionPopupState;
109
+ state: SelectionState;
82
110
  isLoading: boolean;
111
+ initialPriority: any;
83
112
  fieldSelected: string;
84
113
  payload: any;
114
+ caseTypeSelected: string;
115
+ validationError: any;
116
+ set initialSelection(value: any);
117
+ mode: string;
118
+ workflowType: string;
85
119
  onPriorityChange: EventEmitter<any>;
86
120
  onPriorityLoader: EventEmitter<boolean>;
87
121
  constructor(reportACaseService: ReportACaseService);
88
122
  ngOnInit(): void;
123
+ ngOnChanges(changes: SimpleChanges): void;
89
124
  getAllPriorities(): void;
125
+ populateInitialPriority(): void;
90
126
  onSelectedItemListChange(event: any): void;
91
127
  static ɵfac: i0.ɵɵFactoryDeclaration<CasePriorityComponent, never>;
92
- static ɵcmp: i0.ɵɵComponentDeclaration<CasePriorityComponent, "app-case-priority", never, { "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "payload": { "alias": "payload"; "required": false; }; }, { "onPriorityChange": "onPriorityChange"; "onPriorityLoader": "onPriorityLoader"; }, never, never, false, never>;
128
+ static ɵcmp: i0.ɵɵComponentDeclaration<CasePriorityComponent, "app-case-priority", never, { "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "payload": { "alias": "payload"; "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; }; }, { "onPriorityChange": "onPriorityChange"; "onPriorityLoader": "onPriorityLoader"; }, never, never, false, never>;
93
129
  }