@syncfusion/ej2-image-editor 21.2.3 → 21.2.6
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/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 +7 -2
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +7 -2
- 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 +14 -11
- package/src/image-editor/image-editor.js +7 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.2.
|
|
3
|
+
* version : 21.2.6
|
|
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@21.
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@21.2.5",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-nGKuhYWWdTOpjm8vrsaXNAX04hkk31VHqIB27agiLoDNrjLqWL/U13INHoTvi5WwEXkBLtECaouTalB/lnao3A==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-image-editor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -18,10 +18,13 @@
|
|
|
18
18
|
},
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
|
-
"/@syncfusion/ej2"
|
|
21
|
+
"/@syncfusion/ej2",
|
|
22
|
+
"/@syncfusion/ej2-angular-image-editor",
|
|
23
|
+
"/@syncfusion/ej2-react-image-editor",
|
|
24
|
+
"/@syncfusion/ej2-vue-image-editor"
|
|
22
25
|
],
|
|
23
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-21.
|
|
24
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-21.2.5.tgz",
|
|
27
|
+
"_shasum": "aa61f09aca88f67563b8907f39f304993687ba9a",
|
|
25
28
|
"_spec": "@syncfusion/ej2-image-editor@*",
|
|
26
29
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
27
30
|
"author": {
|
|
@@ -30,11 +33,11 @@
|
|
|
30
33
|
"bundleDependencies": false,
|
|
31
34
|
"dependencies": {
|
|
32
35
|
"@syncfusion/ej2-base": "~21.2.3",
|
|
33
|
-
"@syncfusion/ej2-buttons": "~21.2.
|
|
34
|
-
"@syncfusion/ej2-inputs": "~21.2.
|
|
35
|
-
"@syncfusion/ej2-navigations": "~21.2.
|
|
36
|
-
"@syncfusion/ej2-popups": "~21.2.
|
|
37
|
-
"@syncfusion/ej2-splitbuttons": "~21.2.
|
|
36
|
+
"@syncfusion/ej2-buttons": "~21.2.6",
|
|
37
|
+
"@syncfusion/ej2-inputs": "~21.2.6",
|
|
38
|
+
"@syncfusion/ej2-navigations": "~21.2.6",
|
|
39
|
+
"@syncfusion/ej2-popups": "~21.2.4",
|
|
40
|
+
"@syncfusion/ej2-splitbuttons": "~21.2.5"
|
|
38
41
|
},
|
|
39
42
|
"deprecated": false,
|
|
40
43
|
"description": "Essential JS 2 ImageEditor",
|
|
@@ -64,7 +67,7 @@
|
|
|
64
67
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/imageeditor"
|
|
65
68
|
},
|
|
66
69
|
"typings": "index.d.ts",
|
|
67
|
-
"version": "21.2.
|
|
70
|
+
"version": "21.2.6",
|
|
68
71
|
"sideEffects": false,
|
|
69
72
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
70
73
|
}
|
|
@@ -3402,6 +3402,7 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
3402
3402
|
this.pointColl = [];
|
|
3403
3403
|
this.freehandCounter = 0;
|
|
3404
3404
|
this.objColl.push(this.currSelectionPoint);
|
|
3405
|
+
this.currSelectionPoint = null;
|
|
3405
3406
|
this.zoomAction(this.cropObj.cropZoom);
|
|
3406
3407
|
this.currSelectionPoint = extend({}, this.objColl[0], null, true);
|
|
3407
3408
|
this.objColl = cropObjColl_1;
|
|
@@ -6756,7 +6757,9 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
6756
6757
|
var x = points.x;
|
|
6757
6758
|
var y = points.y;
|
|
6758
6759
|
isShape = this.findTargetObj(x, y, isCropSelection);
|
|
6759
|
-
|
|
6760
|
+
if (!isCropSelection) {
|
|
6761
|
+
this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
|
|
6762
|
+
}
|
|
6760
6763
|
if (isTextArea) {
|
|
6761
6764
|
this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
|
|
6762
6765
|
this.textArea.style.display = 'block';
|
|
@@ -6796,7 +6799,9 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
6796
6799
|
var x = points.x;
|
|
6797
6800
|
var y = points.y;
|
|
6798
6801
|
isShape = this.findTargetObj(x, y, isCropSelection);
|
|
6799
|
-
|
|
6802
|
+
if (!isCropSelection) {
|
|
6803
|
+
this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
|
|
6804
|
+
}
|
|
6800
6805
|
if (isTextArea) {
|
|
6801
6806
|
this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
|
|
6802
6807
|
this.textArea.style.display = 'block';
|