@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 26.1.35
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@25.1.35",
3
+ "_id": "@syncfusion/ej2-image-editor@26.1.35",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-X1v3NgYeuQnhDeYcNtmjd5Z8i6iyt0+Y8lfDHCkI2a+QFHpKfXgGwX3/ADNpsW9azAqi9snBSQqIdLXpF9lgkg==",
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-release/@syncfusion/ej2-image-editor/-/ej2-image-editor-25.1.35.tgz",
27
- "_shasum": "55bac2f91b4ef49fbc257a9e99588a724eb185dc",
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",
35
+ "@syncfusion/ej2-base": "~26.1.37",
36
36
  "@syncfusion/ej2-buttons": "~26.1.35",
37
- "@syncfusion/ej2-dropdowns": "~26.1.35",
38
- "@syncfusion/ej2-inputs": "~26.1.35",
39
- "@syncfusion/ej2-navigations": "~26.1.35",
40
- "@syncfusion/ej2-popups": "~26.1.35",
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.35",
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').style.display = 'none';
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').style.display = 'none';
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').style.display = 'none';
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').style.display = 'block';
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 () {
@@ -1697,6 +1697,7 @@
1697
1697
  text-transform: capitalize;
1698
1698
  margin-left: calc(100% - 194px);
1699
1699
  margin-top: 4px;
1700
+ margin-left: calc(100% - 188px);
1700
1701
  }
1701
1702
 
1702
1703
  .e-device.e-ie-save-dialog .e-ie-img-size-value-span {
@@ -694,6 +694,9 @@
694
694
  @if $skin-name == 'fabric' {
695
695
  margin-left: calc(100% - 180px);
696
696
  }
697
+ @if $skin-name == 'fluent2' {
698
+ margin-left: calc(100% - 188px);
699
+ }
697
700
  }
698
701
 
699
702
  .e-device.e-ie-save-dialog .e-ie-img-size-value-span {
@@ -1697,6 +1697,7 @@
1697
1697
  text-transform: capitalize;
1698
1698
  margin-left: calc(100% - 194px);
1699
1699
  margin-top: 4px;
1700
+ margin-left: calc(100% - 188px);
1700
1701
  }
1701
1702
 
1702
1703
  .e-device.e-ie-save-dialog .e-ie-img-size-value-span {