tnx-shared 5.1.566 → 5.1.568

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.
@@ -33702,6 +33702,7 @@
33702
33702
  var _this = this;
33703
33703
  var result = [];
33704
33704
  columns.forEach(function (column) {
33705
+ var _a;
33705
33706
  if (!column.isInTable || !column.includeSelect) {
33706
33707
  _this.lstControlNotIn.push(column.field);
33707
33708
  }
@@ -33719,7 +33720,7 @@
33719
33720
  });
33720
33721
  }
33721
33722
  if (column.baseService || (dataSource && dataSource.length > 0)) {
33722
- result.push(new DropdownControlSchema(Object.assign(Object.assign({}, column), { placeholder: "Ch\u1ECDn " + column.label, multiple: !column.single, dataSource: dataSource, mdWidth: _this.mdWidth, showLabel: false, loadOnInit: true, showClear: true, onChanged: function (evt) {
33723
+ result.push(new DropdownControlSchema(Object.assign(Object.assign({}, column), { placeholder: (_a = column.placeholder) !== null && _a !== void 0 ? _a : "Ch\u1ECDn " + column.label, multiple: !column.single, dataSource: dataSource, mdWidth: _this.mdWidth, showLabel: false, loadOnInit: true, showClear: true, onChanged: function (evt) {
33723
33724
  if (column.dataType == exports.DataType.boolean) {
33724
33725
  evt.parentModel[column.field] = evt.value.map(function (p) { return p.id; });
33725
33726
  }
@@ -44681,7 +44682,9 @@
44681
44682
  var CanBoHoSoService = /** @class */ (function (_super) {
44682
44683
  __extends(CanBoHoSoService, _super);
44683
44684
  function CanBoHoSoService(http, injector, _moduleConfigService, _translateService, _userService, _canBo_HoSo_CoCauToChucService, _coCauToChucService, _hoSoDoiTacService, _crudService) {
44684
- var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain.canboEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/CanBo_HoSo") || this;
44685
+ var _this = this;
44686
+ var _a;
44687
+ _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain.canboEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/CanBo_HoSo") || this;
44685
44688
  _this._translateService = _translateService;
44686
44689
  _this._userService = _userService;
44687
44690
  _this._canBo_HoSo_CoCauToChucService = _canBo_HoSo_CoCauToChucService;
@@ -44694,7 +44697,7 @@
44694
44697
  _this.endPoint = _moduleConfigService.getConfig().environment.apiDomain.canboEndpoint;
44695
44698
  _this.environment = _moduleConfigService.getConfig().environment;
44696
44699
  _this.endPoint = _this.environment.apiDomain.canboEndpoint;
44697
- var version = _this.environment.cauHinhNghiepVu.versionEntityColumns;
44700
+ var version = (_a = _this.environment.cauHinhNghiepVu) === null || _a === void 0 ? void 0 : _a.versionColumnPickerCanBo;
44698
44701
  if (version) {
44699
44702
  _this.lstEntityPickerColumn = _this.defaultEntityColumnDict["v" + version];
44700
44703
  }