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.
@@ -15980,7 +15980,8 @@ class DataFormBase extends ComponentBaseWithButton {
15980
15980
  || !(control instanceof AutoCompletePickerControlSchema))
15981
15981
  continue;
15982
15982
  this.logSetting.arrValueAfterUpdate.push(new LogColumn({
15983
- column: control.label,
15983
+ field: control.field,
15984
+ label: control.label,
15984
15985
  valueBefore: control._component.dataSource.map(p => p.label).join(', '),
15985
15986
  visible: false,
15986
15987
  valueAfter: ''
@@ -16115,7 +16116,7 @@ class DataFormBase extends ComponentBaseWithButton {
16115
16116
  }
16116
16117
  addSinglePropertyLog(control, oldValue, newValue) {
16117
16118
  if (control instanceof AutoCompletePickerControlSchema) {
16118
- const logColumn = this.logSetting.arrValueAfterUpdate.find(p => p.column == control.label);
16119
+ const logColumn = this.logSetting.arrValueAfterUpdate.find(p => p.field == control.field);
16119
16120
  let dataSource = control._component.selectedValueObject;
16120
16121
  if (!Array.isArray(dataSource))
16121
16122
  dataSource = [dataSource];
@@ -16125,7 +16126,8 @@ class DataFormBase extends ComponentBaseWithButton {
16125
16126
  else {
16126
16127
  const dataSource = control._component.dataSourceInternal;
16127
16128
  this.logSetting.arrValueAfterUpdate.push(new LogColumn({
16128
- column: control.label,
16129
+ field: control.field,
16130
+ label: control.label,
16129
16131
  valueBefore: this.getSingleLabel(control, dataSource, oldValue),
16130
16132
  valueAfter: this.getSingleLabel(control, dataSource, newValue)
16131
16133
  }));
@@ -16133,14 +16135,15 @@ class DataFormBase extends ComponentBaseWithButton {
16133
16135
  }
16134
16136
  addMultiplePropertyLog(control, oldValue, newValue) {
16135
16137
  if (control instanceof AutoCompletePickerControlSchema) {
16136
- const logColumn = this.logSetting.arrValueAfterUpdate.find(p => p.column == control.label);
16138
+ const logColumn = this.logSetting.arrValueAfterUpdate.find(p => p.field == control.field);
16137
16139
  logColumn.visible = true;
16138
16140
  logColumn.valueAfter = this.getMultipleLabel(control, control._component.selectedValueObject, newValue);
16139
16141
  }
16140
16142
  else {
16141
16143
  const dataSource = control._component.dataSourceInternal;
16142
16144
  this.logSetting.arrValueAfterUpdate.push(new LogColumn({
16143
- column: control.label,
16145
+ field: control.field,
16146
+ label: control.label,
16144
16147
  valueBefore: this.getMultipleLabel(control, dataSource, oldValue),
16145
16148
  valueAfter: this.getMultipleLabel(control, dataSource, newValue)
16146
16149
  }));
@@ -16189,7 +16192,8 @@ class DataFormBase extends ComponentBaseWithButton {
16189
16192
  if (oldValue != newValue) {
16190
16193
  const [valueBefore, valueAfter] = this.getLogValueDefault(control, oldValue, newValue);
16191
16194
  this.logSetting.arrValueAfterUpdate.push(new LogColumn({
16192
- column: control.label,
16195
+ field: control.field,
16196
+ label: control.label,
16193
16197
  valueBefore: valueBefore,
16194
16198
  valueAfter: valueAfter,
16195
16199
  isHtml: (control instanceof EditorControlSchema || control instanceof TextAreaControlSchema)