@kmkf-fe-packages/basic-components 2.2.44-beta.2 → 2.2.44-beta.4

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 CHANGED
@@ -15086,7 +15086,14 @@ var kmColumns = [{
15086
15086
  title: "\u5546\u54C1\u7C7B\u578B",
15087
15087
  ellipsis: true,
15088
15088
  width: 150,
15089
- render: renderTextEllipsis
15089
+ render: function render(type) {
15090
+ return renderTextEllipsis({
15091
+ 0: '普通',
15092
+ 1: 'sku套件',
15093
+ 2: '纯套件',
15094
+ 3: '包材商品'
15095
+ }[type] || type);
15096
+ }
15090
15097
  }, {
15091
15098
  dataIndex: 'specName',
15092
15099
  title: "SKU\u540D\u79F0",
package/dist/index.js CHANGED
@@ -15101,7 +15101,14 @@ var kmColumns = [{
15101
15101
  title: "\u5546\u54C1\u7C7B\u578B",
15102
15102
  ellipsis: true,
15103
15103
  width: 150,
15104
- render: renderTextEllipsis
15104
+ render: function render(type) {
15105
+ return renderTextEllipsis({
15106
+ 0: '普通',
15107
+ 1: 'sku套件',
15108
+ 2: '纯套件',
15109
+ 3: '包材商品'
15110
+ }[type] || type);
15111
+ }
15105
15112
  }, {
15106
15113
  dataIndex: 'specName',
15107
15114
  title: "SKU\u540D\u79F0",
@@ -5,6 +5,12 @@ declare const _default: ({
5
5
  width: number;
6
6
  render: (val: string) => React.JSX.Element;
7
7
  ellipsis?: undefined;
8
+ } | {
9
+ dataIndex: string;
10
+ title: string;
11
+ ellipsis: boolean;
12
+ width: number;
13
+ render: (type: number) => React.JSX.Element;
8
14
  } | {
9
15
  dataIndex: string;
10
16
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.2.44-beta.2",
3
+ "version": "2.2.44-beta.4",
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": "2.2.44-beta.0",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.2.44-beta.4",
24
24
  "ahooks": "^3.7.4",
25
25
  "ali-react-table": "2.6.1",
26
26
  "bignumber.js": "^9.1.2",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "6fc7e660dcebeeaf353e65685b8b102d3e697c30"
69
+ "gitHead": "6f7a39c27b7121eb64d357d4f346c7168b1febaf"
70
70
  }