@kmkf-fe-packages/basic-components 1.19.2 → 1.19.4-beta.0

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.
@@ -10,6 +10,8 @@ interface BsGoodsProps {
10
10
  shopId: string | number;
11
11
  maxLength: number;
12
12
  showChangeBtn: boolean;
13
+ showModeBtn: boolean;
14
+ isStrict: boolean;
13
15
  tableSelect?: boolean;
14
16
  selectType?: string;
15
17
  otherOperations: any;
@@ -19,6 +21,7 @@ interface BsGoodsProps {
19
21
  onChange: (val: any[]) => void;
20
22
  onSelect: (val: any[]) => void;
21
23
  onDelete: (val: any[]) => void;
24
+ onModeChange: (val: boolean) => void;
22
25
  }
23
26
  declare const GoodItem: (props: Partial<BsGoodsProps>) => React.JSX.Element;
24
27
  export default GoodItem;
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ export declare namespace BsE3Goods {
3
+ interface GoodsInfo {
4
+ deleted: 0 | 1;
5
+ goodsSn: number;
6
+ goodsName: 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: () => BsE3Goods.GoodsInfo[];
29
+ }
30
+ }
31
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<BsE3Goods.SelectDrawerRefObject>>;
32
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface GoodModelProps {
3
+ shopId: number | string;
4
+ maxLength: number;
5
+ shopList: any[];
6
+ width?: string | number;
7
+ shopCode?: string;
8
+ companyKey: string;
9
+ onSubmit: (...args: any[]) => any;
10
+ }
11
+ declare const _default: React.ForwardRefExoticComponent<GoodModelProps & React.RefAttributes<unknown>>;
12
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export declare const bsE3Utils: {
2
+ getBsE3OrderListSingleton: (orderNo: string) => Promise<any>;
3
+ };
@@ -0,0 +1,3 @@
1
+ export declare const wdtUtils: {
2
+ getWdtOrderListSingleton: (orderNo: string) => Promise<any>;
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "1.19.2",
3
+ "version": "1.19.4-beta.0",
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.19.2",
23
+ "@kmkf-fe-packages/kmkf-utils": "1.19.4-beta.0",
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": "2e2f27ba765c9dfa3ee60dbbc3fa4cf37c9ef689"
68
+ "gitHead": "028de42b869ce07e95ab7a7166bf487cfdf0f93a"
69
69
  }