tntd 1.3.60 → 1.3.62

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.
@@ -81,7 +81,7 @@ const AppContent = props => {
81
81
  ).map(({ appKey: key }) => (
82
82
  <AppItem
83
83
  key={key}
84
- className={cn({ active: appKey === key})}
84
+ className={cn({ active: appKey === key })}
85
85
  onClick={changeApp.bind(this, key)}
86
86
  >
87
87
  <img
@@ -1,3 +1,4 @@
1
+ import { PureComponent } from 'react';
1
2
  import { Form } from 'antd';
2
3
  import { get } from 'lodash';
3
4
  import fieldsMap, { getFieldWidth } from './fieldsMap';
@@ -6,7 +7,7 @@ const FormItem = Form.Item;
6
7
 
7
8
  const isInput = type => ['input', 'string', 'search'].includes(type);
8
9
 
9
- export default class Field extends React.PureComponent {
10
+ export default class Field extends PureComponent {
10
11
  constructor(props) {
11
12
  super(props);
12
13
 
@@ -9,6 +9,8 @@ require("antd/es/form/style");
9
9
 
10
10
  var _form = _interopRequireDefault(require("antd/es/form"));
11
11
 
12
+ var _react = require("react");
13
+
12
14
  var _lodash = require("lodash");
13
15
 
14
16
  var _fieldsMap = _interopRequireWildcard(require("./fieldsMap"));
@@ -53,8 +55,8 @@ var isInput = function isInput(type) {
53
55
 
54
56
  var Field =
55
57
  /*#__PURE__*/
56
- function (_React$PureComponent) {
57
- _inherits(Field, _React$PureComponent);
58
+ function (_PureComponent) {
59
+ _inherits(Field, _PureComponent);
58
60
 
59
61
  function Field(props) {
60
62
  var _this;
@@ -167,6 +169,6 @@ function (_React$PureComponent) {
167
169
  }]);
168
170
 
169
171
  return Field;
170
- }(React.PureComponent);
172
+ }(_react.PureComponent);
171
173
 
172
174
  exports["default"] = Field;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tntd",
3
- "version": "1.3.60",
3
+ "version": "1.3.62",
4
4
  "description": "ued tnt design",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -70,4 +70,4 @@
70
70
  "react-resizable": "^1.11.1",
71
71
  "styled-components": "^5.3.0"
72
72
  }
73
- }
73
+ }