@maro-tech/card 0.1.13 → 0.1.15
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
|
@@ -23,6 +23,8 @@ interface UiEntityCardAction {
|
|
|
23
23
|
label: string;
|
|
24
24
|
type: string;
|
|
25
25
|
icon?: string;
|
|
26
|
+
iconOnly?: boolean;
|
|
27
|
+
ariaLabel?: string;
|
|
26
28
|
hidden?: boolean;
|
|
27
29
|
html?: string;
|
|
28
30
|
component?: string;
|
|
@@ -232,11 +234,13 @@ declare class ImagesViewerComponent {
|
|
|
232
234
|
readonly currentIndex: _angular_core.WritableSignal<number>;
|
|
233
235
|
readonly isOriginalVisible: _angular_core.WritableSignal<boolean>;
|
|
234
236
|
readonly originalPreviewUnavailable: _angular_core.WritableSignal<boolean>;
|
|
237
|
+
readonly currentImage: _angular_core.Signal<ElementRef<HTMLImageElement> | undefined>;
|
|
235
238
|
readonly thumbnailButtons: _angular_core.Signal<readonly ElementRef<HTMLButtonElement>[]>;
|
|
236
239
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
237
240
|
private touchStartX;
|
|
238
241
|
private touchStartY;
|
|
239
242
|
private lastImagesKey;
|
|
243
|
+
private panzoomInstance;
|
|
240
244
|
constructor();
|
|
241
245
|
onEscape(): void;
|
|
242
246
|
onArrowLeft(): void;
|
|
@@ -247,6 +251,12 @@ declare class ImagesViewerComponent {
|
|
|
247
251
|
showPreviousImage(): void;
|
|
248
252
|
showNextImage(): void;
|
|
249
253
|
toggleOriginal(): void;
|
|
254
|
+
zoomIn(): void;
|
|
255
|
+
zoomOut(): void;
|
|
256
|
+
resetZoom(): void;
|
|
257
|
+
onWheel(event: WheelEvent): void;
|
|
258
|
+
onImageLoad(): void;
|
|
259
|
+
toggleZoom(): void;
|
|
250
260
|
selectImage(index: number, event: MouseEvent): void;
|
|
251
261
|
onImageError(index: number): void;
|
|
252
262
|
private blurActiveElement;
|