vcomply-workflow-engine 2.3.15 → 2.3.16
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 +14 -14
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +15 -15
- package/fesm2015/vcomply-workflow-engine.js +14 -14
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/package.json +1 -1
|
@@ -2890,7 +2890,7 @@ class WorkflowComplianceComponent {
|
|
|
2890
2890
|
}
|
|
2891
2891
|
}
|
|
2892
2892
|
checkWhetherAllListsLoaded() {
|
|
2893
|
-
var _a, _b, _c, _d
|
|
2893
|
+
var _a, _b, _c, _d;
|
|
2894
2894
|
if (this.rcListLoaded && this.assigneesListLoaded && this.assignorsListLoaded &&
|
|
2895
2895
|
this.categoriesListLoaded && this.assuranceCategoryListLoaded && this.groupsListLoaded) {
|
|
2896
2896
|
if (this.frameworkDetails.length > 0) {
|
|
@@ -2911,16 +2911,16 @@ class WorkflowComplianceComponent {
|
|
|
2911
2911
|
this.responsibilityForm.customTags.push(tagData);
|
|
2912
2912
|
}
|
|
2913
2913
|
});
|
|
2914
|
-
this.responsibilityForm.formatAndEvidence.evidenceRequired = (
|
|
2914
|
+
this.responsibilityForm.formatAndEvidence.evidenceRequired = ((_b = this.selectedProgram) === null || _b === void 0 ? void 0 : _b.evidence_upload_flag) ? true : false;
|
|
2915
2915
|
const checkedMoreOptions = [];
|
|
2916
2916
|
this.moreOptions.PROGRAM = true;
|
|
2917
2917
|
checkedMoreOptions.push('PROGRAM');
|
|
2918
|
-
if ((
|
|
2918
|
+
if ((_c = this.selectedProgram) === null || _c === void 0 ? void 0 : _c.evidence_upload_flag) {
|
|
2919
2919
|
checkedMoreOptions.push('FORMATE_EVIDENCE');
|
|
2920
2920
|
this.moreOptions.FORMATE_EVIDENCE = true;
|
|
2921
2921
|
}
|
|
2922
2922
|
this.populateOption.emit(checkedMoreOptions);
|
|
2923
|
-
this.filterListsAccordingToProgram((
|
|
2923
|
+
this.filterListsAccordingToProgram((_d = this.selectedProgram) === null || _d === void 0 ? void 0 : _d._id);
|
|
2924
2924
|
}
|
|
2925
2925
|
}
|
|
2926
2926
|
}
|
|
@@ -2931,7 +2931,7 @@ class WorkflowComplianceComponent {
|
|
|
2931
2931
|
}
|
|
2932
2932
|
}
|
|
2933
2933
|
saveSelectedList(type, selectedItems) {
|
|
2934
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q
|
|
2934
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
2935
2935
|
switch (type) {
|
|
2936
2936
|
case 'assignors':
|
|
2937
2937
|
if (this.invalidType === 'whom') {
|
|
@@ -3001,14 +3001,14 @@ class WorkflowComplianceComponent {
|
|
|
3001
3001
|
this.responsibilityForm.customTags.push(tagData);
|
|
3002
3002
|
}
|
|
3003
3003
|
});
|
|
3004
|
-
this.responsibilityForm.formatAndEvidence.evidenceRequired = (
|
|
3005
|
-
if ((
|
|
3004
|
+
this.responsibilityForm.formatAndEvidence.evidenceRequired = ((_g = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _g === void 0 ? void 0 : _g.evidence_upload_flag) ? true : false;
|
|
3005
|
+
if ((_h = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _h === void 0 ? void 0 : _h.evidence_upload_flag) {
|
|
3006
3006
|
this.moreOptions.FORMATE_EVIDENCE = true;
|
|
3007
3007
|
}
|
|
3008
|
-
if (((
|
|
3009
|
-
this.responsibilityForm.program_selected_ids.push((
|
|
3008
|
+
if (((_j = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.categories) === null || _j === void 0 ? void 0 : _j.length) == 0) {
|
|
3009
|
+
this.responsibilityForm.program_selected_ids.push((_k = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _k === void 0 ? void 0 : _k.category_id);
|
|
3010
3010
|
}
|
|
3011
|
-
if ((
|
|
3011
|
+
if ((_l = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _l === void 0 ? void 0 : _l._id) {
|
|
3012
3012
|
this.filterListsAccordingToProgram(selectedItems.program._id);
|
|
3013
3013
|
}
|
|
3014
3014
|
else {
|
|
@@ -3055,10 +3055,10 @@ class WorkflowComplianceComponent {
|
|
|
3055
3055
|
this.responsibilityForm.riskMatrix = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.riskMatrix;
|
|
3056
3056
|
break;
|
|
3057
3057
|
case 'formate_evidence':
|
|
3058
|
-
this.responsibilityForm.formatAndEvidence.formatRequired = (
|
|
3059
|
-
this.responsibilityForm.formatAndEvidence.formatFiles = (
|
|
3060
|
-
this.responsibilityForm.formatAndEvidence.formatLinks = (
|
|
3061
|
-
this.responsibilityForm.formatAndEvidence.evidenceRequired = (
|
|
3058
|
+
this.responsibilityForm.formatAndEvidence.formatRequired = (_m = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.isFormateUploaded) !== null && _m !== void 0 ? _m : false;
|
|
3059
|
+
this.responsibilityForm.formatAndEvidence.formatFiles = (_o = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.files) !== null && _o !== void 0 ? _o : [];
|
|
3060
|
+
this.responsibilityForm.formatAndEvidence.formatLinks = (_p = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.links) !== null && _p !== void 0 ? _p : [];
|
|
3061
|
+
this.responsibilityForm.formatAndEvidence.evidenceRequired = (_q = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.isEvidenceRequired) !== null && _q !== void 0 ? _q : false;
|
|
3062
3062
|
break;
|
|
3063
3063
|
case 'reviewFrequency':
|
|
3064
3064
|
this.responsibilityForm.reviewers.reviewFrequency = {
|