@syncfusion/ej2-image-editor 26.1.35 → 26.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 +16 -4
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +16 -4
- 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 +10 -10
- package/src/image-editor/action/draw.js +8 -2
- package/src/image-editor/base/image-editor.js +8 -2
- package/styles/fluent2.css +1 -0
- package/styles/image-editor/_layout.scss +3 -0
- package/styles/image-editor/fluent2.css +1 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.1.
|
|
3
|
+
* version : 26.1.38
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@26.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-ZrvlSqlzKEEK3dXjmDd8+2ysoTgvz6nkD37nza3lk71r9ALdvzahT1dr9Dsw4n2TPqUAxotVpLUAFRA1PTi4lA==",
|
|
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-
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-26.1.35.tgz",
|
|
27
|
+
"_shasum": "7b9d27aee5bea4b6cb963cc26a61d0a97baf62ac",
|
|
28
28
|
"_spec": "@syncfusion/ej2-image-editor@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
},
|
|
33
33
|
"bundleDependencies": false,
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@syncfusion/ej2-base": "~26.1.
|
|
35
|
+
"@syncfusion/ej2-base": "~26.1.37",
|
|
36
36
|
"@syncfusion/ej2-buttons": "~26.1.35",
|
|
37
|
-
"@syncfusion/ej2-dropdowns": "~26.1.
|
|
38
|
-
"@syncfusion/ej2-inputs": "~26.1.
|
|
39
|
-
"@syncfusion/ej2-navigations": "~26.1.
|
|
40
|
-
"@syncfusion/ej2-popups": "~26.1.
|
|
37
|
+
"@syncfusion/ej2-dropdowns": "~26.1.38",
|
|
38
|
+
"@syncfusion/ej2-inputs": "~26.1.38",
|
|
39
|
+
"@syncfusion/ej2-navigations": "~26.1.38",
|
|
40
|
+
"@syncfusion/ej2-popups": "~26.1.38",
|
|
41
41
|
"@syncfusion/ej2-splitbuttons": "~26.1.35"
|
|
42
42
|
},
|
|
43
43
|
"deprecated": false,
|
|
@@ -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": "26.1.
|
|
71
|
+
"version": "26.1.38",
|
|
72
72
|
"sideEffects": false,
|
|
73
73
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
74
74
|
}
|
|
@@ -3874,7 +3874,10 @@ var Draw = /** @class */ (function () {
|
|
|
3874
3874
|
}
|
|
3875
3875
|
};
|
|
3876
3876
|
Draw.prototype.open = function (data) {
|
|
3877
|
-
document.getElementById(this.parent.element.id + '_dropArea')
|
|
3877
|
+
var dropArea = document.getElementById(this.parent.element.id + '_dropArea');
|
|
3878
|
+
if (dropArea) {
|
|
3879
|
+
dropArea.style.display = 'none';
|
|
3880
|
+
}
|
|
3878
3881
|
if (!this.parent.disabled) {
|
|
3879
3882
|
this.openURL = data;
|
|
3880
3883
|
this.restoreOldImage();
|
|
@@ -3895,7 +3898,10 @@ var Draw = /** @class */ (function () {
|
|
|
3895
3898
|
};
|
|
3896
3899
|
Draw.prototype.fileSelect = function (inputElement, args) {
|
|
3897
3900
|
var parent = this.parent;
|
|
3898
|
-
document.getElementById(parent.element.id + '_dropArea')
|
|
3901
|
+
var dropArea = document.getElementById(parent.element.id + '_dropArea');
|
|
3902
|
+
if (dropArea) {
|
|
3903
|
+
dropArea.style.display = 'none';
|
|
3904
|
+
}
|
|
3899
3905
|
if (!parent.disabled) {
|
|
3900
3906
|
var filesData = void 0;
|
|
3901
3907
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
@@ -937,7 +937,10 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
937
937
|
if (isNullOrUndefined(data)) {
|
|
938
938
|
return;
|
|
939
939
|
}
|
|
940
|
-
document.getElementById(this.element.id + '_dropArea')
|
|
940
|
+
var dropArea = document.getElementById(this.element.id + '_dropArea');
|
|
941
|
+
if (dropArea) {
|
|
942
|
+
dropArea.style.display = 'none';
|
|
943
|
+
}
|
|
941
944
|
this.notify('draw', { prop: 'open', value: { data: data } });
|
|
942
945
|
};
|
|
943
946
|
/**
|
|
@@ -1967,7 +1970,10 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
1967
1970
|
this.notify('toolbar', { prop: 'destroy-top-toolbar', onPropertyChange: false });
|
|
1968
1971
|
this.notify('toolbar', { prop: 'create-toolbar', onPropertyChange: false });
|
|
1969
1972
|
this.notify('toolbar', { prop: 'create-contextual-toolbar', onPropertyChange: false });
|
|
1970
|
-
document.getElementById(this.element.id + '_dropArea')
|
|
1973
|
+
var dropArea = document.getElementById(this.element.id + '_dropArea');
|
|
1974
|
+
if (dropArea) {
|
|
1975
|
+
dropArea.style.display = 'block';
|
|
1976
|
+
}
|
|
1971
1977
|
};
|
|
1972
1978
|
// Toolbar related codes
|
|
1973
1979
|
ImageEditor.prototype.applyShapes = function () {
|
package/styles/fluent2.css
CHANGED