@steedos-widgets/amis-object 6.10.54-beta.6 → 6.10.54-beta.7

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.
@@ -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,41 @@ 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
+
1072
1108
  @media screen and (max-width: 767px) {
1073
1109
  /* 手机版Modal全屏 */
1074
1110
  .antd-Modal-content {
@@ -1292,6 +1328,7 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
1292
1328
  .steedos-header-toolbar-notifications-panel {
1293
1329
  margin-bottom: 0px !important;
1294
1330
  }
1331
+
1295
1332
  .steedos-listview .is-loading .antd-Table-contentWrap {
1296
1333
  height: 50px;
1297
1334
  }
@@ -1421,13 +1458,46 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
1421
1458
  .slds-filters__body .antd-Form-item {
1422
1459
  margin-bottom: 0.75rem !important;
1423
1460
  }
1424
- .slds-filters__body .flow-select .antd-TreeSelect-popove {
1425
- position: relative;
1426
- }
1427
1461
  .slds-filters__body .flow-select .antd-TreeSelect-popover > .antd-Tree {
1428
1462
  max-height: 300px;
1463
+ overflow-y: auto;
1464
+ -webkit-overflow-scrolling: touch;
1465
+ overscroll-behavior: contain;
1466
+ touch-action: pan-y;
1429
1467
  }
1430
1468
  @media (max-width: 767px) {
1469
+ .slds-filters__body .flow-select .antd-ResultBox {
1470
+ align-items: center;
1471
+ }
1472
+ .slds-filters__body .flow-select .antd-ResultBox-value-wrap {
1473
+ flex-wrap: nowrap;
1474
+ overflow: hidden;
1475
+ }
1476
+ .slds-filters__body .flow-select .antd-ResultBox-value {
1477
+ flex: 0 1 auto;
1478
+ min-width: 0;
1479
+ max-width: calc(100% - 30px);
1480
+ }
1481
+ .slds-filters__body .flow-select .antd-ResultBox-valueLabel {
1482
+ overflow: hidden;
1483
+ text-overflow: ellipsis;
1484
+ white-space: nowrap;
1485
+ }
1486
+ .slds-filters__body .flow-select .antd-ResultBox-value + .antd-ResultBox-value {
1487
+ flex: 0 0 auto;
1488
+ max-width: 64px;
1489
+ }
1490
+ .slds-filters__body .flow-select .antd-ResultBox-value-input {
1491
+ flex: 1 1 auto;
1492
+ width: auto;
1493
+ min-width: 0;
1494
+ }
1495
+ .slds-filters__body .flow-select .antd-ResultBox-value + .antd-ResultBox-value-input,
1496
+ .slds-filters__body .flow-select .antd-ResultBox-value + .antd-ResultBox-value + .antd-ResultBox-value-input {
1497
+ flex: 0 0 24px;
1498
+ width: 24px;
1499
+ min-width: 24px;
1500
+ }
1431
1501
  .set-next-steps-users {
1432
1502
  margin-top: 0.5rem !important;
1433
1503
  margin-bottom: 0.5rem !important;
@@ -2591,8 +2661,18 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2591
2661
  }
2592
2662
  .antd-TreeSelect-popover {
2593
2663
  min-width: calc(100vw - 32px) !important;
2594
- max-height: 50vh;
2664
+ max-height: min(50vh, 360px);
2595
2665
  overflow-y: auto;
2666
+ -webkit-overflow-scrolling: touch;
2667
+ overscroll-behavior: contain;
2668
+ touch-action: pan-y;
2669
+ }
2670
+ .antd-TreeSelect-popover > .antd-Tree {
2671
+ max-height: min(50vh, 360px) !important;
2672
+ overflow-y: auto;
2673
+ -webkit-overflow-scrolling: touch;
2674
+ overscroll-behavior: contain;
2675
+ touch-action: pan-y;
2596
2676
  }
2597
2677
  }
2598
2678
 
@@ -2869,6 +2949,14 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2869
2949
  }
2870
2950
  .steedos-amis-instance-view {
2871
2951
  font-size: 0.8125rem;
2952
+ --instance-mobile-action-font-size: 14px;
2953
+ --instance-mobile-action-line-height: 21px;
2954
+ }
2955
+ .steedos-amis-instance-view .workflow-form-v2 .steedos-user-selector .ant-input-borderless {
2956
+ font-size: inherit !important;
2957
+ line-height: inherit !important;
2958
+ color: inherit !important;
2959
+ font-weight: 500 !important;
2872
2960
  }
2873
2961
  .steedos-amis-instance-view .instance-name {
2874
2962
  font-size: 20px;
@@ -2998,6 +3086,25 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2998
3086
  .steedos-amis-instance-view .instance-form-view-mobile .antd-Form-item::after {
2999
3087
  content: none !important;
3000
3088
  }
3089
+ .steedos-amis-instance-view.steedos-mobile-view .steedos-object-record-detail-header,
3090
+ .steedos-amis-instance-view.steedos-mobile-view .steedos-object-record-detail-header .antd-Button,
3091
+ .steedos-amis-instance-view.steedos-mobile-view .steedos-object-record-detail-header .antd-Button > span,
3092
+ .steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar,
3093
+ .steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .steedos-file-upload,
3094
+ .steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .ant-upload-wrapper,
3095
+ .steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .ant-upload,
3096
+ .steedos-amis-instance-view.steedos-mobile-view .instance-attachment-toolbar .ant-upload span,
3097
+ .steedos-amis-instance-view.steedos-mobile-view .approve-button,
3098
+ .steedos-amis-instance-view.steedos-mobile-view .approve-button > span {
3099
+ font-size: var(--instance-mobile-action-font-size) !important;
3100
+ line-height: var(--instance-mobile-action-line-height) !important;
3101
+ }
3102
+ .steedos-amis-instance-view.steedos-mobile-view .workflow-form-v2 .steedos-user-selector,
3103
+ .steedos-amis-instance-view.steedos-mobile-view .workflow-form-v2 .steedos-user-selector *,
3104
+ .steedos-amis-instance-view.steedos-mobile-view .workflow-form-v2 label {
3105
+ font-size: 13px !important;
3106
+ line-height: 19.5px !important;
3107
+ }
3001
3108
  .approval-drawer .antd-Form-item {
3002
3109
  border-bottom: none !important;
3003
3110
  margin-bottom: 0 !important;
@@ -3029,6 +3136,22 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
3029
3136
  border-top: 1px solid #e5e7eb !important;
3030
3137
  padding-top: 8px !important;
3031
3138
  }
3139
+ .approval-drawer .antd-Drawer-footer .antd-Button,
3140
+ .approval-drawer .antd-Drawer-footer .antd-Button > span,
3141
+ .approval-drawer .antd-Form-value,
3142
+ .approval-drawer .antd-Form-value *,
3143
+ .approval-drawer .antd-ListControl,
3144
+ .approval-drawer .antd-ListControl *,
3145
+ .approval-drawer .antd-ListControl-placeholder,
3146
+ .approval-drawer .antd-ListControl-item,
3147
+ .approval-drawer .antd-ListControl-itemLabel,
3148
+ .approval-drawer .antd-RadiosControl,
3149
+ .approval-drawer .antd-RadiosControl *,
3150
+ .approval-drawer .antd-Checkbox,
3151
+ .approval-drawer .antd-Checkbox * {
3152
+ font-size: var(--instance-mobile-action-font-size) !important;
3153
+ line-height: var(--instance-mobile-action-line-height) !important;
3154
+ }
3032
3155
  .approval-drawer .antd-RadiosControl {
3033
3156
  display: flex;
3034
3157
  flex-direction: row;