vcomply-workflow-engine 2.5.11 → 2.5.12
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 +11 -0
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/sharedComponents/framework-list/framework-list.component.js +9 -1
- package/esm2015/lib/sharedComponents/framework-list/framework-list.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +4 -1
- package/fesm2015/vcomply-workflow-engine.js +11 -0
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/sharedComponents/framework-list/framework-list.component.d.ts +1 -0
- package/package.json +1 -1
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -3898,6 +3898,9 @@
|
|
|
3898
3898
|
this.responsibilityForm.continuous_failed_days = event.continuous_failed_days;
|
|
3899
3899
|
this.responsibilityForm.failed_after_days = event.failed_after_days;
|
|
3900
3900
|
this.selectedFrameworkValues = (_d = freqObj.selectedFrameworkData) !== null && _d !== void 0 ? _d : undefined;
|
|
3901
|
+
if (freqObj.description) {
|
|
3902
|
+
this.responsibilityForm.description = freqObj.description;
|
|
3903
|
+
}
|
|
3901
3904
|
if ((_e = freqObj === null || freqObj === void 0 ? void 0 : freqObj.data) === null || _e === void 0 ? void 0 : _e.objectives) {
|
|
3902
3905
|
this.responsibilityForm.objective = (_f = freqObj.data.objectives) !== null && _f !== void 0 ? _f : '';
|
|
3903
3906
|
this.moreOptions.OBJECTIVE = true;
|
|
@@ -15074,6 +15077,7 @@
|
|
|
15074
15077
|
};
|
|
15075
15078
|
FrameworkListComponent.prototype.searchBy = function (event, type) {
|
|
15076
15079
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
15080
|
+
this.resetPagination();
|
|
15077
15081
|
switch (type) {
|
|
15078
15082
|
case 'framework':
|
|
15079
15083
|
if (this.searchText.frameWork != event) {
|
|
@@ -15121,6 +15125,7 @@
|
|
|
15121
15125
|
};
|
|
15122
15126
|
FrameworkListComponent.prototype.save = function () {
|
|
15123
15127
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
15128
|
+
this.resetPagination();
|
|
15124
15129
|
switch (this.currentList) {
|
|
15125
15130
|
case 'framework':
|
|
15126
15131
|
if (((_c = (_b = (_a = this.selectedValues) === null || _a === void 0 ? void 0 : _a.framework) === null || _b === void 0 ? void 0 : _b.parent_list_details) === null || _c === void 0 ? void 0 : _c.length) == 0 && ((_e = (_d = this.selectedValues) === null || _d === void 0 ? void 0 : _d.framework) === null || _e === void 0 ? void 0 : _e.child_list_details.length) == 0 && ((_g = (_f = this.selectedValues) === null || _f === void 0 ? void 0 : _f.framework) === null || _g === void 0 ? void 0 : _g.totalControls) > 0) {
|
|
@@ -15145,6 +15150,7 @@
|
|
|
15145
15150
|
};
|
|
15146
15151
|
FrameworkListComponent.prototype.goBack = function () {
|
|
15147
15152
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
15153
|
+
this.resetPagination();
|
|
15148
15154
|
switch (this.currentList) {
|
|
15149
15155
|
case 'framework':
|
|
15150
15156
|
this.closeFramework.emit();
|
|
@@ -15164,6 +15170,11 @@
|
|
|
15164
15170
|
break;
|
|
15165
15171
|
}
|
|
15166
15172
|
};
|
|
15173
|
+
FrameworkListComponent.prototype.resetPagination = function () {
|
|
15174
|
+
this.frameworkData.currentPage = 1;
|
|
15175
|
+
this.subCategoriesList.currentPage = 1;
|
|
15176
|
+
this.responsibilitiesList.currentPage = 1;
|
|
15177
|
+
};
|
|
15167
15178
|
FrameworkListComponent.prototype.remove = function () {
|
|
15168
15179
|
switch (this.currentList) {
|
|
15169
15180
|
case 'framework':
|