@getflip/swirl-components-angular 0.216.1 → 0.217.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.
@@ -392,7 +392,7 @@ export declare class SwirlFileViewer {
392
392
  protected el: HTMLElement;
393
393
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
394
394
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlFileViewer, never>;
395
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlFileViewer, "swirl-file-viewer", never, { "active": { "alias": "active"; "required": false; }; "autoplay": { "alias": "autoplay"; "required": false; }; "description": { "alias": "description"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "file": { "alias": "file"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "pdfWorkerSrc": { "alias": "pdfWorkerSrc"; "required": false; }; "thumbnailUrl": { "alias": "thumbnailUrl"; "required": false; }; "type": { "alias": "type"; "required": false; }; "typeUnsupportedMessage": { "alias": "typeUnsupportedMessage"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; }, {}, never, ["*"], false, never>;
395
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlFileViewer, "swirl-file-viewer", never, { "active": { "alias": "active"; "required": false; }; "autoplay": { "alias": "autoplay"; "required": false; }; "description": { "alias": "description"; "required": false; }; "disableDownload": { "alias": "disableDownload"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "file": { "alias": "file"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "pdfWorkerSrc": { "alias": "pdfWorkerSrc"; "required": false; }; "thumbnailUrl": { "alias": "thumbnailUrl"; "required": false; }; "type": { "alias": "type"; "required": false; }; "typeUnsupportedMessage": { "alias": "typeUnsupportedMessage"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; }, {}, never, ["*"], false, never>;
396
396
  }
397
397
  export declare interface SwirlFileViewer extends Components.SwirlFileViewer {
398
398
  activate: EventEmitter<CustomEvent<HTMLElement>>;
@@ -454,7 +454,7 @@ export declare class SwirlFileViewerVideo {
454
454
  protected el: HTMLElement;
455
455
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
456
456
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlFileViewerVideo, never>;
457
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlFileViewerVideo, "swirl-file-viewer-video", never, { "autoplay": { "alias": "autoplay"; "required": false; }; "file": { "alias": "file"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
457
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlFileViewerVideo, "swirl-file-viewer-video", never, { "autoplay": { "alias": "autoplay"; "required": false; }; "disableDownload": { "alias": "disableDownload"; "required": false; }; "file": { "alias": "file"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
458
458
  }
459
459
  export declare interface SwirlFileViewerVideo extends Components.SwirlFileViewerVideo {
460
460
  activate: EventEmitter<CustomEvent<HTMLElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.216.1",
3
+ "version": "0.217.0",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "build": "ng build"
@@ -14,7 +14,7 @@
14
14
  "@angular/platform-browser": "^16.2.12",
15
15
  "@angular/platform-browser-dynamic": "^16.2.12",
16
16
  "@angular/router": "^16.2.12",
17
- "@getflip/swirl-components": "^0.216.1",
17
+ "@getflip/swirl-components": "^0.217.0",
18
18
  "rxjs": "~7.5.0",
19
19
  "tslib": "^2.3.0",
20
20
  "zone.js": "~0.13.3"
@@ -968,7 +968,7 @@ export declare interface SwirlFileUploader extends Components.SwirlFileUploader
968
968
 
969
969
 
970
970
  @ProxyCmp({
971
- inputs: ['active', 'autoplay', 'description', 'errorMessage', 'file', 'fileName', 'pdfWorkerSrc', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
971
+ inputs: ['active', 'autoplay', 'description', 'disableDownload', 'errorMessage', 'file', 'fileName', 'pdfWorkerSrc', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
972
972
  methods: ['download', 'print']
973
973
  })
974
974
  @Component({
@@ -976,7 +976,7 @@ export declare interface SwirlFileUploader extends Components.SwirlFileUploader
976
976
  changeDetection: ChangeDetectionStrategy.OnPush,
977
977
  template: '<ng-content></ng-content>',
978
978
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
979
- inputs: ['active', 'autoplay', 'description', 'errorMessage', 'file', 'fileName', 'pdfWorkerSrc', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
979
+ inputs: ['active', 'autoplay', 'description', 'disableDownload', 'errorMessage', 'file', 'fileName', 'pdfWorkerSrc', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
980
980
  })
981
981
  export class SwirlFileViewer {
982
982
  protected el: HTMLElement;
@@ -1131,14 +1131,14 @@ export declare interface SwirlFileViewerText extends Components.SwirlFileViewerT
1131
1131
 
1132
1132
 
1133
1133
  @ProxyCmp({
1134
- inputs: ['autoplay', 'file', 'type']
1134
+ inputs: ['autoplay', 'disableDownload', 'file', 'type']
1135
1135
  })
1136
1136
  @Component({
1137
1137
  selector: 'swirl-file-viewer-video',
1138
1138
  changeDetection: ChangeDetectionStrategy.OnPush,
1139
1139
  template: '<ng-content></ng-content>',
1140
1140
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1141
- inputs: ['autoplay', 'file', 'type'],
1141
+ inputs: ['autoplay', 'disableDownload', 'file', 'type'],
1142
1142
  })
1143
1143
  export class SwirlFileViewerVideo {
1144
1144
  protected el: HTMLElement;