tnx-shared 5.3.238 → 5.3.239
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 +7 -7
- 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/esm2015/components/common-search-form/common-search-form.component.js +3 -3
- package/fesm2015/tnx-shared.js +2 -2
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -32182,7 +32182,7 @@
|
|
|
32182
32182
|
var result = [];
|
|
32183
32183
|
var totalControlPerRow = 12 / this.mdWidth;
|
|
32184
32184
|
columns.forEach(function (column) {
|
|
32185
|
-
var _a;
|
|
32185
|
+
var _a, _b;
|
|
32186
32186
|
if (!column.isInTable || !column.includeSelect) {
|
|
32187
32187
|
_this.lstControlNotIn.push(column.field);
|
|
32188
32188
|
}
|
|
@@ -32226,7 +32226,7 @@
|
|
|
32226
32226
|
}
|
|
32227
32227
|
}
|
|
32228
32228
|
else {
|
|
32229
|
-
var addColumn = Object.assign(Object.assign({}, column), { placeholder: column.label, showLabel: false, defaultValue: [undefined, undefined], mdWidth: _this.mdWidth });
|
|
32229
|
+
var addColumn = Object.assign(Object.assign({}, column), { placeholder: (_b = column.placeholder) !== null && _b !== void 0 ? _b : "Ch\u1ECDn " + column.label, showLabel: false, defaultValue: [undefined, undefined], mdWidth: _this.mdWidth });
|
|
32230
32230
|
switch (column.dataType) {
|
|
32231
32231
|
case exports.DataType.date:
|
|
32232
32232
|
case exports.DataType.datetime:
|
|
@@ -32375,14 +32375,14 @@
|
|
|
32375
32375
|
return __awaiter(this, void 0, void 0, function () {
|
|
32376
32376
|
var promises;
|
|
32377
32377
|
var _this = this;
|
|
32378
|
-
return __generator(this, function (
|
|
32379
|
-
switch (
|
|
32378
|
+
return __generator(this, function (_c) {
|
|
32379
|
+
switch (_c.label) {
|
|
32380
32380
|
case 0:
|
|
32381
32381
|
promises = [];
|
|
32382
32382
|
this.lstControlLazyLoad.forEach(function (control) { return promises.push(_this.formControls[control]._component._getDataSource()); });
|
|
32383
32383
|
return [4 /*yield*/, Promise.all(promises)];
|
|
32384
32384
|
case 1:
|
|
32385
|
-
|
|
32385
|
+
_c.sent();
|
|
32386
32386
|
this.lstControlLazyLoad = [];
|
|
32387
32387
|
return [2 /*return*/];
|
|
32388
32388
|
}
|
|
@@ -32391,14 +32391,14 @@
|
|
|
32391
32391
|
};
|
|
32392
32392
|
CommonSearchFormComponent.prototype.onFormInitialized = function (formEvent) {
|
|
32393
32393
|
return __awaiter(this, void 0, void 0, function () {
|
|
32394
|
-
return __generator(this, function (
|
|
32394
|
+
return __generator(this, function (_c) {
|
|
32395
32395
|
return [2 /*return*/];
|
|
32396
32396
|
});
|
|
32397
32397
|
});
|
|
32398
32398
|
};
|
|
32399
32399
|
CommonSearchFormComponent.prototype.modifyDetailData = function (data) {
|
|
32400
32400
|
return __awaiter(this, void 0, void 0, function () {
|
|
32401
|
-
return __generator(this, function (
|
|
32401
|
+
return __generator(this, function (_c) {
|
|
32402
32402
|
return [2 /*return*/];
|
|
32403
32403
|
});
|
|
32404
32404
|
});
|