vcomply-workflow-engine 2.7.1 → 2.7.2
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 +20 -3
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +5 -2
- package/esm2015/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.js +5 -2
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +5 -2
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +9 -1
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
- package/fesm2015/vcomply-workflow-engine.js +20 -3
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/add-multiple-responsibility/add-multiple-responsibility.component.d.ts +2 -0
- package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +2 -0
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +2 -0
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +2 -0
- package/package.json +1 -1
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -402,6 +402,7 @@
|
|
|
402
402
|
description: ''
|
|
403
403
|
};
|
|
404
404
|
this.programSimplifyFlag = false;
|
|
405
|
+
this.isResponsibilitySimplifyFlag = false;
|
|
405
406
|
this.animation = true;
|
|
406
407
|
this.workflowList = false;
|
|
407
408
|
this.showMoreOption = true;
|
|
@@ -479,6 +480,7 @@
|
|
|
479
480
|
console.log("addToProgramDetails ===>", this.addToProgramDetails);
|
|
480
481
|
this.programSimplifyFlag = this.feature.isFeatureEnabled('ff_program_simplify');
|
|
481
482
|
this.featureFlag_groups = this.feature.isFeatureEnabled('ff_responsibility_groups');
|
|
483
|
+
this.isResponsibilitySimplify();
|
|
482
484
|
};
|
|
483
485
|
WorkflowEngineContainerComponent.prototype.setNetworkListner = function () {
|
|
484
486
|
var _this = this;
|
|
@@ -833,6 +835,12 @@
|
|
|
833
835
|
var msg = commonText + (event === 'anyReviewer' ? "If any reviewer had completed the review, the current review due date will be closed and the review status will be updated to 'Completed'." : '');
|
|
834
836
|
this.confirmationAlertConfig = { isVisible: true, message: msg, action: event, };
|
|
835
837
|
};
|
|
838
|
+
WorkflowEngineContainerComponent.prototype.isResponsibilitySimplify = function () {
|
|
839
|
+
if (this.feature.isFeatureEnabled('ff_responsibility_simplification')) {
|
|
840
|
+
this.workflowTypeList[0].workflowName = 'Add a Responsibility';
|
|
841
|
+
this.workflowTypeList[1].workflowName = 'Add Multiple Responsibilities';
|
|
842
|
+
}
|
|
843
|
+
};
|
|
836
844
|
return WorkflowEngineContainerComponent;
|
|
837
845
|
}());
|
|
838
846
|
WorkflowEngineContainerComponent.decorators = [
|
|
@@ -3546,6 +3554,8 @@
|
|
|
3546
3554
|
this.overseerIds = [];
|
|
3547
3555
|
this.disableRadioAssignee = [];
|
|
3548
3556
|
this.isResponsibilitySimplified = false;
|
|
3557
|
+
this.queryParam = '';
|
|
3558
|
+
this.recentResponsibilityUrl = { "byResponsibilities": { "type": ["recent_responsibilities"], "subType": ["CC"] }, "byStatus": { "type": [], "subType": [] }, "filterObject": { "responsibilityCenter": [], "entrustedBy": [], "entrustedTo": [], "riskIds": [], "responsibilityCategory": [] }, "timePeriodDetails": { "type": "", "selectedPeriod": "", "selectedYear": "" }, "status": "" };
|
|
3549
3559
|
this.url = 'q={"byResponsibilities":{"type":["responsibilities_in_queue"],"subType":["CC"]},"byStatus":{"type":["responsibilities_in_queue"],"subType":[]},"filterObject":{"responsibilityCenter":[],"entrustedBy":[],"entrustedTo":[],"riskIds":[],"responsibilityCategory":[]},"timePeriodDetails":{"type":"","selectedPeriod":"","selectedYear":""},"status":""}';
|
|
3550
3560
|
this.pickerChanged = new i0.EventEmitter();
|
|
3551
3561
|
this.populateOption = new i0.EventEmitter();
|
|
@@ -5732,7 +5742,8 @@
|
|
|
5732
5742
|
}
|
|
5733
5743
|
else {
|
|
5734
5744
|
if (this.isResponsibilitySimplified) {
|
|
5735
|
-
|
|
5745
|
+
this.queryParam = JSON === null || JSON === void 0 ? void 0 : JSON.stringify(this.recentResponsibilityUrl);
|
|
5746
|
+
urlSubstring = 'compliance/manage-responsibility?q=' + this.queryParam;
|
|
5736
5747
|
}
|
|
5737
5748
|
else {
|
|
5738
5749
|
urlSubstring = 'compliance/manage-responsibilities';
|
|
@@ -13374,6 +13385,8 @@
|
|
|
13374
13385
|
this.url = 'q={"byResponsibilities":{"type":["responsibilities_in_queue"],"subType":["CC"]},"byStatus":{"type":["responsibilities_in_queue"],"subType":[]},"filterObject":{"responsibilityCenter":[],"entrustedBy":[],"entrustedTo":[],"riskIds":[],"responsibilityCategory":[]},"timePeriodDetails":{"type":"","selectedPeriod":"","selectedYear":""},"status":""}';
|
|
13375
13386
|
this.isNotificationPending = 0;
|
|
13376
13387
|
this.closeAddMultipleResponsibility = new i0.EventEmitter();
|
|
13388
|
+
this.queryParam = '';
|
|
13389
|
+
this.recentResponsibilityUrl = { "byResponsibilities": { "type": ["recent_responsibilities"], "subType": ["CC"] }, "byStatus": { "type": [], "subType": [] }, "filterObject": { "responsibilityCenter": [], "entrustedBy": [], "entrustedTo": [], "riskIds": [], "responsibilityCategory": [] }, "timePeriodDetails": { "type": "", "selectedPeriod": "", "selectedYear": "" }, "status": "" };
|
|
13377
13390
|
this.responsibilityBulkUpload = {
|
|
13378
13391
|
header: [],
|
|
13379
13392
|
reports: [],
|
|
@@ -14072,7 +14085,8 @@
|
|
|
14072
14085
|
}
|
|
14073
14086
|
else {
|
|
14074
14087
|
if (this.featureflag) {
|
|
14075
|
-
|
|
14088
|
+
this.queryParam = JSON === null || JSON === void 0 ? void 0 : JSON.stringify(this.recentResponsibilityUrl);
|
|
14089
|
+
urlSubstring = 'compliance/manage-responsibility?q=' + this.queryParam;
|
|
14076
14090
|
}
|
|
14077
14091
|
else {
|
|
14078
14092
|
urlSubstring = 'compliance/manage-responsibilities';
|
|
@@ -32889,6 +32903,8 @@
|
|
|
32889
32903
|
this.disconnectRefresh = new i0.EventEmitter();
|
|
32890
32904
|
this.isNotificationPending = 0;
|
|
32891
32905
|
this.closeAddMultipleResponsibility = new i0.EventEmitter();
|
|
32906
|
+
this.queryParam = '';
|
|
32907
|
+
this.recentResponsibilityUrl = { "byResponsibilities": { "type": ["recent_responsibilities"], "subType": ["CC"] }, "byStatus": { "type": [], "subType": [] }, "filterObject": { "responsibilityCenter": [], "entrustedBy": [], "entrustedTo": [], "riskIds": [], "responsibilityCategory": [] }, "timePeriodDetails": { "type": "", "selectedPeriod": "", "selectedYear": "" }, "status": "" };
|
|
32892
32908
|
this.url = 'q={"byResponsibilities":{"type":["responsibilities_in_queue"],"subType":["CC"]},"byStatus":{"type":["responsibilities_in_queue"],"subType":[]},"filterObject":{"responsibilityCenter":[],"entrustedBy":[],"entrustedTo":[],"riskIds":[],"responsibilityCategory":[]},"timePeriodDetails":{"type":"","selectedPeriod":"","selectedYear":""},"status":""}';
|
|
32893
32909
|
this.responsibilityBulkUpload = {
|
|
32894
32910
|
header: [],
|
|
@@ -33605,7 +33621,8 @@
|
|
|
33605
33621
|
}
|
|
33606
33622
|
else {
|
|
33607
33623
|
if (this.featureflag) {
|
|
33608
|
-
|
|
33624
|
+
this.queryParam = JSON === null || JSON === void 0 ? void 0 : JSON.stringify(this.recentResponsibilityUrl);
|
|
33625
|
+
urlSubstring = 'compliance/manage-responsibility?q=' + this.queryParam;
|
|
33609
33626
|
}
|
|
33610
33627
|
else {
|
|
33611
33628
|
urlSubstring = 'compliance/manage-responsibilities';
|