@syncfusion/ej2-image-editor 25.1.40 → 25.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.
- package/CHANGELOG.md +22 -0
- 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 +9 -9
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +9 -9
- 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 +11 -11
- package/src/image-editor/base/image-editor.js +1 -1
- package/src/image-editor/renderer/toolbar.js +8 -8
- package/styles/bootstrap-dark.css +2 -2
- package/styles/bootstrap.css +2 -2
- package/styles/bootstrap4.css +2 -2
- package/styles/bootstrap5-dark.css +2 -2
- package/styles/bootstrap5.css +2 -2
- package/styles/fabric-dark.css +2 -2
- package/styles/fabric.css +2 -2
- package/styles/fluent-dark.css +2 -2
- package/styles/fluent.css +2 -2
- package/styles/highcontrast-light.css +2 -2
- package/styles/highcontrast.css +2 -2
- package/styles/image-editor/_layout.scss +2 -2
- package/styles/image-editor/bootstrap-dark.css +2 -2
- package/styles/image-editor/bootstrap.css +2 -2
- package/styles/image-editor/bootstrap4.css +2 -2
- package/styles/image-editor/bootstrap5-dark.css +2 -2
- package/styles/image-editor/bootstrap5.css +2 -2
- package/styles/image-editor/fabric-dark.css +2 -2
- package/styles/image-editor/fabric.css +2 -2
- package/styles/image-editor/fluent-dark.css +2 -2
- package/styles/image-editor/fluent.css +2 -2
- package/styles/image-editor/highcontrast-light.css +2 -2
- package/styles/image-editor/highcontrast.css +2 -2
- package/styles/image-editor/material-dark.css +2 -2
- package/styles/image-editor/material.css +2 -2
- package/styles/image-editor/material3-dark.css +2 -2
- package/styles/image-editor/material3.css +2 -2
- package/styles/image-editor/tailwind-dark.css +2 -2
- package/styles/image-editor/tailwind.css +2 -2
- package/styles/material-dark.css +2 -2
- package/styles/material.css +2 -2
- package/styles/material3-dark.css +2 -2
- package/styles/material3.css +2 -2
- package/styles/tailwind-dark.css +2 -2
- package/styles/tailwind.css +2 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 25.
|
|
3
|
+
* version : 25.2.3
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@25.1.42",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-epbvTL+Fhixf+ZZtvUHaOvYBR9yf4yfLJaSpzGF0avYO9WpHsLNdfTWRim2m/IGkX5yJ/UEquqX61Liz1s4wNQ==",
|
|
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.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-25.1.42.tgz",
|
|
27
|
+
"_shasum": "f9ee82891233d0da6e48be3793265195ee37a487",
|
|
28
28
|
"_spec": "@syncfusion/ej2-image-editor@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
},
|
|
33
33
|
"bundleDependencies": false,
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@syncfusion/ej2-base": "~25.
|
|
36
|
-
"@syncfusion/ej2-buttons": "~25.
|
|
37
|
-
"@syncfusion/ej2-inputs": "~25.
|
|
38
|
-
"@syncfusion/ej2-navigations": "~25.
|
|
39
|
-
"@syncfusion/ej2-popups": "~25.
|
|
40
|
-
"@syncfusion/ej2-splitbuttons": "~25.
|
|
35
|
+
"@syncfusion/ej2-base": "~25.2.3",
|
|
36
|
+
"@syncfusion/ej2-buttons": "~25.2.3",
|
|
37
|
+
"@syncfusion/ej2-inputs": "~25.2.3",
|
|
38
|
+
"@syncfusion/ej2-navigations": "~25.2.3",
|
|
39
|
+
"@syncfusion/ej2-popups": "~25.2.3",
|
|
40
|
+
"@syncfusion/ej2-splitbuttons": "~25.2.3"
|
|
41
41
|
},
|
|
42
42
|
"deprecated": false,
|
|
43
43
|
"description": "Essential JS 2 ImageEditor",
|
|
@@ -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.
|
|
70
|
+
"version": "25.2.3",
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
73
73
|
}
|
|
@@ -475,10 +475,10 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
475
475
|
if (!this.element.getAttribute('class')) {
|
|
476
476
|
this.element.removeAttribute('class');
|
|
477
477
|
}
|
|
478
|
+
this.unwireEvent();
|
|
478
479
|
this.notify('toolbar', { prop: 'destroySubComponents', onPropertyChange: false });
|
|
479
480
|
this.notify('destroyed', null);
|
|
480
481
|
_super.prototype.destroy.call(this);
|
|
481
|
-
this.unwireEvent();
|
|
482
482
|
this.element.innerHTML = '';
|
|
483
483
|
};
|
|
484
484
|
ImageEditor.prototype.initialize = function () {
|
|
@@ -641,27 +641,27 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
641
641
|
var id = parent.element.id;
|
|
642
642
|
var toolbarItems = [];
|
|
643
643
|
if (isFrame) {
|
|
644
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('None') > -1)) {
|
|
644
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('None') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
645
645
|
toolbarItems.push({ id: id + '_none', prefixIcon: 'e-icons e-frame-none', cssClass: 'top-icon e-frame-none',
|
|
646
646
|
tooltipText: this.l10n.getConstant('None'), align: 'Center' });
|
|
647
647
|
}
|
|
648
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Mat') > -1)) {
|
|
648
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Mat') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
649
649
|
toolbarItems.push({ id: id + '_mat', prefixIcon: 'e-icons e-frame-mat', cssClass: 'top-icon e-frame-mat',
|
|
650
650
|
tooltipText: this.l10n.getConstant('Mat'), align: 'Center' });
|
|
651
651
|
}
|
|
652
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Bevel') > -1)) {
|
|
652
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Bevel') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
653
653
|
toolbarItems.push({ id: id + '_bevel', prefixIcon: 'e-icons e-frame-bevel', cssClass: 'top-icon e-frame-bevel',
|
|
654
654
|
tooltipText: this.l10n.getConstant('Bevel'), align: 'Center' });
|
|
655
655
|
}
|
|
656
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Line') > -1)) {
|
|
656
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Line') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
657
657
|
toolbarItems.push({ id: id + '_line', prefixIcon: 'e-icons e-frame-line', cssClass: 'top-icon e-frame-line',
|
|
658
658
|
tooltipText: this.l10n.getConstant('Line'), align: 'Center' });
|
|
659
659
|
}
|
|
660
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Inset') > -1)) {
|
|
660
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Inset') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
661
661
|
toolbarItems.push({ id: id + '_inset', prefixIcon: 'e-icons e-frame-inset', cssClass: 'top-icon e-frame-inset',
|
|
662
662
|
tooltipText: this.l10n.getConstant('Inset'), align: 'Center' });
|
|
663
663
|
}
|
|
664
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Hook') > -1)) {
|
|
664
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Hook') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
665
665
|
toolbarItems.push({ id: id + '_hook', prefixIcon: 'e-icons e-frame-hook', cssClass: 'top-icon e-frame-hook',
|
|
666
666
|
tooltipText: this.l10n.getConstant('Hook'), align: 'Center' });
|
|
667
667
|
}
|
|
@@ -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) ||
|
|
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 };
|
package/styles/bootstrap.css
CHANGED
package/styles/bootstrap4.css
CHANGED
package/styles/bootstrap5.css
CHANGED
package/styles/fabric-dark.css
CHANGED
package/styles/fabric.css
CHANGED
package/styles/fluent-dark.css
CHANGED
package/styles/fluent.css
CHANGED
package/styles/highcontrast.css
CHANGED
package/styles/material-dark.css
CHANGED
package/styles/material.css
CHANGED
package/styles/material3.css
CHANGED
package/styles/tailwind-dark.css
CHANGED