tnx-shared 5.3.389 → 5.3.390
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 +18 -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/components/common-search-form/common-search-form.component.d.ts +4 -1
- package/components/common-search-form/common-search-form.component.d.ts.map +1 -1
- package/esm2015/components/common-search-form/common-search-form.component.js +15 -3
- package/fesm2015/tnx-shared.js +14 -2
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -33396,7 +33396,8 @@
|
|
|
33396
33396
|
_this._injector = _injector;
|
|
33397
33397
|
_this._commonService = _commonService;
|
|
33398
33398
|
_this.templateFilter = [];
|
|
33399
|
-
_this.
|
|
33399
|
+
_this._searchBoxTooltip = 'Tìm kiếm theo các trường: ';
|
|
33400
|
+
_this.isCustomTooltip = false;
|
|
33400
33401
|
_this.onClickSearch = new i0.EventEmitter();
|
|
33401
33402
|
_this.onAfterToggleMenuSearch = new i0.EventEmitter();
|
|
33402
33403
|
_this.mdWidth = 3;
|
|
@@ -33418,6 +33419,19 @@
|
|
|
33418
33419
|
_this._index = 1;
|
|
33419
33420
|
return _this;
|
|
33420
33421
|
}
|
|
33422
|
+
Object.defineProperty(CommonSearchFormComponent.prototype, "searchBoxTooltip", {
|
|
33423
|
+
get: function () {
|
|
33424
|
+
return this._searchBoxTooltip;
|
|
33425
|
+
},
|
|
33426
|
+
set: function (value) {
|
|
33427
|
+
if (value) {
|
|
33428
|
+
this.isCustomTooltip = true;
|
|
33429
|
+
this._searchBoxTooltip = value;
|
|
33430
|
+
}
|
|
33431
|
+
},
|
|
33432
|
+
enumerable: false,
|
|
33433
|
+
configurable: true
|
|
33434
|
+
});
|
|
33421
33435
|
CommonSearchFormComponent.prototype.ngOnInit = function () {
|
|
33422
33436
|
var _this = this;
|
|
33423
33437
|
if (!this.parentSetting.useCommonFullTextSearch) {
|
|
@@ -33451,7 +33465,9 @@
|
|
|
33451
33465
|
_this.lstTextControl.push(item.field);
|
|
33452
33466
|
});
|
|
33453
33467
|
}
|
|
33454
|
-
this.
|
|
33468
|
+
if (!this.isCustomTooltip) {
|
|
33469
|
+
this._searchBoxTooltip += arrLabel_1.join(', ');
|
|
33470
|
+
}
|
|
33455
33471
|
this._index = 2;
|
|
33456
33472
|
}
|
|
33457
33473
|
if (this.isCustomGenerateSearch) {
|