vcomply-workflow-engine 2.6.16 → 2.6.17
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 +379 -227
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +1 -1
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.js +1 -1
- package/esm2015/lib/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.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/floating-bar/floating-bar.component.js +8 -3
- package/esm2015/lib/sharedComponents/floating-bar/floating-bar.component.ngfactory.js +11 -10
- 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/program-listing/program-listing.component.js +218 -40
- package/esm2015/lib/sharedComponents/program-listing/program-listing.component.ngfactory.js +79 -70
- 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 +110 -145
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +184 -157
- 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.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 +8 -3
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.js +1 -1
- package/fesm2015/vcomply-workflow-engine.js +362 -222
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/sharedComponents/assessment-editor/services/validator.service.d.ts +0 -1
- package/lib/sharedComponents/floating-bar/floating-bar.component.d.ts +2 -0
- package/lib/sharedComponents/program-listing/program-listing.component.d.ts +53 -1
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +15 -103
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +0 -1
- package/lib/workflow-services/responsibility.service.d.ts +1 -1
- package/package.json +2 -2
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -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>;
|
|
@@ -9,9 +9,16 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
9
9
|
programsList: any;
|
|
10
10
|
selectedProgram: any;
|
|
11
11
|
selectedCategories: any[];
|
|
12
|
+
tempSelectedCategories: any;
|
|
13
|
+
set getSelectedCategories(category: any);
|
|
12
14
|
hideProgramsList: any;
|
|
15
|
+
mode: string;
|
|
13
16
|
searchProgram: any;
|
|
14
17
|
searchCategory: any;
|
|
18
|
+
preservedSelectedPrograms: any;
|
|
19
|
+
preservedProgramsId: any;
|
|
20
|
+
preservePrimaryProgram: any;
|
|
21
|
+
set getLinkedProgram(program: any);
|
|
15
22
|
previousSelectedValues: any;
|
|
16
23
|
programData: programList;
|
|
17
24
|
categoryData: categoryList;
|
|
@@ -30,6 +37,13 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
30
37
|
others: number;
|
|
31
38
|
};
|
|
32
39
|
displayConfirmationMessage: boolean;
|
|
40
|
+
tempPrimaryProgram: any;
|
|
41
|
+
primaryConfirmationMessage: string;
|
|
42
|
+
isPrimaryConfirmation: boolean;
|
|
43
|
+
isUncheckedProgram: boolean;
|
|
44
|
+
isPrimaryUnchecked: boolean;
|
|
45
|
+
selectedProgramsDetail: any;
|
|
46
|
+
selectedProgramsId: any;
|
|
33
47
|
saveSelectedProgram: EventEmitter<any>;
|
|
34
48
|
closeEvent: EventEmitter<any>;
|
|
35
49
|
allCategories: any[];
|
|
@@ -39,6 +53,28 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
39
53
|
handleSearch(event: any): void;
|
|
40
54
|
categorySearch(event: any): void;
|
|
41
55
|
selectProgram(event: any, program: any): void;
|
|
56
|
+
/**
|
|
57
|
+
* If the event is true, then push the program to the selectedProgramsDetail array. If the event is
|
|
58
|
+
* false, then remove the program from the selectedProgramsDetail array.
|
|
59
|
+
* @param {any} event - boolean
|
|
60
|
+
* @param {any} program - any = {
|
|
61
|
+
*/
|
|
62
|
+
updateSelectedPrograms(event: any, program: any): void;
|
|
63
|
+
/**
|
|
64
|
+
* If the currentProgram is set, then set the currentProgram to the program passed in, and set the
|
|
65
|
+
* tempPrimaryProgram to the currentProgram.
|
|
66
|
+
* If the currentProgram is not set, then set the currentProgram to the program passed in.
|
|
67
|
+
* @param {any} event - any - the event that is triggered when the user clicks on the checkbox
|
|
68
|
+
* @param {any} program - the program that is being selected
|
|
69
|
+
*/
|
|
70
|
+
setPrimaryProgram(event: any, program: any): void;
|
|
71
|
+
/**
|
|
72
|
+
* If the user clicks "Yes" on the confirmation modal, then the function will remove the program from
|
|
73
|
+
* the selectedProgramsDetail array and the selectedProgramsId array. If the user clicks "No" on the
|
|
74
|
+
* confirmation modal, then the function will do nothing.
|
|
75
|
+
* @param {boolean} event - boolean -> this is the value of the checkbox
|
|
76
|
+
*/
|
|
77
|
+
updatePrimaryProgram(event: boolean): void;
|
|
42
78
|
selectAllCategories(value: boolean): void;
|
|
43
79
|
checkCategoriesSelection(): "checked" | "unchecked" | "indeterminate";
|
|
44
80
|
openCategories(): void;
|
|
@@ -54,5 +90,21 @@ export declare class ProgramListingComponent implements OnInit {
|
|
|
54
90
|
save(): void;
|
|
55
91
|
saveChanges(value: boolean): void;
|
|
56
92
|
deleteEvent(event: any): void;
|
|
57
|
-
getSelectedProgramCount(): void;
|
|
93
|
+
getSelectedProgramCount(event?: boolean, programType?: number): void;
|
|
94
|
+
/**
|
|
95
|
+
* If the selectedProgram array has a length, then preserve the first element of the array as the
|
|
96
|
+
* preservePrimaryProgram variable. Otherwise, set the preservePrimaryProgram variable to an empty
|
|
97
|
+
* object.
|
|
98
|
+
*
|
|
99
|
+
* If the selectedProgramsId array has a length, then preserve the array as the preservedProgramsId
|
|
100
|
+
* variable. Otherwise, set the preservedProgramsId variable to an empty array.
|
|
101
|
+
*
|
|
102
|
+
* If the selectedProgramsDetail array has a length, then preserve the array as the
|
|
103
|
+
* preservedSelectedPrograms variable. Otherwise, set the preservedSelectedPrograms variable to an
|
|
104
|
+
* empty array.
|
|
105
|
+
*
|
|
106
|
+
* If the selectedProgram array does not have a length, then set the selectedProgramsDetail array to
|
|
107
|
+
* an empty array and the selectedProgramsId array to an empty array.
|
|
108
|
+
*/
|
|
109
|
+
preservePreviousDetails(): void;
|
|
58
110
|
}
|
|
@@ -20,12 +20,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
20
20
|
frameworkDetails: Array<any>;
|
|
21
21
|
isEntrust: boolean;
|
|
22
22
|
set closeOnEsc(escapeCondition: boolean);
|
|
23
|
-
openedFrom: any;
|
|
24
|
-
selectedRC: number;
|
|
25
|
-
selectedProgram: any;
|
|
26
|
-
onRemovingCheckpoint: EventEmitter<any>;
|
|
27
|
-
isAssessmentDisabled: EventEmitter<any>;
|
|
28
|
-
assigneeTypeChange: EventEmitter<any>;
|
|
29
23
|
pickerChanged: EventEmitter<any>;
|
|
30
24
|
populateOption: EventEmitter<any>;
|
|
31
25
|
hideElementsFromMoreOptions: EventEmitter<any>;
|
|
@@ -34,6 +28,9 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
34
28
|
disconnectRefresh: EventEmitter<any>;
|
|
35
29
|
checkpointCountUpdated: EventEmitter<any>;
|
|
36
30
|
rcSelected: EventEmitter<any>;
|
|
31
|
+
openedFrom: any;
|
|
32
|
+
selectedRC: number;
|
|
33
|
+
selectedProgram: any;
|
|
37
34
|
scrollToBottom: boolean;
|
|
38
35
|
description: EditorConfig;
|
|
39
36
|
programPeopleList: any;
|
|
@@ -74,6 +71,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
74
71
|
moreOptions: any;
|
|
75
72
|
activeSelector: string;
|
|
76
73
|
sideSelectorElements: any;
|
|
74
|
+
displayList: {};
|
|
77
75
|
focus: {
|
|
78
76
|
responsibilityName: boolean;
|
|
79
77
|
description: boolean;
|
|
@@ -129,9 +127,8 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
129
127
|
managePermission: boolean;
|
|
130
128
|
checkpointCount: number;
|
|
131
129
|
roleBasedPermissions: any;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
originalAssignee: any;
|
|
130
|
+
onRemovingCheckpoint: EventEmitter<any>;
|
|
131
|
+
isAssessmentDisabled: EventEmitter<any>;
|
|
135
132
|
whatInput: ElementRef;
|
|
136
133
|
unSubscribeProgram: Subject<void>;
|
|
137
134
|
constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService, programService: ProgramsService);
|
|
@@ -164,25 +161,10 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
164
161
|
assignFromFramework(freqObj: any): void;
|
|
165
162
|
refreshAllLists(): void;
|
|
166
163
|
refreshListsWhileProgramSelected(): void;
|
|
167
|
-
|
|
168
|
-
* If the form is valid, then if the mode is EDIT, then set the organizationId and memberId to the
|
|
169
|
-
* authService values, and then call the entrustResponsibility function with the responsibilityForm as
|
|
170
|
-
* a parameter.
|
|
171
|
-
*
|
|
172
|
-
* If the mode is not EDIT, then call the entrustResponsibility function with the responsibilityForm
|
|
173
|
-
* as a parameter.
|
|
174
|
-
* @returns a boolean value.
|
|
175
|
-
*/
|
|
176
|
-
submitResponsibility(): false | undefined;
|
|
177
|
-
/**
|
|
178
|
-
* If the responsibility name is empty, or the frequency is empty, or the assignees list is empty,
|
|
179
|
-
* then return false. Otherwise, return true.
|
|
180
|
-
*/
|
|
164
|
+
submitResponsibility(): any;
|
|
181
165
|
validateResponsibility(): boolean | undefined;
|
|
166
|
+
responsibilityData: any;
|
|
182
167
|
entrustResponsibility(entrustForm: any): void;
|
|
183
|
-
/**
|
|
184
|
-
* It resets the form.
|
|
185
|
-
*/
|
|
186
168
|
reset(): void;
|
|
187
169
|
action(event: string): void;
|
|
188
170
|
viewResponsibilities(): void;
|
|
@@ -191,96 +173,20 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
191
173
|
frequencyPopulation(event: any): void;
|
|
192
174
|
frequencyData(event: any): void;
|
|
193
175
|
checkBlank(data: string): string;
|
|
194
|
-
/**
|
|
195
|
-
* It takes a string and returns a string.
|
|
196
|
-
* @param {any} res - any = {
|
|
197
|
-
*/
|
|
198
176
|
getFrequencyPlaceholder(res: any): void;
|
|
199
|
-
/**
|
|
200
|
-
* It gets the frequency details and report id, then it sets the frequency placeholder to the frequency
|
|
201
|
-
* details and then it gets the on completion of responsibility and sets the frequency placeholder to
|
|
202
|
-
* the frequency details and the report name.
|
|
203
|
-
* @param {any} frequencyDetails - [0] => "1"
|
|
204
|
-
* @param {number} reportId - number
|
|
205
|
-
*/
|
|
206
177
|
getOnCompletionOf(frequencyDetails: any, reportId: number): void;
|
|
207
|
-
/**
|
|
208
|
-
* "If the frequencyDetails[3] is 1, then set the frequencyPlaceholder to 'Daily by ' + frequencyTime,
|
|
209
|
-
* otherwise if frequencyDetails[3] is greater than 1, then set the frequencyPlaceholder to 'Every ' +
|
|
210
|
-
* parseInt(frequencyDetails[3]) + ' days by ' + frequencyTime."
|
|
211
|
-
* @param {any} frequencyDetails - [0, 0, 0, 1]
|
|
212
|
-
* @param {any} frequencyTime - "12:00 AM"
|
|
213
|
-
*/
|
|
214
178
|
getDailyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
215
|
-
/**
|
|
216
|
-
* It takes a string of comma separated numbers and returns a string of comma separated words.
|
|
217
|
-
*
|
|
218
|
-
* The function is called with a string of comma separated numbers, like this:
|
|
219
|
-
*
|
|
220
|
-
* getWeeklyPlaceholder(["1","2,3,4,5,6,7","1","1"], "10:00 AM")
|
|
221
|
-
*
|
|
222
|
-
* The function returns a string of comma separated words, like this:
|
|
223
|
-
*
|
|
224
|
-
* "Every Monday,Tuesday,Wednesday,Thursday,Friday,Saturday by 10:00 AM"</code>
|
|
225
|
-
* @param {any} frequencyDetails - ["1", "1,2,3,4,5", "", "1", ""]
|
|
226
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
227
|
-
*/
|
|
228
179
|
getWeeklyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
229
|
-
/**
|
|
230
|
-
* It takes a string of comma separated numbers, converts them to month names, and then adds them to a
|
|
231
|
-
* sentence.
|
|
232
|
-
* @param {any} frequencyDetails - ["1", "1", "1,2,3,4,5,6,7,8,9,10,11,12"]
|
|
233
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
234
|
-
*/
|
|
235
180
|
getMonthlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
236
|
-
/**
|
|
237
|
-
* If the frequencyDetails[1] is 1, 2, 3, 21, 22, 23, or greater than 3, then set the
|
|
238
|
-
* frequencyPlaceholder to a string that includes the frequencyDetails[1] and the frequencyDetails[2]
|
|
239
|
-
* and the frequencyTime.
|
|
240
|
-
* @param {any} frequencyDetails - ["3", "1", "1,2,3"]
|
|
241
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
242
|
-
*/
|
|
243
181
|
getQuarterlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
244
|
-
/**
|
|
245
|
-
* It takes a string of comma separated numbers and returns a string of comma separated month names.
|
|
246
|
-
* @param {any} frequencyDetails - ["1", "1", "1,2,3,4,5,6,7,8,9,10,11,12"]
|
|
247
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
248
|
-
*/
|
|
249
182
|
getBiannualPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
250
|
-
/**
|
|
251
|
-
* If the frequencyDetails[1] is less than 2, then the frequencyPlaceholder is set to the 1st, 2nd,
|
|
252
|
-
* 3rd, or nth of every month by frequencyTime.
|
|
253
|
-
*
|
|
254
|
-
* If the frequencyDetails[1] is greater than 1, then the frequencyPlaceholder is set to the 1st, 2nd,
|
|
255
|
-
* 3rd, or nth of every month, Interval: every yearSequence years by frequencyTime.
|
|
256
|
-
* @param {any} frequencyDetails - ["Yearly", "1", "1", "1"]
|
|
257
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
258
|
-
*/
|
|
259
183
|
getYearlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
260
|
-
/**
|
|
261
|
-
* It takes a frequencyDetails array and a frequencyTime array and returns a string.
|
|
262
|
-
* @param {any} frequencyDetails - [4,1,1,1]
|
|
263
|
-
*/
|
|
264
184
|
getRandomPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
265
|
-
/**
|
|
266
|
-
* "When the user clicks the edit button, the edit button is hidden and the input field is shown.
|
|
267
|
-
* When the user clicks the input field, the input field is hidden and the edit button is shown."
|
|
268
|
-
* @param {any} event - any - the event that triggered the function
|
|
269
|
-
*/
|
|
270
185
|
onEditWhat(event: any): void;
|
|
271
|
-
/**
|
|
272
|
-
*
|
|
273
|
-
* The function is called with a parameter and returns an array of strings.
|
|
274
|
-
* @param {any} [res] - is the response from the API
|
|
275
|
-
*/
|
|
276
186
|
getEditMoreOptions(res?: any): void;
|
|
277
187
|
testFunction(): void;
|
|
278
188
|
reviewerTypeChange(event: any): void;
|
|
279
189
|
selectedSampleData(event: number): void;
|
|
280
|
-
/**
|
|
281
|
-
* It populates a list of assurance categories based on the test plan category selected.
|
|
282
|
-
* @param {any} testPlanCategory - any
|
|
283
|
-
*/
|
|
284
190
|
populateAssuranceList(testPlanCategory: any): void;
|
|
285
191
|
checkInputValue(event: any): boolean;
|
|
286
192
|
switchEnable(event: boolean): void;
|
|
@@ -298,5 +204,11 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
298
204
|
*/
|
|
299
205
|
postAssessment(event: any): void;
|
|
300
206
|
setIsUploaded(event: any): void;
|
|
301
|
-
|
|
207
|
+
checkDefaultProgramOnRemove(program: any): void;
|
|
208
|
+
/**
|
|
209
|
+
* It takes an array of numbers and returns an array of unique numbers.
|
|
210
|
+
* @param {any} array - The array you want to get the unique values from.
|
|
211
|
+
* @returns An array of unique values.
|
|
212
|
+
*/
|
|
213
|
+
getUniqueIds(array: any): unknown[];
|
|
302
214
|
}
|
|
@@ -14,7 +14,7 @@ export declare class ResponsibilityService {
|
|
|
14
14
|
getOrganizationPeople(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
15
15
|
getAssignorsList(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
16
16
|
getCategoriesList(): import("rxjs").Observable<any[]>;
|
|
17
|
-
getProgramsList(params: HttpParams): import("rxjs").Observable<any[]>;
|
|
17
|
+
getProgramsList(params: HttpParams, ids?: any): import("rxjs").Observable<any[]>;
|
|
18
18
|
getCategoriesUnderProgram(params: HttpParams): import("rxjs").Observable<any[]>;
|
|
19
19
|
getAssurance(): import("rxjs").Observable<any[]>;
|
|
20
20
|
getAssuranceForRequiresAudit(): import("rxjs").Observable<any[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.17",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^12.0.1",
|
|
6
6
|
"@angular/core": "^12.0.1"
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
"typings": "vcomply-workflow-engine.d.ts",
|
|
23
23
|
"metadata": "vcomply-workflow-engine.metadata.json",
|
|
24
24
|
"sideEffects": false
|
|
25
|
-
}
|
|
25
|
+
}
|