vcomply-workflow-engine 1.0.0 → 1.0.1
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 +17 -15
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +16 -23
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +3 -1520
- package/fesm2015/vcomply-workflow-engine.js +17 -16
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/package.json +1 -1
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -3402,9 +3402,9 @@
|
|
|
3402
3402
|
assignorAndAssigneesIds = __spreadArray([], __read(new Set(assignorAndAssigneesIds)));
|
|
3403
3403
|
reviewersIds = __spreadArray([], __read(new Set(reviewersIds)));
|
|
3404
3404
|
overseerIds = __spreadArray([], __read(new Set(overseerIds)));
|
|
3405
|
-
this.assignorsList = behalfUsers.filter(function (user) { return !(
|
|
3405
|
+
this.assignorsList = behalfUsers.filter(function (user) { return !(overseerIds.includes(user.member_id)); });
|
|
3406
3406
|
this.assigneesList = allUsers.filter(function (user) { return !(reviewersIds.includes(user.my_member_id) || overseerIds.includes(user.my_member_id)); });
|
|
3407
|
-
this.reviewersList = allUsers.filter(function (user) { return !(
|
|
3407
|
+
this.reviewersList = allUsers.filter(function (user) { return !(overseerIds.includes(user.my_member_id)); });
|
|
3408
3408
|
this.overseersList = allUsers.filter(function (user) { return !(assignorAndAssigneesIds.includes(user.my_member_id) || reviewersIds.includes(user.my_member_id)); });
|
|
3409
3409
|
};
|
|
3410
3410
|
WorkflowComplianceComponent.prototype.submitResponsibility = function () {
|
|
@@ -10520,7 +10520,6 @@
|
|
|
10520
10520
|
];
|
|
10521
10521
|
FrequencyBulkService.ctorParameters = function () { return []; };
|
|
10522
10522
|
|
|
10523
|
-
// import { DatePipe } from '@angular/common';
|
|
10524
10523
|
var AddMultipleResponsibilityComponent = /** @class */ (function () {
|
|
10525
10524
|
function AddMultipleResponsibilityComponent(riskService, responsibilityService, authService, frequencyService, snackBar) {
|
|
10526
10525
|
this.riskService = riskService;
|
|
@@ -10776,19 +10775,22 @@
|
|
|
10776
10775
|
var trimmedName = report[0].toString().replace(re, '').trim();
|
|
10777
10776
|
trimmedName = trimmedName.replace(/ +/g, ' ');
|
|
10778
10777
|
}
|
|
10779
|
-
|
|
10780
|
-
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10778
|
+
/**
|
|
10779
|
+
* index key for
|
|
10780
|
+
*
|
|
10781
|
+
* report[1] On Behalf of user
|
|
10782
|
+
* report[11] Reviewer
|
|
10783
|
+
* report[17] Always Notify
|
|
10784
|
+
* report[18] Notify On Failure
|
|
10785
|
+
* report[2] Assignee
|
|
10786
|
+
* report[4] frequency
|
|
10787
|
+
* trimmedName Report name
|
|
10788
|
+
* defaultOwner Default Assignor
|
|
10789
|
+
*/
|
|
10790
|
+
if ((!trimmedName) || (report[1] && ((report[1] == report[17]) || (report[1] == report[18]))) ||
|
|
10791
|
+
((!report[1]) && ((this.defaultOwner == report[17]) || (this.defaultOwner == report[18]))) ||
|
|
10790
10792
|
(report[2] && ((report[2] == report[11]) || (report[2] == report[17]) || (report[2] == report[18]))) ||
|
|
10791
|
-
((!report[2]) && ((this.defaultOwner == report[
|
|
10793
|
+
((!report[2]) && ((this.defaultOwner == report[17]) || (this.defaultOwner == report[18]))) ||
|
|
10792
10794
|
(report[11] && ((report[11] == report[17]) || (report[11] == report[18])))
|
|
10793
10795
|
|| (!report[2]) || (!report[4])) {
|
|
10794
10796
|
return false;
|