@getflip/swirl-components-angular 0.313.1 → 0.314.0

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.
@@ -1102,14 +1102,14 @@ let SwirlFileViewer = class SwirlFileViewer {
1102
1102
  this.z = z;
1103
1103
  c.detach();
1104
1104
  this.el = r.nativeElement;
1105
- proxyOutputs(this, this.el, ['activate', 'visiblePagesChange']);
1105
+ proxyOutputs(this, this.el, ['activate', 'visiblePagesChange', 'downloadStart']);
1106
1106
  }
1107
1107
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwirlFileViewer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1108
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SwirlFileViewer, selector: "swirl-file-viewer", inputs: { active: "active", autoplay: "autoplay", description: "description", disableDownload: "disableDownload", errorMessage: "errorMessage", file: "file", fileName: "fileName", pdfWorkerSrc: "pdfWorkerSrc", thumbnailUrl: "thumbnailUrl", type: "type", typeUnsupportedMessage: "typeUnsupportedMessage", viewMode: "viewMode", zoom: "zoom" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1108
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SwirlFileViewer, selector: "swirl-file-viewer", inputs: { active: "active", autoplay: "autoplay", description: "description", disableDownload: "disableDownload", errorMessage: "errorMessage", file: "file", fileName: "fileName", pdfWorkerSrc: "pdfWorkerSrc", skipNativeDownload: "skipNativeDownload", thumbnailUrl: "thumbnailUrl", type: "type", typeUnsupportedMessage: "typeUnsupportedMessage", viewMode: "viewMode", zoom: "zoom" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1109
1109
  };
1110
1110
  SwirlFileViewer = __decorate([
1111
1111
  ProxyCmp({
1112
- inputs: ['active', 'autoplay', 'description', 'disableDownload', 'errorMessage', 'file', 'fileName', 'pdfWorkerSrc', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
1112
+ inputs: ['active', 'autoplay', 'description', 'disableDownload', 'errorMessage', 'file', 'fileName', 'pdfWorkerSrc', 'skipNativeDownload', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
1113
1113
  methods: ['download', 'print']
1114
1114
  })
1115
1115
  ], SwirlFileViewer);
@@ -1120,7 +1120,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1120
1120
  changeDetection: ChangeDetectionStrategy.OnPush,
1121
1121
  template: '<ng-content></ng-content>',
1122
1122
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1123
- inputs: ['active', 'autoplay', 'description', 'disableDownload', 'errorMessage', 'file', 'fileName', 'pdfWorkerSrc', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
1123
+ inputs: ['active', 'autoplay', 'description', 'disableDownload', 'errorMessage', 'file', 'fileName', 'pdfWorkerSrc', 'skipNativeDownload', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
1124
1124
  }]
1125
1125
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1126
1126
  let SwirlFileViewerAudio = class SwirlFileViewerAudio {