easy3wui 1.4.243 → 1.4.247
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 +9 -0
- package/assets/index.css +9 -0
- package/lib/Easy3wFormPage/index.js +7 -3
- package/package.json +1 -1
package/assets/formPage.css
CHANGED
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
.e3wFormItem .ant-form-item {
|
|
35
35
|
margin-bottom: 8px;
|
|
36
36
|
}
|
|
37
|
+
.formContent:not(:first-child) {
|
|
38
|
+
padding-left: 3px;
|
|
39
|
+
}
|
|
37
40
|
.formContent :global .ant-input-group-wrapper {
|
|
38
41
|
vertical-align: middle;
|
|
39
42
|
}
|
|
@@ -49,6 +52,12 @@
|
|
|
49
52
|
.formContent :global .ant-form-item-label {
|
|
50
53
|
padding-left: 12px;
|
|
51
54
|
}
|
|
55
|
+
.formContentAlone:not(:first-child) {
|
|
56
|
+
padding-left: 3px;
|
|
57
|
+
}
|
|
58
|
+
.formContentAlone:not(:first-child) {
|
|
59
|
+
padding-left: 3px;
|
|
60
|
+
}
|
|
52
61
|
.formContentAlone :global .ant-input-group-wrapper {
|
|
53
62
|
vertical-align: middle;
|
|
54
63
|
}
|
package/assets/index.css
CHANGED
|
@@ -1567,6 +1567,9 @@ s {
|
|
|
1567
1567
|
.e3wFormItem .ant-form-item {
|
|
1568
1568
|
margin-bottom: 8px;
|
|
1569
1569
|
}
|
|
1570
|
+
.formContent:not(:first-child) {
|
|
1571
|
+
padding-left: 3px;
|
|
1572
|
+
}
|
|
1570
1573
|
.formContent :global .ant-input-group-wrapper {
|
|
1571
1574
|
vertical-align: middle;
|
|
1572
1575
|
}
|
|
@@ -1582,6 +1585,12 @@ s {
|
|
|
1582
1585
|
.formContent :global .ant-form-item-label {
|
|
1583
1586
|
padding-left: 12px;
|
|
1584
1587
|
}
|
|
1588
|
+
.formContentAlone:not(:first-child) {
|
|
1589
|
+
padding-left: 3px;
|
|
1590
|
+
}
|
|
1591
|
+
.formContentAlone:not(:first-child) {
|
|
1592
|
+
padding-left: 3px;
|
|
1593
|
+
}
|
|
1585
1594
|
.formContentAlone :global .ant-input-group-wrapper {
|
|
1586
1595
|
vertical-align: middle;
|
|
1587
1596
|
}
|
|
@@ -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
|
|
@@ -1279,6 +1279,10 @@ var Easy3wFormPage = function (_Component) {
|
|
|
1279
1279
|
value = item.value;
|
|
1280
1280
|
var cmptPros = item.cmptPros;
|
|
1281
1281
|
|
|
1282
|
+
var cmptProsNew = cmptPros || {};
|
|
1283
|
+
cmptPros = (0, _extends3['default'])({}, cmptPros, {
|
|
1284
|
+
rows: cmptProsNew.rows || 2
|
|
1285
|
+
});
|
|
1282
1286
|
var maxlength = void 0;
|
|
1283
1287
|
if (!cmptPros || cmptPros && !cmptPros.rows) {
|
|
1284
1288
|
cmptPros = (0, _extends3['default'])({}, cmptPros, { autosize: true });
|
|
@@ -1291,12 +1295,12 @@ var Easy3wFormPage = function (_Component) {
|
|
|
1291
1295
|
return _react2['default'].createElement(
|
|
1292
1296
|
'div',
|
|
1293
1297
|
{ className: (0, _classnames2['default'])(['countContent']), 'data-count': _this.state.leftCount + '/' + maxCount },
|
|
1294
|
-
_react2['default'].createElement(TextArea, (0, _extends3['default'])({ style: {
|
|
1298
|
+
_react2['default'].createElement(TextArea, (0, _extends3['default'])({ style: { padding: '0 11px', lineHeight: '24px' }, onChange: function onChange(e) {
|
|
1295
1299
|
return _this.textAreaOnchange(e, maxlength);
|
|
1296
1300
|
} }, cmptPros))
|
|
1297
1301
|
);
|
|
1298
1302
|
} else {
|
|
1299
|
-
return _react2['default'].createElement(TextArea, (0, _extends3['default'])({ style: {
|
|
1303
|
+
return _react2['default'].createElement(TextArea, (0, _extends3['default'])({ style: { padding: '0 11px', lineHeight: '24px' }, onChange: function onChange(e) {
|
|
1300
1304
|
return _this.textAreaOnchange(e, maxlength);
|
|
1301
1305
|
} }, cmptPros));
|
|
1302
1306
|
}
|