@syncfusion/ej2-image-editor 21.2.3 → 21.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 21.2.3
3
+ * version : 21.2.5
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.1.41",
3
+ "_id": "@syncfusion/ej2-image-editor@21.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-5wNi8aeB+njuaCz7I0AYUhVZ1hoFqfaHXgo3encOJtpxW3n7vbqndD407VSgF+VS7fW4jkVYOvUxEqwkjji48g==",
5
+ "_integrity": "sha512-Z7InCNgVrgwr+Zil7yis3xs3unU8IQYazv92PqwOIMqsXG2UN6vpbJ8CaMASA5TXMAd64lUym1vbfht5zaMKFw==",
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.1.41.tgz",
24
- "_shasum": "212f6ac669cc0c143d1ee8f0ffc6c69a0cb33d35",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-21.2.3.tgz",
27
+ "_shasum": "c3da0151afadfe9e604da48605032e49e16ac9ae",
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.3",
34
- "@syncfusion/ej2-inputs": "~21.2.3",
35
- "@syncfusion/ej2-navigations": "~21.2.3",
36
- "@syncfusion/ej2-popups": "~21.2.3",
37
- "@syncfusion/ej2-splitbuttons": "~21.2.3"
36
+ "@syncfusion/ej2-buttons": "~21.2.5",
37
+ "@syncfusion/ej2-inputs": "~21.2.4",
38
+ "@syncfusion/ej2-navigations": "~21.2.5",
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.3",
70
+ "version": "21.2.5",
68
71
  "sideEffects": false,
69
72
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
70
73
  }
@@ -6756,7 +6756,9 @@ var ImageEditor = /** @class */ (function (_super) {
6756
6756
  var x = points.x;
6757
6757
  var y = points.y;
6758
6758
  isShape = this.findTargetObj(x, y, isCropSelection);
6759
- this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
6759
+ if (!isCropSelection) {
6760
+ this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
6761
+ }
6760
6762
  if (isTextArea) {
6761
6763
  this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
6762
6764
  this.textArea.style.display = 'block';
@@ -6796,7 +6798,9 @@ var ImageEditor = /** @class */ (function (_super) {
6796
6798
  var x = points.x;
6797
6799
  var y = points.y;
6798
6800
  isShape = this.findTargetObj(x, y, isCropSelection);
6799
- this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
6801
+ if (!isCropSelection) {
6802
+ this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
6803
+ }
6800
6804
  if (isTextArea) {
6801
6805
  this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
6802
6806
  this.textArea.style.display = 'block';