tnx-shared 5.3.281 → 5.3.283
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.
- package/bundles/tnx-shared.umd.js +5 -1
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/components/user-picker/user-picker.component.d.ts +1 -0
- package/components/user-picker/user-picker.component.d.ts.map +1 -1
- package/esm2015/components/user-picker/user-picker.component.js +6 -2
- package/fesm2015/tnx-shared.js +5 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -54591,11 +54591,15 @@
|
|
|
54591
54591
|
temp.label = item[this.controlPicker.displayField];
|
|
54592
54592
|
}
|
|
54593
54593
|
else {
|
|
54594
|
-
|
|
54594
|
+
var tenDonVi = item.lstTenDonVi && item.lstTenDonVi.length > 0 ? item.lstTenDonVi.split(',')[0] : '';
|
|
54595
|
+
temp.label = (item.maChucVu ? item.maChucVu + ". " : '') + ("" + (temp.label || this.getDisplayName(item))) + (tenDonVi ? " - " + tenDonVi : '');
|
|
54595
54596
|
}
|
|
54596
54597
|
temp.value._dropdownvalue = this.controlPicker.valueField;
|
|
54597
54598
|
return temp;
|
|
54598
54599
|
};
|
|
54600
|
+
UserPickerComponent.prototype.getDisplayName = function (item) {
|
|
54601
|
+
return item.displayName ? item.displayName : item.fullNameNew;
|
|
54602
|
+
};
|
|
54599
54603
|
UserPickerComponent.prototype.writeValue = function (obj) {
|
|
54600
54604
|
return __awaiter(this, void 0, void 0, function () {
|
|
54601
54605
|
var filters, value;
|