@xuda.io/xuda-widget-plugin-xuda-drive 1.0.65 → 1.0.66

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-widget-plugin-xuda-drive",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "description": "Xuda Drive widget plugin",
5
5
  "scripts": {
6
6
  "pub": "npm version patch --force && npm publish --access public"
@@ -0,0 +1,40 @@
1
+ // @ts-ignore
2
+ import { FilePondOptions } from 'filepond';
3
+
4
+ declare module 'filepond' {
5
+ export interface FilePondOptions {
6
+ /** Enable or disable image editor */
7
+ allowImageEditor?: boolean;
8
+
9
+ /** Enable or disable instant edit mode */
10
+ imageEditorInstantEdit?: boolean;
11
+
12
+ /** Enable or disable edit button */
13
+ imageEditorAllowEdit?: boolean;
14
+
15
+ /** Override detection of edit support */
16
+ imageEditorSupportEdit?: boolean;
17
+
18
+ /** Override detection of write support */
19
+ imageEditorSupportWriteImage?: boolean;
20
+
21
+ /** Enable or disable outputing an image */
22
+ imageEditorWriteImage?: boolean;
23
+
24
+ /** Receives image write output expects file or array of file items in return */
25
+ imageEditorAfterWriteImage?: (res: {
26
+ src: File | Blob;
27
+ imageState: any;
28
+ dest: File;
29
+ }) => File | { name: null | string; file: File | Blob }[];
30
+
31
+ /** Image Editor configuration object */
32
+ imageEditor?: any;
33
+
34
+ /** Image Editor edit icon */
35
+ imageEditorIconEdit?: string;
36
+
37
+ /** Image Editor edit button position */
38
+ styleImageEditorButtonEditItemPosition?: string;
39
+ }
40
+ }