vcomply-workflow-engine 2.4.70 → 2.4.73
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 +6 -4
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +2 -1
- package/esm2015/lib/workflow-program/workflow-program.component.js +11 -9
- package/fesm2015/vcomply-workflow-engine.js +11 -8
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/package.json +1 -1
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -570,6 +570,7 @@
|
|
|
570
570
|
if (this.moreOption) {
|
|
571
571
|
this.moreOption.resetAll((_d = this.currentWorkflow) === null || _d === void 0 ? void 0 : _d.code);
|
|
572
572
|
}
|
|
573
|
+
this.decideViewMoreOption();
|
|
573
574
|
}
|
|
574
575
|
break;
|
|
575
576
|
case 'EDIT_RISK':
|
|
@@ -25465,12 +25466,13 @@
|
|
|
25465
25466
|
return Object.assign(Object.assign({}, ele), { assessmentIds: ele === null || ele === void 0 ? void 0 : ele.assessments.map(function (assess) { return Object.assign(Object.assign({}, assess), { id: assess === null || assess === void 0 ? void 0 : assess._id }); }) });
|
|
25466
25467
|
});
|
|
25467
25468
|
_this.setFormField('program_assessments', res.assessmentData);
|
|
25468
|
-
_this.
|
|
25469
|
+
_this.additionalOption.ASSESSMENT = true;
|
|
25469
25470
|
_this.populateOptionalFields();
|
|
25470
25471
|
}
|
|
25471
25472
|
if (res.custom_fields.length) {
|
|
25472
25473
|
_this.setFormField('custom_fields', res.custom_fields);
|
|
25473
|
-
_this.
|
|
25474
|
+
_this.additionalOption.CUSTOM_FIELDS = true;
|
|
25475
|
+
_this.populateOptionalFields();
|
|
25474
25476
|
}
|
|
25475
25477
|
_this.isApproverDisabled = (_h = res === null || res === void 0 ? void 0 : res.isApproverDisabled) !== null && _h !== void 0 ? _h : false;
|
|
25476
25478
|
_this.populateMembers(res);
|
|
@@ -25483,8 +25485,8 @@
|
|
|
25483
25485
|
};
|
|
25484
25486
|
WorkflowProgramComponent.prototype.populateMembers = function (res) {
|
|
25485
25487
|
var _this = this;
|
|
25486
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25487
|
-
var ids = __spreadArray([], __read(new Set(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(((_a = res === null || res === void 0 ? void 0 : res.owners) !== null && _a !== void 0 ? _a : []))), __read(((_b = res === null || res === void 0 ? void 0 : res.approvers) !== null && _b !== void 0 ? _b : []))), __read(((_c = res === null || res === void 0 ? void 0 : res.assignee_ids) !== null && _c !== void 0 ? _c : []))), __read(((_d = res === null || res === void 0 ? void 0 : res.default_assignee_ids) !== null && _d !== void 0 ? _d : []))), __read(((_e = res === null || res === void 0 ? void 0 : res.
|
|
25488
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
25489
|
+
var ids = __spreadArray([], __read(new Set(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(((_a = res === null || res === void 0 ? void 0 : res.owners) !== null && _a !== void 0 ? _a : []))), __read(((_b = res === null || res === void 0 ? void 0 : res.approvers) !== null && _b !== void 0 ? _b : []))), __read(((_c = res === null || res === void 0 ? void 0 : res.assignee_ids) !== null && _c !== void 0 ? _c : []))), __read(((_d = res === null || res === void 0 ? void 0 : res.default_assignee_ids) !== null && _d !== void 0 ? _d : []))), __read(((_e = res === null || res === void 0 ? void 0 : res.reviewers) !== null && _e !== void 0 ? _e : []))), __read(((_f = res === null || res === void 0 ? void 0 : res.default_reviewers) !== null && _f !== void 0 ? _f : []))), __read(((_h = (_g = res === null || res === void 0 ? void 0 : res.overseers) === null || _g === void 0 ? void 0 : _g.cc_email) !== null && _h !== void 0 ? _h : []))), __read(((_k = (_j = res === null || res === void 0 ? void 0 : res.overseers) === null || _j === void 0 ? void 0 : _j.failure_cc_email) !== null && _k !== void 0 ? _k : []).filter(function (ele) { return ele; }))), __read(((_m = (_l = res === null || res === void 0 ? void 0 : res.default_overseers) === null || _l === void 0 ? void 0 : _l.cc_email) !== null && _m !== void 0 ? _m : []))), __read(((_p = (_o = res === null || res === void 0 ? void 0 : res.default_overseers) === null || _o === void 0 ? void 0 : _o.failure_cc_email) !== null && _p !== void 0 ? _p : []).filter(function (ele) { return ele; }))))));
|
|
25488
25490
|
this.programService.getMemeberByIds(ids).subscribe({
|
|
25489
25491
|
next: function (response) {
|
|
25490
25492
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|