@syncfusion/ej2-image-editor 20.4.51 → 21.1.36
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/.eslintrc.json +1 -0
- package/CHANGELOG.md +55 -5
- 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 +20032 -11350
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +20027 -11313
- 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.d.ts +36 -0
- package/src/image-editor/action/crop.js +829 -0
- package/src/image-editor/action/draw.d.ts +125 -0
- package/src/image-editor/action/draw.js +3263 -0
- package/src/image-editor/action/export.d.ts +23 -0
- package/src/image-editor/action/export.js +364 -0
- package/src/image-editor/action/filter.d.ts +35 -0
- package/src/image-editor/action/filter.js +699 -0
- package/src/image-editor/action/freehand-draw.d.ts +61 -0
- package/src/image-editor/action/freehand-draw.js +1015 -0
- package/src/image-editor/action/index.d.ts +9 -0
- package/src/image-editor/action/index.js +9 -0
- package/src/image-editor/action/selection.d.ts +139 -0
- package/src/image-editor/action/selection.js +4518 -0
- package/src/image-editor/action/shape.d.ts +94 -0
- package/src/image-editor/action/shape.js +2745 -0
- package/src/image-editor/action/transform.d.ts +67 -0
- package/src/image-editor/action/transform.js +1859 -0
- package/src/image-editor/action/undo-redo.d.ts +43 -0
- package/src/image-editor/action/undo-redo.js +800 -0
- package/src/image-editor/base/enum.d.ts +189 -0
- package/src/image-editor/base/enum.js +198 -0
- package/src/image-editor/base/image-editor-model.d.ts +626 -0
- package/src/image-editor/base/image-editor.d.ts +1300 -0
- package/src/image-editor/base/image-editor.js +2270 -0
- package/src/image-editor/base/index.d.ts +4 -0
- package/src/image-editor/base/index.js +2 -0
- package/src/image-editor/base/interface.d.ts +1128 -0
- package/src/image-editor/base/interface.js +1 -0
- package/src/image-editor/index.d.ts +3 -5
- package/src/image-editor/index.js +3 -4
- package/src/image-editor/renderer/index.d.ts +1 -0
- package/src/image-editor/renderer/index.js +1 -0
- package/src/image-editor/renderer/toolbar.d.ts +105 -0
- package/src/image-editor/renderer/toolbar.js +3018 -0
- package/styles/bootstrap-dark.css +79 -8
- package/styles/bootstrap.css +79 -8
- package/styles/bootstrap4.css +79 -8
- package/styles/bootstrap5-dark.css +81 -11
- package/styles/bootstrap5.css +81 -11
- package/styles/fabric-dark.css +79 -8
- package/styles/fabric.css +79 -8
- package/styles/fluent-dark.css +79 -8
- package/styles/fluent.css +79 -8
- package/styles/highcontrast-light.css +81 -10
- package/styles/highcontrast.css +82 -10
- package/styles/image-editor/_highcontrast-definition.scss +1 -1
- package/styles/image-editor/_highcontrast-light-definition.scss +1 -1
- package/styles/image-editor/_layout.scss +28 -18
- package/styles/image-editor/_material3-dark-definition.scss +1 -0
- package/styles/image-editor/_material3-definition.scss +10 -10
- package/styles/image-editor/_theme.scss +11 -6
- package/styles/image-editor/bootstrap-dark.css +79 -8
- package/styles/image-editor/bootstrap.css +79 -8
- package/styles/image-editor/bootstrap4.css +79 -8
- package/styles/image-editor/bootstrap5-dark.css +81 -11
- package/styles/image-editor/bootstrap5.css +81 -11
- package/styles/image-editor/fabric-dark.css +79 -8
- package/styles/image-editor/fabric.css +79 -8
- package/styles/image-editor/fluent-dark.css +79 -8
- package/styles/image-editor/fluent.css +79 -8
- package/styles/image-editor/highcontrast-light.css +81 -10
- package/styles/image-editor/highcontrast.css +82 -10
- package/styles/image-editor/icons/_bootstrap-dark.scss +132 -0
- package/styles/image-editor/icons/_bootstrap.scss +132 -0
- package/styles/image-editor/icons/_bootstrap4.scss +132 -0
- package/styles/image-editor/icons/_bootstrap5.scss +132 -0
- package/styles/image-editor/icons/_fabric-dark.scss +132 -0
- package/styles/image-editor/icons/_fabric.scss +132 -0
- package/styles/image-editor/icons/_fluent.scss +132 -0
- package/styles/image-editor/icons/_fusionnew.scss +132 -0
- package/styles/image-editor/icons/_highcontrast-light.scss +132 -0
- package/styles/image-editor/icons/_highcontrast.scss +132 -0
- package/styles/image-editor/icons/_material-dark.scss +132 -0
- package/styles/image-editor/icons/_material.scss +132 -0
- package/styles/image-editor/icons/_material3-dark.scss +1 -0
- package/styles/image-editor/icons/_material3.scss +133 -1
- package/styles/image-editor/icons/_tailwind.scss +132 -0
- package/styles/image-editor/material-dark.css +79 -16
- package/styles/image-editor/material.css +79 -11
- package/styles/image-editor/material3-dark.css +453 -0
- package/styles/image-editor/material3-dark.scss +14 -0
- package/styles/image-editor/material3.css +509 -0
- package/styles/image-editor/material3.scss +14 -0
- package/styles/image-editor/tailwind-dark.css +79 -8
- package/styles/image-editor/tailwind.css +79 -8
- package/styles/material-dark.css +79 -16
- package/styles/material.css +79 -11
- package/styles/material3-dark.css +453 -0
- package/styles/material3-dark.scss +3 -0
- package/styles/material3.css +509 -0
- package/styles/material3.scss +3 -0
- package/styles/tailwind-dark.css +79 -8
- package/styles/tailwind.css +79 -8
- package/GitLeaksReport.json +0 -1
- package/gitleaks-ci/gitleaks +0 -0
- package/gitleaks-ci.tar.gz +0 -0
- package/src/image-editor/image-editor-model.d.ts +0 -331
- package/src/image-editor/image-editor.d.ts +0 -1428
- package/src/image-editor/image-editor.js +0 -12849
package/.eslintrc.json
CHANGED
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"security/detect-possible-timing-attacks":"error",
|
|
38
38
|
"security/detect-pseudoRandomBytes":"error",
|
|
39
39
|
"security/detect-new-buffer":"error",
|
|
40
|
+
"security/detect-bidi-characters":"error",
|
|
40
41
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
41
42
|
"@typescript-eslint/ban-types": ["warn", {
|
|
42
43
|
"types": {
|
package/CHANGELOG.md
CHANGED
|
@@ -6,23 +6,73 @@
|
|
|
6
6
|
|
|
7
7
|
#### Bug Fixes
|
|
8
8
|
|
|
9
|
-
- Issue with "
|
|
9
|
+
- Issue with "Refreshing the Image Editor dimension while resizing" has been resolved.
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## 22.1.34 (2023-06-21)
|
|
12
|
+
|
|
13
|
+
### Image Editor
|
|
14
|
+
|
|
15
|
+
#### Features
|
|
16
|
+
|
|
17
|
+
- Provided support for path annotations allowing users to annotate specific paths or routes within a document or graphical representation.
|
|
18
|
+
- Provided support for arrow annotations allowing users to easily indicate direction or flow within their content.
|
|
19
|
+
- Provided quick access toolbar support which improve accessibility when working with shapes. It automatically appears when shapes are selected, providing convenient access to commonly used tools and options.
|
|
20
|
+
|
|
21
|
+
#### Breaking Changes
|
|
22
|
+
|
|
23
|
+
- Previously, the "ShapeChanging" event was triggered for both shape modifications and selection customizations. However, a new event called "SelectionChanging" has been introduced specifically for selection customizations.
|
|
12
24
|
|
|
13
25
|
### Image Editor
|
|
14
26
|
|
|
15
27
|
#### Bug Fixes
|
|
16
28
|
|
|
17
|
-
- Issue with "
|
|
29
|
+
- Issue with "GetImageData method returns low resolution data" has been resolved.
|
|
30
|
+
|
|
31
|
+
## 21.1.39 (2023-04-11)
|
|
18
32
|
|
|
19
33
|
### Image Editor
|
|
20
34
|
|
|
21
35
|
#### Bug Fixes
|
|
22
36
|
|
|
23
|
-
- Issue with "
|
|
37
|
+
- Issue with "Shape changing event not triggered while inserting crop selection" has been resolved.
|
|
24
38
|
|
|
25
|
-
|
|
39
|
+
## 21.1.37 (2023-03-29)
|
|
40
|
+
|
|
41
|
+
### Image Editor
|
|
42
|
+
|
|
43
|
+
#### Bug Fixes
|
|
44
|
+
|
|
45
|
+
- Issue with "Shape changing event not triggered while inserting crop selection" has been resolved.
|
|
46
|
+
|
|
47
|
+
### Image Editor
|
|
48
|
+
|
|
49
|
+
#### Bug Fixes
|
|
50
|
+
|
|
51
|
+
- Issue with "Script error thrown while using Toolbar Template" has been resolved.
|
|
52
|
+
|
|
53
|
+
## 21.1.35 (2023-03-23)
|
|
54
|
+
|
|
55
|
+
### Image Editor
|
|
56
|
+
|
|
57
|
+
#### Features
|
|
58
|
+
|
|
59
|
+
- Provided the undo/redo support, that records all the actions so that it can be reverted later if necessary.
|
|
60
|
+
- Provided pinch zoom support to zoom in or out the image while performing pinch on touch enabled devices.
|
|
61
|
+
- Provided mouse wheel zoom support to zoom in/out the image while scrolling mouse wheel with ctrl key press.
|
|
62
|
+
- Provided public method 'getImageDimension' to get the current image size with its coordinates.
|
|
63
|
+
- Provided click event to get the current cursor position on the image.
|
|
64
|
+
|
|
65
|
+
#### Breaking Changes
|
|
66
|
+
|
|
67
|
+
|Previous Enum Name|Modified Enum Name|
|
|
68
|
+
|-----------|-----------|
|
|
69
|
+
|ImageFinetuneOptions|ImageFinetuneOption|
|
|
70
|
+
|ImageFilterOptions|ImageFilterOption|
|
|
71
|
+
|ImageEditorCommands|ImageEditorCommand|
|
|
72
|
+
|
|
73
|
+
#### Bug Fixes
|
|
74
|
+
|
|
75
|
+
- Issue with "Script error thrown while resizing control without toolbar" has been resolved.
|
|
26
76
|
|
|
27
77
|
## 20.4.40 (2022-12-28)
|
|
28
78
|
|