vcomply-workflow-engine 2.6.170 → 2.6.171
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 +8 -2
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/sharedComponents/floating-bar/floating-bar.component.js +3 -2
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +7 -2
- package/fesm2015/vcomply-workflow-engine.js +8 -2
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +1 -0
- package/package.json +1 -1
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -365,6 +365,7 @@
|
|
|
365
365
|
this.auth = auth;
|
|
366
366
|
this.isHostRefreshActive = true;
|
|
367
367
|
this.isRCSelected = false;
|
|
368
|
+
this.featureFlag_groups = false;
|
|
368
369
|
this.workflowType = '';
|
|
369
370
|
this.mode = 'CREATE';
|
|
370
371
|
this.id = '';
|
|
@@ -476,6 +477,7 @@
|
|
|
476
477
|
this.fetchOrganizationDetails();
|
|
477
478
|
console.log("addToProgramDetails ===>", this.addToProgramDetails);
|
|
478
479
|
this.programSimplifyFlag = this.feature.isFeatureEnabled('ff_program_simplify');
|
|
480
|
+
this.featureFlag_groups = this.feature.isFeatureEnabled('ff_responsibility_groups');
|
|
479
481
|
};
|
|
480
482
|
WorkflowEngineContainerComponent.prototype.setNetworkListner = function () {
|
|
481
483
|
var _this = this;
|
|
@@ -630,7 +632,10 @@
|
|
|
630
632
|
case 'assigneeTypeChange':
|
|
631
633
|
this.compliance.responsibilityForm.assignees.whoCanComplete = 'ALL';
|
|
632
634
|
this.compliance.responsibilityForm.assignees.list = this.compliance.setList(this.compliance.assigneesList, this.compliance.originalAssignee, 'employee_id');
|
|
633
|
-
this.compliance.responsibilityForm.
|
|
635
|
+
console.log("this.compliance.responsibilityForm ==>", this.compliance.responsibilityForm);
|
|
636
|
+
if (this.featureFlag_groups) {
|
|
637
|
+
this.compliance['responsibilityForm']['assigneeGroups']['list'] = [];
|
|
638
|
+
}
|
|
634
639
|
break;
|
|
635
640
|
case 'sequential':
|
|
636
641
|
this.compliance['responsibilityForm']['reviewers']['sequentialWorkflow'] = true;
|
|
@@ -8061,8 +8066,9 @@
|
|
|
8061
8066
|
FloatingBarComponent.prototype.ngOnInit = function () {
|
|
8062
8067
|
};
|
|
8063
8068
|
FloatingBarComponent.prototype.next = function () {
|
|
8069
|
+
var _a;
|
|
8064
8070
|
var selectedData;
|
|
8065
|
-
if (this.selectedGroups.length > 0) {
|
|
8071
|
+
if (((_a = this.selectedGroups) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
8066
8072
|
selectedData = { users: this.selectedData, groups: this.selectedGroups };
|
|
8067
8073
|
}
|
|
8068
8074
|
else {
|