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
|
@@ -547,6 +547,7 @@ class WorkflowEngineContainerComponent {
|
|
|
547
547
|
if (this.moreOption) {
|
|
548
548
|
this.moreOption.resetAll((_d = this.currentWorkflow) === null || _d === void 0 ? void 0 : _d.code);
|
|
549
549
|
}
|
|
550
|
+
this.decideViewMoreOption();
|
|
550
551
|
}
|
|
551
552
|
break;
|
|
552
553
|
case 'EDIT_RISK':
|
|
@@ -24160,12 +24161,13 @@ class WorkflowProgramComponent {
|
|
|
24160
24161
|
return Object.assign(Object.assign({}, ele), { assessmentIds: ele === null || ele === void 0 ? void 0 : ele.assessments.map((assess) => { return Object.assign(Object.assign({}, assess), { id: assess === null || assess === void 0 ? void 0 : assess._id }); }) });
|
|
24161
24162
|
});
|
|
24162
24163
|
this.setFormField('program_assessments', res.assessmentData);
|
|
24163
|
-
this.
|
|
24164
|
+
this.additionalOption.ASSESSMENT = true;
|
|
24164
24165
|
this.populateOptionalFields();
|
|
24165
24166
|
}
|
|
24166
24167
|
if (res.custom_fields.length) {
|
|
24167
24168
|
this.setFormField('custom_fields', res.custom_fields);
|
|
24168
|
-
this.
|
|
24169
|
+
this.additionalOption.CUSTOM_FIELDS = true;
|
|
24170
|
+
this.populateOptionalFields();
|
|
24169
24171
|
}
|
|
24170
24172
|
this.isApproverDisabled = (_h = res === null || res === void 0 ? void 0 : res.isApproverDisabled) !== null && _h !== void 0 ? _h : false;
|
|
24171
24173
|
this.populateMembers(res);
|
|
@@ -24177,18 +24179,19 @@ class WorkflowProgramComponent {
|
|
|
24177
24179
|
});
|
|
24178
24180
|
}
|
|
24179
24181
|
populateMembers(res) {
|
|
24180
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24182
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
24181
24183
|
const ids = [
|
|
24182
24184
|
...new Set([
|
|
24183
24185
|
...((_a = res === null || res === void 0 ? void 0 : res.owners) !== null && _a !== void 0 ? _a : []),
|
|
24184
24186
|
...((_b = res === null || res === void 0 ? void 0 : res.approvers) !== null && _b !== void 0 ? _b : []),
|
|
24185
24187
|
...((_c = res === null || res === void 0 ? void 0 : res.assignee_ids) !== null && _c !== void 0 ? _c : []),
|
|
24186
24188
|
...((_d = res === null || res === void 0 ? void 0 : res.default_assignee_ids) !== null && _d !== void 0 ? _d : []),
|
|
24187
|
-
...((_e = res === null || res === void 0 ? void 0 : res.
|
|
24188
|
-
...((
|
|
24189
|
-
...((
|
|
24190
|
-
...((
|
|
24191
|
-
...((
|
|
24189
|
+
...((_e = res === null || res === void 0 ? void 0 : res.reviewers) !== null && _e !== void 0 ? _e : []),
|
|
24190
|
+
...((_f = res === null || res === void 0 ? void 0 : res.default_reviewers) !== null && _f !== void 0 ? _f : []),
|
|
24191
|
+
...((_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 : []),
|
|
24192
|
+
...((_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((ele) => ele),
|
|
24193
|
+
...((_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 : []),
|
|
24194
|
+
...((_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((ele) => ele)
|
|
24192
24195
|
])
|
|
24193
24196
|
];
|
|
24194
24197
|
this.programService.getMemeberByIds(ids).subscribe({
|