ronds-metadata 1.1.38 → 1.1.40

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,7 +6,7 @@ import _Input from "antd/es/input";
6
6
  /*
7
7
  * @Author: wangxian
8
8
  * @Date: 2022-03-04 14:53:50
9
- * @LastEditTime: 2022-07-07 08:45:08
9
+ * @LastEditTime: 2022-09-29 16:44:57
10
10
  */
11
11
  import React from 'react';
12
12
  import { EditableContext } from '../interface';
@@ -6,7 +6,7 @@ import _Input from "antd/es/input";
6
6
  /*
7
7
  * @Author: wangxian
8
8
  * @Date: 2022-03-04 14:53:50
9
- * @LastEditTime: 2022-05-12 11:06:36
9
+ * @LastEditTime: 2022-09-29 16:44:52
10
10
  */
11
11
  import React from 'react';
12
12
  import { EditableContext } from '../interface';
@@ -6,7 +6,7 @@ import _InputNumber from "antd/es/input-number";
6
6
  /*
7
7
  * @Author: wangxian
8
8
  * @Date: 2022-03-04 14:53:50
9
- * @LastEditTime: 2022-03-08 17:26:48
9
+ * @LastEditTime: 2022-09-29 16:44:49
10
10
  */
11
11
  import React from 'react';
12
12
  import { EditableContext } from '../interface';
@@ -8,7 +8,7 @@ var _excluded = ["dataIndex", "mode", "disabled"];
8
8
  /*
9
9
  * @Author: wangxian
10
10
  * @Date: 2022-03-04 14:53:50
11
- * @LastEditTime: 2022-09-27 10:10:04
11
+ * @LastEditTime: 2022-09-29 16:44:46
12
12
  */
13
13
  import React from 'react';
14
14
  import { EditableContext } from '../interface';
@@ -30,7 +30,6 @@ function Index(props) {
30
30
  }, /*#__PURE__*/React.createElement(_Select, {
31
31
  disabled: editConfig.type === 'edit' ? disabled : false,
32
32
  mode: mode || undefined,
33
- size: "small",
34
33
  showSearch: true,
35
34
  filterOption: function filterOption(input, option) {
36
35
  var _option$label;
@@ -44,6 +43,7 @@ function Index(props) {
44
43
  style: {
45
44
  width: '100%'
46
45
  },
46
+ size: "small",
47
47
  options: restProps.enum
48
48
  }));
49
49
  }
@@ -6,7 +6,7 @@ import _Switch from "antd/es/switch";
6
6
  /*
7
7
  * @Author: wangxian
8
8
  * @Date: 2022-03-04 14:53:50
9
- * @LastEditTime: 2022-05-12 11:07:09
9
+ * @LastEditTime: 2022-09-29 16:44:43
10
10
  */
11
11
  import React from 'react';
12
12
  import { EditableContext } from '../interface';
@@ -51,9 +51,10 @@ var EditableRow = function EditableRow(props) {
51
51
  onValuesChange: onValuesChange,
52
52
  component: false
53
53
  }, /*#__PURE__*/React.createElement("tr", _extends({}, props, {
54
- className: "".concat(index % 2 === 0 || props['data-row-key'] ? 'ant-table-row--even' : 'ant-table-row--odd', " ").concat(className, " "),
54
+ className: "".concat(index % 2 === 0 ? 'ant-table-row--even' : 'ant-table-row--odd', " ").concat(className, " "),
55
55
  style: {
56
- height: '30px'
56
+ height: '30px',
57
+ fontSize: '13px'
57
58
  },
58
59
  onClick: onRowClick
59
60
  }))));
@@ -9,7 +9,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
9
9
  /*
10
10
  * @Author: wangxian
11
11
  * @Date: 2021-09-18 14:15:04
12
- * @LastEditTime: 2022-09-08 10:41:51
12
+ * @LastEditTime: 2022-09-29 16:39:18
13
13
  */
14
14
  import React from 'react';
15
15
  import Input from './DataCell/Input';
@@ -78,12 +78,12 @@ export function renderForm(schemaRef, options, stream$) {
78
78
 
79
79
  for (var i = 0; i < _properties.length; i++) {
80
80
  _form.push( /*#__PURE__*/React.createElement(_Col, {
81
- span: 8
81
+ span: 24
82
82
  }, getDataCell(_properties[i], options)));
83
83
  }
84
84
 
85
85
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Row, {
86
- gutter: 24
86
+ gutter: 16
87
87
  }, _form));
88
88
  }
89
89
  export function getLabelByProps(data) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.1.38",
4
+ "version": "1.1.40",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",