@syncfusion/ej2-image-editor 29.1.37 → 29.1.38
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/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 +12 -8
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +12 -8
- 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 +8 -8
- package/src/image-editor/action/selection.js +12 -8
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 29.1.
|
|
3
|
+
* version : 29.1.38
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. 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@29.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@29.1.37",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-+D/VOqTX1RBLbM3+gbbmInoSbaM1xcBoesAdg44ilDafvOFFExMRM5ih45Ei11xHfyoEKNGDFTFMu2YT4OC1rA==",
|
|
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.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-29.1.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-29.1.37.tgz",
|
|
27
|
+
"_shasum": "cfd2ed4116a7fa6ff96b7e8c9ee34ae36d3f9b11",
|
|
28
28
|
"_spec": "@syncfusion/ej2-image-editor@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@syncfusion/ej2-base": "~29.1.36",
|
|
36
36
|
"@syncfusion/ej2-buttons": "~29.1.34",
|
|
37
|
-
"@syncfusion/ej2-dropdowns": "~29.1.
|
|
38
|
-
"@syncfusion/ej2-inputs": "~29.1.
|
|
39
|
-
"@syncfusion/ej2-navigations": "~29.1.
|
|
37
|
+
"@syncfusion/ej2-dropdowns": "~29.1.38",
|
|
38
|
+
"@syncfusion/ej2-inputs": "~29.1.38",
|
|
39
|
+
"@syncfusion/ej2-navigations": "~29.1.38",
|
|
40
40
|
"@syncfusion/ej2-popups": "~29.1.37",
|
|
41
41
|
"@syncfusion/ej2-splitbuttons": "~29.1.33"
|
|
42
42
|
},
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/imageeditor"
|
|
69
69
|
},
|
|
70
70
|
"typings": "index.d.ts",
|
|
71
|
-
"version": "29.1.
|
|
71
|
+
"version": "29.1.38",
|
|
72
72
|
"sideEffects": false,
|
|
73
73
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
74
74
|
}
|
|
@@ -1570,18 +1570,22 @@ var Selection = /** @class */ (function () {
|
|
|
1570
1570
|
var endY = isStart ? actPoint.endY : actPoint.startY;
|
|
1571
1571
|
var wrapperWidth = parent.upperCanvas.width;
|
|
1572
1572
|
var wrapperHeight = parent.upperCanvas.height;
|
|
1573
|
+
var minX = destLeft < 0 ? 0 : destLeft;
|
|
1574
|
+
var minY = destTop < 0 ? 0 : destTop;
|
|
1575
|
+
var maxX = destLeft + destWidth > wrapperWidth ? wrapperWidth : destLeft + destWidth;
|
|
1576
|
+
var maxY = destTop + destHeight > wrapperHeight ? wrapperHeight : destTop + destHeight;
|
|
1573
1577
|
if (Browser.isDevice) {
|
|
1574
|
-
if (startX <
|
|
1575
|
-
startX =
|
|
1578
|
+
if (startX < minX) {
|
|
1579
|
+
startX = minX;
|
|
1576
1580
|
}
|
|
1577
|
-
if (startY <
|
|
1578
|
-
startY =
|
|
1581
|
+
if (startY < minY) {
|
|
1582
|
+
startY = minY;
|
|
1579
1583
|
}
|
|
1580
|
-
if (endX >
|
|
1581
|
-
endX =
|
|
1584
|
+
if (endX > maxX) {
|
|
1585
|
+
endX = maxX;
|
|
1582
1586
|
}
|
|
1583
|
-
if (endY >
|
|
1584
|
-
endY =
|
|
1587
|
+
if (endY > maxY) {
|
|
1588
|
+
endY = maxY;
|
|
1585
1589
|
}
|
|
1586
1590
|
}
|
|
1587
1591
|
else {
|