@syncfusion/ej2-image-editor 28.1.39 → 28.2.3

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 : 28.1.39
3
+ * version : 28.2.3
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.33",
3
+ "_id": "@syncfusion/ej2-image-editor@28.1.39",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-BUL57kBFVGrO2y2U94bfMQb+xu5xWy+FroDTzYEQWigDObFD8tdz1Tr2wifsVIK3DpopR8emVR3tWr4n3Uq1KQ==",
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.33.tgz",
27
- "_shasum": "6cf4949ea3b1d97e12c098abeb7d916f09ceb658",
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": {
@@ -32,13 +32,13 @@
32
32
  },
33
33
  "bundleDependencies": false,
34
34
  "dependencies": {
35
- "@syncfusion/ej2-base": "~28.1.33",
36
- "@syncfusion/ej2-buttons": "~28.1.39",
37
- "@syncfusion/ej2-dropdowns": "~28.1.39",
38
- "@syncfusion/ej2-inputs": "~28.1.37",
39
- "@syncfusion/ej2-navigations": "~28.1.39",
40
- "@syncfusion/ej2-popups": "~28.1.39",
41
- "@syncfusion/ej2-splitbuttons": "~28.1.37"
35
+ "@syncfusion/ej2-base": "~28.2.3",
36
+ "@syncfusion/ej2-buttons": "~28.2.3",
37
+ "@syncfusion/ej2-dropdowns": "~28.2.3",
38
+ "@syncfusion/ej2-inputs": "~28.2.3",
39
+ "@syncfusion/ej2-navigations": "~28.2.3",
40
+ "@syncfusion/ej2-popups": "~28.2.3",
41
+ "@syncfusion/ej2-splitbuttons": "~28.2.3"
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.39",
71
+ "version": "28.2.3",
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).toLowerCase();
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) {