@scaleflex/widget-image-editor 0.3.0 → 4.0.0
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 +10 -1
- package/README.md +1 -1
- package/lib/ImageEditor.js +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [0.
|
|
6
|
+
# [4.0.0](https://code.scaleflex.cloud/scaleflex/widget/compare/v0.3.0...v4.0.0) (2025-08-26)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @scaleflex/widget-image-editor
|
|
9
9
|
|
|
@@ -12,6 +12,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
# [0.3.0](https://code.scaleflex.cloud/scaleflex/widget/compare/v0.2.1...v0.3.0) (2025-08-12)
|
|
16
|
+
|
|
17
|
+
**Note:** Version bump only for package @scaleflex/widget-image-editor
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
15
24
|
## [0.2.1](https://code.scaleflex.cloud/scaleflex/widget/compare/v0.2.0...v0.2.1) (2025-08-06)
|
|
16
25
|
|
|
17
26
|
**Note:** Version bump only for package @scaleflex/widget-image-editor
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
<div align='center'>
|
|
12
|
-
<img title="Scaleflex Widget logo" alt="Scaleflex Widget logo" src="https://
|
|
12
|
+
<img title="Scaleflex Widget logo" alt="Scaleflex Widget logo" src="https://assets.scaleflex.com/Corporate+Branding/%5B2025%5D+ALL+LOGOS+%2B+ICONS/SCALEFLEX/VXP+logo/Horizontal+White/VXP+logo+WHITE.png?vh=663932" width="140"/>
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
The image editor plugin provides different functionality for editing the image available in [Scaleflex Media Asset Widget](https://www.npmjs.com/package/@scaleflex/widget-core), gives you the possibility to add watermark, text, shapes, edit image by filters, orientations...etc.
|
package/lib/ImageEditor.js
CHANGED
|
@@ -14,7 +14,7 @@ import { useEffect, useState, useMemo } from 'react';
|
|
|
14
14
|
import { useSelector, useDispatch } from 'react-redux';
|
|
15
15
|
import FilerobotImageEditor from 'react-filerobot-image-editor';
|
|
16
16
|
import FilerobotVideoEditor from 'react-filerobot-video-editor';
|
|
17
|
-
import {
|
|
17
|
+
import { ScaleflexWidget } from '@scaleflex/widget-core';
|
|
18
18
|
import { FolderMoveTo, Duplicate } from '@scaleflex/icons';
|
|
19
19
|
import handlePromise from '@scaleflex/widget-utils/lib/handlePromise';
|
|
20
20
|
import blobToDataURI from '@scaleflex/widget-utils/lib/blobToDataURI';
|
|
@@ -134,7 +134,7 @@ var ImageEditor = function ImageEditor(_ref) {
|
|
|
134
134
|
if (!imgFileUrl && isUpload) {
|
|
135
135
|
info(i18n('imageEditorImgPreparationForEditInfo', 'info'));
|
|
136
136
|
setIsLoadingUrl(true);
|
|
137
|
-
var fileData =
|
|
137
|
+
var fileData = ScaleflexWidget.uploadFilesData[file.id];
|
|
138
138
|
if (isVideo(file)) {
|
|
139
139
|
setImgFileUrl(fileData);
|
|
140
140
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleflex/widget-image-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "FilerobotImageEditor integration with Scaleflex",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@scaleflex/icons": "^3.0.0-beta.11",
|
|
17
17
|
"@scaleflex/ui": "^3.0.0-beta.11",
|
|
18
|
-
"@scaleflex/widget-common": "^0.
|
|
19
|
-
"@scaleflex/widget-icons": "^0.
|
|
20
|
-
"@scaleflex/widget-utils": "^0.
|
|
18
|
+
"@scaleflex/widget-common": "^4.0.0",
|
|
19
|
+
"@scaleflex/widget-icons": "^4.0.0",
|
|
20
|
+
"@scaleflex/widget-utils": "^4.0.0",
|
|
21
21
|
"react-filerobot-image-editor": "5.0.0-beta.93",
|
|
22
22
|
"react-filerobot-video-editor": "1.1.3"
|
|
23
23
|
},
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"react-konva": ">=19.0.3",
|
|
36
36
|
"react-redux": "^8.1.1"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "bf4d9631c2695e70b94092490e4a9800b54b38b7"
|
|
39
39
|
}
|