vcomply-workflow-engine 0.0.4 → 0.0.7
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 +8288 -6762
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +18 -15
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.ngfactory.js +2 -2
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.js +6 -6
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.ngfactory.js +3 -3
- package/esm2015/lib/confirmation-alert/confirmation-alert.component.js +1 -1
- package/esm2015/lib/create-documents/create-documents.component.js +1 -1
- package/esm2015/lib/formgroup/cs-select/cs-select.component.js +3 -3
- package/esm2015/lib/formgroup/cs-select/cs-select.component.ngfactory.js +3 -3
- package/esm2015/lib/formgroup/cs-switch/cs-switch.component.js +1 -1
- package/esm2015/lib/formgroup/select/cs-select/cs-select.component.js +3 -3
- package/esm2015/lib/formgroup/select/cs-select/cs-select.component.ngfactory.js +3 -3
- package/esm2015/lib/log-an-issue/log-an-issue.component.js +10 -13
- package/esm2015/lib/log-an-issue/log-an-issue.component.ngfactory.js +7 -7
- package/esm2015/lib/more-option/more-option.component.js +40 -5
- package/esm2015/lib/more-option/more-option.component.ngfactory.js +29 -13
- package/esm2015/lib/more-option/more-option.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.ngfactory.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.ngfactory.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list.component.js +187 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list.component.ngfactory.js +208 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-list/service/assessment.interface.js +2 -0
- package/esm2015/lib/sharedComponents/assessment-list/service/assessment.interface.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-list/service/assessment.service.js +34 -0
- package/esm2015/lib/sharedComponents/assessment-list/service/assessment.service.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/assessment-preview.module.js +61 -0
- package/esm2015/lib/sharedComponents/assessment-preview/assessment-preview.module.ngfactory.js +21 -0
- package/esm2015/lib/sharedComponents/assessment-preview/assessment-preview.module.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.js +29 -0
- package/esm2015/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.ngfactory.js +57 -0
- package/esm2015/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/date-time/date-time.component.js +32 -0
- package/esm2015/lib/sharedComponents/assessment-preview/date-time/date-time.component.ngfactory.js +88 -0
- package/esm2015/lib/sharedComponents/assessment-preview/date-time/date-time.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/device/device.component.js +22 -0
- package/esm2015/lib/sharedComponents/assessment-preview/device/device.component.ngfactory.js +26 -0
- package/esm2015/lib/sharedComponents/assessment-preview/device/device.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.ngfactory.js +39 -0
- package/esm2015/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/page-header/page-header.component.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-preview/page-header/page-header.component.ngfactory.js +22 -0
- package/esm2015/lib/sharedComponents/assessment-preview/page-header/page-header.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview/preview.component.js +47 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview/preview.component.ngfactory.js +69 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview/preview.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.ngfactory.js +109 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.js +18 -0
- package/esm2015/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.ngfactory.js +96 -0
- package/esm2015/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.js +29 -0
- package/esm2015/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.ngfactory.js +56 -0
- package/esm2015/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/select-question/select-question.component.js +32 -0
- package/esm2015/lib/sharedComponents/assessment-preview/select-question/select-question.component.ngfactory.js +23 -0
- package/esm2015/lib/sharedComponents/assessment-preview/select-question/select-question.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.ngfactory.js +21 -0
- package/esm2015/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/welcome/welcome.component.js +18 -0
- package/esm2015/lib/sharedComponents/assessment-preview/welcome/welcome.component.ngfactory.js +21 -0
- package/esm2015/lib/sharedComponents/assessment-preview/welcome/welcome.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.js +3 -3
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.ngfactory.js +19 -51
- package/esm2015/lib/sharedComponents/bulk-view/bulk-view.component.js +2 -3
- package/esm2015/lib/sharedComponents/category-list/category-list.component.js +1 -1
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints/checkpoints.component.js +2 -2
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints/checkpoints.component.ngfactory.js +1 -1
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints-list/checkpoints-list.component.js +2 -2
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.js +9 -9
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.ngfactory.js +47 -248
- package/esm2015/lib/sharedComponents/checkpoint-policy/checkpoints-policy-container/checkpoints-policy-container.component.js +1 -1
- package/esm2015/lib/sharedComponents/checkpoint-policy/checkpoints-policy-list/checkpoints-policy-list.component.js +1 -1
- package/esm2015/lib/sharedComponents/checkpoint-policy/checkpoints-policy-questions/checkpoints-policy-questions.component.js +1 -1
- package/esm2015/lib/sharedComponents/format-and-evidence/format-and-evidence.component.js +2 -2
- package/esm2015/lib/sharedComponents/format-and-evidence/format-and-evidence.component.ngfactory.js +2 -2
- package/esm2015/lib/sharedComponents/framework-list/parent-table/parent-table.component.js +3 -3
- package/esm2015/lib/sharedComponents/framework-list/parent-table/parent-table.component.ngfactory.js +12 -12
- package/esm2015/lib/sharedComponents/no-data/no-data.component.js +3 -3
- package/esm2015/lib/sharedComponents/no-data/no-data.component.ngfactory.js +5 -5
- package/esm2015/lib/sharedComponents/no-data/no-data.module.ngfactory.js +1 -1
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.js +14 -0
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.ngfactory.js +19 -0
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/radio-list.component.js +111 -0
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/radio-list.component.ngfactory.js +87 -0
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/radio-list.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/review-frequency/review-frequency.component.js +1 -1
- package/esm2015/lib/sharedComponents/risk-classification/risk-classification.component.js +1 -1
- package/esm2015/lib/ui-kit/pagination/pagination/pagination.component.js +111 -0
- package/esm2015/lib/ui-kit/pagination/pagination/pagination.component.ngfactory.js +57 -0
- package/esm2015/lib/ui-kit/pagination/pagination/pagination.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/pagination/pagination.module.js +21 -0
- package/esm2015/lib/ui-kit/pagination/pagination.module.ngfactory.js +13 -0
- package/esm2015/lib/ui-kit/pagination/pagination.module.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/popover/popover.component.js +5 -4
- package/esm2015/lib/ui-kit/popover/popover.directive.js +55 -1
- package/esm2015/lib/ui-kit/popover/popover.directive.ngsummary.json +1 -1
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.js +226 -0
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.ngfactory.js +244 -0
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.ngsummary.json +1 -0
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +111 -16
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +135 -94
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +47 -6
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +78 -40
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine.module.js +21 -3
- package/esm2015/lib/workflow-engine.module.ngfactory.js +4 -2
- package/esm2015/lib/workflow-engine.module.ngsummary.json +1 -1
- package/esm2015/lib/workflow-pagination/workflow-pagination.component.js +95 -6
- package/esm2015/lib/workflow-pagination/workflow-pagination.component.ngfactory.js +23 -7
- package/esm2015/lib/workflow-pagination/workflow-pagination.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-policy/workflow-policy.component.js +5 -5
- package/esm2015/lib/workflow-policy/workflow-policy.component.ngfactory.js +13 -13
- package/esm2015/lib/workflow-risk/workflow-risk.component.js +20 -3
- package/esm2015/lib/workflow-risk/workflow-risk.component.ngfactory.js +7 -7
- package/esm2015/lib/workflow-services/assessment.service.js +68 -0
- package/esm2015/lib/workflow-services/assessment.service.ngsummary.json +1 -0
- package/esm2015/lib/workflow-services/auth.service.js +3 -1
- package/esm2015/lib/workflow-services/responsibility.service.js +15 -2
- package/esm2015/lib/workflow-services/responsibility.service.ngsummary.json +1 -1
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.js +2 -2
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +2 -2
- package/esm2015/vcomply-workflow-engine.js +67 -44
- package/esm2015/vcomply-workflow-engine.ngsummary.json +1 -1
- package/fesm2015/vcomply-workflow-engine.js +2689 -1244
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/more-option/more-option.component.d.ts +2 -0
- package/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-list/assessment-list.component.d.ts +80 -0
- package/lib/sharedComponents/assessment-list/assessment-list.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-list/service/assessment.interface.d.ts +22 -0
- package/lib/sharedComponents/assessment-list/service/assessment.service.d.ts +10 -0
- package/lib/sharedComponents/assessment-preview/assessment-preview.module.d.ts +2 -0
- package/lib/sharedComponents/assessment-preview/assessment-preview.module.ngfactory.d.ts +3 -0
- package/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.d.ts +9 -0
- package/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/date-time/date-time.component.d.ts +12 -0
- package/lib/sharedComponents/assessment-preview/date-time/date-time.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/device/device.component.d.ts +7 -0
- package/lib/sharedComponents/assessment-preview/device/device.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.d.ts +7 -0
- package/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/page-header/page-header.component.d.ts +7 -0
- package/lib/sharedComponents/assessment-preview/page-header/page-header.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/preview/preview.component.d.ts +11 -0
- package/lib/sharedComponents/assessment-preview/preview/preview.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.d.ts +6 -0
- package/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.d.ts +9 -0
- package/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/select-question/select-question.component.d.ts +9 -0
- package/lib/sharedComponents/assessment-preview/select-question/select-question.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.d.ts +7 -0
- package/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/welcome/welcome.component.d.ts +6 -0
- package/lib/sharedComponents/assessment-preview/welcome/welcome.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.d.ts +5 -0
- package/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.d.ts +47 -0
- package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/pagination/pagination/pagination.component.d.ts +23 -0
- package/lib/ui-kit/pagination/pagination/pagination.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/pagination/pagination.module.d.ts +2 -0
- package/lib/ui-kit/pagination/pagination.module.ngfactory.d.ts +3 -0
- package/lib/ui-kit/popover/popover.directive.d.ts +1 -0
- package/lib/workflow-assessment/workflow-assessment.component.d.ts +63 -0
- package/lib/workflow-assessment/workflow-assessment.component.ngfactory.d.ts +1 -0
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +13 -1
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +9 -1
- package/lib/workflow-pagination/workflow-pagination.component.d.ts +18 -1
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
- package/lib/workflow-services/assessment.service.d.ts +20 -0
- package/lib/workflow-services/auth.service.d.ts +2 -0
- package/lib/workflow-services/responsibility.service.d.ts +5 -0
- package/package.json +1 -1
- package/vcomply-workflow-engine.d.ts +66 -43
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -2,7 +2,9 @@ import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
|
2
2
|
export declare class MoreOptionComponent implements OnInit, OnChanges {
|
|
3
3
|
currentWorkflow: string;
|
|
4
4
|
openedFrom: string;
|
|
5
|
+
isEditMode: boolean;
|
|
5
6
|
selectedOption: EventEmitter<any>;
|
|
7
|
+
isRCSelected: boolean;
|
|
6
8
|
placeholderTexts: any;
|
|
7
9
|
moreOptionsList: any;
|
|
8
10
|
constructor();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { AuthService } from '../../workflow-services/auth.service';
|
|
3
|
+
import { ResponsibilityService } from "../../workflow-services/responsibility.service";
|
|
4
|
+
import { AssessmentCategoryList } from "./service/assessment.interface";
|
|
5
|
+
import { AssessmentService } from './service/assessment.service';
|
|
6
|
+
export declare class AssessmentListComponent implements OnInit, OnChanges {
|
|
7
|
+
private responsibilityService;
|
|
8
|
+
private assessmentService;
|
|
9
|
+
private auth;
|
|
10
|
+
animation: boolean;
|
|
11
|
+
selectedData: any;
|
|
12
|
+
subList: boolean;
|
|
13
|
+
isEdit: boolean;
|
|
14
|
+
openedCategory: Array<number>;
|
|
15
|
+
assessmentPayload: {
|
|
16
|
+
search_title: string;
|
|
17
|
+
page_no: string;
|
|
18
|
+
state: string;
|
|
19
|
+
search_text: string;
|
|
20
|
+
alphabet_filter: string;
|
|
21
|
+
};
|
|
22
|
+
dataPerPage: number;
|
|
23
|
+
assessmentCategory: AssessmentCategoryList;
|
|
24
|
+
isLoader: boolean;
|
|
25
|
+
selectedAssessment: {
|
|
26
|
+
assessment_id: string;
|
|
27
|
+
category_id: string;
|
|
28
|
+
assessmentDetails: undefined;
|
|
29
|
+
category_details: undefined;
|
|
30
|
+
};
|
|
31
|
+
isDeleted: boolean;
|
|
32
|
+
searchAssessments: string;
|
|
33
|
+
previewQuestionData: any;
|
|
34
|
+
isPreview: boolean;
|
|
35
|
+
selectedAssessmentData: any;
|
|
36
|
+
onAssessmentSelect: EventEmitter<any>;
|
|
37
|
+
cancelAssessment: EventEmitter<any>;
|
|
38
|
+
constructor(responsibilityService: ResponsibilityService, assessmentService: AssessmentService, auth: AuthService);
|
|
39
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
40
|
+
ngOnInit(): void;
|
|
41
|
+
onAssessmentSelected(event: any): void;
|
|
42
|
+
preview(evt: any): void;
|
|
43
|
+
previewBack(): void;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @param index : Accept index of elementPosition
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
showSubList(index: number, id: string): number[];
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @param event : page number that has been selected
|
|
53
|
+
*/
|
|
54
|
+
onPageSelection(event: number): void;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @param search : search text
|
|
58
|
+
*/
|
|
59
|
+
onAssessmentSearch(search: string): void;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @param event : Assessment category filter of Alphabet
|
|
63
|
+
*/
|
|
64
|
+
onAlphabetSelected(event: string): void;
|
|
65
|
+
getAssessmentCategoryList(): void;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @param id : Assessment category id
|
|
69
|
+
*/
|
|
70
|
+
getAssessmentList(index: number, id: string): void;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @param category_id :selected assessment's category's object id
|
|
74
|
+
* @param assessment_id : Selected assessment's object id
|
|
75
|
+
*/
|
|
76
|
+
setAssessment(category_details: any, assessmentDetails: any): void;
|
|
77
|
+
save(): void;
|
|
78
|
+
close(): void;
|
|
79
|
+
deleteEvent(event: any): void;
|
|
80
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface AssessmentCategoryList {
|
|
2
|
+
data: Array<AssessmentCategory>;
|
|
3
|
+
totalPage: number;
|
|
4
|
+
totalRecords: number;
|
|
5
|
+
start_value: number;
|
|
6
|
+
end_value: number;
|
|
7
|
+
currentPage: number;
|
|
8
|
+
}
|
|
9
|
+
interface AssessmentCategory {
|
|
10
|
+
id: string;
|
|
11
|
+
category_name: string;
|
|
12
|
+
parent_tree: string;
|
|
13
|
+
assessmentcount: number;
|
|
14
|
+
assessmentData: Array<AssessmentList>;
|
|
15
|
+
}
|
|
16
|
+
export interface AssessmentList {
|
|
17
|
+
id: string;
|
|
18
|
+
assessment_name: string;
|
|
19
|
+
control_id: string;
|
|
20
|
+
questions: number;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Configurations } from '../../../configurations';
|
|
3
|
+
import { AuthService } from '../../../workflow-services/auth.service';
|
|
4
|
+
export declare class AssessmentService {
|
|
5
|
+
private http;
|
|
6
|
+
private authService;
|
|
7
|
+
env: any;
|
|
8
|
+
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
9
|
+
getAssessmentQuestions(id: string): import("rxjs").Observable<Object>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DatePickerComponent } from 'ng2-date-picker';
|
|
3
|
+
export declare class DateTimeComponent implements OnInit {
|
|
4
|
+
question: any;
|
|
5
|
+
questionIndex: any;
|
|
6
|
+
datePicker: DatePickerComponent;
|
|
7
|
+
datepickerOverlay: boolean;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
openDatePicker(): void;
|
|
11
|
+
closeDatepicker(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.ngfactory.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/sharedComponents/assessment-preview/page-header/page-header.component.ngfactory.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
|
+
export declare class PreviewComponent implements OnInit, OnChanges {
|
|
3
|
+
questionData: any;
|
|
4
|
+
previewBack: EventEmitter<any>;
|
|
5
|
+
pageData: any;
|
|
6
|
+
selectedDevice: string;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
generatePageDetails(): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
export interface ListEvent {
|
|
3
|
+
searchKey?: string;
|
|
4
|
+
page?: number;
|
|
5
|
+
}
|
|
6
|
+
export interface panelConfig {
|
|
7
|
+
panelTitle: '';
|
|
8
|
+
entitySingular: '';
|
|
9
|
+
entityPlural: '';
|
|
10
|
+
displayKey: '';
|
|
11
|
+
identifierKey: '';
|
|
12
|
+
parentKey: '';
|
|
13
|
+
parentDisplayKey: '';
|
|
14
|
+
searchPlaceholder: '';
|
|
15
|
+
noDataText: '';
|
|
16
|
+
}
|
|
17
|
+
export declare class RadioListWithPaginationComponent implements OnInit {
|
|
18
|
+
fetchData: EventEmitter<ListEvent>;
|
|
19
|
+
back: EventEmitter<any>;
|
|
20
|
+
next: EventEmitter<any>;
|
|
21
|
+
cancel: EventEmitter<any>;
|
|
22
|
+
list: never[];
|
|
23
|
+
searchKey: string;
|
|
24
|
+
selectedList: any;
|
|
25
|
+
set setList(value: any);
|
|
26
|
+
config: panelConfig;
|
|
27
|
+
currentPage: any;
|
|
28
|
+
recordStart: any;
|
|
29
|
+
recordEnd: any;
|
|
30
|
+
totalRecords: any;
|
|
31
|
+
totalPages: any;
|
|
32
|
+
loading: any;
|
|
33
|
+
set setSelected(value: any);
|
|
34
|
+
animation: boolean;
|
|
35
|
+
selectedIds: any;
|
|
36
|
+
constructor();
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
pageChanged(page: number): void;
|
|
39
|
+
search(): void;
|
|
40
|
+
itemSelected(event: any, item: any): void;
|
|
41
|
+
setSelectedIds(): void;
|
|
42
|
+
deleteItem(evt: any): void;
|
|
43
|
+
close(): void;
|
|
44
|
+
save(): void;
|
|
45
|
+
selectAll(evt: any): void;
|
|
46
|
+
checkSelectAll(): boolean;
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
export declare class PaginationComponent implements OnInit {
|
|
3
|
+
alphabetsArray: any;
|
|
4
|
+
activeAlphabet: string;
|
|
5
|
+
pageCount: number;
|
|
6
|
+
start: number;
|
|
7
|
+
end: number;
|
|
8
|
+
total: number;
|
|
9
|
+
pageArray: Array<number>;
|
|
10
|
+
currentPage: number;
|
|
11
|
+
enterPageNumber: any;
|
|
12
|
+
isInvalidInput: boolean;
|
|
13
|
+
selectedPage: EventEmitter<any>;
|
|
14
|
+
selectedAlphabet: EventEmitter<any>;
|
|
15
|
+
pageList: any;
|
|
16
|
+
constructor();
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
alphabetChange(alphabet: string): void;
|
|
19
|
+
ngOnChanges(event: SimpleChanges): void;
|
|
20
|
+
increaseOrDecrease(value: number): void;
|
|
21
|
+
onEnterPress(event: any): void;
|
|
22
|
+
goToPageArrayGenerate(page: any, shouldEmit: boolean): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { EditorConfig } from 'vcomply-editor';
|
|
3
|
+
import { Configurations } from '../configurations';
|
|
4
|
+
import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
|
|
5
|
+
import { AssessmentService } from '../workflow-services/assessment.service';
|
|
6
|
+
import { AuthService } from '../workflow-services/auth.service';
|
|
7
|
+
import { UiKitService } from '../workflow-services/ui-kit.service';
|
|
8
|
+
export declare class WorkflowAssessmentComponent implements OnInit {
|
|
9
|
+
assessmentService: AssessmentService;
|
|
10
|
+
private authService;
|
|
11
|
+
private uiKitService;
|
|
12
|
+
private snackBar;
|
|
13
|
+
activeSelector: any;
|
|
14
|
+
submitted: boolean;
|
|
15
|
+
loader: boolean;
|
|
16
|
+
showSmiley: boolean;
|
|
17
|
+
mode: string;
|
|
18
|
+
assessmentId: string;
|
|
19
|
+
openedFrom: string;
|
|
20
|
+
disconnectRefresh: EventEmitter<any>;
|
|
21
|
+
sideSelectorElements: any;
|
|
22
|
+
actionButtons: {
|
|
23
|
+
buttonText: string;
|
|
24
|
+
class: string;
|
|
25
|
+
id: string;
|
|
26
|
+
}[];
|
|
27
|
+
assessmentTypeChangeAllowed: boolean;
|
|
28
|
+
timezone: string;
|
|
29
|
+
pickerChanged: EventEmitter<any>;
|
|
30
|
+
closeWorkflow: EventEmitter<any>;
|
|
31
|
+
assessmentForm: any;
|
|
32
|
+
assessmentData: any;
|
|
33
|
+
organizationId: number;
|
|
34
|
+
constructor(assessmentService: AssessmentService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService, config?: Configurations);
|
|
35
|
+
selectorConfig: {
|
|
36
|
+
ASSESSMENT_CATGORY: {
|
|
37
|
+
panelTitle: string;
|
|
38
|
+
entitySingular: string;
|
|
39
|
+
entityPlural: string;
|
|
40
|
+
displayKey: string;
|
|
41
|
+
identifierKey: string;
|
|
42
|
+
parentKey: string;
|
|
43
|
+
parentDisplayKey: string;
|
|
44
|
+
searchPlaceholder: string;
|
|
45
|
+
noDataText: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
getAssessmentDetails(): void;
|
|
50
|
+
setCategory(evt: any): void;
|
|
51
|
+
activateSelector(type: any, event: boolean): void;
|
|
52
|
+
activeDeselector(): void;
|
|
53
|
+
next(type: string, payload: any): void;
|
|
54
|
+
remove(type: any, event: any): void;
|
|
55
|
+
description: EditorConfig;
|
|
56
|
+
changeAssessment(type: string): void;
|
|
57
|
+
closeSmiley(evt: any): void;
|
|
58
|
+
action(evt: any): void;
|
|
59
|
+
checkDescription(): void;
|
|
60
|
+
submitAssessment(): false | undefined;
|
|
61
|
+
validateAssessment(): boolean;
|
|
62
|
+
createAssessment(assessmentForm: any): void;
|
|
63
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -21,6 +21,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
21
21
|
closeWorkflow: EventEmitter<any>;
|
|
22
22
|
resetForm: EventEmitter<any>;
|
|
23
23
|
disconnectRefresh: EventEmitter<any>;
|
|
24
|
+
rcSelected: EventEmitter<any>;
|
|
24
25
|
openedFrom: any;
|
|
25
26
|
selectedRC: number;
|
|
26
27
|
scrollToBottom: boolean;
|
|
@@ -110,6 +111,9 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
110
111
|
selectedSample: number;
|
|
111
112
|
isSample: boolean;
|
|
112
113
|
tempCheckValue: number;
|
|
114
|
+
isAssessment: boolean;
|
|
115
|
+
onRemovingCheckpoint: EventEmitter<any>;
|
|
116
|
+
isAssessmentDisabled: EventEmitter<any>;
|
|
113
117
|
whatInput: ElementRef;
|
|
114
118
|
constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService);
|
|
115
119
|
ngOnInit(): void;
|
|
@@ -157,11 +161,19 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
157
161
|
getYearlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
158
162
|
getRandomPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
159
163
|
onEditWhat(event: any): void;
|
|
160
|
-
getEditMoreOptions(): void;
|
|
164
|
+
getEditMoreOptions(res?: any): void;
|
|
161
165
|
testFunction(): void;
|
|
162
166
|
reviewerTypeChange(event: any): void;
|
|
163
167
|
selectedSampleData(event: number): void;
|
|
164
168
|
populateAssuranceList(testPlanCategory: any): void;
|
|
165
169
|
checkInputValue(event: any): boolean;
|
|
166
170
|
switchEnable(event: boolean): void;
|
|
171
|
+
onAssessmentSelect(event: any): void;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @param assessmentDetails : selected assessment details like it's object id and category_id
|
|
175
|
+
*/
|
|
176
|
+
getAssessmentDetails(assessmentDetails: any): void;
|
|
177
|
+
onRemoveCheckpoints(): void;
|
|
178
|
+
removeCheckpoint(): void;
|
|
167
179
|
}
|
|
@@ -3,18 +3,22 @@ import { AddMultipleRiskComponent } from '../add-multiple-risk/add-multiple-risk
|
|
|
3
3
|
import { ConfirmationAlert } from '../interfaces/confirmation-alert';
|
|
4
4
|
import { IssueConfiguration } from '../interfaces/issue-data';
|
|
5
5
|
import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
|
|
6
|
+
import { WorkflowAssessmentComponent } from '../workflow-assessment/workflow-assessment.component';
|
|
6
7
|
import { WorkflowComplianceComponent } from '../workflow-compliance/workflow-compliance.component';
|
|
7
8
|
import { WorkflowPolicyComponent } from '../workflow-policy/workflow-policy.component';
|
|
8
9
|
import { WorkflowRiskComponent } from '../workflow-risk/workflow-risk.component';
|
|
10
|
+
import { AuthService } from '../workflow-services/auth.service';
|
|
9
11
|
import { UiKitService } from '../workflow-services/ui-kit.service';
|
|
10
12
|
import { LogAnIssueComponent } from './../log-an-issue/log-an-issue.component';
|
|
11
13
|
import { MoreOptionComponent } from './../more-option/more-option.component';
|
|
12
14
|
export declare class WorkflowEngineContainerComponent implements OnInit, AfterViewInit {
|
|
13
15
|
uiKitService: UiKitService;
|
|
14
16
|
private snackBar;
|
|
17
|
+
auth: AuthService;
|
|
15
18
|
isHostRefreshActive: boolean;
|
|
19
|
+
isRCSelected: boolean;
|
|
16
20
|
unloadNotification($event: any): void;
|
|
17
|
-
constructor(uiKitService: UiKitService, snackBar: SnackBarService);
|
|
21
|
+
constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService);
|
|
18
22
|
workflowType: string;
|
|
19
23
|
mode: string;
|
|
20
24
|
id: string;
|
|
@@ -53,6 +57,7 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
53
57
|
dropdownRow: ElementRef;
|
|
54
58
|
policy: WorkflowPolicyComponent;
|
|
55
59
|
logIssueComponent: LogAnIssueComponent;
|
|
60
|
+
workflowAssessmentComponent: WorkflowAssessmentComponent;
|
|
56
61
|
dropdownLeft: any;
|
|
57
62
|
dropdownTop: any;
|
|
58
63
|
dropdownWidth: any;
|
|
@@ -83,4 +88,7 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
83
88
|
onResetForm(): void;
|
|
84
89
|
shiftToEditMode(): void;
|
|
85
90
|
scrollForm(): void;
|
|
91
|
+
onRcSelected(isRcSelected: boolean): void;
|
|
92
|
+
onRemovingCheckpoint(): void;
|
|
93
|
+
isAssessmentDisabled(isDisabled: boolean): void;
|
|
86
94
|
}
|
|
@@ -1,7 +1,24 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
export declare class WorkflowPaginationComponent implements OnInit {
|
|
3
3
|
alphabetsArray: any;
|
|
4
|
+
activeAlphabet: string;
|
|
5
|
+
pageCount: number;
|
|
6
|
+
start: number;
|
|
7
|
+
end: number;
|
|
8
|
+
total: number;
|
|
4
9
|
noFilter: boolean;
|
|
10
|
+
pageArray: Array<number>;
|
|
11
|
+
currentPage: number;
|
|
12
|
+
enterPageNumber: any;
|
|
13
|
+
isInvalidInput: boolean;
|
|
14
|
+
selectedPage: EventEmitter<any>;
|
|
15
|
+
selectedAlphabet: EventEmitter<any>;
|
|
16
|
+
pageList: any;
|
|
5
17
|
constructor();
|
|
6
18
|
ngOnInit(): void;
|
|
19
|
+
alphabetChange(alphabet: string): void;
|
|
20
|
+
ngOnChanges(event: SimpleChanges): void;
|
|
21
|
+
increaseOrDecrease(value: number): void;
|
|
22
|
+
onEnterPress(event: any): void;
|
|
23
|
+
goToPageArrayGenerate(page: any, shouldEmit: boolean): void;
|
|
7
24
|
}
|
|
@@ -69,7 +69,7 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
69
69
|
setPopupButtons(): void;
|
|
70
70
|
getRiskDetails(riskId: any): void;
|
|
71
71
|
populateOptionalFields(): void;
|
|
72
|
-
setCategoryType(type: any): "strategic" | "
|
|
72
|
+
setCategoryType(type: any): "strategic" | "compliance" | "operational" | "others";
|
|
73
73
|
getRCList(): void;
|
|
74
74
|
getCategoryList(): void;
|
|
75
75
|
getOwnersList(): void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { AuthService } from './auth.service';
|
|
3
|
+
import { Configurations } from '../configurations';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
export declare class AssessmentService {
|
|
6
|
+
private http;
|
|
7
|
+
private authService;
|
|
8
|
+
env: any;
|
|
9
|
+
baseValue: any;
|
|
10
|
+
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
11
|
+
updateAssessment(id: string, payload: any): Observable<any>;
|
|
12
|
+
addAssessment(payload: any): Observable<any>;
|
|
13
|
+
private categories;
|
|
14
|
+
categoriesListData$: Observable<any>;
|
|
15
|
+
private categoriesLoader;
|
|
16
|
+
categoriesLoading$: Observable<boolean>;
|
|
17
|
+
fetchCategory(payload: any): void;
|
|
18
|
+
resetCategory(): void;
|
|
19
|
+
getAssessmentDetails(id: string): Observable<Object>;
|
|
20
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
3
|
import { Configurations } from '../configurations';
|
|
3
4
|
import { TokenDecoderService } from './token-decoder.service';
|
|
4
5
|
export declare class AuthService {
|
|
5
6
|
private http;
|
|
6
7
|
private decoder;
|
|
7
8
|
env: any;
|
|
9
|
+
previewPanel: BehaviorSubject<boolean>;
|
|
8
10
|
constructor(http: HttpClient, decoder: TokenDecoderService, config?: Configurations);
|
|
9
11
|
userId(): any;
|
|
10
12
|
getUserDetails(): any;
|