vcomply-workflow-engine 2.6.134 → 2.6.135
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 +13 -14
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.js +10 -2
- 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.ngfactory.js +5 -5
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +4 -4
- package/fesm2015/vcomply-workflow-engine.js +9 -1
- 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 (_)
|
|
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,11 +1041,7 @@
|
|
|
1041
1041
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
1042
1042
|
if (k2 === undefined)
|
|
1043
1043
|
k2 = k;
|
|
1044
|
-
|
|
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);
|
|
1044
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
1049
1045
|
}) : (function (o, m, k, k2) {
|
|
1050
1046
|
if (k2 === undefined)
|
|
1051
1047
|
k2 = k;
|
|
@@ -1118,7 +1114,7 @@
|
|
|
1118
1114
|
ar[i] = from[i];
|
|
1119
1115
|
}
|
|
1120
1116
|
}
|
|
1121
|
-
return to.concat(ar ||
|
|
1117
|
+
return to.concat(ar || from);
|
|
1122
1118
|
}
|
|
1123
1119
|
function __await(v) {
|
|
1124
1120
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -1199,11 +1195,6 @@
|
|
|
1199
1195
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1200
1196
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1201
1197
|
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);
|
|
1207
1198
|
}
|
|
1208
1199
|
|
|
1209
1200
|
var FrequencyService = /** @class */ (function () {
|
|
@@ -9243,7 +9234,15 @@
|
|
|
9243
9234
|
var payload = [];
|
|
9244
9235
|
this.riskBulkUpload.risks.forEach(function (risk) {
|
|
9245
9236
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
9246
|
-
var frequencyValue =
|
|
9237
|
+
var frequencyValue = '';
|
|
9238
|
+
if ((risk === null || risk === void 0 ? void 0 : risk.frequency.toLowerCase()) === 'one time') {
|
|
9239
|
+
var date = new Date();
|
|
9240
|
+
date.setDate(date.getDate() + 1);
|
|
9241
|
+
frequencyValue = '0~' + '' + date.getFullYear() + '~' + (date.getMonth() + 1) + '~' + date.getDate();
|
|
9242
|
+
}
|
|
9243
|
+
else {
|
|
9244
|
+
frequencyValue = _this.frequencyService.shortHand_freqCal(risk === null || risk === void 0 ? void 0 : risk.frequency);
|
|
9245
|
+
}
|
|
9247
9246
|
if (risk.isValid) {
|
|
9248
9247
|
var obj = {
|
|
9249
9248
|
title: risk === null || risk === void 0 ? void 0 : risk.riskName,
|