@wangeditor-next/upload-image-module 1.1.14 → 1.1.16
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/dist/core/src/config/interface.d.ts +3 -3
- package/dist/core/src/index.d.ts +6 -6
- package/dist/core/src/upload/interface.d.ts +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/upload-image-module/src/module/menu/config.d.ts +2 -11
- package/dist/upload-image-module/src/module/menu/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -2,14 +2,5 @@
|
|
|
2
2
|
* @description upload image config
|
|
3
3
|
* @author wangfupeng
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
export type IUploadConfigForImage = IUploadConfig & {
|
|
8
|
-
allowedFileTypes?: string[];
|
|
9
|
-
customInsert?: (res: any, insertFn: InsertFn) => void;
|
|
10
|
-
customUpload?: (files: File, insertFn: InsertFn) => void;
|
|
11
|
-
base64LimitSize: number;
|
|
12
|
-
customBrowseAndUpload?: (insertFn: InsertFn) => void;
|
|
13
|
-
};
|
|
14
|
-
export declare function genUploadImageConfig(): IUploadConfigForImage;
|
|
15
|
-
export {};
|
|
5
|
+
import { IUploadImageConfig } from '@wangeditor-next/core';
|
|
6
|
+
export declare function genUploadImageConfig(): IUploadImageConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wangeditor-next/upload-image-module",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.16",
|
|
4
4
|
"description": "wangEditor upload-image module",
|
|
5
5
|
"author": "cycleccc <2991205548@qq.com>",
|
|
6
6
|
"type": "module",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@uppy/core": "^2.0.3",
|
|
48
48
|
"@uppy/xhr-upload": "^2.0.3",
|
|
49
|
-
"@wangeditor-next/basic-modules": "1.5.
|
|
50
|
-
"@wangeditor-next/core": "1.7.
|
|
49
|
+
"@wangeditor-next/basic-modules": "1.5.13",
|
|
50
|
+
"@wangeditor-next/core": "1.7.14",
|
|
51
51
|
"dom7": "^3.0.0",
|
|
52
52
|
"lodash.foreach": "^4.5.0",
|
|
53
53
|
"slate": "^0.72.0",
|