vcomply-workflow-engine 2.6.121 → 2.6.123
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 +9 -9
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +10 -10
- package/fesm2015/vcomply-workflow-engine.js +9 -9
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/package.json +1 -1
|
@@ -3670,14 +3670,14 @@
|
|
|
3670
3670
|
var overseerUserList = [];
|
|
3671
3671
|
var overseerUserNotifyList = [];
|
|
3672
3672
|
if (_this.featureFlag_groups) {
|
|
3673
|
-
var overseerEmployeesList = Object.keys(res === null || res === void 0 ? void 0 : res.cc_email).map(Number);
|
|
3674
|
-
overseerUserList = ((_d = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _d === void 0 ? void 0 : _d.ccEmailEmpIds.length) ? overseerEmployeesList.filter(function (employeeIds) { var _a; return (_a = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _a === void 0 ? void 0 : _a.ccEmailEmpIds.includes(employeeIds); }) : __spreadArray([], __read(overseerEmployeesList));
|
|
3675
|
-
var overseerEmployeeNotifyList = Object.keys(res === null || res === void 0 ? void 0 : res.failure_cc_email).map(Number);
|
|
3676
|
-
overseerUserNotifyList = ((_e = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _e === void 0 ? void 0 : _e.failureCCEmailEmpIds.length) ? overseerEmployeeNotifyList.filter(function (employeeIds) { var _a; return (_a = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _a === void 0 ? void 0 : _a.failureCCEmailEmpIds.includes(employeeIds); }) : __spreadArray([], __read(overseerEmployeeNotifyList));
|
|
3673
|
+
var overseerEmployeesList = (res === null || res === void 0 ? void 0 : res.cc_email) ? Object.keys(res === null || res === void 0 ? void 0 : res.cc_email).map(Number) : [];
|
|
3674
|
+
overseerUserList = (((_d = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _d === void 0 ? void 0 : _d.ccEmailEmpIds.length) || (res === null || res === void 0 ? void 0 : res.userGroupIds.ccEmailGroupIds.length)) ? overseerEmployeesList.filter(function (employeeIds) { var _a; return (_a = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _a === void 0 ? void 0 : _a.ccEmailEmpIds.includes(employeeIds); }) : __spreadArray([], __read(overseerEmployeesList));
|
|
3675
|
+
var overseerEmployeeNotifyList = (res === null || res === void 0 ? void 0 : res.cc_email) ? Object.keys(res === null || res === void 0 ? void 0 : res.failure_cc_email).map(Number) : [];
|
|
3676
|
+
overseerUserNotifyList = (((_e = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _e === void 0 ? void 0 : _e.failureCCEmailEmpIds.length) || (res === null || res === void 0 ? void 0 : res.userGroupIds.failureCCEmailGroupIds.length)) ? overseerEmployeeNotifyList.filter(function (employeeIds) { var _a; return (_a = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _a === void 0 ? void 0 : _a.failureCCEmailEmpIds.includes(employeeIds); }) : __spreadArray([], __read(overseerEmployeeNotifyList));
|
|
3677
3677
|
}
|
|
3678
3678
|
else {
|
|
3679
|
-
overseerUserList = Object.keys(res === null || res === void 0 ? void 0 : res.cc_email).map(Number);
|
|
3680
|
-
overseerUserNotifyList = Object.keys(res === null || res === void 0 ? void 0 : res.failure_cc_email).map(Number);
|
|
3679
|
+
overseerUserList = (res === null || res === void 0 ? void 0 : res.cc_email) ? Object.keys(res === null || res === void 0 ? void 0 : res.cc_email).map(Number) : [];
|
|
3680
|
+
overseerUserNotifyList = (res === null || res === void 0 ? void 0 : res.failure_cc_email) ? Object.keys(res === null || res === void 0 ? void 0 : res.failure_cc_email).map(Number) : [];
|
|
3681
3681
|
}
|
|
3682
3682
|
_this.hasReviewer = reviewerDetails.length > 0;
|
|
3683
3683
|
_this.assigneeRadioSelect = (((_f = res === null || res === void 0 ? void 0 : res.assigned_to_member_id) === null || _f === void 0 ? void 0 : _f.length) == 0) ? true : false;
|
|
@@ -3724,8 +3724,8 @@
|
|
|
3724
3724
|
notifyList: (res === null || res === void 0 ? void 0 : res.failure_cc_email) ? _this.setList(_this.overseersList, overseerUserNotifyList, 'employee_id') : [],
|
|
3725
3725
|
},
|
|
3726
3726
|
overseersGroups: {
|
|
3727
|
-
|
|
3728
|
-
|
|
3727
|
+
list: (res === null || res === void 0 ? void 0 : res.userGroupIds.ccEmailGroupIds) ? _this.setList(_this.OrgGroup, res === null || res === void 0 ? void 0 : res.userGroupIds.ccEmailGroupIds, 'group_id') : [],
|
|
3728
|
+
notifyList: (res === null || res === void 0 ? void 0 : res.userGroupIds.failureCCEmailGroupIds) ? _this.setList(_this.OrgGroup, res === null || res === void 0 ? void 0 : res.userGroupIds.failureCCEmailGroupIds, 'group_id') : []
|
|
3729
3729
|
},
|
|
3730
3730
|
formatAndEvidence: {
|
|
3731
3731
|
formatRequired: ((res === null || res === void 0 ? void 0 : res.report_format.length) > 0 || ((_u = res === null || res === void 0 ? void 0 : res.link_for_details) === null || _u === void 0 ? void 0 : _u.length) > 0) ? true : false,
|
|
@@ -5314,7 +5314,7 @@
|
|
|
5314
5314
|
checkedMoreOptions.push('REVIEWER');
|
|
5315
5315
|
this.moreOptions.REVIEWER = true;
|
|
5316
5316
|
}
|
|
5317
|
-
if (this.responsibilityForm.overseers.list.length > 0 || this.responsibilityForm.overseers.notifyList.length > 0) {
|
|
5317
|
+
if (this.responsibilityForm.overseers.list.length > 0 || this.responsibilityForm.overseers.notifyList.length > 0 || this.responsibilityForm.overseersGroups.list.length > 0 || this.responsibilityForm.overseersGroups.notifyList.length > 0) {
|
|
5318
5318
|
checkedMoreOptions.push('OVERSEER');
|
|
5319
5319
|
this.moreOptions.OVERSEER = true;
|
|
5320
5320
|
}
|