vcomply-workflow-engine 5.0.0 → 5.0.1
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.
- package/esm2022/lib/constants/assessts.constants.mjs +2 -1
- package/esm2022/lib/log-an-issue/log-an-issue.component.mjs +6 -7
- package/esm2022/lib/more-option/more-option.component.mjs +40 -1
- package/esm2022/lib/report-a-case/components/case-category/case-category.component.mjs +10 -7
- package/esm2022/lib/report-a-case/components/case-details/case-details.component.mjs +21 -5
- package/esm2022/lib/report-a-case/components/case-priority/case-priority.component.mjs +1 -1
- package/esm2022/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.mjs +14 -9
- package/esm2022/lib/report-a-case/components/case-type-slider/case-type.component.mjs +1 -1
- package/esm2022/lib/report-a-case/components/due-date/due-date.component.mjs +13 -10
- package/esm2022/lib/report-a-case/components/field-holder/field-holder.component.mjs +23 -17
- package/esm2022/lib/report-a-case/components/form-selectBox/form-selectBox.component.mjs +10 -5
- package/esm2022/lib/report-a-case/components/rc-details/rc-details.component.mjs +5 -5
- package/esm2022/lib/report-a-case/components/report-date/report-date.component.mjs +11 -3
- package/esm2022/lib/report-a-case/constants/report-case.constants.mjs +44 -1
- package/esm2022/lib/report-a-case/report-case.module.mjs +18 -6
- package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +2 -5
- package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +196 -24
- package/esm2022/lib/sharedComponents/checkbox-list/checkbox-list.component.mjs +8 -2
- package/esm2022/lib/sharedComponents/checkbox-list/checkbox-list.module.mjs +26 -4
- package/esm2022/lib/sharedComponents/checkpoint-policy/checkpoints-policy-questions/checkpoints-policy-questions.component.mjs +2 -4
- package/esm2022/lib/sharedComponents/directive/directive.module.mjs +43 -0
- package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +6 -7
- package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +23 -4
- package/esm2022/lib/workflow-engine.module.mjs +2 -19
- package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +8 -9
- package/esm2022/lib/workflow-program/workflow-program.component.mjs +6 -7
- package/esm2022/lib/workflow-risk/workflow-risk.component.mjs +6 -8
- package/fesm2022/vcomply-workflow-engine.mjs +812 -458
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/constants/assessts.constants.d.ts +1 -0
- package/lib/report-a-case/components/case-category/case-category.component.d.ts +9 -1
- package/lib/report-a-case/components/case-details/case-details.component.d.ts +9 -1
- package/lib/report-a-case/components/case-priority/case-priority.component.d.ts +6 -0
- package/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.d.ts +8 -1
- package/lib/report-a-case/components/case-type-slider/case-type.component.d.ts +5 -0
- package/lib/report-a-case/components/due-date/due-date.component.d.ts +54 -1
- package/lib/report-a-case/components/field-holder/field-holder.component.d.ts +3 -1
- package/lib/report-a-case/components/form-selectBox/form-selectBox.component.d.ts +4 -3
- package/lib/report-a-case/components/rc-details/rc-details.component.d.ts +6 -0
- package/lib/report-a-case/components/report-date/report-date.component.d.ts +8 -1
- package/lib/report-a-case/constants/report-case.constants.d.ts +43 -0
- package/lib/report-a-case/report-case.module.d.ts +4 -1
- package/lib/report-a-case/services/report-a-case.service.d.ts +1 -2
- package/lib/report-a-case/workflow-case/workflow-case.component.d.ts +88 -2
- package/lib/sharedComponents/checkbox-list/checkbox-list.module.d.ts +6 -1
- package/lib/sharedComponents/directive/directive.module.d.ts +12 -0
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +3 -0
- package/lib/workflow-engine.module.d.ts +83 -88
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import { SelectionPopupState, SelectionState } from '../../constants/report-case.constants';
|
|
2
3
|
import { ReportACaseService } from '../../services/report-a-case.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
@@ -9,6 +10,7 @@ export declare class CaseCategoryComponent {
|
|
|
9
10
|
case_category: string;
|
|
10
11
|
when: string;
|
|
11
12
|
what: string;
|
|
13
|
+
case_resolution_deadline: string;
|
|
12
14
|
};
|
|
13
15
|
categoryTexts: {
|
|
14
16
|
case_type: string;
|
|
@@ -47,6 +49,11 @@ export declare class CaseCategoryComponent {
|
|
|
47
49
|
title: string;
|
|
48
50
|
placeholder: string;
|
|
49
51
|
};
|
|
52
|
+
due_date: {
|
|
53
|
+
title: string;
|
|
54
|
+
placeholder: string;
|
|
55
|
+
deadline_placeholder: string;
|
|
56
|
+
};
|
|
50
57
|
};
|
|
51
58
|
tooltipMessage: {
|
|
52
59
|
report_case: string;
|
|
@@ -67,6 +74,7 @@ export declare class CaseCategoryComponent {
|
|
|
67
74
|
selectedItems: any[];
|
|
68
75
|
selectedCategoryList: any[];
|
|
69
76
|
payload: any;
|
|
77
|
+
onCategoryChange: EventEmitter<any>;
|
|
70
78
|
constructor(caseService: ReportACaseService);
|
|
71
79
|
ngOnInit(): void;
|
|
72
80
|
getAllCategories(): void;
|
|
@@ -75,5 +83,5 @@ export declare class CaseCategoryComponent {
|
|
|
75
83
|
activateSelector(active: boolean): void;
|
|
76
84
|
cancelSelector(): void;
|
|
77
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseCategoryComponent, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaseCategoryComponent, "app-case-category", never, { "payload": { "alias": "payload"; "required": false; }; }, {}, never, never, false, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseCategoryComponent, "app-case-category", never, { "payload": { "alias": "payload"; "required": false; }; }, { "onCategoryChange": "onCategoryChange"; }, never, never, false, never>;
|
|
79
87
|
}
|
|
@@ -39,6 +39,11 @@ export declare class CaseDetailsComponent implements OnInit {
|
|
|
39
39
|
title: string;
|
|
40
40
|
placeholder: string;
|
|
41
41
|
};
|
|
42
|
+
due_date: {
|
|
43
|
+
title: string;
|
|
44
|
+
placeholder: string;
|
|
45
|
+
deadline_placeholder: string;
|
|
46
|
+
};
|
|
42
47
|
};
|
|
43
48
|
tooltipMessage: {
|
|
44
49
|
report_case: string;
|
|
@@ -55,13 +60,16 @@ export declare class CaseDetailsComponent implements OnInit {
|
|
|
55
60
|
case_category: string;
|
|
56
61
|
when: string;
|
|
57
62
|
what: string;
|
|
63
|
+
case_resolution_deadline: string;
|
|
58
64
|
};
|
|
59
65
|
description: EditorConfig;
|
|
60
66
|
payload: any;
|
|
61
67
|
fieldSelected: string;
|
|
68
|
+
validationError: any;
|
|
62
69
|
constructor();
|
|
63
70
|
ngOnInit(): void;
|
|
71
|
+
onNameChange(event: any): void;
|
|
64
72
|
checkDescription(): void;
|
|
65
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseDetailsComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaseDetailsComponent, "app-case-details", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; }, {}, never, never, false, never>;
|
|
74
|
+
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>;
|
|
67
75
|
}
|
|
@@ -41,6 +41,11 @@ export declare class CasePriorityComponent implements OnInit {
|
|
|
41
41
|
title: string;
|
|
42
42
|
placeholder: string;
|
|
43
43
|
};
|
|
44
|
+
due_date: {
|
|
45
|
+
title: string;
|
|
46
|
+
placeholder: string;
|
|
47
|
+
deadline_placeholder: string;
|
|
48
|
+
};
|
|
44
49
|
};
|
|
45
50
|
tooltipMessage: {
|
|
46
51
|
report_case: string;
|
|
@@ -57,6 +62,7 @@ export declare class CasePriorityComponent implements OnInit {
|
|
|
57
62
|
case_category: string;
|
|
58
63
|
when: string;
|
|
59
64
|
what: string;
|
|
65
|
+
case_resolution_deadline: string;
|
|
60
66
|
};
|
|
61
67
|
config: any;
|
|
62
68
|
chipItems: any[];
|
|
@@ -41,6 +41,11 @@ export declare class CaseDropdownComponent implements OnInit {
|
|
|
41
41
|
title: string;
|
|
42
42
|
placeholder: string;
|
|
43
43
|
};
|
|
44
|
+
due_date: {
|
|
45
|
+
title: string;
|
|
46
|
+
placeholder: string;
|
|
47
|
+
deadline_placeholder: string;
|
|
48
|
+
};
|
|
44
49
|
};
|
|
45
50
|
tooltipMessage: {
|
|
46
51
|
report_case: string;
|
|
@@ -57,6 +62,7 @@ export declare class CaseDropdownComponent implements OnInit {
|
|
|
57
62
|
case_category: string;
|
|
58
63
|
when: string;
|
|
59
64
|
what: string;
|
|
65
|
+
case_resolution_deadline: string;
|
|
60
66
|
};
|
|
61
67
|
config: any;
|
|
62
68
|
chipItems: any[];
|
|
@@ -66,10 +72,11 @@ export declare class CaseDropdownComponent implements OnInit {
|
|
|
66
72
|
isLoading: boolean;
|
|
67
73
|
fieldSelected: string;
|
|
68
74
|
payload: any;
|
|
75
|
+
validationError: any;
|
|
69
76
|
constructor(reportACaseService: ReportACaseService);
|
|
70
77
|
ngOnInit(): void;
|
|
71
78
|
getAllTypes(): void;
|
|
72
79
|
onSelectedItemListChange(event: any): void;
|
|
73
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseDropdownComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaseDropdownComponent, "app-case-type-dropdown", never, { "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "payload": { "alias": "payload"; "required": false; }; }, {}, never, never, false, never>;
|
|
81
|
+
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; }; }, {}, never, never, false, never>;
|
|
75
82
|
}
|
|
@@ -42,6 +42,11 @@ export declare class CaseTypeComponent implements OnInit {
|
|
|
42
42
|
title: string;
|
|
43
43
|
placeholder: string;
|
|
44
44
|
};
|
|
45
|
+
due_date: {
|
|
46
|
+
title: string;
|
|
47
|
+
placeholder: string;
|
|
48
|
+
deadline_placeholder: string;
|
|
49
|
+
};
|
|
45
50
|
};
|
|
46
51
|
tooltipMessage: {
|
|
47
52
|
report_case: string;
|
|
@@ -14,6 +14,59 @@ export declare class DueDateComponent implements OnInit {
|
|
|
14
14
|
openOnFocus: boolean;
|
|
15
15
|
};
|
|
16
16
|
commonService: any;
|
|
17
|
+
dueDateTexts: {
|
|
18
|
+
case_type: string;
|
|
19
|
+
report_case: string;
|
|
20
|
+
add_case: string;
|
|
21
|
+
case_details: {
|
|
22
|
+
name: {
|
|
23
|
+
title: string;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
};
|
|
26
|
+
description: {
|
|
27
|
+
title: string;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
};
|
|
30
|
+
rc: {
|
|
31
|
+
title: string;
|
|
32
|
+
placeholder: string;
|
|
33
|
+
};
|
|
34
|
+
case_type: {
|
|
35
|
+
title: string;
|
|
36
|
+
placeholder: string;
|
|
37
|
+
};
|
|
38
|
+
category: {
|
|
39
|
+
title: string;
|
|
40
|
+
placeholder: string;
|
|
41
|
+
};
|
|
42
|
+
when: {
|
|
43
|
+
title: string;
|
|
44
|
+
placeholder: string;
|
|
45
|
+
};
|
|
46
|
+
priority: {
|
|
47
|
+
title: string;
|
|
48
|
+
placeholder: string;
|
|
49
|
+
};
|
|
50
|
+
attachments: {
|
|
51
|
+
title: string;
|
|
52
|
+
placeholder: string;
|
|
53
|
+
};
|
|
54
|
+
due_date: {
|
|
55
|
+
title: string;
|
|
56
|
+
placeholder: string;
|
|
57
|
+
deadline_placeholder: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
tooltipMessage: {
|
|
61
|
+
report_case: string;
|
|
62
|
+
add_case: string;
|
|
63
|
+
rc: string;
|
|
64
|
+
};
|
|
65
|
+
errorMessage: {
|
|
66
|
+
rc: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
dueDate: any;
|
|
17
70
|
ngOnInit(): void;
|
|
18
71
|
openDatePicker(): void;
|
|
19
72
|
/**
|
|
@@ -21,5 +74,5 @@ export declare class DueDateComponent implements OnInit {
|
|
|
21
74
|
*/
|
|
22
75
|
closeDatePicker(evt: any): void;
|
|
23
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<DueDateComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DueDateComponent, "app-due-date", never, {}, {}, never, never, false, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DueDateComponent, "app-due-date", never, { "dueDate": { "alias": "dueDate"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
78
|
}
|
|
@@ -6,11 +6,13 @@ export declare class FieldHolderComponent {
|
|
|
6
6
|
case_category: string;
|
|
7
7
|
when: string;
|
|
8
8
|
what: string;
|
|
9
|
+
case_resolution_deadline: string;
|
|
9
10
|
};
|
|
10
11
|
image: string;
|
|
11
12
|
active: boolean;
|
|
12
13
|
disabled: boolean;
|
|
13
14
|
checked: boolean;
|
|
15
|
+
scrollToBottom: boolean;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldHolderComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldHolderComponent, "app-field-holder", never, { "image": { "alias": "image"; "required": false; }; "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, {}, never, ["[field]"], false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldHolderComponent, "app-field-holder", never, { "image": { "alias": "image"; "required": false; }; "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "scrollToBottom": { "alias": "scrollToBottom"; "required": false; }; }, {}, never, ["[field]"], false, never>;
|
|
16
18
|
}
|
|
@@ -19,6 +19,7 @@ export declare class FormSelectBoxComponent {
|
|
|
19
19
|
dropDownList: any;
|
|
20
20
|
dropDownText: any;
|
|
21
21
|
treeData: any;
|
|
22
|
+
isLoader: boolean;
|
|
22
23
|
title: string;
|
|
23
24
|
key: string;
|
|
24
25
|
action: string;
|
|
@@ -26,10 +27,10 @@ export declare class FormSelectBoxComponent {
|
|
|
26
27
|
popupState: string;
|
|
27
28
|
isCaseTypeSelected: boolean;
|
|
28
29
|
chipItems: any[];
|
|
29
|
-
userGroupCaseTypeCheck: boolean;
|
|
30
|
-
isLoader: boolean;
|
|
31
30
|
set config(value: any);
|
|
32
31
|
set initialSelectedItemList(value: any[]);
|
|
32
|
+
isError: boolean;
|
|
33
|
+
errorMessage: string;
|
|
33
34
|
selectedItemListChange: EventEmitter<any>;
|
|
34
35
|
fieldClicked: EventEmitter<any>;
|
|
35
36
|
selectedData: any;
|
|
@@ -42,5 +43,5 @@ export declare class FormSelectBoxComponent {
|
|
|
42
43
|
openSelection(): void;
|
|
43
44
|
setDropdownList(event: any): void;
|
|
44
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectBoxComponent, never>;
|
|
45
|
-
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; }; "initialSelectedItemList": { "alias": "initialSelectedItemList"; "required": false; }; "selectedData": { "alias": "selectedData"; "required": false; }; }, { "selectedItemListChange": "selectedItemListChange"; "fieldClicked": "fieldClicked"; }, never, ["[label]"], false, never>;
|
|
46
|
+
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; }; "initialSelectedItemList": { "alias": "initialSelectedItemList"; "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>;
|
|
46
47
|
}
|
|
@@ -10,6 +10,7 @@ export declare class RcDetailsComponent {
|
|
|
10
10
|
case_category: string;
|
|
11
11
|
when: string;
|
|
12
12
|
what: string;
|
|
13
|
+
case_resolution_deadline: string;
|
|
13
14
|
};
|
|
14
15
|
rcTexts: {
|
|
15
16
|
case_type: string;
|
|
@@ -48,6 +49,11 @@ export declare class RcDetailsComponent {
|
|
|
48
49
|
title: string;
|
|
49
50
|
placeholder: string;
|
|
50
51
|
};
|
|
52
|
+
due_date: {
|
|
53
|
+
title: string;
|
|
54
|
+
placeholder: string;
|
|
55
|
+
deadline_placeholder: string;
|
|
56
|
+
};
|
|
51
57
|
};
|
|
52
58
|
tooltipMessage: {
|
|
53
59
|
report_case: string;
|
|
@@ -8,6 +8,7 @@ export declare class ReportDateComponent {
|
|
|
8
8
|
case_category: string;
|
|
9
9
|
when: string;
|
|
10
10
|
what: string;
|
|
11
|
+
case_resolution_deadline: string;
|
|
11
12
|
};
|
|
12
13
|
reportTexts: {
|
|
13
14
|
case_type: string;
|
|
@@ -46,6 +47,11 @@ export declare class ReportDateComponent {
|
|
|
46
47
|
title: string;
|
|
47
48
|
placeholder: string;
|
|
48
49
|
};
|
|
50
|
+
due_date: {
|
|
51
|
+
title: string;
|
|
52
|
+
placeholder: string;
|
|
53
|
+
deadline_placeholder: string;
|
|
54
|
+
};
|
|
49
55
|
};
|
|
50
56
|
tooltipMessage: {
|
|
51
57
|
report_case: string;
|
|
@@ -66,10 +72,11 @@ export declare class ReportDateComponent {
|
|
|
66
72
|
};
|
|
67
73
|
payload: any;
|
|
68
74
|
fieldSelected: string;
|
|
75
|
+
validationError: any;
|
|
69
76
|
datePicker: DatePickerComponent;
|
|
70
77
|
datePickerPopUp: ElementRef;
|
|
71
78
|
openDatePicker(): void;
|
|
72
79
|
closeDatePicker(evt: any): void;
|
|
73
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportDateComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReportDateComponent, "app-report-date", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; }, {}, never, never, false, never>;
|
|
81
|
+
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>;
|
|
75
82
|
}
|
|
@@ -35,6 +35,11 @@ export declare const REPORT_CASE: {
|
|
|
35
35
|
title: string;
|
|
36
36
|
placeholder: string;
|
|
37
37
|
};
|
|
38
|
+
due_date: {
|
|
39
|
+
title: string;
|
|
40
|
+
placeholder: string;
|
|
41
|
+
deadline_placeholder: string;
|
|
42
|
+
};
|
|
38
43
|
};
|
|
39
44
|
tooltipMessage: {
|
|
40
45
|
report_case: string;
|
|
@@ -101,6 +106,36 @@ export declare const REPORT_CASE_PAYLOAD: {
|
|
|
101
106
|
linked_assessment_issues: {};
|
|
102
107
|
source: string;
|
|
103
108
|
};
|
|
109
|
+
export declare const ADDITIONAL_OPTION_PAYLOAD: {
|
|
110
|
+
workflow_id: string;
|
|
111
|
+
owners: never[];
|
|
112
|
+
assignees: never[];
|
|
113
|
+
assignees_group: never[];
|
|
114
|
+
resolution_deadline: {
|
|
115
|
+
due_date: string;
|
|
116
|
+
stages_assignees: never[];
|
|
117
|
+
assignee_remind_before: number;
|
|
118
|
+
owner_remind_before: number;
|
|
119
|
+
};
|
|
120
|
+
exception_type: string;
|
|
121
|
+
associated_risks: {
|
|
122
|
+
text: string;
|
|
123
|
+
attachments: never[];
|
|
124
|
+
};
|
|
125
|
+
oversights: {
|
|
126
|
+
cc_ids: never[];
|
|
127
|
+
cc_failures_ids: never[];
|
|
128
|
+
};
|
|
129
|
+
evidence_enabled: boolean;
|
|
130
|
+
recommendations: {
|
|
131
|
+
text: string;
|
|
132
|
+
attachments: never[];
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
export declare const EXCEPTION_TYPE: {
|
|
136
|
+
DESIGN_EXCEPTION: string;
|
|
137
|
+
EFFECTIVENESS_EXCEPTION: string;
|
|
138
|
+
};
|
|
104
139
|
export declare const SELECTOR_CONFIG: {
|
|
105
140
|
CASE_CATEGORY: {
|
|
106
141
|
panelTitle: string;
|
|
@@ -114,3 +149,11 @@ export declare const SELECTOR_CONFIG: {
|
|
|
114
149
|
noDataText: string;
|
|
115
150
|
};
|
|
116
151
|
};
|
|
152
|
+
export declare const OVERSIGHT_SELECTOR_CONFIG: {
|
|
153
|
+
panelTitle: string;
|
|
154
|
+
floatingTextSingular: string;
|
|
155
|
+
searchPlaceholder: string;
|
|
156
|
+
searchEnabled: boolean;
|
|
157
|
+
selectAllEnabled: boolean;
|
|
158
|
+
noDataText: string;
|
|
159
|
+
};
|
|
@@ -28,8 +28,11 @@ import * as i26 from "../sharedComponents/format-and-evidence/format-and-evidenc
|
|
|
28
28
|
import * as i27 from "../sharedComponents/v-loader/v-loader.module";
|
|
29
29
|
import * as i28 from "../ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
|
|
30
30
|
import * as i29 from "../sharedComponents/category-list-selection/category-list-selection.module";
|
|
31
|
+
import * as i30 from "../sharedComponents/directive/directive.module";
|
|
32
|
+
import * as i31 from "../sharedComponents/checkbox-list/checkbox-list.module";
|
|
33
|
+
import * as i32 from "../pipes/pipes.module";
|
|
31
34
|
export declare class ReportCaseModule {
|
|
32
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportCaseModule, never>;
|
|
33
|
-
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.CommonModule, typeof i16.TooltipModule, typeof i17.FloatingBarModule, typeof i18.FormgroupModule, typeof i19.DpDatePickerModule, typeof i20.VcomplyEditorModule, typeof i21.PopoverModule, typeof i22.VcDropdownModule, typeof i23.FormSelectBoxModule, typeof i24.FormsModule, typeof i25.RcListModule, typeof i26.FormatAndEvidenceModule, typeof i27.VLoaderModule, typeof i28.SmileyDialogInlineModule, typeof i29.CategoryListSelectionModule], [typeof i2.WorkflowCaseComponent]>;
|
|
36
|
+
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.CommonModule, typeof i16.TooltipModule, typeof i17.FloatingBarModule, typeof i18.FormgroupModule, typeof i19.DpDatePickerModule, typeof i20.VcomplyEditorModule, typeof i21.PopoverModule, typeof i22.VcDropdownModule, typeof i23.FormSelectBoxModule, typeof i24.FormsModule, typeof i25.RcListModule, typeof i26.FormatAndEvidenceModule, typeof i27.VLoaderModule, typeof i28.SmileyDialogInlineModule, typeof i29.CategoryListSelectionModule, typeof i30.SharedDirectiveModule, typeof i31.CheckboxListModule, typeof i32.PipesModule], [typeof i2.WorkflowCaseComponent]>;
|
|
34
37
|
static ɵinj: i0.ɵɵInjectorDeclaration<ReportCaseModule>;
|
|
35
38
|
}
|
|
@@ -8,8 +8,8 @@ export declare class ReportACaseService {
|
|
|
8
8
|
private authService;
|
|
9
9
|
private getAllTypes$;
|
|
10
10
|
private getAllPriorities$;
|
|
11
|
-
reportClicked: Subject<any>;
|
|
12
11
|
private getAllCategories$;
|
|
12
|
+
workflowCode: Subject<string>;
|
|
13
13
|
env: any;
|
|
14
14
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
15
15
|
private fetchAllTypes;
|
|
@@ -19,7 +19,6 @@ export declare class ReportACaseService {
|
|
|
19
19
|
getAllTypes(): Observable<any>;
|
|
20
20
|
getAllPriorities(): Observable<any>;
|
|
21
21
|
reportACase(payload: any): Observable<any>;
|
|
22
|
-
submitReportCase(): void;
|
|
23
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportACaseService, [null, null, { optional: true; }]>;
|
|
24
23
|
static ɵprov: i0.ɵɵInjectableDeclaration<ReportACaseService>;
|
|
25
24
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import { report } from '../components/case-type-slider/case-type.component';
|
|
2
3
|
import { ReportACaseService } from '../services/report-a-case.service';
|
|
3
4
|
import { UiKitService } from '../../workflow-services/ui-kit.service';
|
|
5
|
+
import { OrganizationUserService } from '../../workflow-services/organization-user.service';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class WorkflowCaseComponent {
|
|
6
8
|
private reportACaseService;
|
|
7
9
|
private uiKitService;
|
|
10
|
+
private organizationUserService;
|
|
8
11
|
caseType: typeof report;
|
|
9
12
|
caseTypeSelected: report;
|
|
10
13
|
payload: {
|
|
@@ -41,11 +44,94 @@ export declare class WorkflowCaseComponent {
|
|
|
41
44
|
};
|
|
42
45
|
fieldClicked: string;
|
|
43
46
|
showSmiley: boolean;
|
|
44
|
-
|
|
47
|
+
scrollToBottom: boolean;
|
|
48
|
+
sideSelectorElements: any;
|
|
49
|
+
additionalOptionStatus: any;
|
|
50
|
+
additionalPayload: {
|
|
51
|
+
workflow_id: string;
|
|
52
|
+
owners: never[];
|
|
53
|
+
assignees: never[];
|
|
54
|
+
assignees_group: never[];
|
|
55
|
+
resolution_deadline: {
|
|
56
|
+
due_date: string;
|
|
57
|
+
stages_assignees: never[];
|
|
58
|
+
assignee_remind_before: number;
|
|
59
|
+
owner_remind_before: number;
|
|
60
|
+
};
|
|
61
|
+
exception_type: string;
|
|
62
|
+
associated_risks: {
|
|
63
|
+
text: string;
|
|
64
|
+
attachments: never[];
|
|
65
|
+
};
|
|
66
|
+
oversights: {
|
|
67
|
+
cc_ids: never[];
|
|
68
|
+
cc_failures_ids: never[];
|
|
69
|
+
};
|
|
70
|
+
evidence_enabled: boolean;
|
|
71
|
+
recommendations: {
|
|
72
|
+
text: string;
|
|
73
|
+
attachments: never[];
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
exceptionType: {
|
|
77
|
+
DESIGN_EXCEPTION: string;
|
|
78
|
+
EFFECTIVENESS_EXCEPTION: string;
|
|
79
|
+
};
|
|
80
|
+
activeField: string;
|
|
81
|
+
activeSelector: string;
|
|
82
|
+
userList: any;
|
|
83
|
+
oversight_config: {
|
|
84
|
+
panelTitle: string;
|
|
85
|
+
floatingTextSingular: string;
|
|
86
|
+
searchPlaceholder: string;
|
|
87
|
+
searchEnabled: boolean;
|
|
88
|
+
selectAllEnabled: boolean;
|
|
89
|
+
noDataText: string;
|
|
90
|
+
};
|
|
91
|
+
loader: {
|
|
92
|
+
userListLoader: boolean;
|
|
93
|
+
};
|
|
94
|
+
smileyMessage: string;
|
|
95
|
+
actionButtons: any[];
|
|
96
|
+
validationError: {
|
|
97
|
+
name: {
|
|
98
|
+
isError: boolean;
|
|
99
|
+
message: string;
|
|
100
|
+
};
|
|
101
|
+
description: {
|
|
102
|
+
isError: boolean;
|
|
103
|
+
message: string;
|
|
104
|
+
};
|
|
105
|
+
reportDate: {
|
|
106
|
+
isError: boolean;
|
|
107
|
+
message: string;
|
|
108
|
+
};
|
|
109
|
+
caseType: {
|
|
110
|
+
isError: boolean;
|
|
111
|
+
message: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
closeWorkflow: EventEmitter<any>;
|
|
115
|
+
constructor(reportACaseService: ReportACaseService, uiKitService: UiKitService, organizationUserService: OrganizationUserService);
|
|
116
|
+
ngOnInit(): void;
|
|
117
|
+
getUserList(): void;
|
|
45
118
|
reportCase(): void;
|
|
119
|
+
checkValidation(): boolean;
|
|
46
120
|
onCaseTypeChange(caseType: report): void;
|
|
47
121
|
saveSelectedList(event: any): void;
|
|
48
122
|
onFieldClicked(event: any): void;
|
|
123
|
+
addMoreInfo(event: any): void;
|
|
124
|
+
setOptionalField(issueData: any): void;
|
|
125
|
+
populateOptionalFields(): void;
|
|
126
|
+
setException(type: any): void;
|
|
127
|
+
checkDescription(): void;
|
|
128
|
+
selectFile(type: string, files: any): void;
|
|
129
|
+
uploadFile(file: any, type: string): void;
|
|
130
|
+
setEvidence(value: any): void;
|
|
131
|
+
setActiveFieldSelector(field: string, type: string): void;
|
|
132
|
+
smileyActions(evt: any): void;
|
|
133
|
+
closeSmiley(evt?: any): void;
|
|
134
|
+
closeWorkFlow(evt: any, confirm: any): void;
|
|
49
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowCaseComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowCaseComponent, "app-workflow-case", never, {}, {}, never, never, false, never>;
|
|
136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowCaseComponent, "app-workflow-case", never, {}, { "closeWorkflow": "closeWorkflow"; }, never, never, false, never>;
|
|
51
137
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./checkbox-list.component";
|
|
3
3
|
import * as i2 from "@angular/forms";
|
|
4
|
+
import * as i3 from "../../pipes/pipes.module";
|
|
5
|
+
import * as i4 from "../floating-bar/floating-bar.module";
|
|
6
|
+
import * as i5 from "../v-loader/v-loader.module";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "../../formgroup/formgroup.module";
|
|
4
9
|
export declare class CheckboxListModule {
|
|
5
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxListModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxListModule, [typeof i1.CheckboxListComponent], [typeof i2.FormsModule], [typeof i1.CheckboxListComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxListModule, [typeof i1.CheckboxListComponent], [typeof i2.FormsModule, typeof i3.PipesModule, typeof i4.FloatingBarModule, typeof i5.VLoaderModule, typeof i6.CommonModule, typeof i7.FormgroupModule], [typeof i1.CheckboxListComponent]>;
|
|
7
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxListModule>;
|
|
8
13
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./scroll-in-view.directive";
|
|
3
|
+
import * as i2 from "./autofocus.directive";
|
|
4
|
+
import * as i3 from "./conditional-focus.directive";
|
|
5
|
+
import * as i4 from "./drag-drop.directive";
|
|
6
|
+
import * as i5 from "./input-trim.directive";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
export declare class SharedDirectiveModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectiveModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectiveModule, [typeof i1.ScrollInViewDirective, typeof i2.AutofocusDirective, typeof i3.ConditionalFocusDirective, typeof i4.DragDropDirective, typeof i5.spaceTrimDirective], [typeof i6.CommonModule], [typeof i1.ScrollInViewDirective, typeof i2.AutofocusDirective, typeof i3.ConditionalFocusDirective, typeof i4.DragDropDirective, typeof i5.spaceTrimDirective]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectiveModule>;
|
|
12
|
+
}
|
|
@@ -16,6 +16,7 @@ import { WorkflowProgramComponent } from '../workflow-program/workflow-program.c
|
|
|
16
16
|
import { GrcObjectContainerComponent } from '../workflow/grc-object/grc-object-container/grc-object-container.component';
|
|
17
17
|
import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
|
|
18
18
|
import { ReportACaseService } from '../report-a-case/services/report-a-case.service';
|
|
19
|
+
import { WorkflowCaseComponent } from '../report-a-case/workflow-case/workflow-case.component';
|
|
19
20
|
import * as i0 from "@angular/core";
|
|
20
21
|
export declare class WorkflowEngineContainerComponent implements OnInit, AfterViewInit {
|
|
21
22
|
uiKitService: UiKitService;
|
|
@@ -94,6 +95,7 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
94
95
|
importAnAssessment: ImportAnAssessmentComponent;
|
|
95
96
|
program: WorkflowProgramComponent;
|
|
96
97
|
grcObject: GrcObjectContainerComponent;
|
|
98
|
+
reportCase: WorkflowCaseComponent;
|
|
97
99
|
dropdownLeft: any;
|
|
98
100
|
dropdownTop: any;
|
|
99
101
|
dropdownWidth: any;
|
|
@@ -105,6 +107,7 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
105
107
|
workflowTypeList: any;
|
|
106
108
|
additionalInformationList: string[];
|
|
107
109
|
confirmationAlertConfig: ConfirmationAlert;
|
|
110
|
+
checkCurrentWorkflow(): void;
|
|
108
111
|
closeWorkflowEngine(evt?: any): void;
|
|
109
112
|
closeConfirm(evt: any): void;
|
|
110
113
|
executeClose(evt: any): void;
|