vcomply-workflow-engine 6.0.77 → 6.0.78
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-responsibility/add-multiple-responsibility.component.mjs +1 -10
- package/esm2022/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +1 -10
- package/esm2022/lib/add-multiple-risk/add-multiple-risk.component.mjs +1 -10
- package/esm2022/lib/constants/api.constants.mjs +5 -3
- package/esm2022/lib/constants/mock.mjs +152 -0
- package/esm2022/lib/interfaces/frequency.interface.mjs +2 -0
- package/esm2022/lib/interfaces/iframe-type.mjs +7 -0
- package/esm2022/lib/interfaces/responsibilty.interface.mjs +1 -1
- package/esm2022/lib/more-option/more-option.component.mjs +17 -183
- package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +3 -2
- package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +5 -5
- package/esm2022/lib/services/common.service.mjs +40 -1
- package/esm2022/lib/services/iframe.service.mjs +14 -1
- package/esm2022/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.mjs +5 -1
- package/esm2022/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.mjs +5 -1
- package/esm2022/lib/sharedComponents/frequency/frequency-container/frequency-container.component.mjs +5 -5
- package/esm2022/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.mjs +2 -1
- package/esm2022/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.mjs +6 -2
- package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +3 -2
- package/esm2022/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.mjs +3 -1
- package/esm2022/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.mjs +5 -1
- package/esm2022/lib/sharedComponents/frequency/frequency-random/frequency-random.component.mjs +9 -2
- package/esm2022/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.mjs +4 -2
- package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +247 -1
- package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.component.mjs +1 -3
- package/esm2022/lib/sharedComponents/list-container/list-container.component.mjs +52 -0
- package/esm2022/lib/sharedComponents/program-list/constant.mjs +16 -0
- package/esm2022/lib/sharedComponents/program-list/interfaces/data-source.interface.mjs +2 -0
- package/esm2022/lib/sharedComponents/program-list/interfaces/list-item.interface.mjs +2 -0
- package/esm2022/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.mjs +23 -0
- package/esm2022/lib/sharedComponents/program-list/program-list/program-list.component.mjs +182 -0
- package/esm2022/lib/sharedComponents/program-list/program-list.module.mjs +47 -0
- package/esm2022/lib/sharedComponents/program-list/services/list-utils.service.mjs +27 -0
- package/esm2022/lib/sharedComponents/program-list/services/program-list-api.service.mjs +32 -0
- package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +24 -0
- package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +19 -0
- package/esm2022/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +45 -17
- package/esm2022/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.mjs +13 -10
- package/esm2022/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.mjs +62 -35
- package/esm2022/lib/workflow/shared/services/grc.service.mjs +15 -2
- package/esm2022/lib/workflow/shared/workflow-pipes/get-user-details.pipe.mjs +26 -0
- package/esm2022/lib/workflow/shared/workflow-pipes/workflow-pipes.module.mjs +8 -3
- package/esm2022/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.mjs +1 -10
- package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +284 -413
- package/esm2022/lib/workflow-engine-container/api-constants.mjs +3 -2
- package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +32 -53
- package/esm2022/lib/workflow-engine.module.mjs +13 -6
- package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +55 -35
- package/esm2022/lib/workflow-program/constants.mjs +3 -3
- package/esm2022/lib/workflow-program/workflow-program.component.mjs +122 -338
- package/esm2022/lib/workflow-services/policy.service.mjs +8 -4
- package/esm2022/lib/workflow-services/programs.service.mjs +26 -113
- package/esm2022/lib/workflow-services/responsibility.service.mjs +60 -56
- package/fesm2022/vcomply-workflow-engine.mjs +4701 -4517
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/add-multiple-responsibility/add-multiple-responsibility.component.d.ts +0 -2
- package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +0 -2
- package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +0 -2
- package/lib/constants/api.constants.d.ts +4 -2
- package/lib/constants/mock.d.ts +15 -0
- package/lib/interfaces/frequency.interface.d.ts +37 -0
- package/lib/interfaces/iframe-type.d.ts +5 -0
- package/lib/interfaces/responsibilty.interface.d.ts +12 -12
- package/lib/services/common.service.d.ts +28 -0
- package/lib/services/iframe.service.d.ts +6 -0
- package/lib/sharedComponents/frequency/frequency-random/frequency-random.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency.service.d.ts +87 -0
- package/lib/sharedComponents/list-container/list-container.component.d.ts +9 -0
- package/lib/sharedComponents/program-list/constant.d.ts +9 -0
- package/lib/sharedComponents/program-list/interfaces/data-source.interface.d.ts +4 -0
- package/lib/sharedComponents/program-list/interfaces/list-item.interface.d.ts +5 -0
- package/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.d.ts +7 -0
- package/lib/sharedComponents/program-list/program-list/program-list.component.d.ts +45 -0
- package/lib/sharedComponents/program-list/program-list.module.d.ts +14 -0
- package/lib/sharedComponents/program-list/services/list-utils.service.d.ts +7 -0
- package/lib/sharedComponents/program-list/services/program-list-api.service.d.ts +14 -0
- package/lib/ui-kit/loaders/loaders.module.d.ts +8 -0
- package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +9 -0
- package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +5 -1
- package/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.d.ts +3 -1
- package/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.d.ts +6 -2
- package/lib/workflow/shared/services/grc.service.d.ts +1 -0
- package/lib/workflow/shared/workflow-pipes/get-user-details.pipe.d.ts +7 -0
- package/lib/workflow/shared/workflow-pipes/workflow-pipes.module.d.ts +3 -2
- package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +0 -2
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +32 -6
- package/lib/workflow-engine-container/api-constants.d.ts +1 -0
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +5 -2
- package/lib/workflow-engine.module.d.ts +42 -40
- package/lib/workflow-policy/workflow-policy.component.d.ts +9 -0
- package/lib/workflow-program/workflow-program.component.d.ts +8 -4
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
- package/lib/workflow-services/policy.service.d.ts +1 -0
- package/lib/workflow-services/programs.service.d.ts +13 -53
- package/lib/workflow-services/responsibility.service.d.ts +17 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, ElementRef } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter, ElementRef, TemplateRef } from '@angular/core';
|
|
2
2
|
import { EditorConfig } from 'vcomply-editor';
|
|
3
3
|
import { AuthService } from '../workflow-services/auth.service';
|
|
4
4
|
import { ResponsibilityService } from '../workflow-services/responsibility.service';
|
|
@@ -11,6 +11,9 @@ import { GrcService } from '../workflow/shared/services/grc.service';
|
|
|
11
11
|
import { OrganizationUserService } from '../workflow-services/organization-user.service';
|
|
12
12
|
import { ComplianceCommonService } from '../workflow-services/common-workflow-services/compliance-common.service';
|
|
13
13
|
import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
|
|
14
|
+
import { FrequencyObject } from '../interfaces/frequency.interface';
|
|
15
|
+
import { Responsibility } from '../interfaces/responsibilty.interface';
|
|
16
|
+
import { ListItem } from '../sharedComponents/program-list/interfaces/list-item.interface';
|
|
14
17
|
import { IframeService } from '../services/iframe.service';
|
|
15
18
|
import * as i0 from "@angular/core";
|
|
16
19
|
export declare class WorkflowComplianceComponent implements OnInit {
|
|
@@ -104,6 +107,11 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
104
107
|
grcSearchString: string;
|
|
105
108
|
GRC_TYPE_ARRAY: string[];
|
|
106
109
|
grcDataWithTypes: any;
|
|
110
|
+
selectedCategory: any[];
|
|
111
|
+
programListUrl: {
|
|
112
|
+
programList: string;
|
|
113
|
+
categoryList: string;
|
|
114
|
+
};
|
|
107
115
|
set closeOnEsc(escapeCondition: boolean);
|
|
108
116
|
orgDetails: any;
|
|
109
117
|
url: string;
|
|
@@ -189,7 +197,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
189
197
|
allPrograms: any[];
|
|
190
198
|
riskClassification: {
|
|
191
199
|
name: string;
|
|
192
|
-
value:
|
|
200
|
+
value: string;
|
|
193
201
|
class: string;
|
|
194
202
|
}[];
|
|
195
203
|
assignorMode: string;
|
|
@@ -214,6 +222,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
214
222
|
continuous_failed_days: number;
|
|
215
223
|
onCompletionReportDetails: {};
|
|
216
224
|
};
|
|
225
|
+
frequencyObject: FrequencyObject | null;
|
|
217
226
|
frequencyPlaceholder: string;
|
|
218
227
|
shortMonth: Array<string>;
|
|
219
228
|
isEditWhat: Boolean;
|
|
@@ -244,8 +253,10 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
244
253
|
rawResponsibility: any;
|
|
245
254
|
otherGRCSubscription: Subscription;
|
|
246
255
|
allowEditDueDateFeatureFlag: boolean;
|
|
256
|
+
allProgamSelected: any[];
|
|
247
257
|
whatInput: ElementRef;
|
|
248
258
|
unSubscribeProgram: Subject<void>;
|
|
259
|
+
responsibilityDetails: any;
|
|
249
260
|
constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService, programService: ProgramsService, grcService: GrcService, organizationUserService: OrganizationUserService, complianceCommonService: ComplianceCommonService, organizationCommonService: OrganizationCommonService, iframeService: IframeService);
|
|
250
261
|
ngOnInit(): void;
|
|
251
262
|
setFeatureFlags(): void;
|
|
@@ -261,7 +272,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
261
272
|
getRCList(program_id?: string): void;
|
|
262
273
|
getUserDetails(): void;
|
|
263
274
|
getAssurance(): void;
|
|
264
|
-
getAssuranceForRequiresAudit(): void;
|
|
265
275
|
getOrganizationDetails(): void;
|
|
266
276
|
getCategoryList(): void;
|
|
267
277
|
filterListsAccordingToProgram(program_id?: string): void;
|
|
@@ -343,13 +353,14 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
343
353
|
getOnCompletionReportDetails(event: any): any;
|
|
344
354
|
frequencyDataPopulation(event: any): void;
|
|
345
355
|
frequencyPopulation(event: any): void;
|
|
356
|
+
setPayload(event: any): Responsibility | null;
|
|
346
357
|
frequencyData(event: any): void;
|
|
347
358
|
checkBlank(data: string): string;
|
|
348
359
|
/**
|
|
349
360
|
* It takes a string and returns a string.
|
|
350
361
|
* @param {any} res - any = {
|
|
351
362
|
*/
|
|
352
|
-
getFrequencyPlaceholder(
|
|
363
|
+
getFrequencyPlaceholder(frequency: any): void;
|
|
353
364
|
/**
|
|
354
365
|
* It gets the frequency details and report id, then it sets the frequency placeholder to the frequency
|
|
355
366
|
* details and then it gets the on completion of responsibility and sets the frequency placeholder to
|
|
@@ -453,7 +464,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
453
464
|
*/
|
|
454
465
|
postAssessment(event: any): void;
|
|
455
466
|
setIsUploaded(event: any): void;
|
|
456
|
-
checkDefaultProgramOnRemove(
|
|
467
|
+
checkDefaultProgramOnRemove(event: any): void;
|
|
457
468
|
/**
|
|
458
469
|
* It takes an array of numbers and returns an array of unique numbers.
|
|
459
470
|
* @param {any} array - The array you want to get the unique values from.
|
|
@@ -479,6 +490,21 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
479
490
|
resetGRCDataWithTypes(): void;
|
|
480
491
|
removeOtherGRCObjects(event: any): void;
|
|
481
492
|
filterOtherGRCData(event: any, type: string): void;
|
|
493
|
+
programs: ListItem[];
|
|
494
|
+
selectedPrograms: any[];
|
|
495
|
+
customItemTemplate: TemplateRef<any> | undefined;
|
|
496
|
+
onItemsSelectedChange(items: ListItem[]): void;
|
|
497
|
+
selectCategory(): void;
|
|
498
|
+
get currentUserInfo(): {
|
|
499
|
+
member_email: any;
|
|
500
|
+
member_id: any;
|
|
501
|
+
member_name: any;
|
|
502
|
+
organisation_id: any;
|
|
503
|
+
_id: any;
|
|
504
|
+
};
|
|
505
|
+
removeProgram(program: any): void;
|
|
506
|
+
populateResponsibilityDetails(): void;
|
|
507
|
+
populateFrequencyDetails(frequency: any): void;
|
|
482
508
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowComplianceComponent, never>;
|
|
483
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowComplianceComponent, "app-workflow-compliance", never, { "mode": { "alias": "mode"; "required": false; }; "responsibilityId": { "alias": "responsibilityId"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "isEntrust": { "alias": "isEntrust"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "setSelectedProgram": { "alias": "selectedProgram"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "closeWorkflow": "closeWorkflow"; "resetForm": "resetForm"; "disconnectRefresh": "disconnectRefresh"; "checkpointCountUpdated": "checkpointCountUpdated"; "rcSelected": "rcSelected"; "onRemovingCheckpoint": "onRemovingCheckpoint"; "isAssessmentDisabled": "isAssessmentDisabled"; "assigneeTypeChange": "assigneeTypeChange"; "onReviewerTypeChange": "onReviewerTypeChange"; }, never, never, false, never>;
|
|
509
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowComplianceComponent, "app-workflow-compliance", never, { "mode": { "alias": "mode"; "required": false; }; "responsibilityId": { "alias": "responsibilityId"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "isEntrust": { "alias": "isEntrust"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "setSelectedProgram": { "alias": "selectedProgram"; "required": false; }; "responsibilityDetails": { "alias": "responsibilityDetails"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "closeWorkflow": "closeWorkflow"; "resetForm": "resetForm"; "disconnectRefresh": "disconnectRefresh"; "checkpointCountUpdated": "checkpointCountUpdated"; "rcSelected": "rcSelected"; "onRemovingCheckpoint": "onRemovingCheckpoint"; "isAssessmentDisabled": "isAssessmentDisabled"; "assigneeTypeChange": "assigneeTypeChange"; "onReviewerTypeChange": "onReviewerTypeChange"; }, never, never, false, never>;
|
|
484
510
|
}
|
|
@@ -19,6 +19,7 @@ import { Subscription } from 'rxjs';
|
|
|
19
19
|
import { ReportACaseService } from '../report-a-case/services/report-a-case.service';
|
|
20
20
|
import { WorkflowCaseComponent } from '../report-a-case/workflow-case/workflow-case.component';
|
|
21
21
|
import { ReportCasePermissionService } from '../services/report-case-permission.service';
|
|
22
|
+
import { IframeService } from '../services/iframe.service';
|
|
22
23
|
import * as i0 from "@angular/core";
|
|
23
24
|
export declare class WorkflowEngineContainerComponent implements OnInit, AfterViewInit {
|
|
24
25
|
uiKitService: UiKitService;
|
|
@@ -27,12 +28,13 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
27
28
|
private orgCommonService;
|
|
28
29
|
private reportACaseService;
|
|
29
30
|
private reportCasePermissionService;
|
|
31
|
+
private iframeService;
|
|
30
32
|
isHostRefreshActive: boolean;
|
|
31
33
|
isRCSelected: boolean;
|
|
32
34
|
featureFlag_groups: boolean;
|
|
33
35
|
addToCaseMode: string;
|
|
34
36
|
permissionSubscription: Subscription;
|
|
35
|
-
constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService, orgCommonService: OrganizationCommonService, reportACaseService: ReportACaseService, reportCasePermissionService: ReportCasePermissionService);
|
|
37
|
+
constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService, orgCommonService: OrganizationCommonService, reportACaseService: ReportACaseService, reportCasePermissionService: ReportCasePermissionService, iframeService: IframeService);
|
|
36
38
|
workflowType: string;
|
|
37
39
|
mode: string;
|
|
38
40
|
id: string;
|
|
@@ -45,6 +47,7 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
45
47
|
secondaryOpenPortal: string;
|
|
46
48
|
defaultRiskType: string;
|
|
47
49
|
moveToRegisterMode: string;
|
|
50
|
+
workflowDetails: any;
|
|
48
51
|
reponsibilityData: {
|
|
49
52
|
responsibilityId: null;
|
|
50
53
|
responsibilityName: string;
|
|
@@ -164,5 +167,5 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
164
167
|
onReviewerChange(event: string): void;
|
|
165
168
|
isResponsibilitySimplify(): void;
|
|
166
169
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowEngineContainerComponent, never>;
|
|
167
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowEngineContainerComponent, "app-vcomply-workflow-engine-container", never, { "workflowType": { "alias": "workflowType"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "id": { "alias": "id"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "source": { "alias": "source"; "required": false; }; "allowedWorkflows": { "alias": "allowedWorkflows"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "secondaryOpenPortal": { "alias": "secondaryOpenPortal"; "required": false; }; "defaultRiskType": { "alias": "defaultRiskType"; "required": false; }; "moveToRegisterMode": { "alias": "moveToRegisterMode"; "required": false; }; "reponsibilityData": { "alias": "reponsibilityData"; "required": false; }; "assessmentQuestion": { "alias": "assessmentQuestion"; "required": false; }; "pid": { "alias": "pid"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "issueData": { "alias": "issueData"; "required": false; }; "entrustButtonName": { "alias": "entrustButtonName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "convertFileData": { "alias": "convertFileData"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "selectedProgram": { "alias": "selectedProgram"; "required": false; }; "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "grcType": { "alias": "grcType"; "required": false; }; "isSendForAttestation": { "alias": "isSendForAttestation"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; }, { "closeWorkflow": "closeWorkflow"; }, never, never, false, never>;
|
|
170
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowEngineContainerComponent, "app-vcomply-workflow-engine-container", never, { "workflowType": { "alias": "workflowType"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "id": { "alias": "id"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "source": { "alias": "source"; "required": false; }; "allowedWorkflows": { "alias": "allowedWorkflows"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "secondaryOpenPortal": { "alias": "secondaryOpenPortal"; "required": false; }; "defaultRiskType": { "alias": "defaultRiskType"; "required": false; }; "moveToRegisterMode": { "alias": "moveToRegisterMode"; "required": false; }; "workflowDetails": { "alias": "workflowDetails"; "required": false; }; "reponsibilityData": { "alias": "reponsibilityData"; "required": false; }; "assessmentQuestion": { "alias": "assessmentQuestion"; "required": false; }; "pid": { "alias": "pid"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "issueData": { "alias": "issueData"; "required": false; }; "entrustButtonName": { "alias": "entrustButtonName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "convertFileData": { "alias": "convertFileData"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "selectedProgram": { "alias": "selectedProgram"; "required": false; }; "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "grcType": { "alias": "grcType"; "required": false; }; "isSendForAttestation": { "alias": "isSendForAttestation"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; }, { "closeWorkflow": "closeWorkflow"; }, never, never, false, never>;
|
|
168
171
|
}
|
|
@@ -91,48 +91,50 @@ import * as i87 from "./sharedComponents/approval-workflow/approval-create-form/
|
|
|
91
91
|
import * as i88 from "./sharedComponents/link-program/link-program/link-program.component";
|
|
92
92
|
import * as i89 from "./sharedComponents/link-program/tooltip-validation.pipe";
|
|
93
93
|
import * as i90 from "./link-related-policies/link-related-policies.component";
|
|
94
|
-
import * as i91 from "
|
|
95
|
-
import * as i92 from "
|
|
96
|
-
import * as i93 from "
|
|
97
|
-
import * as i94 from "@
|
|
98
|
-
import * as i95 from "
|
|
99
|
-
import * as i96 from "./
|
|
100
|
-
import * as i97 from "./ui-kit/
|
|
101
|
-
import * as i98 from "./ui-kit/
|
|
102
|
-
import * as i99 from "./
|
|
103
|
-
import * as i100 from "
|
|
104
|
-
import * as i101 from "
|
|
105
|
-
import * as i102 from "
|
|
106
|
-
import * as i103 from "./sharedComponents/
|
|
107
|
-
import * as i104 from "./
|
|
108
|
-
import * as i105 from "./ui-kit/
|
|
109
|
-
import * as i106 from "
|
|
110
|
-
import * as i107 from "
|
|
111
|
-
import * as i108 from "./ui-kit/
|
|
112
|
-
import * as i109 from "./ui-kit/
|
|
113
|
-
import * as i110 from "./ui-kit/
|
|
114
|
-
import * as i111 from "./ui-kit/
|
|
115
|
-
import * as i112 from "./
|
|
116
|
-
import * as i113 from "./
|
|
117
|
-
import * as i114 from "./
|
|
118
|
-
import * as i115 from "./
|
|
119
|
-
import * as i116 from "./
|
|
120
|
-
import * as i117 from "./
|
|
121
|
-
import * as i118 from "./
|
|
122
|
-
import * as i119 from "./sharedComponents/
|
|
123
|
-
import * as i120 from "./sharedComponents/list-
|
|
124
|
-
import * as i121 from "./
|
|
125
|
-
import * as i122 from "./
|
|
126
|
-
import * as i123 from "./ui-kit/
|
|
127
|
-
import * as i124 from "./
|
|
128
|
-
import * as i125 from "./
|
|
129
|
-
import * as i126 from "./
|
|
130
|
-
import * as i127 from "./sharedComponents/
|
|
131
|
-
import * as i128 from "./sharedComponents/
|
|
132
|
-
import * as i129 from "./sharedComponents/
|
|
94
|
+
import * as i91 from "./sharedComponents/list-container/list-container.component";
|
|
95
|
+
import * as i92 from "@angular/forms";
|
|
96
|
+
import * as i93 from "./sharedComponents/assessment-editor/create-assessment.module";
|
|
97
|
+
import * as i94 from "@vcomply/editor";
|
|
98
|
+
import * as i95 from "@angular/common";
|
|
99
|
+
import * as i96 from "./formgroup/formgroup.module";
|
|
100
|
+
import * as i97 from "./ui-kit/tooltip/tooltip.module";
|
|
101
|
+
import * as i98 from "./ui-kit/popover/popover.module";
|
|
102
|
+
import * as i99 from "./ui-kit/line-loader/line-loader.module";
|
|
103
|
+
import * as i100 from "./formgroup/select/select.module";
|
|
104
|
+
import * as i101 from "ngx-material-timepicker";
|
|
105
|
+
import * as i102 from "ng2-date-picker";
|
|
106
|
+
import * as i103 from "./sharedComponents/no-data/no-data.module";
|
|
107
|
+
import * as i104 from "./sharedComponents/v-loader/v-loader.module";
|
|
108
|
+
import * as i105 from "./ui-kit/smiley-dialog/smiley-dialog.module";
|
|
109
|
+
import * as i106 from "./ui-kit/snack-bar/snack-bar.module";
|
|
110
|
+
import * as i107 from "@angular/common/http";
|
|
111
|
+
import * as i108 from "./ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
|
|
112
|
+
import * as i109 from "./ui-kit/click-outside/click-outside.module";
|
|
113
|
+
import * as i110 from "./ui-kit/popover-hover/popover-hover.module";
|
|
114
|
+
import * as i111 from "./ui-kit/pagination/pagination.module";
|
|
115
|
+
import * as i112 from "./ui-kit/action-dialog/action-dialog.module";
|
|
116
|
+
import * as i113 from "./sharedComponents/assessment-preview/assessment-preview.module";
|
|
117
|
+
import * as i114 from "./workflow-program/create-program-ui/create-program-ui.module";
|
|
118
|
+
import * as i115 from "./ui-kit/directive/directive.module";
|
|
119
|
+
import * as i116 from "./workflow/grc-object/grc-object.module";
|
|
120
|
+
import * as i117 from "./sharedComponents/responsibility-centers-list/rc-list.module";
|
|
121
|
+
import * as i118 from "./pipes/pipes.module";
|
|
122
|
+
import * as i119 from "./sharedComponents/floating-bar/floating-bar.module";
|
|
123
|
+
import * as i120 from "./sharedComponents/group-users-list/group-users-list.component";
|
|
124
|
+
import * as i121 from "./sharedComponents/list-loader/list-loader.module";
|
|
125
|
+
import * as i122 from "./workflow/shared/components/grc-object-list/grc-object-list.component";
|
|
126
|
+
import * as i123 from "./ui-kit/time-picker/time-picker.module";
|
|
127
|
+
import * as i124 from "./ui-kit/multi-select/multi-select.module";
|
|
128
|
+
import * as i125 from "./sharedComponents/policy-template/policy-template.module";
|
|
129
|
+
import * as i126 from "./report-a-case/report-case.module";
|
|
130
|
+
import * as i127 from "./sharedComponents/format-and-evidence/format-and-evidence.module";
|
|
131
|
+
import * as i128 from "./sharedComponents/checkbox-list/checkbox-list.module";
|
|
132
|
+
import * as i129 from "./sharedComponents/radio-list-with-pagination/radio-list-with-pagination.module";
|
|
133
|
+
import * as i130 from "./sharedComponents/link-responsibility/link-responsibility.module";
|
|
134
|
+
import * as i131 from "./sharedComponents/program-list/program-list.module";
|
|
133
135
|
export declare class VComplyWorkflowEngineModule {
|
|
134
136
|
static forRoot(environmentConfig: Configurations): ModuleWithProviders<VComplyWorkflowEngineModule>;
|
|
135
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<VComplyWorkflowEngineModule, never>;
|
|
136
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VComplyWorkflowEngineModule, [typeof i1.WorkflowEngineContainerComponent, typeof i2.WorkflowRiskComponent, typeof i3.WorkflowComplianceComponent, typeof i4.WorkflowPolicyComponent, typeof i5.MoreOptionComponent, typeof i6.OwnerListComponent, typeof i7.UserRadioListComponent, typeof i8.CategoryListComponent, typeof i9.CategoryMultiSelectComponent, typeof i10.WorkflowPaginationComponent, typeof i11.AddMultipleRiskComponent, typeof i12.BulkViewComponent, typeof i13.CheckpointsComponent, typeof i14.ConfirmationAlertComponent, typeof i15.CheckpointsQuestionsComponent, typeof i16.CheckpointsListComponent, typeof i17.ReviewFrequencyComponent, typeof i18.FrequencyContainerComponent, typeof i19.FrequencyDailyComponent, typeof i20.FrequencyWeeklyComponent, typeof i21.FrequencyMonthlyComponent, typeof i22.FrequencyQuarterlyComponent, typeof i23.FrequencyBiannualComponent, typeof i24.FrequencyAnnualComponent, typeof i25.FrequencyOneTimeComponent, typeof i26.FrequencyRandomComponent, typeof i27.FrequencyOnCompletionOfComponent, typeof i28.FrequencyOngoingComponent, typeof i29.FrequencyTopComponent, typeof i30.FrequencyLifecycleComponent, typeof i31.FrequencyDueDateComponent, typeof i32.FrequencyCheckboxListComponent, typeof i33.FrequencyRadioListComponent, typeof i34.AddMultipleResponsibilityComponent, typeof i35.BulkResponsibilityViewComponent, typeof i36.CheckpointsPolicyContainerComponent, typeof i37.CheckpointsPolicyListComponent, typeof i38.CheckpointsPolicyQuestionsComponent, typeof i39.WorkflowSurveyFormComponent, typeof i40.LogAnIssueComponent, typeof i41.FilterPipe, typeof i42.RadioListComponent, typeof i43.CreateDocumentsComponent, typeof i44.FrameworkListComponent, typeof i45.ParentTableComponent, typeof i46.CheckpointFloatingBarComponent, typeof i47.RiskClassificationComponent, typeof i48.ShortMergePipe, typeof i49.FormatHtmlPipe, typeof i50.WithinDataPipe, typeof i51.rcTreeToolTipPipe, typeof i52.ResponsibilityRiskSelectorComponent, typeof i53.ArrayFilterPipe, typeof i54.AuditCategoryListComponent, typeof i55.DocumentSectionComponent, typeof i55.DocumentSectionComponent, typeof i56.WorkflowAssessmentComponent, typeof i57.ImportAnAssessmentComponent, typeof i58.AssessmentListComponent, typeof i59.AssessmentListLoaderComponent, typeof i60.AssessmentListSubLoaderComponent, typeof i61.ProgramListingComponent, typeof i62.WorkflowProgramComponent, typeof i63.RolesListComponent, typeof i64.FrameworkListTableComponent, typeof i65.FrameworkResponsibilityTableComponent, typeof i66.FrameworkTableLoaderComponent, typeof i67.ArrayConcatPipe, typeof i68.SpaceTrimPipe, typeof i69.FrequencyDialogContainerComponent, typeof i70.FrequencyDialogWeeklyComponent, typeof i71.FrequencyDialogTopComponent, typeof i72.FrequencyDialogDueDateComponent, typeof i73.FrequencyDialogCheckboxListComponent, typeof i74.FrequencyDialogMonthlyComponent, typeof i75.FrequencyDialogQuarterlyComponent, typeof i76.FrequencyDialogRadioListComponent, typeof i77.FrequencyDialogBiannualComponent, typeof i78.FrequencyDialogAnnualComponent, typeof i79.FrequencyDialogOneTimeComponent, typeof i80.AddMultipleResponsibilityContainerComponent, typeof i81.AddMultipleResponsibilityWithTabComponent, typeof i82.FrequencyResponsibilityListComponent, typeof i83.ApprovalWorkflowComponent, typeof i84.SelectApproversComponent, typeof i85.PolicyAccessComponent, typeof i86.ApprovalWorkflowListComponent, typeof i87.ApprovalCreateFormComponent, typeof i88.LinkProgramComponent, typeof i89.TooltipValidationPipe, typeof i90.LinkRelatedPoliciesComponent], [typeof
|
|
138
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VComplyWorkflowEngineModule, [typeof i1.WorkflowEngineContainerComponent, typeof i2.WorkflowRiskComponent, typeof i3.WorkflowComplianceComponent, typeof i4.WorkflowPolicyComponent, typeof i5.MoreOptionComponent, typeof i6.OwnerListComponent, typeof i7.UserRadioListComponent, typeof i8.CategoryListComponent, typeof i9.CategoryMultiSelectComponent, typeof i10.WorkflowPaginationComponent, typeof i11.AddMultipleRiskComponent, typeof i12.BulkViewComponent, typeof i13.CheckpointsComponent, typeof i14.ConfirmationAlertComponent, typeof i15.CheckpointsQuestionsComponent, typeof i16.CheckpointsListComponent, typeof i17.ReviewFrequencyComponent, typeof i18.FrequencyContainerComponent, typeof i19.FrequencyDailyComponent, typeof i20.FrequencyWeeklyComponent, typeof i21.FrequencyMonthlyComponent, typeof i22.FrequencyQuarterlyComponent, typeof i23.FrequencyBiannualComponent, typeof i24.FrequencyAnnualComponent, typeof i25.FrequencyOneTimeComponent, typeof i26.FrequencyRandomComponent, typeof i27.FrequencyOnCompletionOfComponent, typeof i28.FrequencyOngoingComponent, typeof i29.FrequencyTopComponent, typeof i30.FrequencyLifecycleComponent, typeof i31.FrequencyDueDateComponent, typeof i32.FrequencyCheckboxListComponent, typeof i33.FrequencyRadioListComponent, typeof i34.AddMultipleResponsibilityComponent, typeof i35.BulkResponsibilityViewComponent, typeof i36.CheckpointsPolicyContainerComponent, typeof i37.CheckpointsPolicyListComponent, typeof i38.CheckpointsPolicyQuestionsComponent, typeof i39.WorkflowSurveyFormComponent, typeof i40.LogAnIssueComponent, typeof i41.FilterPipe, typeof i42.RadioListComponent, typeof i43.CreateDocumentsComponent, typeof i44.FrameworkListComponent, typeof i45.ParentTableComponent, typeof i46.CheckpointFloatingBarComponent, typeof i47.RiskClassificationComponent, typeof i48.ShortMergePipe, typeof i49.FormatHtmlPipe, typeof i50.WithinDataPipe, typeof i51.rcTreeToolTipPipe, typeof i52.ResponsibilityRiskSelectorComponent, typeof i53.ArrayFilterPipe, typeof i54.AuditCategoryListComponent, typeof i55.DocumentSectionComponent, typeof i55.DocumentSectionComponent, typeof i56.WorkflowAssessmentComponent, typeof i57.ImportAnAssessmentComponent, typeof i58.AssessmentListComponent, typeof i59.AssessmentListLoaderComponent, typeof i60.AssessmentListSubLoaderComponent, typeof i61.ProgramListingComponent, typeof i62.WorkflowProgramComponent, typeof i63.RolesListComponent, typeof i64.FrameworkListTableComponent, typeof i65.FrameworkResponsibilityTableComponent, typeof i66.FrameworkTableLoaderComponent, typeof i67.ArrayConcatPipe, typeof i68.SpaceTrimPipe, typeof i69.FrequencyDialogContainerComponent, typeof i70.FrequencyDialogWeeklyComponent, typeof i71.FrequencyDialogTopComponent, typeof i72.FrequencyDialogDueDateComponent, typeof i73.FrequencyDialogCheckboxListComponent, typeof i74.FrequencyDialogMonthlyComponent, typeof i75.FrequencyDialogQuarterlyComponent, typeof i76.FrequencyDialogRadioListComponent, typeof i77.FrequencyDialogBiannualComponent, typeof i78.FrequencyDialogAnnualComponent, typeof i79.FrequencyDialogOneTimeComponent, typeof i80.AddMultipleResponsibilityContainerComponent, typeof i81.AddMultipleResponsibilityWithTabComponent, typeof i82.FrequencyResponsibilityListComponent, typeof i83.ApprovalWorkflowComponent, typeof i84.SelectApproversComponent, typeof i85.PolicyAccessComponent, typeof i86.ApprovalWorkflowListComponent, typeof i87.ApprovalCreateFormComponent, typeof i88.LinkProgramComponent, typeof i89.TooltipValidationPipe, typeof i90.LinkRelatedPoliciesComponent, typeof i91.ListContainerComponent], [typeof i92.ReactiveFormsModule, typeof i93.CreateAssessmentModule, typeof i94.VcomplyEditorModule, typeof i95.CommonModule, typeof i96.FormgroupModule, typeof i97.TooltipModule, typeof i98.PopoverModule, typeof i99.LineLoaderModule, typeof i92.FormsModule, typeof i100.SelectModule, typeof i101.NgxMaterialTimepickerModule, typeof i102.DpDatePickerModule, typeof i103.NoDataModule, typeof i104.VLoaderModule, typeof i105.SmileyDialogModule, typeof i106.SnackBarModule, typeof i107.HttpClientModule, typeof i108.SmileyDialogInlineModule, typeof i109.ClickOutsideModule, typeof i110.PopoverHoverModule, typeof i111.PaginationModule, typeof i93.CreateAssessmentModule, typeof i112.ActionDialogModule, typeof i113.AssessmentPreviewModule, typeof i114.CreateProgramUiModule, typeof i115.DirectiveModule, typeof i116.GrcObjectModule, typeof i117.RcListModule, typeof i118.PipesModule, typeof i119.FloatingBarModule, typeof i120.GroupUsersListComponent, typeof i121.ListLoaderModule, typeof i122.GrcObjectListComponent, typeof i123.TimePickerModule, typeof i124.MultiSelectModule, typeof i125.PolicyTemplateModule, typeof i126.ReportCaseModule, typeof i127.FormatAndEvidenceModule, typeof i128.CheckboxListModule, typeof i129.RadioListWithPaginationModule, typeof i130.LinkResponsibilityModule, typeof i131.ProgramListModule], [typeof i1.WorkflowEngineContainerComponent]>;
|
|
137
139
|
static ɵinj: i0.ɵɵInjectorDeclaration<VComplyWorkflowEngineModule>;
|
|
138
140
|
}
|
|
@@ -17,6 +17,7 @@ import { OrganizationUserService } from '../workflow-services/organization-user.
|
|
|
17
17
|
import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
|
|
18
18
|
import { ComplianceCommonService } from '../workflow-services/common-workflow-services/compliance-common.service';
|
|
19
19
|
import { IframeService } from '../services/iframe.service';
|
|
20
|
+
import { ListItem } from '../sharedComponents/program-list/interfaces/list-item.interface';
|
|
20
21
|
import * as i0 from "@angular/core";
|
|
21
22
|
export declare class WorkflowPolicyComponent implements OnInit {
|
|
22
23
|
private policyService;
|
|
@@ -225,6 +226,10 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
225
226
|
templateView: boolean;
|
|
226
227
|
templateUrl: string;
|
|
227
228
|
isTemplateClosed: boolean;
|
|
229
|
+
programListUrl: any;
|
|
230
|
+
selectedPrograms: any;
|
|
231
|
+
allProgamSelected: ListItem[];
|
|
232
|
+
linkProgram: any;
|
|
228
233
|
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, iframeService: IframeService);
|
|
229
234
|
policyForm: PolicyForm;
|
|
230
235
|
ngOnInit(): void;
|
|
@@ -411,6 +416,10 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
411
416
|
onTemplateSelect(event: any, isPreselected?: boolean): void;
|
|
412
417
|
setNavigationUrl(): void;
|
|
413
418
|
navigateToTemplate(): void;
|
|
419
|
+
onItemsSelectedChange(items: ListItem[]): void;
|
|
420
|
+
selectCategory(): void;
|
|
421
|
+
removeProgram(program: any): void;
|
|
422
|
+
getLinkProgram(policyId: string): void;
|
|
414
423
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowPolicyComponent, never>;
|
|
415
424
|
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowPolicyComponent, "app-workflow-policy", never, { "mode": { "alias": "mode"; "required": false; }; "policyId": { "alias": "policyId"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "convertFileData": { "alias": "convertFileData"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "isSendForAttestation": { "alias": "isSendForAttestation"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "showConfirmationAlert": "showConfirmationAlert"; "populateOption": "populateOption"; "disconnectRefresh": "disconnectRefresh"; "shiftToEditMode": "shiftToEditMode"; }, never, never, false, never>;
|
|
416
425
|
}
|
|
@@ -11,8 +11,8 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
11
11
|
private programService;
|
|
12
12
|
private authService;
|
|
13
13
|
private uiKitService;
|
|
14
|
-
private iframeService;
|
|
15
14
|
private changeRef;
|
|
15
|
+
private iframeService;
|
|
16
16
|
ASSETS: {
|
|
17
17
|
responsibility_center: string;
|
|
18
18
|
case_type: string;
|
|
@@ -139,6 +139,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
139
139
|
allowedFeature: any;
|
|
140
140
|
addToProgramDetails: any;
|
|
141
141
|
orgDetails: any;
|
|
142
|
+
programDetails: any;
|
|
142
143
|
panelTitleDefaultReviewer: string;
|
|
143
144
|
panelTitleOwner: string;
|
|
144
145
|
panelTitleReviewer: string;
|
|
@@ -157,7 +158,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
157
158
|
assignorId: number[];
|
|
158
159
|
disableReviewerIds: any[];
|
|
159
160
|
disableOverseerIds: any[];
|
|
160
|
-
constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService,
|
|
161
|
+
constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, changeRef: ChangeDetectorRef, iframeService: IframeService);
|
|
161
162
|
noWhitespaceValidator(control: UntypedFormControl): {
|
|
162
163
|
whitespace: boolean;
|
|
163
164
|
} | null;
|
|
@@ -218,7 +219,6 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
218
219
|
returnIds(list: any[], key: string): any[];
|
|
219
220
|
refreshList(): void;
|
|
220
221
|
removeRole(evt: any): void;
|
|
221
|
-
setDefaultAssignee(evt: any): void;
|
|
222
222
|
setDefaultAssigneeOnRemove(evt: any, type: any): void;
|
|
223
223
|
setDefaultReviewer(evt: any): void;
|
|
224
224
|
setDefaultOverseer(evt: any): void;
|
|
@@ -253,6 +253,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
253
253
|
uniqueByProp(array: any, key: string): unknown[];
|
|
254
254
|
setList(list: any[], ids: any[], key: string): any;
|
|
255
255
|
saveProgram(): void;
|
|
256
|
+
postIframeMessage(event: string, data: any): void;
|
|
256
257
|
action(event: string): void;
|
|
257
258
|
viewPrograms(): void;
|
|
258
259
|
resetForm(): void;
|
|
@@ -261,11 +262,14 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
261
262
|
* Get program details when user is trying to edit program
|
|
262
263
|
*/
|
|
263
264
|
getProgramDetails(): void;
|
|
265
|
+
populateProgramDetails(res: any): void;
|
|
264
266
|
populateMembers(res: any): void;
|
|
265
267
|
populateGroups(res: any): void;
|
|
268
|
+
populateGroupsByGID(programDetails: any, type: string): void;
|
|
266
269
|
resetAdditionalOption(): void;
|
|
267
270
|
checkProgramOptionField(): any;
|
|
268
271
|
enablefeature(): void;
|
|
272
|
+
handleDataPopulation(): void;
|
|
269
273
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowProgramComponent, never>;
|
|
270
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowProgramComponent, "app-workflow-program", never, { "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "programId": { "alias": "programId"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "allowedFeature": { "alias": "allowedFeature"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "closeWorkflow": "closeWorkflow"; "showConfirmationAlert": "showConfirmationAlert"; "disconnectRefresh": "disconnectRefresh"; "refreshForm": "refreshForm"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "onRemovingRole": "onRemovingRole"; "disableElementsFromMoreOptions": "disableElementsFromMoreOptions"; }, never, never, false, never>;
|
|
274
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowProgramComponent, "app-workflow-program", never, { "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "programId": { "alias": "programId"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "allowedFeature": { "alias": "allowedFeature"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; "programDetails": { "alias": "programDetails"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "closeWorkflow": "closeWorkflow"; "showConfirmationAlert": "showConfirmationAlert"; "disconnectRefresh": "disconnectRefresh"; "refreshForm": "refreshForm"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "onRemovingRole": "onRemovingRole"; "disableElementsFromMoreOptions": "disableElementsFromMoreOptions"; }, never, never, false, never>;
|
|
271
275
|
}
|
|
@@ -167,7 +167,7 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
167
167
|
setPopupButtons(): void;
|
|
168
168
|
getRiskDetails(riskId: any): void;
|
|
169
169
|
populateOptionalFields(): void;
|
|
170
|
-
setCategoryType(type: any): "strategic" | "compliance" | "
|
|
170
|
+
setCategoryType(type: any): "strategic" | "compliance" | "others" | "operational";
|
|
171
171
|
getRCList(): void;
|
|
172
172
|
getCategoryList(): void;
|
|
173
173
|
getOwnersList(): void;
|
|
@@ -30,6 +30,7 @@ export declare class PolicyService {
|
|
|
30
30
|
createApprovalWorkflow(payload: any): import("rxjs").Observable<any>;
|
|
31
31
|
editApprovalWorkflow(payload: any, id: string): import("rxjs").Observable<any>;
|
|
32
32
|
LinkedPoliciesList(policyId: string): import("rxjs").Observable<Object>;
|
|
33
|
+
getLinkedPrograms(policyId: string): import("rxjs").Observable<Object>;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<PolicyService, [null, null, { optional: true; }]>;
|
|
34
35
|
static ɵprov: i0.ɵɵInjectableDeclaration<PolicyService>;
|
|
35
36
|
}
|
|
@@ -29,61 +29,20 @@ export declare class ProgramsService {
|
|
|
29
29
|
};
|
|
30
30
|
saveProgram(payload: any): import("rxjs").Observable<any[]>;
|
|
31
31
|
buildPayload(formData: any, instance: any): {
|
|
32
|
-
mode: string;
|
|
33
32
|
name: any;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
type: string;
|
|
34
|
+
description: any;
|
|
35
|
+
owners: {
|
|
36
|
+
admins: {
|
|
37
|
+
users: any;
|
|
38
|
+
userGroups: any;
|
|
39
|
+
};
|
|
40
|
+
managers: {
|
|
41
|
+
users: any;
|
|
42
|
+
userGroups: any;
|
|
43
|
+
};
|
|
37
44
|
};
|
|
38
|
-
|
|
39
|
-
text: any;
|
|
40
|
-
attachments: any;
|
|
41
|
-
};
|
|
42
|
-
roles: any;
|
|
43
|
-
owners: any;
|
|
44
|
-
owners_group: any;
|
|
45
|
-
all_user_in_role: any;
|
|
46
|
-
programType: any;
|
|
47
|
-
state: any;
|
|
48
|
-
approvers: any;
|
|
49
|
-
calculate_past_upcoming_event: any;
|
|
50
|
-
program_frequency: number;
|
|
51
|
-
lock_scope: number;
|
|
52
|
-
rc_ids: any;
|
|
53
|
-
assignee_ids: any;
|
|
54
|
-
assignee_group_ids: any;
|
|
55
|
-
default_assignee_ids: any;
|
|
56
|
-
default_assignee_group_ids: any;
|
|
57
|
-
default_assignee_type: any;
|
|
58
|
-
reviewers: any;
|
|
59
|
-
reviewer_group_ids: any;
|
|
60
|
-
default_reviewers: any;
|
|
61
|
-
default_reviewer_group_ids: any;
|
|
62
|
-
default_reviewers_type: any;
|
|
63
|
-
overseers: {
|
|
64
|
-
cc_email: any;
|
|
65
|
-
cc_email_groups: any;
|
|
66
|
-
failure_cc_email: never[];
|
|
67
|
-
failure_cc_email_groups: never[];
|
|
68
|
-
};
|
|
69
|
-
default_overseers: {
|
|
70
|
-
cc_email: any;
|
|
71
|
-
cc_email_groups: any;
|
|
72
|
-
failure_cc_email: any;
|
|
73
|
-
failure_cc_email_groups: any;
|
|
74
|
-
};
|
|
75
|
-
assessment: any;
|
|
76
|
-
evidence_upload_flag: number;
|
|
77
|
-
is_key_evidence: any;
|
|
78
|
-
custom_fields: any;
|
|
79
|
-
framework: {
|
|
80
|
-
_id: any;
|
|
81
|
-
framework_name: any;
|
|
82
|
-
type: any;
|
|
83
|
-
in_scope: any;
|
|
84
|
-
out_scope: any;
|
|
85
|
-
}[];
|
|
86
|
-
_id: any;
|
|
45
|
+
customFields: any;
|
|
87
46
|
};
|
|
88
47
|
generateAssessment(assessment: any): any;
|
|
89
48
|
getFramework(input: any): {
|
|
@@ -108,6 +67,7 @@ export declare class ProgramsService {
|
|
|
108
67
|
*/
|
|
109
68
|
updateProgram(payload: any, id: string): import("rxjs").Observable<any[]>;
|
|
110
69
|
getMemeberByIds(ids: any): import("rxjs").Observable<any[]>;
|
|
70
|
+
getMemeberByUIds(ids: any): import("rxjs").Observable<any[]>;
|
|
111
71
|
getMemberByGroups(ids: any): import("rxjs").Observable<any[]>;
|
|
112
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgramsService, [null, null, { optional: true; }]>;
|
|
113
73
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProgramsService>;
|
|
@@ -4,12 +4,15 @@ import { AuthService } from './auth.service';
|
|
|
4
4
|
import { AssessmentList } from '../sharedComponents/assessment-list/service/assessment.interface';
|
|
5
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
6
|
import { Responsibility } from '../interfaces/responsibilty.interface';
|
|
7
|
+
import { GrcService } from '../workflow/shared/services/grc.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class ResponsibilityService {
|
|
9
10
|
private http;
|
|
10
11
|
private authService;
|
|
12
|
+
private grcService;
|
|
11
13
|
env: any;
|
|
12
14
|
dataPerPage: number;
|
|
15
|
+
responsibilityPageNumber: number;
|
|
13
16
|
grcOwners$: BehaviorSubject<any>;
|
|
14
17
|
RCList: BehaviorSubject<any>;
|
|
15
18
|
AssignorList: BehaviorSubject<any>;
|
|
@@ -18,7 +21,7 @@ export declare class ResponsibilityService {
|
|
|
18
21
|
AssuranceCategoryList: BehaviorSubject<any>;
|
|
19
22
|
private overseerList;
|
|
20
23
|
private policyGroups;
|
|
21
|
-
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
24
|
+
constructor(http: HttpClient, authService: AuthService, grcService: GrcService, config?: Configurations);
|
|
22
25
|
getResponsibilityCenterList(params?: HttpParams): Observable<any>;
|
|
23
26
|
getOrganizationGroups(params?: HttpParams): Observable<any>;
|
|
24
27
|
getOrganizationPolicyGroups(params?: HttpParams): Observable<any>;
|
|
@@ -31,7 +34,6 @@ export declare class ResponsibilityService {
|
|
|
31
34
|
getProgramsListCount(params: HttpParams, ids?: any): Observable<any[]>;
|
|
32
35
|
getCategoriesUnderProgram(params: HttpParams): Observable<any[]>;
|
|
33
36
|
getAssurance(): Observable<any>;
|
|
34
|
-
getAssuranceForRequiresAudit(): Observable<any>;
|
|
35
37
|
getRCDetailsOfFramework(rc_id: any, category_id: any): Observable<Object>;
|
|
36
38
|
submitEntrust(entrust_body: any): Observable<Object>;
|
|
37
39
|
updateEntrust(entrust_body: any, object_id: any, isDelegate: any): Observable<Object>;
|
|
@@ -56,7 +58,18 @@ export declare class ResponsibilityService {
|
|
|
56
58
|
addGRCObject(payload: any): Observable<any[]>;
|
|
57
59
|
updateGRCObject(payload: any, _id: string): Observable<any[]>;
|
|
58
60
|
buildResponsibilityPayload(event: any): Responsibility | null;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
getOverseer(event: any): {
|
|
62
|
+
success: {
|
|
63
|
+
userId: any;
|
|
64
|
+
userGroupId: any;
|
|
65
|
+
};
|
|
66
|
+
fail: {
|
|
67
|
+
userId: any;
|
|
68
|
+
userGroupId: any;
|
|
69
|
+
};
|
|
70
|
+
} | undefined;
|
|
71
|
+
transformData(input: any): any;
|
|
72
|
+
getAllResponsibilities(): Observable<any[]>;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityService, [null, null, null, { optional: true; }]>;
|
|
61
74
|
static ɵprov: i0.ɵɵInjectableDeclaration<ResponsibilityService>;
|
|
62
75
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.78",
|
|
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 "
|