easy3wui 1.5.77-beta2 → 1.5.78
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/README.md +10 -1
- package/assets/formPage.css +17 -9
- package/assets/index.css +17 -9
- package/lib/Easy3wFormPage/indexM.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,4 +6,13 @@ npm run compile
|
|
|
6
6
|
npm publish
|
|
7
7
|
|
|
8
8
|
react-data-grid使用6.0.1版本对应的react@16
|
|
9
|
-
7版本未形成稳定版本,暂时使用6.0.1版本;对应的react@18+版本
|
|
9
|
+
7版本未形成稳定版本,暂时使用6.0.1版本;对应的react@18+版本
|
|
10
|
+
https://www.npmjs.com/
|
|
11
|
+
登录npm
|
|
12
|
+
在终端输入npm login ,在登录前一定要将npm源设置为官方源
|
|
13
|
+
// 官方镜像源
|
|
14
|
+
npm config set registry https://registry.npmjs.org/
|
|
15
|
+
// 淘宝镜像源
|
|
16
|
+
npm config set registry https://registry.npmmirror.com/
|
|
17
|
+
检查当前npm源:
|
|
18
|
+
npm config get registry
|
package/assets/formPage.css
CHANGED
|
@@ -141,15 +141,25 @@ input.ant-input-number-input {
|
|
|
141
141
|
@media (max-width: 768px) {
|
|
142
142
|
:global .ant-form-item-label {
|
|
143
143
|
padding: 0;
|
|
144
|
-
height:
|
|
145
|
-
line-height:
|
|
144
|
+
height: auto;
|
|
145
|
+
line-height: 20px;
|
|
146
146
|
text-align: right;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
white-space: wrap;
|
|
148
|
+
overflow: visible;
|
|
149
|
+
}
|
|
150
|
+
:global .ant-form-item-label .ant-badge {
|
|
151
|
+
display: none;
|
|
152
|
+
}
|
|
153
|
+
:global .ant-form-item-label label {
|
|
154
|
+
display: inline-block;
|
|
155
|
+
width: 80%;
|
|
156
|
+
}
|
|
157
|
+
:global .ant-form-item-label::after {
|
|
158
|
+
content: ":";
|
|
159
|
+
color: rgba(0, 0, 0, 0.75);
|
|
150
160
|
}
|
|
151
161
|
:global .ant-form-item-control {
|
|
152
|
-
line-height:
|
|
162
|
+
line-height: 20px;
|
|
153
163
|
white-space: wrap;
|
|
154
164
|
color: black;
|
|
155
165
|
}
|
|
@@ -157,9 +167,6 @@ input.ant-input-number-input {
|
|
|
157
167
|
:global .ant-form-item-control-wrapper {
|
|
158
168
|
width: unset;
|
|
159
169
|
}
|
|
160
|
-
:global .ant-form-item-label::after {
|
|
161
|
-
content: ":";
|
|
162
|
-
}
|
|
163
170
|
:global .ant-col-6 {
|
|
164
171
|
width: 25% !important;
|
|
165
172
|
}
|
|
@@ -171,6 +178,7 @@ input.ant-input-number-input {
|
|
|
171
178
|
}
|
|
172
179
|
:global .ant-form-item {
|
|
173
180
|
font-size: 12px !important;
|
|
181
|
+
margin-bottom: 12px !important;
|
|
174
182
|
}
|
|
175
183
|
:global .ant-radio-wrapper {
|
|
176
184
|
font-size: 12px !important;
|
package/assets/index.css
CHANGED
|
@@ -2549,15 +2549,25 @@ input.ant-input-number-input {
|
|
|
2549
2549
|
@media (max-width: 768px) {
|
|
2550
2550
|
:global .ant-form-item-label {
|
|
2551
2551
|
padding: 0;
|
|
2552
|
-
height:
|
|
2553
|
-
line-height:
|
|
2552
|
+
height: auto;
|
|
2553
|
+
line-height: 20px;
|
|
2554
2554
|
text-align: right;
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2555
|
+
white-space: wrap;
|
|
2556
|
+
overflow: visible;
|
|
2557
|
+
}
|
|
2558
|
+
:global .ant-form-item-label .ant-badge {
|
|
2559
|
+
display: none;
|
|
2560
|
+
}
|
|
2561
|
+
:global .ant-form-item-label label {
|
|
2562
|
+
display: inline-block;
|
|
2563
|
+
width: 80%;
|
|
2564
|
+
}
|
|
2565
|
+
:global .ant-form-item-label::after {
|
|
2566
|
+
content: ":";
|
|
2567
|
+
color: rgba(0, 0, 0, 0.75);
|
|
2558
2568
|
}
|
|
2559
2569
|
:global .ant-form-item-control {
|
|
2560
|
-
line-height:
|
|
2570
|
+
line-height: 20px;
|
|
2561
2571
|
white-space: wrap;
|
|
2562
2572
|
color: black;
|
|
2563
2573
|
}
|
|
@@ -2565,9 +2575,6 @@ input.ant-input-number-input {
|
|
|
2565
2575
|
:global .ant-form-item-control-wrapper {
|
|
2566
2576
|
width: unset;
|
|
2567
2577
|
}
|
|
2568
|
-
:global .ant-form-item-label::after {
|
|
2569
|
-
content: ":";
|
|
2570
|
-
}
|
|
2571
2578
|
:global .ant-col-6 {
|
|
2572
2579
|
width: 25% !important;
|
|
2573
2580
|
}
|
|
@@ -2579,6 +2586,7 @@ input.ant-input-number-input {
|
|
|
2579
2586
|
}
|
|
2580
2587
|
:global .ant-form-item {
|
|
2581
2588
|
font-size: 12px !important;
|
|
2589
|
+
margin-bottom: 12px !important;
|
|
2582
2590
|
}
|
|
2583
2591
|
:global .ant-radio-wrapper {
|
|
2584
2592
|
font-size: 12px !important;
|
|
@@ -433,16 +433,16 @@ var Easy3wFormPageM = exports.Easy3wFormPageM = function (_Component) {
|
|
|
433
433
|
var newRowItems = [];
|
|
434
434
|
for (var i = 0; i < finalList.length; i++) {
|
|
435
435
|
var item = finalList[i];
|
|
436
|
-
if (!arrNoRowType.includes(item.fieldType)) {
|
|
436
|
+
if (!arrNoRowType.includes(item.fieldType) || item && item.value && typeof item.value !== 'string') {
|
|
437
437
|
newRowItems.push({ cols: [item] });
|
|
438
438
|
continue;
|
|
439
439
|
}
|
|
440
|
-
if (item && item.value && item.value.replace(/[^\x00-\xff]/g, 'xx').length >
|
|
440
|
+
if (item && item.value && item.value.replace(/[^\x00-\xff]/g, 'xx').length > 12) {
|
|
441
441
|
newRowItems.push({ cols: [item] });
|
|
442
442
|
continue;
|
|
443
443
|
}
|
|
444
444
|
var next = finalList[i + 1];
|
|
445
|
-
if (next && arrNoRowType.includes(next.fieldType) && next && next.value && typeof next.value === 'string' && next.value.replace(/[^\x00-\xff]/g, 'xx').length <=
|
|
445
|
+
if (next && arrNoRowType.includes(next.fieldType) && next && next.value && typeof next.value === 'string' && next.value.replace(/[^\x00-\xff]/g, 'xx').length <= 12) {
|
|
446
446
|
newRowItems.push({ cols: [item, next] });
|
|
447
447
|
i++; // 跳过下一项,避免重复
|
|
448
448
|
} else {
|
|
@@ -2482,7 +2482,7 @@ var Easy3wFormPageTightM = exports.Easy3wFormPageTightM = function (_Component2)
|
|
|
2482
2482
|
var newRowItems = [];
|
|
2483
2483
|
for (var i = 0; i < finalList.length; i++) {
|
|
2484
2484
|
var item = finalList[i];
|
|
2485
|
-
if (!arrNoRowType.includes(item.fieldType)) {
|
|
2485
|
+
if (!arrNoRowType.includes(item.fieldType) || item && item.value && typeof item.value !== 'string') {
|
|
2486
2486
|
newRowItems.push({ cols: [item] });
|
|
2487
2487
|
continue;
|
|
2488
2488
|
}
|