vcomply-workflow-engine 2.1.6 → 2.1.9
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 +705 -676
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/more-option/more-option.component.js +12 -23
- package/esm2015/lib/ui-kit/pagination/pagination/pagination.component.js +1 -1
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +13 -60
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +138 -200
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +2 -2
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +3 -3
- package/esm2015/lib/workflow-engine.module.js +1 -3
- package/esm2015/lib/workflow-engine.module.ngfactory.js +1 -1
- package/esm2015/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.js +2 -2
- package/esm2015/lib/workflow-program/create-program-ui/create-program-ui.module.js +8 -2
- package/esm2015/lib/workflow-program/create-program-ui/create-program-ui.module.ngfactory.js +1 -1
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.js +152 -23
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.ngfactory.js +109 -115
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/framework.service.js +4 -3
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/framework.service.ngsummary.json +1 -1
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/pipes/category-all-select.pipe.js +19 -0
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/pipes/category-all-select.pipe.ngsummary.json +1 -0
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/pipes/search.pipe.js +19 -0
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/pipes/search.pipe.ngsummary.json +1 -0
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/pipes/sub-cat-indeter.pipe.js +23 -0
- package/esm2015/lib/workflow-program/create-program-ui/define-framework-listing/pipes/sub-cat-indeter.pipe.ngsummary.json +1 -0
- package/esm2015/lib/workflow-program/create-program-ui/floating-bar/floating-bar.component.js +4 -2
- package/esm2015/lib/workflow-program/create-program-ui/floating-bar/floating-bar.component.ngfactory.js +3 -3
- package/esm2015/lib/workflow-program/create-program-ui/floating-bar/floating-bar.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.js +2 -1
- package/esm2015/lib/workflow-program/workflow-program.component.js +213 -34
- package/esm2015/lib/workflow-program/workflow-program.component.ngfactory.js +18 -18
- package/esm2015/lib/workflow-program/workflow-program.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-services/programs.service.js +39 -97
- package/esm2015/lib/workflow-services/programs.service.ngsummary.json +1 -1
- package/esm2015/lib/workflow-services/responsibility.service.js +5 -17
- package/esm2015/lib/workflow-services/responsibility.service.ngsummary.json +1 -1
- package/esm2015/vcomply-workflow-engine.js +189 -187
- package/esm2015/vcomply-workflow-engine.ngsummary.json +1 -1
- package/fesm2015/vcomply-workflow-engine.js +499 -490
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +3 -9
- package/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.d.ts +26 -3
- package/lib/workflow-program/create-program-ui/define-framework-listing/framework.service.d.ts +1 -1
- package/lib/workflow-program/create-program-ui/define-framework-listing/pipes/category-all-select.pipe.d.ts +4 -0
- package/lib/workflow-program/create-program-ui/define-framework-listing/pipes/search.pipe.d.ts +4 -0
- package/lib/workflow-program/create-program-ui/define-framework-listing/pipes/sub-cat-indeter.pipe.d.ts +4 -0
- package/lib/workflow-program/create-program-ui/floating-bar/floating-bar.component.d.ts +1 -0
- package/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.d.ts +1 -1
- package/lib/workflow-program/workflow-program.component.d.ts +17 -6
- package/lib/workflow-services/programs.service.d.ts +28 -0
- package/lib/workflow-services/responsibility.service.d.ts +3 -5
- package/package.json +2 -2
- package/vcomply-workflow-engine.d.ts +188 -186
- package/vcomply-workflow-engine.metadata.json +1 -1
- package/esm2015/lib/sharedComponents/program-listing/program-listing.component.js +0 -239
- package/esm2015/lib/sharedComponents/program-listing/program-listing.component.ngfactory.js +0 -152
- package/esm2015/lib/sharedComponents/program-listing/program-listing.component.ngsummary.json +0 -1
- package/lib/sharedComponents/program-listing/program-listing.component.d.ts +0 -46
- package/lib/sharedComponents/program-listing/program-listing.component.ngfactory.d.ts +0 -1
|
@@ -11,7 +11,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
11
11
|
private frequencyService;
|
|
12
12
|
private uiKitService;
|
|
13
13
|
private snackBar;
|
|
14
|
-
private permission;
|
|
15
14
|
mode: string;
|
|
16
15
|
responsibilityId: string;
|
|
17
16
|
frameworkDetails: Array<any>;
|
|
@@ -71,7 +70,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
71
70
|
objective: boolean;
|
|
72
71
|
};
|
|
73
72
|
categories: any;
|
|
74
|
-
allPrograms: any[];
|
|
75
73
|
riskClassification: {
|
|
76
74
|
name: string;
|
|
77
75
|
value: number;
|
|
@@ -82,7 +80,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
82
80
|
invalidType: string;
|
|
83
81
|
responsibilityPayload: any;
|
|
84
82
|
assigneeRadioSelect: boolean;
|
|
85
|
-
programsList: any[];
|
|
86
83
|
frequencyDetails: {
|
|
87
84
|
pattern: string;
|
|
88
85
|
notificationPending: number;
|
|
@@ -117,27 +114,24 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
117
114
|
isSample: boolean;
|
|
118
115
|
tempCheckValue: number;
|
|
119
116
|
isAssessment: boolean;
|
|
120
|
-
managePermission: boolean;
|
|
121
117
|
checkpointCount: number;
|
|
122
|
-
roleBasedPermissions: any;
|
|
123
118
|
onRemovingCheckpoint: EventEmitter<any>;
|
|
124
119
|
isAssessmentDisabled: EventEmitter<any>;
|
|
125
120
|
whatInput: ElementRef;
|
|
126
|
-
constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService
|
|
121
|
+
constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService);
|
|
127
122
|
ngOnInit(): void;
|
|
128
123
|
activateSelector(type: any, event: boolean): void;
|
|
129
124
|
whatChanged(event: any): void;
|
|
130
125
|
activeDeselector(): void;
|
|
131
126
|
addMoreInfo(event: any): void;
|
|
132
|
-
getRCList(
|
|
127
|
+
getRCList(): void;
|
|
133
128
|
getUserDetails(): void;
|
|
134
129
|
getAssurance(): void;
|
|
135
130
|
getAssuranceForRequiresAudit(): void;
|
|
136
131
|
getOrganizationDetails(): void;
|
|
137
132
|
getCategoryList(): void;
|
|
138
|
-
filterListsAccordingToProgram(program_id?: string): void;
|
|
139
133
|
getAssignorsList(): void;
|
|
140
|
-
getAssigneesList(
|
|
134
|
+
getAssigneesList(): void;
|
|
141
135
|
getGroupsList(): void;
|
|
142
136
|
getEditResponsibilityDetails(id: any): void;
|
|
143
137
|
setMoreOptions(): void;
|
|
@@ -5,6 +5,8 @@ export declare class DefineFrameworkListingComponent implements OnInit {
|
|
|
5
5
|
private frameworkService;
|
|
6
6
|
cancel: EventEmitter<any>;
|
|
7
7
|
next: EventEmitter<any>;
|
|
8
|
+
mode: string;
|
|
9
|
+
set setFramework(value: any);
|
|
8
10
|
animation: boolean;
|
|
9
11
|
frameworkListSubscription: Subscription;
|
|
10
12
|
constructor(frameworkService: FrameworkService);
|
|
@@ -19,15 +21,13 @@ export declare class DefineFrameworkListingComponent implements OnInit {
|
|
|
19
21
|
type: number;
|
|
20
22
|
};
|
|
21
23
|
currentView: 'FRAMEWORK_CATEGORY' | 'FRAMEWORK';
|
|
22
|
-
activeFrameworkType: 'REGULATIONS' | 'STANDARDS' | 'INTERNAL_CONTROLS' | 'OTHERS';
|
|
24
|
+
activeFrameworkType: 'REGULATIONS' | 'STANDARDS' | 'INTERNAL_CONTROLS' | 'OTHERS' | any;
|
|
23
25
|
frameworkTypes: {
|
|
24
26
|
REGULATIONS: number;
|
|
25
27
|
STANDARDS: number;
|
|
26
28
|
INTERNAL_CONTROLS: number;
|
|
27
29
|
OTHERS: number;
|
|
28
30
|
};
|
|
29
|
-
nextHandler(): void;
|
|
30
|
-
cancelHandler(): void;
|
|
31
31
|
frameworkData: any;
|
|
32
32
|
changeType(type: 'REGULATIONS' | 'STANDARDS' | 'INTERNAL_CONTROLS' | 'OTHERS'): void;
|
|
33
33
|
executeSearch(): void;
|
|
@@ -37,4 +37,27 @@ export declare class DefineFrameworkListingComponent implements OnInit {
|
|
|
37
37
|
selectFramework(evt: any, framework: any): void;
|
|
38
38
|
expandedFrameworkId: any;
|
|
39
39
|
expandCollapseFramework(framework: any): void;
|
|
40
|
+
removeSelectedFramework(): void;
|
|
41
|
+
searchKeyforFramework: string;
|
|
42
|
+
selectedFrameworkData: any;
|
|
43
|
+
allControls: any;
|
|
44
|
+
inScope: any;
|
|
45
|
+
outScope: any;
|
|
46
|
+
inScopeIds: any;
|
|
47
|
+
allControlsSelected: boolean;
|
|
48
|
+
issubLoading: boolean;
|
|
49
|
+
loadFrameworkData(): void;
|
|
50
|
+
checkAllElements(populateInScope: any): void;
|
|
51
|
+
checkSelectAll(): void;
|
|
52
|
+
selectAll(evt: any): void;
|
|
53
|
+
setInscopeIds(): void;
|
|
54
|
+
selectItem(evt: any, payload: any): void;
|
|
55
|
+
manipulateItem(action: 'ADD' | 'DELETE', payload: any): void;
|
|
56
|
+
selectCategory(evt: any, payload: any): void;
|
|
57
|
+
manipulateCategory(action: 'ADD' | 'DELETE', payload: any): void;
|
|
58
|
+
nextHandler(): void;
|
|
59
|
+
cancelHandler(): void;
|
|
60
|
+
expandedSubCategoryIds: any;
|
|
61
|
+
subCategoryExpandCollapse(category: any): void;
|
|
62
|
+
uniqueByProp(array: any, key: string): unknown[];
|
|
40
63
|
}
|
package/lib/workflow-program/create-program-ui/define-framework-listing/framework.service.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export declare class FrameworkService {
|
|
|
8
8
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
9
9
|
fetchFrameworkCount(): import("rxjs").Observable<any>;
|
|
10
10
|
fetchFrameworkInCategory(payload: any): import("rxjs").Observable<any>;
|
|
11
|
-
|
|
11
|
+
fetchCategoryForFramework(id: string): import("rxjs").Observable<any>;
|
|
12
12
|
}
|
|
@@ -15,6 +15,7 @@ export declare class VuiFloatingBarComponent implements OnInit, OnChanges {
|
|
|
15
15
|
selectedWorkflow: any;
|
|
16
16
|
workflowPlaceHolder: any;
|
|
17
17
|
mode: string;
|
|
18
|
+
nextDisabled: boolean;
|
|
18
19
|
nonRemovableUsersList: any;
|
|
19
20
|
removePosition: any;
|
|
20
21
|
closeEvent: EventEmitter<any>;
|
package/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare class PaginationComponent implements OnChanges {
|
|
|
10
10
|
set setTotalPage(page: any);
|
|
11
11
|
pageInSingleView: number;
|
|
12
12
|
pageChanged: EventEmitter<number>;
|
|
13
|
-
displayArray:
|
|
13
|
+
displayArray: any;
|
|
14
14
|
enterPageNo: number | any;
|
|
15
15
|
enterPressed: boolean;
|
|
16
16
|
isInvalidInput: boolean;
|
|
@@ -60,6 +60,8 @@ export declare class WorkflowProgramComponent implements OnInit, AfterViewInit {
|
|
|
60
60
|
refreshForm: EventEmitter<any>;
|
|
61
61
|
hideElementsFromMoreOptions: EventEmitter<any>;
|
|
62
62
|
scrollToBottom: boolean;
|
|
63
|
+
mode: string;
|
|
64
|
+
programId: string;
|
|
63
65
|
constructor(fb: FormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService);
|
|
64
66
|
noWhitespaceValidator(control: FormControl): {
|
|
65
67
|
whitespace: boolean;
|
|
@@ -127,13 +129,13 @@ export declare class WorkflowProgramComponent implements OnInit, AfterViewInit {
|
|
|
127
129
|
setDefaultOverseerOnRemove(evt: any, type: any): void;
|
|
128
130
|
fieldDeselector(type: any): void;
|
|
129
131
|
markasTouchedSelector(fieldName: any): void;
|
|
130
|
-
fetchRoles(): void;
|
|
131
|
-
fetchRC(): void;
|
|
132
|
-
fetchUsersAssociatedWithRoles(): void;
|
|
133
|
-
fetchGroupsAssociatedWithRoles(): void;
|
|
132
|
+
fetchRoles(role?: any): void;
|
|
133
|
+
fetchRC(rcPopulate?: Array<number>): void;
|
|
134
|
+
fetchUsersAssociatedWithRoles(approvers?: any): void;
|
|
135
|
+
fetchGroupsAssociatedWithRoles(role?: any): void;
|
|
134
136
|
setDefaultOwners(userList: any): void;
|
|
135
|
-
fetchOrganizationUsers(): void;
|
|
136
|
-
fetchOrganizationGroup(): void;
|
|
137
|
+
fetchOrganizationUsers(data?: any): void;
|
|
138
|
+
fetchOrganizationGroup(data?: any): void;
|
|
137
139
|
fileUploadTracker: {
|
|
138
140
|
description: never[];
|
|
139
141
|
objective: never[];
|
|
@@ -157,4 +159,13 @@ export declare class WorkflowProgramComponent implements OnInit, AfterViewInit {
|
|
|
157
159
|
viewPrograms(): void;
|
|
158
160
|
resetForm(): void;
|
|
159
161
|
closeSmiley(event: any): void;
|
|
162
|
+
/**
|
|
163
|
+
* Get program details when user is trying to edit program
|
|
164
|
+
*/
|
|
165
|
+
getProgramDetails(): void;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @param res raw data which gave details program
|
|
169
|
+
* @param userOrGroupDetails: user details / group details array */
|
|
170
|
+
populateMoreOption(res: any, userOrGroupDetails: any, type: string): void;
|
|
160
171
|
}
|
|
@@ -77,6 +77,34 @@ export declare class ProgramsService {
|
|
|
77
77
|
evidence_upload_flag: number;
|
|
78
78
|
is_key_evidence: any;
|
|
79
79
|
custom_fields: any;
|
|
80
|
+
framework: {
|
|
81
|
+
_id: any;
|
|
82
|
+
framework_name: any;
|
|
83
|
+
type: any;
|
|
84
|
+
in_scope: any;
|
|
85
|
+
out_scope: any;
|
|
86
|
+
}[];
|
|
87
|
+
_id: any;
|
|
80
88
|
};
|
|
89
|
+
getFramework(input: any): {
|
|
90
|
+
_id: any;
|
|
91
|
+
framework_name: any;
|
|
92
|
+
type: any;
|
|
93
|
+
in_scope: any;
|
|
94
|
+
out_scope: any;
|
|
95
|
+
}[];
|
|
81
96
|
listToId(list: any, key: string): any;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @param id : program object id
|
|
100
|
+
* @returns
|
|
101
|
+
*/
|
|
102
|
+
getProgram(id: any): import("rxjs").Observable<any[]>;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @param payload payload which need to be updated
|
|
106
|
+
* @param id program object id
|
|
107
|
+
* @returns
|
|
108
|
+
*/
|
|
109
|
+
updateProgram(payload: any, id: string): import("rxjs").Observable<any[]>;
|
|
82
110
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpClient
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Configurations } from '../configurations';
|
|
3
3
|
import { AuthService } from './auth.service';
|
|
4
4
|
import { AssessmentList } from '../sharedComponents/assessment-list/service/assessment.interface';
|
|
@@ -8,14 +8,12 @@ export declare class ResponsibilityService {
|
|
|
8
8
|
env: any;
|
|
9
9
|
dataPerPage: number;
|
|
10
10
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
11
|
-
getResponsibilityCenterList(
|
|
11
|
+
getResponsibilityCenterList(): import("rxjs").Observable<any[]>;
|
|
12
12
|
getOrganizationGroups(): import("rxjs").Observable<any[]>;
|
|
13
13
|
getOrganizationUsers(): import("rxjs").Observable<any[]>;
|
|
14
|
-
getOrganizationPeople(
|
|
14
|
+
getOrganizationPeople(): import("rxjs").Observable<any[]>;
|
|
15
15
|
getAssignorsList(): import("rxjs").Observable<any[]>;
|
|
16
16
|
getCategoriesList(): import("rxjs").Observable<any[]>;
|
|
17
|
-
getProgramsList(params: HttpParams): import("rxjs").Observable<any[]>;
|
|
18
|
-
getCategoriesUnderProgram(params: HttpParams): import("rxjs").Observable<any[]>;
|
|
19
17
|
getAssurance(): import("rxjs").Observable<any[]>;
|
|
20
18
|
getAssuranceForRequiresAudit(): import("rxjs").Observable<any[]>;
|
|
21
19
|
getRCDetailsOfFramework(rc_id: any, category_id: any): import("rxjs").Observable<Object>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.9",
|
|
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
|
+
}
|