easy3wui 1.4.242 → 1.4.246
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/assets/formPage.css +14 -2
- package/assets/index.css +14 -2
- package/lib/Easy3wFormPage/index.js +9 -6
- package/package.json +1 -1
package/assets/formPage.css
CHANGED
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
margin: 12px;
|
|
14
14
|
}
|
|
15
15
|
.e3wFormPageNoBorder > div > .ant-row {
|
|
16
|
-
|
|
16
|
+
padding: 3px;
|
|
17
|
+
}
|
|
18
|
+
.e3wFormPageNoBorder > div > .ant-row .ant-btn {
|
|
19
|
+
height: 24px;
|
|
17
20
|
}
|
|
18
21
|
.e3wFormPage {
|
|
19
22
|
border-top: 1px solid #e8e8e8;
|
|
@@ -22,7 +25,7 @@
|
|
|
22
25
|
margin: 12px;
|
|
23
26
|
}
|
|
24
27
|
.e3wFormPage > div > .ant-row {
|
|
25
|
-
|
|
28
|
+
padding: 3px;
|
|
26
29
|
border-bottom: 1px solid #e8e8e8;
|
|
27
30
|
}
|
|
28
31
|
.e3wFormPage > div > .ant-row .ant-btn {
|
|
@@ -31,6 +34,9 @@
|
|
|
31
34
|
.e3wFormItem .ant-form-item {
|
|
32
35
|
margin-bottom: 8px;
|
|
33
36
|
}
|
|
37
|
+
.formContent:not(:first-child) {
|
|
38
|
+
padding-left: 3px;
|
|
39
|
+
}
|
|
34
40
|
.formContent :global .ant-input-group-wrapper {
|
|
35
41
|
vertical-align: middle;
|
|
36
42
|
}
|
|
@@ -46,6 +52,12 @@
|
|
|
46
52
|
.formContent :global .ant-form-item-label {
|
|
47
53
|
padding-left: 12px;
|
|
48
54
|
}
|
|
55
|
+
.formContentAlone:not(:first-child) {
|
|
56
|
+
padding-left: 3px;
|
|
57
|
+
}
|
|
58
|
+
.formContentAlone:not(:first-child) {
|
|
59
|
+
padding-left: 3px;
|
|
60
|
+
}
|
|
49
61
|
.formContentAlone :global .ant-input-group-wrapper {
|
|
50
62
|
vertical-align: middle;
|
|
51
63
|
}
|
package/assets/index.css
CHANGED
|
@@ -1546,7 +1546,10 @@ s {
|
|
|
1546
1546
|
margin: 12px;
|
|
1547
1547
|
}
|
|
1548
1548
|
.e3wFormPageNoBorder > div > .ant-row {
|
|
1549
|
-
|
|
1549
|
+
padding: 3px;
|
|
1550
|
+
}
|
|
1551
|
+
.e3wFormPageNoBorder > div > .ant-row .ant-btn {
|
|
1552
|
+
height: 24px;
|
|
1550
1553
|
}
|
|
1551
1554
|
.e3wFormPage {
|
|
1552
1555
|
border-top: 1px solid #e8e8e8;
|
|
@@ -1555,7 +1558,7 @@ s {
|
|
|
1555
1558
|
margin: 12px;
|
|
1556
1559
|
}
|
|
1557
1560
|
.e3wFormPage > div > .ant-row {
|
|
1558
|
-
|
|
1561
|
+
padding: 3px;
|
|
1559
1562
|
border-bottom: 1px solid #e8e8e8;
|
|
1560
1563
|
}
|
|
1561
1564
|
.e3wFormPage > div > .ant-row .ant-btn {
|
|
@@ -1564,6 +1567,9 @@ s {
|
|
|
1564
1567
|
.e3wFormItem .ant-form-item {
|
|
1565
1568
|
margin-bottom: 8px;
|
|
1566
1569
|
}
|
|
1570
|
+
.formContent:not(:first-child) {
|
|
1571
|
+
padding-left: 3px;
|
|
1572
|
+
}
|
|
1567
1573
|
.formContent :global .ant-input-group-wrapper {
|
|
1568
1574
|
vertical-align: middle;
|
|
1569
1575
|
}
|
|
@@ -1579,6 +1585,12 @@ s {
|
|
|
1579
1585
|
.formContent :global .ant-form-item-label {
|
|
1580
1586
|
padding-left: 12px;
|
|
1581
1587
|
}
|
|
1588
|
+
.formContentAlone:not(:first-child) {
|
|
1589
|
+
padding-left: 3px;
|
|
1590
|
+
}
|
|
1591
|
+
.formContentAlone:not(:first-child) {
|
|
1592
|
+
padding-left: 3px;
|
|
1593
|
+
}
|
|
1582
1594
|
.formContentAlone :global .ant-input-group-wrapper {
|
|
1583
1595
|
vertical-align: middle;
|
|
1584
1596
|
}
|
|
@@ -223,7 +223,7 @@ var singleItem = {
|
|
|
223
223
|
};
|
|
224
224
|
var mixSingle = {
|
|
225
225
|
labelCol: { span: 4 },
|
|
226
|
-
wrapperCol: { span:
|
|
226
|
+
wrapperCol: { span: 20 }
|
|
227
227
|
};
|
|
228
228
|
var mixSingleWithBtn = {
|
|
229
229
|
labelCol: { span: 4 },
|
|
@@ -563,7 +563,7 @@ var Easy3wFormPage = function (_Component) {
|
|
|
563
563
|
})(_react2['default'].createElement(_input2['default'], { type: 'hidden', size: 'small' })),
|
|
564
564
|
_react2['default'].createElement(
|
|
565
565
|
'pre',
|
|
566
|
-
{ style: { marginBottom: '0px' } },
|
|
566
|
+
{ style: { marginBottom: '0px', 'white-space': 'break-spaces' } },
|
|
567
567
|
itemValue
|
|
568
568
|
),
|
|
569
569
|
afterBtns
|
|
@@ -830,9 +830,9 @@ var Easy3wFormPage = function (_Component) {
|
|
|
830
830
|
}
|
|
831
831
|
if (mixColFlag) {
|
|
832
832
|
if (colsLength === 1) {
|
|
833
|
-
col1Layout =
|
|
833
|
+
col1Layout = mixSingle;
|
|
834
834
|
if (rowAftBtnFlag) {
|
|
835
|
-
col1Layout =
|
|
835
|
+
col1Layout = mixSingleWithBtn;
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
838
|
if (colsLength === 2) {
|
|
@@ -1279,6 +1279,9 @@ var Easy3wFormPage = function (_Component) {
|
|
|
1279
1279
|
value = item.value;
|
|
1280
1280
|
var cmptPros = item.cmptPros;
|
|
1281
1281
|
|
|
1282
|
+
cmptPros = (0, _extends3['default'])({}, cmptPros, {
|
|
1283
|
+
rows: cmptPros.rows || 2
|
|
1284
|
+
});
|
|
1282
1285
|
var maxlength = void 0;
|
|
1283
1286
|
if (!cmptPros || cmptPros && !cmptPros.rows) {
|
|
1284
1287
|
cmptPros = (0, _extends3['default'])({}, cmptPros, { autosize: true });
|
|
@@ -1291,12 +1294,12 @@ var Easy3wFormPage = function (_Component) {
|
|
|
1291
1294
|
return _react2['default'].createElement(
|
|
1292
1295
|
'div',
|
|
1293
1296
|
{ className: (0, _classnames2['default'])(['countContent']), 'data-count': _this.state.leftCount + '/' + maxCount },
|
|
1294
|
-
_react2['default'].createElement(TextArea, (0, _extends3['default'])({ style: {
|
|
1297
|
+
_react2['default'].createElement(TextArea, (0, _extends3['default'])({ style: { padding: '0 11px', lineHeight: '24px' }, onChange: function onChange(e) {
|
|
1295
1298
|
return _this.textAreaOnchange(e, maxlength);
|
|
1296
1299
|
} }, cmptPros))
|
|
1297
1300
|
);
|
|
1298
1301
|
} else {
|
|
1299
|
-
return _react2['default'].createElement(TextArea, (0, _extends3['default'])({ style: {
|
|
1302
|
+
return _react2['default'].createElement(TextArea, (0, _extends3['default'])({ style: { padding: '0 11px', lineHeight: '24px' }, onChange: function onChange(e) {
|
|
1300
1303
|
return _this.textAreaOnchange(e, maxlength);
|
|
1301
1304
|
} }, cmptPros));
|
|
1302
1305
|
}
|