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
|
@@ -3263,7 +3263,7 @@
|
|
|
3263
3263
|
};
|
|
3264
3264
|
WorkflowComplianceComponent.prototype.checkWhetherAllListsLoaded = function () {
|
|
3265
3265
|
var _this = this;
|
|
3266
|
-
var _a, _b, _c, _d
|
|
3266
|
+
var _a, _b, _c, _d;
|
|
3267
3267
|
if (this.rcListLoaded && this.assigneesListLoaded && this.assignorsListLoaded &&
|
|
3268
3268
|
this.categoriesListLoaded && this.assuranceCategoryListLoaded && this.groupsListLoaded) {
|
|
3269
3269
|
if (this.frameworkDetails.length > 0) {
|
|
@@ -3284,16 +3284,16 @@
|
|
|
3284
3284
|
_this.responsibilityForm.customTags.push(tagData);
|
|
3285
3285
|
}
|
|
3286
3286
|
});
|
|
3287
|
-
this.responsibilityForm.formatAndEvidence.evidenceRequired = (
|
|
3287
|
+
this.responsibilityForm.formatAndEvidence.evidenceRequired = ((_b = this.selectedProgram) === null || _b === void 0 ? void 0 : _b.evidence_upload_flag) ? true : false;
|
|
3288
3288
|
var checkedMoreOptions = [];
|
|
3289
3289
|
this.moreOptions.PROGRAM = true;
|
|
3290
3290
|
checkedMoreOptions.push('PROGRAM');
|
|
3291
|
-
if ((
|
|
3291
|
+
if ((_c = this.selectedProgram) === null || _c === void 0 ? void 0 : _c.evidence_upload_flag) {
|
|
3292
3292
|
checkedMoreOptions.push('FORMATE_EVIDENCE');
|
|
3293
3293
|
this.moreOptions.FORMATE_EVIDENCE = true;
|
|
3294
3294
|
}
|
|
3295
3295
|
this.populateOption.emit(checkedMoreOptions);
|
|
3296
|
-
this.filterListsAccordingToProgram((
|
|
3296
|
+
this.filterListsAccordingToProgram((_d = this.selectedProgram) === null || _d === void 0 ? void 0 : _d._id);
|
|
3297
3297
|
}
|
|
3298
3298
|
}
|
|
3299
3299
|
}
|
|
@@ -3305,7 +3305,7 @@
|
|
|
3305
3305
|
};
|
|
3306
3306
|
WorkflowComplianceComponent.prototype.saveSelectedList = function (type, selectedItems) {
|
|
3307
3307
|
var _this = this;
|
|
3308
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q
|
|
3308
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
3309
3309
|
switch (type) {
|
|
3310
3310
|
case 'assignors':
|
|
3311
3311
|
if (this.invalidType === 'whom') {
|
|
@@ -3375,14 +3375,14 @@
|
|
|
3375
3375
|
_this.responsibilityForm.customTags.push(tagData);
|
|
3376
3376
|
}
|
|
3377
3377
|
});
|
|
3378
|
-
this.responsibilityForm.formatAndEvidence.evidenceRequired = (
|
|
3379
|
-
if ((
|
|
3378
|
+
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;
|
|
3379
|
+
if ((_h = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _h === void 0 ? void 0 : _h.evidence_upload_flag) {
|
|
3380
3380
|
this.moreOptions.FORMATE_EVIDENCE = true;
|
|
3381
3381
|
}
|
|
3382
|
-
if (((
|
|
3383
|
-
this.responsibilityForm.program_selected_ids.push((
|
|
3382
|
+
if (((_j = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.categories) === null || _j === void 0 ? void 0 : _j.length) == 0) {
|
|
3383
|
+
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);
|
|
3384
3384
|
}
|
|
3385
|
-
if ((
|
|
3385
|
+
if ((_l = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _l === void 0 ? void 0 : _l._id) {
|
|
3386
3386
|
this.filterListsAccordingToProgram(selectedItems.program._id);
|
|
3387
3387
|
}
|
|
3388
3388
|
else {
|
|
@@ -3429,10 +3429,10 @@
|
|
|
3429
3429
|
this.responsibilityForm.riskMatrix = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.riskMatrix;
|
|
3430
3430
|
break;
|
|
3431
3431
|
case 'formate_evidence':
|
|
3432
|
-
this.responsibilityForm.formatAndEvidence.formatRequired = (
|
|
3433
|
-
this.responsibilityForm.formatAndEvidence.formatFiles = (
|
|
3434
|
-
this.responsibilityForm.formatAndEvidence.formatLinks = (
|
|
3435
|
-
this.responsibilityForm.formatAndEvidence.evidenceRequired = (
|
|
3432
|
+
this.responsibilityForm.formatAndEvidence.formatRequired = (_m = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.isFormateUploaded) !== null && _m !== void 0 ? _m : false;
|
|
3433
|
+
this.responsibilityForm.formatAndEvidence.formatFiles = (_o = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.files) !== null && _o !== void 0 ? _o : [];
|
|
3434
|
+
this.responsibilityForm.formatAndEvidence.formatLinks = (_p = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.links) !== null && _p !== void 0 ? _p : [];
|
|
3435
|
+
this.responsibilityForm.formatAndEvidence.evidenceRequired = (_q = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.isEvidenceRequired) !== null && _q !== void 0 ? _q : false;
|
|
3436
3436
|
break;
|
|
3437
3437
|
case 'reviewFrequency':
|
|
3438
3438
|
this.responsibilityForm.reviewers.reviewFrequency = {
|