@syncfusion/ej2-image-editor 30.1.37 → 30.2.4
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/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 +15 -2
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +15 -2
- 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 +8 -8
- package/src/image-editor/action/selection.js +4 -1
- package/src/image-editor/renderer/toolbar.js +11 -1
- package/styles/highcontrast-lite.css +1 -1
- package/styles/highcontrast.css +2 -2
- package/styles/image-editor/_bigger.scss +1 -1
- package/styles/image-editor/_layout.scss +4 -1
- package/styles/image-editor/highcontrast.css +2 -2
- package/styles/image-editor/material3-dark.css +3 -0
- package/styles/image-editor/material3.css +3 -0
- package/styles/material3-dark-lite.css +3 -0
- package/styles/material3-dark.css +3 -0
- package/styles/material3-lite.css +3 -0
- package/styles/material3.css +3 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 30.
|
|
3
|
+
* version : 30.2.4
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-image-editor",
|
|
3
|
-
"version": "30.
|
|
3
|
+
"version": "30.2.4",
|
|
4
4
|
"description": "Essential JS 2 ImageEditor",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"es2015": "./dist/es6/ej2-image-editor.es5.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@syncfusion/ej2-base": "~30.
|
|
12
|
-
"@syncfusion/ej2-buttons": "~30.
|
|
13
|
-
"@syncfusion/ej2-dropdowns": "~30.
|
|
14
|
-
"@syncfusion/ej2-inputs": "~30.
|
|
15
|
-
"@syncfusion/ej2-navigations": "~30.
|
|
16
|
-
"@syncfusion/ej2-popups": "~30.
|
|
17
|
-
"@syncfusion/ej2-splitbuttons": "~30.
|
|
11
|
+
"@syncfusion/ej2-base": "~30.2.4",
|
|
12
|
+
"@syncfusion/ej2-buttons": "~30.2.4",
|
|
13
|
+
"@syncfusion/ej2-dropdowns": "~30.2.4",
|
|
14
|
+
"@syncfusion/ej2-inputs": "~30.2.4",
|
|
15
|
+
"@syncfusion/ej2-navigations": "~30.2.4",
|
|
16
|
+
"@syncfusion/ej2-popups": "~30.2.4",
|
|
17
|
+
"@syncfusion/ej2-splitbuttons": "~30.2.4"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {},
|
|
20
20
|
"keywords": [
|
|
@@ -1605,6 +1605,9 @@ var Selection = /** @class */ (function () {
|
|
|
1605
1605
|
endY = destTop + destHeight;
|
|
1606
1606
|
}
|
|
1607
1607
|
}
|
|
1608
|
+
if (actPoint.width < 0 && actPoint.height < 0 && this.isCropSelection) {
|
|
1609
|
+
isLimiting = true;
|
|
1610
|
+
}
|
|
1608
1611
|
if (parent.transform.straighten !== 0) {
|
|
1609
1612
|
var obj = { isIntersect: null, arr: null };
|
|
1610
1613
|
parent.notify('draw', { prop: 'updateImgCanvasPoints', onPropertyChange: false });
|
|
@@ -2348,7 +2351,7 @@ var Selection = /** @class */ (function () {
|
|
|
2348
2351
|
scale = Math.max(width, height);
|
|
2349
2352
|
var newScale = this.getScaleRatio(scale);
|
|
2350
2353
|
actPoint.endX += newScale.x;
|
|
2351
|
-
actPoint.endY += newScale.
|
|
2354
|
+
actPoint.endY += newScale.y;
|
|
2352
2355
|
if (actPoint.endX > (destLeft + destWidth) ||
|
|
2353
2356
|
actPoint.endY > (destTop + destHeight)) {
|
|
2354
2357
|
actPoint.endX -= newScale.x;
|
|
@@ -425,7 +425,17 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
425
425
|
};
|
|
426
426
|
ToolbarModule.prototype.reset = function () {
|
|
427
427
|
var parent = this.parent;
|
|
428
|
-
|
|
428
|
+
if (isNullOrUndefined(parent.toolbar) || (parent.toolbar && parent.toolbar.length > 0) || parent.toolbarTemplate) {
|
|
429
|
+
if (parent.toolbarTemplate) {
|
|
430
|
+
this.toolbarHeight = parent.element.querySelector('#' + parent.element.id + '_toolbarArea').clientHeight;
|
|
431
|
+
}
|
|
432
|
+
else {
|
|
433
|
+
this.toolbarHeight = 46;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
else {
|
|
437
|
+
this.toolbarHeight = 0;
|
|
438
|
+
}
|
|
429
439
|
parent.prevCurrSelectionPoint = null;
|
|
430
440
|
this.zoomBtnHold = null;
|
|
431
441
|
this.currToolbar = '';
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
height: 54px !important; /* stylelint-disable-line declaration-no-important */
|
|
418
418
|
}
|
|
419
419
|
.e-image-editor .e-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn, .e-image-editor .e-blr-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn {
|
|
420
|
-
padding: 2px
|
|
420
|
+
padding: 2px 15px;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
.e-ie-straighten-value-span,
|
package/styles/highcontrast.css
CHANGED
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
height: 54px !important; /* stylelint-disable-line declaration-no-important */
|
|
418
418
|
}
|
|
419
419
|
.e-image-editor .e-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn, .e-image-editor .e-blr-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn {
|
|
420
|
-
padding: 2px
|
|
420
|
+
padding: 2px 15px;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
.e-ie-straighten-value-span,
|
|
@@ -853,7 +853,7 @@
|
|
|
853
853
|
.e-bigger .e-image-editor .e-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn, .e-bigger .e-image-editor .e-blr-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn,
|
|
854
854
|
.e-image-editor.e-bigger .e-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn,
|
|
855
855
|
.e-image-editor.e-bigger .e-blr-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn {
|
|
856
|
-
padding: 3px
|
|
856
|
+
padding: 3px 10px;
|
|
857
857
|
}
|
|
858
858
|
.e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
|
|
859
859
|
top: calc(50% - 8px) !important; /* stylelint-disable-line declaration-no-important */
|
|
@@ -178,6 +178,9 @@
|
|
|
178
178
|
padding-top: 7.5px;
|
|
179
179
|
padding-bottom: 7.5px;
|
|
180
180
|
}
|
|
181
|
+
@if $skin-name == 'Material3' {
|
|
182
|
+
padding: 8px 16px;
|
|
183
|
+
}
|
|
181
184
|
}
|
|
182
185
|
}
|
|
183
186
|
}
|
|
@@ -394,7 +397,7 @@
|
|
|
394
397
|
padding: 8px 13px;
|
|
395
398
|
}
|
|
396
399
|
@if $skin-name == 'highcontrast' {
|
|
397
|
-
padding: 2px
|
|
400
|
+
padding: 2px 15px;
|
|
398
401
|
}
|
|
399
402
|
}
|
|
400
403
|
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
height: 54px !important; /* stylelint-disable-line declaration-no-important */
|
|
418
418
|
}
|
|
419
419
|
.e-image-editor .e-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn, .e-image-editor .e-blr-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn {
|
|
420
|
-
padding: 2px
|
|
420
|
+
padding: 2px 15px;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
.e-ie-straighten-value-span,
|
|
@@ -853,7 +853,7 @@
|
|
|
853
853
|
.e-bigger .e-image-editor .e-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn, .e-bigger .e-image-editor .e-blr-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn,
|
|
854
854
|
.e-image-editor.e-bigger .e-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn,
|
|
855
855
|
.e-image-editor.e-bigger .e-blr-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-dropdown-btn {
|
|
856
|
-
padding: 3px
|
|
856
|
+
padding: 3px 10px;
|
|
857
857
|
}
|
|
858
858
|
.e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
|
|
859
859
|
top: calc(50% - 8px) !important; /* stylelint-disable-line declaration-no-important */
|
|
@@ -310,6 +310,9 @@
|
|
|
310
310
|
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
|
|
311
311
|
font-size: 16px;
|
|
312
312
|
}
|
|
313
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn.e-btn.e-icon-btn {
|
|
314
|
+
padding: 8px 16px;
|
|
315
|
+
}
|
|
313
316
|
.e-image-editor .e-toolbar .e-toolbar-items .e-upload {
|
|
314
317
|
border: none;
|
|
315
318
|
}
|
|
@@ -312,6 +312,9 @@
|
|
|
312
312
|
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
|
|
313
313
|
font-size: 16px;
|
|
314
314
|
}
|
|
315
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn.e-btn.e-icon-btn {
|
|
316
|
+
padding: 8px 16px;
|
|
317
|
+
}
|
|
315
318
|
.e-image-editor .e-toolbar .e-toolbar-items .e-upload {
|
|
316
319
|
border: none;
|
|
317
320
|
}
|
|
@@ -310,6 +310,9 @@
|
|
|
310
310
|
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
|
|
311
311
|
font-size: 16px;
|
|
312
312
|
}
|
|
313
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn.e-btn.e-icon-btn {
|
|
314
|
+
padding: 8px 16px;
|
|
315
|
+
}
|
|
313
316
|
.e-image-editor .e-toolbar .e-toolbar-items .e-upload {
|
|
314
317
|
border: none;
|
|
315
318
|
}
|
|
@@ -310,6 +310,9 @@
|
|
|
310
310
|
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
|
|
311
311
|
font-size: 16px;
|
|
312
312
|
}
|
|
313
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn.e-btn.e-icon-btn {
|
|
314
|
+
padding: 8px 16px;
|
|
315
|
+
}
|
|
313
316
|
.e-image-editor .e-toolbar .e-toolbar-items .e-upload {
|
|
314
317
|
border: none;
|
|
315
318
|
}
|
|
@@ -312,6 +312,9 @@
|
|
|
312
312
|
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
|
|
313
313
|
font-size: 16px;
|
|
314
314
|
}
|
|
315
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn.e-btn.e-icon-btn {
|
|
316
|
+
padding: 8px 16px;
|
|
317
|
+
}
|
|
315
318
|
.e-image-editor .e-toolbar .e-toolbar-items .e-upload {
|
|
316
319
|
border: none;
|
|
317
320
|
}
|
package/styles/material3.css
CHANGED
|
@@ -312,6 +312,9 @@
|
|
|
312
312
|
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
|
|
313
313
|
font-size: 16px;
|
|
314
314
|
}
|
|
315
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn.e-btn.e-icon-btn {
|
|
316
|
+
padding: 8px 16px;
|
|
317
|
+
}
|
|
315
318
|
.e-image-editor .e-toolbar .e-toolbar-items .e-upload {
|
|
316
319
|
border: none;
|
|
317
320
|
}
|