@eagami/ui 5.15.0 → 5.15.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/fesm2022/eagami-ui.mjs +48 -20
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.15.
|
|
3
|
+
"version": "5.15.1",
|
|
4
4
|
"description": "Lightweight, accessible, themeable Angular UI component library and icon set built on CSS custom properties",
|
|
5
5
|
"author": "Michal Wiraszka <michal@eagami.com>",
|
|
6
6
|
"license": "MIT",
|
package/types/eagami-ui.d.ts
CHANGED
|
@@ -816,7 +816,7 @@ declare class AvatarEditorComponent implements OnDestroy {
|
|
|
816
816
|
private initialOffsetY;
|
|
817
817
|
private _suppressCropStateEmit;
|
|
818
818
|
private readonly isFetching;
|
|
819
|
-
private originalCaptured;
|
|
819
|
+
private readonly originalCaptured;
|
|
820
820
|
private originalImage;
|
|
821
821
|
private originalCropState;
|
|
822
822
|
readonly hostClasses: _angular_core.Signal<{
|
|
@@ -851,6 +851,7 @@ declare class AvatarEditorComponent implements OnDestroy {
|
|
|
851
851
|
onZoomInput(event: Event): void;
|
|
852
852
|
/** Clears the loaded image and resets pan/zoom to defaults. */
|
|
853
853
|
removeImage(): void;
|
|
854
|
+
private syncAtOriginal;
|
|
854
855
|
/** Marks the current image and crop state as the baseline for {@link revertImage}. */
|
|
855
856
|
captureOriginal(): void;
|
|
856
857
|
/** Restores the image and crop state captured by the most recent {@link captureOriginal}. */
|
|
@@ -863,6 +864,7 @@ declare class AvatarEditorComponent implements OnDestroy {
|
|
|
863
864
|
private centerImage;
|
|
864
865
|
private getScale;
|
|
865
866
|
private getDrawParams;
|
|
867
|
+
private applyZoom;
|
|
866
868
|
private clampOffset;
|
|
867
869
|
private draw;
|
|
868
870
|
/**
|