@libs-ui/components-image-editor 0.2.356-9 → 0.2.357-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/esm2022/image-editor.component.mjs +21 -23
- package/esm2022/resize/resize.component.mjs +3 -4
- package/fesm2022/libs-ui-components-image-editor.mjs +22 -25
- package/fesm2022/libs-ui-components-image-editor.mjs.map +1 -1
- package/image-editor.component.d.ts +14 -14
- package/package.json +9 -9
- package/resize/resize.component.d.ts +1 -1
|
@@ -4,7 +4,7 @@ import { IImageEditorFunctionControlEvent } from './interfaces/function-control-
|
|
|
4
4
|
import { ICropRatioItem, ICropSize, IResizeData, ISaveFile, MODE_EDIT, TYPE_MODE_SAVE } from './interfaces/image-editor.interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class LibsUiComponentsImageEditorComponent implements AfterViewInit, OnDestroy {
|
|
7
|
-
private linkImageError;
|
|
7
|
+
private readonly linkImageError;
|
|
8
8
|
protected loading: import("@angular/core").WritableSignal<boolean>;
|
|
9
9
|
protected loadingImage: import("@angular/core").WritableSignal<boolean>;
|
|
10
10
|
protected changed: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -15,17 +15,17 @@ export declare class LibsUiComponentsImageEditorComponent implements AfterViewIn
|
|
|
15
15
|
protected cropSize: import("@angular/core").WritableSignal<ICropSize>;
|
|
16
16
|
protected resizeData: import("@angular/core").WritableSignal<IResizeData>;
|
|
17
17
|
protected dragGridCrop: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
-
private image;
|
|
19
|
-
private canvas;
|
|
20
|
-
private containerHeight;
|
|
21
|
-
private containerWidth;
|
|
22
|
-
private imgContainerRect;
|
|
23
|
-
private rectClip;
|
|
24
|
-
private resizeState;
|
|
25
|
-
private moveState;
|
|
26
|
-
private startMouseDim;
|
|
27
|
-
private dataUrlOrigin;
|
|
28
|
-
private ratioValue;
|
|
18
|
+
private readonly image;
|
|
19
|
+
private readonly canvas;
|
|
20
|
+
private readonly containerHeight;
|
|
21
|
+
private readonly containerWidth;
|
|
22
|
+
private readonly imgContainerRect;
|
|
23
|
+
private readonly rectClip;
|
|
24
|
+
private readonly resizeState;
|
|
25
|
+
private readonly moveState;
|
|
26
|
+
private readonly startMouseDim;
|
|
27
|
+
private readonly dataUrlOrigin;
|
|
28
|
+
private readonly ratioValue;
|
|
29
29
|
private readonly minHeight;
|
|
30
30
|
private readonly minWidth;
|
|
31
31
|
private resizeComponentRef?;
|
|
@@ -60,8 +60,8 @@ export declare class LibsUiComponentsImageEditorComponent implements AfterViewIn
|
|
|
60
60
|
}>;
|
|
61
61
|
readonly outSaveFile: import("@angular/core").OutputEmitterRef<ISaveFile>;
|
|
62
62
|
readonly outFunctionsControl: import("@angular/core").OutputEmitterRef<IImageEditorFunctionControlEvent>;
|
|
63
|
-
private destroyRef;
|
|
64
|
-
private dynamicComponentService;
|
|
63
|
+
private readonly destroyRef;
|
|
64
|
+
private readonly dynamicComponentService;
|
|
65
65
|
constructor(linkImageError: string);
|
|
66
66
|
ngAfterViewInit(): void;
|
|
67
67
|
get FunctionsControl(): IImageEditorFunctionControlEvent;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-image-editor",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.357-1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
7
|
-
"@libs-ui/utils": "0.2.
|
|
8
|
-
"@libs-ui/components-buttons-button": "0.2.
|
|
9
|
-
"@libs-ui/components-inputs-valid": "0.2.
|
|
10
|
-
"@libs-ui/components-modal": "0.2.
|
|
11
|
-
"@libs-ui/components-popover": "0.2.
|
|
12
|
-
"@libs-ui/components-spinner": "0.2.
|
|
13
|
-
"@libs-ui/interfaces-types": "0.2.
|
|
14
|
-
"@libs-ui/services-dynamic-component": "0.2.
|
|
7
|
+
"@libs-ui/utils": "0.2.357-1",
|
|
8
|
+
"@libs-ui/components-buttons-button": "0.2.357-1",
|
|
9
|
+
"@libs-ui/components-inputs-valid": "0.2.357-1",
|
|
10
|
+
"@libs-ui/components-modal": "0.2.357-1",
|
|
11
|
+
"@libs-ui/components-popover": "0.2.357-1",
|
|
12
|
+
"@libs-ui/components-spinner": "0.2.357-1",
|
|
13
|
+
"@libs-ui/interfaces-types": "0.2.357-1",
|
|
14
|
+
"@libs-ui/services-dynamic-component": "0.2.357-1",
|
|
15
15
|
"@ngx-translate/core": "^15.0.0",
|
|
16
16
|
"rxjs": "~7.8.0"
|
|
17
17
|
},
|
|
@@ -9,7 +9,7 @@ export declare class LibsUiComponentsImageEditorResizeComponent implements OnIni
|
|
|
9
9
|
protected image: HTMLImageElement;
|
|
10
10
|
protected originFileSize: string;
|
|
11
11
|
protected currentFileSize: string;
|
|
12
|
-
private inputValidFunctionControl;
|
|
12
|
+
private readonly inputValidFunctionControl;
|
|
13
13
|
resizeData: IResizeData;
|
|
14
14
|
originWidth: number;
|
|
15
15
|
originHeight: number;
|