@kmkf-fe-packages/basic-components 0.24.0 → 0.24.1-alpha.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.
@@ -6,6 +6,8 @@ interface valueType {
6
6
  export interface AddressType {
7
7
  value: valueType;
8
8
  disabled: boolean;
9
+ showIdentify?: boolean;
10
+ type?: string;
9
11
  onChange: (value: valueType) => void;
10
12
  [key: string]: any;
11
13
  }
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { GoodsProps } from '../../common/Goods';
3
- declare const TBGoodSerial: (props: Partial<GoodsProps>) => React.JSX.Element;
2
+ import { RichGoodProps } from '../../common/Goods/RichItem';
3
+ declare const TBGoodSerial: (props: Partial<RichGoodProps>) => React.JSX.Element;
4
4
  export default TBGoodSerial;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import './richItem.less';
3
+ export interface RichGoodProps {
4
+ isSingleRow: boolean;
5
+ value?: {
6
+ shopId: string;
7
+ imgList: any[];
8
+ };
9
+ showChangeBtn?: boolean;
10
+ type?: number;
11
+ enableItemId?: boolean;
12
+ enableSupplierName?: boolean;
13
+ userNick?: string;
14
+ maxLength: number;
15
+ canUpdateNumber?: boolean;
16
+ onChange?: (value: any) => void;
17
+ shopList: any[];
18
+ otherOperations?: React.JSX.Element;
19
+ showHeader?: string[];
20
+ shopId?: string;
21
+ disabled?: boolean;
22
+ changeSku?: boolean;
23
+ width?: string | number;
24
+ }
25
+ declare const GoodItem: (props: Partial<RichGoodProps>) => React.JSX.Element;
26
+ export default GoodItem;
@@ -9,6 +9,7 @@ interface GoodModelProps {
9
9
  shopList: any[];
10
10
  changeSku?: boolean;
11
11
  width?: string | number;
12
+ numIidType?: 'string' | 'number';
12
13
  onSubmit: (...args: any[]) => any;
13
14
  onCancel: (...args: any[]) => any;
14
15
  }
@@ -6,6 +6,7 @@ declare type SkuProps = {
6
6
  propertiesName: string;
7
7
  picUrl?: string;
8
8
  outerSkuId?: string;
9
+ skuId?: string;
9
10
  }) => void;
10
11
  userNick: string | undefined;
11
12
  type?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.24.0",
3
+ "version": "0.24.1-alpha.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": "^0.24.0",
23
+ "@kmkf-fe-packages/kmkf-utils": "^0.24.1-alpha.0",
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": "133439d300dbb2cca26ccac67026ec0190d71a84"
67
+ "gitHead": "fb6199d073f8d5c64a35e124c48796d64284bf24"
68
68
  }