easy3wui 1.5.8 → 1.5.11

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.
@@ -1,10 +1,8 @@
1
1
  .ant-upload-list-item {
2
- width: -moz-max-content;
3
- width: max-content;
2
+ width: auto;
4
3
  }
5
4
  .ant-upload-list-item .ant-upload-list-item-info {
6
- width: -moz-max-content;
7
- width: max-content;
5
+ width: auto;
8
6
  }
9
7
  .ant-upload-list-item .anticon-cross {
10
8
  right: -2px;
package/assets/index.css CHANGED
@@ -1380,12 +1380,10 @@ s {
1380
1380
  cursor: pointer;
1381
1381
  }
1382
1382
  .ant-upload-list-item {
1383
- width: -moz-max-content;
1384
- width: max-content;
1383
+ width: auto;
1385
1384
  }
1386
1385
  .ant-upload-list-item .ant-upload-list-item-info {
1387
- width: -moz-max-content;
1388
- width: max-content;
1386
+ width: auto;
1389
1387
  }
1390
1388
  .ant-upload-list-item .anticon-cross {
1391
1389
  right: -2px;
@@ -469,7 +469,7 @@ var Easy3wFormPage = function (_Component) {
469
469
  }
470
470
  }
471
471
  if (fieldType === 'input' || fieldType === 'textarea') {
472
- var maxLength = fieldType === 'textarea' ? 400 : 50;
472
+ var maxLength = fieldType === 'textarea' ? 1000 : 50;
473
473
  if (cmptPros) {
474
474
  if (cmptPros.maxLength) {
475
475
  maxLength = cmptPros.maxLength;
@@ -56,8 +56,10 @@ var Easy3wGridInput = function (_Component) {
56
56
  pattern = _props.pattern,
57
57
  patternMessage = _props.patternMessage;
58
58
  var getFieldDecorator = form.getFieldDecorator;
59
- var maxLength = cmptPros.maxLength,
60
- disabled = cmptPros.disabled;
59
+
60
+ var _ref = cmptPros || {},
61
+ maxLength = _ref.maxLength,
62
+ disabled = _ref.disabled;
61
63
 
62
64
  var rules = [{ required: required, message: requiredMessage || '\u8BF7\u586B\u5199' + label }, { pattern: pattern, message: patternMessage }, { max: maxLength || 50, message: '\u5F55\u5165\u6587\u5B57\u957F\u5EA6\u4E0D\u80FD\u8D85\u8FC7' + (maxLength || 50) }];
63
65
  if (disabled) {
@@ -56,10 +56,12 @@ var Easy3wGridTextArea = function (_Component) {
56
56
  requiredMessage = _props.requiredMessage,
57
57
  label = _props.label;
58
58
  var getFieldDecorator = form.getFieldDecorator;
59
- var maxLength = cmptPros.maxLength,
60
- disabled = cmptPros.disabled;
61
59
 
62
- var rules = [{ required: required, message: requiredMessage || '\u8BF7\u586B\u5199' + label }, { max: maxLength || 50, message: '\u5F55\u5165\u6587\u5B57\u957F\u5EA6\u4E0D\u80FD\u8D85\u8FC7' + (maxLength || 50) }];
60
+ var _ref = cmptPros || {},
61
+ maxLength = _ref.maxLength,
62
+ disabled = _ref.disabled;
63
+
64
+ var rules = [{ required: required, message: requiredMessage || '\u8BF7\u586B\u5199' + label }, { max: maxLength || 1000, message: '\u5F55\u5165\u6587\u5B57\u957F\u5EA6\u4E0D\u80FD\u8D85\u8FC7' + (maxLength || 1000) }];
63
65
  if (disabled) {
64
66
  rules.pop();
65
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.5.8",
3
+ "version": "1.5.11",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",