vcomply-workflow-engine 3.8.0 → 3.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/add-multiple-risk/add-multiple-risk.component.mjs +8 -8
- package/esm2022/lib/log-an-issue/log-an-issue.component.mjs +82 -57
- package/esm2022/lib/sharedComponents/approval-workflow/approval-create-form/approval-create-form.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/category-list/category-list.component.mjs +9 -5
- package/esm2022/lib/sharedComponents/checkbox-list/checkbox-list.component.mjs +10 -6
- package/esm2022/lib/sharedComponents/radio-list/radio-list.component.mjs +11 -7
- package/esm2022/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +46 -28
- package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +135 -103
- package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +31 -26
- package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +82 -52
- package/esm2022/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.mjs +3 -3
- package/esm2022/lib/workflow-risk/workflow-risk.component.mjs +72 -44
- package/esm2022/lib/workflow-services/add-risk.service.mjs +21 -14
- package/esm2022/lib/workflow-services/common-workflow-services/compliance-common.service.mjs +51 -0
- package/esm2022/lib/workflow-services/common-workflow-services/organization-common.service.mjs +92 -0
- package/esm2022/lib/workflow-services/common-workflow-services/risk-common.service.mjs +69 -0
- package/esm2022/lib/workflow-services/log-issue.service.mjs +13 -5
- package/esm2022/lib/workflow-services/policy.service.mjs +14 -2
- package/fesm2022/vcomply-workflow-engine.mjs +558 -205
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +1 -1
- package/lib/log-an-issue/log-an-issue.component.d.ts +7 -1
- package/lib/sharedComponents/category-list/category-list.component.d.ts +2 -1
- package/lib/sharedComponents/checkbox-list/checkbox-list.component.d.ts +2 -1
- package/lib/sharedComponents/radio-list/radio-list.component.d.ts +2 -1
- package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +6 -1
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +7 -1
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +3 -1
- package/lib/workflow-policy/workflow-policy.component.d.ts +8 -1
- package/lib/workflow-risk/workflow-risk.component.d.ts +9 -3
- package/lib/workflow-services/add-risk.service.d.ts +7 -4
- package/lib/workflow-services/common-workflow-services/compliance-common.service.d.ts +16 -0
- package/lib/workflow-services/common-workflow-services/organization-common.service.d.ts +24 -0
- package/lib/workflow-services/common-workflow-services/risk-common.service.d.ts +20 -0
- package/lib/workflow-services/log-issue.service.d.ts +2 -1
- package/lib/workflow-services/policy.service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -97,7 +97,7 @@ export declare class AddMultipleRiskComponent implements OnInit, OnChanges {
|
|
|
97
97
|
* @param {string} [label] - the label of the risk
|
|
98
98
|
* @returns The return value is the value of the last expression in the function.
|
|
99
99
|
*/
|
|
100
|
-
setRiskLabel(label?: string):
|
|
100
|
+
setRiskLabel(label?: string): 1 | 2;
|
|
101
101
|
/**
|
|
102
102
|
* "If the date is a number, convert it to a date object, then create a new date object with the
|
|
103
103
|
* timezone set to the user's timezone, then return the date in the format YYYY-MM-DD."
|
|
@@ -8,6 +8,8 @@ import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
|
|
|
8
8
|
import { IssueConfiguration } from '../interfaces/issue-data';
|
|
9
9
|
import { CommonService } from '../services/common.service';
|
|
10
10
|
import { OrganizationUserService } from '../workflow-services/organization-user.service';
|
|
11
|
+
import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
|
|
12
|
+
import { ComplianceCommonService } from '../workflow-services/common-workflow-services/compliance-common.service';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
14
|
export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterViewInit {
|
|
13
15
|
private logService;
|
|
@@ -17,6 +19,8 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
|
|
|
17
19
|
private commonService;
|
|
18
20
|
private changeDetectorRef;
|
|
19
21
|
private organizationUserService;
|
|
22
|
+
private organizationCommonService;
|
|
23
|
+
private complianceCommonService;
|
|
20
24
|
openedFrom: any;
|
|
21
25
|
source: 'SAP' | 'WORKROOM' | '';
|
|
22
26
|
issueId: any;
|
|
@@ -145,10 +149,12 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
|
|
|
145
149
|
isLinkRC: boolean;
|
|
146
150
|
isRCEditable: boolean;
|
|
147
151
|
isLinkQuestionVisible: boolean;
|
|
148
|
-
constructor(logService: LogIssueService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService, commonService: CommonService, changeDetectorRef: ChangeDetectorRef, organizationUserService: OrganizationUserService);
|
|
152
|
+
constructor(logService: LogIssueService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService, commonService: CommonService, changeDetectorRef: ChangeDetectorRef, organizationUserService: OrganizationUserService, organizationCommonService: OrganizationCommonService, complianceCommonService: ComplianceCommonService);
|
|
149
153
|
ngOnInit(): void;
|
|
150
154
|
ngAfterViewInit(): void;
|
|
151
155
|
ngOnChanges(): void;
|
|
156
|
+
_initiateAPI(): void;
|
|
157
|
+
_initiateEditAPI(): void;
|
|
152
158
|
decideRCmandatory(): void;
|
|
153
159
|
setCurrentTime(): void;
|
|
154
160
|
getCurrentTime(): string;
|
|
@@ -10,6 +10,7 @@ export declare class CategoryListComponent implements OnInit, OnChanges {
|
|
|
10
10
|
saveSelectedCategory: EventEmitter<any>;
|
|
11
11
|
closeList: EventEmitter<any>;
|
|
12
12
|
closeCategoriesList: EventEmitter<any>;
|
|
13
|
+
loaded: boolean;
|
|
13
14
|
constructor();
|
|
14
15
|
ngOnChanges(changes: SimpleChanges): void;
|
|
15
16
|
ngOnInit(): void;
|
|
@@ -18,5 +19,5 @@ export declare class CategoryListComponent implements OnInit, OnChanges {
|
|
|
18
19
|
deleteEvent(event: any): void;
|
|
19
20
|
close(): void;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<CategoryListComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CategoryListComponent, "app-category-list", never, { "categoryList": { "alias": "categoryList"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; }, { "saveSelectedCategory": "saveSelectedCategory"; "closeList": "closeList"; "closeCategoriesList": "closeCategoriesList"; }, never, never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CategoryListComponent, "app-category-list", never, { "categoryList": { "alias": "categoryList"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "loaded": { "alias": "loaded"; "required": false; }; }, { "saveSelectedCategory": "saveSelectedCategory"; "closeList": "closeList"; "closeCategoriesList": "closeCategoriesList"; }, never, never, false, never>;
|
|
22
23
|
}
|
|
@@ -8,6 +8,7 @@ export declare class CheckboxListComponent implements OnInit {
|
|
|
8
8
|
tooltipKey: string;
|
|
9
9
|
config: any;
|
|
10
10
|
twoColumn: boolean;
|
|
11
|
+
loaded: boolean;
|
|
11
12
|
closeList: EventEmitter<any>;
|
|
12
13
|
saveList: EventEmitter<any>;
|
|
13
14
|
searchItem: string;
|
|
@@ -21,5 +22,5 @@ export declare class CheckboxListComponent implements OnInit {
|
|
|
21
22
|
arrayToId(array: any, identifierKey: any): any;
|
|
22
23
|
selectAll(evt: any): void;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxListComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxListComponent, "app-checkbox-list", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "identifierKey": { "alias": "identifierKey"; "required": false; }; "displayKey": { "alias": "displayKey"; "required": false; }; "tooltipKey": { "alias": "tooltipKey"; "required": false; }; "config": { "alias": "config"; "required": false; }; "twoColumn": { "alias": "twoColumn"; "required": false; }; }, { "closeList": "closeList"; "saveList": "saveList"; }, never, never, false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxListComponent, "app-checkbox-list", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "identifierKey": { "alias": "identifierKey"; "required": false; }; "displayKey": { "alias": "displayKey"; "required": false; }; "tooltipKey": { "alias": "tooltipKey"; "required": false; }; "config": { "alias": "config"; "required": false; }; "twoColumn": { "alias": "twoColumn"; "required": false; }; "loaded": { "alias": "loaded"; "required": false; }; }, { "closeList": "closeList"; "saveList": "saveList"; }, never, never, false, never>;
|
|
25
26
|
}
|
|
@@ -11,6 +11,7 @@ export declare class RadioListComponent implements OnInit, AfterViewInit {
|
|
|
11
11
|
twoColumn: boolean;
|
|
12
12
|
closeList: EventEmitter<any>;
|
|
13
13
|
saveList: EventEmitter<any>;
|
|
14
|
+
loader: boolean;
|
|
14
15
|
animation: boolean;
|
|
15
16
|
searchItem: string;
|
|
16
17
|
blockWidth: any;
|
|
@@ -23,5 +24,5 @@ export declare class RadioListComponent implements OnInit, AfterViewInit {
|
|
|
23
24
|
close(): void;
|
|
24
25
|
arrayToId(array: any, identifierKey: any): any;
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioListComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioListComponent, "app-radio-list", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "identifierKey": { "alias": "identifierKey"; "required": false; }; "displayKey": { "alias": "displayKey"; "required": false; }; "tooltipKey": { "alias": "tooltipKey"; "required": false; }; "config": { "alias": "config"; "required": false; }; "twoColumn": { "alias": "twoColumn"; "required": false; }; }, { "closeList": "closeList"; "saveList": "saveList"; }, never, never, false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioListComponent, "app-radio-list", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "identifierKey": { "alias": "identifierKey"; "required": false; }; "displayKey": { "alias": "displayKey"; "required": false; }; "tooltipKey": { "alias": "tooltipKey"; "required": false; }; "config": { "alias": "config"; "required": false; }; "twoColumn": { "alias": "twoColumn"; "required": false; }; "loader": { "alias": "loader"; "required": false; }; }, { "closeList": "closeList"; "saveList": "saveList"; }, never, never, false, never>;
|
|
27
28
|
}
|
|
@@ -5,12 +5,16 @@ import { ResponsibilityService } from '../../../workflow-services/responsibility
|
|
|
5
5
|
import { AuthService } from '../../../workflow-services/auth.service';
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
import { UiKitService } from '../../../workflow-services/ui-kit.service';
|
|
8
|
+
import { ComplianceCommonService } from '../../../workflow-services/common-workflow-services/compliance-common.service';
|
|
9
|
+
import { OrganizationCommonService } from '../../../workflow-services/common-workflow-services/organization-common.service';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
|
|
10
12
|
private grcService;
|
|
11
13
|
private apiService;
|
|
12
14
|
private authService;
|
|
13
15
|
private uiKitService;
|
|
16
|
+
private complianceCommonService;
|
|
17
|
+
private organizationCommonService;
|
|
14
18
|
MODE: 'CREATE' | 'EDIT';
|
|
15
19
|
ID: string;
|
|
16
20
|
ALL_TEXT: {
|
|
@@ -87,6 +91,7 @@ export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
|
|
|
87
91
|
grcTabLoader: boolean;
|
|
88
92
|
selectedProgram: any[];
|
|
89
93
|
selectedResponsibility: any[];
|
|
94
|
+
submitLoader: boolean;
|
|
90
95
|
populateOption: EventEmitter<any>;
|
|
91
96
|
pickerChanged: EventEmitter<any>;
|
|
92
97
|
closeWorkflow: EventEmitter<any>;
|
|
@@ -95,7 +100,7 @@ export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
|
|
|
95
100
|
hideElementsFromMoreOptions: EventEmitter<any>;
|
|
96
101
|
otherGRCSubscription: Subscription;
|
|
97
102
|
hideMoreOption: any;
|
|
98
|
-
constructor(grcService: GrcService, apiService: ResponsibilityService, authService: AuthService, uiKitService: UiKitService);
|
|
103
|
+
constructor(grcService: GrcService, apiService: ResponsibilityService, authService: AuthService, uiKitService: UiKitService, complianceCommonService: ComplianceCommonService, organizationCommonService: OrganizationCommonService);
|
|
99
104
|
ngOnDestroy(): void;
|
|
100
105
|
ngOnInit(): void;
|
|
101
106
|
getSubscriptionDetails(): void;
|
|
@@ -9,6 +9,8 @@ import { Subject, Subscription } from 'rxjs';
|
|
|
9
9
|
import { ProgramsService } from '../workflow-services/programs.service';
|
|
10
10
|
import { GrcService } from '../workflow/shared/services/grc.service';
|
|
11
11
|
import { OrganizationUserService } from '../workflow-services/organization-user.service';
|
|
12
|
+
import { ComplianceCommonService } from '../workflow-services/common-workflow-services/compliance-common.service';
|
|
13
|
+
import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
|
|
12
14
|
import * as i0 from "@angular/core";
|
|
13
15
|
export declare class WorkflowComplianceComponent implements OnInit {
|
|
14
16
|
private authService;
|
|
@@ -20,6 +22,8 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
20
22
|
private programService;
|
|
21
23
|
private grcService;
|
|
22
24
|
private organizationUserService;
|
|
25
|
+
private complianceCommonService;
|
|
26
|
+
private organizationCommonService;
|
|
23
27
|
mode: string;
|
|
24
28
|
responsibilityId: string;
|
|
25
29
|
frameworkDetails: Array<any>;
|
|
@@ -186,10 +190,12 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
186
190
|
allowEditDueDateFeatureFlag: boolean;
|
|
187
191
|
whatInput: ElementRef;
|
|
188
192
|
unSubscribeProgram: Subject<void>;
|
|
189
|
-
constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService, programService: ProgramsService, grcService: GrcService, organizationUserService: OrganizationUserService);
|
|
193
|
+
constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService, programService: ProgramsService, grcService: GrcService, organizationUserService: OrganizationUserService, complianceCommonService: ComplianceCommonService, organizationCommonService: OrganizationCommonService);
|
|
190
194
|
ngOnInit(): void;
|
|
191
195
|
setFeatureFlags(): void;
|
|
192
196
|
getInitialData(): void;
|
|
197
|
+
getOrgDetails(): void;
|
|
198
|
+
getSubscriptionDetail(): void;
|
|
193
199
|
activateSelector(type: any, event: boolean): void;
|
|
194
200
|
setResponsibilityName(): void;
|
|
195
201
|
whatChanged(event: any): void;
|
|
@@ -14,16 +14,18 @@ import { LogAnIssueComponent } from './../log-an-issue/log-an-issue.component';
|
|
|
14
14
|
import { MoreOptionComponent } from './../more-option/more-option.component';
|
|
15
15
|
import { WorkflowProgramComponent } from '../workflow-program/workflow-program.component';
|
|
16
16
|
import { GrcObjectContainerComponent } from '../workflow/grc-object/grc-object-container/grc-object-container.component';
|
|
17
|
+
import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
export declare class WorkflowEngineContainerComponent implements OnInit, AfterViewInit {
|
|
19
20
|
uiKitService: UiKitService;
|
|
20
21
|
private snackBar;
|
|
21
22
|
auth: AuthService;
|
|
23
|
+
private orgCommonService;
|
|
22
24
|
isHostRefreshActive: boolean;
|
|
23
25
|
isRCSelected: boolean;
|
|
24
26
|
featureFlag_groups: boolean;
|
|
25
27
|
unloadNotification($event: any): void;
|
|
26
|
-
constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService);
|
|
28
|
+
constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService, orgCommonService: OrganizationCommonService);
|
|
27
29
|
workflowType: string;
|
|
28
30
|
mode: string;
|
|
29
31
|
id: string;
|
|
@@ -14,6 +14,8 @@ import { FormatAndEvidenceComponent } from '../sharedComponents/format-and-evide
|
|
|
14
14
|
import { RestApiService } from '../sharedComponents/link-program/restapi.service';
|
|
15
15
|
import { CommonService } from '../services/common.service';
|
|
16
16
|
import { OrganizationUserService } from '../workflow-services/organization-user.service';
|
|
17
|
+
import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
|
|
18
|
+
import { ComplianceCommonService } from '../workflow-services/common-workflow-services/compliance-common.service';
|
|
17
19
|
import * as i0 from "@angular/core";
|
|
18
20
|
export declare class WorkflowPolicyComponent implements OnInit {
|
|
19
21
|
private policyService;
|
|
@@ -28,6 +30,8 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
28
30
|
private restApiService;
|
|
29
31
|
private commonService;
|
|
30
32
|
private organizationUserService;
|
|
33
|
+
private organizationCommonService;
|
|
34
|
+
private complianceCommonService;
|
|
31
35
|
pickerChanged: EventEmitter<any>;
|
|
32
36
|
mode: string;
|
|
33
37
|
policyId: string;
|
|
@@ -158,9 +162,12 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
158
162
|
createApprovalClick: boolean;
|
|
159
163
|
editWorkflowLevel: {};
|
|
160
164
|
noWorkflowSelected: boolean;
|
|
161
|
-
constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation, changeRef: ChangeDetectorRef, restApiService: RestApiService, commonService: CommonService, organizationUserService: OrganizationUserService);
|
|
165
|
+
constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation, changeRef: ChangeDetectorRef, restApiService: RestApiService, commonService: CommonService, organizationUserService: OrganizationUserService, organizationCommonService: OrganizationCommonService, complianceCommonService: ComplianceCommonService);
|
|
162
166
|
policyForm: PolicyForm;
|
|
163
167
|
ngOnInit(): void;
|
|
168
|
+
_initiateAPI(): void;
|
|
169
|
+
_initiateEditAPI(): void;
|
|
170
|
+
getOrgDetails(): void;
|
|
164
171
|
/**
|
|
165
172
|
* Displays the listing pages the left side of policy form to set and edit the dropdown fields values
|
|
166
173
|
* @param type holds name of particular list is to be displayed
|
|
@@ -9,6 +9,7 @@ import { AuthService } from '../workflow-services/auth.service';
|
|
|
9
9
|
import { UiKitService } from '../workflow-services/ui-kit.service';
|
|
10
10
|
import { GrcService } from '../workflow/shared/services/grc.service';
|
|
11
11
|
import { Subscription } from 'rxjs';
|
|
12
|
+
import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class WorkflowRiskComponent implements OnInit {
|
|
14
15
|
private riskService;
|
|
@@ -17,6 +18,7 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
17
18
|
private snackBar;
|
|
18
19
|
private frequencyService;
|
|
19
20
|
private grcService;
|
|
21
|
+
private organizationCommonService;
|
|
20
22
|
GRC_TYPE_ARRAY: string[];
|
|
21
23
|
responsibilityCentersList: any;
|
|
22
24
|
selectedResponsibilityCenters: any;
|
|
@@ -93,10 +95,14 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
93
95
|
grcDataWithTypes: any;
|
|
94
96
|
grcSearchString: string;
|
|
95
97
|
grcTabLoader: boolean;
|
|
96
|
-
constructor(riskService: AddRiskService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService, frequencyService: FrequencyService, grcService: GrcService, config?: Configurations);
|
|
98
|
+
constructor(riskService: AddRiskService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService, frequencyService: FrequencyService, grcService: GrcService, organizationCommonService: OrganizationCommonService, config?: Configurations);
|
|
97
99
|
description: EditorConfig;
|
|
98
100
|
mitigationDescriptionPlan: EditorConfig;
|
|
99
101
|
ngOnInit(): void;
|
|
102
|
+
_initiateAPIs(): void;
|
|
103
|
+
initiateEditAPI(): void;
|
|
104
|
+
addCurrentUser(): void;
|
|
105
|
+
initializeRiskType(): void;
|
|
100
106
|
getGroupList(): void;
|
|
101
107
|
setRiskTypeBasedOnSubscription(): void;
|
|
102
108
|
changeRisk(type: string): void;
|
|
@@ -104,7 +110,7 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
104
110
|
setPopupButtons(): void;
|
|
105
111
|
getRiskDetails(riskId: any): void;
|
|
106
112
|
populateOptionalFields(): void;
|
|
107
|
-
setCategoryType(type: any): "strategic" | "
|
|
113
|
+
setCategoryType(type: any): "strategic" | "operational" | "compliance" | "others";
|
|
108
114
|
getRCList(): void;
|
|
109
115
|
getCategoryList(): void;
|
|
110
116
|
getOwnersList(): void;
|
|
@@ -215,6 +221,6 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
215
221
|
removeOtherGRCObjects(event: any): void;
|
|
216
222
|
filterOtherGRCData(event: any, type: string): void;
|
|
217
223
|
resetGRCDataWithTypes(): void;
|
|
218
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowRiskComponent, [null, null, null, null, null, null, { optional: true; }]>;
|
|
224
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowRiskComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
219
225
|
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowRiskComponent, "app-workflow-risk", never, { "feature": { "alias": "feature"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "riskId": { "alias": "riskId"; "required": false; }; "defaultRiskType": { "alias": "defaultRiskType"; "required": false; }; "moveToRegisterMode": { "alias": "moveToRegisterMode"; "required": false; }; "secondaryOpenPortal": { "alias": "secondaryOpenPortal"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; }, { "showConfirmationAlert": "showConfirmationAlert"; "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "closeWorkflow": "closeWorkflow"; "disconnectRefresh": "disconnectRefresh"; "refreshForm": "refreshForm"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "rcSelected": "rcSelected"; }, never, never, false, never>;
|
|
220
226
|
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { AuthService } from './auth.service';
|
|
3
3
|
import { Configurations } from '../configurations';
|
|
4
|
+
import { RiskCommonService } from './common-workflow-services/risk-common.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class AddRiskService {
|
|
6
7
|
private http;
|
|
7
8
|
private authService;
|
|
9
|
+
private riskCommonService;
|
|
8
10
|
env: any;
|
|
9
|
-
|
|
11
|
+
private orgUserRisk;
|
|
12
|
+
constructor(http: HttpClient, authService: AuthService, riskCommonService: RiskCommonService, config?: Configurations);
|
|
10
13
|
getAdminKeyAdminList(): import("rxjs").Observable<any[]>;
|
|
11
|
-
getCategoryList(): import("rxjs").Observable<any
|
|
12
|
-
getOrganizationUsers(): import("rxjs").Observable<any
|
|
14
|
+
getCategoryList(): import("rxjs").Observable<any>;
|
|
15
|
+
getOrganizationUsers(): import("rxjs").Observable<any>;
|
|
13
16
|
getResponsibilityCenterList(rcArray: any[], riskId: String): import("rxjs").Observable<any[]>;
|
|
14
17
|
getRiskSettingDetails(): import("rxjs").Observable<any>;
|
|
15
18
|
downLoadFile(data: any, type: string, filename: string): string;
|
|
@@ -21,6 +24,6 @@ export declare class AddRiskService {
|
|
|
21
24
|
getRiskDetail(riskId: string): import("rxjs").Observable<any>;
|
|
22
25
|
updateRisk(riskId: string, payload: any): import("rxjs").Observable<any>;
|
|
23
26
|
getGroupsList(): import("rxjs").Observable<any[]>;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddRiskService, [null, null, { optional: true; }]>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddRiskService, [null, null, null, { optional: true; }]>;
|
|
25
28
|
static ɵprov: i0.ɵɵInjectableDeclaration<AddRiskService>;
|
|
26
29
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HttpClient, HttpParams } from '@angular/common/http';
|
|
2
|
+
import { AuthService } from '../auth.service';
|
|
3
|
+
import { Configurations } from '../../configurations';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ComplianceCommonService {
|
|
6
|
+
private http;
|
|
7
|
+
private authService;
|
|
8
|
+
private rcList;
|
|
9
|
+
env: any;
|
|
10
|
+
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
11
|
+
private getRcList;
|
|
12
|
+
private setRcList;
|
|
13
|
+
getRcListInfo(params?: HttpParams): import("rxjs").Observable<any>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComplianceCommonService, [null, null, { optional: true; }]>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ComplianceCommonService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { AuthService } from '../auth.service';
|
|
3
|
+
import { Configurations } from '../../configurations';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OrganizationCommonService {
|
|
6
|
+
private http;
|
|
7
|
+
private authService;
|
|
8
|
+
private orgUser;
|
|
9
|
+
private orgDetails;
|
|
10
|
+
private subscriptionList;
|
|
11
|
+
env: any;
|
|
12
|
+
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
13
|
+
private getOrgUsers;
|
|
14
|
+
private setOrgUsers;
|
|
15
|
+
getOrgUserInfo(): import("rxjs").Observable<any>;
|
|
16
|
+
private getOrgDetails;
|
|
17
|
+
private setOrgDetails;
|
|
18
|
+
getOrgDetailsInfo(): import("rxjs").Observable<any>;
|
|
19
|
+
private getSubscriptionDetails;
|
|
20
|
+
private setSubscriptionDetails;
|
|
21
|
+
getSubscriptionDetailsInfo(): import("rxjs").Observable<any>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationCommonService, [null, null, { optional: true; }]>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrganizationCommonService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { AuthService } from '../auth.service';
|
|
3
|
+
import { Configurations } from '../../configurations';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RiskCommonService {
|
|
6
|
+
private http;
|
|
7
|
+
private authService;
|
|
8
|
+
private riskCategory;
|
|
9
|
+
private riskSettings;
|
|
10
|
+
env: any;
|
|
11
|
+
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
12
|
+
private getRiskCategory;
|
|
13
|
+
private setRiskCategory;
|
|
14
|
+
getRiskCategoryInfo(params?: any, headers?: any): import("rxjs").Observable<any>;
|
|
15
|
+
private getRiskSettings;
|
|
16
|
+
private setRiskSettings;
|
|
17
|
+
getRiskSettingsInfo(headers?: any): import("rxjs").Observable<any>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RiskCommonService, [null, null, { optional: true; }]>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RiskCommonService>;
|
|
20
|
+
}
|
|
@@ -6,10 +6,11 @@ export declare class LogIssueService {
|
|
|
6
6
|
private http;
|
|
7
7
|
private authService;
|
|
8
8
|
env: any;
|
|
9
|
+
private issueCategories;
|
|
9
10
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
10
11
|
getIssueTypes(): import("rxjs").Observable<any[]>;
|
|
11
12
|
getOrgPeople(): import("rxjs").Observable<any[]>;
|
|
12
|
-
getIssueCategories(): import("rxjs").Observable<any
|
|
13
|
+
getIssueCategories(): import("rxjs").Observable<any>;
|
|
13
14
|
getResponsibilityCenterList(): import("rxjs").Observable<any[]>;
|
|
14
15
|
createIssue(payload: any): import("rxjs").Observable<Object>;
|
|
15
16
|
updateIssue(payload: any, issueId: string): import("rxjs").Observable<Object>;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { AuthService } from './auth.service';
|
|
3
3
|
import { Configurations } from '../configurations';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class PolicyService {
|
|
6
7
|
private http;
|
|
7
8
|
private authService;
|
|
8
9
|
env: any;
|
|
10
|
+
PolicyCategoryList: BehaviorSubject<any>;
|
|
9
11
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
10
|
-
getCategoriesList(): import("rxjs").Observable<any
|
|
12
|
+
getCategoriesList(): import("rxjs").Observable<any>;
|
|
11
13
|
getWorkflowList(payload: any): import("rxjs").Observable<Object>;
|
|
12
14
|
submitPolicy(payload: any): import("rxjs").Observable<Object>;
|
|
13
15
|
getReviewers(payload: any): import("rxjs").Observable<Object>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x ",
|
|
6
6
|
"@angular/core": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x "
|