@getflip/swirl-components-angular 0.115.0 → 0.116.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.
@@ -1014,11 +1014,11 @@ let SwirlFileViewer = class SwirlFileViewer {
1014
1014
  }
1015
1015
  };
1016
1016
  SwirlFileViewer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SwirlFileViewer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1017
- SwirlFileViewer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: SwirlFileViewer, selector: "swirl-file-viewer", inputs: { active: "active", autoplay: "autoplay", description: "description", errorMessage: "errorMessage", file: "file", thumbnailUrl: "thumbnailUrl", type: "type", typeUnsupportedMessage: "typeUnsupportedMessage", viewMode: "viewMode", zoom: "zoom" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1017
+ SwirlFileViewer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: SwirlFileViewer, selector: "swirl-file-viewer", inputs: { active: "active", autoplay: "autoplay", description: "description", errorMessage: "errorMessage", file: "file", 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 });
1018
1018
  SwirlFileViewer = __decorate([
1019
1019
  ProxyCmp({
1020
1020
  defineCustomElementFn: undefined,
1021
- inputs: ['active', 'autoplay', 'description', 'errorMessage', 'file', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
1021
+ inputs: ['active', 'autoplay', 'description', 'errorMessage', 'file', 'pdfWorkerSrc', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
1022
1022
  methods: ['download', 'print']
1023
1023
  })
1024
1024
  ], SwirlFileViewer);
@@ -1028,7 +1028,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
1028
1028
  selector: 'swirl-file-viewer',
1029
1029
  changeDetection: ChangeDetectionStrategy.OnPush,
1030
1030
  template: '<ng-content></ng-content>',
1031
- inputs: ['active', 'autoplay', 'description', 'errorMessage', 'file', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom']
1031
+ inputs: ['active', 'autoplay', 'description', 'errorMessage', 'file', 'pdfWorkerSrc', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom']
1032
1032
  }]
1033
1033
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1034
1034
  let SwirlFileViewerAudio = class SwirlFileViewerAudio {
@@ -1116,11 +1116,11 @@ let SwirlFileViewerPdf = class SwirlFileViewerPdf {
1116
1116
  }
1117
1117
  };
1118
1118
  SwirlFileViewerPdf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SwirlFileViewerPdf, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1119
- SwirlFileViewerPdf.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: SwirlFileViewerPdf, selector: "swirl-file-viewer-pdf", inputs: { errorMessage: "errorMessage", file: "file", singlePageMode: "singlePageMode", viewMode: "viewMode", zoom: "zoom" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1119
+ SwirlFileViewerPdf.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: SwirlFileViewerPdf, selector: "swirl-file-viewer-pdf", inputs: { errorMessage: "errorMessage", file: "file", singlePageMode: "singlePageMode", viewMode: "viewMode", workerSrc: "workerSrc", zoom: "zoom" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1120
1120
  SwirlFileViewerPdf = __decorate([
1121
1121
  ProxyCmp({
1122
1122
  defineCustomElementFn: undefined,
1123
- inputs: ['errorMessage', 'file', 'singlePageMode', 'viewMode', 'zoom'],
1123
+ inputs: ['errorMessage', 'file', 'singlePageMode', 'viewMode', 'workerSrc', 'zoom'],
1124
1124
  methods: ['getThumbnails', 'print', 'nextPage', 'previousPage', 'setPage']
1125
1125
  })
1126
1126
  ], SwirlFileViewerPdf);
@@ -1130,7 +1130,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
1130
1130
  selector: 'swirl-file-viewer-pdf',
1131
1131
  changeDetection: ChangeDetectionStrategy.OnPush,
1132
1132
  template: '<ng-content></ng-content>',
1133
- inputs: ['errorMessage', 'file', 'singlePageMode', 'viewMode', 'zoom']
1133
+ inputs: ['errorMessage', 'file', 'singlePageMode', 'viewMode', 'workerSrc', 'zoom']
1134
1134
  }]
1135
1135
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1136
1136
  let SwirlFileViewerText = class SwirlFileViewerText {
@@ -4963,14 +4963,15 @@ let SwirlPdfReader = class SwirlPdfReader {
4963
4963
  this.z = z;
4964
4964
  c.detach();
4965
4965
  this.el = r.nativeElement;
4966
+ proxyOutputs(this, this.el, ['modalClose', 'modalOpen']);
4966
4967
  }
4967
4968
  };
4968
4969
  SwirlPdfReader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SwirlPdfReader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
4969
- SwirlPdfReader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: SwirlPdfReader, selector: "swirl-pdf-reader", inputs: { autoZoomLabel: "autoZoomLabel", closeButtonLabel: "closeButtonLabel", downloadButtonLabel: "downloadButtonLabel", file: "file", fileTypeLabel: "fileTypeLabel", label: "label", menuLabel: "menuLabel", menuTriggerLabel: "menuTriggerLabel", printButtonLabel: "printButtonLabel", sideBySideButtonLabel: "sideBySideButtonLabel", thumbnailButtonLabel: "thumbnailButtonLabel", thumbnailsButtonLabel: "thumbnailsButtonLabel", thumbnailsLabel: "thumbnailsLabel", zoomInButtonLabel: "zoomInButtonLabel", zoomOutButtonLabel: "zoomOutButtonLabel", zoomSelectLabel: "zoomSelectLabel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4970
+ SwirlPdfReader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: SwirlPdfReader, selector: "swirl-pdf-reader", inputs: { autoZoomLabel: "autoZoomLabel", closeButtonLabel: "closeButtonLabel", downloadButtonLabel: "downloadButtonLabel", file: "file", fileTypeLabel: "fileTypeLabel", label: "label", menuLabel: "menuLabel", menuTriggerLabel: "menuTriggerLabel", pdfWorkerSrc: "pdfWorkerSrc", printButtonLabel: "printButtonLabel", sideBySideButtonLabel: "sideBySideButtonLabel", thumbnailButtonLabel: "thumbnailButtonLabel", thumbnailsButtonLabel: "thumbnailsButtonLabel", thumbnailsLabel: "thumbnailsLabel", zoomInButtonLabel: "zoomInButtonLabel", zoomOutButtonLabel: "zoomOutButtonLabel", zoomSelectLabel: "zoomSelectLabel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4970
4971
  SwirlPdfReader = __decorate([
4971
4972
  ProxyCmp({
4972
4973
  defineCustomElementFn: undefined,
4973
- inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonLabel', 'file', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'printButtonLabel', 'sideBySideButtonLabel', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel'],
4974
+ inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonLabel', 'file', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'pdfWorkerSrc', 'printButtonLabel', 'sideBySideButtonLabel', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel'],
4974
4975
  methods: ['open', 'close']
4975
4976
  })
4976
4977
  ], SwirlPdfReader);
@@ -4980,7 +4981,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
4980
4981
  selector: 'swirl-pdf-reader',
4981
4982
  changeDetection: ChangeDetectionStrategy.OnPush,
4982
4983
  template: '<ng-content></ng-content>',
4983
- inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonLabel', 'file', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'printButtonLabel', 'sideBySideButtonLabel', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel']
4984
+ inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonLabel', 'file', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'pdfWorkerSrc', 'printButtonLabel', 'sideBySideButtonLabel', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel']
4984
4985
  }]
4985
4986
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
4986
4987
  let SwirlPopover = class SwirlPopover {