@syncfusion/ej2-image-editor 20.3.56 → 20.4.40

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.
Files changed (62) hide show
  1. package/.eslintrc.json +16 -1
  2. package/CHANGELOG.md +5 -5
  3. package/README.md +65 -2
  4. package/dist/ej2-image-editor.umd.min.js +2 -2
  5. package/dist/ej2-image-editor.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-image-editor.es2015.js +6191 -4168
  7. package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
  8. package/dist/es6/ej2-image-editor.es5.js +2505 -474
  9. package/dist/es6/ej2-image-editor.es5.js.map +1 -1
  10. package/dist/global/ej2-image-editor.min.js +2 -2
  11. package/dist/global/ej2-image-editor.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +23 -24
  14. package/src/image-editor/image-editor-model.d.ts +114 -20
  15. package/src/image-editor/image-editor.d.ts +251 -33
  16. package/src/image-editor/image-editor.js +2505 -473
  17. package/styles/bootstrap-dark.css +36 -0
  18. package/styles/bootstrap.css +36 -0
  19. package/styles/bootstrap4.css +36 -0
  20. package/styles/bootstrap5-dark.css +36 -0
  21. package/styles/bootstrap5.css +36 -0
  22. package/styles/fabric-dark.css +36 -0
  23. package/styles/fabric.css +36 -0
  24. package/styles/fluent-dark.css +36 -0
  25. package/styles/fluent.css +36 -0
  26. package/styles/highcontrast-light.css +36 -0
  27. package/styles/highcontrast.css +36 -0
  28. package/styles/image-editor/_bootstrap-dark-definition.scss +1 -0
  29. package/styles/image-editor/_bootstrap-definition.scss +1 -0
  30. package/styles/image-editor/_bootstrap4-definition.scss +1 -0
  31. package/styles/image-editor/_bootstrap5-definition.scss +1 -0
  32. package/styles/image-editor/_fabric-dark-definition.scss +1 -0
  33. package/styles/image-editor/_fabric-definition.scss +1 -0
  34. package/styles/image-editor/_fluent-definition.scss +1 -0
  35. package/styles/image-editor/_fusionnew-definition.scss +1 -0
  36. package/styles/image-editor/_highcontrast-definition.scss +1 -0
  37. package/styles/image-editor/_highcontrast-light-definition.scss +1 -0
  38. package/styles/image-editor/_layout.scss +38 -0
  39. package/styles/image-editor/_material-dark-definition.scss +1 -0
  40. package/styles/image-editor/_material-definition.scss +1 -0
  41. package/styles/image-editor/_material3-definition.scss +1 -0
  42. package/styles/image-editor/_tailwind-definition.scss +1 -0
  43. package/styles/image-editor/_theme.scss +11 -0
  44. package/styles/image-editor/bootstrap-dark.css +36 -0
  45. package/styles/image-editor/bootstrap.css +36 -0
  46. package/styles/image-editor/bootstrap4.css +36 -0
  47. package/styles/image-editor/bootstrap5-dark.css +36 -0
  48. package/styles/image-editor/bootstrap5.css +36 -0
  49. package/styles/image-editor/fabric-dark.css +36 -0
  50. package/styles/image-editor/fabric.css +36 -0
  51. package/styles/image-editor/fluent-dark.css +36 -0
  52. package/styles/image-editor/fluent.css +36 -0
  53. package/styles/image-editor/highcontrast-light.css +36 -0
  54. package/styles/image-editor/highcontrast.css +36 -0
  55. package/styles/image-editor/material-dark.css +36 -0
  56. package/styles/image-editor/material.css +36 -0
  57. package/styles/image-editor/tailwind-dark.css +36 -0
  58. package/styles/image-editor/tailwind.css +36 -0
  59. package/styles/material-dark.css +36 -0
  60. package/styles/material.css +36 -0
  61. package/styles/tailwind-dark.css +36 -0
  62. package/styles/tailwind.css +36 -0
package/.eslintrc.json CHANGED
@@ -6,7 +6,8 @@
6
6
  "extends": [
7
7
  "eslint:recommended",
8
8
  "plugin:@typescript-eslint/recommended",
9
- "plugin:jsdoc/recommended"
9
+ "plugin:jsdoc/recommended",
10
+ "plugin:security/recommended"
10
11
  ],
11
12
  "parser": "@typescript-eslint/parser",
