tnx-shared 5.3.390 → 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.
@@ -36080,10 +36080,19 @@
36080
36080
  // Tải thư mục/ tệp.
36081
36081
  FileManagerComponent.prototype.download = function (explorerItem) {
36082
36082
  return __awaiter(this, void 0, void 0, function () {
36083
- var model;
36083
+ var _this = this;
36084
36084
  return __generator(this, function (_b) {
36085
- model = this._downloadLinkService.getGenerateDownloadLinkModel(explorerItem);
36086
- 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
+ }); });
36087
36096
  return [2 /*return*/];
36088
36097
  });
36089
36098
  });