@syncfusion/ej2-image-editor 23.2.6 → 23.2.7
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 +8 -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 +11 -2
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +11 -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 +7 -7
- package/src/image-editor/action/freehand-draw.js +11 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 23.2.
|
|
3
|
+
* version : 23.2.7
|
|
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@23.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@23.2.6",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-RP/xIi6rWDW3xEdVwXpCJbbYUkZLXBPl3yMd75ep5PS7/CxFhDon95uL0dEMLC67CBRgGAa0i+WIgzHaj99lPg==",
|
|
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.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-23.2.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-23.2.6.tgz",
|
|
27
|
+
"_shasum": "291bd6b3ae2ea5c346fb23a4896592267d767594",
|
|
28
28
|
"_spec": "@syncfusion/ej2-image-editor@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"bundleDependencies": false,
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@syncfusion/ej2-base": "~23.2.6",
|
|
36
|
-
"@syncfusion/ej2-buttons": "~23.2.
|
|
36
|
+
"@syncfusion/ej2-buttons": "~23.2.7",
|
|
37
37
|
"@syncfusion/ej2-inputs": "~23.2.4",
|
|
38
|
-
"@syncfusion/ej2-navigations": "~23.2.
|
|
38
|
+
"@syncfusion/ej2-navigations": "~23.2.7",
|
|
39
39
|
"@syncfusion/ej2-popups": "~23.2.4",
|
|
40
40
|
"@syncfusion/ej2-splitbuttons": "~23.2.4"
|
|
41
41
|
},
|
|
@@ -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": "23.2.
|
|
70
|
+
"version": "23.2.7",
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
73
73
|
}
|
|
@@ -1068,8 +1068,14 @@ var FreehandDrawing = /** @class */ (function () {
|
|
|
1068
1068
|
if (isBlazor() && parent.events && parent.events.shapeChanging.hasDelegate === true) {
|
|
1069
1069
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
1070
1070
|
parent.dotNetRef.invokeMethodAsync('ShapeEventAsync', 'OnShape', shapeChangingArgs).then(function (shapeChangingArgs) {
|
|
1071
|
-
parent.activeObj.strokeSettings.strokeColor = shapeChangingArgs.currentShapeSettings.strokeColor;
|
|
1072
1071
|
_this.penStrokeWidth = shapeChangingArgs.currentShapeSettings.strokeWidth;
|
|
1072
|
+
if (parent.activeObj.strokeSettings.strokeColor !== shapeChangingArgs.currentShapeSettings.strokeColor) {
|
|
1073
|
+
parent.activeObj.strokeSettings.strokeColor = shapeChangingArgs.currentShapeSettings.strokeColor;
|
|
1074
|
+
var penColorElement = parent.element.querySelector('.e-ie-toolbar-e-pen-color .e-dropdownbtn-preview');
|
|
1075
|
+
if (penColorElement) {
|
|
1076
|
+
penColorElement.style.background = shapeChangingArgs.currentShapeSettings.strokeColor;
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1073
1079
|
if (_this.fhdSelID) {
|
|
1074
1080
|
parent.pointColl[_this.fhdSelIdx].strokeColor = shapeChangingArgs.currentShapeSettings.strokeColor;
|
|
1075
1081
|
parent.pointColl[_this.fhdSelIdx].strokeWidth = shapeChangingArgs.currentShapeSettings.strokeWidth;
|
|
@@ -1084,8 +1090,11 @@ var FreehandDrawing = /** @class */ (function () {
|
|
|
1084
1090
|
}
|
|
1085
1091
|
else {
|
|
1086
1092
|
parent.trigger('shapeChanging', shapeChangingArgs);
|
|
1087
|
-
parent.activeObj.strokeSettings.strokeColor = shapeChangingArgs.currentShapeSettings.strokeColor;
|
|
1088
1093
|
this.penStrokeWidth = shapeChangingArgs.currentShapeSettings.strokeWidth;
|
|
1094
|
+
if (parent.activeObj.strokeSettings.strokeColor !== shapeChangingArgs.currentShapeSettings.strokeColor) {
|
|
1095
|
+
parent.activeObj.strokeSettings.strokeColor = shapeChangingArgs.currentShapeSettings.strokeColor;
|
|
1096
|
+
parent.notify('toolbar', { prop: 'update-toolbar-items', onPropertyChange: false });
|
|
1097
|
+
}
|
|
1089
1098
|
if (this.fhdSelID) {
|
|
1090
1099
|
parent.pointColl[this.fhdSelIdx].strokeColor = shapeChangingArgs.currentShapeSettings.strokeColor;
|
|
1091
1100
|
parent.pointColl[this.fhdSelIdx].strokeWidth = shapeChangingArgs.currentShapeSettings.strokeWidth;
|