@kmkf-fe-packages/basic-components 2.0.51 → 2.0.53
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/index.esm.js +388 -79
- package/dist/index.js +389 -79
- package/dist/src/apaas/ApaasUploadProAsync/index.d.ts +20 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UploadProps } from 'antd';
|
|
3
|
+
declare type UploadValue = {
|
|
4
|
+
url: string;
|
|
5
|
+
name: string;
|
|
6
|
+
}[];
|
|
7
|
+
export interface ApaasUploadProProps extends Omit<UploadProps, 'onChange' | 'value'> {
|
|
8
|
+
maxCount?: number;
|
|
9
|
+
maxSize?: number;
|
|
10
|
+
uploadText?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
onChange?: (value: UploadValue) => void;
|
|
13
|
+
value?: UploadValue;
|
|
14
|
+
uniqueKey?: string;
|
|
15
|
+
hostUrl?: string;
|
|
16
|
+
actionUrl?: string;
|
|
17
|
+
platform?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: React.ForwardRefExoticComponent<ApaasUploadProProps & React.RefAttributes<any>>;
|
|
20
|
+
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { default as ApaasTextArea } from './apaas/ApaasTextArea';
|
|
|
8
8
|
export { default as ApaasUpload } from './apaas/ApaasUpload';
|
|
9
9
|
export { default as ApaasRadio } from './apaas/ApaasRadio';
|
|
10
10
|
export { default as ApaasUploadAsync } from './apaas/ApaasUploadAsync';
|
|
11
|
+
export { default as ApaasUploadProAsync } from './apaas/ApaasUploadProAsync';
|
|
11
12
|
export { default as ApaasUploadFile } from './apaas/ApaasUploadFile';
|
|
12
13
|
export { default as ApaasCheckbox } from './apaas/ApaasCheckbox';
|
|
13
14
|
export { default as ApaasSlider } from './apaas/ApaasSlider';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.53",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/kmkf-utils": "2.0.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.53",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"bignumber.js": "^9.1.2",
|
|
26
26
|
"kmkf-monitor": "^0.8.9",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "86a3782c0be268ccf13b109778bd4751ddafc1a5"
|
|
69
69
|
}
|