@steedos-widgets/amis-object 6.10.54-beta.6 → 6.10.54-beta.8
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 +145 -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/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;
|
|
@@ -2591,8 +2672,25 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2591
2672
|
}
|
|
2592
2673
|
.antd-TreeSelect-popover {
|
|
2593
2674
|
min-width: calc(100vw - 32px) !important;
|
|
2594
|
-
max-height: 50vh;
|
|
2675
|
+
max-height: min(50vh, 360px);
|
|
2676
|
+
overflow-y: auto;
|
|
2677
|
+
-webkit-overflow-scrolling: touch;
|
|
2678
|
+
overscroll-behavior: contain;
|
|
2679
|
+
touch-action: pan-y;
|
|
2680
|
+
}
|
|
2681
|
+
.antd-TreeSelect-popover > .antd-Tree {
|
|
2682
|
+
max-height: min(50vh, 360px) !important;
|
|
2595
2683
|
overflow-y: auto;
|
|
2684
|
+
-webkit-overflow-scrolling: touch;
|
|
2685
|
+
overscroll-behavior: contain;
|
|
2686
|
+
touch-action: pan-y;
|
|
2687
|
+
}
|
|
2688
|
+
.flow-select .antd-TreeSelect-popover > .antd-Tree {
|
|
2689
|
+
overflow-y: hidden !important;
|
|
2690
|
+
scrollbar-width: none;
|
|
2691
|
+
}
|
|
2692
|
+
.flow-select .antd-TreeSelect-popover > .antd-Tree::-webkit-scrollbar {
|
|
2693
|
+
display: none;
|
|
2596
2694
|
}
|
|
2597
2695
|
}
|
|
2598
2696
|
|
|
@@ -2869,6 +2967,14 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2869
2967
|
}
|
|
2870
2968
|
.steedos-amis-instance-view {
|
|
2871
2969
|
font-size: 0.8125rem;
|
|
2970
|
+
--instance-mobile-action-font-size: 14px;
|
|
2971
|
+
--instance-mobile-action-line-height: 21px;
|
|
2972
|
+
}
|
|
2973
|
+
.steedos-amis-instance-view .workflow-form-v2 .steedos-user-selector .ant-input-borderless {
|
|
2974
|
+
font-size: inherit !important;
|
|
2975
|
+
line-height: inherit !important;
|
|
2976
|
+
color: inherit !important;
|
|
2977
|
+
font-weight: 500 !important;
|
|
2872
2978
|
}
|
|
2873
2979
|
.steedos-amis-instance-view .instance-name {
|
|
2874
2980
|
font-size: 20px;
|
|
@@ -2998,6 +3104,25 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2998
3104
|
.steedos-amis-instance-view .instance-form-view-mobile .antd-Form-item::after {
|
|
2999
3105
|
content: none !important;
|
|
3000
3106
|
}
|
|
3107
|
+
.steedos-amis-instance-view.steedos-mobile-view .steedos-object-record-detail-header,
|
|
3108
|
+
.steedos-amis-instance-view.steedos-mobile-view .steedos-object-record-detail-header .antd-Button,
|
|
3109
|
+
.steedos-amis-instance-view.steedos-mobile-view .steedos-object-record-detail-header .antd-Button > span,
|
|
3110
|
+
.steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar,
|
|
3111
|
+
.steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .steedos-file-upload,
|
|
3112
|
+
.steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .ant-upload-wrapper,
|
|
3113
|
+
.steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .ant-upload,
|
|
3114
|
+
.steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .ant-upload span,
|
|
3115
|
+
.steedos-amis-instance-view.steedos-mobile-view .approve-button,
|
|
3116
|
+
.steedos-amis-instance-view.steedos-mobile-view .approve-button > span {
|
|
3117
|
+
font-size: var(--instance-mobile-action-font-size) !important;
|
|
3118
|
+
line-height: var(--instance-mobile-action-line-height) !important;
|
|
3119
|
+
}
|
|
3120
|
+
.steedos-amis-instance-view.steedos-mobile-view .workflow-form-v2 .steedos-user-selector,
|
|
3121
|
+
.steedos-amis-instance-view.steedos-mobile-view .workflow-form-v2 .steedos-user-selector *,
|
|
3122
|
+
.steedos-amis-instance-view.steedos-mobile-view .workflow-form-v2 label {
|
|
3123
|
+
font-size: 13px !important;
|
|
3124
|
+
line-height: 19.5px !important;
|
|
3125
|
+
}
|
|
3001
3126
|
.approval-drawer .antd-Form-item {
|
|
3002
3127
|
border-bottom: none !important;
|
|
3003
3128
|
margin-bottom: 0 !important;
|
|
@@ -3029,6 +3154,22 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
3029
3154
|
border-top: 1px solid #e5e7eb !important;
|
|
3030
3155
|
padding-top: 8px !important;
|
|
3031
3156
|
}
|
|
3157
|
+
.approval-drawer .antd-Drawer-footer .antd-Button,
|
|
3158
|
+
.approval-drawer .antd-Drawer-footer .antd-Button > span,
|
|
3159
|
+
.approval-drawer .antd-Form-value,
|
|
3160
|
+
.approval-drawer .antd-Form-value *,
|
|
3161
|
+
.approval-drawer .antd-ListControl,
|
|
3162
|
+
.approval-drawer .antd-ListControl *,
|
|
3163
|
+
.approval-drawer .antd-ListControl-placeholder,
|
|
3164
|
+
.approval-drawer .antd-ListControl-item,
|
|
3165
|
+
.approval-drawer .antd-ListControl-itemLabel,
|
|
3166
|
+
.approval-drawer .antd-RadiosControl,
|
|
3167
|
+
.approval-drawer .antd-RadiosControl *,
|
|
3168
|
+
.approval-drawer .antd-Checkbox,
|
|
3169
|
+
.approval-drawer .antd-Checkbox * {
|
|
3170
|
+
font-size: var(--instance-mobile-action-font-size) !important;
|
|
3171
|
+
line-height: var(--instance-mobile-action-line-height) !important;
|
|
3172
|
+
}
|
|
3032
3173
|
.approval-drawer .antd-RadiosControl {
|
|
3033
3174
|
display: flex;
|
|
3034
3175
|
flex-direction: row;
|