ng-tailwind 3.30.362 → 3.30.363

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.
@@ -7078,9 +7078,6 @@
7078
7078
  if (this.fileSize < this.maxFileSize) {
7079
7079
  this.loading = true;
7080
7080
  this.canShowViewer = true;
7081
- if (!this.canDownloadFile) {
7082
- this.disablePrintScreen();
7083
- }
7084
7081
  }
7085
7082
  };
7086
7083
  NgtDropzoneFileViewerComponent.prototype.close = function () {
@@ -7088,9 +7085,6 @@
7088
7085
  };
7089
7086
  NgtDropzoneFileViewerComponent.prototype.handleClose = function () {
7090
7087
  this.onClose.emit();
7091
- if (this.printScreenListener) {
7092
- document.removeEventListener('keyup', this.printScreenListener);
7093
- }
7094
7088
  };
7095
7089
  NgtDropzoneFileViewerComponent.prototype.downloadFile = function () {
7096
7090
  var file = document.createElement("a");
@@ -7099,14 +7093,6 @@
7099
7093
  file.setAttribute("download", this.fileName);
7100
7094
  file.click();
7101
7095
  };
7102
- NgtDropzoneFileViewerComponent.prototype.disablePrintScreen = function () {
7103
- this.printScreenListener = function (e) {
7104
- if (e.key == 'PrintScreen') {
7105
- navigator.clipboard.writeText('');
7106
- }
7107
- };
7108
- document.addEventListener('keyup', this.printScreenListener);
7109
- };
7110
7096
  return NgtDropzoneFileViewerComponent;
7111
7097
  }());
7112
7098
  NgtDropzoneFileViewerComponent.decorators = [