@steedos-widgets/amis-object 1.2.6-beta.9 → 1.2.6

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.
@@ -43,11 +43,6 @@ export declare const AmisAppLauncher: (props: any) => Promise<{
43
43
  "@data.changed.steedos_keyvalues": {
44
44
  actions: {
45
45
  actionType: string;
46
- args: {
47
- value: {
48
- keyvalue: string;
49
- };
50
- };
51
46
  }[];
52
47
  };
53
48
  };
@@ -7,13 +7,7 @@ export declare const AmisObjectListView: (props: any) => Promise<{
7
7
  data?: undefined;
8
8
  } | {
9
9
  type: string;
10
- data: {
11
- showDisplayAs: any;
12
- displayAs: string;
13
- recordPermissions: any;
14
- _id: any;
15
- $listviewId: any;
16
- };
10
+ data: any;
17
11
  className: string;
18
12
  body: {
19
13
  type: string;
@@ -50,7 +50,45 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
50
50
  objectName: any;
51
51
  visibleOn: any;
52
52
  className: string;
53
- }[];
53
+ }[] | {
54
+ type: string;
55
+ icon: string;
56
+ onEvent: {
57
+ click: {
58
+ actions: {
59
+ actionType: string;
60
+ drawer: {
61
+ type: string;
62
+ title: string;
63
+ body: {
64
+ type: string;
65
+ id: string;
66
+ vertical: boolean;
67
+ tiled: boolean;
68
+ buttons: {
69
+ type: string;
70
+ name: any;
71
+ objectName: any;
72
+ visibleOn: any;
73
+ }[];
74
+ btnLevel: string;
75
+ className: string;
76
+ btnClassName: string;
77
+ size: string;
78
+ }[];
79
+ id: string;
80
+ position: string;
81
+ closeOnOutside: boolean;
82
+ resizable: boolean;
83
+ className: string;
84
+ bodyClassName: string;
85
+ actions: any[];
86
+ };
87
+ }[];
88
+ };
89
+ };
90
+ id: string;
91
+ };
54
92
  };
55
93
  md: string;
56
94
  })[];
@@ -7,20 +7,7 @@ export declare const AmisRecordDetailRelatedLists: (props: any) => Promise<{
7
7
  } | {
8
8
  type: string;
9
9
  className: string;
10
- body: {
11
- type: string;
12
- objectApiName: any;
13
- relatedObjectApiName: any;
14
- foreign_key: any;
15
- relatedKey: any;
16
- columns: any;
17
- sort: any;
18
- filters: any;
19
- visible_on: any;
20
- perPage: any;
21
- hiddenEmptyTable: boolean;
22
- relatedLabel: any;
23
- }[];
10
+ body: any[];
24
11
  level?: undefined;
25
12
  showIcon?: undefined;
26
13
  }>;
@@ -1,3 +1,4 @@
1
+ import './AmisSelectFlow.less';
1
2
  /**
2
3
  *
3
4
  * @css
@@ -248,6 +248,10 @@ body {
248
248
  display: flex;
249
249
  align-items: center;
250
250
  }
251
+
252
+ .antd-ButtonGroup > .antd-Button {
253
+ max-width: none !important;
254
+ }
251
255
  /* @tailwind base; */
