vcomply-workflow-engine 2.9.44 → 2.9.45
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 +10 -5
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/more-option/more-option.component.js +9 -5
- package/esm2015/lib/sharedComponents/program-listing/program-listing.component.js +3 -2
- package/fesm2015/vcomply-workflow-engine.js +10 -5
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/more-option/more-option.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -8038,6 +8038,8 @@
|
|
|
8038
8038
|
this.isProgramSelected = false;
|
|
8039
8039
|
this.featureflagrole = false;
|
|
8040
8040
|
this.programSimplifyFlag = false;
|
|
8041
|
+
this.ff_rc_listing = false;
|
|
8042
|
+
this.permissionText = 'Permissions';
|
|
8041
8043
|
this.placeholderTexts = {
|
|
8042
8044
|
AAR: 'Select what additional information you would like to include in the risk.',
|
|
8043
8045
|
CAP: 'Select what additional information you would like to include in the policy.',
|
|
@@ -8520,14 +8522,16 @@
|
|
|
8520
8522
|
MoreOptionComponent.prototype.ngOnInit = function () {
|
|
8521
8523
|
var _a, _b, _c, _d;
|
|
8522
8524
|
this.featureflagrole = (_a = this.allowedFeature) === null || _a === void 0 ? void 0 : _a.isFeatureEnabled('ff_role_improvements');
|
|
8523
|
-
this.
|
|
8524
|
-
this.
|
|
8525
|
+
this.ff_rc_listing = this.allowedFeature.isFeatureEnabled('ff_rc_listing');
|
|
8526
|
+
this.ff_rc_listing ? this.permissionText = 'Permissions' : this.permissionText = 'Permission Group(S)';
|
|
8527
|
+
this.moreOptionsList.CAPR[0].name = this.permissionText;
|
|
8528
|
+
this.moreOptionsList.CAPR[0].tooltipTitle = this.permissionText;
|
|
8525
8529
|
this.moreOptionsList.CAPR[1].tooltipMessage = this.featureflagrole ? "Owners are responsible for managing a Program. Only Owners can make changes to a Program and the responsibilities that are linked with the Program.<br>\n The <b>Key Power User </b> and all <b>Power Users</b> will be selected as the Owners of a Program by default.\n " : "Owners are responsible for managing a Program. Only Owners can make changes to a Program and the responsibilities that are linked with the Program.<br>\n The <b>Key Admin</b> and all <b>Admin</b> users will be selected as the Owners of a Program by default.\n ";
|
|
8526
8530
|
if ((_b = this.allowedFeature) === null || _b === void 0 ? void 0 : _b.isFeatureEnabled('ff_program_simplify')) {
|
|
8527
|
-
this.moreOptionsList.CAPR[0].tooltipMessage = this.
|
|
8531
|
+
this.moreOptionsList.CAPR[0].tooltipMessage = this.permissionText + " let you specify the users that can be \u201COwners\u201D of a Program.";
|
|
8528
8532
|
}
|
|
8529
8533
|
else {
|
|
8530
|
-
this.moreOptionsList.CAPR[0].tooltipMessage = this.
|
|
8534
|
+
this.moreOptionsList.CAPR[0].tooltipMessage = this.permissionText + " let you specify the users that can be \u201COwners\u201D and \u201CApprovers\u201D of a Program.";
|
|
8531
8535
|
}
|
|
8532
8536
|
var index = this.moreOptionsList.CAR.findIndex(function (ele) { return ele.code === 'CHECKPOINTS'; });
|
|
8533
8537
|
this.moreOptionsList.CAR[index].hidden = this.isEditMode === false ? true : false;
|
|
@@ -27140,6 +27144,7 @@
|
|
|
27140
27144
|
ProgramListingComponent.prototype.openCategories = function () {
|
|
27141
27145
|
var _a, _b, _c;
|
|
27142
27146
|
this.searchString = '';
|
|
27147
|
+
this.categorySearchString = '';
|
|
27143
27148
|
var isSubProgram = (_a = this.selectedProgramsDetail) === null || _a === void 0 ? void 0 : _a.some(function (el) { var _a; return (_a = el === null || el === void 0 ? void 0 : el.child_id) === null || _a === void 0 ? void 0 : _a.length; });
|
|
27144
27149
|
this.populateCategories();
|
|
27145
27150
|
if (((_c = (_b = this.currentProgram) === null || _b === void 0 ? void 0 : _b.child_id) === null || _c === void 0 ? void 0 : _c.length) || isSubProgram) {
|
|
@@ -27269,7 +27274,7 @@
|
|
|
27269
27274
|
var params = new i1.HttpParams();
|
|
27270
27275
|
// params = params.append('program_id', this.currentProgram?._id);
|
|
27271
27276
|
params = params.append('pageNo', this.categoryData.currentPage);
|
|
27272
|
-
if (queryObject === null || queryObject === void 0 ? void 0 : queryObject.search) {
|
|
27277
|
+
if ((queryObject === null || queryObject === void 0 ? void 0 : queryObject.search) || this.categorySearchString) {
|
|
27273
27278
|
params = params.append('searchText', this.categorySearchString);
|
|
27274
27279
|
}
|
|
27275
27280
|
if (this.responsibilityId) {
|