vcomply-workflow-engine 2.6.110 → 2.6.111
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 -6
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.js +2 -2
- package/esm2015/lib/sharedComponents/frequency-dialog/frequency-dialog-due-date/frequency-dialog-due-date.component.js +11 -6
- package/fesm2015/vcomply-workflow-engine.js +11 -6
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/package.json +1 -1
|
@@ -9279,7 +9279,7 @@
|
|
|
9279
9279
|
frequency_details: {
|
|
9280
9280
|
frequency: frequencyValue,
|
|
9281
9281
|
started_at: (_x = _this.changeTimeZone(new Date)) !== null && _x !== void 0 ? _x : moment__namespace().format("YYYY-MM-DD"),
|
|
9282
|
-
frequency_time: "11:
|
|
9282
|
+
frequency_time: "11:00 pm",
|
|
9283
9283
|
remind_before_days: (risk === null || risk === void 0 ? void 0 : risk.emailReminder) ? risk === null || risk === void 0 ? void 0 : risk.emailReminder : _this.setDefaultEmailReminderValue(risk === null || risk === void 0 ? void 0 : risk.frequency),
|
|
9284
9284
|
},
|
|
9285
9285
|
risk_label: _this.setRiskLabel(risk === null || risk === void 0 ? void 0 : risk.riskLabel),
|
|
@@ -30449,7 +30449,7 @@
|
|
|
30449
30449
|
var FrequencyDialogDueDateComponent = /** @class */ (function () {
|
|
30450
30450
|
function FrequencyDialogDueDateComponent() {
|
|
30451
30451
|
this.mode = '';
|
|
30452
|
-
this.defaultWindow =
|
|
30452
|
+
this.defaultWindow = 1;
|
|
30453
30453
|
this.defaultFailed = 0;
|
|
30454
30454
|
this.defaultDeactivate = 0;
|
|
30455
30455
|
this.completedValue = 5; // take input for completed
|
|
@@ -30461,25 +30461,30 @@
|
|
|
30461
30461
|
}
|
|
30462
30462
|
;
|
|
30463
30463
|
;
|
|
30464
|
-
;
|
|
30465
30464
|
FrequencyDialogDueDateComponent.prototype.ngOnInit = function () {
|
|
30466
30465
|
};
|
|
30467
30466
|
FrequencyDialogDueDateComponent.prototype.onValueChange = function (event, actionType) {
|
|
30468
|
-
|
|
30467
|
+
var _a, _b, _c, _d;
|
|
30468
|
+
if (!Number.isNaN(Number((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.value)) && parseInt((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.value) > 0) {
|
|
30469
30469
|
console.log({
|
|
30470
30470
|
type: actionType,
|
|
30471
|
-
value: Number(event.target.value),
|
|
30471
|
+
value: Number((_c = event === null || event === void 0 ? void 0 : event.target) === null || _c === void 0 ? void 0 : _c.value),
|
|
30472
30472
|
pageName: this.pageName,
|
|
30473
30473
|
}, "dsdsdsdsdsd");
|
|
30474
30474
|
this.valueChange.emit({
|
|
30475
30475
|
type: actionType,
|
|
30476
|
-
value: Number(event.target.value),
|
|
30476
|
+
value: Number((_d = event === null || event === void 0 ? void 0 : event.target) === null || _d === void 0 ? void 0 : _d.value),
|
|
30477
30477
|
pageName: this.pageName,
|
|
30478
30478
|
});
|
|
30479
30479
|
}
|
|
30480
30480
|
else {
|
|
30481
30481
|
if (actionType === 'completed') {
|
|
30482
30482
|
this.completedValue = this.defaultWindow;
|
|
30483
|
+
this.valueChange.emit({
|
|
30484
|
+
type: actionType,
|
|
30485
|
+
value: this.defaultWindow,
|
|
30486
|
+
pageName: this.pageName,
|
|
30487
|
+
});
|
|
30483
30488
|
}
|
|
30484
30489
|
}
|
|
30485
30490
|
};
|