tnx-shared 5.3.340 → 5.3.342
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 +9 -5
- 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/form-schema.d.ts +1 -0
- package/classes/form-schema.d.ts.map +1 -1
- package/components/autocomplete-picker/autocomplete-picker.component.d.ts.map +1 -1
- package/components/cocautochuc/cocautochuc-picker-list/cocautochuc-picker-list.component.d.ts.map +1 -1
- package/components/entity-picker/entity-picker.component.d.ts.map +1 -1
- package/esm2015/classes/form-schema.js +1 -1
- package/esm2015/components/autocomplete-picker/autocomplete-picker.component.js +2 -1
- package/esm2015/components/cocautochuc/cocautochuc-picker-list/cocautochuc-picker-list.component.js +2 -2
- package/esm2015/components/entity-picker/entity-picker.component.js +5 -2
- package/esm2015/services/hosodoitac.service.js +4 -4
- package/fesm2015/tnx-shared.js +9 -5
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/services/hosodoitac.service.d.ts.map +1 -1
- package/tnx-shared.metadata.json +1 -1
|
@@ -20380,12 +20380,12 @@
|
|
|
20380
20380
|
__extends(HoSoDoiTacService, _super);
|
|
20381
20381
|
function HoSoDoiTacService(http, injector, _moduleConfigService) {
|
|
20382
20382
|
var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain
|
|
20383
|
-
.
|
|
20383
|
+
.canboEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/HoSoDoiTac") || this;
|
|
20384
20384
|
_this._moduleConfigService = _moduleConfigService;
|
|
20385
20385
|
_this.entityName = 'HoSoDoiTac';
|
|
20386
|
-
_this.serviceCode = '
|
|
20386
|
+
_this.serviceCode = 'canbo';
|
|
20387
20387
|
_this.endPoint
|
|
20388
|
-
= _moduleConfigService.getConfig().environment.apiDomain.
|
|
20388
|
+
= _moduleConfigService.getConfig().environment.apiDomain.canboEndpoint;
|
|
20389
20389
|
return _this;
|
|
20390
20390
|
}
|
|
20391
20391
|
HoSoDoiTacService.prototype.genDropDownSchema = function (required, multiple, field, label, mdWidth, funcModifySchema) {
|
|
@@ -44545,6 +44545,7 @@
|
|
|
44545
44545
|
this.setting.hiddenSettingPermission = true;
|
|
44546
44546
|
this.setting.fieldSearchText = this.control.fieldSearchText;
|
|
44547
44547
|
this.setting.columnSetting.sortField = this.control.sortField;
|
|
44548
|
+
this.setting.columnSetting.sortDir = this.control.sortDir;
|
|
44548
44549
|
this.control.columns.forEach(function (column) {
|
|
44549
44550
|
if (column.isDisplay) {
|
|
44550
44551
|
var col = new ColumnSchemaBase(Object.assign(Object.assign({}, column), { visible: true, field: column.code || column.field, label: _this._translateService.instant(column.label) }));
|
|
@@ -45389,7 +45390,7 @@
|
|
|
45389
45390
|
}
|
|
45390
45391
|
CoCauToChucPickerListComponent.prototype.ngOnInit = function () {
|
|
45391
45392
|
this.control._component = this;
|
|
45392
|
-
this.controlPicker = new AutoCompletePickerControlSchema(Object.assign(Object.assign({}, this.control), { field: 'arrIdNguoiDung', label: 'Đơn vị', title: 'Chọn đơn vị', baseService: this._coCauToChucService, multiple: this.control.multiple, valueField: this.control.valueField, defaultFilters: this.control.defaultFilters, sortField: 'idDuongDan', required: true, columns: [
|
|
45393
|
+
this.controlPicker = new AutoCompletePickerControlSchema(Object.assign(Object.assign({}, this.control), { field: 'arrIdNguoiDung', label: 'Đơn vị', title: 'Chọn đơn vị', baseService: this._coCauToChucService, multiple: this.control.multiple, valueField: this.control.valueField, defaultFilters: this.control.defaultFilters, sortField: 'idDuongDan', sortDir: 1, required: true, columns: [
|
|
45393
45394
|
new EntityPickerColumn({
|
|
45394
45395
|
label: 'Tên đơn vị',
|
|
45395
45396
|
code: this.control.displayField,
|
|
@@ -47963,7 +47964,10 @@
|
|
|
47963
47964
|
if (this.control.useDefaultPluslUrlInList) {
|
|
47964
47965
|
this.plusUrl = this.control.plusUrl;
|
|
47965
47966
|
}
|
|
47966
|
-
if (this.control.
|
|
47967
|
+
if (this.control.pageSizeOfList) {
|
|
47968
|
+
this.setting.pageSetting.pageSize = this.control.pageSizeOfList;
|
|
47969
|
+
}
|
|
47970
|
+
else if (this.control.pageSize) {
|
|
47967
47971
|
this.setting.pageSetting.pageSize = this.control.pageSize;
|
|
47968
47972
|
}
|
|
47969
47973
|
this.setting.cols = [];
|