@syncfusion/ej2-image-editor 20.4.49 → 20.4.51
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/CHANGELOG.md +16 -0
- package/GitLeaksReport.json +1 -0
- package/dist/ej2-image-editor.umd.min.js +2 -2
- package/dist/ej2-image-editor.umd.min.js.map +1 -1
- package/dist/es6/ej2-image-editor.es2015.js +1154 -877
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +1150 -873
- package/dist/es6/ej2-image-editor.es5.js.map +1 -1
- package/dist/global/ej2-image-editor.min.js +2 -2
- package/dist/global/ej2-image-editor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/gitleaks-ci/gitleaks +0 -0
- package/gitleaks-ci.tar.gz +0 -0
- package/package.json +11 -11
- package/src/image-editor/image-editor.d.ts +15 -4
- package/src/image-editor/image-editor.js +1150 -863
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.4.
|
|
3
|
+
* version : 20.4.51
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-image-editor@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-image-editor@20.4.
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@20.4.49",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-zFjhKNxjBrp4XqFFtyxOuwWiZOqx6bLvdlCPLnX7nokRsYouLcLDqxCejA7eRVIVXmprRTo9vN5TskyT7qdgIA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-image-editor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-image-editor",
|
|
24
24
|
"/@syncfusion/ej2-vue-image-editor"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-20.4.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-20.4.49.tgz",
|
|
27
|
+
"_shasum": "d403353961842a2b913b0b525e3b5ed8a246c2e2",
|
|
28
28
|
"_spec": "@syncfusion/ej2-image-editor@*",
|
|
29
29
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
},
|
|
33
33
|
"bundleDependencies": false,
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@syncfusion/ej2-base": "~20.4.
|
|
36
|
-
"@syncfusion/ej2-buttons": "~20.4.
|
|
37
|
-
"@syncfusion/ej2-inputs": "~20.4.
|
|
38
|
-
"@syncfusion/ej2-navigations": "~20.4.
|
|
39
|
-
"@syncfusion/ej2-popups": "~20.4.
|
|
40
|
-
"@syncfusion/ej2-splitbuttons": "~20.4.
|
|
35
|
+
"@syncfusion/ej2-base": "~20.4.51",
|
|
36
|
+
"@syncfusion/ej2-buttons": "~20.4.50",
|
|
37
|
+
"@syncfusion/ej2-inputs": "~20.4.51",
|
|
38
|
+
"@syncfusion/ej2-navigations": "~20.4.51",
|
|
39
|
+
"@syncfusion/ej2-popups": "~20.4.51",
|
|
40
|
+
"@syncfusion/ej2-splitbuttons": "~20.4.50"
|
|
41
41
|
},
|
|
42
42
|
"deprecated": false,
|
|
43
43
|
"description": "Essential JS 2 ImageEditor",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/imageeditor"
|
|
68
68
|
},
|
|
69
69
|
"typings": "index.d.ts",
|
|
70
|
-
"version": "20.4.
|
|
70
|
+
"version": "20.4.51",
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
73
73
|
}
|
|
@@ -165,6 +165,7 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
165
165
|
private srcWidth;
|
|
166
166
|
private srcHeight;
|
|
167
167
|
private currSelectionPoint;
|
|
168
|
+
private currDestinationPoint;
|
|
168
169
|
private cropDestPoints;
|
|
169
170
|
private panDown;
|
|
170
171
|
private panMove;
|
|
@@ -222,6 +223,9 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
222
223
|
private cancelObjColl;
|
|
223
224
|
private cancelPointColl;
|
|
224
225
|
private rotatedFlipCropSelection;
|
|
226
|
+
private freehandDrawSelectedId;
|
|
227
|
+
private panStartObj;
|
|
228
|
+
private transformCurrentObj;
|
|
225
229
|
/**
|
|
226
230
|
* Defines class/multiple classes separated by a space for customizing Image Editor UI.
|
|
227
231
|
*
|
|
@@ -597,6 +601,7 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
597
601
|
private cancelPan;
|
|
598
602
|
private callMainToolbar;
|
|
599
603
|
private setCurrSelectionPoints;
|
|
604
|
+
private updatePannedRegion;
|
|
600
605
|
private updateObjAndFreeHandDrawColl;
|
|
601
606
|
private cancelItems;
|
|
602
607
|
private freehandDownHandler;
|
|
@@ -640,6 +645,8 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
640
645
|
private cropObjColl;
|
|
641
646
|
private cropFreehandDrawColl;
|
|
642
647
|
private hoverFreehandraw;
|
|
648
|
+
private pointsHorizontalFlip;
|
|
649
|
+
private pointsVerticalFlip;
|
|
643
650
|
private flipFreehandrawColl;
|
|
644
651
|
private rotateFreehandDrawColl;
|
|
645
652
|
private zoomFreehandDrawColl;
|
|
@@ -651,7 +658,7 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
651
658
|
private clearOuterCanvas;
|
|
652
659
|
private cropCircle;
|
|
653
660
|
private updateCropObj;
|
|
654
|
-
private
|
|
661
|
+
private setCurrentObj;
|
|
655
662
|
private drawCropSelectionImage;
|
|
656
663
|
private cropImg;
|
|
657
664
|
private updateImageRatioForActObj;
|
|
@@ -667,6 +674,8 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
667
674
|
private resetPanPoints;
|
|
668
675
|
private flipCrop;
|
|
669
676
|
private rotateCrop;
|
|
677
|
+
private getCurrentCropState;
|
|
678
|
+
private isInitialRotate;
|
|
670
679
|
private updateRotatePanPoints;
|
|
671
680
|
private rotatePan;
|
|
672
681
|
private rotateZoom;
|
|
@@ -677,6 +686,7 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
677
686
|
private refreshActiveObj;
|
|
678
687
|
private redrawText;
|
|
679
688
|
private setTextSelection;
|
|
689
|
+
private getCurrentObj;
|
|
680
690
|
private updateUndoRedoColl;
|
|
681
691
|
private fileSelect;
|
|
682
692
|
private findTextPoint;
|
|
@@ -784,7 +794,6 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
784
794
|
private redrawObj;
|
|
785
795
|
private updateCurrentActiveObjPoint;
|
|
786
796
|
private rotateObjColl;
|
|
787
|
-
private setTextFontSize;
|
|
788
797
|
private redrawShape;
|
|
789
798
|
private applyActObj;
|
|
790
799
|
private apply;
|
|
@@ -798,6 +807,7 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
798
807
|
private clearActObj;
|
|
799
808
|
private applyPenDraw;
|
|
800
809
|
private drawRotatedImage;
|
|
810
|
+
private updateCurrSelectionPoint;
|
|
801
811
|
private setClientTransformedDimension;
|
|
802
812
|
private popForDefaultTransformedState;
|
|
803
813
|
private popForDefaultFlipState;
|
|
@@ -824,9 +834,11 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
824
834
|
private setFilter;
|
|
825
835
|
private renderImage;
|
|
826
836
|
private updateTextBox;
|
|
837
|
+
private drawNewSelection;
|
|
838
|
+
private setDestPointsForFlipState;
|
|
839
|
+
private performUndoDefaultAction;
|
|
827
840
|
private setAdjustment;
|
|
828
841
|
private updateFilter;
|
|
829
|
-
private drawNewSelection;
|
|
830
842
|
/**
|
|
831
843
|
* Clear a current selection.
|
|
832
844
|
*
|
|
@@ -934,7 +946,6 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
934
946
|
* @returns {void}.
|
|
935
947
|
*/
|
|
936
948
|
pan(value: boolean): void;
|
|
937
|
-
private setDestPointsForFlipState;
|
|
938
949
|
/**
|
|
939
950
|
* Increase / Decrease the magnification of an image.
|
|
940
951
|
*
|