vcomply-workflow-engine 2.6.84 → 2.6.86
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 +1929 -583
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +11 -4
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.ngfactory.js +28 -40
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.ngsummary.json +1 -1
- package/esm2015/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.js +172 -0
- package/esm2015/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.ngfactory.js +84 -0
- package/esm2015/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.ngsummary.json +1 -0
- package/esm2015/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.js +1255 -0
- package/esm2015/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.ngfactory.js +70 -0
- package/esm2015/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.ngsummary.json +1 -0
- package/esm2015/lib/log-an-issue/log-an-issue.component.ngfactory.js +6 -6
- package/esm2015/lib/more-option/more-option.component.js +8 -2
- package/esm2015/lib/more-option/more-option.component.ngfactory.js +1 -1
- package/esm2015/lib/more-option/more-option.component.ngsummary.json +1 -1
- package/esm2015/lib/pipes/search.pipe.js +5 -5
- package/esm2015/lib/services/bulk-upload.service.js +43 -0
- package/esm2015/lib/services/bulk-upload.service.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.ngfactory.js +4 -4
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.ngfactory.js +4 -4
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngfactory.js +3 -3
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.ngfactory.js +4 -4
- package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngfactory.js +3 -3
- package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.js +18 -5
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.ngfactory.js +488 -30
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.ngfactory.js +4 -4
- package/esm2015/lib/sharedComponents/framework-list/framework-list-table/framework-list-table.component.js +2 -2
- package/esm2015/lib/sharedComponents/framework-list/framework-list-table/framework-list-table.component.ngfactory.js +1 -1
- package/esm2015/lib/sharedComponents/framework-list/framework-list.component.js +18 -23
- package/esm2015/lib/sharedComponents/framework-list/framework-list.component.ngfactory.js +4 -4
- package/esm2015/lib/sharedComponents/framework-list/framework-list.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.js +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.ngfactory.js +14 -15
- package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.js +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.ngfactory.js +14 -15
- package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-container/frequency-container.component.js +2 -10
- package/esm2015/lib/sharedComponents/frequency/frequency-container/frequency-container.component.ngfactory.js +9 -9
- package/esm2015/lib/sharedComponents/frequency/frequency-container/frequency-container.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.js +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.ngfactory.js +11 -12
- package/esm2015/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.js +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.ngfactory.js +14 -15
- package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.js +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.ngfactory.js +16 -17
- package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.js +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.ngfactory.js +14 -15
- package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.js +2 -3
- package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.ngfactory.js +14 -15
- package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.ngfactory.js +4 -4
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +53 -142
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +324 -365
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +13 -2
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +11 -11
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine.module.js +5 -5
- package/esm2015/lib/workflow-engine.module.ngfactory.js +3 -3
- package/esm2015/lib/workflow-engine.module.ngsummary.json +1 -1
- package/esm2015/lib/workflow-policy/workflow-policy.component.js +8 -5
- package/esm2015/lib/workflow-policy/workflow-policy.component.ngfactory.js +5 -5
- package/esm2015/lib/workflow-policy/workflow-policy.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-program/create-program-ui/create-program-ui.module.ngfactory.js +1 -1
- package/esm2015/lib/workflow-program/create-program-ui/pipes/search.pipe.js +2 -2
- package/esm2015/lib/workflow-program/create-program-ui/role-list/role-list.component.js +3 -2
- package/esm2015/lib/workflow-program/create-program-ui/role-list/role-list.component.ngfactory.js +12 -12
- package/esm2015/lib/workflow-program/create-program-ui/role-list/role-list.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-program/workflow-program.component.js +24 -5
- package/esm2015/lib/workflow-program/workflow-program.component.ngfactory.js +268 -252
- package/esm2015/lib/workflow-program/workflow-program.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-risk/workflow-risk.component.ngfactory.js +5 -5
- package/esm2015/lib/workflow-services/add-risk.service.js +3 -3
- package/esm2015/lib/workflow-services/frequency.service.js +41 -12
- package/esm2015/lib/workflow-services/programs.service.js +4 -5
- package/esm2015/lib/workflow-services/responsibility.service.js +14 -34
- package/esm2015/lib/workflow-services/responsibility.service.ngsummary.json +1 -1
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +4 -4
- package/esm2015/vcomply-workflow-engine.js +191 -190
- package/esm2015/vcomply-workflow-engine.ngsummary.json +1 -1
- package/fesm2015/vcomply-workflow-engine.js +1687 -369
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/add-multiple-responsibility/add-multiple-responsibility.component.d.ts +2 -0
- package/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.d.ts +31 -0
- package/lib/{sharedComponents/system-task-selector/system-task-selector.component.ngfactory.d.ts → add-multiple-responsibility-container/add-multiple-responsibility-container.component.ngfactory.d.ts} +0 -0
- package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +159 -0
- package/lib/{sharedComponents/tab-selector/tab-selector.component.ngfactory.d.ts → add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.ngfactory.d.ts} +0 -0
- package/lib/more-option/more-option.component.d.ts +2 -0
- package/lib/services/bulk-upload.service.d.ts +6 -0
- package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +5 -0
- package/lib/sharedComponents/framework-list/framework-list.component.d.ts +2 -0
- package/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-container/frequency-container.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.d.ts +0 -1
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +0 -10
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +8 -0
- package/lib/workflow-policy/workflow-policy.component.d.ts +3 -2
- package/lib/workflow-program/create-program-ui/role-list/role-list.component.d.ts +1 -0
- package/lib/workflow-program/workflow-program.component.d.ts +6 -0
- package/lib/workflow-services/add-risk.service.d.ts +1 -1
- package/lib/workflow-services/frequency.service.d.ts +1 -1
- package/lib/workflow-services/responsibility.service.d.ts +0 -1
- package/package.json +2 -2
- package/vcomply-workflow-engine.d.ts +190 -189
- package/vcomply-workflow-engine.metadata.json +1 -1
- package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.js +0 -55
- package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.ngfactory.js +0 -75
- package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.js +0 -41
- package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.ngfactory.js +0 -23
- package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.ngsummary.json +0 -1
- package/lib/sharedComponents/system-task-selector/system-task-selector.component.d.ts +0 -19
- package/lib/sharedComponents/tab-selector/tab-selector.component.d.ts +0 -17
|
@@ -15,6 +15,8 @@ export declare class AddMultipleResponsibilityComponent implements OnChanges {
|
|
|
15
15
|
closeWorkflow: EventEmitter<any>;
|
|
16
16
|
disconnectRefresh: EventEmitter<any>;
|
|
17
17
|
isNotificationPending: number;
|
|
18
|
+
closeAddMultipleResponsibility: EventEmitter<any>;
|
|
19
|
+
set uploadedFileData(data: any);
|
|
18
20
|
responsibilityBulkUpload: any;
|
|
19
21
|
templateInfo: any;
|
|
20
22
|
isLoader: boolean;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { AddRiskService } from '../workflow-services/add-risk.service';
|
|
3
|
+
import { AuthService } from '../workflow-services/auth.service';
|
|
4
|
+
import { BulkUploadService } from '../services/bulk-upload.service';
|
|
5
|
+
export declare class AddMultipleResponsibilityContainerComponent implements OnInit {
|
|
6
|
+
private riskService;
|
|
7
|
+
private authService;
|
|
8
|
+
private bulkUploadService;
|
|
9
|
+
downloadStatus: string;
|
|
10
|
+
downloadPercent: number;
|
|
11
|
+
fileValue: any;
|
|
12
|
+
showSmiley: boolean;
|
|
13
|
+
responsibilityData: any;
|
|
14
|
+
fileName: string;
|
|
15
|
+
singleTabResponsibility: boolean;
|
|
16
|
+
multiTabResponsibility: boolean;
|
|
17
|
+
isFileEmpty: boolean;
|
|
18
|
+
isWrongFile: boolean;
|
|
19
|
+
isWrongFormat: boolean;
|
|
20
|
+
errorMessage: string;
|
|
21
|
+
member_obj_id: string;
|
|
22
|
+
closeWorkflow: EventEmitter<any>;
|
|
23
|
+
constructor(riskService: AddRiskService, authService: AuthService, bulkUploadService: BulkUploadService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
downloadTemplate(version?: any): void;
|
|
26
|
+
uploadedFileData: any;
|
|
27
|
+
uploadedFile(event: any): void;
|
|
28
|
+
closeSmiley(event: any): void;
|
|
29
|
+
triggerBrowseFile(): void;
|
|
30
|
+
closeAddMultipleResponsibility(event: any): void;
|
|
31
|
+
}
|
|
File without changes
|
package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { EventEmitter, SimpleChanges, OnInit } from '@angular/core';
|
|
2
|
+
import * as XLSX from 'xlsx';
|
|
3
|
+
import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
|
|
4
|
+
import { AddRiskService } from '../workflow-services/add-risk.service';
|
|
5
|
+
import { AuthService } from '../workflow-services/auth.service';
|
|
6
|
+
import { FrequencyBulkService } from '../workflow-services/frequency.service';
|
|
7
|
+
import { ResponsibilityService } from '../workflow-services/responsibility.service';
|
|
8
|
+
export declare class AddMultipleResponsibilityWithTabComponent implements OnInit {
|
|
9
|
+
private riskService;
|
|
10
|
+
private responsibilityService;
|
|
11
|
+
private authService;
|
|
12
|
+
private frequencyService;
|
|
13
|
+
private snackBar;
|
|
14
|
+
pickerChanged: EventEmitter<any>;
|
|
15
|
+
populateOption: EventEmitter<any>;
|
|
16
|
+
closeWorkflow: EventEmitter<any>;
|
|
17
|
+
disconnectRefresh: EventEmitter<any>;
|
|
18
|
+
isNotificationPending: number;
|
|
19
|
+
closeAddMultipleResponsibility: EventEmitter<any>;
|
|
20
|
+
set uploadedFileData(data: any);
|
|
21
|
+
responsibilityBulkUpload: any;
|
|
22
|
+
tabType: 'frequency' | 'ongoing' | 'onCompletion';
|
|
23
|
+
tabIndex: any;
|
|
24
|
+
bulkUpload: any;
|
|
25
|
+
templateInfo: any;
|
|
26
|
+
isLoader: boolean;
|
|
27
|
+
showCategoryList: boolean;
|
|
28
|
+
templateDownloaded: boolean;
|
|
29
|
+
downloadInProgress: boolean;
|
|
30
|
+
loader: boolean;
|
|
31
|
+
isFileEmpty: boolean;
|
|
32
|
+
isWrongFile: boolean;
|
|
33
|
+
isWrongFormat: boolean;
|
|
34
|
+
fileName: any;
|
|
35
|
+
data: any;
|
|
36
|
+
showExcel: boolean;
|
|
37
|
+
uploadedFiles: any;
|
|
38
|
+
fileResponse: any;
|
|
39
|
+
fileValue: any;
|
|
40
|
+
memberId: number;
|
|
41
|
+
organizationId: number;
|
|
42
|
+
errorMessage: string;
|
|
43
|
+
downloadStatus: string;
|
|
44
|
+
downloadPercent: number;
|
|
45
|
+
defaultOwner: string;
|
|
46
|
+
smileyMessage: string;
|
|
47
|
+
actionButtons: {
|
|
48
|
+
buttonText: string;
|
|
49
|
+
class: string;
|
|
50
|
+
id: string;
|
|
51
|
+
}[];
|
|
52
|
+
showSmiley: boolean;
|
|
53
|
+
member_obj_id: string;
|
|
54
|
+
riskClassEnabled: any;
|
|
55
|
+
userInfo: any;
|
|
56
|
+
responsibilityData: any;
|
|
57
|
+
constructor(riskService: AddRiskService, responsibilityService: ResponsibilityService, authService: AuthService, frequencyService: FrequencyBulkService, snackBar: SnackBarService);
|
|
58
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
59
|
+
ngOnInit(): void;
|
|
60
|
+
triggerBrowseFile(): void;
|
|
61
|
+
getUserDetails(): void;
|
|
62
|
+
uploadedFile(event: any, tabType?: any): void;
|
|
63
|
+
/**
|
|
64
|
+
* It takes a worksheet and a sheet name, and then it sets the data for different tabs.
|
|
65
|
+
* @param ws - XLSX.WorkSheet, sheet: string
|
|
66
|
+
* @param {string} sheet - string - the name of the sheet in the excel file
|
|
67
|
+
* @returns the value of the variable "responsibilityBulkUpload" which is an object.
|
|
68
|
+
*/
|
|
69
|
+
setDataForDifferentTabs(ws: XLSX.WorkSheet, sheet: string): void;
|
|
70
|
+
/**
|
|
71
|
+
* If the bulkUpload object has a frequency object with a reports array, set the
|
|
72
|
+
* responsibilityBulkUpload to the frequency object and set the tabType to frequency. If not, check
|
|
73
|
+
* if the bulkUpload object has an ongoing object with a reports array, set the
|
|
74
|
+
* responsibilityBulkUpload to the ongoing object and set the tabType to ongoing. If not, check if
|
|
75
|
+
* the bulkUpload object has an onCompletion object with a reports array, set the
|
|
76
|
+
* responsibilityBulkUpload to the onCompletion object and set the tabType to onCompletion. If not,
|
|
77
|
+
* return true.
|
|
78
|
+
* </code>
|
|
79
|
+
* @param {any} data - any = {
|
|
80
|
+
* @returns a boolean value.
|
|
81
|
+
*/
|
|
82
|
+
checkEmptyFile(data?: any): boolean;
|
|
83
|
+
compareWithCurrentDate(day: any, month: any): boolean;
|
|
84
|
+
isPastDate(day: any, month: any): boolean;
|
|
85
|
+
downloadTemplate(): void;
|
|
86
|
+
submitResponsibilityBulkUpload(): void;
|
|
87
|
+
returnIds(item: any, key: string): any;
|
|
88
|
+
reset(): void;
|
|
89
|
+
action(event: string): void;
|
|
90
|
+
closeSmiley(event: any): void;
|
|
91
|
+
viewResponsibilities(): void;
|
|
92
|
+
fileUpload(): void;
|
|
93
|
+
setOrganizationDetails(tempList: any): void;
|
|
94
|
+
/**
|
|
95
|
+
* It takes an event, which is a string, and then it sets the responsibilityBulkUpload variable to
|
|
96
|
+
* the value of the bulkUpload variable, which is an object, and then it accesses the property of
|
|
97
|
+
* that object that matches the event string.
|
|
98
|
+
*
|
|
99
|
+
* So if the event string is 'frequency', then the responsibilityBulkUpload variable will be set to
|
|
100
|
+
* the value of the frequency property of the bulkUpload object.
|
|
101
|
+
*
|
|
102
|
+
* If the event string is 'ongoing', then the responsibilityBulkUpload variable will be set to the
|
|
103
|
+
* value of the ongoing property of the bulkUpload object.
|
|
104
|
+
*
|
|
105
|
+
* If the event string is 'onCompletion', then the responsibilityBulkUpload variable will be set to the
|
|
106
|
+
* value of the onCompletion property of the bulkUpload object.
|
|
107
|
+
*
|
|
108
|
+
* If the event string is anything else, then the responsibilityBulkUpload variable will be set to
|
|
109
|
+
* the value of the frequency property of the bulkUpload object.
|
|
110
|
+
* @param {string} event - string - the event that is emitted from the child component (frequency | ongoing | onCompletion)
|
|
111
|
+
*/
|
|
112
|
+
selectedTab(event: 'frequency' | 'ongoing' | 'onCompletion'): void;
|
|
113
|
+
/**
|
|
114
|
+
* It takes in a report, a tab type, and a boolean value. It then returns an object with a bunch of
|
|
115
|
+
* properties.
|
|
116
|
+
* </code>
|
|
117
|
+
* @param {any} report - any => the array of data
|
|
118
|
+
* @param {string} tabType - string - this is the type of tab that is selected.
|
|
119
|
+
* @param {boolean} isProgram - boolean
|
|
120
|
+
* @returns An object with the following properties:
|
|
121
|
+
*/
|
|
122
|
+
setReportDetails(report: any, tabType: string, isProgram: boolean): any;
|
|
123
|
+
/**
|
|
124
|
+
* It takes a string, removes all whitespace, and returns the string
|
|
125
|
+
* @param {any} name - the name of the responsibility
|
|
126
|
+
* @returns the trimmedName variable.
|
|
127
|
+
*/
|
|
128
|
+
checkValidResponsibilityName(name: any): any;
|
|
129
|
+
/**
|
|
130
|
+
* If the responsibility name is valid, and the assignee and assignor are not empty, then return
|
|
131
|
+
* true. Otherwise, return false
|
|
132
|
+
* @param {any} data - any - the data that is being passed in
|
|
133
|
+
* @returns A boolean value.
|
|
134
|
+
*/
|
|
135
|
+
isValidData(data: any): boolean;
|
|
136
|
+
/**
|
|
137
|
+
* It takes in a data object and returns an object with 4 boolean properties.
|
|
138
|
+
* The boolean properties are determined by the values of the data object.
|
|
139
|
+
* @param {any} data - any = {
|
|
140
|
+
* @returns {
|
|
141
|
+
* isValidAssignee: true,
|
|
142
|
+
* isValidAssigner: true,
|
|
143
|
+
* isValidReviewer: true,
|
|
144
|
+
* isValidOverseer: true
|
|
145
|
+
* }
|
|
146
|
+
*/
|
|
147
|
+
validateDataWithProgram(data: any): any;
|
|
148
|
+
/**
|
|
149
|
+
* It takes two strings as arguments, and returns an object with three properties
|
|
150
|
+
* @param {string} programName - string -> Name of the program
|
|
151
|
+
* @param {string} [chileProgram] - string => this is the name of the sub-program
|
|
152
|
+
* @returns {
|
|
153
|
+
* programId: 1,
|
|
154
|
+
* childProgramId: 2,
|
|
155
|
+
* categoryId: '1,2'
|
|
156
|
+
* }
|
|
157
|
+
*/
|
|
158
|
+
getProgramId(programName: string, chileProgram?: string): any;
|
|
159
|
+
}
|
|
File without changes
|
|
@@ -6,6 +6,8 @@ export declare class MoreOptionComponent implements OnInit, OnChanges {
|
|
|
6
6
|
selectedOption: EventEmitter<any>;
|
|
7
7
|
isRCSelected: boolean;
|
|
8
8
|
isProgramSelected: boolean;
|
|
9
|
+
allowedFeature: any;
|
|
10
|
+
featureflagrole: boolean;
|
|
9
11
|
placeholderTexts: any;
|
|
10
12
|
businessCycle: any;
|
|
11
13
|
moreOptionsList: any;
|
package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts
CHANGED
|
@@ -4,9 +4,14 @@ export declare class BulkResponsibilityViewComponent implements OnInit {
|
|
|
4
4
|
fileName: any;
|
|
5
5
|
defaultOwner: any;
|
|
6
6
|
loader: boolean;
|
|
7
|
+
tabType: 'frequency' | 'ongoing' | 'onCompletion';
|
|
8
|
+
bulkUpload: any;
|
|
7
9
|
submitResponsibilityBulkUpload: EventEmitter<any>;
|
|
8
10
|
cancel: EventEmitter<any>;
|
|
11
|
+
selectedTab: EventEmitter<any>;
|
|
12
|
+
responsibilityType: string;
|
|
9
13
|
finalResponsibilities: number;
|
|
14
|
+
isConfirmClickable: boolean;
|
|
10
15
|
ngOnChanges(): void;
|
|
11
16
|
ngOnInit(): void;
|
|
12
17
|
submit(): void;
|
|
@@ -15,6 +15,8 @@ export declare class FrameworkListComponent implements OnInit, OnChanges {
|
|
|
15
15
|
closeFramework: EventEmitter<any>;
|
|
16
16
|
assignControl: EventEmitter<any>;
|
|
17
17
|
previousSelectedValues: any;
|
|
18
|
+
headerText: string;
|
|
19
|
+
workflowPage: Array<string>;
|
|
18
20
|
subCategoriesList: {
|
|
19
21
|
from: number;
|
|
20
22
|
to: number;
|
|
@@ -19,7 +19,6 @@ export declare class FrequencyAnnualComponent implements OnInit {
|
|
|
19
19
|
shortMonth: Array<string>;
|
|
20
20
|
frequencyData: any;
|
|
21
21
|
mode: any;
|
|
22
|
-
responsibilityType: any;
|
|
23
22
|
startDate: number;
|
|
24
23
|
frequencyDetails: EventEmitter<any>;
|
|
25
24
|
constructor(frequencyService: FrequencyService);
|
package/lib/sharedComponents/frequency/frequency-container/frequency-container.component.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export declare class FrequencyContainerComponent implements OnInit, OnChanges {
|
|
|
7
7
|
frequencyTab: string;
|
|
8
8
|
currentTabName: string;
|
|
9
9
|
frequencyDetails: any;
|
|
10
|
-
responsibilityType: any;
|
|
11
10
|
selectedFrequency: EventEmitter<any>;
|
|
12
11
|
closeFrequency: EventEmitter<any>;
|
|
13
12
|
mode: any;
|
|
@@ -19,7 +19,6 @@ export declare class FrequencyOneTimeComponent implements OnInit {
|
|
|
19
19
|
selectedDate: any;
|
|
20
20
|
frequencyData: any;
|
|
21
21
|
mode: any;
|
|
22
|
-
responsibilityType: any;
|
|
23
22
|
frequencyDetails: EventEmitter<any>;
|
|
24
23
|
constructor(frequencyService: FrequencyService);
|
|
25
24
|
ngOnInit(): void;
|
package/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { FrequencyService } from "../frequency.service";
|
|
|
3
3
|
export declare class FrequencyQuarterlyComponent implements OnInit {
|
|
4
4
|
private frequencyService;
|
|
5
5
|
mode: any;
|
|
6
|
-
responsibilityType: any;
|
|
7
6
|
quarterlyInterval: string;
|
|
8
7
|
quarterlyInput: number;
|
|
9
8
|
quarterlyFailed: number;
|
|
@@ -28,8 +28,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
28
28
|
disconnectRefresh: EventEmitter<any>;
|
|
29
29
|
checkpointCountUpdated: EventEmitter<any>;
|
|
30
30
|
rcSelected: EventEmitter<any>;
|
|
31
|
-
feature: any;
|
|
32
|
-
featureFlagSystemResponsibility: boolean;
|
|
33
31
|
openedFrom: any;
|
|
34
32
|
selectedRC: number;
|
|
35
33
|
selectedProgram: any;
|
|
@@ -61,10 +59,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
61
59
|
assuranceCategoryListLoaded: boolean;
|
|
62
60
|
selectedFrameworkValues: any;
|
|
63
61
|
hasReviewer: boolean;
|
|
64
|
-
responsibilityType: {
|
|
65
|
-
label: string;
|
|
66
|
-
value: number;
|
|
67
|
-
}[];
|
|
68
62
|
assignorsList: any[];
|
|
69
63
|
assigneesList: any[];
|
|
70
64
|
reviewersList: any[];
|
|
@@ -141,14 +135,11 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
141
135
|
isGroupAssigned: boolean;
|
|
142
136
|
responsibilityData: any;
|
|
143
137
|
originalAssignee: any;
|
|
144
|
-
unsubscribe: Subject<unknown>;
|
|
145
|
-
systemResponsibilityList: any;
|
|
146
138
|
whatInput: ElementRef;
|
|
147
139
|
unSubscribeProgram: Subject<void>;
|
|
148
140
|
constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService, programService: ProgramsService);
|
|
149
141
|
ngOnInit(): void;
|
|
150
142
|
activateSelector(type: any, event: boolean): void;
|
|
151
|
-
getSystemResponsibility(): void;
|
|
152
143
|
whatChanged(event: any): void;
|
|
153
144
|
activeDeselector(): void;
|
|
154
145
|
addMoreInfo(event: any): void;
|
|
@@ -158,7 +149,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
158
149
|
getAssuranceForRequiresAudit(): void;
|
|
159
150
|
getOrganizationDetails(): void;
|
|
160
151
|
getCategoryList(): void;
|
|
161
|
-
responsibilityTypeChange(evt: 0 | 1): void;
|
|
162
152
|
filterListsAccordingToProgram(program_id?: string): void;
|
|
163
153
|
getProgramDetails(programId?: string): void;
|
|
164
154
|
getListsAccordingToProgram(program_id: string): void;
|
|
@@ -49,6 +49,14 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
49
49
|
convertFileData: {};
|
|
50
50
|
selectedCategory: string;
|
|
51
51
|
selectedProgram: any;
|
|
52
|
+
canFrameworkChange: boolean;
|
|
53
|
+
addToProgramDetails: {
|
|
54
|
+
_id: string;
|
|
55
|
+
framework_name: string;
|
|
56
|
+
id?: number;
|
|
57
|
+
type: string;
|
|
58
|
+
description: string;
|
|
59
|
+
};
|
|
52
60
|
animation: boolean;
|
|
53
61
|
workflowList: boolean;
|
|
54
62
|
showMoreOption: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { DatePickerComponent } from 'ng2-date-picker';
|
|
3
3
|
import { EditorConfig } from 'vcomply-editor';
|
|
4
4
|
import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
|
|
@@ -20,6 +20,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
20
20
|
private router;
|
|
21
21
|
private route;
|
|
22
22
|
private frequencyService;
|
|
23
|
+
private changeRef;
|
|
23
24
|
pickerChanged: EventEmitter<any>;
|
|
24
25
|
mode: string;
|
|
25
26
|
policyId: string;
|
|
@@ -127,7 +128,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
127
128
|
userInfo: any;
|
|
128
129
|
policyApprovalFlag: number;
|
|
129
130
|
baseURL: string;
|
|
130
|
-
constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation);
|
|
131
|
+
constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation, changeRef: ChangeDetectorRef);
|
|
131
132
|
policyForm: PolicyForm;
|
|
132
133
|
ngOnInit(): void;
|
|
133
134
|
/**
|
|
@@ -59,6 +59,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
61
|
showConfirmation: any;
|
|
62
|
+
isAscentAllowed: boolean;
|
|
62
63
|
form: ElementRef;
|
|
63
64
|
datePickerOverlay: boolean;
|
|
64
65
|
datePicker: DatePickerComponent;
|
|
@@ -72,9 +73,12 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
72
73
|
onRemovingRole: EventEmitter<any>;
|
|
73
74
|
disableElementsFromMoreOptions: EventEmitter<any>;
|
|
74
75
|
scrollToBottom: boolean;
|
|
76
|
+
canFrameworkChange: boolean;
|
|
75
77
|
mode: string;
|
|
76
78
|
programId: string;
|
|
77
79
|
programType: number;
|
|
80
|
+
allowedFeature: any;
|
|
81
|
+
addToProgramDetails: any;
|
|
78
82
|
panelTitleDefaultReviewer: string;
|
|
79
83
|
panelTitleOwner: string;
|
|
80
84
|
panelTitleReviewer: string;
|
|
@@ -84,6 +88,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
84
88
|
isProgramScope: boolean;
|
|
85
89
|
toolTipData: any;
|
|
86
90
|
businessCycle: any;
|
|
91
|
+
featureflagrole: boolean;
|
|
87
92
|
constructor(fb: FormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, changeRef: ChangeDetectorRef);
|
|
88
93
|
noWhitespaceValidator(control: FormControl): {
|
|
89
94
|
whitespace: boolean;
|
|
@@ -189,4 +194,5 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
189
194
|
populateGroups(res: any): void;
|
|
190
195
|
resetAdditionalOption(): void;
|
|
191
196
|
checkProgramOptionField(): any;
|
|
197
|
+
enablefeature(): void;
|
|
192
198
|
}
|
|
@@ -14,7 +14,7 @@ export declare class AddRiskService {
|
|
|
14
14
|
downLoadFile(data: any, type: string, filename: string): string;
|
|
15
15
|
base64ToArrayBuffer(base64: any): ArrayBufferLike;
|
|
16
16
|
downloadTemplate(categoryId: string): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Object>>;
|
|
17
|
-
downloadResponsibilityTemplate(): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Object>>;
|
|
17
|
+
downloadResponsibilityTemplate(version?: any): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Object>>;
|
|
18
18
|
addRisk(payload: any): import("rxjs").Observable<any>;
|
|
19
19
|
addBulkRisk(payload: any[]): import("rxjs").Observable<any>;
|
|
20
20
|
getRiskDetail(riskId: string): import("rxjs").Observable<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare class FrequencyBulkService {
|
|
2
2
|
env: any;
|
|
3
3
|
constructor();
|
|
4
|
-
shortHand_freqCal(frequency: any, day: any, month: any, year?: any): string;
|
|
4
|
+
shortHand_freqCal(frequency: any, day: any, month: any, year?: any, dueDate?: any, ongoingValues?: any): string;
|
|
5
5
|
}
|
|
@@ -9,7 +9,6 @@ export declare class ResponsibilityService {
|
|
|
9
9
|
dataPerPage: number;
|
|
10
10
|
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
11
11
|
getResponsibilityCenterList(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
12
|
-
getSystemResponsibilityList(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
13
12
|
getOrganizationGroups(params?: HttpParams): import("rxjs").Observable<any[]>;
|
|
14
13
|
getOrganizationUsers(): import("rxjs").Observable<any[]>;
|
|
15
14
|
getOrganizationPeople(params?: HttpParams): import("rxjs").Observable<any[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.86",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "10.x || 11.x || 12.x || 13.x || 14.x || 15.x || 16.x",
|
|
6
6
|
"@angular/core": "10.x || 11.x || 12.x || 13.x || 14.x || 15.x || 16.x"
|
|
@@ -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
|
+
}
|