tnx-shared 5.3.389 → 5.3.391
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 +30 -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/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/components/file-explorer/file-manager/file-manager.component.d.ts.map +1 -1
- package/esm2015/components/common-search-form/common-search-form.component.js +15 -3
- package/esm2015/components/file-explorer/file-manager/file-manager.component.js +8 -3
- package/fesm2015/tnx-shared.js +21 -4
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
package/fesm2015/tnx-shared.js
CHANGED
|
@@ -22665,7 +22665,8 @@ class CommonSearchFormComponent extends DataFormBase {
|
|
|
22665
22665
|
this._injector = _injector;
|
|
22666
22666
|
this._commonService = _commonService;
|
|
22667
22667
|
this.templateFilter = [];
|
|
22668
|
-
this.
|
|
22668
|
+
this._searchBoxTooltip = 'Tìm kiếm theo các trường: ';
|
|
22669
|
+
this.isCustomTooltip = false;
|
|
22669
22670
|
this.onClickSearch = new EventEmitter();
|
|
22670
22671
|
this.onAfterToggleMenuSearch = new EventEmitter();
|
|
22671
22672
|
this.mdWidth = 3;
|
|
@@ -22686,6 +22687,15 @@ class CommonSearchFormComponent extends DataFormBase {
|
|
|
22686
22687
|
this.isDisableOpenFull = false;
|
|
22687
22688
|
this._index = 1;
|
|
22688
22689
|
}
|
|
22690
|
+
set searchBoxTooltip(value) {
|
|
22691
|
+
if (value) {
|
|
22692
|
+
this.isCustomTooltip = true;
|
|
22693
|
+
this._searchBoxTooltip = value;
|
|
22694
|
+
}
|
|
22695
|
+
}
|
|
22696
|
+
get searchBoxTooltip() {
|
|
22697
|
+
return this._searchBoxTooltip;
|
|
22698
|
+
}
|
|
22689
22699
|
ngOnInit() {
|
|
22690
22700
|
if (!this.parentSetting.useCommonFullTextSearch) {
|
|
22691
22701
|
this.parentSetting.disableLazyLoadCommonSearch = true;
|
|
@@ -22718,7 +22728,9 @@ class CommonSearchFormComponent extends DataFormBase {
|
|
|
22718
22728
|
this.lstTextControl.push(item.field);
|
|
22719
22729
|
});
|
|
22720
22730
|
}
|
|
22721
|
-
this.
|
|
22731
|
+
if (!this.isCustomTooltip) {
|
|
22732
|
+
this._searchBoxTooltip += arrLabel.join(', ');
|
|
22733
|
+
}
|
|
22722
22734
|
this._index = 2;
|
|
22723
22735
|
}
|
|
22724
22736
|
if (this.isCustomGenerateSearch) {
|
|
@@ -31461,8 +31473,13 @@ class FileManagerComponent extends DataListBase {
|
|
|
31461
31473
|
// Tải thư mục/ tệp.
|
|
31462
31474
|
download(explorerItem) {
|
|
31463
31475
|
return __awaiter(this, void 0, void 0, function* () {
|
|
31464
|
-
|
|
31465
|
-
|
|
31476
|
+
this._notifierService.showConfirm(`<b>Lưu ý!</b><br/><br/>Xác nhận tải về?`, 'Thông báo')
|
|
31477
|
+
.then((confirm) => __awaiter(this, void 0, void 0, function* () {
|
|
31478
|
+
if (!confirm)
|
|
31479
|
+
return;
|
|
31480
|
+
const model = this._downloadLinkService.getGenerateDownloadLinkModel(explorerItem);
|
|
31481
|
+
this._downloadLinkService.downloadLink(model);
|
|
31482
|
+
}));
|
|
31466
31483
|
});
|
|
31467
31484
|
}
|
|
31468
31485
|
copyDownloadLink(explorerItem) {
|