@syncfusion/ej2-image-editor 24.2.4 → 24.2.8
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 +20 -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 +328 -242
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +328 -243
- 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 +2 -0
- package/src/image-editor/action/selection.js +256 -235
- package/src/image-editor/action/shape.js +56 -1
- package/src/image-editor/base/image-editor.js +12 -6
- package/src/image-editor/base/interface.d.ts +26 -2
- package/src/image-editor/renderer/toolbar.js +2 -0
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -63
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -39
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.8
|
|
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.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@24.2.5",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-HL71/r90EJJh5CG9XlV11LJ6co+jnhvw1gvx+KaOA2CJuBdtjEoWdwY1yOyb8mTrutqV2/7i2Bg8hA0890GxFw==",
|
|
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.5.tgz",
|
|
27
|
+
"_shasum": "d0df1fb621600b316772fa681cbea96a24fcee5a",
|
|
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.7",
|
|
36
|
+
"@syncfusion/ej2-buttons": "~24.2.7",
|
|
37
|
+
"@syncfusion/ej2-inputs": "~24.2.7",
|
|
38
|
+
"@syncfusion/ej2-navigations": "~24.2.8",
|
|
39
|
+
"@syncfusion/ej2-popups": "~24.2.8",
|
|
40
|
+
"@syncfusion/ej2-splitbuttons": "~24.2.7"
|
|
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.8",
|
|
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
|
}
|
|
@@ -44,6 +44,7 @@ export declare class Selection {
|
|
|
44
44
|
private isPinching;
|
|
45
45
|
private isSliding;
|
|
46
46
|
private mouseDown;
|
|
47
|
+
private isSliderActive;
|
|
47
48
|
constructor(parent: ImageEditor);
|
|
48
49
|
destroy(): void;
|
|
49
50
|
private addEventListener;
|
|
@@ -146,6 +147,7 @@ export declare class Selection {
|
|
|
146
147
|
private deleteItem;
|
|
147
148
|
private updateFreehandDrawColorChange;
|
|
148
149
|
private updatePrevShapeSettings;
|
|
150
|
+
private getArrowType;
|
|
149
151
|
private getRectanglePoints;
|
|
150
152
|
private getTransRotationPoint;
|
|
151
153
|
private getNumTextValue;
|