@magic-xpa/angular 4.801.6 → 4.801.8

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.
@@ -270,8 +270,8 @@ class EngineMagicService {
270
270
  GetControlPictureMask(taskId, controlName) {
271
271
  return this.magicBridge.GetControlPictureMask(taskId, controlName);
272
272
  }
273
- GetFormattedValue(taskId, controlName, value) {
274
- return this.magicBridge.GetFormattedValue(taskId, controlName, value);
273
+ GetFormattedValue(taskId, controlName, value, rowId) {
274
+ return this.magicBridge.GetFormattedValue(taskId, controlName, value, rowId);
275
275
  }
276
276
  ValidateControlValue(taskId, controlName, value) {
277
277
  return this.magicBridge.ValidateControlValue(taskId, controlName, value);
@@ -1752,8 +1752,8 @@ class TaskMagicService {
1752
1752
  guiRowId = '0';
1753
1753
  return this.Records.list.length > +guiRowId ? this.Records.list[guiRowId].values[controlId] : '';
1754
1754
  }
1755
- getFormattedValue(controlName, val) {
1756
- return this.magic.GetFormattedValue(this.taskId, controlName, val);
1755
+ getFormattedValue(controlName, val, rowId) {
1756
+ return this.magic.GetFormattedValue(this.taskId, controlName, val, rowId);
1757
1757
  }
1758
1758
  setValue(controlId, guiRowId, value) {
1759
1759
  return this.Records.list[guiRowId].setValue(controlId, value);
@@ -2439,7 +2439,7 @@ class AccessorMagicService {
2439
2439
  }
2440
2440
  getFormattedValue(controlId, rowId) {
2441
2441
  let val = this.task.getValue(controlId, rowId);
2442
- val = this.task.getFormattedValue(controlId, val);
2442
+ val = this.task.getFormattedValue(controlId, val, rowId);
2443
2443
  return val;
2444
2444
  }
2445
2445
  getPicture(controlId, rowId) {
@@ -4369,7 +4369,7 @@ class MgDateAdapter extends NativeDateAdapter {
4369
4369
  }
4370
4370
  if (month == 0 && year == 0 && date == 0)
4371
4371
  return null;
4372
- return new Date(Date.UTC(year, month, date));
4372
+ return new Date(year, month, date);
4373
4373
  }
4374
4374
  }
4375
4375
  format(date, displayFormat) {