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
|
@@ -3281,14 +3281,14 @@ class WorkflowComplianceComponent {
|
|
|
3281
3281
|
let overseerUserList = [];
|
|
3282
3282
|
let overseerUserNotifyList = [];
|
|
3283
3283
|
if (this.featureFlag_groups) {
|
|
3284
|
-
let overseerEmployeesList = Object.keys(res === null || res === void 0 ? void 0 : res.cc_email).map(Number);
|
|
3285
|
-
overseerUserList = ((_d = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _d === void 0 ? void 0 : _d.ccEmailEmpIds.length) ? overseerEmployeesList.filter((employeeIds) => { var _a; return (_a = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _a === void 0 ? void 0 : _a.ccEmailEmpIds.includes(employeeIds); }) : [...overseerEmployeesList];
|
|
3286
|
-
let overseerEmployeeNotifyList = Object.keys(res === null || res === void 0 ? void 0 : res.failure_cc_email).map(Number);
|
|
3287
|
-
overseerUserNotifyList = ((_e = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _e === void 0 ? void 0 : _e.failureCCEmailEmpIds.length) ? overseerEmployeeNotifyList.filter((employeeIds) => { var _a; return (_a = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _a === void 0 ? void 0 : _a.failureCCEmailEmpIds.includes(employeeIds); }) : [...overseerEmployeeNotifyList];
|
|
3284
|
+
let 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) : [];
|
|
3285
|
+
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((employeeIds) => { var _a; return (_a = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _a === void 0 ? void 0 : _a.ccEmailEmpIds.includes(employeeIds); }) : [...overseerEmployeesList];
|
|
3286
|
+
let 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) : [];
|
|
3287
|
+
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((employeeIds) => { var _a; return (_a = res === null || res === void 0 ? void 0 : res.existingUserIds) === null || _a === void 0 ? void 0 : _a.failureCCEmailEmpIds.includes(employeeIds); }) : [...overseerEmployeeNotifyList];
|
|
3288
3288
|
}
|
|
3289
3289
|
else {
|
|
3290
|
-
overseerUserList = Object.keys(res === null || res === void 0 ? void 0 : res.cc_email).map(Number);
|
|
3291
|
-
overseerUserNotifyList = Object.keys(res === null || res === void 0 ? void 0 : res.failure_cc_email).map(Number);
|
|
3290
|
+
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) : [];
|
|
3291
|
+
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) : [];
|
|
3292
3292
|
}
|
|
3293
3293
|
this.hasReviewer = reviewerDetails.length > 0;
|
|
3294
3294
|
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;
|
|
@@ -3335,8 +3335,8 @@ class WorkflowComplianceComponent {
|
|
|
3335
3335
|
notifyList: (res === null || res === void 0 ? void 0 : res.failure_cc_email) ? this.setList(this.overseersList, overseerUserNotifyList, 'employee_id') : [],
|
|
3336
3336
|
},
|
|
3337
3337
|
overseersGroups: {
|
|
3338
|
-
|
|
3339
|
-
|
|
3338
|
+
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') : [],
|
|
3339
|
+
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') : []
|
|
3340
3340
|
},
|
|
3341
3341
|
formatAndEvidence: {
|
|
3342
3342
|
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,
|
|
@@ -4913,7 +4913,7 @@ class WorkflowComplianceComponent {
|
|
|
4913
4913
|
checkedMoreOptions.push('REVIEWER');
|
|
4914
4914
|
this.moreOptions.REVIEWER = true;
|
|
4915
4915
|
}
|
|
4916
|
-
if (this.responsibilityForm.overseers.list.length > 0 || this.responsibilityForm.overseers.notifyList.length > 0) {
|
|
4916
|
+
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) {
|
|
4917
4917
|
checkedMoreOptions.push('OVERSEER');
|
|
4918
4918
|
this.moreOptions.OVERSEER = true;
|
|
4919
4919
|
}
|