vcomply-workflow-engine 2.9.43 → 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 +18 -7
- 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/pipes/rcTreeToolTip.pipe.js +7 -5
- package/esm2015/lib/sharedComponents/program-listing/program-listing.component.js +3 -2
- package/fesm2015/vcomply-workflow-engine.js +16 -9
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/more-option/more-option.component.d.ts +2 -0
- package/lib/sharedComponents/pipes/rcTreeToolTip.pipe.d.ts +1 -1
- 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;
|
|
@@ -18663,10 +18667,16 @@
|
|
|
18663
18667
|
function rcTreeToolTipPipe() {
|
|
18664
18668
|
}
|
|
18665
18669
|
rcTreeToolTipPipe.prototype.transform = function (value) {
|
|
18666
|
-
var
|
|
18670
|
+
var args = [];
|
|
18671
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
18672
|
+
args[_i - 1] = arguments[_i];
|
|
18673
|
+
}
|
|
18667
18674
|
var data = lodash.cloneDeep(value);
|
|
18675
|
+
if (args[0]) {
|
|
18676
|
+
data = data === null || data === void 0 ? void 0 : data.reverse();
|
|
18677
|
+
}
|
|
18668
18678
|
if (value === null || value === void 0 ? void 0 : value.length) {
|
|
18669
|
-
return
|
|
18679
|
+
return data === null || data === void 0 ? void 0 : data.join(' < ');
|
|
18670
18680
|
}
|
|
18671
18681
|
else {
|
|
18672
18682
|
return '';
|
|
@@ -27134,6 +27144,7 @@
|
|
|
27134
27144
|
ProgramListingComponent.prototype.openCategories = function () {
|
|
27135
27145
|
var _a, _b, _c;
|
|
27136
27146
|
this.searchString = '';
|
|
27147
|
+
this.categorySearchString = '';
|
|
27137
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; });
|
|
27138
27149
|
this.populateCategories();
|
|
27139
27150
|
if (((_c = (_b = this.currentProgram) === null || _b === void 0 ? void 0 : _b.child_id) === null || _c === void 0 ? void 0 : _c.length) || isSubProgram) {
|
|
@@ -27263,7 +27274,7 @@
|
|
|
27263
27274
|
var params = new i1.HttpParams();
|
|
27264
27275
|
// params = params.append('program_id', this.currentProgram?._id);
|
|
27265
27276
|
params = params.append('pageNo', this.categoryData.currentPage);
|
|
27266
|
-
if (queryObject === null || queryObject === void 0 ? void 0 : queryObject.search) {
|
|
27277
|
+
if ((queryObject === null || queryObject === void 0 ? void 0 : queryObject.search) || this.categorySearchString) {
|
|
27267
27278
|
params = params.append('searchText', this.categorySearchString);
|
|
27268
27279
|
}
|
|
27269
27280
|
if (this.responsibilityId) {
|