tnx-shared 5.3.238 → 5.3.240

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.
@@ -15475,6 +15475,7 @@ class DataFormBase extends ComponentBaseWithButton {
15475
15475
  this.saving = false;
15476
15476
  this.getDetailPlusUrl = null;
15477
15477
  this.insertPlusUrl = null;
15478
+ this.updatePlusUrl = null;
15478
15479
  this.dynamicControl = {};
15479
15480
  this.setValidateForm = true;
15480
15481
  this.haveEntityMetadataAPI = true;
@@ -16053,7 +16054,7 @@ class DataFormBase extends ComponentBaseWithButton {
16053
16054
  handleUpdateError() {
16054
16055
  }
16055
16056
  getPromiseActionUpdate() {
16056
- return this.setting.baseService.put(this.model.data.id.toString(), this.model.data);
16057
+ return this.setting.baseService.put(this.model.data.id.toString(), this.model.data, this.updatePlusUrl);
16057
16058
  }
16058
16059
  setDefaultValue(model) {
16059
16060
  var _a, _b;
@@ -21970,7 +21971,7 @@ class CommonSearchFormComponent extends DataFormBase {
21970
21971
  const result = [];
21971
21972
  const totalControlPerRow = 12 / this.mdWidth;
21972
21973
  columns.forEach(column => {
21973
- var _a;
21974
+ var _a, _b;
21974
21975
  if (!column.isInTable || !column.includeSelect) {
21975
21976
  this.lstControlNotIn.push(column.field);
21976
21977
  }
@@ -22014,7 +22015,7 @@ class CommonSearchFormComponent extends DataFormBase {
22014
22015
  }
22015
22016
  }
22016
22017
  else {
22017
- const addColumn = Object.assign(Object.assign({}, column), { placeholder: column.label, showLabel: false, defaultValue: [undefined, undefined], mdWidth: this.mdWidth });
22018
+ const addColumn = Object.assign(Object.assign({}, column), { placeholder: (_b = column.placeholder) !== null && _b !== void 0 ? _b : `Chọn ${column.label}`, showLabel: false, defaultValue: [undefined, undefined], mdWidth: this.mdWidth });
22018
22019
  switch (column.dataType) {
22019
22020
  case DataType.date:
22020
22021
  case DataType.datetime: