@kmkf-fe-packages/basic-components 0.7.15-alpha.0 → 0.7.15-alpha.3
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 +6285 -183
- package/dist/index.js +6284 -178
- package/dist/src/apaas/ApaasAddress/index.d.ts +1 -0
- package/dist/src/apaas/ApaasPosting/index.d.ts +1 -0
- package/dist/src/apaas/ApaasUploadFile/index.d.ts +1 -1
- package/dist/src/bs/Exchange/index.d.ts +3 -0
- package/dist/src/bs/Goods/index.d.ts +1 -13
- package/dist/src/bs/Reissue/index.d.ts +3 -0
- package/dist/src/bs/component/GoodItem/index.d.ts +21 -0
- package/dist/src/bs/component/GoodsModal.d.ts +0 -2
- package/dist/src/business/LogisticsTrajectory/index.d.ts +3 -0
- package/dist/src/common/IdentifyAddress/index.d.ts +2 -0
- package/dist/src/index.d.ts +3 -0
- package/package.json +5 -3
|
@@ -16,5 +16,5 @@ export interface ApaasUploadProps extends Omit<UploadProps, 'onChange' | 'value'
|
|
|
16
16
|
hostUrl?: string;
|
|
17
17
|
actionUrl?: string;
|
|
18
18
|
}
|
|
19
|
-
declare const ApaasUploadAsync: ({ maxCount, maxSize, onChange, value, accept, disabled, uniqueKey, actionUrl, ...resetProps }: ApaasUploadProps) => React.JSX.Element;
|
|
19
|
+
declare const ApaasUploadAsync: ({ maxCount, maxSize, onChange, value, accept, disabled, uniqueKey, hostUrl, actionUrl, ...resetProps }: ApaasUploadProps) => React.JSX.Element;
|
|
20
20
|
export default ApaasUploadAsync;
|
|
@@ -1,15 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
value: any[];
|
|
4
|
-
type: number;
|
|
5
|
-
options: any[];
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
onChange: (val: any[]) => void;
|
|
8
|
-
showField: string[];
|
|
9
|
-
width?: number;
|
|
10
|
-
shopList: any[];
|
|
11
|
-
shopId: string | number;
|
|
12
|
-
maxLength: number;
|
|
13
|
-
}
|
|
14
|
-
declare const BsGoods: (props: Partial<BsGoodsProps>) => React.JSX.Element;
|
|
2
|
+
declare const BsGoods: (props: any) => React.JSX.Element;
|
|
15
3
|
export default BsGoods;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface BsGoodsProps {
|
|
3
|
+
value: any[];
|
|
4
|
+
type: number;
|
|
5
|
+
options: any[];
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
showField: string[];
|
|
8
|
+
width: number;
|
|
9
|
+
shopList: any[];
|
|
10
|
+
shopId: string | number;
|
|
11
|
+
maxLength: number;
|
|
12
|
+
showChangeBtn: boolean;
|
|
13
|
+
tableSelect: boolean;
|
|
14
|
+
otherOperations: any;
|
|
15
|
+
canUpdateNumber: boolean;
|
|
16
|
+
headerText?: string;
|
|
17
|
+
onChange: (val: any[]) => void;
|
|
18
|
+
onSelect: (val: any[]) => void;
|
|
19
|
+
}
|
|
20
|
+
declare const GoodItem: (props: Partial<BsGoodsProps>) => React.JSX.Element;
|
|
21
|
+
export default GoodItem;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface GoodModelProps {
|
|
3
|
-
type: number;
|
|
4
3
|
shopId: number | string;
|
|
5
4
|
maxLength: number;
|
|
6
5
|
shopList: any[];
|
|
7
6
|
width?: string | number;
|
|
8
7
|
onSubmit: (...args: any[]) => any;
|
|
9
|
-
onCancel: (...args: any[]) => any;
|
|
10
8
|
}
|
|
11
9
|
declare const _default: React.ForwardRefExoticComponent<GoodModelProps & React.RefAttributes<unknown>>;
|
|
12
10
|
export default _default;
|
|
@@ -8,6 +8,8 @@ interface IdentifyAddressProps {
|
|
|
8
8
|
};
|
|
9
9
|
onChange: (value: any) => void;
|
|
10
10
|
disabled?: boolean;
|
|
11
|
+
showIdentify?: boolean;
|
|
12
|
+
type?: string;
|
|
11
13
|
}
|
|
12
14
|
declare const IdentifyAddress: (props: IdentifyAddressProps) => React.JSX.Element;
|
|
13
15
|
export default IdentifyAddress;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -31,10 +31,13 @@ export { default as Invoice } from './business/Invoice';
|
|
|
31
31
|
export { default as Status } from './business/Status';
|
|
32
32
|
export { default as Payment } from './business/Payment';
|
|
33
33
|
export { default as LogisticsInterception } from './business/LogisticsInterception';
|
|
34
|
+
export { default as LogisticsTrajectory } from './business/LogisticsTrajectory';
|
|
34
35
|
export { default as Goods } from './common/Goods';
|
|
35
36
|
export { default as JstGoods } from './jst/Goods';
|
|
36
37
|
export { default as JstItemList } from './jst/ItemList';
|
|
37
38
|
export { default as BsGoods } from './bs/Goods';
|
|
39
|
+
export { default as BsExchange } from './bs/Exchange';
|
|
40
|
+
export { default as BsReissue } from './bs/Reissue';
|
|
38
41
|
export { default as GoodsTable } from './common/GoodsTable';
|
|
39
42
|
export { default as ParseLogistics } from './common/ParseLogistics';
|
|
40
43
|
export { default as IdentifyAddress } from './common/IdentifyAddress';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.7.15-alpha.
|
|
3
|
+
"version": "0.7.15-alpha.3",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,7 +20,8 @@
|
|
|
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": "^0.7.15-alpha.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.7.15-alpha.3",
|
|
24
|
+
"pubsub-js": "^1.9.4",
|
|
24
25
|
"umi-request": "^1.4.0"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
"@testing-library/react": "12.1.5",
|
|
29
30
|
"@types/jest": "^29.5.1",
|
|
30
31
|
"@types/node": "^20.1.4",
|
|
32
|
+
"@types/pubsub-js": "^1.8.3",
|
|
31
33
|
"@types/react-test-renderer": "^18.0.0",
|
|
32
34
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
33
35
|
"@typescript-eslint/parser": "^5.59.2",
|
|
@@ -54,5 +56,5 @@
|
|
|
54
56
|
"publishConfig": {
|
|
55
57
|
"access": "public"
|
|
56
58
|
},
|
|
57
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "ed7ac8d0c87afbda8f080748adc790cd6755c9e0"
|
|
58
60
|
}
|