@syncfusion/ej2-image-editor 24.2.5 → 25.1.35
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 +3 -43
- 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 +944 -1873
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +976 -1922
- 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 +12 -12
- package/src/image-editor/action/crop.js +9 -45
- package/src/image-editor/action/draw.js +52 -207
- package/src/image-editor/action/export.js +6 -35
- package/src/image-editor/action/freehand-draw.js +26 -80
- package/src/image-editor/action/selection.js +122 -326
- package/src/image-editor/action/shape.js +130 -242
- package/src/image-editor/action/transform.d.ts +0 -1
- package/src/image-editor/action/transform.js +77 -289
- package/src/image-editor/action/undo-redo.js +32 -101
- package/src/image-editor/base/image-editor-model.d.ts +1 -1
- package/src/image-editor/base/image-editor.d.ts +51 -42
- package/src/image-editor/base/image-editor.js +304 -422
- package/src/image-editor/renderer/toolbar.d.ts +1 -0
- package/src/image-editor/renderer/toolbar.js +228 -185
- package/styles/bootstrap-dark.css +0 -12
- package/styles/bootstrap.css +0 -12
- package/styles/bootstrap4.css +0 -12
- package/styles/bootstrap5-dark.css +0 -12
- package/styles/bootstrap5.css +0 -12
- package/styles/fabric-dark.css +0 -12
- package/styles/fabric.css +0 -12
- package/styles/fluent-dark.css +0 -12
- package/styles/fluent.css +0 -12
- package/styles/highcontrast-light.css +0 -12
- package/styles/highcontrast.css +0 -12
- package/styles/image-editor/_bds-definition.scss +21 -0
- package/styles/image-editor/_bootstrap-dark-definition.scss +0 -1
- package/styles/image-editor/_bootstrap-definition.scss +0 -1
- package/styles/image-editor/_bootstrap4-definition.scss +0 -1
- package/styles/image-editor/_bootstrap5-definition.scss +0 -1
- package/styles/image-editor/_fabric-dark-definition.scss +0 -1
- package/styles/image-editor/_fabric-definition.scss +0 -1
- package/styles/image-editor/_fluent-definition.scss +0 -1
- package/styles/image-editor/_fusionnew-definition.scss +0 -1
- package/styles/image-editor/_highcontrast-definition.scss +0 -1
- package/styles/image-editor/_highcontrast-light-definition.scss +0 -1
- package/styles/image-editor/_layout.scss +2 -32
- package/styles/image-editor/_material-dark-definition.scss +0 -1
- package/styles/image-editor/_material-definition.scss +0 -1
- package/styles/image-editor/_material3-definition.scss +2 -3
- package/styles/image-editor/_tailwind-definition.scss +0 -1
- package/styles/image-editor/bootstrap-dark.css +0 -12
- package/styles/image-editor/bootstrap.css +0 -12
- package/styles/image-editor/bootstrap4.css +0 -12
- package/styles/image-editor/bootstrap5-dark.css +0 -12
- package/styles/image-editor/bootstrap5.css +0 -12
- package/styles/image-editor/fabric-dark.css +0 -12
- package/styles/image-editor/fabric.css +0 -12
- package/styles/image-editor/fluent-dark.css +0 -12
- package/styles/image-editor/fluent.css +0 -12
- package/styles/image-editor/highcontrast-light.css +0 -12
- package/styles/image-editor/highcontrast.css +0 -12
- package/styles/image-editor/icons/_bds.scss +411 -0
- package/styles/image-editor/material-dark.css +0 -12
- package/styles/image-editor/material.css +0 -12
- package/styles/image-editor/material3-dark.css +4 -25
- package/styles/image-editor/material3.css +4 -25
- package/styles/image-editor/tailwind-dark.css +2 -15
- package/styles/image-editor/tailwind.css +2 -15
- package/styles/material-dark.css +0 -12
- package/styles/material.css +0 -12
- package/styles/material3-dark.css +4 -25
- package/styles/material3.css +4 -25
- package/styles/tailwind-dark.css +2 -15
- package/styles/tailwind.css +2 -15
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -63
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -39
|
@@ -596,24 +596,23 @@
|
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
.e-ie-finetune-value-span {
|
|
599
|
-
top:
|
|
599
|
+
top: 29% !important; /* stylelint-disable-line declaration-no-important */
|
|
600
600
|
}
|
|
601
601
|
|
|
602
602
|
.e-ie-finetune-slider-label {
|
|
603
|
-
top:
|
|
603
|
+
top: 28% !important; /* stylelint-disable-line declaration-no-important */
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
.e-ie-finetune-slider-wrap {
|
|
607
|
-
top: calc(50% -
|
|
607
|
+
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
608
608
|
}
|
|
609
609
|
|
|
610
610
|
.e-transparency-slider-wrap {
|
|
611
|
-
top: calc(50% -
|
|
611
|
+
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
.e-ie-slider-wrap {
|
|
615
615
|
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
616
|
-
top: calc(50% - 12px) !important; /* stylelint-disable-line declaration-no-important */
|
|
617
616
|
}
|
|
618
617
|
|
|
619
618
|
.e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
|
|
@@ -635,26 +634,6 @@
|
|
|
635
634
|
margin-left: calc(50% - 80px) !important; /* stylelint-disable-line declaration-no-important */
|
|
636
635
|
}
|
|
637
636
|
|
|
638
|
-
.e-device .e-transparency-slider-wrap {
|
|
639
|
-
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
.e-device .e-ie-finetune-slider-wrap {
|
|
643
|
-
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
.e-device .e-ie-finetune-value-span {
|
|
647
|
-
top: 29% !important; /* stylelint-disable-line declaration-no-important */
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.e-device .e-ie-finetune-slider-label {
|
|
651
|
-
top: 28% !important; /* stylelint-disable-line declaration-no-important */
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
.e-device .e-ie-slider-wrap {
|
|
655
|
-
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
656
|
-
}
|
|
657
|
-
|
|
658
637
|
.e-image-editor {
|
|
659
638
|
background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.14), rgba(var(--color-sf-primary), 0.14)), rgba(var(--color-sf-surface));
|
|
660
639
|
}
|
package/styles/material3.css
CHANGED
|
@@ -652,24 +652,23 @@
|
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
.e-ie-finetune-value-span {
|
|
655
|
-
top:
|
|
655
|
+
top: 29% !important; /* stylelint-disable-line declaration-no-important */
|
|
656
656
|
}
|
|
657
657
|
|
|
658
658
|
.e-ie-finetune-slider-label {
|
|
659
|
-
top:
|
|
659
|
+
top: 28% !important; /* stylelint-disable-line declaration-no-important */
|
|
660
660
|
}
|
|
661
661
|
|
|
662
662
|
.e-ie-finetune-slider-wrap {
|
|
663
|
-
top: calc(50% -
|
|
663
|
+
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
.e-transparency-slider-wrap {
|
|
667
|
-
top: calc(50% -
|
|
667
|
+
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
.e-ie-slider-wrap {
|
|
671
671
|
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
672
|
-
top: calc(50% - 12px) !important; /* stylelint-disable-line declaration-no-important */
|
|
673
672
|
}
|
|
674
673
|
|
|
675
674
|
.e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
|
|
@@ -691,26 +690,6 @@
|
|
|
691
690
|
margin-left: calc(50% - 80px) !important; /* stylelint-disable-line declaration-no-important */
|
|
692
691
|
}
|
|
693
692
|
|
|
694
|
-
.e-device .e-transparency-slider-wrap {
|
|
695
|
-
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
.e-device .e-ie-finetune-slider-wrap {
|
|
699
|
-
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
.e-device .e-ie-finetune-value-span {
|
|
703
|
-
top: 29% !important; /* stylelint-disable-line declaration-no-important */
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
.e-device .e-ie-finetune-slider-label {
|
|
707
|
-
top: 28% !important; /* stylelint-disable-line declaration-no-important */
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
.e-device .e-ie-slider-wrap {
|
|
711
|
-
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
712
|
-
}
|
|
713
|
-
|
|
714
693
|
.e-image-editor {
|
|
715
694
|
background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.14), rgba(var(--color-sf-primary), 0.14)), rgba(var(--color-sf-surface));
|
|
716
695
|
}
|
package/styles/tailwind-dark.css
CHANGED
|
@@ -535,16 +535,15 @@
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.e-ie-finetune-slider-wrap {
|
|
538
|
-
top: calc(50% -
|
|
538
|
+
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
.e-transparency-slider-wrap {
|
|
542
|
-
top: calc(50% -
|
|
542
|
+
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
.e-ie-slider-wrap {
|
|
546
546
|
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
547
|
-
top: calc(50% - 13px) !important; /* stylelint-disable-line declaration-no-important */
|
|
548
547
|
}
|
|
549
548
|
|
|
550
549
|
.e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
|
|
@@ -564,18 +563,6 @@
|
|
|
564
563
|
margin-left: calc(50% - 80px) !important; /* stylelint-disable-line declaration-no-important */
|
|
565
564
|
}
|
|
566
565
|
|
|
567
|
-
.e-device .e-transparency-slider-wrap {
|
|
568
|
-
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
.e-device .e-ie-finetune-slider-wrap {
|
|
572
|
-
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.e-device .e-ie-slider-wrap {
|
|
576
|
-
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
577
|
-
}
|
|
578
|
-
|
|
579
566
|
.e-image-editor {
|
|
580
567
|
background: #4b5563;
|
|
581
568
|
}
|
package/styles/tailwind.css
CHANGED
|
@@ -535,16 +535,15 @@
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.e-ie-finetune-slider-wrap {
|
|
538
|
-
top: calc(50% -
|
|
538
|
+
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
.e-transparency-slider-wrap {
|
|
542
|
-
top: calc(50% -
|
|
542
|
+
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
.e-ie-slider-wrap {
|
|
546
546
|
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
547
|
-
top: calc(50% - 13px) !important; /* stylelint-disable-line declaration-no-important */
|
|
548
547
|
}
|
|
549
548
|
|
|
550
549
|
.e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
|
|
@@ -564,18 +563,6 @@
|
|
|
564
563
|
margin-left: calc(50% - 80px) !important; /* stylelint-disable-line declaration-no-important */
|
|
565
564
|
}
|
|
566
565
|
|
|
567
|
-
.e-device .e-transparency-slider-wrap {
|
|
568
|
-
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
.e-device .e-ie-finetune-slider-wrap {
|
|
572
|
-
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.e-device .e-ie-slider-wrap {
|
|
576
|
-
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
577
|
-
}
|
|
578
|
-
|
|
579
566
|
.e-image-editor {
|
|
580
567
|
background: #e5e7eb;
|
|
581
568
|
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
### Bug description
|
|
2
|
-
|
|
3
|
-
Clearly and concisely describe the problem or feature (this cannot be empty).
|
|
4
|
-
|
|
5
|
-
### Root cause
|
|
6
|
-
|
|
7
|
-
Briefly describe the root cause and analysis of the problem.
|
|
8
|
-
If there is an internal discussion on the forum, provide the link.
|
|
9
|
-
|
|
10
|
-
### Reason for not identifying earlier
|
|
11
|
-
|
|
12
|
-
Find how it was missed in our earlier testing and development by analysing the below checklist. This will help prevent similar mistakes in the future.
|
|
13
|
-
|
|
14
|
-
- [ ] Guidelines/documents are not followed
|
|
15
|
-
|
|
16
|
-
- Common guidelines / Core team guideline
|
|
17
|
-
- Specification document
|
|
18
|
-
- Requirement document
|
|
19
|
-
|
|
20
|
-
- [ ] Guidelines/documents are not given
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
- Common guidelines / Core team guideline
|
|
24
|
-
- Specification document
|
|
25
|
-
- Requirement document
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
### Reason:
|
|
29
|
-
Mention any one or more reasons from the above points.
|
|
30
|
-
|
|
31
|
-
### Action taken:
|
|
32
|
-
|
|
33
|
-
What action did you take to avoid this in future?
|
|
34
|
-
|
|
35
|
-
### Related areas:
|
|
36
|
-
|
|
37
|
-
Is there any other related areas also to be addressed?
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
### Is it a breaking issue?
|
|
41
|
-
|
|
42
|
-
If it is a breaking issue, provide the commit detail which caused this break.
|
|
43
|
-
|
|
44
|
-
### Solution description
|
|
45
|
-
|
|
46
|
-
Describe your code changes in detail for reviewers.
|
|
47
|
-
|
|
48
|
-
### Output screenshots
|
|
49
|
-
|
|
50
|
-
Post the output screenshots if an UI is affected or added due to this bug.
|
|
51
|
-
|
|
52
|
-
### Areas affected and ensured
|
|
53
|
-
|
|
54
|
-
List the areas affected by your code changes.
|
|
55
|
-
|
|
56
|
-
### Additional checklist
|
|
57
|
-
|
|
58
|
-
- Did you run the automation against your fix?
|
|
59
|
-
- Is there any API name change?
|
|
60
|
-
- Is there any existing behavior change of other features due to this code change?
|
|
61
|
-
- Does your new code introduce new warnings or binding errors?
|
|
62
|
-
- Does your code pass all FxCop and StyleCop rules?
|
|
63
|
-
- Did you record this case in the unit test or UI test?
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
### Feature description
|
|
2
|
-
|
|
3
|
-
Clearly and concisely describe the problem or feature (this cannot be empty).
|
|
4
|
-
|
|
5
|
-
### Analysis and design
|
|
6
|
-
|
|
7
|
-
If there is an external design, link to its project documentation area.
|
|
8
|
-
If there is an internal discussion on the forum, provide the link.
|
|
9
|
-
|
|
10
|
-
### Solution description
|
|
11
|
-
|
|
12
|
-
Describe your code changes in detail for reviewers.
|
|
13
|
-
|
|
14
|
-
### Output screenshots
|
|
15
|
-
|
|
16
|
-
Post the output screenshots if an UI is affected or added due to this feature.
|
|
17
|
-
|
|
18
|
-
### Areas affected and ensured
|
|
19
|
-
|
|
20
|
-
List the areas are affected by your code changes.
|
|
21
|
-
|
|
22
|
-
### Test cases
|
|
23
|
-
|
|
24
|
-
Provide the unit testing written file details to understand the use cases considered in this implementation.
|
|
25
|
-
If there is no TDD (if it’s not possible to follow), provide the UI automation script location and the Excel file that contains the use cases considered in this implementation.
|
|
26
|
-
Provide the test cases Excel file alone if the feature cannot be automated in any case.
|
|
27
|
-
|
|
28
|
-
### Test bed sample location
|
|
29
|
-
|
|
30
|
-
Provide the test bed sample location where code reviewers can review the new feature’s behaviors. This depends on the CI process that your team follows. It can be from NPMCI, HockeyApp, staging site, local server, etc.
|
|
31
|
-
|
|
32
|
-
### Additional checklist
|
|
33
|
-
|
|
34
|
-
- Did you run the automation against your fix?
|
|
35
|
-
- Is there any API name change?
|
|
36
|
-
- Is there any existing behavior change of other features due to this code change?
|
|
37
|
-
- Does your new code introduce new warnings or binding errors?
|
|
38
|
-
- Does your code pass all FxCop and StyleCop rules?
|
|
39
|
-
- Did you record this case in the unit test or UI test?
|