@kmkf-fe-packages/basic-components 2.8.0-rc.0 → 2.9.0-rc.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.
package/dist/index.esm.js CHANGED
@@ -8152,7 +8152,7 @@ var SubForm = function SubForm(props) {
8152
8152
  title: '序号',
8153
8153
  width: 50,
8154
8154
  render: function render(val, record, index) {
8155
- return /*#__PURE__*/React.createElement(HoverTableRowDeleteIcon, {
8155
+ return disabled ? /*#__PURE__*/React.createElement("div", null, index + 1) : /*#__PURE__*/React.createElement(HoverTableRowDeleteIcon, {
8156
8156
  index: index,
8157
8157
  hoveredRowIndex: hoveredRowIndex,
8158
8158
  handleClick: function handleClick() {
@@ -19576,7 +19576,7 @@ var OrderSubForm = function OrderSubForm(props) {
19576
19576
  width: 80,
19577
19577
  ellipsis: true,
19578
19578
  render: function render(val, record, index) {
19579
- return /*#__PURE__*/React.createElement(HoverTableRowDeleteIcon, {
19579
+ return disabled ? /*#__PURE__*/React.createElement("div", null, index + 1) : /*#__PURE__*/React.createElement(HoverTableRowDeleteIcon, {
19580
19580
  index: index,
19581
19581
  hoveredRowIndex: hoveredRowIndex,
19582
19582
  handleClick: function handleClick() {
@@ -19639,8 +19639,7 @@ var OrderSubForm = function OrderSubForm(props) {
19639
19639
  });
19640
19640
  }
19641
19641
  return list;
19642
- }, [newTableHeader, disabled, updateHandle]);
19643
- console.log('column', column);
19642
+ }, [newTableHeader, disabled, updateHandle, hoveredRowIndex]);
19644
19643
  var orderModalColumns = useMemo(function () {
19645
19644
  return [{
19646
19645
  dataIndex: '',
package/dist/index.js CHANGED
@@ -8164,7 +8164,7 @@ var SubForm = function SubForm(props) {
8164
8164
  title: '序号',
8165
8165
  width: 50,
8166
8166
  render: function render(val, record, index) {
8167
- return /*#__PURE__*/React__default['default'].createElement(HoverTableRowDeleteIcon, {
8167
+ return disabled ? /*#__PURE__*/React__default['default'].createElement("div", null, index + 1) : /*#__PURE__*/React__default['default'].createElement(HoverTableRowDeleteIcon, {
8168
8168
  index: index,
8169
8169
  hoveredRowIndex: hoveredRowIndex,
8170
8170
  handleClick: function handleClick() {
@@ -19588,7 +19588,7 @@ var OrderSubForm = function OrderSubForm(props) {
19588
19588
  width: 80,
19589
19589
  ellipsis: true,
19590
19590
  render: function render(val, record, index) {
19591
- return /*#__PURE__*/React__default['default'].createElement(HoverTableRowDeleteIcon, {
19591
+ return disabled ? /*#__PURE__*/React__default['default'].createElement("div", null, index + 1) : /*#__PURE__*/React__default['default'].createElement(HoverTableRowDeleteIcon, {
19592
19592
  index: index,
19593
19593
  hoveredRowIndex: hoveredRowIndex,
19594
19594
  handleClick: function handleClick() {
@@ -19651,8 +19651,7 @@ var OrderSubForm = function OrderSubForm(props) {
19651
19651
  });
19652
19652
  }
19653
19653
  return list;
19654
- }, [newTableHeader, disabled, updateHandle]);
19655
- console.log('column', column);
19654
+ }, [newTableHeader, disabled, updateHandle, hoveredRowIndex]);
19656
19655
  var orderModalColumns = React.useMemo(function () {
19657
19656
  return [{
19658
19657
  dataIndex: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.8.0-rc.0",
3
+ "version": "2.9.0-rc.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": "2.8.0-rc.0",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.9.0-rc.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": "d934929b6c784f46f6b225ec37528c9d18b155ad"
68
+ "gitHead": "b42dfb960ac3f140a6668c37243674aa5b4b444b"
69
69
  }