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.
@@ -33396,7 +33396,8 @@
33396
33396
  _this._injector = _injector;
33397
33397
  _this._commonService = _commonService;
33398
33398
  _this.templateFilter = [];
33399
- _this.searchBoxTooltip = 'Tìm kiếm theo các trường: ';
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.searchBoxTooltip += arrLabel_1.join(', ');
33468
+ if (!this.isCustomTooltip) {
33469
+ this._searchBoxTooltip += arrLabel_1.join(', ');
33470
+ }
33455
33471
  this._index = 2;
33456
33472
  }
33457
33473
  if (this.isCustomGenerateSearch) {
@@ -36064,10 +36080,19 @@
36064
36080
  // Tải thư mục/ tệp.
36065
36081
  FileManagerComponent.prototype.download = function (explorerItem) {
36066
36082
  return __awaiter(this, void 0, void 0, function () {
36067
- var model;
36083
+ var _this = this;
36068
36084
  return __generator(this, function (_b) {
36069
- model = this._downloadLinkService.getGenerateDownloadLinkModel(explorerItem);
36070
- this._downloadLinkService.downloadLink(model);
36085
+ this._notifierService.showConfirm("<b>L\u01B0u \u00FD!</b><br/><br/>X\u00E1c nh\u1EADn t\u1EA3i v\u1EC1?", 'Thông báo')
36086
+ .then(function (confirm) { return __awaiter(_this, void 0, void 0, function () {
36087
+ var model;
36088
+ return __generator(this, function (_b) {
36089
+ if (!confirm)
36090
+ return [2 /*return*/];
36091
+ model = this._downloadLinkService.getGenerateDownloadLinkModel(explorerItem);
36092
+ this._downloadLinkService.downloadLink(model);
36093
+ return [2 /*return*/];
36094
+ });
36095
+ }); });
36071
36096
  return [2 /*return*/];
36072
36097
  });
36073
36098
  });