vcomply-workflow-engine 2.6.74 → 2.6.76
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 +8 -10
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +9 -11
- package/fesm2015/vcomply-workflow-engine.js +8 -10
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/package.json +1 -1
|
@@ -3848,7 +3848,7 @@
|
|
|
3848
3848
|
};
|
|
3849
3849
|
WorkflowComplianceComponent.prototype.saveSelectedList = function (type, selectedItems) {
|
|
3850
3850
|
var _this = this;
|
|
3851
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5
|
|
3851
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
|
|
3852
3852
|
switch (type) {
|
|
3853
3853
|
case 'assignors':
|
|
3854
3854
|
if (this.invalidType === 'whom') {
|
|
@@ -3948,13 +3948,11 @@
|
|
|
3948
3948
|
}
|
|
3949
3949
|
});
|
|
3950
3950
|
this.responsibilityForm.formatAndEvidence.evidenceRequired = ((_w = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _w === void 0 ? void 0 : _w.evidence_upload_flag) ? true : false;
|
|
3951
|
-
|
|
3952
|
-
this.responsibilityForm.reviewers.sequentialWorkflow = (((_y = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _y === void 0 ? void 0 : _y.default_reviewers_type) === 'SEQUENTIAL') ? true : false;
|
|
3953
|
-
if ((_z = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _z === void 0 ? void 0 : _z.evidence_upload_flag) {
|
|
3951
|
+
if ((_x = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _x === void 0 ? void 0 : _x.evidence_upload_flag) {
|
|
3954
3952
|
this.moreOptions.FORMATE_EVIDENCE = true;
|
|
3955
3953
|
}
|
|
3956
|
-
if (!(((
|
|
3957
|
-
if ((
|
|
3954
|
+
if (!(((_y = this.selectedProgram) === null || _y === void 0 ? void 0 : _y.programType) === 0 && ((_0 = (_z = this.selectedProgram) === null || _z === void 0 ? void 0 : _z.name) === null || _0 === void 0 ? void 0 : _0.toLowerCase()) === 'uncategorized')) {
|
|
3955
|
+
if ((_1 = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.program) === null || _1 === void 0 ? void 0 : _1._id) {
|
|
3958
3956
|
this.filterListsAccordingToProgram(selectedItems.program._id);
|
|
3959
3957
|
}
|
|
3960
3958
|
else {
|
|
@@ -4006,10 +4004,10 @@
|
|
|
4006
4004
|
this.responsibilityForm.riskMatrix = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.riskMatrix;
|
|
4007
4005
|
break;
|
|
4008
4006
|
case 'formate_evidence':
|
|
4009
|
-
this.responsibilityForm.formatAndEvidence.formatRequired = (
|
|
4010
|
-
this.responsibilityForm.formatAndEvidence.formatFiles = (
|
|
4011
|
-
this.responsibilityForm.formatAndEvidence.formatLinks = (
|
|
4012
|
-
this.responsibilityForm.formatAndEvidence.evidenceRequired = (
|
|
4007
|
+
this.responsibilityForm.formatAndEvidence.formatRequired = (_2 = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.isFormateUploaded) !== null && _2 !== void 0 ? _2 : false;
|
|
4008
|
+
this.responsibilityForm.formatAndEvidence.formatFiles = (_3 = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.files) !== null && _3 !== void 0 ? _3 : [];
|
|
4009
|
+
this.responsibilityForm.formatAndEvidence.formatLinks = (_4 = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.links) !== null && _4 !== void 0 ? _4 : [];
|
|
4010
|
+
this.responsibilityForm.formatAndEvidence.evidenceRequired = (_5 = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.isEvidenceRequired) !== null && _5 !== void 0 ? _5 : false;
|
|
4013
4011
|
break;
|
|
4014
4012
|
case 'reviewFrequency':
|
|
4015
4013
|
this.responsibilityForm.reviewers.reviewFrequency = {
|