vcomply-workflow-engine 2.6.27 → 2.6.29
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/bundles/vcomply-workflow-engine.umd.js +568 -901
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +32 -70
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.js +1 -1
- package/esm2015/lib/confirmation-alert/confirmation-alert.component.js +4 -4
- package/esm2015/lib/confirmation-alert/confirmation-alert.component.ngfactory.js +4 -11
- package/esm2015/lib/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.js +1 -1
- package/esm2015/lib/interfaces/confirmation-alert.js +1 -1
- package/esm2015/lib/log-an-issue/log-an-issue.component.js +1 -1
- package/esm2015/lib/sharedComponents/assessment-editor/services/editor.service.js +1 -1
- package/esm2015/lib/sharedComponents/assessment-editor/services/validator.service.js +4 -6
- package/esm2015/lib/sharedComponents/assessment-editor/services/validator.service.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.js +3 -4
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.ngfactory.js +17 -18
- package/esm2015/lib/sharedComponents/floating-bar/floating-bar.component.js +3 -8
- package/esm2015/lib/sharedComponents/floating-bar/floating-bar.component.ngfactory.js +3 -4
- package/esm2015/lib/sharedComponents/floating-bar/floating-bar.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/format-and-evidence/format-and-evidence.component.js +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.js +3 -2
- package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.ngfactory.js +15 -14
- package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.js +3 -2
- package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.ngfactory.js +15 -14
- package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-container/frequency-container.component.js +10 -2
- package/esm2015/lib/sharedComponents/frequency/frequency-container/frequency-container.component.ngfactory.js +9 -9
- package/esm2015/lib/sharedComponents/frequency/frequency-container/frequency-container.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.js +3 -2
- package/esm2015/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.ngfactory.js +12 -11
- package/esm2015/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.js +3 -2
- package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.ngfactory.js +15 -14
- package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.js +3 -2
- package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.ngfactory.js +17 -16
- package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.js +3 -2
- package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.ngfactory.js +15 -14
- package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.js +3 -2
- package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.ngfactory.js +15 -14
- package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/program-listing/program-list-model.js +1 -1
- package/esm2015/lib/sharedComponents/program-listing/program-listing.component.js +45 -303
- package/esm2015/lib/sharedComponents/program-listing/program-listing.component.ngfactory.js +74 -90
- package/esm2015/lib/sharedComponents/program-listing/program-listing.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/risk-classification/risk-classification.component.js +1 -1
- package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.js +54 -0
- package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.ngfactory.js +75 -0
- package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.js +41 -0
- package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.ngfactory.js +23 -0
- package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.js +1 -1
- package/esm2015/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.js +1 -1
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.js +1 -1
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +132 -231
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +264 -264
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +3 -14
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +13 -16
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine.module.js +6 -2
- package/esm2015/lib/workflow-engine.module.ngfactory.js +1 -1
- package/esm2015/lib/workflow-policy/workflow-policy.component.js +1 -1
- package/esm2015/lib/workflow-program/create-program-ui/file-pill/file-pill.component.js +1 -1
- package/esm2015/lib/workflow-program/create-program-ui/form-field/form-field.component.js +1 -1
- package/esm2015/lib/workflow-program/create-program-ui/input-with-pill/input-with-pill.component.js +1 -1
- package/esm2015/lib/workflow-program/workflow-program.component.js +1 -1
- package/esm2015/lib/workflow-risk/workflow-risk.component.js +1 -1
- package/esm2015/lib/workflow-services/responsibility.service.js +10 -14
- package/esm2015/lib/workflow-services/responsibility.service.ngsummary.json +1 -1
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.js +1 -1
- package/esm2015/vcomply-workflow-engine.js +190 -188
- package/esm2015/vcomply-workflow-engine.ngsummary.json +1 -1
- package/fesm2015/vcomply-workflow-engine.js +369 -678
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/interfaces/confirmation-alert.d.ts +0 -1
- package/lib/sharedComponents/assessment-editor/services/validator.service.d.ts +0 -1
- package/lib/sharedComponents/floating-bar/floating-bar.component.d.ts +0 -2
- package/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency-container/frequency-container.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.d.ts +1 -0
- package/lib/sharedComponents/program-listing/program-list-model.d.ts +0 -2
- package/lib/sharedComponents/program-listing/program-listing.component.d.ts +1 -62
- package/lib/sharedComponents/system-task-selector/system-task-selector.component.d.ts +19 -0
- package/lib/sharedComponents/system-task-selector/system-task-selector.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/tab-selector/tab-selector.component.d.ts +17 -0
- package/lib/sharedComponents/tab-selector/tab-selector.component.ngfactory.d.ts +1 -0
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +13 -108
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +0 -1
- package/lib/workflow-services/responsibility.service.d.ts +2 -2
- package/package.json +1 -1
- package/vcomply-workflow-engine.d.ts +189 -187
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -15,8 +15,6 @@ export declare class FloatingBarComponent implements OnInit, OnChanges {
|
|
|
15
15
|
selectedWorkflow: any;
|
|
16
16
|
workflowPlaceHolder: any;
|
|
17
17
|
mode: string;
|
|
18
|
-
defaultSelected: any;
|
|
19
|
-
set defaultSelectedValue(value: any);
|
|
20
18
|
nonRemovableUsersList: any;
|
|
21
19
|
removePosition: any;
|
|
22
20
|
closeEvent: EventEmitter<any>;
|
|
@@ -19,6 +19,7 @@ export declare class FrequencyAnnualComponent implements OnInit {
|
|
|
19
19
|
shortMonth: Array<string>;
|
|
20
20
|
frequencyData: any;
|
|
21
21
|
mode: any;
|
|
22
|
+
responsibilityType: any;
|
|
22
23
|
startDate: number;
|
|
23
24
|
frequencyDetails: EventEmitter<any>;
|
|
24
25
|
constructor(frequencyService: FrequencyService);
|
package/lib/sharedComponents/frequency/frequency-container/frequency-container.component.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare class FrequencyContainerComponent implements OnInit, OnChanges {
|
|
|
7
7
|
frequencyTab: string;
|
|
8
8
|
currentTabName: string;
|
|
9
9
|
frequencyDetails: any;
|
|
10
|
+
responsibilityType: any;
|
|
10
11
|
selectedFrequency: EventEmitter<any>;
|
|
11
12
|
closeFrequency: EventEmitter<any>;
|
|
12
13
|
mode: any;
|
|
@@ -19,6 +19,7 @@ export declare class FrequencyOneTimeComponent implements OnInit {
|
|
|
19
19
|
selectedDate: any;
|
|
20
20
|
frequencyData: any;
|
|
21
21
|
mode: any;
|
|
22
|
+
responsibilityType: any;
|
|
22
23
|
frequencyDetails: EventEmitter<any>;
|
|
23
24
|
constructor(frequencyService: FrequencyService);
|
|
24
25
|
ngOnInit(): void;
|
package/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { FrequencyService } from "../frequency.service";
|
|
|
3
3
|
export declare class FrequencyQuarterlyComponent implements OnInit {
|
|
4
4
|
private frequencyService;
|
|
5
5
|
mode: any;
|
|
6
|
+
responsibilityType: any;
|
|
6
7
|
quarterlyInterval: string;
|
|
7
8
|
quarterlyInput: number;
|
|
8
9
|
quarterlyFailed: number;
|
|
@@ -13,8 +13,6 @@ export interface programList {
|
|
|
13
13
|
SelectedOthersProgramsCount: number;
|
|
14
14
|
SelectedRegulationProgramsCount: number;
|
|
15
15
|
SelectedStandardProgramsCount: number;
|
|
16
|
-
AllViewOnlyProgramCount?: number;
|
|
17
|
-
AllProgramsCount?: number;
|
|
18
16
|
}
|
|
19
17
|
export interface categoryList {
|
|
20
18
|
data: any[];
|
|
@@ -8,23 +8,12 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
8
8
|
loader: boolean;
|
|
9
9
|
programsList: any;
|
|
10
10
|
selectedProgram: any;
|
|
11
|
-
openedFrom: string;
|
|
12
|
-
viewOnlyProgramsCategoryId: any[];
|
|
13
11
|
selectedCategories: any[];
|
|
14
|
-
tempSelectedCategories: any;
|
|
15
|
-
set getSelectedCategories(category: any);
|
|
16
|
-
responsibilityId: string;
|
|
17
12
|
hideProgramsList: any;
|
|
18
|
-
mode: string;
|
|
19
13
|
searchProgram: any;
|
|
20
14
|
searchCategory: any;
|
|
21
|
-
preservedSelectedPrograms: any;
|
|
22
|
-
preservedProgramsId: any;
|
|
23
|
-
preservePrimaryProgram: any;
|
|
24
|
-
set getLinkedProgram(program: any);
|
|
25
15
|
previousSelectedValues: any;
|
|
26
16
|
programData: programList;
|
|
27
|
-
programTabDataCount: any;
|
|
28
17
|
categoryData: categoryList;
|
|
29
18
|
showCategories: boolean;
|
|
30
19
|
currentProgram: any;
|
|
@@ -41,14 +30,6 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
41
30
|
others: number;
|
|
42
31
|
};
|
|
43
32
|
displayConfirmationMessage: boolean;
|
|
44
|
-
tempPrimaryProgram: any;
|
|
45
|
-
primaryConfirmationMessage: string;
|
|
46
|
-
isPrimaryConfirmation: boolean;
|
|
47
|
-
isUncheckedProgram: boolean;
|
|
48
|
-
isPrimaryUnchecked: boolean;
|
|
49
|
-
selectedProgramsDetail: any;
|
|
50
|
-
selectedProgramsId: any;
|
|
51
|
-
programCountLoader: boolean;
|
|
52
33
|
saveSelectedProgram: EventEmitter<any>;
|
|
53
34
|
closeEvent: EventEmitter<any>;
|
|
54
35
|
allCategories: any[];
|
|
@@ -58,28 +39,6 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
58
39
|
handleSearch(event: any): void;
|
|
59
40
|
categorySearch(event: any): void;
|
|
60
41
|
selectProgram(event: any, program: any): void;
|
|
61
|
-
/**
|
|
62
|
-
* If the event is true, then push the program to the selectedProgramsDetail array. If the event is
|
|
63
|
-
* false, then remove the program from the selectedProgramsDetail array.
|
|
64
|
-
* @param {any} event - boolean
|
|
65
|
-
* @param {any} program - any = {
|
|
66
|
-
*/
|
|
67
|
-
updateSelectedPrograms(event: any, program: any): void;
|
|
68
|
-
/**
|
|
69
|
-
* If the currentProgram is set, then set the currentProgram to the program passed in, and set the
|
|
70
|
-
* tempPrimaryProgram to the currentProgram.
|
|
71
|
-
* If the currentProgram is not set, then set the currentProgram to the program passed in.
|
|
72
|
-
* @param {any} event - any - the event that is triggered when the user clicks on the checkbox
|
|
73
|
-
* @param {any} program - the program that is being selected
|
|
74
|
-
*/
|
|
75
|
-
setPrimaryProgram(event: any, program: any): void;
|
|
76
|
-
/**
|
|
77
|
-
* If the user clicks "Yes" on the confirmation modal, then the function will remove the program from
|
|
78
|
-
* the selectedProgramsDetail array and the selectedProgramsId array. If the user clicks "No" on the
|
|
79
|
-
* confirmation modal, then the function will do nothing.
|
|
80
|
-
* @param {boolean} event - boolean -> this is the value of the checkbox
|
|
81
|
-
*/
|
|
82
|
-
updatePrimaryProgram(event: boolean): void;
|
|
83
42
|
selectAllCategories(value: boolean): void;
|
|
84
43
|
checkCategoriesSelection(): "checked" | "unchecked" | "indeterminate";
|
|
85
44
|
openCategories(): void;
|
|
@@ -87,8 +46,6 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
87
46
|
changeTab(type: 'regulations' | 'standards' | 'internal_controls' | 'others'): void;
|
|
88
47
|
changePage(event: any, type: 'category' | 'program'): void;
|
|
89
48
|
getProgramsList(paramsObject?: any): void;
|
|
90
|
-
getProgramsCount(paramsObject?: any): void;
|
|
91
|
-
selectedSubCategoryIds: any[];
|
|
92
49
|
getCategoriesList(queryObject?: any): void;
|
|
93
50
|
saveProgram(): void;
|
|
94
51
|
selectCategory(mode: any, category: any): void;
|
|
@@ -97,23 +54,5 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
97
54
|
save(): void;
|
|
98
55
|
saveChanges(value: boolean): void;
|
|
99
56
|
deleteEvent(event: any): void;
|
|
100
|
-
getSelectedProgramCount(
|
|
101
|
-
/**
|
|
102
|
-
* If the selectedProgram array has a length, then preserve the first element of the array as the
|
|
103
|
-
* preservePrimaryProgram variable. Otherwise, set the preservePrimaryProgram variable to an empty
|
|
104
|
-
* object.
|
|
105
|
-
*
|
|
106
|
-
* If the selectedProgramsId array has a length, then preserve the array as the preservedProgramsId
|
|
107
|
-
* variable. Otherwise, set the preservedProgramsId variable to an empty array.
|
|
108
|
-
*
|
|
109
|
-
* If the selectedProgramsDetail array has a length, then preserve the array as the
|
|
110
|
-
* preservedSelectedPrograms variable. Otherwise, set the preservedSelectedPrograms variable to an
|
|
111
|
-
* empty array.
|
|
112
|
-
*
|
|
113
|
-
* If the selectedProgram array does not have a length, then set the selectedProgramsDetail array to
|
|
114
|
-
* an empty array and the selectedProgramsId array to an empty array.
|
|
115
|
-
*/
|
|
116
|
-
preservePreviousDetails(): void;
|
|
117
|
-
programSubTab: 'PROGRAMS' | 'OTHER_PROGRAMS';
|
|
118
|
-
setProgramSubTab(tab: 'PROGRAMS' | 'OTHER_PROGRAMS'): void;
|
|
57
|
+
getSelectedProgramCount(): void;
|
|
119
58
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit, EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
+
export declare class SystemTaskSelectorComponent implements OnInit, OnChanges {
|
|
3
|
+
systemResponsibilityList: never[];
|
|
4
|
+
selectedResponsibilities: any;
|
|
5
|
+
systemResponsibilityIdKey: string;
|
|
6
|
+
responsibilityNameKey: string;
|
|
7
|
+
saveSelectedList: EventEmitter<any>;
|
|
8
|
+
closeResponsibilityList: EventEmitter<any>;
|
|
9
|
+
selectedResponsibility: any;
|
|
10
|
+
search: string;
|
|
11
|
+
animation: boolean;
|
|
12
|
+
constructor();
|
|
13
|
+
ngOnChanges(): void;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
selectResponsibility(resp: any): void;
|
|
16
|
+
deleteEvent(event: any): void;
|
|
17
|
+
save(): void;
|
|
18
|
+
close(): void;
|
|
19
|
+
}
|
package/lib/sharedComponents/system-task-selector/system-task-selector.component.ngfactory.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
export interface TabSelectorInterface {
|
|
3
|
+
label: string;
|
|
4
|
+
value: any;
|
|
5
|
+
}
|
|
6
|
+
export declare class TabSelector implements ControlValueAccessor {
|
|
7
|
+
displayArray: Array<TabSelectorInterface>;
|
|
8
|
+
disabled: boolean | any;
|
|
9
|
+
selectedItem: number;
|
|
10
|
+
onChanged: (value: any) => void;
|
|
11
|
+
onTouched: () => void;
|
|
12
|
+
writeValue(value: any): void;
|
|
13
|
+
registerOnChange(fn: any): void;
|
|
14
|
+
registerOnTouched(fn: any): void;
|
|
15
|
+
setDisabledState(isDisabled: boolean): void;
|
|
16
|
+
valueChanged(value: any): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -31,10 +31,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
31
31
|
openedFrom: any;
|
|
32
32
|
selectedRC: number;
|
|
33
33
|
selectedProgram: any;
|
|
34
|
-
set setSelectedProgram(program: any);
|
|
35
|
-
onRemovingCheckpoint: EventEmitter<any>;
|
|
36
|
-
isAssessmentDisabled: EventEmitter<any>;
|
|
37
|
-
assigneeTypeChange: EventEmitter<any>;
|
|
38
34
|
scrollToBottom: boolean;
|
|
39
35
|
description: EditorConfig;
|
|
40
36
|
programPeopleList: any;
|
|
@@ -57,6 +53,10 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
57
53
|
groupsListLoaded: boolean;
|
|
58
54
|
assuranceCategoryListLoaded: boolean;
|
|
59
55
|
selectedFrameworkValues: any;
|
|
56
|
+
responsibilityType: {
|
|
57
|
+
label: string;
|
|
58
|
+
value: number;
|
|
59
|
+
}[];
|
|
60
60
|
assignorsList: any[];
|
|
61
61
|
assigneesList: any[];
|
|
62
62
|
reviewersList: any[];
|
|
@@ -75,6 +75,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
75
75
|
moreOptions: any;
|
|
76
76
|
activeSelector: string;
|
|
77
77
|
sideSelectorElements: any;
|
|
78
|
+
displayList: {};
|
|
78
79
|
focus: {
|
|
79
80
|
responsibilityName: boolean;
|
|
80
81
|
description: boolean;
|
|
@@ -130,14 +131,17 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
130
131
|
managePermission: boolean;
|
|
131
132
|
checkpointCount: number;
|
|
132
133
|
roleBasedPermissions: any;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
unsubscribe: Subject<unknown>;
|
|
135
|
+
systemResponsibilityList: any;
|
|
136
|
+
selectedSystemRes: object[];
|
|
137
|
+
onRemovingCheckpoint: EventEmitter<any>;
|
|
138
|
+
isAssessmentDisabled: EventEmitter<any>;
|
|
136
139
|
whatInput: ElementRef;
|
|
137
140
|
unSubscribeProgram: Subject<void>;
|
|
138
141
|
constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService, programService: ProgramsService);
|
|
139
142
|
ngOnInit(): void;
|
|
140
143
|
activateSelector(type: any, event: boolean): void;
|
|
144
|
+
getSystemResponsibility(): void;
|
|
141
145
|
whatChanged(event: any): void;
|
|
142
146
|
activeDeselector(): void;
|
|
143
147
|
addMoreInfo(event: any): void;
|
|
@@ -165,25 +169,10 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
165
169
|
assignFromFramework(freqObj: any): void;
|
|
166
170
|
refreshAllLists(): void;
|
|
167
171
|
refreshListsWhileProgramSelected(): void;
|
|
168
|
-
|
|
169
|
-
* If the form is valid, then if the mode is EDIT, then set the organizationId and memberId to the
|
|
170
|
-
* authService values, and then call the entrustResponsibility function with the responsibilityForm as
|
|
171
|
-
* a parameter.
|
|
172
|
-
*
|
|
173
|
-
* If the mode is not EDIT, then call the entrustResponsibility function with the responsibilityForm
|
|
174
|
-
* as a parameter.
|
|
175
|
-
* @returns a boolean value.
|
|
176
|
-
*/
|
|
177
|
-
submitResponsibility(): false | undefined;
|
|
178
|
-
/**
|
|
179
|
-
* If the responsibility name is empty, or the frequency is empty, or the assignees list is empty,
|
|
180
|
-
* then return false. Otherwise, return true.
|
|
181
|
-
*/
|
|
172
|
+
submitResponsibility(): any;
|
|
182
173
|
validateResponsibility(): boolean | undefined;
|
|
174
|
+
responsibilityData: any;
|
|
183
175
|
entrustResponsibility(entrustForm: any): void;
|
|
184
|
-
/**
|
|
185
|
-
* It resets the form.
|
|
186
|
-
*/
|
|
187
176
|
reset(): void;
|
|
188
177
|
action(event: string): void;
|
|
189
178
|
viewResponsibilities(): void;
|
|
@@ -192,96 +181,20 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
192
181
|
frequencyPopulation(event: any): void;
|
|
193
182
|
frequencyData(event: any): void;
|
|
194
183
|
checkBlank(data: string): string;
|
|
195
|
-
/**
|
|
196
|
-
* It takes a string and returns a string.
|
|
197
|
-
* @param {any} res - any = {
|
|
198
|
-
*/
|
|
199
184
|
getFrequencyPlaceholder(res: any): void;
|
|
200
|
-
/**
|
|
201
|
-
* It gets the frequency details and report id, then it sets the frequency placeholder to the frequency
|
|
202
|
-
* details and then it gets the on completion of responsibility and sets the frequency placeholder to
|
|
203
|
-
* the frequency details and the report name.
|
|
204
|
-
* @param {any} frequencyDetails - [0] => "1"
|
|
205
|
-
* @param {number} reportId - number
|
|
206
|
-
*/
|
|
207
185
|
getOnCompletionOf(frequencyDetails: any, reportId: number): void;
|
|
208
|
-
/**
|
|
209
|
-
* "If the frequencyDetails[3] is 1, then set the frequencyPlaceholder to 'Daily by ' + frequencyTime,
|
|
210
|
-
* otherwise if frequencyDetails[3] is greater than 1, then set the frequencyPlaceholder to 'Every ' +
|
|
211
|
-
* parseInt(frequencyDetails[3]) + ' days by ' + frequencyTime."
|
|
212
|
-
* @param {any} frequencyDetails - [0, 0, 0, 1]
|
|
213
|
-
* @param {any} frequencyTime - "12:00 AM"
|
|
214
|
-
*/
|
|
215
186
|
getDailyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
216
|
-
/**
|
|
217
|
-
* It takes a string of comma separated numbers and returns a string of comma separated words.
|
|
218
|
-
*
|
|
219
|
-
* The function is called with a string of comma separated numbers, like this:
|
|
220
|
-
*
|
|
221
|
-
* getWeeklyPlaceholder(["1","2,3,4,5,6,7","1","1"], "10:00 AM")
|
|
222
|
-
*
|
|
223
|
-
* The function returns a string of comma separated words, like this:
|
|
224
|
-
*
|
|
225
|
-
* "Every Monday,Tuesday,Wednesday,Thursday,Friday,Saturday by 10:00 AM"</code>
|
|
226
|
-
* @param {any} frequencyDetails - ["1", "1,2,3,4,5", "", "1", ""]
|
|
227
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
228
|
-
*/
|
|
229
187
|
getWeeklyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
230
|
-
/**
|
|
231
|
-
* It takes a string of comma separated numbers, converts them to month names, and then adds them to a
|
|
232
|
-
* sentence.
|
|
233
|
-
* @param {any} frequencyDetails - ["1", "1", "1,2,3,4,5,6,7,8,9,10,11,12"]
|
|
234
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
235
|
-
*/
|
|
236
188
|
getMonthlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
237
|
-
/**
|
|
238
|
-
* If the frequencyDetails[1] is 1, 2, 3, 21, 22, 23, or greater than 3, then set the
|
|
239
|
-
* frequencyPlaceholder to a string that includes the frequencyDetails[1] and the frequencyDetails[2]
|
|
240
|
-
* and the frequencyTime.
|
|
241
|
-
* @param {any} frequencyDetails - ["3", "1", "1,2,3"]
|
|
242
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
243
|
-
*/
|
|
244
189
|
getQuarterlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
245
|
-
/**
|
|
246
|
-
* It takes a string of comma separated numbers and returns a string of comma separated month names.
|
|
247
|
-
* @param {any} frequencyDetails - ["1", "1", "1,2,3,4,5,6,7,8,9,10,11,12"]
|
|
248
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
249
|
-
*/
|
|
250
190
|
getBiannualPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
251
|
-
/**
|
|
252
|
-
* If the frequencyDetails[1] is less than 2, then the frequencyPlaceholder is set to the 1st, 2nd,
|
|
253
|
-
* 3rd, or nth of every month by frequencyTime.
|
|
254
|
-
*
|
|
255
|
-
* If the frequencyDetails[1] is greater than 1, then the frequencyPlaceholder is set to the 1st, 2nd,
|
|
256
|
-
* 3rd, or nth of every month, Interval: every yearSequence years by frequencyTime.
|
|
257
|
-
* @param {any} frequencyDetails - ["Yearly", "1", "1", "1"]
|
|
258
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
259
|
-
*/
|
|
260
191
|
getYearlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
261
|
-
/**
|
|
262
|
-
* It takes a frequencyDetails array and a frequencyTime array and returns a string.
|
|
263
|
-
* @param {any} frequencyDetails - [4,1,1,1]
|
|
264
|
-
*/
|
|
265
192
|
getRandomPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
266
|
-
/**
|
|
267
|
-
* "When the user clicks the edit button, the edit button is hidden and the input field is shown.
|
|
268
|
-
* When the user clicks the input field, the input field is hidden and the edit button is shown."
|
|
269
|
-
* @param {any} event - any - the event that triggered the function
|
|
270
|
-
*/
|
|
271
193
|
onEditWhat(event: any): void;
|
|
272
|
-
/**
|
|
273
|
-
*
|
|
274
|
-
* The function is called with a parameter and returns an array of strings.
|
|
275
|
-
* @param {any} [res] - is the response from the API
|
|
276
|
-
*/
|
|
277
194
|
getEditMoreOptions(res?: any): void;
|
|
278
195
|
testFunction(): void;
|
|
279
196
|
reviewerTypeChange(event: any): void;
|
|
280
197
|
selectedSampleData(event: number): void;
|
|
281
|
-
/**
|
|
282
|
-
* It populates a list of assurance categories based on the test plan category selected.
|
|
283
|
-
* @param {any} testPlanCategory - any
|
|
284
|
-
*/
|
|
285
198
|
populateAssuranceList(testPlanCategory: any): void;
|
|
286
199
|
checkInputValue(event: any): boolean;
|
|
287
200
|
switchEnable(event: boolean): void;
|
|
@@ -299,12 +212,4 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
299
212
|
*/
|
|
300
213
|
postAssessment(event: any): void;
|
|
301
214
|
setIsUploaded(event: any): void;
|
|
302
|
-
checkDefaultProgramOnRemove(program: any): void;
|
|
303
|
-
/**
|
|
304
|
-
* It takes an array of numbers and returns an array of unique numbers.
|
|
305
|
-
* @param {any} array - The array you want to get the unique values from.
|
|
306
|
-
* @returns An array of unique values.
|
|
307
|
-
*/
|
|
308
|
-
getUniqueIds(array: any): unknown[];
|
|
309
|
-
openAssigneeChangeConfirmation(event: any): void;
|
|
310
215
|
}
|
|
@@ -9,13 +9,13 @@ export declare class ResponsibilityService {
|
|
|
9
9
|
dataPerPage: number;
|
|
10
10
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
11
11
|
getResponsibilityCenterList(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
12
|
+
getSystemResponsibilityList(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
12
13
|
getOrganizationGroups(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
13
14
|
getOrganizationUsers(): import("rxjs").Observable<any[]>;
|
|
14
15
|
getOrganizationPeople(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
15
16
|
getAssignorsList(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
16
17
|
getCategoriesList(): import("rxjs").Observable<any[]>;
|
|
17
|
-
getProgramsList(params: HttpParams
|
|
18
|
-
getProgramsListCount(params: HttpParams, ids?: any): import("rxjs").Observable<any[]>;
|
|
18
|
+
getProgramsList(params: HttpParams): import("rxjs").Observable<any[]>;
|
|
19
19
|
getCategoriesUnderProgram(params: HttpParams): import("rxjs").Observable<any[]>;
|
|
20
20
|
getAssurance(): import("rxjs").Observable<any[]>;
|
|
21
21
|
getAssuranceForRequiresAudit(): import("rxjs").Observable<any[]>;
|