@steedos-widgets/amis-object 6.10.54-beta.2 → 6.10.54-beta.20
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.umd.css +167 -4
- package/dist/amis-object.umd.js +1 -1
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +5 -5
- package/dist/meta.js +9 -2
- package/package.json +4 -4
package/dist/amis-object.umd.css
CHANGED
|
@@ -1060,6 +1060,7 @@ fieldset.antd-Collapse > legend{
|
|
|
1060
1060
|
margin: 0;
|
|
1061
1061
|
}
|
|
1062
1062
|
|
|
1063
|
+
/* 兼容表单事件脚本运行时追加的 SLDS/Bootstrap 按钮,让它们在手机操作抽屉中保持整行动作项样式。 */
|
|
1063
1064
|
.buttons-drawer .antd-ButtonGroup button {
|
|
1064
1065
|
border-color: #c9c9c9;
|
|
1065
1066
|
border-right: none !important;
|
|
@@ -1069,6 +1070,52 @@ fieldset.antd-Collapse > legend{
|
|
|
1069
1070
|
min-height: 50px;
|
|
1070
1071
|
}
|
|
1071
1072
|
|
|
1073
|
+
.buttons-drawer .antd-ButtonGroup .slds-button,
|
|
1074
|
+
.buttons-drawer .antd-ButtonGroup .btn {
|
|
1075
|
+
width: 100% !important;
|
|
1076
|
+
max-width: none !important;
|
|
1077
|
+
min-height: 50px;
|
|
1078
|
+
margin: 0 !important;
|
|
1079
|
+
border-color: #c9c9c9;
|
|
1080
|
+
border-right: none !important;
|
|
1081
|
+
border-left: none !important;
|
|
1082
|
+
border-bottom: none !important;
|
|
1083
|
+
border-radius: 0px !important;
|
|
1084
|
+
background: #fff;
|
|
1085
|
+
color: #151e26;
|
|
1086
|
+
display: flex;
|
|
1087
|
+
align-items: center;
|
|
1088
|
+
justify-content: center;
|
|
1089
|
+
text-align: center;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
.buttons-drawer .antd-ButtonGroup .slds-button > a,
|
|
1093
|
+
.buttons-drawer .antd-ButtonGroup .btn > a {
|
|
1094
|
+
width: 100%;
|
|
1095
|
+
min-height: 50px;
|
|
1096
|
+
display: flex;
|
|
1097
|
+
align-items: center;
|
|
1098
|
+
justify-content: center;
|
|
1099
|
+
color: inherit;
|
|
1100
|
+
text-decoration: none;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
.buttons-drawer .antd-ButtonGroup .slds-button i,
|
|
1104
|
+
.buttons-drawer .antd-ButtonGroup .btn i {
|
|
1105
|
+
margin-right: 3px;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.buttons-drawer .antd-ButtonGroup .slds-button,
|
|
1109
|
+
.buttons-drawer .antd-ButtonGroup .btn,
|
|
1110
|
+
.buttons-drawer .antd-ButtonGroup .slds-button > a,
|
|
1111
|
+
.buttons-drawer .antd-ButtonGroup .btn > a,
|
|
1112
|
+
.buttons-drawer .antd-ButtonGroup .slds-button span,
|
|
1113
|
+
.buttons-drawer .antd-ButtonGroup .btn span {
|
|
1114
|
+
font-size: 14px;
|
|
1115
|
+
line-height: 21px;
|
|
1116
|
+
font-weight: 400;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1072
1119
|
@media screen and (max-width: 767px) {
|
|
1073
1120
|
/* 手机版Modal全屏 */
|
|
1074
1121
|
.antd-Modal-content {
|
|
@@ -1292,6 +1339,7 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
1292
1339
|
.steedos-header-toolbar-notifications-panel {
|
|
1293
1340
|
margin-bottom: 0px !important;
|
|
1294
1341
|
}
|
|
1342
|
+
|
|
1295
1343
|
.steedos-listview .is-loading .antd-Table-contentWrap {
|
|
1296
1344
|
height: 50px;
|
|
1297
1345
|
}
|
|
@@ -1421,13 +1469,46 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
1421
1469
|
.slds-filters__body .antd-Form-item {
|
|
1422
1470
|
margin-bottom: 0.75rem !important;
|
|
1423
1471
|
}
|
|
1424
|
-
.slds-filters__body .flow-select .antd-TreeSelect-popove {
|
|
1425
|
-
position: relative;
|
|
1426
|
-
}
|
|
1427
1472
|
.slds-filters__body .flow-select .antd-TreeSelect-popover > .antd-Tree {
|
|
1428
1473
|
max-height: 300px;
|
|
1474
|
+
overflow-y: auto;
|
|
1475
|
+
-webkit-overflow-scrolling: touch;
|
|
1476
|
+
overscroll-behavior: contain;
|
|
1477
|
+
touch-action: pan-y;
|
|
1429
1478
|
}
|
|
1430
1479
|
@media (max-width: 767px) {
|
|
1480
|
+
.slds-filters__body .flow-select .antd-ResultBox {
|
|
1481
|
+
align-items: center;
|
|
1482
|
+
}
|
|
1483
|
+
.slds-filters__body .flow-select .antd-ResultBox-value-wrap {
|
|
1484
|
+
flex-wrap: nowrap;
|
|
1485
|
+
overflow: hidden;
|
|
1486
|
+
}
|
|
1487
|
+
.slds-filters__body .flow-select .antd-ResultBox-value {
|
|
1488
|
+
flex: 0 1 auto;
|
|
1489
|
+
min-width: 0;
|
|
1490
|
+
max-width: calc(100% - 30px);
|
|
1491
|
+
}
|
|
1492
|
+
.slds-filters__body .flow-select .antd-ResultBox-valueLabel {
|
|
1493
|
+
overflow: hidden;
|
|
1494
|
+
text-overflow: ellipsis;
|
|
1495
|
+
white-space: nowrap;
|
|
1496
|
+
}
|
|
1497
|
+
.slds-filters__body .flow-select .antd-ResultBox-value + .antd-ResultBox-value {
|
|
1498
|
+
flex: 0 0 auto;
|
|
1499
|
+
max-width: 64px;
|
|
1500
|
+
}
|
|
1501
|
+
.slds-filters__body .flow-select .antd-ResultBox-value-input {
|
|
1502
|
+
flex: 1 1 auto;
|
|
1503
|
+
width: auto;
|
|
1504
|
+
min-width: 0;
|
|
1505
|
+
}
|
|
1506
|
+
.slds-filters__body .flow-select .antd-ResultBox-value + .antd-ResultBox-value-input,
|
|
1507
|
+
.slds-filters__body .flow-select .antd-ResultBox-value + .antd-ResultBox-value + .antd-ResultBox-value-input {
|
|
1508
|
+
flex: 0 0 24px;
|
|
1509
|
+
width: 24px;
|
|
1510
|
+
min-width: 24px;
|
|
1511
|
+
}
|
|
1431
1512
|
.set-next-steps-users {
|
|
1432
1513
|
margin-top: 0.5rem !important;
|
|
1433
1514
|
margin-bottom: 0.5rem !important;
|
|
@@ -2039,6 +2120,28 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2039
2120
|
.steedos-object-listview .antd-Wrapper .steedos-listview-change-button .antd-DropDown-menu li:hover .steedos-listview-edit-button:hover .fa-edit {
|
|
2040
2121
|
color: #2468f2;
|
|
2041
2122
|
}
|
|
2123
|
+
/*
|
|
2124
|
+
手机端列表视图点"筛选"弹出的筛选面板字号过大(steedos/steedos-plugins#883)
|
|
2125
|
+
amis antd 主题在 max-width: 767px 下把表单的 label / 控件 / input 字号统一提到 --fontSizeLg(16px),
|
|
2126
|
+
筛选面板本质是 crud 里的一个 amis 表单,所以整块被放大,和 13px 的列表内容、14px 的页面基准不协调。
|
|
2127
|
+
这里只针对筛选面板(.slds-filters)覆盖为 --fontSizeMd(14px),不影响记录表单等其它手机端表单。
|
|
2128
|
+
作用域限定在两种列表容器内:.steedos-object-table 是列表视图、相关列表;
|
|
2129
|
+
.steedos-lookup-crud 是 lookup 字段弹窗里的列表,它不在 .steedos-object-table 内,需要单独列出。
|
|
2130
|
+
*/
|
|
2131
|
+
@media (max-width: 767px) {
|
|
2132
|
+
.steedos-object-table .slds-filters .antd-Form-item .antd-Form-label,
|
|
2133
|
+
.steedos-lookup-crud .slds-filters .antd-Form-item .antd-Form-label,
|
|
2134
|
+
.steedos-object-table .slds-filters .antd-Form-item .antd-Form-control,
|
|
2135
|
+
.steedos-lookup-crud .slds-filters .antd-Form-item .antd-Form-control,
|
|
2136
|
+
.steedos-object-table .slds-filters .antd-Form-item .antd-Form-value,
|
|
2137
|
+
.steedos-lookup-crud .slds-filters .antd-Form-item .antd-Form-value,
|
|
2138
|
+
.steedos-object-table .slds-filters .antd-Form-item input,
|
|
2139
|
+
.steedos-lookup-crud .slds-filters .antd-Form-item input,
|
|
2140
|
+
.steedos-object-table .slds-filters .antd-Form-item .antd-Select.is-mobile,
|
|
2141
|
+
.steedos-lookup-crud .slds-filters .antd-Form-item .antd-Select.is-mobile {
|
|
2142
|
+
font-size: var(--fontSizeMd);
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2042
2145
|
|
|
2043
2146
|
@media (min-width: 767px) {
|
|
2044
2147
|
/* 列表快速编辑功能样式 */
|
|
@@ -2591,8 +2694,25 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2591
2694
|
}
|
|
2592
2695
|
.antd-TreeSelect-popover {
|
|
2593
2696
|
min-width: calc(100vw - 32px) !important;
|
|
2594
|
-
max-height: 50vh;
|
|
2697
|
+
max-height: min(50vh, 360px);
|
|
2698
|
+
overflow-y: auto;
|
|
2699
|
+
-webkit-overflow-scrolling: touch;
|
|
2700
|
+
overscroll-behavior: contain;
|
|
2701
|
+
touch-action: pan-y;
|
|
2702
|
+
}
|
|
2703
|
+
.antd-TreeSelect-popover > .antd-Tree {
|
|
2704
|
+
max-height: min(50vh, 360px) !important;
|
|
2595
2705
|
overflow-y: auto;
|
|
2706
|
+
-webkit-overflow-scrolling: touch;
|
|
2707
|
+
overscroll-behavior: contain;
|
|
2708
|
+
touch-action: pan-y;
|
|
2709
|
+
}
|
|
2710
|
+
.flow-select .antd-TreeSelect-popover > .antd-Tree {
|
|
2711
|
+
overflow-y: hidden !important;
|
|
2712
|
+
scrollbar-width: none;
|
|
2713
|
+
}
|
|
2714
|
+
.flow-select .antd-TreeSelect-popover > .antd-Tree::-webkit-scrollbar {
|
|
2715
|
+
display: none;
|
|
2596
2716
|
}
|
|
2597
2717
|
}
|
|
2598
2718
|
|
|
@@ -2869,6 +2989,14 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2869
2989
|
}
|
|
2870
2990
|
.steedos-amis-instance-view {
|
|
2871
2991
|
font-size: 0.8125rem;
|
|
2992
|
+
--instance-mobile-action-font-size: 14px;
|
|
2993
|
+
--instance-mobile-action-line-height: 21px;
|
|
2994
|
+
}
|
|
2995
|
+
.steedos-amis-instance-view .workflow-form-v2 .steedos-user-selector .ant-input-borderless {
|
|
2996
|
+
font-size: inherit !important;
|
|
2997
|
+
line-height: inherit !important;
|
|
2998
|
+
color: inherit !important;
|
|
2999
|
+
font-weight: 500 !important;
|
|
2872
3000
|
}
|
|
2873
3001
|
.steedos-amis-instance-view .instance-name {
|
|
2874
3002
|
font-size: 20px;
|
|
@@ -2998,6 +3126,25 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2998
3126
|
.steedos-amis-instance-view .instance-form-view-mobile .antd-Form-item::after {
|
|
2999
3127
|
content: none !important;
|
|
3000
3128
|
}
|
|
3129
|
+
.steedos-amis-instance-view.steedos-mobile-view .steedos-object-record-detail-header,
|
|
3130
|
+
.steedos-amis-instance-view.steedos-mobile-view .steedos-object-record-detail-header .antd-Button,
|
|
3131
|
+
.steedos-amis-instance-view.steedos-mobile-view .steedos-object-record-detail-header .antd-Button > span,
|
|
3132
|
+
.steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar,
|
|
3133
|
+
.steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .steedos-file-upload,
|
|
3134
|
+
.steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .ant-upload-wrapper,
|
|
3135
|
+
.steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .ant-upload,
|
|
3136
|
+
.steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .ant-upload span,
|
|
3137
|
+
.steedos-amis-instance-view.steedos-mobile-view .approve-button,
|
|
3138
|
+
.steedos-amis-instance-view.steedos-mobile-view .approve-button > span {
|
|
3139
|
+
font-size: var(--instance-mobile-action-font-size) !important;
|
|
3140
|
+
line-height: var(--instance-mobile-action-line-height) !important;
|
|
3141
|
+
}
|
|
3142
|
+
.steedos-amis-instance-view.steedos-mobile-view .workflow-form-v2 .steedos-user-selector,
|
|
3143
|
+
.steedos-amis-instance-view.steedos-mobile-view .workflow-form-v2 .steedos-user-selector *,
|
|
3144
|
+
.steedos-amis-instance-view.steedos-mobile-view .workflow-form-v2 label {
|
|
3145
|
+
font-size: 13px !important;
|
|
3146
|
+
line-height: 19.5px !important;
|
|
3147
|
+
}
|
|
3001
3148
|
.approval-drawer .antd-Form-item {
|
|
3002
3149
|
border-bottom: none !important;
|
|
3003
3150
|
margin-bottom: 0 !important;
|
|
@@ -3029,6 +3176,22 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
3029
3176
|
border-top: 1px solid #e5e7eb !important;
|
|
3030
3177
|
padding-top: 8px !important;
|
|
3031
3178
|
}
|
|
3179
|
+
.approval-drawer .antd-Drawer-footer .antd-Button,
|
|
3180
|
+
.approval-drawer .antd-Drawer-footer .antd-Button > span,
|
|
3181
|
+
.approval-drawer .antd-Form-value,
|
|
3182
|
+
.approval-drawer .antd-Form-value *,
|
|
3183
|
+
.approval-drawer .antd-ListControl,
|
|
3184
|
+
.approval-drawer .antd-ListControl *,
|
|
3185
|
+
.approval-drawer .antd-ListControl-placeholder,
|
|
3186
|
+
.approval-drawer .antd-ListControl-item,
|
|
3187
|
+
.approval-drawer .antd-ListControl-itemLabel,
|
|
3188
|
+
.approval-drawer .antd-RadiosControl,
|
|
3189
|
+
.approval-drawer .antd-RadiosControl *,
|
|
3190
|
+
.approval-drawer .antd-Checkbox,
|
|
3191
|
+
.approval-drawer .antd-Checkbox * {
|
|
3192
|
+
font-size: var(--instance-mobile-action-font-size) !important;
|
|
3193
|
+
line-height: var(--instance-mobile-action-line-height) !important;
|
|
3194
|
+
}
|
|
3032
3195
|
.approval-drawer .antd-RadiosControl {
|
|
3033
3196
|
display: flex;
|
|
3034
3197
|
flex-direction: row;
|