vcomply-workflow-engine 2.6.132 → 2.6.134
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 +17 -8
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/log-an-issue/log-an-issue.component.ngfactory.js +6 -6
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.ngfactory.js +4 -4
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.ngfactory.js +4 -4
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngfactory.js +3 -3
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.ngfactory.js +4 -4
- package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngfactory.js +3 -3
- package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.ngfactory.js +4 -4
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.ngfactory.js +4 -4
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +5 -5
- package/esm2015/lib/workflow-engine.module.ngfactory.js +3 -3
- package/esm2015/lib/workflow-engine.module.ngsummary.json +1 -1
- package/esm2015/lib/workflow-policy/workflow-policy.component.ngfactory.js +4 -4
- package/esm2015/lib/workflow-program/workflow-program.component.ngfactory.js +5 -5
- package/esm2015/lib/workflow-risk/workflow-risk.component.js +5 -5
- package/esm2015/lib/workflow-risk/workflow-risk.component.ngfactory.js +5 -5
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +4 -4
- package/fesm2015/vcomply-workflow-engine.js +4 -4
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/package.json +2 -2
|
@@ -879,7 +879,7 @@
|
|
|
879
879
|
sizeChange: [{ type: i0.HostListener, args: ['window:resize', ['$event'],] }]
|
|
880
880
|
};
|
|
881
881
|
|
|
882
|
-
|
|
882
|
+
/******************************************************************************
|
|
883
883
|
Copyright (c) Microsoft Corporation.
|
|
884
884
|
|
|
885
885
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -977,7 +977,7 @@
|
|
|
977
977
|
function step(op) {
|
|
978
978
|
if (f)
|
|
979
979
|
throw new TypeError("Generator is already executing.");
|
|
980
|
-
while (_)
|
|
980
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
981
981
|
try {
|
|
982
982
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
983
983
|
return t;
|
|
@@ -1041,7 +1041,11 @@
|
|
|
1041
1041
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
1042
1042
|
if (k2 === undefined)
|
|
1043
1043
|
k2 = k;
|
|
1044
|
-
Object.
|
|
1044
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1045
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1046
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
1047
|
+
}
|
|
1048
|
+
Object.defineProperty(o, k2, desc);
|
|
1045
1049
|
}) : (function (o, m, k, k2) {
|
|
1046
1050
|
if (k2 === undefined)
|
|
1047
1051
|
k2 = k;
|
|
@@ -1114,7 +1118,7 @@
|
|
|
1114
1118
|
ar[i] = from[i];
|
|
1115
1119
|
}
|
|
1116
1120
|
}
|
|
1117
|
-
return to.concat(ar || from);
|
|
1121
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1118
1122
|
}
|
|
1119
1123
|
function __await(v) {
|
|
1120
1124
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -1195,6 +1199,11 @@
|
|
|
1195
1199
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1196
1200
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1197
1201
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
1202
|
+
}
|
|
1203
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
1204
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
1205
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
1206
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
1198
1207
|
}
|
|
1199
1208
|
|
|
1200
1209
|
var FrequencyService = /** @class */ (function () {
|
|
@@ -2055,7 +2064,7 @@
|
|
|
2055
2064
|
WorkflowRiskComponent.prototype.getRiskDetails = function (riskId) {
|
|
2056
2065
|
var _this = this;
|
|
2057
2066
|
this.riskService.getRiskDetail(riskId).subscribe(function (res) {
|
|
2058
|
-
var _a, _b, _c, _d, _e, _f;
|
|
2067
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
2059
2068
|
_this.loader = false;
|
|
2060
2069
|
_this.uiKitService.isLoader = false;
|
|
2061
2070
|
_this.editDetails = lodash.cloneDeep(res);
|
|
@@ -2085,13 +2094,13 @@
|
|
|
2085
2094
|
_this.riskForm.overseersGroupList = _this.setList(_this.groupsList, res === null || res === void 0 ? void 0 : res.overseergroup_ids, '_id');
|
|
2086
2095
|
_this.riskForm.mitigation = (res === null || res === void 0 ? void 0 : res.mitigation) ? res === null || res === void 0 ? void 0 : res.mitigation : (_d = _this.riskForm) === null || _d === void 0 ? void 0 : _d.mitigation;
|
|
2087
2096
|
_this.riskForm.assessment_deadline_days = res.assessment_deadline_days;
|
|
2088
|
-
_this.riskForm.addOverseer = (res.manage_oversight.length > 0) ? true : false;
|
|
2097
|
+
_this.riskForm.addOverseer = (res.manage_oversight.length > 0 || ((_e = res === null || res === void 0 ? void 0 : res.overseergroup_ids) === null || _e === void 0 ? void 0 : _e.length) > 0) ? true : false;
|
|
2089
2098
|
_this.riskForm.addMitigation = (res.mitigation) ? true : false;
|
|
2090
2099
|
// this.memberId = res.member_id;
|
|
2091
2100
|
_this.organizationId = res.organisation_id;
|
|
2092
2101
|
_this.riskForm.head_ids = (res === null || res === void 0 ? void 0 : res.head_ids) ? res === null || res === void 0 ? void 0 : res.head_ids : [];
|
|
2093
|
-
_this.riskForm.mitigationDescriptionPlan = (
|
|
2094
|
-
_this.riskForm.addMitigationPlan = ((
|
|
2102
|
+
_this.riskForm.mitigationDescriptionPlan = (_f = res === null || res === void 0 ? void 0 : res.mitigation_plan_recommendation) !== null && _f !== void 0 ? _f : '';
|
|
2103
|
+
_this.riskForm.addMitigationPlan = ((_g = res === null || res === void 0 ? void 0 : res.mitigation_plan_recommendation.trim()) === null || _g === void 0 ? void 0 : _g.length) ? true : false;
|
|
2095
2104
|
_this.riskForm.addRiskLabel = (res.risk_label) ? true : false;
|
|
2096
2105
|
if (res.assessment_date_timestamp) {
|
|
2097
2106
|
_this.date = new Date(res.assessment_date);
|