252
256
  .container {
253
257
  width: 100%
@@ -467,6 +471,9 @@ body {
467
471
  .\!max-h-\[80vh\] {
468
472
  max-height: 80vh !important
469
473
  }
474
+ .w-full {
475
+ width: 100%
476
+ }
470
477
  .w-14 {
471
478
  width: 3.5rem
472
479
  }
@@ -485,9 +492,6 @@ body {
485
492
  .w-1\/3 {
486
493
  width: 33.333333%
487
494
  }
488
- .w-full {
489
- width: 100%
490
- }
491
495
  .w-10 {
492
496
  width: 2.5rem
493
497
  }
@@ -598,9 +602,6 @@ body {
598
602
  .whitespace-nowrap {
599
603
  white-space: nowrap
600
604
  }
601
- .whitespace-pre-wrap {
602
- white-space: pre-wrap
603
- }
604
605
  .rounded {
605
606
  border-radius: 0.25rem
606
607
  }
@@ -777,8 +778,8 @@ body {
777
778
  .text-\[15px\] {
778
779
  font-size: 15px
779
780
  }
780
- .text-\[13px\] {
781
- font-size: 13px
781
+ .text-\[12px\] {
782
+ font-size: 12px
782
783
  }
783
784
  .text-xs {
784
785
  font-size: 12px
@@ -942,12 +943,23 @@ body {
942
943
  --tw-border-opacity: 1;
943
944
  border-color: rgb(209 213 219 / var(--tw-border-opacity))
944
945
  }
946
+ .sm\:bg-gray-100 {
947
+ --tw-bg-opacity: 1;
948
+ background-color: rgb(243 244 246 / var(--tw-bg-opacity))
949
+ }
945
950
  .sm\:p-0 {
946
951
  padding: 0px
947
952
  }
948
953
  .sm\:p-3 {
949
954
  padding: 0.75rem
950
955
  }
956
+ .sm\:px-3 {
957
+ padding-left: 0.75rem;
958
+ padding-right: 0.75rem
959
+ }
960
+ .sm\:pt-3 {
961
+ padding-top: 0.75rem
962
+ }
951
963
  .sm\:shadow {
952
964
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
953
965
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -1103,6 +1115,44 @@ body {
1103
1115
  #steedosPageRoot{
1104
1116
  overflow: auto;
1105
1117
  }
1118
+
1119
+ .buttons-drawer .antd-Drawer-content{
1120
+ height: auto !important;
1121
+ max-height: 70% !important;
1122
+ }
1123
+
1124
+ .buttons-drawer .antd-Drawer-body{
1125
+ overflow: inherit !important;
1126
+ }
1127
+
1128
+ .buttons-drawer .antd-Drawer-body button{
1129
+ border-color: #c9c9c9;
1130
+ border-right: none !important;
1131
+ border-left: none !important;
1132
+ border-bottom: none !important;
1133
+ border-radius: 0px !important;;
1134
+ min-height: 50px;
1135
+ }
1136
+
1137
+ @media screen and (max-width: 767px) {
1138
+ /* 手机版Modal全屏 */
1139
+ .antd-Modal-content{
1140
+ max-height: 100% !important;
1141
+ margin: 0px !important;
1142
+ border-radius: 0px !important;
1143
+ height: 100% !important;
1144
+ }
1145
+
1146
+ /* 修正手机版TreeSelect样式异常 */
1147
+ .antd-TreeSelect-popup .antd-Tree{
1148
+ width: 100% !important;
1149
+ }
1150
+
1151
+ /* 修正手机版 body上的sidebar导致y滚动条异常 */
1152
+ .sidebar{
1153
+ padding-bottom: 0px !important;
1154
+ }
1155
+ }
1106
1156
  .steedos-listview .is-loading .antd-Table-contentWrap {
1107
1157
  height: 50px;
1108
1158
  }
@@ -1179,48 +1229,74 @@ body {
1179
1229
  height: -webkit-fill-available !important;
1180
1230
  }
1181
1231
 
1182
- .antd-AmisGlobalFooter .antd-Nav-Menu-item,
1183
- .antd-AmisGlobalFooter .antd-Nav-Menu-submenu-title,
1184
- .antd-AmisGlobalFooter .antd-Nav-Menu-overflow-item-rest {
1232
+ .steedos-global-footer {
1233
+ border-top: 1px solid rgb(203 213 225);
1234
+ }
1235
+ .steedos-global-footer .antd-Nav-Menu-item,
1236
+ .steedos-global-footer .antd-Nav-Menu-submenu-title {
1237
+ padding-bottom: 5px !important;
1238
+ }
1239
+ .steedos-global-footer .antd-Nav-Menu-item,
1240
+ .steedos-global-footer .antd-Nav-Menu-submenu-title,
1241
+ .steedos-global-footer .antd-Nav-Menu-overflow-item-rest {
1185
1242
  background-color: rgb(243 244 246) !important;
1186
1243
  }
1187
- .antd-AmisGlobalFooter .antd-Nav-Menu-submenu-selected {
1244
+ .steedos-global-footer .antd-Nav-Menu-submenu-selected {
1188
1245
  border-bottom: none !important;
1189
1246
  }
1190
- .antd-AmisGlobalFooter .antd-Nav-Menu-item.antd-Nav-Menu-item-selected:after {
1247
+ .steedos-global-footer .antd-Nav-Menu-item.antd-Nav-Menu-item-selected:after {
1191
1248
  width: 0;
1192
1249
  }
1193
- #steedos-global-footer .antd-Nav-Menu-horizontal.antd-Nav-Menu-light > .antd-Nav-Menu-submenu-selected .antd-Nav-Menu-item-icon,
1194
- #steedosGlobalFooterRoot .antd-Nav-Menu-horizontal.antd-Nav-Menu-light .antd-Nav-Menu-item-icon {
1195
- color: rgb(51 65 85);
1196
- }
1197
- .antd-AmisGlobalFooter .antd-Nav-Menu-submenu-open .antd-Nav-Menu-item-icon {
1198
- color: #0970d1 !important;
1250
+ .steedos-global-footer .antd-Nav-Menu-item-wrap svg {
1251
+ background-color: unset;
1252
+ fill: #64748b;
1199
1253
  }
1200
- .antd-AmisGlobalFooter .antd-Nav-Menu-item-selected .text-slate-700,
1201
- .footer-popup .antd-Nav-Menu-item-selected .text-slate-700 {
1254
+ .steedos-global-footer .antd-Nav-Menu-item-selected .text-slate-700 {
1202
1255
  color: #0970d1 !important;
1203
1256
  }
1204
- .antd-AmisGlobalFooter .antd-Nav-Menu-item-selected svg,
1205
- .footer-popup .antd-Nav-Menu-item-selected svg {
1257
+ .steedos-global-footer .antd-Nav-Menu-item-selected svg {
1206
1258
  fill: #0970d1;
1207
1259
  }
1208
- .antd-AmisGlobalFooter .antd-Nav-Menu-item-link,
1209
- .antd-AmisGlobalFooter .antd-Nav-Menu-item-wrap,
1260
+ .steedos-global-footer .antd-Nav-Menu-item-link,
1261
+ .steedos-global-footer .antd-Nav-Menu-item-wrap,
1210
1262
  .antd-Nav-Menu-overflow-item {
1211
1263
  height: 100% !important;
1212
1264
  }
1213
- .antd-AmisGlobalFooter .antd-Nav-Menu-submenu-title {
1265
+ .steedos-global-footer-popup .antd-Nav-Menu-item-wrap {
1266
+ align-items: center;
1267
+ }
1268
+ .steedos-global-footer .antd-Nav-Menu-submenu-title {
1214
1269
  height: 100% !important;
1215
1270
  display: flex;
1216
1271
  align-items: center;
1217
1272
  }
1218
- .footer-popup .nav-label {
1273
+ .steedos-global-footer-popup .nav-label {
1219
1274
  flex-direction: unset !important;
1220
1275
  }
1221
- .footer-popup {
1222
- max-height: 50vh;
1276
+ .steedos-global-footer-popup {
1277
+ width: 100%;
1278
+ top: 54px !important;
1279
+ bottom: 64px;
1280
+ position: fixed;
1281
+ }
1282
+ .steedos-global-footer-popup .antd-Nav-Menu {
1283
+ height: 100%;
1223
1284
  overflow: auto;
1285
+ box-shadow: none;
1286
+ }
1287
+ .steedos-global-footer-popup .antd-Nav-Menu-item {
1288
+ padding-bottom: 10px;
1289
+ padding-top: 10px;
1290
+ border-bottom: 0.5px solid #e5e7eb;
1291
+ }
1292
+ .steedos-global-footer-popup .antd-Nav-Menu-item svg {
1293
+ margin-right: 12px;
1294
+ }
1295
+ .steedos-global-footer-popup .nav-label {
1296
+ font-size: 17px;
1297
+ }
1298
+ .steedos-global-footer-popup .antd-Nav-Menu-item-label-subTitle {
1299
+ max-width: 100% !important;
1224
1300
  }
1225
1301
  .steedos-global-footer-root .antd-Nav-Menu-horizontal.antd-Nav-Menu-light {
1226
1302
  background-color: rgb(243 244 246);
@@ -1229,15 +1305,30 @@ body {
1229
1305
  .steedos-object-listview .antd-Table-content {
1230
1306
  max-height: calc(100vh - 263px);
1231
1307
  }
1308
+ .steedos-global-footer-root .antd-Nav-Menu-horizontal:after {
1309
+ /*手机端底部导航左右间隔不平衡*/
1310
+ content: unset;
1311
+ }
1312
+ }
1313
+ .steedos-global-footer ul {
1314
+ order: unset !important;
1232
1315
  }
1233
1316
 
1234
1317
  .sidebar-wrapper {
1235
- transition: 0.5s ease translate;
1236
- translate: -100% 0;
1318
+ transition: 0.5s ease transform;
1237
1319
  will-change: transform;
1320
+ transform: translate(-100%, 0);
1321
+ -webkit-transform: translate(-100%, 0);
1322
+ -moz-transform: translate(-100%, 0);
1323
+ -ms-transform: translate(-100%, 0);
1324
+ -o-transform: translate(-100%, 0);
1238
1325
  }
1239
1326
  body.sidebar-open .sidebar-wrapper {
1240
- translate: 0 0;
1327
+ transform: translate(0, 0);
1328
+ -webkit-transform: translate(0, 0);
1329
+ -moz-transform: translate(0, 0);
1330
+ -ms-transform: translate(0, 0);
1331
+ -o-transform: translate(0, 0);
1241
1332
  }
1242
1333
  body.sidebar #sidebar {
1243
1334
  margin-top: 50px;
@@ -1271,6 +1362,10 @@ body.sidebar #sidebar {
1271
1362
  }
1272
1363
  }
1273
1364
 
1365
+ .steedos-select-flow-service .antd-TreeControl > .antd-Tree {
1366
+ max-height: unset;
1367
+ }
1368
+
1274
1369
  .steedos-amis-instance-view {
1275
1370
  font-size: 0.8125rem;
1276
1371
  }