@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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +19 -0
- package/dist/component-library/esm2020/lib/stencil-generated/components.mjs +11 -10
- package/dist/component-library/fesm2015/getflip-swirl-components-angular.mjs +10 -9
- package/dist/component-library/fesm2015/getflip-swirl-components-angular.mjs.map +1 -1
- package/dist/component-library/fesm2020/getflip-swirl-components-angular.mjs +10 -9
- package/dist/component-library/fesm2020/getflip-swirl-components-angular.mjs.map +1 -1
- package/dist/component-library/lib/stencil-generated/components.d.ts +11 -3
- package/package.json +2 -2
- package/projects/component-library/src/lib/stencil-generated/components.ts +18 -7
|
@@ -479,7 +479,7 @@ export declare class SwirlFileViewer {
|
|
|
479
479
|
protected el: HTMLElement;
|
|
480
480
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
481
481
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwirlFileViewer, never>;
|
|
482
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlFileViewer, "swirl-file-viewer", never, { "active": "active"; "autoplay": "autoplay"; "description": "description"; "errorMessage": "errorMessage"; "file": "file"; "thumbnailUrl": "thumbnailUrl"; "type": "type"; "typeUnsupportedMessage": "typeUnsupportedMessage"; "viewMode": "viewMode"; "zoom": "zoom"; }, {}, never, ["*"], false>;
|
|
482
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlFileViewer, "swirl-file-viewer", never, { "active": "active"; "autoplay": "autoplay"; "description": "description"; "errorMessage": "errorMessage"; "file": "file"; "pdfWorkerSrc": "pdfWorkerSrc"; "thumbnailUrl": "thumbnailUrl"; "type": "type"; "typeUnsupportedMessage": "typeUnsupportedMessage"; "viewMode": "viewMode"; "zoom": "zoom"; }, {}, never, ["*"], false>;
|
|
483
483
|
}
|
|
484
484
|
export declare interface SwirlFileViewerAudio extends Components.SwirlFileViewerAudio {
|
|
485
485
|
/**
|
|
@@ -535,7 +535,7 @@ export declare class SwirlFileViewerPdf {
|
|
|
535
535
|
protected el: HTMLElement;
|
|
536
536
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
537
537
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwirlFileViewerPdf, never>;
|
|
538
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlFileViewerPdf, "swirl-file-viewer-pdf", never, { "errorMessage": "errorMessage"; "file": "file"; "singlePageMode": "singlePageMode"; "viewMode": "viewMode"; "zoom": "zoom"; }, {}, never, ["*"], false>;
|
|
538
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlFileViewerPdf, "swirl-file-viewer-pdf", never, { "errorMessage": "errorMessage"; "file": "file"; "singlePageMode": "singlePageMode"; "viewMode": "viewMode"; "workerSrc": "workerSrc"; "zoom": "zoom"; }, {}, never, ["*"], false>;
|
|
539
539
|
}
|
|
540
540
|
export declare interface SwirlFileViewerText extends Components.SwirlFileViewerText {
|
|
541
541
|
/**
|
|
@@ -2029,13 +2029,21 @@ export declare class SwirlPagination {
|
|
|
2029
2029
|
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlPagination, "swirl-pagination", never, { "firstPageButtonLabel": "firstPageButtonLabel"; "label": "label"; "lastPageButtonLabel": "lastPageButtonLabel"; "nextButtonLabel": "nextButtonLabel"; "page": "page"; "pageLabel": "pageLabel"; "pageSelectLabel": "pageSelectLabel"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "pageSizeSelectLabel": "pageSizeSelectLabel"; "pages": "pages"; "prevButtonLabel": "prevButtonLabel"; "showPageSizeSelect": "showPageSizeSelect"; "variant": "variant"; }, {}, never, ["*"], false>;
|
|
2030
2030
|
}
|
|
2031
2031
|
export declare interface SwirlPdfReader extends Components.SwirlPdfReader {
|
|
2032
|
+
/**
|
|
2033
|
+
*
|
|
2034
|
+
*/
|
|
2035
|
+
modalClose: EventEmitter<CustomEvent<void>>;
|
|
2036
|
+
/**
|
|
2037
|
+
*
|
|
2038
|
+
*/
|
|
2039
|
+
modalOpen: EventEmitter<CustomEvent<void>>;
|
|
2032
2040
|
}
|
|
2033
2041
|
export declare class SwirlPdfReader {
|
|
2034
2042
|
protected z: NgZone;
|
|
2035
2043
|
protected el: HTMLElement;
|
|
2036
2044
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
2037
2045
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwirlPdfReader, never>;
|
|
2038
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlPdfReader, "swirl-pdf-reader", never, { "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"; }, {}, never, ["*"], false>;
|
|
2046
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlPdfReader, "swirl-pdf-reader", never, { "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"; }, {}, never, ["*"], false>;
|
|
2039
2047
|
}
|
|
2040
2048
|
export declare interface SwirlPopover extends Components.SwirlPopover {
|
|
2041
2049
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components-angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.116.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"ng": "ng",
|
|
6
6
|
"build": "ng build"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@angular/platform-browser": "^14.1.0",
|
|
15
15
|
"@angular/platform-browser-dynamic": "^14.1.0",
|
|
16
16
|
"@angular/router": "^14.1.0",
|
|
17
|
-
"@getflip/swirl-components": "^0.
|
|
17
|
+
"@getflip/swirl-components": "^0.116.0",
|
|
18
18
|
"rxjs": "~7.5.0",
|
|
19
19
|
"tslib": "^2.3.0",
|
|
20
20
|
"zone.js": "~0.11.4"
|
|
@@ -993,14 +993,14 @@ export declare interface SwirlFileViewer extends Components.SwirlFileViewer {
|
|
|
993
993
|
|
|
994
994
|
@ProxyCmp({
|
|
995
995
|
defineCustomElementFn: undefined,
|
|
996
|
-
inputs: ['active', 'autoplay', 'description', 'errorMessage', 'file', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
|
|
996
|
+
inputs: ['active', 'autoplay', 'description', 'errorMessage', 'file', 'pdfWorkerSrc', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom'],
|
|
997
997
|
methods: ['download', 'print']
|
|
998
998
|
})
|
|
999
999
|
@Component({
|
|
1000
1000
|
selector: 'swirl-file-viewer',
|
|
1001
1001
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1002
1002
|
template: '<ng-content></ng-content>',
|
|
1003
|
-
inputs: ['active', 'autoplay', 'description', 'errorMessage', 'file', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom']
|
|
1003
|
+
inputs: ['active', 'autoplay', 'description', 'errorMessage', 'file', 'pdfWorkerSrc', 'thumbnailUrl', 'type', 'typeUnsupportedMessage', 'viewMode', 'zoom']
|
|
1004
1004
|
})
|
|
1005
1005
|
export class SwirlFileViewer {
|
|
1006
1006
|
protected el: HTMLElement;
|
|
@@ -1111,14 +1111,14 @@ export declare interface SwirlFileViewerPdf extends Components.SwirlFileViewerPd
|
|
|
1111
1111
|
|
|
1112
1112
|
@ProxyCmp({
|
|
1113
1113
|
defineCustomElementFn: undefined,
|
|
1114
|
-
inputs: ['errorMessage', 'file', 'singlePageMode', 'viewMode', 'zoom'],
|
|
1114
|
+
inputs: ['errorMessage', 'file', 'singlePageMode', 'viewMode', 'workerSrc', 'zoom'],
|
|
1115
1115
|
methods: ['getThumbnails', 'print', 'nextPage', 'previousPage', 'setPage']
|
|
1116
1116
|
})
|
|
1117
1117
|
@Component({
|
|
1118
1118
|
selector: 'swirl-file-viewer-pdf',
|
|
1119
1119
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1120
1120
|
template: '<ng-content></ng-content>',
|
|
1121
|
-
inputs: ['errorMessage', 'file', 'singlePageMode', 'viewMode', 'zoom']
|
|
1121
|
+
inputs: ['errorMessage', 'file', 'singlePageMode', 'viewMode', 'workerSrc', 'zoom']
|
|
1122
1122
|
})
|
|
1123
1123
|
export class SwirlFileViewerPdf {
|
|
1124
1124
|
protected el: HTMLElement;
|
|
@@ -4548,24 +4548,35 @@ export class SwirlPagination {
|
|
|
4548
4548
|
}
|
|
4549
4549
|
|
|
4550
4550
|
|
|
4551
|
-
export declare interface SwirlPdfReader extends Components.SwirlPdfReader {
|
|
4551
|
+
export declare interface SwirlPdfReader extends Components.SwirlPdfReader {
|
|
4552
|
+
/**
|
|
4553
|
+
*
|
|
4554
|
+
*/
|
|
4555
|
+
modalClose: EventEmitter<CustomEvent<void>>;
|
|
4556
|
+
/**
|
|
4557
|
+
*
|
|
4558
|
+
*/
|
|
4559
|
+
modalOpen: EventEmitter<CustomEvent<void>>;
|
|
4560
|
+
|
|
4561
|
+
}
|
|
4552
4562
|
|
|
4553
4563
|
@ProxyCmp({
|
|
4554
4564
|
defineCustomElementFn: undefined,
|
|
4555
|
-
inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonLabel', 'file', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'printButtonLabel', 'sideBySideButtonLabel', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel'],
|
|
4565
|
+
inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonLabel', 'file', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'pdfWorkerSrc', 'printButtonLabel', 'sideBySideButtonLabel', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel'],
|
|
4556
4566
|
methods: ['open', 'close']
|
|
4557
4567
|
})
|
|
4558
4568
|
@Component({
|
|
4559
4569
|
selector: 'swirl-pdf-reader',
|
|
4560
4570
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4561
4571
|
template: '<ng-content></ng-content>',
|
|
4562
|
-
inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonLabel', 'file', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'printButtonLabel', 'sideBySideButtonLabel', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel']
|
|
4572
|
+
inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonLabel', 'file', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'pdfWorkerSrc', 'printButtonLabel', 'sideBySideButtonLabel', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel']
|
|
4563
4573
|
})
|
|
4564
4574
|
export class SwirlPdfReader {
|
|
4565
4575
|
protected el: HTMLElement;
|
|
4566
4576
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
4567
4577
|
c.detach();
|
|
4568
4578
|
this.el = r.nativeElement;
|
|
4579
|
+
proxyOutputs(this, this.el, ['modalClose', 'modalOpen']);
|
|
4569
4580
|
}
|
|
4570
4581
|
}
|
|
4571
4582
|
|