@steedos-widgets/amis-object 1.2.43 → 1.3.0-beta.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.
- package/dist/amis-object.cjs.css +67 -16
- package/dist/amis-object.cjs.js +221 -169
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +67 -16
- package/dist/amis-object.esm.js +221 -169
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +67 -16
- package/dist/amis-object.umd.js +780 -19557
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +16 -16
- package/package.json +3 -3
package/dist/amis-object.cjs.css
CHANGED
|
@@ -45,6 +45,8 @@
|
|
|
45
45
|
--Nav-Item-maxWidth--tabs: 200px;
|
|
46
46
|
--Crud-toolbar-gap: 2px;
|
|
47
47
|
--DropDown-caret-marginLeft: 0;
|
|
48
|
+
--Tabs--vertical-width: 180px;
|
|
49
|
+
--Tabs-link-maxWidth: 180px;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
.steedos-header-container .antd-Nav-Menu {
|
|
@@ -264,6 +266,19 @@ fieldset.antd-Collapse > legend{
|
|
|
264
266
|
top: unset
|
|
265
267
|
}
|
|
266
268
|
|
|
269
|
+
/*
|
|
270
|
+
.antd-Crud-toolbar .antd-Crud-toolbar-item中每个.antd-Button--size-default 使用了变量 var(--button-size-default-marginRight) 右侧会有margin,
|
|
271
|
+
移除最后一个(按元素的所在位置其实是每一个,因为有float right所以界面上显示的是最后一个)按钮的右侧margin来实现整行左右边距对齐
|
|
272
|
+
*/
|
|
273
|
+
.antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item.antd-Crud-toolbar-item--right:not(.antd-Crud-toolbar-item.antd-Crud-toolbar-item--right + .antd-Crud-toolbar-item.antd-Crud-toolbar-item--right) .antd-Button{
|
|
274
|
+
margin-right: 0;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* crud中的顶部选中项未垂直居中 */
|
|
278
|
+
.antd-Crud .antd-Crud-selection{
|
|
279
|
+
margin-bottom: var(--gap-xs);
|
|
280
|
+
}
|
|
281
|
+
|
|
267
282
|
.ant-dropdown-menu {
|
|
268
283
|
border: 1px solid #e5e5e5;
|
|
269
284
|
border-radius: 0.25rem;
|
|
@@ -398,6 +413,9 @@ fieldset.antd-Collapse > legend{
|
|
|
398
413
|
margin-top: 0.5rem;
|
|
399
414
|
margin-bottom: 0.5rem
|
|
400
415
|
}
|
|
416
|
+
.mr-0 {
|
|
417
|
+
margin-right: 0px
|
|
418
|
+
}
|
|
401
419
|
.mb-3 {
|
|
402
420
|
margin-bottom: 0.75rem
|
|
403
421
|
}
|
|
@@ -1187,11 +1205,40 @@ fieldset.antd-Collapse > legend{
|
|
|
1187
1205
|
.steedos-select-user .antd-Table .antd-SearchBox {
|
|
1188
1206
|
margin-top: 0;
|
|
1189
1207
|
}
|
|
1190
|
-
@media (max-width:
|
|
1208
|
+
@media (max-width: 768px) {
|
|
1191
1209
|
.antd-Crud-toolbar {
|
|
1192
1210
|
flex-basis: 0;
|
|
1193
1211
|
flex-grow: 1;
|
|
1194
1212
|
}
|
|
1213
|
+
.steedos-object-table .antd-Table-footToolbar {
|
|
1214
|
+
border-top: 1px solid #e5e7eb;
|
|
1215
|
+
}
|
|
1216
|
+
.steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item {
|
|
1217
|
+
justify-content: center;
|
|
1218
|
+
width: 100%;
|
|
1219
|
+
}
|
|
1220
|
+
.steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item .antd-Pagination-inputGroup-left {
|
|
1221
|
+
display: none;
|
|
1222
|
+
}
|
|
1223
|
+
.steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item .antd-Pagination-inputGroup-input {
|
|
1224
|
+
min-width: 0;
|
|
1225
|
+
width: 30px;
|
|
1226
|
+
}
|
|
1227
|
+
.steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item .antd-Pagination-inputGroup-right {
|
|
1228
|
+
width: 25px;
|
|
1229
|
+
}
|
|
1230
|
+
body.zoom-large .steedos-object-table .antd-Table-footToolbar {
|
|
1231
|
+
zoom: 90%;
|
|
1232
|
+
}
|
|
1233
|
+
body.zoom-extra-large .steedos-object-table .antd-Table-footToolbar {
|
|
1234
|
+
zoom: 80%;
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
/* 手机屏幕宽度小于380px时隐藏分页器快速跳转*/
|
|
1238
|
+
@media (max-width: 380px) {
|
|
1239
|
+
.steedos-object-table .antd-Table-footToolbar .antd-Pagination-inputGroup {
|
|
1240
|
+
display: none;
|
|
1241
|
+
}
|
|
1195
1242
|
}
|
|
1196
1243
|
.steedos-object-table .two-lines-truncate {
|
|
1197
1244
|
white-space: pre-wrap;
|
|
@@ -1372,35 +1419,45 @@ fieldset.antd-Collapse > legend{
|
|
|
1372
1419
|
/*
|
|
1373
1420
|
列表快速搜索,手机端及PC端分栏模式需要独占一行
|
|
1374
1421
|
*/
|
|
1375
|
-
.steedos-crud-mobile-search-box .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1422
|
+
.steedos-crud-mobile-search-box .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1376
1423
|
width: 100%;
|
|
1377
1424
|
margin-top: 8px;
|
|
1378
1425
|
}
|
|
1379
|
-
.steedos-crud-mobile-search-box .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1426
|
+
.steedos-crud-mobile-search-box .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1380
1427
|
width: 100%;
|
|
1381
1428
|
}
|
|
1382
|
-
.steedos-crud-mobile-search-box .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
|
|
1429
|
+
.steedos-crud-mobile-search-box .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
|
|
1383
1430
|
width: 100%;
|
|
1384
1431
|
}
|
|
1385
|
-
.page-list-split .steedos-object-listview .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1432
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1386
1433
|
width: 100%;
|
|
1387
1434
|
margin-top: 8px;
|
|
1388
1435
|
}
|
|
1389
|
-
.page-list-split .steedos-object-listview .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1436
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1390
1437
|
width: 100%;
|
|
1391
1438
|
}
|
|
1392
|
-
.page-list-split .steedos-object-listview .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
|
|
1439
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
|
|
1393
1440
|
width: 100%;
|
|
1394
1441
|
}
|
|
1395
1442
|
@media (max-width: 768px) {
|
|
1396
|
-
.steedos-object-
|
|
1443
|
+
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1444
|
+
width: 100%;
|
|
1445
|
+
margin-top: 8px;
|
|
1446
|
+
}
|
|
1447
|
+
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1448
|
+
width: 100%;
|
|
1449
|
+
}
|
|
1450
|
+
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
|
|
1451
|
+
width: 100%;
|
|
1452
|
+
}
|
|
1453
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1397
1454
|
width: 100%;
|
|
1398
1455
|
margin-top: 8px;
|
|
1399
1456
|
}
|
|
1400
|
-
.
|
|
1457
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1401
1458
|
width: 100%;
|
|
1402
1459
|
}
|
|
1403
|
-
.
|
|
1460
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
|
|
1404
1461
|
width: 100%;
|
|
1405
1462
|
}
|
|
1406
1463
|
}
|
|
@@ -1567,12 +1624,6 @@ fieldset.antd-Collapse > legend{
|
|
|
1567
1624
|
height: 100%;
|
|
1568
1625
|
}
|
|
1569
1626
|
@media (max-width: 767px) {
|
|
1570
|
-
.steedos-object-table .antd-Table-content {
|
|
1571
|
-
max-height: calc(100vh - 195px);
|
|
1572
|
-
}
|
|
1573
|
-
.steedos-object-listview .antd-Table-content {
|
|
1574
|
-
max-height: calc(100vh - 295px);
|
|
1575
|
-
}
|
|
1576
1627
|
.steedos-global-footer-root .antd-Nav-Menu-horizontal:after {
|
|
1577
1628
|
/*手机端底部导航左右间隔不平衡*/
|
|
1578
1629
|
content: unset;
|