vcomply-workflow-engine 2.6.114 → 2.6.116
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 +5332 -7438
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.js +98 -235
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.ngfactory.js +2 -3
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.ngsummary.json +1 -1
- package/esm2015/lib/formgroup/select/cs-select/cs-select.component.js +2 -2
- package/esm2015/lib/formgroup/select/cs-select/cs-select.component.ngfactory.js +3 -3
- package/esm2015/lib/log-an-issue/log-an-issue.component.ngfactory.js +6 -6
- package/esm2015/lib/more-option/more-option.component.js +41 -21
- 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/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 +1 -1
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.ngfactory.js +3 -3
- package/esm2015/lib/sharedComponents/bulk-view/bulk-view.component.js +7 -9
- package/esm2015/lib/sharedComponents/bulk-view/bulk-view.component.ngfactory.js +19 -24
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.ngfactory.js +4 -4
- package/esm2015/lib/sharedComponents/frequency/frequency.service.js +2 -12
- package/esm2015/lib/sharedComponents/frequency/frequency.service.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 +10 -8
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +5 -5
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +5 -10
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +39 -40
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine.module.js +1 -23
- package/esm2015/lib/workflow-engine.module.ngfactory.js +3 -3
- package/esm2015/lib/workflow-engine.module.ngsummary.json +1 -1
- package/esm2015/lib/workflow-interfaces/create-policy-form.js +1 -1
- package/esm2015/lib/workflow-policy/workflow-policy.component.js +40 -9
- package/esm2015/lib/workflow-policy/workflow-policy.component.ngfactory.js +159 -107
- 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/user-group-list/user-group-list.component.js +2 -4
- package/esm2015/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.ngfactory.js +69 -86
- package/esm2015/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-program/workflow-program.component.js +2 -2
- package/esm2015/lib/workflow-program/workflow-program.component.ngfactory.js +121 -149
- package/esm2015/lib/workflow-risk/workflow-risk.component.js +23 -430
- package/esm2015/lib/workflow-risk/workflow-risk.component.ngfactory.js +120 -297
- package/esm2015/lib/workflow-risk/workflow-risk.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-services/add-risk.service.js +2 -11
- package/esm2015/lib/workflow-services/add-risk.service.ngsummary.json +1 -1
- package/esm2015/lib/workflow-services/auth.service.js +1 -1
- package/esm2015/lib/workflow-services/frequency.service.js +3 -3
- package/esm2015/lib/workflow-services/responsibility.service.js +2 -2
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +4 -4
- package/esm2015/vcomply-workflow-engine.js +219 -230
- package/esm2015/vcomply-workflow-engine.ngsummary.json +1 -1
- package/fesm2015/vcomply-workflow-engine.js +23472 -25556
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +1 -44
- package/lib/more-option/more-option.component.d.ts +4 -0
- package/lib/sharedComponents/frequency/frequency.service.d.ts +0 -1
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +2 -2
- package/lib/workflow-interfaces/create-policy-form.d.ts +1 -0
- package/lib/workflow-policy/workflow-policy.component.d.ts +3 -0
- package/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.d.ts +0 -1
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -82
- package/lib/workflow-services/add-risk.service.d.ts +0 -1
- package/lib/workflow-services/auth.service.d.ts +0 -1
- package/lib/workflow-services/frequency.service.d.ts +1 -1
- package/package.json +2 -2
- package/vcomply-workflow-engine.d.ts +218 -229
- package/vcomply-workflow-engine.metadata.json +1 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-annual/frequency-dialog-annual.component.js +0 -210
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-annual/frequency-dialog-annual.component.ngfactory.js +0 -39
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-annual/frequency-dialog-annual.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-biannual/frequency-dialog-biannual.component.js +0 -187
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-biannual/frequency-dialog-biannual.component.ngfactory.js +0 -36
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-biannual/frequency-dialog-biannual.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-checkbox-list/frequency-dialog-checkbox-list.component.js +0 -26
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-checkbox-list/frequency-dialog-checkbox-list.component.ngfactory.js +0 -25
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-checkbox-list/frequency-dialog-checkbox-list.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-container/frequency-dialog-container.component.js +0 -287
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-container/frequency-dialog-container.component.ngfactory.js +0 -80
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-container/frequency-dialog-container.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-due-date/frequency-dialog-due-date.component.js +0 -62
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-due-date/frequency-dialog-due-date.component.ngfactory.js +0 -42
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-due-date/frequency-dialog-due-date.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-monthly/frequency-dialog-monthly.component.js +0 -197
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-monthly/frequency-dialog-monthly.component.ngfactory.js +0 -36
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-monthly/frequency-dialog-monthly.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-one-time/frequency-dialog-one-time.component.js +0 -137
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-one-time/frequency-dialog-one-time.component.ngfactory.js +0 -79
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-one-time/frequency-dialog-one-time.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-quarterly/frequency-dialog-quarterly.component.js +0 -181
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-quarterly/frequency-dialog-quarterly.component.ngfactory.js +0 -36
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-quarterly/frequency-dialog-quarterly.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-radio-list/frequency-dialog-radio-list.component.js +0 -31
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-radio-list/frequency-dialog-radio-list.component.ngfactory.js +0 -24
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-radio-list/frequency-dialog-radio-list.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-top/frequency-dialog-top.component.js +0 -102
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-top/frequency-dialog-top.component.ngfactory.js +0 -99
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-top/frequency-dialog-top.component.ngsummary.json +0 -1
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-weekly/frequency-dialog-weekly.component.js +0 -165
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-weekly/frequency-dialog-weekly.component.ngfactory.js +0 -36
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-weekly/frequency-dialog-weekly.component.ngsummary.json +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-annual/frequency-dialog-annual.component.d.ts +0 -37
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-annual/frequency-dialog-annual.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-biannual/frequency-dialog-biannual.component.d.ts +0 -35
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-biannual/frequency-dialog-biannual.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-checkbox-list/frequency-dialog-checkbox-list.component.d.ts +0 -9
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-checkbox-list/frequency-dialog-checkbox-list.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-container/frequency-dialog-container.component.d.ts +0 -31
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-container/frequency-dialog-container.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-due-date/frequency-dialog-due-date.component.d.ts +0 -16
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-due-date/frequency-dialog-due-date.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-monthly/frequency-dialog-monthly.component.d.ts +0 -33
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-monthly/frequency-dialog-monthly.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-one-time/frequency-dialog-one-time.component.d.ts +0 -32
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-one-time/frequency-dialog-one-time.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-quarterly/frequency-dialog-quarterly.component.d.ts +0 -32
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-quarterly/frequency-dialog-quarterly.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-radio-list/frequency-dialog-radio-list.component.d.ts +0 -10
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-radio-list/frequency-dialog-radio-list.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-top/frequency-dialog-top.component.d.ts +0 -22
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-top/frequency-dialog-top.component.ngfactory.d.ts +0 -1
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-weekly/frequency-dialog-weekly.component.d.ts +0 -30
- package/lib/sharedComponents/frequency-dialog/frequency-dialog-weekly/frequency-dialog-weekly.component.ngfactory.d.ts +0 -1
|
@@ -3,12 +3,10 @@ import { CategoryList } from '../interfaces/categoryList';
|
|
|
3
3
|
import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
|
|
4
4
|
import { AddRiskService } from '../workflow-services/add-risk.service';
|
|
5
5
|
import { AuthService } from '../workflow-services/auth.service';
|
|
6
|
-
import { FrequencyBulkService } from '../workflow-services/frequency.service';
|
|
7
6
|
export declare class AddMultipleRiskComponent implements OnInit, OnChanges {
|
|
8
7
|
private riskService;
|
|
9
8
|
private authService;
|
|
10
9
|
private snackBar;
|
|
11
|
-
private frequencyService;
|
|
12
10
|
pickerChanged: EventEmitter<any>;
|
|
13
11
|
populateOption: EventEmitter<any>;
|
|
14
12
|
closeWorkflow: EventEmitter<any>;
|
|
@@ -46,8 +44,7 @@ export declare class AddMultipleRiskComponent implements OnInit, OnChanges {
|
|
|
46
44
|
member_obj_id: string;
|
|
47
45
|
defaultOwner: string;
|
|
48
46
|
riskData: any;
|
|
49
|
-
|
|
50
|
-
constructor(riskService: AddRiskService, authService: AuthService, snackBar: SnackBarService, frequencyService: FrequencyBulkService);
|
|
47
|
+
constructor(riskService: AddRiskService, authService: AuthService, snackBar: SnackBarService);
|
|
51
48
|
ngOnChanges(changes: SimpleChanges): void;
|
|
52
49
|
ngOnInit(): void;
|
|
53
50
|
getCategoryList(): void;
|
|
@@ -65,44 +62,4 @@ export declare class AddMultipleRiskComponent implements OnInit, OnChanges {
|
|
|
65
62
|
action(event: string): void;
|
|
66
63
|
closeSmiley(event: any): void;
|
|
67
64
|
viewRisks(): void;
|
|
68
|
-
/**
|
|
69
|
-
* It takes an array of strings and returns an object with the array values as properties.
|
|
70
|
-
* </code>
|
|
71
|
-
* @param {any} risk - any = [
|
|
72
|
-
* @returns [
|
|
73
|
-
* {
|
|
74
|
-
* "riskName": "",
|
|
75
|
-
* "description": "",
|
|
76
|
-
* "rcName": "",
|
|
77
|
-
* "owner": "",
|
|
78
|
-
* "frequency": "",
|
|
79
|
-
* "emailReminder": "",
|
|
80
|
-
* "overseer": "",
|
|
81
|
-
* "isValid": false,
|
|
82
|
-
* "mitigationPriority": "",
|
|
83
|
-
*/
|
|
84
|
-
setRiskDetails(risk: any): any;
|
|
85
|
-
/**
|
|
86
|
-
* If the frequencyType is weekly, return 2, if it's monthly, return 7, if it's quarterly, return 7,
|
|
87
|
-
* if it's biannual, return 30, if it's annual, return 30, if it's one time, return 15, otherwise
|
|
88
|
-
* return 0.
|
|
89
|
-
* @param {string} [frequencyType] - string - the frequency type of the reminder
|
|
90
|
-
* @returns The return value is the number of days before the event that the reminder should be sent.
|
|
91
|
-
*/
|
|
92
|
-
setDefaultEmailReminderValue(frequencyType?: string): any;
|
|
93
|
-
/**
|
|
94
|
-
* If the label is 'new risk', return 1, if the label is 'emerging/rapidly changing risks', return 2,
|
|
95
|
-
* otherwise return 1
|
|
96
|
-
* @param {string} [label] - the label of the risk
|
|
97
|
-
* @returns The return value is the value of the last expression in the function.
|
|
98
|
-
*/
|
|
99
|
-
setRiskLabel(label?: string): 1 | 2;
|
|
100
|
-
/**
|
|
101
|
-
* "If the date is a number, convert it to a date object, then create a new date object with the
|
|
102
|
-
* timezone set to the user's timezone, then return the date in the format YYYY-MM-DD."
|
|
103
|
-
* </code>
|
|
104
|
-
* @param {any} date - any - the date you want to change the timezone of
|
|
105
|
-
* @returns The date is being returned in the timezone of the user.
|
|
106
|
-
*/
|
|
107
|
-
changeTimeZone(date: any): string;
|
|
108
65
|
}
|
|
@@ -7,7 +7,10 @@ export declare class MoreOptionComponent implements OnInit, OnChanges {
|
|
|
7
7
|
isRCSelected: boolean;
|
|
8
8
|
isProgramSelected: boolean;
|
|
9
9
|
allowedFeature: any;
|
|
10
|
+
orgDetails: any;
|
|
11
|
+
set getOrganizationDetails(details: any);
|
|
10
12
|
featureflagrole: boolean;
|
|
13
|
+
programSimplifyFlag: boolean;
|
|
11
14
|
placeholderTexts: any;
|
|
12
15
|
businessCycle: any;
|
|
13
16
|
moreOptionsList: any;
|
|
@@ -18,4 +21,5 @@ export declare class MoreOptionComponent implements OnInit, OnChanges {
|
|
|
18
21
|
populate(evt: any): void;
|
|
19
22
|
hideElements(hiddenList: any): void;
|
|
20
23
|
resetAll(workflowType: string): void;
|
|
24
|
+
updateProgramMoreOptions(): void;
|
|
21
25
|
}
|
|
@@ -57,6 +57,8 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
57
57
|
type: string;
|
|
58
58
|
description: string;
|
|
59
59
|
};
|
|
60
|
+
orgDetails: any;
|
|
61
|
+
programSimplifyFlag: boolean;
|
|
60
62
|
animation: boolean;
|
|
61
63
|
workflowList: boolean;
|
|
62
64
|
showMoreOption: boolean;
|
|
@@ -81,7 +83,6 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
81
83
|
dropdownWidth: any;
|
|
82
84
|
closeOnEsc: boolean;
|
|
83
85
|
feature: any;
|
|
84
|
-
organizationDetails: any;
|
|
85
86
|
onKeydownHandler(event: KeyboardEvent): void;
|
|
86
87
|
currentWorkflow: any;
|
|
87
88
|
workflowTypeList: any;
|
|
@@ -121,7 +122,6 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
121
122
|
onCheckpointSelection(event: number): void;
|
|
122
123
|
onRcSelected(isRcSelected: boolean): void;
|
|
123
124
|
fetchOrganizationDetails(): void;
|
|
124
|
-
getUserDetails(): void;
|
|
125
125
|
assigneeTypeChange(): void;
|
|
126
126
|
onReviewerChange(event: string): void;
|
|
127
127
|
}
|
|
@@ -24,6 +24,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
24
24
|
pickerChanged: EventEmitter<any>;
|
|
25
25
|
mode: string;
|
|
26
26
|
policyId: string;
|
|
27
|
+
feature: any;
|
|
27
28
|
showConfirmationAlert: EventEmitter<any>;
|
|
28
29
|
datePicker: DatePickerComponent;
|
|
29
30
|
populateOption: EventEmitter<any>;
|
|
@@ -42,6 +43,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
42
43
|
allApprovers: any;
|
|
43
44
|
allReviewers: any;
|
|
44
45
|
assigneesList: any;
|
|
46
|
+
ownerlist: any;
|
|
45
47
|
reviewersList: any;
|
|
46
48
|
overseersList: any;
|
|
47
49
|
rcListLoaded: boolean;
|
|
@@ -128,6 +130,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
128
130
|
userInfo: any;
|
|
129
131
|
policyApprovalFlag: number;
|
|
130
132
|
baseURL: string;
|
|
133
|
+
groupEnabled: any;
|
|
131
134
|
constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation, changeRef: ChangeDetectorRef);
|
|
132
135
|
policyForm: PolicyForm;
|
|
133
136
|
ngOnInit(): void;
|
|
@@ -2,7 +2,6 @@ import { EventEmitter, OnInit } from '@angular/core';
|
|
|
2
2
|
import { EditorConfig } from 'vcomply-editor';
|
|
3
3
|
import { Configurations } from '../configurations';
|
|
4
4
|
import { CategoryList } from '../interfaces/categoryList';
|
|
5
|
-
import { FrequencyService } from '../sharedComponents/frequency/frequency.service';
|
|
6
5
|
import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
|
|
7
6
|
import { AddRiskService } from '../workflow-services/add-risk.service';
|
|
8
7
|
import { AuthService } from '../workflow-services/auth.service';
|
|
@@ -12,7 +11,6 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
12
11
|
private authService;
|
|
13
12
|
private uiKitService;
|
|
14
13
|
private snackBar;
|
|
15
|
-
private frequencyService;
|
|
16
14
|
responsibilityCentersList: any;
|
|
17
15
|
selectedResponsibilityCenters: any;
|
|
18
16
|
mitigationDetails: any;
|
|
@@ -28,7 +26,6 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
28
26
|
}[];
|
|
29
27
|
sideSelectorElements: any;
|
|
30
28
|
showSmiley: boolean;
|
|
31
|
-
feature: any;
|
|
32
29
|
mode: string;
|
|
33
30
|
riskId: string;
|
|
34
31
|
defaultRiskType: string;
|
|
@@ -45,7 +42,6 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
45
42
|
scrollToBottom: boolean;
|
|
46
43
|
categoryList: CategoryList;
|
|
47
44
|
overseersList: any;
|
|
48
|
-
overseersGroupList: any;
|
|
49
45
|
adminsList: any;
|
|
50
46
|
overseersIdList: any;
|
|
51
47
|
timezone: string;
|
|
@@ -62,26 +58,14 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
62
58
|
categoryListLoaded: boolean;
|
|
63
59
|
rcListLoaded: boolean;
|
|
64
60
|
submitted: boolean;
|
|
65
|
-
frequencyDetails: {
|
|
66
|
-
frequency: string;
|
|
67
|
-
started_at: string;
|
|
68
|
-
frequency_time: string;
|
|
69
|
-
remind_before_days: number;
|
|
70
|
-
};
|
|
71
|
-
frequencyPlaceholder: string;
|
|
72
|
-
shortMonth: Array<string>;
|
|
73
61
|
settingsInfo: any;
|
|
74
62
|
loader: boolean;
|
|
75
63
|
activeSelector: string;
|
|
76
64
|
currentTimeStamp: number;
|
|
77
|
-
|
|
78
|
-
groupsList: any;
|
|
79
|
-
riskLabelList: any;
|
|
80
|
-
constructor(riskService: AddRiskService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService, frequencyService: FrequencyService, config?: Configurations);
|
|
65
|
+
constructor(riskService: AddRiskService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService, config?: Configurations);
|
|
81
66
|
description: EditorConfig;
|
|
82
67
|
mitigationDescriptionPlan: EditorConfig;
|
|
83
68
|
ngOnInit(): void;
|
|
84
|
-
getGroupList(): void;
|
|
85
69
|
setRiskTypeBasedOnSubscription(): void;
|
|
86
70
|
changeRisk(type: string): void;
|
|
87
71
|
getCurrentlyLoggedInUser(): number[];
|
|
@@ -120,69 +104,4 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
120
104
|
redirectToReported(): void;
|
|
121
105
|
checkDescription(): void;
|
|
122
106
|
checkMitigationPlan(): void;
|
|
123
|
-
frequencyData(event: any): void;
|
|
124
|
-
getFrequencyPlaceholder(res: any): void;
|
|
125
|
-
/**
|
|
126
|
-
* It takes a frequencyDetails array and a frequencyTime string and returns a frequencyPlaceholder
|
|
127
|
-
* string.
|
|
128
|
-
* @param {any} frequencyDetails - ["1", "1,2,3,4,5", "1", "1", "1", "1", "1", "1", "1", "1", "1",
|
|
129
|
-
* "1", "1", "1", "1", "1", "1", "
|
|
130
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
131
|
-
*/
|
|
132
|
-
getWeeklyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
133
|
-
/**
|
|
134
|
-
* It takes a string of comma separated numbers and returns a string of comma separated month names.
|
|
135
|
-
* @param {any} frequencyDetails - ["1", "1", "1,2,3,4,5,6,7,8,9,10,11,12"]
|
|
136
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
137
|
-
*/
|
|
138
|
-
getMonthlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
139
|
-
/**
|
|
140
|
-
* If the frequencyDetails[1] is less than 2, then the frequencyPlaceholder is set to the 1st, 2nd,
|
|
141
|
-
* 3rd, or nth of every month by frequencyTime.
|
|
142
|
-
*
|
|
143
|
-
* If the frequencyDetails[1] is greater than 1, then the frequencyPlaceholder is set to the 1st,
|
|
144
|
-
* 2nd, 3rd, or nth of every month, Interval: every yearSequence years by frequencyTime.
|
|
145
|
-
*
|
|
146
|
-
* I'm trying to write a test that will test the above function.
|
|
147
|
-
*
|
|
148
|
-
* Here's what I have so far:
|
|
149
|
-
* @param {any} frequencyDetails - [0] = "Yearly"
|
|
150
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
151
|
-
*/
|
|
152
|
-
getYearlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
153
|
-
/**
|
|
154
|
-
* If the frequencyDetails[1] is 1, 2, 3, 21, 22, 23, or greater than 3, then set the
|
|
155
|
-
* frequencyPlaceholder to a string that includes the frequencyDetails[1] and the frequencyTime.
|
|
156
|
-
* @param {any} frequencyDetails - ["3", "1", "1,2,3"]
|
|
157
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
158
|
-
*/
|
|
159
|
-
getQuarterlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
160
|
-
/**
|
|
161
|
-
* It takes a string of comma separated numbers and returns a string of comma separated month names.
|
|
162
|
-
* @param {any} frequencyDetails - ["1", "1", "1,2,3,4,5,6,7,8,9,10,11,12"]
|
|
163
|
-
* @param {any} frequencyTime - "10:00 AM"
|
|
164
|
-
*/
|
|
165
|
-
getBiannualPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
166
|
-
/**
|
|
167
|
-
* It takes an event object, and if it exists, it creates a new object with the same properties as
|
|
168
|
-
* the event object, and assigns it to the frequencyDetails property.
|
|
169
|
-
*
|
|
170
|
-
* If the event object is undefined, then the frequencyDetails property will be undefined.
|
|
171
|
-
*
|
|
172
|
-
* If the event object is null, then the frequencyDetails property will be null.
|
|
173
|
-
*
|
|
174
|
-
* If the event object is an empty object, then the frequencyDetails property will be an empty
|
|
175
|
-
* object.
|
|
176
|
-
*
|
|
177
|
-
* If the event object is an object with properties, then the frequencyDetails property will be an
|
|
178
|
-
* object with the same properties.
|
|
179
|
-
*
|
|
180
|
-
* If the event object is an object with properties, but some of those properties are undefined, then
|
|
181
|
-
* the frequencyDetails property will be an object with the same properties, but some of those
|
|
182
|
-
* properties will be undefined.
|
|
183
|
-
*
|
|
184
|
-
* If the event object is an object with properties, but some of those properties are null, then the
|
|
185
|
-
* @param {any} event - any = {
|
|
186
|
-
*/
|
|
187
|
-
frequencyDataPopulate(event: any): void;
|
|
188
107
|
}
|
|
@@ -19,5 +19,4 @@ export declare class AddRiskService {
|
|
|
19
19
|
addBulkRisk(payload: any[]): import("rxjs").Observable<any>;
|
|
20
20
|
getRiskDetail(riskId: string): import("rxjs").Observable<any>;
|
|
21
21
|
updateRisk(riskId: string, payload: any): import("rxjs").Observable<any>;
|
|
22
|
-
getGroupsList(): import("rxjs").Observable<any[]>;
|
|
23
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare class FrequencyBulkService {
|
|
2
2
|
env: any;
|
|
3
3
|
constructor();
|
|
4
|
-
shortHand_freqCal(frequency: any, day
|
|
4
|
+
shortHand_freqCal(frequency: any, day: any, month: any, year?: any, dueDate?: any, ongoingValues?: any): string;
|
|
5
5
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.116",
|
|
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
|
+
}
|