@kmkf-fe-packages/basic-components 0.7.15-alpha.0 → 0.7.15-alpha.2
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 +354 -82
- package/dist/index.js +357 -81
- package/dist/src/apaas/ApaasAddress/index.d.ts +1 -0
- package/dist/src/apaas/ApaasPosting/index.d.ts +1 -0
- 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 +20 -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 +4 -2
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
onChange: (val: any[]) => void;
|
|
17
|
+
onSelect: (val: any[]) => void;
|
|
18
|
+
}
|
|
19
|
+
declare const GoodItem: (props: Partial<BsGoodsProps>) => React.JSX.Element;
|
|
20
|
+
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.2",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@kmkf-fe-packages/kmkf-utils": "^0.7.15-alpha.0",
|
|
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": "5ff2e36f84708b964271ed5e61c7ced26e266bd5"
|
|
58
60
|
}
|