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.
- package/bundles/tnx-shared.umd.js +12 -3
- 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/file-explorer/file-manager/file-manager.component.d.ts.map +1 -1
- package/esm2015/components/file-explorer/file-manager/file-manager.component.js +8 -3
- package/fesm2015/tnx-shared.js +7 -2
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
36083
|
+
var _this = this;
|
|
36084
36084
|
return __generator(this, function (_b) {
|
|
36085
|
-
|
|
36086
|
-
|
|
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
|
});
|