@syncfusion/ej2-image-editor 25.1.42 → 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 +14 -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 +7 -7
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +7 -7
- 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 +6 -6
- 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
|
@@ -19894,10 +19894,10 @@ var ImageEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
19894
19894
|
if (!this.element.getAttribute('class')) {
|
|
19895
19895
|
this.element.removeAttribute('class');
|
|
19896
19896
|
}
|
|
19897
|
+
this.unwireEvent();
|
|
19897
19898
|
this.notify('toolbar', { prop: 'destroySubComponents', onPropertyChange: false });
|
|
19898
19899
|
this.notify('destroyed', null);
|
|
19899
19900
|
_super.prototype.destroy.call(this);
|
|
19900
|
-
this.unwireEvent();
|
|
19901
19901
|
this.element.innerHTML = '';
|
|
19902
19902
|
};
|
|
19903
19903
|
ImageEditor.prototype.initialize = function () {
|
|
@@ -23766,27 +23766,27 @@ var ToolbarModule = /** @__PURE__ @class */ (function () {
|
|
|
23766
23766
|
var id = parent.element.id;
|
|
23767
23767
|
var toolbarItems = [];
|
|
23768
23768
|
if (isFrame) {
|
|
23769
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('None') > -1)) {
|
|
23769
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('None') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
23770
23770
|
toolbarItems.push({ id: id + '_none', prefixIcon: 'e-icons e-frame-none', cssClass: 'top-icon e-frame-none',
|
|
23771
23771
|
tooltipText: this.l10n.getConstant('None'), align: 'Center' });
|
|
23772
23772
|
}
|
|
23773
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Mat') > -1)) {
|
|
23773
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Mat') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
23774
23774
|
toolbarItems.push({ id: id + '_mat', prefixIcon: 'e-icons e-frame-mat', cssClass: 'top-icon e-frame-mat',
|
|
23775
23775
|
tooltipText: this.l10n.getConstant('Mat'), align: 'Center' });
|
|
23776
23776
|
}
|
|
23777
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Bevel') > -1)) {
|
|
23777
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Bevel') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
23778
23778
|
toolbarItems.push({ id: id + '_bevel', prefixIcon: 'e-icons e-frame-bevel', cssClass: 'top-icon e-frame-bevel',
|
|
23779
23779
|
tooltipText: this.l10n.getConstant('Bevel'), align: 'Center' });
|
|
23780
23780
|
}
|
|
23781
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Line') > -1)) {
|
|
23781
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Line') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
23782
23782
|
toolbarItems.push({ id: id + '_line', prefixIcon: 'e-icons e-frame-line', cssClass: 'top-icon e-frame-line',
|
|
23783
23783
|
tooltipText: this.l10n.getConstant('Line'), align: 'Center' });
|
|
23784
23784
|
}
|
|
23785
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Inset') > -1)) {
|
|
23785
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Inset') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
23786
23786
|
toolbarItems.push({ id: id + '_inset', prefixIcon: 'e-icons e-frame-inset', cssClass: 'top-icon e-frame-inset',
|
|
23787
23787
|
tooltipText: this.l10n.getConstant('Inset'), align: 'Center' });
|
|
23788
23788
|
}
|
|
23789
|
-
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Hook') > -1)) {
|
|
23789
|
+
if (isNullOrUndefined(parent.toolbar) || (!isNullOrUndefined(parent.toolbar) && parent.toolbar.indexOf('Hook') > -1) || parent.toolbar.indexOf('Frame') > -1) {
|
|
23790
23790
|
toolbarItems.push({ id: id + '_hook', prefixIcon: 'e-icons e-frame-hook', cssClass: 'top-icon e-frame-hook',
|
|
23791
23791
|
tooltipText: this.l10n.getConstant('Hook'), align: 'Center' });
|
|
23792
23792
|
}
|