@steedos-widgets/amis-object 3.6.2-beta.9 → 3.6.2
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/AmisInputTable.d.ts +25 -15
- package/dist/amis-object.cjs.css +120 -36
- package/dist/amis-object.cjs.js +1053 -307
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +120 -36
- package/dist/amis-object.esm.js +1053 -307
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +120 -36
- package/dist/amis-object.umd.js +233 -143
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +21 -21
- package/dist/meta.js +8 -7
- package/package.json +3 -3
|
@@ -1,20 +1,30 @@
|
|
|
1
|
+
import './AmisInputTable.less';
|
|
1
2
|
export declare const AmisInputTable: (props: any) => Promise<{
|
|
2
3
|
type: string;
|
|
3
4
|
body: {
|
|
4
5
|
type: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
6
|
+
body: {
|
|
7
|
+
type: string;
|
|
8
|
+
mode: string;
|
|
9
|
+
name: any;
|
|
10
|
+
draggable: any;
|
|
11
|
+
showIndex: any;
|
|
12
|
+
perPage: any;
|
|
13
|
+
id: any;
|
|
14
|
+
columns: any;
|
|
15
|
+
strictMode: any;
|
|
16
|
+
showTableAddBtn: boolean;
|
|
17
|
+
showFooterAddBtn: boolean;
|
|
18
|
+
className: any;
|
|
19
|
+
pipeIn: (value: any, data: any) => any;
|
|
20
|
+
pipeOut: (value: any, data: any) => any;
|
|
21
|
+
}[];
|
|
22
|
+
id: string;
|
|
23
|
+
};
|
|
24
|
+
label: any;
|
|
25
|
+
labelClassName: any;
|
|
26
|
+
labelRemark: any;
|
|
27
|
+
labelAlign: any;
|
|
28
|
+
mode: any;
|
|
29
|
+
className: string;
|
|
20
30
|
}>;
|
package/dist/amis-object.cjs.css
CHANGED
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
--Table-fixedRight-boxShadow: none;
|
|
14
14
|
--Table-thead-borderColor: rgb(209 213 219);
|
|
15
15
|
--Table-thead-fontSize: 13px;
|
|
16
|
-
--Table-thead-bg:
|
|
16
|
+
--Table-thead-bg: #f9fafb;
|
|
17
17
|
--Table-thead-borderColor: var(--Table-borderColor);
|
|
18
18
|
--Table-toolbar-marginY: 0;
|
|
19
19
|
--Table-thead-borderWidth: 1px;
|
|
20
20
|
--Table-bg: white;
|
|
21
|
-
--TableCell-paddingY: 0.
|
|
21
|
+
--TableCell-paddingY: 0.4rem;
|
|
22
22
|
--TableCell-paddingX: 0.5rem;
|
|
23
23
|
--TableCell--edge-paddingX: 0.5rem;
|
|
24
24
|
--text--muted-color: #d9dcde;
|
|
@@ -354,6 +354,35 @@ fieldset.antd-Collapse > legend{
|
|
|
354
354
|
border-right: 0px;
|
|
355
355
|
}
|
|
356
356
|
|
|
357
|
+
.steedos-crud-mode-table .antd-Table-table > thead > tr > th:not(:last-child) {
|
|
358
|
+
border-right: 0px;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.antd-Table-footToolbar {
|
|
362
|
+
background: white;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.antd-Drawer--right .antd-Drawer-close{
|
|
366
|
+
z-index: 11;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
.antd-Drawer--lg .antd-Drawer-content{
|
|
371
|
+
width: 60rem;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
.antd-PopOver{
|
|
376
|
+
z-index: 1360;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.antd-Tabs-linksWrapper {
|
|
380
|
+
border-right: var(--Table-borderWidth) solid var(--Table-borderColor)
|
|
381
|
+
}
|
|
382
|
+
.ant-dropdown{
|
|
383
|
+
z-index: 1400;
|
|
384
|
+
}
|
|
385
|
+
|
|
357
386
|
.ant-dropdown-menu {
|
|
358
387
|
border: 1px solid #e5e5e5;
|
|
359
388
|
border-radius: 0.25rem;
|
|
@@ -433,6 +462,14 @@ fieldset.antd-Collapse > legend{
|
|
|
433
462
|
/* .antd-Tabs {
|
|
434
463
|
margin: 1rem;
|
|
435
464
|
} */
|
|
465
|
+
|
|
466
|
+
@media (max-width: 767px){
|
|
467
|
+
.instance-default .antd-Form-item .antd-Form-label + .antd-Form-item-controlBox {
|
|
468
|
+
max-width: 100%;
|
|
469
|
+
padding-right: 15px;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
|
|
436
473
|
/* @tailwind base; */
|
|
437
474
|
.container {
|
|
438
475
|
width: 100%
|
|
@@ -601,6 +638,9 @@ fieldset.antd-Collapse > legend{
|
|
|
601
638
|
.mt-2 {
|
|
602
639
|
margin-top: 0.5rem
|
|
603
640
|
}
|
|
641
|
+
.mt-3 {
|
|
642
|
+
margin-top: 0.75rem
|
|
643
|
+
}
|
|
604
644
|
.mt-\[50px\] {
|
|
605
645
|
margin-top: 50px
|
|
606
646
|
}
|
|
@@ -706,6 +746,9 @@ fieldset.antd-Collapse > legend{
|
|
|
706
746
|
.w-8 {
|
|
707
747
|
width: 2rem
|
|
708
748
|
}
|
|
749
|
+
.w-80 {
|
|
750
|
+
width: 20rem
|
|
751
|
+
}
|
|
709
752
|
.w-96 {
|
|
710
753
|
width: 24rem
|
|
711
754
|
}
|
|
@@ -856,6 +899,9 @@ fieldset.antd-Collapse > legend{
|
|
|
856
899
|
.rounded-xl {
|
|
857
900
|
border-radius: 0.75rem
|
|
858
901
|
}
|
|
902
|
+
.border {
|
|
903
|
+
border-width: 1px
|
|
904
|
+
}
|
|
859
905
|
.border-0 {
|
|
860
906
|
border-width: 0px
|
|
861
907
|
}
|
|
@@ -904,6 +950,10 @@ fieldset.antd-Collapse > legend{
|
|
|
904
950
|
--tw-bg-opacity: 1;
|
|
905
951
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity))
|
|
906
952
|
}
|
|
953
|
+
.bg-gray-50 {
|
|
954
|
+
--tw-bg-opacity: 1;
|
|
955
|
+
background-color: rgb(249 250 251 / var(--tw-bg-opacity))
|
|
956
|
+
}
|
|
907
957
|
.bg-transparent {
|
|
908
958
|
background-color: transparent
|
|
909
959
|
}
|
|
@@ -943,6 +993,10 @@ fieldset.antd-Collapse > legend{
|
|
|
943
993
|
padding-left: 0.5rem;
|
|
944
994
|
padding-right: 0.5rem
|
|
945
995
|
}
|
|
996
|
+
.px-3 {
|
|
997
|
+
padding-left: 0.75rem;
|
|
998
|
+
padding-right: 0.75rem
|
|
999
|
+
}
|
|
946
1000
|
.px-4 {
|
|
947
1001
|
padding-left: 1rem;
|
|
948
1002
|
padding-right: 1rem
|
|
@@ -1143,11 +1197,8 @@ fieldset.antd-Collapse > legend{
|
|
|
1143
1197
|
.ease-in-out {
|
|
1144
1198
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)
|
|
1145
1199
|
}
|
|
1146
|
-
.
|
|
1147
|
-
|
|
1148
|
-
}
|
|
1149
|
-
.last\:border-b-0:last-child {
|
|
1150
|
-
border-bottom-width: 0px
|
|
1200
|
+
.last\:mb-0:last-child {
|
|
1201
|
+
margin-bottom: 0px
|
|
1151
1202
|
}
|
|
1152
1203
|
.hover\:bg-sky-50:hover {
|
|
1153
1204
|
--tw-bg-opacity: 1;
|
|
@@ -1185,8 +1236,8 @@ fieldset.antd-Collapse > legend{
|
|
|
1185
1236
|
.sm\:grid-cols-4 {
|
|
1186
1237
|
grid-template-columns: repeat(4, minmax(0, 1fr))
|
|
1187
1238
|
}
|
|
1188
|
-
.sm\:gap-
|
|
1189
|
-
gap:
|
|
1239
|
+
.sm\:gap-4 {
|
|
1240
|
+
gap: 1rem
|
|
1190
1241
|
}
|
|
1191
1242
|
.sm\:rounded {
|
|
1192
1243
|
border-radius: 0.25rem
|
|
@@ -1210,9 +1261,9 @@ fieldset.antd-Collapse > legend{
|
|
|
1210
1261
|
--tw-border-opacity: 1;
|
|
1211
1262
|
border-color: rgb(209 213 219 / var(--tw-border-opacity))
|
|
1212
1263
|
}
|
|
1213
|
-
.sm\:bg-gray-
|
|
1264
|
+
.sm\:bg-gray-50 {
|
|
1214
1265
|
--tw-bg-opacity: 1;
|
|
1215
|
-
background-color: rgb(
|
|
1266
|
+
background-color: rgb(249 250 251 / var(--tw-bg-opacity))
|
|
1216
1267
|
}
|
|
1217
1268
|
.sm\:p-3 {
|
|
1218
1269
|
padding: 0.75rem
|
|
@@ -1227,6 +1278,9 @@ fieldset.antd-Collapse > legend{
|
|
|
1227
1278
|
.md\:grid-cols-3 {
|
|
1228
1279
|
grid-template-columns: repeat(3, minmax(0, 1fr))
|
|
1229
1280
|
}
|
|
1281
|
+
.md\:overflow-auto {
|
|
1282
|
+
overflow: auto
|
|
1283
|
+
}
|
|
1230
1284
|
}
|
|
1231
1285
|
@media (min-width: 1024px) {
|
|
1232
1286
|
.lg\:z-50 {
|
|
@@ -1241,53 +1295,50 @@ fieldset.antd-Collapse > legend{
|
|
|
1241
1295
|
.lg\:flex {
|
|
1242
1296
|
display: flex
|
|
1243
1297
|
}
|
|
1244
|
-
.lg\:grid-cols-
|
|
1245
|
-
grid-template-columns: repeat(4, minmax(0, 1fr))
|
|
1246
|
-
}
|
|
1247
|
-
.lg\:grid-cols-5 {
|
|
1248
|
-
grid-template-columns: repeat(5, minmax(0, 1fr))
|
|
1249
|
-
}
|
|
1250
|
-
.lg\:flex-col {
|
|
1251
|
-
flex-direction: column
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
@media (min-width: 1280px) {
|
|
1255
|
-
.xl\:grid-cols-1 {
|
|
1298
|
+
.lg\:grid-cols-1 {
|
|
1256
1299
|
grid-template-columns: repeat(1, minmax(0, 1fr))
|
|
1257
1300
|
}
|
|
1258
|
-
.
|
|
1301
|
+
.lg\:grid-cols-10 {
|
|
1259
1302
|
grid-template-columns: repeat(10, minmax(0, 1fr))
|
|
1260
1303
|
}
|
|
1261
|
-
.
|
|
1304
|
+
.lg\:grid-cols-11 {
|
|
1262
1305
|
grid-template-columns: repeat(11, minmax(0, 1fr))
|
|
1263
1306
|
}
|
|
1264
|
-
.
|
|
1307
|
+
.lg\:grid-cols-12 {
|
|
1265
1308
|
grid-template-columns: repeat(12, minmax(0, 1fr))
|
|
1266
1309
|
}
|
|
1267
|
-
.
|
|
1310
|
+
.lg\:grid-cols-2 {
|
|
1268
1311
|
grid-template-columns: repeat(2, minmax(0, 1fr))
|
|
1269
1312
|
}
|
|
1270
|
-
.
|
|
1313
|
+
.lg\:grid-cols-3 {
|
|
1271
1314
|
grid-template-columns: repeat(3, minmax(0, 1fr))
|
|
1272
1315
|
}
|
|
1273
|
-
.
|
|
1316
|
+
.lg\:grid-cols-4 {
|
|
1274
1317
|
grid-template-columns: repeat(4, minmax(0, 1fr))
|
|
1275
1318
|
}
|
|
1276
|
-
.
|
|
1319
|
+
.lg\:grid-cols-5 {
|
|
1277
1320
|
grid-template-columns: repeat(5, minmax(0, 1fr))
|
|
1278
1321
|
}
|
|
1279
|
-
.
|
|
1322
|
+
.lg\:grid-cols-6 {
|
|
1280
1323
|
grid-template-columns: repeat(6, minmax(0, 1fr))
|
|
1281
1324
|
}
|
|
1282
|
-
.
|
|
1325
|
+
.lg\:grid-cols-7 {
|
|
1283
1326
|
grid-template-columns: repeat(7, minmax(0, 1fr))
|
|
1284
1327
|
}
|
|
1285
|
-
.
|
|
1328
|
+
.lg\:grid-cols-8 {
|
|
1286
1329
|
grid-template-columns: repeat(8, minmax(0, 1fr))
|
|
1287
1330
|
}
|
|
1288
|
-
.
|
|
1331
|
+
.lg\:grid-cols-9 {
|
|
1289
1332
|
grid-template-columns: repeat(9, minmax(0, 1fr))
|
|
1290
1333
|
}
|
|
1334
|
+
.lg\:flex-col {
|
|
1335
|
+
flex-direction: column
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
@media (min-width: 1280px) {
|
|
1339
|
+
.xl\:grid-cols-5 {
|
|
1340
|
+
grid-template-columns: repeat(5, minmax(0, 1fr))
|
|
1341
|
+
}
|
|
1291
1342
|
}
|
|
1292
1343
|
@media (min-width: 1536px) {
|
|
1293
1344
|
.\32xl\:grid-cols-5 {
|
|
@@ -1330,7 +1381,8 @@ fieldset.antd-Collapse > legend{
|
|
|
1330
1381
|
border-width: 0;
|
|
1331
1382
|
}
|
|
1332
1383
|
.steedos-record-related-list .antd-Table-contentWrap {
|
|
1333
|
-
|
|
1384
|
+
border-left-width: 1px;
|
|
1385
|
+
border-right-width: 1px;
|
|
1334
1386
|
}
|
|
1335
1387
|
.steedos-record-related-list .antd-Table-headToolbar {
|
|
1336
1388
|
display: none;
|
|
@@ -1416,6 +1468,23 @@ fieldset.antd-Collapse > legend{
|
|
|
1416
1468
|
display: none;
|
|
1417
1469
|
}
|
|
1418
1470
|
}
|
|
1471
|
+
.antd-Modal-body .steedos-lookup-crud .antd-Table-headToolbar.hasHelpText .antd-Crud-toolbar-item:first-child {
|
|
1472
|
+
width: 100%;
|
|
1473
|
+
margin-top: -12px;
|
|
1474
|
+
font-size: var(--Table-thead-fontSize);
|
|
1475
|
+
}
|
|
1476
|
+
.antd-Modal-body .steedos-lookup-crud .antd-Table-headToolbar.hasHelpText .antd-Crud-toolbar-item:nth-child(2) {
|
|
1477
|
+
margin-left: unset;
|
|
1478
|
+
}
|
|
1479
|
+
.antd-Modal-body .steedos-lookup-crud .antd-Table-headToolbar {
|
|
1480
|
+
padding-left: 0;
|
|
1481
|
+
padding-right: 0;
|
|
1482
|
+
}
|
|
1483
|
+
.antd-Modal-body .steedos-lookup-crud .antd-Crud-selection {
|
|
1484
|
+
padding-left: 0;
|
|
1485
|
+
padding-right: 0;
|
|
1486
|
+
margin-top: -10px;
|
|
1487
|
+
}
|
|
1419
1488
|
.steedos-select-user {
|
|
1420
1489
|
margin-left: 330px;
|
|
1421
1490
|
min-height: 300px;
|
|
@@ -1438,7 +1507,7 @@ fieldset.antd-Collapse > legend{
|
|
|
1438
1507
|
left: -330px;
|
|
1439
1508
|
width: 320px;
|
|
1440
1509
|
bottom: 0;
|
|
1441
|
-
top:
|
|
1510
|
+
top: 10px;
|
|
1442
1511
|
overflow: auto;
|
|
1443
1512
|
min-height: 300px;
|
|
1444
1513
|
}
|
|
@@ -1681,6 +1750,11 @@ fieldset.antd-Collapse > legend{
|
|
|
1681
1750
|
.antd-Crud .antd-Table tbody td > .antd-Form-static {
|
|
1682
1751
|
display: inline;
|
|
1683
1752
|
}
|
|
1753
|
+
@media (max-height: 780px) {
|
|
1754
|
+
.steedos-table-quickEdit .antd-Select-menu {
|
|
1755
|
+
max-height: 30vh;
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1684
1758
|
|
|
1685
1759
|
|
|
1686
1760
|
.steedos-dropdown-button-overlay .ant-dropdown-menu-item {
|
|
@@ -2398,6 +2472,12 @@ body.sidebar #sidebar {
|
|
|
2398
2472
|
}
|
|
2399
2473
|
}
|
|
2400
2474
|
|
|
2475
|
+
.instance-default .instance-form .form-control .antd-Form-item {
|
|
2476
|
+
padding: 0;
|
|
2477
|
+
}
|
|
2478
|
+
.instance-default .instance-form .form-control .antd-Form-item .antd-Form-static {
|
|
2479
|
+
padding: 0;
|
|
2480
|
+
}
|
|
2401
2481
|
|
|
2402
2482
|
.steedos-select-flow-service .antd-TreeControl > .antd-Tree {
|
|
2403
2483
|
max-height: unset;
|
|
@@ -2514,6 +2594,10 @@ body.sidebar #sidebar {
|
|
|
2514
2594
|
color: #000;
|
|
2515
2595
|
}
|
|
2516
2596
|
|
|
2597
|
+
.steedos-input-table .antd-DropDown-popover .antd-PopOver-overlay {
|
|
2598
|
+
display: none;
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2517
2601
|
|
|
2518
2602
|
.steedos-record-selected {
|
|
2519
2603
|
background: var(--Table-onChecked-bg) !important;
|