tnx-shared 5.3.75 → 5.3.76
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 +3 -2
- 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/classes/base/list-component-base.d.ts.map +1 -1
- package/esm2015/classes/base/list-component-base.js +3 -2
- package/esm2015/services/canbo-hoso.service.js +2 -2
- package/fesm2015/tnx-shared.js +3 -2
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/services/canbo-hoso.service.d.ts.map +1 -1
|
@@ -21895,7 +21895,8 @@
|
|
|
21895
21895
|
_this.handleCheckRowData = function (rowData, trElement, fireEvent) {
|
|
21896
21896
|
if (trElement === void 0) { trElement = null; }
|
|
21897
21897
|
if (fireEvent === void 0) { fireEvent = true; }
|
|
21898
|
-
var
|
|
21898
|
+
var dataSource = _this.isTreeTable ? _this.model.dataSource.map(function (item) { return item.data; }) : _this.model.dataSource;
|
|
21899
|
+
var indexHasRowSpan = _this._commonService.findLastIndex(dataSource, function (x, i) { return Object.values(x.rowSpan).length > 0 && i <= rowData._indexInDataSource; });
|
|
21899
21900
|
if (!rowData._checked) {
|
|
21900
21901
|
_this.model.selectedItem = null;
|
|
21901
21902
|
var indexHasRowSpanUnChecked = _this._commonService.findLastIndex(_this.model.selectedItems, function (x, i) { return Object.values(x.rowSpan).length > 0 && i <= rowData._indexInDataSource; });
|
|
@@ -45127,7 +45128,7 @@
|
|
|
45127
45128
|
};
|
|
45128
45129
|
CanBoHoSoService.prototype.generatePickerControlSchema = function (control) {
|
|
45129
45130
|
var _this = this;
|
|
45130
|
-
var result = new AutoCompletePickerControlSchema(Object.assign({ field: 'idCanBo', label: 'Cán bộ', title: 'Chọn cán bộ', multiple: false, baseService: this, plusUrl: 'WithChucDanhChucVu', displayField: 'hoVaTen', fieldPlus: 'code', funcGetLabel: function (item) {
|
|
45131
|
+
var result = new AutoCompletePickerControlSchema(Object.assign({ field: 'idCanBo', label: 'Cán bộ', title: 'Chọn cán bộ', multiple: false, baseService: this, plusUrl: 'WithChucDanhChucVu', displayField: 'hoVaTen', fieldPlus: 'code', fieldSearchText: ['email', 'code'], funcGetLabel: function (item) {
|
|
45131
45132
|
var result = item.hoVaTen;
|
|
45132
45133
|
if (item.code) {
|
|
45133
45134
|
result = item.code + " - " + result + " ";
|