@syncfusion/ej2-image-editor 24.2.3 → 24.2.5
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 +24 -2
- 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 +457 -262
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +457 -263
- 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 +11 -11
- package/src/image-editor/action/draw.js +2 -1
- package/src/image-editor/action/selection.d.ts +3 -0
- package/src/image-editor/action/selection.js +260 -230
- package/src/image-editor/action/shape.js +56 -1
- package/src/image-editor/action/undo-redo.js +2 -0
- package/src/image-editor/base/image-editor.js +9 -6
- package/src/image-editor/base/interface.d.ts +26 -2
- package/src/image-editor/renderer/toolbar.d.ts +4 -0
- package/src/image-editor/renderer/toolbar.js +128 -25
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 24.2.
|
|
3
|
+
* version : 24.2.5
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@24.
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@24.2.4",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-mPnFS224TP/o9ZiCfw9lQHu8okZ1dfH19H4gNqDpgZ2rNxbZ05XFUVVfIrFxR7YpXmwZ2tO57u7qDDvrAmSSqQ==",
|
|
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.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-24.2.4.tgz",
|
|
27
|
+
"_shasum": "e93b3abbb89ac4690d84ea1abc60802f9fe906e7",
|
|
28
28
|
"_spec": "@syncfusion/ej2-image-editor@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
},
|
|
33
33
|
"bundleDependencies": false,
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@syncfusion/ej2-base": "~24.2.
|
|
36
|
-
"@syncfusion/ej2-buttons": "~24.2.
|
|
37
|
-
"@syncfusion/ej2-inputs": "~24.2.
|
|
38
|
-
"@syncfusion/ej2-navigations": "~24.2.
|
|
39
|
-
"@syncfusion/ej2-popups": "~24.2.
|
|
40
|
-
"@syncfusion/ej2-splitbuttons": "~24.2.
|
|
35
|
+
"@syncfusion/ej2-base": "~24.2.5",
|
|
36
|
+
"@syncfusion/ej2-buttons": "~24.2.5",
|
|
37
|
+
"@syncfusion/ej2-inputs": "~24.2.5",
|
|
38
|
+
"@syncfusion/ej2-navigations": "~24.2.4",
|
|
39
|
+
"@syncfusion/ej2-popups": "~24.2.5",
|
|
40
|
+
"@syncfusion/ej2-splitbuttons": "~24.2.5"
|
|
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": "24.2.
|
|
70
|
+
"version": "24.2.5",
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
73
73
|
}
|
|
@@ -3744,7 +3744,8 @@ var Draw = /** @class */ (function () {
|
|
|
3744
3744
|
if (!isBlazor()) {
|
|
3745
3745
|
parent.notify('toolbar', { prop: 'getDefToolbarItems', value: { obj: obj } });
|
|
3746
3746
|
if (obj['defToolbarItems'].length === 0 &&
|
|
3747
|
-
(isNullOrUndefined(document.getElementById(id + '_toolbar')))
|
|
3747
|
+
(isNullOrUndefined(document.getElementById(id + '_toolbar'))) &&
|
|
3748
|
+
parent.element.querySelector('#' + id + '_toolbarArea')) {
|
|
3748
3749
|
var height = parent.element.querySelector('#' + id + '_toolbarArea').clientHeight;
|
|
3749
3750
|
parent.notify('toolbar', { prop: 'setToolbarHeight', value: { height: height } });
|
|
3750
3751
|
}
|
|
@@ -43,6 +43,8 @@ export declare class Selection {
|
|
|
43
43
|
private isImageClarity;
|
|
44
44
|
private isPinching;
|
|
45
45
|
private isSliding;
|
|
46
|
+
private mouseDown;
|
|
47
|
+
private isSliderActive;
|
|
46
48
|
constructor(parent: ImageEditor);
|
|
47
49
|
destroy(): void;
|
|
48
50
|
private addEventListener;
|
|
@@ -145,6 +147,7 @@ export declare class Selection {
|
|
|
145
147
|
private deleteItem;
|
|
146
148
|
private updateFreehandDrawColorChange;
|
|
147
149
|
private updatePrevShapeSettings;
|
|
150
|
+
private getArrowType;
|
|
148
151
|
private getRectanglePoints;
|
|
149
152
|
private getTransRotationPoint;
|
|
150
153
|
private getNumTextValue;
|