@syncfusion/ej2-image-editor 25.1.40 → 25.1.42

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 : 25.1.40
3
+ * version : 25.1.42
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.39",
3
+ "_id": "@syncfusion/ej2-image-editor@25.1.40",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-DLjSgamnLghon4x6IjnuAK7fITD1/EUXPLP9mCO8zui1ITW0M99SuUkr+l6ohy/pP8wuPM85bdHcEj+Bn4x9Qw==",
5
+ "_integrity": "sha512-XMjEHXnbJE44A6WuIBbiBBQnQD3+VOCPNZnWcxUFHXubNhb4TsfG5xqNJM1szIryTRxA8yQ7h7dHUnHpEmN0LA==",
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-25.1.39.tgz",
27
- "_shasum": "41e05c1978cabd06b28176b3f3d0f71f68b16fe3",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-25.1.40.tgz",
27
+ "_shasum": "745bd56bc7c13ce0a23c78523129579f67fba1f6",
28
28
  "_spec": "@syncfusion/ej2-image-editor@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
30
30
  "author": {
@@ -34,9 +34,9 @@
34
34
  "dependencies": {
35
35
  "@syncfusion/ej2-base": "~25.1.35",
36
36
  "@syncfusion/ej2-buttons": "~25.1.39",
37
- "@syncfusion/ej2-inputs": "~25.1.40",
38
- "@syncfusion/ej2-navigations": "~25.1.40",
39
- "@syncfusion/ej2-popups": "~25.1.39",
37
+ "@syncfusion/ej2-inputs": "~25.1.42",
38
+ "@syncfusion/ej2-navigations": "~25.1.42",
39
+ "@syncfusion/ej2-popups": "~25.1.42",
40
40
  "@syncfusion/ej2-splitbuttons": "~25.1.38"
41
41
  },
42
42
  "deprecated": false,
@@ -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": "25.1.40",
70
+ "version": "25.1.42",
71
71
  "sideEffects": false,
72
72
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
73
73
  }
@@ -1133,7 +1133,7 @@ var ToolbarModule = /** @class */ (function () {
1133
1133
  var isCustomized = false;
1134
1134
  var items = [];
1135
1135
  var id = parent.element.id;
1136
- var defItems = ['Ellipse', 'Arrow', 'Line', 'Rectangle', 'Pen', 'Path', 'Text'];
1136
+ var defItems = ['Ellipse', 'Arrow', 'Line', 'Rectangle', 'Pen', 'Path', 'Text', 'Image'];
1137
1137
  if (parent.toolbar) {
1138
1138
  for (var i = 0; i < defItems.length; i++) {
1139
1139
  if (parent.toolbar.indexOf(defItems[i]) !== -1) {
@@ -1163,7 +1163,7 @@ var ToolbarModule = /** @class */ (function () {
1163
1163
  if (isNullOrUndefined(parent.toolbar) || !isCustomized || (parent.toolbar && parent.toolbar.indexOf('Text') > -1)) {
1164
1164
  items.push({ text: this.l10n.getConstant('Text'), id: 'text', iconCss: 'e-icons e-add-text' });
1165
1165
  }
1166
- if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Image') > -1)) {
1166
+ if (isNullOrUndefined(parent.toolbar) || !isCustomized || (parent.toolbar && parent.toolbar.indexOf('Image') > -1)) {
1167
1167
  items.push({ text: this.l10n.getConstant('Image'), id: 'image', iconCss: 'e-icons e-image' });
1168
1168
  }
1169
1169
  var obj = { freehandDrawSelectedId: null };