tnx-shared 5.3.311 → 5.3.312

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.
@@ -19086,7 +19086,8 @@
19086
19086
  || !(control instanceof AutoCompletePickerControlSchema))
19087
19087
  continue;
19088
19088
  _this.logSetting.arrValueAfterUpdate.push(new LogColumn({
19089
- column: control.label,
19089
+ field: control.field,
19090
+ label: control.label,
19090
19091
  valueBefore: control._component.dataSource.map(function (p) { return p.label; }).join(', '),
19091
19092
  visible: false,
19092
19093
  valueAfter: ''
@@ -19288,7 +19289,7 @@
19288
19289
  };
19289
19290
  DataFormBase.prototype.addSinglePropertyLog = function (control, oldValue, newValue) {
19290
19291
  if (control instanceof AutoCompletePickerControlSchema) {
19291
- var logColumn = this.logSetting.arrValueAfterUpdate.find(function (p) { return p.column == control.label; });
19292
+ var logColumn = this.logSetting.arrValueAfterUpdate.find(function (p) { return p.field == control.field; });
19292
19293
  var dataSource = control._component.selectedValueObject;
19293
19294
  if (!Array.isArray(dataSource))
19294
19295
  dataSource = [dataSource];
@@ -19298,7 +19299,8 @@
19298
19299
  else {
19299
19300
  var dataSource = control._component.dataSourceInternal;
19300
19301
  this.logSetting.arrValueAfterUpdate.push(new LogColumn({
19301
- column: control.label,
19302
+ field: control.field,
19303
+ label: control.label,
19302
19304
  valueBefore: this.getSingleLabel(control, dataSource, oldValue),
19303
19305
  valueAfter: this.getSingleLabel(control, dataSource, newValue)
19304
19306
  }));
@@ -19306,14 +19308,15 @@
19306
19308
  };
19307
19309
  DataFormBase.prototype.addMultiplePropertyLog = function (control, oldValue, newValue) {
19308
19310
  if (control instanceof AutoCompletePickerControlSchema) {
19309
- var logColumn = this.logSetting.arrValueAfterUpdate.find(function (p) { return p.column == control.label; });
19311
+ var logColumn = this.logSetting.arrValueAfterUpdate.find(function (p) { return p.field == control.field; });
19310
19312
  logColumn.visible = true;
19311
19313
  logColumn.valueAfter = this.getMultipleLabel(control, control._component.selectedValueObject, newValue);
19312
19314
  }
19313
19315
  else {
19314
19316
  var dataSource = control._component.dataSourceInternal;
19315
19317
  this.logSetting.arrValueAfterUpdate.push(new LogColumn({
19316
- column: control.label,
19318
+ field: control.field,
19319
+ label: control.label,
19317
19320
  valueBefore: this.getMultipleLabel(control, dataSource, oldValue),
19318
19321
  valueAfter: this.getMultipleLabel(control, dataSource, newValue)
19319
19322
  }));
@@ -19365,7 +19368,8 @@
19365
19368
  if (oldValue != newValue) {
19366
19369
  var _h = __read(this.getLogValueDefault(control, oldValue, newValue), 2), valueBefore = _h[0], valueAfter = _h[1];
19367
19370
  this.logSetting.arrValueAfterUpdate.push(new LogColumn({
19368
- column: control.label,
19371
+ field: control.field,
19372
+ label: control.label,
19369
19373
  valueBefore: valueBefore,
19370
19374
  valueAfter: valueAfter,
19371
19375
  isHtml: (control instanceof EditorControlSchema || control instanceof TextAreaControlSchema)