vcomply-workflow-engine 2.6.30 → 2.6.31
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 +941 -591
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +92 -39
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.js +3 -3
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.ngfactory.js +2 -2
- package/esm2015/lib/confirmation-alert/confirmation-alert.component.js +4 -4
- package/esm2015/lib/confirmation-alert/confirmation-alert.component.ngfactory.js +11 -4
- 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 +16 -12
- package/esm2015/lib/log-an-issue/log-an-issue.component.ngfactory.js +49 -50
- package/esm2015/lib/log-an-issue/log-an-issue.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/assessment-editor/services/editor.service.js +1 -1
- package/esm2015/lib/sharedComponents/assessment-editor/services/validator.service.js +6 -4
- 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 +4 -3
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.ngfactory.js +18 -17
- package/esm2015/lib/sharedComponents/floating-bar/floating-bar.component.js +8 -3
- package/esm2015/lib/sharedComponents/floating-bar/floating-bar.component.ngfactory.js +4 -3
- 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 +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.ngfactory.js +14 -15
- 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 +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.ngfactory.js +14 -15
- 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 +2 -10
- 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 +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.ngfactory.js +11 -12
- 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 +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.ngfactory.js +14 -15
- 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 +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.ngfactory.js +16 -17
- 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 +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.ngfactory.js +14 -15
- 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 +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.ngfactory.js +14 -15
- 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 +303 -45
- package/esm2015/lib/sharedComponents/program-listing/program-listing.component.ngfactory.js +90 -74
- 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/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 +231 -132
- 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 +14 -3
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +17 -14
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine.module.js +2 -6
- 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 +6 -4
- package/esm2015/lib/workflow-risk/workflow-risk.component.js +1 -1
- package/esm2015/lib/workflow-services/add-risk.service.js +7 -4
- package/esm2015/lib/workflow-services/auth.service.js +7 -4
- package/esm2015/lib/workflow-services/responsibility.service.js +14 -10
- 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 +188 -190
- package/esm2015/vcomply-workflow-engine.ngsummary.json +1 -1
- package/fesm2015/vcomply-workflow-engine.js +730 -394
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/interfaces/confirmation-alert.d.ts +1 -0
- package/lib/log-an-issue/log-an-issue.component.d.ts +3 -3
- package/lib/sharedComponents/assessment-editor/services/validator.service.d.ts +1 -0
- package/lib/sharedComponents/floating-bar/floating-bar.component.d.ts +2 -0
- package/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-container/frequency-container.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.d.ts +0 -1
- package/lib/sharedComponents/program-listing/program-list-model.d.ts +2 -0
- package/lib/sharedComponents/program-listing/program-listing.component.d.ts +62 -1
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +108 -13
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +1 -0
- package/lib/workflow-services/responsibility.service.d.ts +2 -2
- package/package.json +1 -1
- package/vcomply-workflow-engine.d.ts +187 -189
- package/vcomply-workflow-engine.metadata.json +1 -1
- package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.js +0 -54
- package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.ngfactory.js +0 -75
- package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.js +0 -41
- package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.ngfactory.js +0 -23
- package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.ngsummary.json +0 -1
- package/lib/sharedComponents/system-task-selector/system-task-selector.component.d.ts +0 -19
- package/lib/sharedComponents/system-task-selector/system-task-selector.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/tab-selector/tab-selector.component.d.ts +0 -17
- package/lib/sharedComponents/tab-selector/tab-selector.component.ngfactory.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthService } from '../workflow-services/auth.service';
|
|
2
2
|
import { LogIssueService } from '../workflow-services/log-issue.service';
|
|
3
|
-
import { EventEmitter, OnInit, OnChanges, AfterViewInit } from '@angular/core';
|
|
3
|
+
import { EventEmitter, OnInit, OnChanges, AfterViewInit, ChangeDetectorRef } from '@angular/core';
|
|
4
4
|
import { EditorConfig } from 'vcomply-editor';
|
|
5
5
|
import { DatePickerComponent } from 'ng2-date-picker';
|
|
6
6
|
import { UiKitService } from '../workflow-services/ui-kit.service';
|
|
@@ -11,6 +11,7 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
|
|
|
11
11
|
private authService;
|
|
12
12
|
private uiKitService;
|
|
13
13
|
private snackBar;
|
|
14
|
+
private changeDeterctorRef;
|
|
14
15
|
openedFrom: any;
|
|
15
16
|
issueId: any;
|
|
16
17
|
reponsibilityData: {
|
|
@@ -122,7 +123,6 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
|
|
|
122
123
|
};
|
|
123
124
|
};
|
|
124
125
|
fieldsWithError: any;
|
|
125
|
-
hiddenList: any[];
|
|
126
126
|
activeField: string;
|
|
127
127
|
activeSelector: string;
|
|
128
128
|
listLoadingStatus: any;
|
|
@@ -135,7 +135,7 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
|
|
|
135
135
|
isRCMandatory: boolean;
|
|
136
136
|
dataForEdit: any;
|
|
137
137
|
isRiskControlVisible: boolean;
|
|
138
|
-
constructor(logService: LogIssueService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService);
|
|
138
|
+
constructor(logService: LogIssueService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService, changeDeterctorRef: ChangeDetectorRef);
|
|
139
139
|
ngOnInit(): void;
|
|
140
140
|
ngAfterViewInit(): void;
|
|
141
141
|
ngOnChanges(): void;
|
|
@@ -15,6 +15,8 @@ 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);
|
|
18
20
|
nonRemovableUsersList: any;
|
|
19
21
|
removePosition: any;
|
|
20
22
|
closeEvent: EventEmitter<any>;
|
|
@@ -19,7 +19,6 @@ export declare class FrequencyAnnualComponent implements OnInit {
|
|
|
19
19
|
shortMonth: Array<string>;
|
|
20
20
|
frequencyData: any;
|
|
21
21
|
mode: any;
|
|
22
|
-
responsibilityType: any;
|
|
23
22
|
startDate: number;
|
|
24
23
|
frequencyDetails: EventEmitter<any>;
|
|
25
24
|
constructor(frequencyService: FrequencyService);
|
package/lib/sharedComponents/frequency/frequency-container/frequency-container.component.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export declare class FrequencyContainerComponent implements OnInit, OnChanges {
|
|
|
7
7
|
frequencyTab: string;
|
|
8
8
|
currentTabName: string;
|
|
9
9
|
frequencyDetails: any;
|
|
10
|
-
responsibilityType: any;
|
|
11
10
|
selectedFrequency: EventEmitter<any>;
|
|
12
11
|
closeFrequency: EventEmitter<any>;
|
|
13
12
|
mode: any;
|
|
@@ -19,7 +19,6 @@ export declare class FrequencyOneTimeComponent implements OnInit {
|
|
|
19
19
|
selectedDate: any;
|
|
20
20
|
frequencyData: any;
|
|
21
21
|
mode: any;
|
|
22
|
-
responsibilityType: any;
|
|
23
22
|
frequencyDetails: EventEmitter<any>;
|
|
24
23
|
constructor(frequencyService: FrequencyService);
|
|
25
24
|
ngOnInit(): void;
|
package/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { FrequencyService } from "../frequency.service";
|
|
|
3
3
|
export declare class FrequencyQuarterlyComponent implements OnInit {
|
|
4
4
|
private frequencyService;
|
|
5
5
|
mode: any;
|
|
6
|
-
responsibilityType: any;
|
|
7
6
|
quarterlyInterval: string;
|
|
8
7
|
quarterlyInput: number;
|
|
9
8
|
quarterlyFailed: number;
|
|
@@ -13,6 +13,8 @@ export interface programList {
|
|
|
13
13
|
SelectedOthersProgramsCount: number;
|
|
14
14
|
SelectedRegulationProgramsCount: number;
|
|
15
15
|
SelectedStandardProgramsCount: number;
|
|
16
|
+
AllViewOnlyProgramCount?: number;
|
|
17
|
+
AllProgramsCount?: number;
|
|
16
18
|
}
|
|
17
19
|
export interface categoryList {
|
|
18
20
|
data: any[];
|
|
@@ -8,12 +8,23 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
8
8
|
loader: boolean;
|
|
9
9
|
programsList: any;
|
|
10
10
|
selectedProgram: any;
|
|
11
|
+
openedFrom: string;
|
|
12
|
+
viewOnlyProgramsCategoryId: any[];
|
|
11
13
|
selectedCategories: any[];
|
|
14
|
+
tempSelectedCategories: any;
|
|
15
|
+
set getSelectedCategories(category: any);
|
|
16
|
+
responsibilityId: string;
|
|
12
17
|
hideProgramsList: any;
|
|
18
|
+
mode: string;
|
|
13
19
|
searchProgram: any;
|
|
14
20
|
searchCategory: any;
|
|
21
|
+
preservedSelectedPrograms: any;
|
|
22
|
+
preservedProgramsId: any;
|
|
23
|
+
preservePrimaryProgram: any;
|
|
24
|
+
set getLinkedProgram(program: any);
|
|
15
25
|
previousSelectedValues: any;
|
|
16
26
|
programData: programList;
|
|
27
|
+
programTabDataCount: any;
|
|
17
28
|
categoryData: categoryList;
|
|
18
29
|
showCategories: boolean;
|
|
19
30
|
currentProgram: any;
|
|
@@ -30,6 +41,14 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
30
41
|
others: number;
|
|
31
42
|
};
|
|
32
43
|
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;
|
|
33
52
|
saveSelectedProgram: EventEmitter<any>;
|
|
34
53
|
closeEvent: EventEmitter<any>;
|
|
35
54
|
allCategories: any[];
|
|
@@ -39,6 +58,28 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
39
58
|
handleSearch(event: any): void;
|
|
40
59
|
categorySearch(event: any): void;
|
|
41
60
|
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;
|
|
42
83
|
selectAllCategories(value: boolean): void;
|
|
43
84
|
checkCategoriesSelection(): "checked" | "unchecked" | "indeterminate";
|
|
44
85
|
openCategories(): void;
|
|
@@ -46,6 +87,8 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
46
87
|
changeTab(type: 'regulations' | 'standards' | 'internal_controls' | 'others'): void;
|
|
47
88
|
changePage(event: any, type: 'category' | 'program'): void;
|
|
48
89
|
getProgramsList(paramsObject?: any): void;
|
|
90
|
+
getProgramsCount(paramsObject?: any): void;
|
|
91
|
+
selectedSubCategoryIds: any[];
|
|
49
92
|
getCategoriesList(queryObject?: any): void;
|
|
50
93
|
saveProgram(): void;
|
|
51
94
|
selectCategory(mode: any, category: any): void;
|
|
@@ -54,5 +97,23 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
54
97
|
save(): void;
|
|
55
98
|
saveChanges(value: boolean): void;
|
|
56
99
|
deleteEvent(event: any): void;
|
|
57
|
-
getSelectedProgramCount(): void;
|
|
100
|
+
getSelectedProgramCount(event?: boolean, programType?: number): void;
|
|
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;
|
|
58
119
|
}
|
|
@@ -31,6 +31,10 @@ 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>;
|
|
34
38
|
scrollToBottom: boolean;
|
|
35
39
|
description: EditorConfig;
|
|
36
40
|
programPeopleList: any;
|
|
@@ -53,10 +57,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
53
57
|
groupsListLoaded: boolean;
|
|
54
58
|
assuranceCategoryListLoaded: boolean;
|
|
55
59
|
selectedFrameworkValues: any;
|
|
56
|
-
responsibilityType: {
|
|
57
|
-
label: string;
|
|
58
|
-
value: number;
|
|
59
|
-
}[];
|
|
60
60
|
assignorsList: any[];
|
|
61
61
|
assigneesList: any[];
|
|
62
62
|
reviewersList: any[];
|
|
@@ -75,7 +75,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
75
75
|
moreOptions: any;
|
|
76
76
|
activeSelector: string;
|
|
77
77
|
sideSelectorElements: any;
|
|
78
|
-
displayList: {};
|
|
79
78
|
focus: {
|
|
80
79
|
responsibilityName: boolean;
|
|
81
80
|
description: boolean;
|
|
@@ -131,17 +130,14 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
131
130
|
managePermission: boolean;
|
|
132
131
|
checkpointCount: number;
|
|
133
132
|
roleBasedPermissions: any;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
onRemovingCheckpoint: EventEmitter<any>;
|
|
138
|
-
isAssessmentDisabled: EventEmitter<any>;
|
|
133
|
+
isGroupAssigned: boolean;
|
|
134
|
+
responsibilityData: any;
|
|
135
|
+
originalAssignee: any;
|
|
139
136
|
whatInput: ElementRef;
|
|
140
137
|
unSubscribeProgram: Subject<void>;
|
|
141
138
|
constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService, programService: ProgramsService);
|
|
142
139
|
ngOnInit(): void;
|
|
143
140
|
activateSelector(type: any, event: boolean): void;
|
|
144
|
-
getSystemResponsibility(): void;
|
|
145
141
|
whatChanged(event: any): void;
|
|
146
142
|
activeDeselector(): void;
|
|
147
143
|
addMoreInfo(event: any): void;
|
|
@@ -169,10 +165,25 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
169
165
|
assignFromFramework(freqObj: any): void;
|
|
170
166
|
refreshAllLists(): void;
|
|
171
167
|
refreshListsWhileProgramSelected(): void;
|
|
172
|
-
|
|
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
|
+
*/
|
|
173
182
|
validateResponsibility(): boolean | undefined;
|
|
174
|
-
responsibilityData: any;
|
|
175
183
|
entrustResponsibility(entrustForm: any): void;
|
|
184
|
+
/**
|
|
185
|
+
* It resets the form.
|
|
186
|
+
*/
|
|
176
187
|
reset(): void;
|
|
177
188
|
action(event: string): void;
|
|
178
189
|
viewResponsibilities(): void;
|
|
@@ -181,20 +192,96 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
181
192
|
frequencyPopulation(event: any): void;
|
|
182
193
|
frequencyData(event: any): void;
|
|
183
194
|
checkBlank(data: string): string;
|
|
195
|
+
/**
|
|
196
|
+
* It takes a string and returns a string.
|
|
197
|
+
* @param {any} res - any = {
|
|
198
|
+
*/
|
|
184
199
|
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
|
+
*/
|
|
185
207
|
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
|
+
*/
|
|
186
215
|
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
|
+
*/
|
|
187
229
|
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
|
+
*/
|
|
188
236
|
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
|
+
*/
|
|
189
244
|
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
|
+
*/
|
|
190
250
|
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
|
+
*/
|
|
191
260
|
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
|
+
*/
|
|
192
265
|
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
|
+
*/
|
|
193
271
|
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
|
+
*/
|
|
194
277
|
getEditMoreOptions(res?: any): void;
|
|
195
278
|
testFunction(): void;
|
|
196
279
|
reviewerTypeChange(event: any): void;
|
|
197
280
|
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
|
+
*/
|
|
198
285
|
populateAssuranceList(testPlanCategory: any): void;
|
|
199
286
|
checkInputValue(event: any): boolean;
|
|
200
287
|
switchEnable(event: boolean): void;
|
|
@@ -212,4 +299,12 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
212
299
|
*/
|
|
213
300
|
postAssessment(event: any): void;
|
|
214
301
|
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;
|
|
215
310
|
}
|
|
@@ -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[]>;
|
|
13
12
|
getOrganizationGroups(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
14
13
|
getOrganizationUsers(): import("rxjs").Observable<any[]>;
|
|
15
14
|
getOrganizationPeople(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
16
15
|
getAssignorsList(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
17
16
|
getCategoriesList(): import("rxjs").Observable<any[]>;
|
|
18
|
-
getProgramsList(params: HttpParams): import("rxjs").Observable<any[]>;
|
|
17
|
+
getProgramsList(params: HttpParams, ids?: any): import("rxjs").Observable<any[]>;
|
|
18
|
+
getProgramsListCount(params: HttpParams, ids?: any): 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[]>;
|