tnx-shared 5.3.282 → 5.3.284

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.
@@ -32897,6 +32897,9 @@
32897
32897
  else {
32898
32898
  this.funcReturnValue = function (value) { return value; };
32899
32899
  }
32900
+ if (this._value && this.dataSourceInternal) {
32901
+ this.getValueReturn();
32902
+ }
32900
32903
  };
32901
32904
  DropdownComponent.prototype.getDelaySearchTime = function () {
32902
32905
  var jsDropdownSetting = localStorage.getItem(KeyStorageDropdownSetting);
@@ -37799,6 +37802,7 @@
37799
37802
  formData.append('entity', this.entity);
37800
37803
  formData.append('entityKey', this.entityKey);
37801
37804
  formData.append('isMultiple', 'false');
37805
+ formData.append('isPublic', "" + this.control.isPublic);
37802
37806
  formData.append('file', this.selectedFile);
37803
37807
  this.loading = true;
37804
37808
  this.setNoti('Đang tải file lên...');
@@ -54592,11 +54596,14 @@
54592
54596
  }
54593
54597
  else {
54594
54598
  var tenDonVi = item.lstTenDonVi && item.lstTenDonVi.length > 0 ? item.lstTenDonVi.split(',')[0] : '';
54595
- temp.label = (item.maChucVu ? item.maChucVu + ". " : '') + ("" + temp.label) + (tenDonVi ? " - " + tenDonVi : '');
54599
+ temp.label = (item.maChucVu ? item.maChucVu + ". " : '') + ("" + (temp.label || this.getDisplayName(item))) + (tenDonVi ? " - " + tenDonVi : '');
54596
54600
  }
54597
54601
  temp.value._dropdownvalue = this.controlPicker.valueField;
54598
54602
  return temp;
54599
54603
  };
54604
+ UserPickerComponent.prototype.getDisplayName = function (item) {
54605
+ return item.displayName ? item.displayName : item.fullNameNew;
54606
+ };
54600
54607
  UserPickerComponent.prototype.writeValue = function (obj) {
54601
54608
  return __awaiter(this, void 0, void 0, function () {
54602
54609
  var filters, value;