12
13
  "parserOptions": {
@@ -18,10 +19,24 @@
18
19
  "plugins": [
19
20
  "@typescript-eslint",
20
21
  "@typescript-eslint/tslint",
22
+ "eslint-plugin-security",
21
23
  "jsdoc"
22
24
  ],
23
25
  "rules": {
24
26
  "use-isnan": "error",
27
+ "security/detect-unsafe-regex":"error",
28
+ "security/detect-buffer-noassert":"error",
29
+ "security/detect-child-process":"error",
30
+ "security/detect-disable-mustache-escape":"error",
31
+ "security/detect-eval-with-expression":"error",
32
+ "security/detect-no-csrf-before-method-override":"error",
33
+ "security/detect-non-literal-fs-filename":"error",
34
+ "security/detect-non-literal-regexp":"error",
35
+ "security/detect-non-literal-require":"error",
36
+ "security/detect-object-injection":"error",
37
+ "security/detect-possible-timing-attacks":"error",
38
+ "security/detect-pseudoRandomBytes":"error",
39
+ "security/detect-new-buffer":"error",
25
40
  "@typescript-eslint/no-inferrable-types": "off",
26
41
  "@typescript-eslint/ban-types": ["warn", {
27
42
  "types": {
package/CHANGELOG.md CHANGED
@@ -1,14 +1,14 @@
1
- # Changelog
2
-
3
- ## [Unreleased]
1
+ # Changelog
4
2
 
5
- ## 20.3.50 (2022-10-18)
3
+ ## [Unreleased]
6
4
 
7
5
  ### Image Editor
8
6
 
9
7
  #### Bug Fixes
10
8
 
11
- - Issue with "Image Position while rotating canvas directly more than 90 degree" has been resolved.
9
+ - Issue with "Toolbar Alignment" has been resolved.
10
+
11
+ ## 20.4.38 (2022-12-21)
12
12
 
13
13
  ### Image Editor
14
14
 
package/README.md CHANGED
@@ -1,6 +1,69 @@
1
- # ej2-image-editor-component
1
+ # JavaScript Image Editor Control (JavaScript Photo Editor Control)
2
2
 
3
- The Image Editor control is a graphical user interface used for editing images. It provides built-in support for rotate, flip, zoom, and crop the images based on the selection. It also has support for inserting an annotations including rectangle, ellipse, line, text, and freehand drawings.
3
+ The [JavaScript Image Editor](https://www.syncfusion.com/javascript-ui-controls/js-image-editor?utm_source=npm&utm_medium=listing&utm_campaign=javascript-image-editor-npm) control is a graphical user interface used for editing images. It provides built-in support for rotate, flip, zoom, and crop the images based on the selection. It also has support for inserting an annotations including rectangle, ellipse, line, text, and freehand drawings.
4
4
 
5
+ <p align="center">
6
+ <a href="https://ej2.syncfusion.com/documentation/image-editor/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-image-editor-npm">Getting Started</a> .
7
+ <a href="https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-image-editor-npm#/material/image-editor/default.html">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/javascript-ui-controls/js-image-editor?utm_source=npm&utm_medium=listing&utm_campaign=javascript-image-editor-npm">Learn more</a>
9
+ </p>
10
+
11
+ ![JavaScript Image Editor Control](https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/javascript/javascript-image-editor.gif)
12
+
13
+ <p align="center">
14
+ Trusted by the world's leading companies
15
+ <a href="https://www.syncfusion.com">
16
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
17
+ </a>
18
+ </p>
19
+
20
+ ## Setup
21
+
22
+ To install Image Editor and its dependent packages, use the following command.
23
+
24
+ ```sh
25
+ npm install @syncfusion/ej2-image-editor
26
+ ```
27
+
28
+ ## Supported frameworks
29
+
30
+ Image Editor control is also offered in the following list of frameworks.
31
+
32
+ | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[React](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
33
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
34
+
35
+ ## Key features
36
+
37
+ * [Load and save images in various formats](https://ej2.syncfusion.com/documentation/image-editor/open-save): The Image Editor control allows users to load and edit existing images, as well as export the edited version in PNG, SVG, and JPG formats.
38
+ * [Selection and cropping](https://ej2.syncfusion.com/documentation/image-editor/selection-cropping): The control provides selection and cropping functionality, allowing users to crop images based on a customizable selection region with various aspect ratios and the ability to reposition the selection by dragging and resizing.
39
+ * [Image transformations](https://ej2.syncfusion.com/documentation/image-editor/transform): The control offers basic image editing features such as rotate, flip, zoom, and crop to adjust the appearance and composition of images.
40
+ * [Image annotation](https://ej2.syncfusion.com/documentation/image-editor/annotation): Users can insert annotations including text, rectangle, ellipse, freehand draw, and lines to mark up and annotate their images.
41
+ * Image Finetunes: Includes support to adjust the brightness, contrast, saturation, hue, exposure, opacity, and blur of their images to achieve the desired look and feel.
42
+ * Image Filters: Includes support for image filtering by applying various pre-set filters such as Default, Chrome, Warm, Cold, GrayScale, Sepia, Invert to alter their appearance.
43
+ * [Customizable toolbar](https://ej2.syncfusion.com/documentation/image-editor/toolbar/#custom-toolbar-items): The control includes a customizable toolbar to simplify user interaction and make it easy to access various image editing operations.
44
+ * RTL and localization support: The control supports RTL (right-to-left) mode and provides inherent support for localization, allowing users to easily translate the user interface into different languages.
45
+ * Various theme support: The component supports a range of themes, including fluent, tailwind css, bootstrap 5, material, and high contrast, giving users the ability to customize the look and feel of the image editor to match their preferences or brand guidelines.
46
+
47
+ ## Support
48
+
49
+ Product support is available through the following mediums,
50
+
51
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
52
+ * [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_medium=listing&utm_campaign=javascript-image-editor-npm)
53
+ * [GitHub issues](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new)
54
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/javascript?utm_source=npm&utm_medium=listing&utm_campaign=javascript-image-editor-npm)
55
+ * Live chat
56
+
57
+ ## Changelog
58
+
59
+ Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/imageeditor/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=javascript-image-editor-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
60
+
61
+ ## License and copyright
62
+
63
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [JavaScript UI controls](https://www.syncfusion.com/javascript-ui-controls), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
64
+
65
+ > A [free community license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
66
+
67
+ See [LICENSE FILE](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=javascript-image-editor-npm) for more info.
5
68
 
6
69
  © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.