@kmkf-fe-packages/basic-components 1.0.3 → 1.0.4-rc.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.
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ export declare namespace WdtGoods {
3
+ interface GoodsInfo {
4
+ deleted: 0 | 1;
5
+ goodId: number;
6
+ goodName: string;
7
+ goodNo: string;
8
+ imgKey: string;
9
+ imgUrl: string;
10
+ marketPrice: number;
11
+ memberPrice: number;
12
+ retailPrice: number;
13
+ specCode: string;
14
+ specId: string;
15
+ specName: string;
16
+ specNo: string;
17
+ unit: string;
18
+ unitName: string;
19
+ index: number;
20
+ uuid: string;
21
+ canDelete: boolean;
22
+ num: number;
23
+ orderPrice: number;
24
+ sharePrice: number;
25
+ canUpdateNumber: boolean;
26
+ }
27
+ interface SelectDrawerRefObject {
28
+ getSelectGoodList: () => WdtGoods.GoodsInfo[];
29
+ }
30
+ }
31
+ export declare const getWdtListProduct: (data: {
32
+ pageSize: number;
33
+ pageNo: number;
34
+ goodNo: string | null;
35
+ specNo: string | null;
36
+ startTime: string;
37
+ endTime: string;
38
+ }) => Promise<any>;
39
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<WdtGoods.SelectDrawerRefObject>>;
40
+ export default _default;
@@ -45,6 +45,7 @@ export { default as BsReturn } from './bs/Return';
45
45
  export { default as BsSystemOrder } from './bs/SystemOrder';
46
46
  export { default as WlnGoods } from './wln/Goods';
47
47
  export { default as CommonGoods } from './common/CommonGoods';
48
+ export { default as WdtReissue } from './wdt/Reissue';
48
49
  export { default as GoodsTable } from './common/GoodsTable';
49
50
  export { default as CommonStatus } from './common/CommonStatus';
50
51
  export { default as CommonSystemOrder } from './common/CommonSystemOrder';
@@ -53,3 +54,5 @@ export { default as MsgStatus } from './common/MsgStatus';
53
54
  export { default as ParseLogistics } from './common/ParseLogistics';
54
55
  export { default as IdentifyAddress } from './common/IdentifyAddress';
55
56
  export { default as CalculationInput } from './apaas/CalculationInput';
57
+ export { default as WdtGoodList } from './bs/component/model/WdtGoodList';
58
+ export type { WdtGoods } from './bs/component/model/WdtGoodList';
@@ -6,6 +6,7 @@ interface JstGoodsProps {
6
6
  disabled: boolean;
7
7
  onChange: (val: any[]) => void;
8
8
  showField: string;
9
+ componentType?: string;
9
10
  }
10
11
  declare const jstGoods: (props: Partial<JstGoodsProps>) => React.JSX.Element;
11
12
  export default jstGoods;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const wdtReissue: (props: any) => React.JSX.Element;
3
+ export default wdtReissue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "1.0.3",
3
+ "version": "1.0.4-rc.2",
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": "^1.0.3",
23
+ "@kmkf-fe-packages/kmkf-utils": "^1.0.4-rc.2",
24
24
  "ahooks": "^3.7.4",
25
25
  "kmkf-monitor": "^0.8.8",
26
26
  "lodash": "^4.17.21",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "db3f4dcdeeebdd482f38d71184ecb11c91706e17"
67
+ "gitHead": "0cc6d4c478c778b020149a7d0e0ccf1abd05d20b"
68
68
  }