@syncfusion/ej2-image-editor 28.1.39 → 28.1.41
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 +4 -2
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +4 -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 +9 -9
- package/src/image-editor/action/draw.js +4 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 28.1.
|
|
3
|
+
* version : 28.1.41
|
|
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@28.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@28.1.39",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-xQHF72FchEUkyjfMwpG53hkesJSw5EjMiWnEsn1Ipr9nknumGsGvToRt3ld1YqOlb5WpNXmvzVoCJdmggI5eBg==",
|
|
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-28.1.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-28.1.39.tgz",
|
|
27
|
+
"_shasum": "ffd308de5770a4ef97575c825f1ab3aac82b61d1",
|
|
28
28
|
"_spec": "@syncfusion/ej2-image-editor@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@syncfusion/ej2-base": "~28.1.33",
|
|
36
36
|
"@syncfusion/ej2-buttons": "~28.1.39",
|
|
37
|
-
"@syncfusion/ej2-dropdowns": "~28.1.
|
|
38
|
-
"@syncfusion/ej2-inputs": "~28.1.
|
|
39
|
-
"@syncfusion/ej2-navigations": "~28.1.
|
|
37
|
+
"@syncfusion/ej2-dropdowns": "~28.1.41",
|
|
38
|
+
"@syncfusion/ej2-inputs": "~28.1.41",
|
|
39
|
+
"@syncfusion/ej2-navigations": "~28.1.41",
|
|
40
40
|
"@syncfusion/ej2-popups": "~28.1.39",
|
|
41
|
-
"@syncfusion/ej2-splitbuttons": "~28.1.
|
|
41
|
+
"@syncfusion/ej2-splitbuttons": "~28.1.41"
|
|
42
42
|
},
|
|
43
43
|
"deprecated": false,
|
|
44
44
|
"description": "Essential JS 2 ImageEditor",
|
|
@@ -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": "28.1.
|
|
71
|
+
"version": "28.1.41",
|
|
72
72
|
"sideEffects": false,
|
|
73
73
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
74
74
|
}
|
|
@@ -4039,14 +4039,16 @@ var Draw = /** @class */ (function () {
|
|
|
4039
4039
|
this.openImageData(dropArea);
|
|
4040
4040
|
return;
|
|
4041
4041
|
}
|
|
4042
|
-
var fileType = this.getFileExtensionFromURL(this.openURL)
|
|
4042
|
+
var fileType = this.getFileExtensionFromURL(this.openURL);
|
|
4043
4043
|
if (fileType) {
|
|
4044
|
+
fileType = fileType.toLowerCase();
|
|
4044
4045
|
fileType = (fileType === 'jpg' || fileType === 'jpeg') ? 'jpeg' : fileType;
|
|
4045
4046
|
}
|
|
4046
4047
|
var isAllowedFileType = (fileType ? (extension.indexOf(fileType) > -1 ||
|
|
4047
4048
|
(fileType === 'jpeg' && (parent.uploadSettings.allowedExtensions.indexOf('jpg') > -1 ||
|
|
4048
4049
|
parent.uploadSettings.allowedExtensions.indexOf('jpeg') > -1))) : false) || this.isNullExtension;
|
|
4049
|
-
if (this.openURL.indexOf('data:image/') > -1 && this.openURL.indexOf('base64') > -1)
|
|
4050
|
+
if ((this.openURL.indexOf('data:image/') > -1 && this.openURL.indexOf('base64') > -1) ||
|
|
4051
|
+
this.openURL.indexOf('blob') > -1) {
|
|
4050
4052
|
this.openImageData(dropArea, true);
|
|
4051
4053
|
}
|
|
4052
4054
|
else if (parent.uploadSettings.minFileSize || parent.uploadSettings.maxFileSize) {
|