@getflip/swirl-components-angular 0.314.0 → 0.315.1
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 +2 -2
- package/CHANGELOG.md +34 -0
- package/dist/component-library/esm2022/lib/stencil-generated/components.mjs +8 -8
- package/dist/component-library/fesm2022/getflip-swirl-components-angular.mjs +7 -7
- package/dist/component-library/fesm2022/getflip-swirl-components-angular.mjs.map +1 -1
- package/dist/component-library/lib/stencil-generated/components.d.ts +3 -2
- package/package.json +2 -2
- package/projects/component-library/src/lib/stencil-generated/components.ts +7 -5
|
@@ -437,6 +437,7 @@ export declare class SwirlFileViewerFallback {
|
|
|
437
437
|
}
|
|
438
438
|
export declare interface SwirlFileViewerFallback extends Components.SwirlFileViewerFallback {
|
|
439
439
|
activate: EventEmitter<CustomEvent<HTMLElement>>;
|
|
440
|
+
download: EventEmitter<CustomEvent<void>>;
|
|
440
441
|
}
|
|
441
442
|
export declare class SwirlFileViewerImage {
|
|
442
443
|
protected z: NgZone;
|
|
@@ -2390,7 +2391,7 @@ export declare class SwirlModal {
|
|
|
2390
2391
|
protected el: HTMLElement;
|
|
2391
2392
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
2392
2393
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwirlModal, never>;
|
|
2393
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlModal, "swirl-modal", never, { "closable": { "alias": "closable"; "required": false; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; }; "contentGap": { "alias": "contentGap"; "required": false; }; "height": { "alias": "height"; "required": false; }; "hideCloseButton": { "alias": "hideCloseButton"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "hideSecondaryContent": { "alias": "hideSecondaryContent"; "required": false; }; "hideSecondaryContentBorders": { "alias": "hideSecondaryContentBorders"; "required": false; }; "label": { "alias": "label"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; "primaryActionLabel": { "alias": "primaryActionLabel"; "required": false; }; "primaryContentFlex": { "alias": "primaryContentFlex"; "required": false; }; "primaryContentMaxWidth": { "alias": "primaryContentMaxWidth"; "required": false; }; "secondaryActionLabel": { "alias": "secondaryActionLabel"; "required": false; }; "secondaryContentFlex": { "alias": "secondaryContentFlex"; "required": false; }; "secondaryContentMaxWidth": { "alias": "secondaryContentMaxWidth"; "required": false; }; "secondaryContentPadding": { "alias": "secondaryContentPadding"; "required": false; }; "secondaryContentPaddingBlockEnd": { "alias": "secondaryContentPaddingBlockEnd"; "required": false; }; "secondaryContentPaddingBlockStart": { "alias": "secondaryContentPaddingBlockStart"; "required": false; }; "secondaryContentPaddingInlineEnd": { "alias": "secondaryContentPaddingInlineEnd"; "required": false; }; "secondaryContentPaddingInlineStart": { "alias": "secondaryContentPaddingInlineStart"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2394
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlModal, "swirl-modal", never, { "closable": { "alias": "closable"; "required": false; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; }; "contentGap": { "alias": "contentGap"; "required": false; }; "height": { "alias": "height"; "required": false; }; "hideCloseButton": { "alias": "hideCloseButton"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "hideSecondaryContent": { "alias": "hideSecondaryContent"; "required": false; }; "hideSecondaryContentBorders": { "alias": "hideSecondaryContentBorders"; "required": false; }; "hideSidebarContent": { "alias": "hideSidebarContent"; "required": false; }; "label": { "alias": "label"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; "primaryActionLabel": { "alias": "primaryActionLabel"; "required": false; }; "primaryContentFlex": { "alias": "primaryContentFlex"; "required": false; }; "primaryContentMaxWidth": { "alias": "primaryContentMaxWidth"; "required": false; }; "secondaryActionLabel": { "alias": "secondaryActionLabel"; "required": false; }; "secondaryContentFlex": { "alias": "secondaryContentFlex"; "required": false; }; "secondaryContentMaxWidth": { "alias": "secondaryContentMaxWidth"; "required": false; }; "secondaryContentPadding": { "alias": "secondaryContentPadding"; "required": false; }; "secondaryContentPaddingBlockEnd": { "alias": "secondaryContentPaddingBlockEnd"; "required": false; }; "secondaryContentPaddingBlockStart": { "alias": "secondaryContentPaddingBlockStart"; "required": false; }; "secondaryContentPaddingInlineEnd": { "alias": "secondaryContentPaddingInlineEnd"; "required": false; }; "secondaryContentPaddingInlineStart": { "alias": "secondaryContentPaddingInlineStart"; "required": false; }; "sidebarLabel": { "alias": "sidebarLabel"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2394
2395
|
}
|
|
2395
2396
|
export declare interface SwirlModal extends Components.SwirlModal {
|
|
2396
2397
|
modalClose: EventEmitter<CustomEvent<void>>;
|
|
@@ -2449,7 +2450,7 @@ export declare class SwirlPdfReader {
|
|
|
2449
2450
|
protected el: HTMLElement;
|
|
2450
2451
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
2451
2452
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwirlPdfReader, never>;
|
|
2452
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlPdfReader, "swirl-pdf-reader", never, { "autoZoomLabel": { "alias": "autoZoomLabel"; "required": false; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; }; "downloadButtonEnabled": { "alias": "downloadButtonEnabled"; "required": false; }; "downloadButtonLabel": { "alias": "downloadButtonLabel"; "required": false; }; "file": { "alias": "file"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "fileTypeLabel": { "alias": "fileTypeLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "menuLabel": { "alias": "menuLabel"; "required": false; }; "menuTriggerLabel": { "alias": "menuTriggerLabel"; "required": false; }; "pdfWorkerSrc": { "alias": "pdfWorkerSrc"; "required": false; }; "printButtonEnabled": { "alias": "printButtonEnabled"; "required": false; }; "printButtonLabel": { "alias": "printButtonLabel"; "required": false; }; "sideBySideButtonLabel": { "alias": "sideBySideButtonLabel"; "required": false; }; "thumbnailButtonLabel": { "alias": "thumbnailButtonLabel"; "required": false; }; "thumbnailsButtonLabel": { "alias": "thumbnailsButtonLabel"; "required": false; }; "thumbnailsLabel": { "alias": "thumbnailsLabel"; "required": false; }; "zoomInButtonLabel": { "alias": "zoomInButtonLabel"; "required": false; }; "zoomOutButtonLabel": { "alias": "zoomOutButtonLabel"; "required": false; }; "zoomSelectLabel": { "alias": "zoomSelectLabel"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2453
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwirlPdfReader, "swirl-pdf-reader", never, { "autoZoomLabel": { "alias": "autoZoomLabel"; "required": false; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; }; "downloadButtonEnabled": { "alias": "downloadButtonEnabled"; "required": false; }; "downloadButtonLabel": { "alias": "downloadButtonLabel"; "required": false; }; "file": { "alias": "file"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "fileTypeLabel": { "alias": "fileTypeLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "menuLabel": { "alias": "menuLabel"; "required": false; }; "menuTriggerLabel": { "alias": "menuTriggerLabel"; "required": false; }; "pdfWorkerSrc": { "alias": "pdfWorkerSrc"; "required": false; }; "printButtonEnabled": { "alias": "printButtonEnabled"; "required": false; }; "printButtonLabel": { "alias": "printButtonLabel"; "required": false; }; "sideBySideButtonLabel": { "alias": "sideBySideButtonLabel"; "required": false; }; "skipNativeDownload": { "alias": "skipNativeDownload"; "required": false; }; "thumbnailButtonLabel": { "alias": "thumbnailButtonLabel"; "required": false; }; "thumbnailsButtonLabel": { "alias": "thumbnailsButtonLabel"; "required": false; }; "thumbnailsLabel": { "alias": "thumbnailsLabel"; "required": false; }; "zoomInButtonLabel": { "alias": "zoomInButtonLabel"; "required": false; }; "zoomOutButtonLabel": { "alias": "zoomOutButtonLabel"; "required": false; }; "zoomSelectLabel": { "alias": "zoomSelectLabel"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2453
2454
|
}
|
|
2454
2455
|
export declare interface SwirlPdfReader extends Components.SwirlPdfReader {
|
|
2455
2456
|
modalClose: EventEmitter<CustomEvent<void>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components-angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.315.1",
|
|
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.
|
|
17
|
+
"@getflip/swirl-components": "^0.315.1",
|
|
18
18
|
"rxjs": "~7.5.0",
|
|
19
19
|
"tslib": "^2.3.0",
|
|
20
20
|
"zone.js": "~0.13.3"
|
|
@@ -1078,7 +1078,7 @@ export class SwirlFileViewerFallback {
|
|
|
1078
1078
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
1079
1079
|
c.detach();
|
|
1080
1080
|
this.el = r.nativeElement;
|
|
1081
|
-
proxyOutputs(this, this.el, ['activate']);
|
|
1081
|
+
proxyOutputs(this, this.el, ['activate', 'download']);
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
1084
|
|
|
@@ -1086,6 +1086,8 @@ export class SwirlFileViewerFallback {
|
|
|
1086
1086
|
export declare interface SwirlFileViewerFallback extends Components.SwirlFileViewerFallback {
|
|
1087
1087
|
|
|
1088
1088
|
activate: EventEmitter<CustomEvent<HTMLElement>>;
|
|
1089
|
+
|
|
1090
|
+
download: EventEmitter<CustomEvent<void>>;
|
|
1089
1091
|
}
|
|
1090
1092
|
|
|
1091
1093
|
|
|
@@ -5863,7 +5865,7 @@ export declare interface SwirlMenuItem extends Components.SwirlMenuItem {}
|
|
|
5863
5865
|
|
|
5864
5866
|
|
|
5865
5867
|
@ProxyCmp({
|
|
5866
|
-
inputs: ['closable', 'closeButtonLabel', 'contentGap', 'height', 'hideCloseButton', 'hideLabel', 'hideSecondaryContent', 'hideSecondaryContentBorders', 'label', 'maxHeight', 'maxWidth', 'minHeight', 'padded', 'primaryActionLabel', 'primaryContentFlex', 'primaryContentMaxWidth', 'secondaryActionLabel', 'secondaryContentFlex', 'secondaryContentMaxWidth', 'secondaryContentPadding', 'secondaryContentPaddingBlockEnd', 'secondaryContentPaddingBlockStart', 'secondaryContentPaddingInlineEnd', 'secondaryContentPaddingInlineStart', 'variant'],
|
|
5868
|
+
inputs: ['closable', 'closeButtonLabel', 'contentGap', 'height', 'hideCloseButton', 'hideLabel', 'hideSecondaryContent', 'hideSecondaryContentBorders', 'hideSidebarContent', 'label', 'maxHeight', 'maxWidth', 'minHeight', 'padded', 'primaryActionLabel', 'primaryContentFlex', 'primaryContentMaxWidth', 'secondaryActionLabel', 'secondaryContentFlex', 'secondaryContentMaxWidth', 'secondaryContentPadding', 'secondaryContentPaddingBlockEnd', 'secondaryContentPaddingBlockStart', 'secondaryContentPaddingInlineEnd', 'secondaryContentPaddingInlineStart', 'sidebarLabel', 'variant'],
|
|
5867
5869
|
methods: ['open', 'close']
|
|
5868
5870
|
})
|
|
5869
5871
|
@Component({
|
|
@@ -5871,7 +5873,7 @@ export declare interface SwirlMenuItem extends Components.SwirlMenuItem {}
|
|
|
5871
5873
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5872
5874
|
template: '<ng-content></ng-content>',
|
|
5873
5875
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
5874
|
-
inputs: ['closable', 'closeButtonLabel', 'contentGap', 'height', 'hideCloseButton', 'hideLabel', 'hideSecondaryContent', 'hideSecondaryContentBorders', 'label', 'maxHeight', 'maxWidth', 'minHeight', 'padded', 'primaryActionLabel', 'primaryContentFlex', 'primaryContentMaxWidth', 'secondaryActionLabel', 'secondaryContentFlex', 'secondaryContentMaxWidth', 'secondaryContentPadding', 'secondaryContentPaddingBlockEnd', 'secondaryContentPaddingBlockStart', 'secondaryContentPaddingInlineEnd', 'secondaryContentPaddingInlineStart', 'variant'],
|
|
5876
|
+
inputs: ['closable', 'closeButtonLabel', 'contentGap', 'height', 'hideCloseButton', 'hideLabel', 'hideSecondaryContent', 'hideSecondaryContentBorders', 'hideSidebarContent', 'label', 'maxHeight', 'maxWidth', 'minHeight', 'padded', 'primaryActionLabel', 'primaryContentFlex', 'primaryContentMaxWidth', 'secondaryActionLabel', 'secondaryContentFlex', 'secondaryContentMaxWidth', 'secondaryContentPadding', 'secondaryContentPaddingBlockEnd', 'secondaryContentPaddingBlockStart', 'secondaryContentPaddingInlineEnd', 'secondaryContentPaddingInlineStart', 'sidebarLabel', 'variant'],
|
|
5875
5877
|
})
|
|
5876
5878
|
export class SwirlModal {
|
|
5877
5879
|
protected el: HTMLElement;
|
|
@@ -6002,7 +6004,7 @@ export declare interface SwirlPagination extends Components.SwirlPagination {
|
|
|
6002
6004
|
|
|
6003
6005
|
|
|
6004
6006
|
@ProxyCmp({
|
|
6005
|
-
inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonEnabled', 'downloadButtonLabel', 'file', 'fileName', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'pdfWorkerSrc', 'printButtonEnabled', 'printButtonLabel', 'sideBySideButtonLabel', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel'],
|
|
6007
|
+
inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonEnabled', 'downloadButtonLabel', 'file', 'fileName', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'pdfWorkerSrc', 'printButtonEnabled', 'printButtonLabel', 'sideBySideButtonLabel', 'skipNativeDownload', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel'],
|
|
6006
6008
|
methods: ['open', 'close']
|
|
6007
6009
|
})
|
|
6008
6010
|
@Component({
|
|
@@ -6010,7 +6012,7 @@ export declare interface SwirlPagination extends Components.SwirlPagination {
|
|
|
6010
6012
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6011
6013
|
template: '<ng-content></ng-content>',
|
|
6012
6014
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
6013
|
-
inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonEnabled', 'downloadButtonLabel', 'file', 'fileName', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'pdfWorkerSrc', 'printButtonEnabled', 'printButtonLabel', 'sideBySideButtonLabel', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel'],
|
|
6015
|
+
inputs: ['autoZoomLabel', 'closeButtonLabel', 'downloadButtonEnabled', 'downloadButtonLabel', 'file', 'fileName', 'fileTypeLabel', 'label', 'menuLabel', 'menuTriggerLabel', 'pdfWorkerSrc', 'printButtonEnabled', 'printButtonLabel', 'sideBySideButtonLabel', 'skipNativeDownload', 'thumbnailButtonLabel', 'thumbnailsButtonLabel', 'thumbnailsLabel', 'zoomInButtonLabel', 'zoomOutButtonLabel', 'zoomSelectLabel'],
|
|
6014
6016
|
})
|
|
6015
6017
|
export class SwirlPdfReader {
|
|
6016
6018
|
protected el: HTMLElement;
|