@kmkf-fe-packages/basic-components 0.24.2-beta.2 → 0.24.2-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 +28 -11
- package/dist/index.js +28 -11
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -11094,11 +11094,11 @@ var columns$1 = [{
|
|
|
11094
11094
|
}, {
|
|
11095
11095
|
dataIndex: 'goodName',
|
|
11096
11096
|
title: '商品名称',
|
|
11097
|
-
width:
|
|
11097
|
+
width: 250,
|
|
11098
11098
|
ellipsis: true
|
|
11099
11099
|
}, {
|
|
11100
11100
|
dataIndex: 'goodNo',
|
|
11101
|
-
title: '商品
|
|
11101
|
+
title: '商品SPU编码',
|
|
11102
11102
|
width: 200,
|
|
11103
11103
|
ellipsis: true
|
|
11104
11104
|
}, {
|
|
@@ -11109,17 +11109,17 @@ var columns$1 = [{
|
|
|
11109
11109
|
}, {
|
|
11110
11110
|
dataIndex: 'specCount',
|
|
11111
11111
|
title: '规格数',
|
|
11112
|
-
width:
|
|
11112
|
+
width: 100,
|
|
11113
11113
|
ellipsis: true
|
|
11114
11114
|
}];
|
|
11115
11115
|
var expandedColumns = [{
|
|
11116
11116
|
dataIndex: 'specName',
|
|
11117
|
-
title: '商品
|
|
11117
|
+
title: '商品SKU名称',
|
|
11118
11118
|
width: 200,
|
|
11119
11119
|
ellipsis: true
|
|
11120
11120
|
}, {
|
|
11121
11121
|
dataIndex: 'specNo',
|
|
11122
|
-
title: '商品
|
|
11122
|
+
title: '商品SKU编码',
|
|
11123
11123
|
width: 200,
|
|
11124
11124
|
ellipsis: true
|
|
11125
11125
|
}, {
|
|
@@ -11371,6 +11371,8 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11371
11371
|
var displaySelectedColumns = [{
|
|
11372
11372
|
dataIndex: 'operation',
|
|
11373
11373
|
title: '',
|
|
11374
|
+
ellipsis: true,
|
|
11375
|
+
width: 50,
|
|
11374
11376
|
render: function render(_, record, index) {
|
|
11375
11377
|
return /*#__PURE__*/React.createElement(DeleteOutlined, {
|
|
11376
11378
|
onClick: function onClick() {
|
|
@@ -11381,6 +11383,7 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11381
11383
|
}, {
|
|
11382
11384
|
dataIndex: 'index',
|
|
11383
11385
|
title: 'NO',
|
|
11386
|
+
width: 100,
|
|
11384
11387
|
render: function render(val, record, index) {
|
|
11385
11388
|
return /*#__PURE__*/React.createElement("div", {
|
|
11386
11389
|
style: {
|
|
@@ -11388,6 +11391,16 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11388
11391
|
}
|
|
11389
11392
|
}, index + 1);
|
|
11390
11393
|
}
|
|
11394
|
+
}, {
|
|
11395
|
+
dataIndex: 'goodName',
|
|
11396
|
+
title: '商品名称',
|
|
11397
|
+
width: 250,
|
|
11398
|
+
ellipsis: true
|
|
11399
|
+
}, {
|
|
11400
|
+
dataIndex: 'goodNo',
|
|
11401
|
+
title: "SPU\u5546\u54C1\u7F16\u7801",
|
|
11402
|
+
ellipsis: true,
|
|
11403
|
+
width: 200
|
|
11391
11404
|
}];
|
|
11392
11405
|
var expandedRowSelection = {
|
|
11393
11406
|
fixed: true,
|
|
@@ -11464,7 +11477,7 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11464
11477
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
11465
11478
|
name: "code"
|
|
11466
11479
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
11467
|
-
placeholder: "\u5546\
|
|
11480
|
+
placeholder: "\u5546\u54C1SPU\u7F16\u7801",
|
|
11468
11481
|
allowClear: true,
|
|
11469
11482
|
style: {
|
|
11470
11483
|
width: 150
|
|
@@ -11487,7 +11500,7 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11487
11500
|
dataSource: goodList,
|
|
11488
11501
|
loading: loading,
|
|
11489
11502
|
scroll: {
|
|
11490
|
-
x:
|
|
11503
|
+
x: '100%',
|
|
11491
11504
|
y: 250
|
|
11492
11505
|
},
|
|
11493
11506
|
expandable: {
|
|
@@ -11501,13 +11514,17 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11501
11514
|
pageSizeOptions: [],
|
|
11502
11515
|
onChange: pageChange
|
|
11503
11516
|
}
|
|
11504
|
-
})), !!selectList.length && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Space, null, "\u5DF2\u7ECF\u9009\u62E9\u5546\u54C1\uFF08", selectList.length, "\uFF09"), /*#__PURE__*/React.createElement(
|
|
11517
|
+
})), !!selectList.length && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Space, null, "\u5DF2\u7ECF\u9009\u62E9\u5546\u54C1\uFF08", selectList.length, "\uFF09"), /*#__PURE__*/React.createElement("div", {
|
|
11518
|
+
style: {
|
|
11519
|
+
marginTop: '16px'
|
|
11520
|
+
}
|
|
11521
|
+
}, /*#__PURE__*/React.createElement(Table, {
|
|
11505
11522
|
rowKey: 'specId',
|
|
11506
11523
|
columns: [].concat(displaySelectedColumns, expandedColumns),
|
|
11507
11524
|
dataSource: displaySelectList,
|
|
11508
11525
|
pagination: false,
|
|
11509
11526
|
scroll: {
|
|
11510
|
-
x:
|
|
11527
|
+
x: '100%',
|
|
11511
11528
|
y: 250
|
|
11512
11529
|
},
|
|
11513
11530
|
style: {
|
|
@@ -11608,13 +11625,13 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
11608
11625
|
width: 100
|
|
11609
11626
|
}, {
|
|
11610
11627
|
dataIndex: 'specNo',
|
|
11611
|
-
title: "".concat(text, "
|
|
11628
|
+
title: "".concat(text, "SKU\u7F16\u7801"),
|
|
11612
11629
|
align: 'center',
|
|
11613
11630
|
ellipsis: true,
|
|
11614
11631
|
width: 180
|
|
11615
11632
|
}, {
|
|
11616
11633
|
dataIndex: 'specName',
|
|
11617
|
-
title: "".concat(text, "
|
|
11634
|
+
title: "".concat(text, "SKU\u540D\u79F0"),
|
|
11618
11635
|
align: 'center',
|
|
11619
11636
|
ellipsis: true,
|
|
11620
11637
|
width: 250
|
package/dist/index.js
CHANGED
|
@@ -11105,11 +11105,11 @@ var columns$1 = [{
|
|
|
11105
11105
|
}, {
|
|
11106
11106
|
dataIndex: 'goodName',
|
|
11107
11107
|
title: '商品名称',
|
|
11108
|
-
width:
|
|
11108
|
+
width: 250,
|
|
11109
11109
|
ellipsis: true
|
|
11110
11110
|
}, {
|
|
11111
11111
|
dataIndex: 'goodNo',
|
|
11112
|
-
title: '商品
|
|
11112
|
+
title: '商品SPU编码',
|
|
11113
11113
|
width: 200,
|
|
11114
11114
|
ellipsis: true
|
|
11115
11115
|
}, {
|
|
@@ -11120,17 +11120,17 @@ var columns$1 = [{
|
|
|
11120
11120
|
}, {
|
|
11121
11121
|
dataIndex: 'specCount',
|
|
11122
11122
|
title: '规格数',
|
|
11123
|
-
width:
|
|
11123
|
+
width: 100,
|
|
11124
11124
|
ellipsis: true
|
|
11125
11125
|
}];
|
|
11126
11126
|
var expandedColumns = [{
|
|
11127
11127
|
dataIndex: 'specName',
|
|
11128
|
-
title: '商品
|
|
11128
|
+
title: '商品SKU名称',
|
|
11129
11129
|
width: 200,
|
|
11130
11130
|
ellipsis: true
|
|
11131
11131
|
}, {
|
|
11132
11132
|
dataIndex: 'specNo',
|
|
11133
|
-
title: '商品
|
|
11133
|
+
title: '商品SKU编码',
|
|
11134
11134
|
width: 200,
|
|
11135
11135
|
ellipsis: true
|
|
11136
11136
|
}, {
|
|
@@ -11382,6 +11382,8 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11382
11382
|
var displaySelectedColumns = [{
|
|
11383
11383
|
dataIndex: 'operation',
|
|
11384
11384
|
title: '',
|
|
11385
|
+
ellipsis: true,
|
|
11386
|
+
width: 50,
|
|
11385
11387
|
render: function render(_, record, index) {
|
|
11386
11388
|
return /*#__PURE__*/React__default['default'].createElement(icons.DeleteOutlined, {
|
|
11387
11389
|
onClick: function onClick() {
|
|
@@ -11392,6 +11394,7 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11392
11394
|
}, {
|
|
11393
11395
|
dataIndex: 'index',
|
|
11394
11396
|
title: 'NO',
|
|
11397
|
+
width: 100,
|
|
11395
11398
|
render: function render(val, record, index) {
|
|
11396
11399
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
11397
11400
|
style: {
|
|
@@ -11399,6 +11402,16 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11399
11402
|
}
|
|
11400
11403
|
}, index + 1);
|
|
11401
11404
|
}
|
|
11405
|
+
}, {
|
|
11406
|
+
dataIndex: 'goodName',
|
|
11407
|
+
title: '商品名称',
|
|
11408
|
+
width: 250,
|
|
11409
|
+
ellipsis: true
|
|
11410
|
+
}, {
|
|
11411
|
+
dataIndex: 'goodNo',
|
|
11412
|
+
title: "SPU\u5546\u54C1\u7F16\u7801",
|
|
11413
|
+
ellipsis: true,
|
|
11414
|
+
width: 200
|
|
11402
11415
|
}];
|
|
11403
11416
|
var expandedRowSelection = {
|
|
11404
11417
|
fixed: true,
|
|
@@ -11475,7 +11488,7 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11475
11488
|
})), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
11476
11489
|
name: "code"
|
|
11477
11490
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
11478
|
-
placeholder: "\u5546\
|
|
11491
|
+
placeholder: "\u5546\u54C1SPU\u7F16\u7801",
|
|
11479
11492
|
allowClear: true,
|
|
11480
11493
|
style: {
|
|
11481
11494
|
width: 150
|
|
@@ -11498,7 +11511,7 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11498
11511
|
dataSource: goodList,
|
|
11499
11512
|
loading: loading,
|
|
11500
11513
|
scroll: {
|
|
11501
|
-
x:
|
|
11514
|
+
x: '100%',
|
|
11502
11515
|
y: 250
|
|
11503
11516
|
},
|
|
11504
11517
|
expandable: {
|
|
@@ -11512,13 +11525,17 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11512
11525
|
pageSizeOptions: [],
|
|
11513
11526
|
onChange: pageChange
|
|
11514
11527
|
}
|
|
11515
|
-
})), !!selectList.length && /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Space, null, "\u5DF2\u7ECF\u9009\u62E9\u5546\u54C1\uFF08", selectList.length, "\uFF09"), /*#__PURE__*/React__default['default'].createElement(
|
|
11528
|
+
})), !!selectList.length && /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Space, null, "\u5DF2\u7ECF\u9009\u62E9\u5546\u54C1\uFF08", selectList.length, "\uFF09"), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
11529
|
+
style: {
|
|
11530
|
+
marginTop: '16px'
|
|
11531
|
+
}
|
|
11532
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Table, {
|
|
11516
11533
|
rowKey: 'specId',
|
|
11517
11534
|
columns: [].concat(displaySelectedColumns, expandedColumns),
|
|
11518
11535
|
dataSource: displaySelectList,
|
|
11519
11536
|
pagination: false,
|
|
11520
11537
|
scroll: {
|
|
11521
|
-
x:
|
|
11538
|
+
x: '100%',
|
|
11522
11539
|
y: 250
|
|
11523
11540
|
},
|
|
11524
11541
|
style: {
|
|
@@ -11619,13 +11636,13 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
11619
11636
|
width: 100
|
|
11620
11637
|
}, {
|
|
11621
11638
|
dataIndex: 'specNo',
|
|
11622
|
-
title: "".concat(text, "
|
|
11639
|
+
title: "".concat(text, "SKU\u7F16\u7801"),
|
|
11623
11640
|
align: 'center',
|
|
11624
11641
|
ellipsis: true,
|
|
11625
11642
|
width: 180
|
|
11626
11643
|
}, {
|
|
11627
11644
|
dataIndex: 'specName',
|
|
11628
|
-
title: "".concat(text, "
|
|
11645
|
+
title: "".concat(text, "SKU\u540D\u79F0"),
|
|
11629
11646
|
align: 'center',
|
|
11630
11647
|
ellipsis: true,
|
|
11631
11648
|
width: 250
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.24.2-beta.
|
|
3
|
+
"version": "0.24.2-beta.4",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "ca851ca3d887a798a4d9c03442454cdc865c2b38"
|
|
68
68
|
}
|