@syncfusion/ej2-image-editor 20.4.51 → 21.1.36
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/.eslintrc.json +1 -0
- package/CHANGELOG.md +55 -5
- 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 +20032 -11350
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +20027 -11313
- 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/package.json +12 -12
- package/src/image-editor/action/crop.d.ts +36 -0
- package/src/image-editor/action/crop.js +829 -0
- package/src/image-editor/action/draw.d.ts +125 -0
- package/src/image-editor/action/draw.js +3263 -0
- package/src/image-editor/action/export.d.ts +23 -0
- package/src/image-editor/action/export.js +364 -0
- package/src/image-editor/action/filter.d.ts +35 -0
- package/src/image-editor/action/filter.js +699 -0
- package/src/image-editor/action/freehand-draw.d.ts +61 -0
- package/src/image-editor/action/freehand-draw.js +1015 -0
- package/src/image-editor/action/index.d.ts +9 -0
- package/src/image-editor/action/index.js +9 -0
- package/src/image-editor/action/selection.d.ts +139 -0
- package/src/image-editor/action/selection.js +4518 -0
- package/src/image-editor/action/shape.d.ts +94 -0
- package/src/image-editor/action/shape.js +2745 -0
- package/src/image-editor/action/transform.d.ts +67 -0
- package/src/image-editor/action/transform.js +1859 -0
- package/src/image-editor/action/undo-redo.d.ts +43 -0
- package/src/image-editor/action/undo-redo.js +800 -0
- package/src/image-editor/base/enum.d.ts +189 -0
- package/src/image-editor/base/enum.js +198 -0
- package/src/image-editor/base/image-editor-model.d.ts +626 -0
- package/src/image-editor/base/image-editor.d.ts +1300 -0
- package/src/image-editor/base/image-editor.js +2270 -0
- package/src/image-editor/base/index.d.ts +4 -0
- package/src/image-editor/base/index.js +2 -0
- package/src/image-editor/base/interface.d.ts +1128 -0
- package/src/image-editor/base/interface.js +1 -0
- package/src/image-editor/index.d.ts +3 -5
- package/src/image-editor/index.js +3 -4
- package/src/image-editor/renderer/index.d.ts +1 -0
- package/src/image-editor/renderer/index.js +1 -0
- package/src/image-editor/renderer/toolbar.d.ts +105 -0
- package/src/image-editor/renderer/toolbar.js +3018 -0
- package/styles/bootstrap-dark.css +79 -8
- package/styles/bootstrap.css +79 -8
- package/styles/bootstrap4.css +79 -8
- package/styles/bootstrap5-dark.css +81 -11
- package/styles/bootstrap5.css +81 -11
- package/styles/fabric-dark.css +79 -8
- package/styles/fabric.css +79 -8
- package/styles/fluent-dark.css +79 -8
- package/styles/fluent.css +79 -8
- package/styles/highcontrast-light.css +81 -10
- package/styles/highcontrast.css +82 -10
- package/styles/image-editor/_highcontrast-definition.scss +1 -1
- package/styles/image-editor/_highcontrast-light-definition.scss +1 -1
- package/styles/image-editor/_layout.scss +28 -18
- package/styles/image-editor/_material3-dark-definition.scss +1 -0
- package/styles/image-editor/_material3-definition.scss +10 -10
- package/styles/image-editor/_theme.scss +11 -6
- package/styles/image-editor/bootstrap-dark.css +79 -8
- package/styles/image-editor/bootstrap.css +79 -8
- package/styles/image-editor/bootstrap4.css +79 -8
- package/styles/image-editor/bootstrap5-dark.css +81 -11
- package/styles/image-editor/bootstrap5.css +81 -11
- package/styles/image-editor/fabric-dark.css +79 -8
- package/styles/image-editor/fabric.css +79 -8
- package/styles/image-editor/fluent-dark.css +79 -8
- package/styles/image-editor/fluent.css +79 -8
- package/styles/image-editor/highcontrast-light.css +81 -10
- package/styles/image-editor/highcontrast.css +82 -10
- package/styles/image-editor/icons/_bootstrap-dark.scss +132 -0
- package/styles/image-editor/icons/_bootstrap.scss +132 -0
- package/styles/image-editor/icons/_bootstrap4.scss +132 -0
- package/styles/image-editor/icons/_bootstrap5.scss +132 -0
- package/styles/image-editor/icons/_fabric-dark.scss +132 -0
- package/styles/image-editor/icons/_fabric.scss +132 -0
- package/styles/image-editor/icons/_fluent.scss +132 -0
- package/styles/image-editor/icons/_fusionnew.scss +132 -0
- package/styles/image-editor/icons/_highcontrast-light.scss +132 -0
- package/styles/image-editor/icons/_highcontrast.scss +132 -0
- package/styles/image-editor/icons/_material-dark.scss +132 -0
- package/styles/image-editor/icons/_material.scss +132 -0
- package/styles/image-editor/icons/_material3-dark.scss +1 -0
- package/styles/image-editor/icons/_material3.scss +133 -1
- package/styles/image-editor/icons/_tailwind.scss +132 -0
- package/styles/image-editor/material-dark.css +79 -16
- package/styles/image-editor/material.css +79 -11
- package/styles/image-editor/material3-dark.css +453 -0
- package/styles/image-editor/material3-dark.scss +14 -0
- package/styles/image-editor/material3.css +509 -0
- package/styles/image-editor/material3.scss +14 -0
- package/styles/image-editor/tailwind-dark.css +79 -8
- package/styles/image-editor/tailwind.css +79 -8
- package/styles/material-dark.css +79 -16
- package/styles/material.css +79 -11
- package/styles/material3-dark.css +453 -0
- package/styles/material3-dark.scss +3 -0
- package/styles/material3.css +509 -0
- package/styles/material3.scss +3 -0
- package/styles/tailwind-dark.css +79 -8
- package/styles/tailwind.css +79 -8
- package/GitLeaksReport.json +0 -1
- package/gitleaks-ci/gitleaks +0 -0
- package/gitleaks-ci.tar.gz +0 -0
- package/src/image-editor/image-editor-model.d.ts +0 -331
- package/src/image-editor/image-editor.d.ts +0 -1428
- package/src/image-editor/image-editor.js +0 -12849
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 21.1.36
|
|
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
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-image-editor@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-image-editor@
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@22.1.34",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-vHVMqE4fOIn3rw2m8xFSY8WmNBGkIYPl20bFO2BdKqqHJmDENk2c5aIwlRMyl+OjK48Z+fC5Ncq8ZFKiAb3Lfg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-image-editor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,21 +23,21 @@
|
|
|
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-
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-22.1.34.tgz",
|
|
27
|
+
"_shasum": "1890766c994d631eaac20fb905cda1a6e4050963",
|
|
28
28
|
"_spec": "@syncfusion/ej2-image-editor@*",
|
|
29
|
-
"_where": "/jenkins/workspace/
|
|
29
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
31
31
|
"name": "Syncfusion Inc."
|
|
32
32
|
},
|
|
33
33
|
"bundleDependencies": false,
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@syncfusion/ej2-base": "~
|
|
36
|
-
"@syncfusion/ej2-buttons": "~
|
|
37
|
-
"@syncfusion/ej2-inputs": "~
|
|
38
|
-
"@syncfusion/ej2-navigations": "~
|
|
39
|
-
"@syncfusion/ej2-popups": "~
|
|
40
|
-
"@syncfusion/ej2-splitbuttons": "~
|
|
35
|
+
"@syncfusion/ej2-base": "~22.1.34",
|
|
36
|
+
"@syncfusion/ej2-buttons": "~21.1.36",
|
|
37
|
+
"@syncfusion/ej2-inputs": "~22.1.34",
|
|
38
|
+
"@syncfusion/ej2-navigations": "~21.1.36",
|
|
39
|
+
"@syncfusion/ej2-popups": "~21.1.36",
|
|
40
|
+
"@syncfusion/ej2-splitbuttons": "~22.1.34"
|
|
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": "
|
|
70
|
+
"version": "21.1.36",
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
73
73
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ImageEditor } from '../index';
|
|
2
|
+
export declare class Crop {
|
|
3
|
+
private parent;
|
|
4
|
+
private lowerContext;
|
|
5
|
+
private upperContext;
|
|
6
|
+
private prevCropCurrObj;
|
|
7
|
+
private croppedDegree;
|
|
8
|
+
private cropDestPoints;
|
|
9
|
+
private tempFlipPanPoint;
|
|
10
|
+
private isPreventScaling;
|
|
11
|
+
constructor(parent: ImageEditor);
|
|
12
|
+
destroy(): void;
|
|
13
|
+
private addEventListener;
|
|
14
|
+
private removeEventListener;
|
|
15
|
+
private cropping;
|
|
16
|
+
getModuleName(): string;
|
|
17
|
+
private updateCropPvtVar;
|
|
18
|
+
private reset;
|
|
19
|
+
private cropImg;
|
|
20
|
+
private updateCropObj;
|
|
21
|
+
private rotateCrop;
|
|
22
|
+
private flipCrop;
|
|
23
|
+
private cropObjColl;
|
|
24
|
+
private cropPointCollection;
|
|
25
|
+
private cropFreehandDrawColl;
|
|
26
|
+
private setCurrSelPoints;
|
|
27
|
+
private cropCircle;
|
|
28
|
+
private getCurrCropState;
|
|
29
|
+
private isInitialRotate;
|
|
30
|
+
private updateRotatePan;
|
|
31
|
+
private crop;
|
|
32
|
+
private cropEvent;
|
|
33
|
+
private calcRatio;
|
|
34
|
+
private isObjInImage;
|
|
35
|
+
private getCurrFlipState;
|
|
36
|
+
}
|