@maro-tech/card 0.1.12 → 0.1.14
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/package.json
CHANGED
|
@@ -231,11 +231,14 @@ declare class ImagesViewerComponent {
|
|
|
231
231
|
readonly initialIndex: _angular_core.InputSignal<number>;
|
|
232
232
|
readonly currentIndex: _angular_core.WritableSignal<number>;
|
|
233
233
|
readonly isOriginalVisible: _angular_core.WritableSignal<boolean>;
|
|
234
|
+
readonly originalPreviewUnavailable: _angular_core.WritableSignal<boolean>;
|
|
235
|
+
readonly currentImage: _angular_core.Signal<ElementRef<HTMLImageElement> | undefined>;
|
|
234
236
|
readonly thumbnailButtons: _angular_core.Signal<readonly ElementRef<HTMLButtonElement>[]>;
|
|
235
237
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
236
238
|
private touchStartX;
|
|
237
239
|
private touchStartY;
|
|
238
240
|
private lastImagesKey;
|
|
241
|
+
private panzoomInstance;
|
|
239
242
|
constructor();
|
|
240
243
|
onEscape(): void;
|
|
241
244
|
onArrowLeft(): void;
|
|
@@ -246,7 +249,14 @@ declare class ImagesViewerComponent {
|
|
|
246
249
|
showPreviousImage(): void;
|
|
247
250
|
showNextImage(): void;
|
|
248
251
|
toggleOriginal(): void;
|
|
252
|
+
zoomIn(): void;
|
|
253
|
+
zoomOut(): void;
|
|
254
|
+
resetZoom(): void;
|
|
255
|
+
onWheel(event: WheelEvent): void;
|
|
256
|
+
onImageLoad(): void;
|
|
257
|
+
toggleZoom(): void;
|
|
249
258
|
selectImage(index: number, event: MouseEvent): void;
|
|
259
|
+
onImageError(index: number): void;
|
|
250
260
|
private blurActiveElement;
|
|
251
261
|
get currentUrl(): string;
|
|
252
262
|
get currentImageUrl(): string;
|
|
@@ -255,6 +265,7 @@ declare class ImagesViewerComponent {
|
|
|
255
265
|
get imageViewerTransform(): string;
|
|
256
266
|
get imageViewerTransitionStyle(): string;
|
|
257
267
|
getThumbnailUrl(url: string): string;
|
|
268
|
+
getOriginalUrl(url: string): string;
|
|
258
269
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ImagesViewerComponent, never>;
|
|
259
270
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImagesViewerComponent, "app-images-viewer", never, { "urls": { "alias": "urls"; "required": false; "isSignal": true; }; "initialIndex": { "alias": "initialIndex"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, never, true, never>;
|
|
260
271
|
}
|