vcomply-workflow-engine 2.6.112 → 2.6.114
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 +16 -25
- 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/sharedComponents/frequency-dialog/frequency-dialog-one-time/frequency-dialog-one-time.component.js +11 -11
- 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-services/add-risk.service.js +3 -3
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +4 -4
- package/fesm2015/vcomply-workflow-engine.js +12 -12
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/package.json +2 -2
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -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 () {
|
|
@@ -1748,7 +1739,7 @@
|
|
|
1748
1739
|
AddRiskService.prototype.addRisk = function (payload) {
|
|
1749
1740
|
var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
1750
1741
|
return this.http
|
|
1751
|
-
.post(this.env.
|
|
1742
|
+
.post(this.env.riskPost + 'risk/CreateRisk', payload, { headers: headers })
|
|
1752
1743
|
.pipe(operators.retry(2));
|
|
1753
1744
|
};
|
|
1754
1745
|
AddRiskService.prototype.addBulkRisk = function (payload) {
|
|
@@ -1767,7 +1758,7 @@
|
|
|
1767
1758
|
.post(this.env.risk + 'risk/CreateRisk&RiskId=' + riskId, payload, { headers: headers })
|
|
1768
1759
|
.pipe(operators.retry(2));
|
|
1769
1760
|
};
|
|
1770
|
-
//To get groupList
|
|
1761
|
+
//To get groupList
|
|
1771
1762
|
AddRiskService.prototype.getGroupsList = function () {
|
|
1772
1763
|
var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
1773
1764
|
return this.http
|
|
@@ -31337,7 +31328,7 @@
|
|
|
31337
31328
|
|
|
31338
31329
|
var FrequencyDialogOneTimeComponent = /** @class */ (function () {
|
|
31339
31330
|
function FrequencyDialogOneTimeComponent(frequencyService) {
|
|
31340
|
-
var _a;
|
|
31331
|
+
var _a, _b, _c, _d, _e;
|
|
31341
31332
|
this.frequencyService = frequencyService;
|
|
31342
31333
|
this.datepickerOverlay = false;
|
|
31343
31334
|
this.showDateError = false;
|
|
@@ -31345,23 +31336,23 @@
|
|
|
31345
31336
|
this.oneTimeWindow = 15;
|
|
31346
31337
|
this.oneTimeStartTime = '11:00 pm';
|
|
31347
31338
|
this.oneTimeSelected = '';
|
|
31348
|
-
this.todayDate = this.frequencyService.changeTimeZone(new Date());
|
|
31339
|
+
this.todayDate = this.frequencyService.changeTimeZone((_a = new Date()) === null || _a === void 0 ? void 0 : _a.setDate(((_b = new Date()) === null || _b === void 0 ? void 0 : _b.getDate()) + 1));
|
|
31349
31340
|
this.shortMonth = [];
|
|
31350
|
-
this.dateObjectData = this.frequencyService.changeTimeZone(new Date());
|
|
31351
|
-
this.minDate = (
|
|
31341
|
+
this.dateObjectData = this.frequencyService.changeTimeZone((_c = new Date()) === null || _c === void 0 ? void 0 : _c.setDate(((_d = new Date()) === null || _d === void 0 ? void 0 : _d.getDate()) + 1));
|
|
31342
|
+
this.minDate = (_e = moment__namespace(Date.now()).format('YYYY-MM-DD HH:mm:ss')) === null || _e === void 0 ? void 0 : _e.split(' ')[0];
|
|
31352
31343
|
this.mode = '';
|
|
31353
31344
|
this.frequencyDetails = new i0.EventEmitter();
|
|
31354
31345
|
}
|
|
31355
31346
|
FrequencyDialogOneTimeComponent.prototype.ngOnInit = function () {
|
|
31356
|
-
var _a, _b, _c, _d, _e;
|
|
31347
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
31357
31348
|
this.dateConfig = this.frequencyService.dateConfig;
|
|
31358
|
-
this.dateConfig['min'] = (
|
|
31349
|
+
this.dateConfig['min'] = (_d = (_c = this.frequencyService.changeTimeZone((_a = new Date()) === null || _a === void 0 ? void 0 : _a.setDate(((_b = new Date()) === null || _b === void 0 ? void 0 : _b.getDate()) + 1))) === null || _c === void 0 ? void 0 : _c.getDate()) === null || _d === void 0 ? void 0 : _d.toString();
|
|
31359
31350
|
this.frequencyInfo = Object.assign(this.frequencyService.frequencyInfo);
|
|
31360
31351
|
this.shortMonth = this.frequencyService.monthArray.map(function (month) { return month.substring(0, 3); });
|
|
31361
31352
|
this.selectedDate = moment__namespace(this.todayDate);
|
|
31362
31353
|
console.log("this.dateConfig ", this.dateConfig, this.todayDate);
|
|
31363
|
-
console.log("this.frequencyData ==>", this.frequencyData, (
|
|
31364
|
-
if (((
|
|
31354
|
+
console.log("this.frequencyData ==>", this.frequencyData, (_e = this.frequencyData) === null || _e === void 0 ? void 0 : _e.pattern.split('~'));
|
|
31355
|
+
if (((_f = this.frequencyData) === null || _f === void 0 ? void 0 : _f.pattern) != '' && ((_g = this.frequencyData) === null || _g === void 0 ? void 0 : _g.pattern.split('~')[0]) === '0') {
|
|
31365
31356
|
this.populateFrequency();
|
|
31366
31357
|
}
|
|
31367
31358
|
else {
|
|
@@ -31431,7 +31422,7 @@
|
|
|
31431
31422
|
this.getOneTimeFrequency();
|
|
31432
31423
|
};
|
|
31433
31424
|
FrequencyDialogOneTimeComponent.prototype.getOneTimeFrequency = function () {
|
|
31434
|
-
var _a, _b, _c;
|
|
31425
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
31435
31426
|
if (this.oneTimeSelected !== '') {
|
|
31436
31427
|
this.todayDate = moment__namespace(this.todayDate).toDate();
|
|
31437
31428
|
}
|
|
@@ -31440,7 +31431,7 @@
|
|
|
31440
31431
|
this.frequencyInfo.placeholder =
|
|
31441
31432
|
'One Time ' + this.todayDate.getDate() + ' ' + this.shortMonth[this.todayDate.getMonth()] + ' ' + this.todayDate.getFullYear() + ' by ' + this.oneTimeStartTime;
|
|
31442
31433
|
this.frequencyInfo.pattern =
|
|
31443
|
-
0 + '~' + (this.oneTimeSelected === '' ? ((
|
|
31434
|
+
0 + '~' + (this.oneTimeSelected === '' ? ((_c = this.frequencyService.changeTimeZone((_a = new Date()) === null || _a === void 0 ? void 0 : _a.setDate(((_b = new Date()) === null || _b === void 0 ? void 0 : _b.getDate()) + 1))) === null || _c === void 0 ? void 0 : _c.getFullYear()) + '~' + (((_f = this.frequencyService.changeTimeZone((_d = new Date()) === null || _d === void 0 ? void 0 : _d.setDate(((_e = new Date()) === null || _e === void 0 ? void 0 : _e.getDate()) + 1))) === null || _f === void 0 ? void 0 : _f.getMonth()) + 1) + '~' + ((_j = this.frequencyService.changeTimeZone((_g = new Date()) === null || _g === void 0 ? void 0 : _g.setDate(((_h = new Date()) === null || _h === void 0 ? void 0 : _h.getDate()) + 1))) === null || _j === void 0 ? void 0 : _j.getDate()) : this.oneTimeSelected);
|
|
31444
31435
|
this.frequencyInfo.case = 'oneTime';
|
|
31445
31436
|
this.frequencyInfo.failedAfter = this.oneTimeFailed;
|
|
31446
31437
|
this.frequencyInfo.window = this.oneTimeWindow;
|