@steedos-widgets/amis-object 1.0.19 → 1.0.21
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/AmisInstanceDetail.d.ts +612 -0
- package/dist/amis/AmisRecordDetailHeader.d.ts +9 -2
- package/dist/amis/AmisRecordDetailRelatedList.d.ts +21 -1
- package/dist/amis/AmisRecordDetailRelatedLists.d.ts +6 -2
- package/dist/amis/index.d.ts +1 -0
- package/dist/amis-object.cjs.css +206 -26
- package/dist/amis-object.cjs.js +1 -1
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +206 -26
- package/dist/amis-object.esm.js +1 -1
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +206 -26
- package/dist/amis-object.umd.js +1 -1
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets-dev.json +11 -11
- package/dist/assets.json +10 -10
- package/dist/components/SteedosLoading.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/meta.js +499 -329
- package/dist/metas/AmisInstanceDetail.d.ts +2 -0
- package/dist/metas/SteedosLoading.d.ts +2 -0
- package/dist/pages/PageListView.d.ts +1 -0
- package/dist/pages/index.d.ts +1 -0
- package/package.json +3 -3
package/dist/amis-object.esm.css
CHANGED
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
--Nav-item-onActive-bg: rgba(21,137,238,.1);
|
|
44
44
|
--Nav-item-onActive-color: #000;
|
|
45
45
|
--Crud-toolbar-gap: 2px;
|
|
46
|
+
--DropDown-caret-marginLeft: 0;
|
|
47
|
+
--Nav-Item-maxWidth--tabs: 200px;
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
fieldset.antd-Collapse {
|
|
@@ -139,6 +141,10 @@ body {
|
|
|
139
141
|
border-collapse: separate;
|
|
140
142
|
}
|
|
141
143
|
|
|
144
|
+
.antd-DropDown-caret > svg {
|
|
145
|
+
top: 0px;
|
|
146
|
+
}
|
|
147
|
+
|
|
142
148
|
.ant-dropdown-menu {
|
|
143
149
|
border: 1px solid #e5e5e5;
|
|
144
150
|
border-radius: 0.25rem;
|
|
@@ -223,6 +229,15 @@ body {
|
|
|
223
229
|
.fixed {
|
|
224
230
|
position: fixed
|
|
225
231
|
}
|
|
232
|
+
.absolute {
|
|
233
|
+
position: absolute
|
|
234
|
+
}
|
|
235
|
+
.bottom-4 {
|
|
236
|
+
bottom: 1rem
|
|
237
|
+
}
|
|
238
|
+
.right-4 {
|
|
239
|
+
right: 1rem
|
|
240
|
+
}
|
|
226
241
|
.col-span-2 {
|
|
227
242
|
grid-column: span 2 / span 2
|
|
228
243
|
}
|
|
@@ -242,6 +257,9 @@ body {
|
|
|
242
257
|
.mb-4 {
|
|
243
258
|
margin-bottom: 1rem
|
|
244
259
|
}
|
|
260
|
+
.mb-1 {
|
|
261
|
+
margin-bottom: 0.25rem
|
|
262
|
+
}
|
|
245
263
|
.mb-2 {
|
|
246
264
|
margin-bottom: 0.5rem
|
|
247
265
|
}
|
|
@@ -278,6 +296,12 @@ body {
|
|
|
278
296
|
.\!mb-6 {
|
|
279
297
|
margin-bottom: 1.5rem !important
|
|
280
298
|
}
|
|
299
|
+
.-ml-1 {
|
|
300
|
+
margin-left: -0.25rem
|
|
301
|
+
}
|
|
302
|
+
.mr-3 {
|
|
303
|
+
margin-right: 0.75rem
|
|
304
|
+
}
|
|
281
305
|
.mt-0\.5 {
|
|
282
306
|
margin-top: 0.125rem
|
|
283
307
|
}
|
|
@@ -302,12 +326,18 @@ body {
|
|
|
302
326
|
.hidden {
|
|
303
327
|
display: none
|
|
304
328
|
}
|
|
329
|
+
.h-14 {
|
|
330
|
+
height: 3.5rem
|
|
331
|
+
}
|
|
305
332
|
.h-5 {
|
|
306
333
|
height: 1.25rem
|
|
307
334
|
}
|
|
308
335
|
.h-4 {
|
|
309
336
|
height: 1rem
|
|
310
337
|
}
|
|
338
|
+
.h-\[20px\] {
|
|
339
|
+
height: 20px
|
|
340
|
+
}
|
|
311
341
|
.h-12 {
|
|
312
342
|
height: 3rem
|
|
313
343
|
}
|
|
@@ -320,6 +350,12 @@ body {
|
|
|
320
350
|
.h-7 {
|
|
321
351
|
height: 1.75rem
|
|
322
352
|
}
|
|
353
|
+
.h-full {
|
|
354
|
+
height: 100%
|
|
355
|
+
}
|
|
356
|
+
.h-8 {
|
|
357
|
+
height: 2rem
|
|
358
|
+
}
|
|
323
359
|
.max-h-96 {
|
|
324
360
|
max-height: 24rem
|
|
325
361
|
}
|
|
@@ -329,6 +365,9 @@ body {
|
|
|
329
365
|
.\!max-h-\[80vh\] {
|
|
330
366
|
max-height: 80vh !important
|
|
331
367
|
}
|
|
368
|
+
.w-14 {
|
|
369
|
+
width: 3.5rem
|
|
370
|
+
}
|
|
332
371
|
.w-4 {
|
|
333
372
|
width: 1rem
|
|
334
373
|
}
|
|
@@ -353,6 +392,9 @@ body {
|
|
|
353
392
|
.w-full {
|
|
354
393
|
width: 100%
|
|
355
394
|
}
|
|
395
|
+
.w-8 {
|
|
396
|
+
width: 2rem
|
|
397
|
+
}
|
|
356
398
|
.\!min-w-\[160px\] {
|
|
357
399
|
min-width: 160px !important
|
|
358
400
|
}
|
|
@@ -413,11 +455,14 @@ body {
|
|
|
413
455
|
.rounded {
|
|
414
456
|
border-radius: 0.25rem
|
|
415
457
|
}
|
|
458
|
+
.rounded-full {
|
|
459
|
+
border-radius: 9999px
|
|
460
|
+
}
|
|
416
461
|
.rounded-md {
|
|
417
462
|
border-radius: 0.375rem
|
|
418
463
|
}
|
|
419
|
-
.
|
|
420
|
-
border-
|
|
464
|
+
.border {
|
|
465
|
+
border-width: 1px
|
|
421
466
|
}
|
|
422
467
|
.border-0 {
|
|
423
468
|
border-width: 0px
|
|
@@ -426,6 +471,9 @@ body {
|
|
|
426
471
|
border-top-width: 1px;
|
|
427
472
|
border-bottom-width: 1px
|
|
428
473
|
}
|
|
474
|
+
.border-t {
|
|
475
|
+
border-top-width: 1px
|
|
476
|
+
}
|
|
429
477
|
.border-b {
|
|
430
478
|
border-bottom-width: 1px
|
|
431
479
|
}
|
|
@@ -454,12 +502,19 @@ body {
|
|
|
454
502
|
--tw-bg-opacity: 1;
|
|
455
503
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity))
|
|
456
504
|
}
|
|
505
|
+
.bg-blue-500 {
|
|
506
|
+
--tw-bg-opacity: 1;
|
|
507
|
+
background-color: rgb(59 130 246 / var(--tw-bg-opacity))
|
|
508
|
+
}
|
|
457
509
|
.\!bg-transparent {
|
|
458
510
|
background-color: transparent !important
|
|
459
511
|
}
|
|
460
512
|
.bg-transparent {
|
|
461
513
|
background-color: transparent
|
|
462
514
|
}
|
|
515
|
+
.bg-none {
|
|
516
|
+
background-image: none
|
|
517
|
+
}
|
|
463
518
|
.fill-slate-500 {
|
|
464
519
|
fill: #64748b
|
|
465
520
|
}
|
|
@@ -475,6 +530,9 @@ body {
|
|
|
475
530
|
.p-3 {
|
|
476
531
|
padding: 0.75rem
|
|
477
532
|
}
|
|
533
|
+
.p-1 {
|
|
534
|
+
padding: 0.25rem
|
|
535
|
+
}
|
|
478
536
|
.px-0 {
|
|
479
537
|
padding-left: 0px;
|
|
480
538
|
padding-right: 0px
|
|
@@ -519,6 +577,9 @@ body {
|
|
|
519
577
|
.text-center {
|
|
520
578
|
text-align: center
|
|
521
579
|
}
|
|
580
|
+
.text-base {
|
|
581
|
+
font-size: 14px
|
|
582
|
+
}
|
|
522
583
|
.text-md {
|
|
523
584
|
font-size: 14px
|
|
524
585
|
}
|
|
@@ -528,12 +589,12 @@ body {
|
|
|
528
589
|
.text-xl {
|
|
529
590
|
font-size: 18px
|
|
530
591
|
}
|
|
531
|
-
.text-base {
|
|
532
|
-
font-size: 14px
|
|
533
|
-
}
|
|
534
592
|
.text-\[15px\] {
|
|
535
593
|
font-size: 15px
|
|
536
594
|
}
|
|
595
|
+
.font-semibold {
|
|
596
|
+
font-weight: 600
|
|
597
|
+
}
|
|
537
598
|
.font-bold {
|
|
538
599
|
font-weight: 700
|
|
539
600
|
}
|
|
@@ -552,6 +613,22 @@ body {
|
|
|
552
613
|
.leading-3 {
|
|
553
614
|
line-height: .75rem
|
|
554
615
|
}
|
|
616
|
+
.text-white {
|
|
617
|
+
--tw-text-opacity: 1;
|
|
618
|
+
color: rgb(255 255 255 / var(--tw-text-opacity))
|
|
619
|
+
}
|
|
620
|
+
.text-\[blue\] {
|
|
621
|
+
--tw-text-opacity: 1;
|
|
622
|
+
color: rgb(0 0 255 / var(--tw-text-opacity))
|
|
623
|
+
}
|
|
624
|
+
.text-\[red\] {
|
|
625
|
+
--tw-text-opacity: 1;
|
|
626
|
+
color: rgb(255 0 0 / var(--tw-text-opacity))
|
|
627
|
+
}
|
|
628
|
+
.text-green-600 {
|
|
629
|
+
--tw-text-opacity: 1;
|
|
630
|
+
color: rgb(22 163 74 / var(--tw-text-opacity))
|
|
631
|
+
}
|
|
555
632
|
.text-gray-500 {
|
|
556
633
|
--tw-text-opacity: 1;
|
|
557
634
|
color: rgb(107 114 128 / var(--tw-text-opacity))
|
|
@@ -560,6 +637,10 @@ body {
|
|
|
560
637
|
--tw-text-opacity: 1;
|
|
561
638
|
color: rgb(0 0 0 / var(--tw-text-opacity))
|
|
562
639
|
}
|
|
640
|
+
.text-gray-800 {
|
|
641
|
+
--tw-text-opacity: 1;
|
|
642
|
+
color: rgb(31 41 55 / var(--tw-text-opacity))
|
|
643
|
+
}
|
|
563
644
|
.text-blue-600 {
|
|
564
645
|
--tw-text-opacity: 1;
|
|
565
646
|
color: rgb(37 99 235 / var(--tw-text-opacity))
|
|
@@ -568,14 +649,29 @@ body {
|
|
|
568
649
|
--tw-text-opacity: 1;
|
|
569
650
|
color: rgb(51 65 85 / var(--tw-text-opacity))
|
|
570
651
|
}
|
|
652
|
+
.text-sky-500 {
|
|
653
|
+
--tw-text-opacity: 1;
|
|
654
|
+
color: rgb(14 165 233 / var(--tw-text-opacity))
|
|
655
|
+
}
|
|
571
656
|
.no-underline {
|
|
572
657
|
text-decoration-line: none
|
|
573
658
|
}
|
|
659
|
+
.opacity-25 {
|
|
660
|
+
opacity: 0.25
|
|
661
|
+
}
|
|
662
|
+
.opacity-75 {
|
|
663
|
+
opacity: 0.75
|
|
664
|
+
}
|
|
574
665
|
.shadow-none {
|
|
575
666
|
--tw-shadow: 0 0 #0000;
|
|
576
667
|
--tw-shadow-colored: 0 0 #0000;
|
|
577
668
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
578
669
|
}
|
|
670
|
+
.shadow-lg {
|
|
671
|
+
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
672
|
+
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
673
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
674
|
+
}
|
|
579
675
|
.shadow {
|
|
580
676
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
581
677
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
@@ -587,10 +683,6 @@ body {
|
|
|
587
683
|
.\!filter {
|
|
588
684
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important
|
|
589
685
|
}
|
|
590
|
-
.hover\:bg-gray-50:hover {
|
|
591
|
-
--tw-bg-opacity: 1;
|
|
592
|
-
background-color: rgb(249 250 251 / var(--tw-bg-opacity))
|
|
593
|
-
}
|
|
594
686
|
.hover\:bg-sky-50:hover {
|
|
595
687
|
--tw-bg-opacity: 1;
|
|
596
688
|
background-color: rgb(240 249 255 / var(--tw-bg-opacity))
|
|
@@ -684,17 +776,21 @@ body {
|
|
|
684
776
|
overflow: hidden;
|
|
685
777
|
text-overflow: ellipsis;
|
|
686
778
|
}
|
|
687
|
-
.steedos-listview .antd-Images
|
|
779
|
+
.steedos-listview .antd-Images,
|
|
780
|
+
.steedos-object-table .antd-Images {
|
|
688
781
|
display: inline !important;
|
|
689
782
|
}
|
|
690
|
-
.steedos-listview .antd-Image-thumb
|
|
783
|
+
.steedos-listview .antd-Image-thumb,
|
|
784
|
+
.steedos-object-table .antd-Image-thumb {
|
|
691
785
|
width: 1rem !important;
|
|
692
786
|
height: 1rem !important;
|
|
693
787
|
}
|
|
694
|
-
.steedos-listview .min-w-56
|
|
788
|
+
.steedos-listview .min-w-56,
|
|
789
|
+
.steedos-object-table .min-w-56 {
|
|
695
790
|
min-width: 220px;
|
|
696
791
|
}
|
|
697
|
-
.steedos-listview .textarea span
|
|
792
|
+
.steedos-listview .textarea span,
|
|
793
|
+
.steedos-object-table .textarea span {
|
|
698
794
|
-webkit-line-clamp: 3;
|
|
699
795
|
display: -webkit-box;
|
|
700
796
|
-webkit-box-orient: vertical;
|
|
@@ -702,32 +798,47 @@ body {
|
|
|
702
798
|
text-overflow: ellipsis;
|
|
703
799
|
}
|
|
704
800
|
@media (max-width: 576px) {
|
|
705
|
-
.steedos-listview .antd-Table-content table.antd-Table-table
|
|
801
|
+
.steedos-listview .antd-Table-content table.antd-Table-table,
|
|
802
|
+
.steedos-object-table .antd-Table-content table.antd-Table-table {
|
|
706
803
|
display: block;
|
|
707
804
|
}
|
|
708
805
|
.steedos-listview .antd-Table-content table.antd-Table-table thead,
|
|
806
|
+
.steedos-object-table .antd-Table-content table.antd-Table-table thead,
|
|
709
807
|
.steedos-listview .antd-Table-content table.antd-Table-table tbody,
|
|
808
|
+
.steedos-object-table .antd-Table-content table.antd-Table-table tbody,
|
|
710
809
|
.steedos-listview .antd-Table-content table.antd-Table-table tr,
|
|
810
|
+
.steedos-object-table .antd-Table-content table.antd-Table-table tr,
|
|
711
811
|
.steedos-listview .antd-Table-content table.antd-Table-table th,
|
|
712
|
-
.steedos-
|
|
812
|
+
.steedos-object-table .antd-Table-content table.antd-Table-table th,
|
|
813
|
+
.steedos-listview .antd-Table-content table.antd-Table-table td,
|
|
814
|
+
.steedos-object-table .antd-Table-content table.antd-Table-table td {
|
|
713
815
|
display: block;
|
|
714
816
|
}
|
|
715
|
-
.steedos-listview .antd-Table-content table.antd-Table-table thead
|
|
817
|
+
.steedos-listview .antd-Table-content table.antd-Table-table thead,
|
|
818
|
+
.steedos-object-table .antd-Table-content table.antd-Table-table thead {
|
|
716
819
|
display: none;
|
|
717
820
|
}
|
|
718
|
-
.steedos-listview .steedos-listview-item .steedos-listview-item-right
|
|
821
|
+
.steedos-listview .steedos-listview-item .steedos-listview-item-right,
|
|
822
|
+
.steedos-object-table .steedos-listview-item .steedos-listview-item-right {
|
|
719
823
|
max-width: 50%;
|
|
720
824
|
}
|
|
721
|
-
.steedos-listview .antd-Table-toolbar
|
|
825
|
+
.steedos-listview .antd-Table-toolbar,
|
|
826
|
+
.steedos-object-table .antd-Table-toolbar {
|
|
722
827
|
position: relative;
|
|
723
828
|
}
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
829
|
+
}
|
|
830
|
+
.antd-Table-toolbar .antd-Crud-loadMore .antd-Button {
|
|
831
|
+
border: none;
|
|
832
|
+
position: absolute;
|
|
833
|
+
bottom: -10px;
|
|
834
|
+
left: 30px;
|
|
835
|
+
right: 30px;
|
|
836
|
+
}
|
|
837
|
+
.antd-Table-toolbar .antd-Crud-loadMore .antd-Button.is-disabled {
|
|
838
|
+
display: none;
|
|
839
|
+
}
|
|
840
|
+
@media (max-width: 576px) {
|
|
841
|
+
.steedos-record-detail-related-lists .steedos-record-related-list .steedos-object-table .antd-Table-footToolbar {
|
|
731
842
|
display: none;
|
|
732
843
|
}
|
|
733
844
|
.antd-Crud-toolbar {
|
|
@@ -741,6 +852,9 @@ body {
|
|
|
741
852
|
padding: 0px !important;
|
|
742
853
|
}
|
|
743
854
|
|
|
855
|
+
#main {
|
|
856
|
+
overflow: scroll;
|
|
857
|
+
}
|
|
744
858
|
.steedos-listview .is-loading .antd-Table-contentWrap {
|
|
745
859
|
height: 50px;
|
|
746
860
|
}
|
|
@@ -846,7 +960,7 @@ body.sidebar.sidebar-open #main {
|
|
|
846
960
|
display: block;
|
|
847
961
|
transition: ease-out opacity 0.2s;
|
|
848
962
|
position: fixed;
|
|
849
|
-
top:
|
|
963
|
+
top: 53px;
|
|
850
964
|
right: 0;
|
|
851
965
|
bottom: 0;
|
|
852
966
|
left: 0;
|
|
@@ -855,3 +969,69 @@ body.sidebar.sidebar-open #main {
|
|
|
855
969
|
opacity: 1;
|
|
856
970
|
}
|
|
857
971
|
}
|
|
972
|
+
|
|
973
|
+
.steedos-amis-instance-view {
|
|
974
|
+
font-size: 0.8125rem;
|
|
975
|
+
}
|
|
976
|
+
.steedos-amis-instance-view .instance-name {
|
|
977
|
+
font-size: 20px;
|
|
978
|
+
}
|
|
979
|
+
.steedos-amis-instance-view .instance-form-view {
|
|
980
|
+
width: 100%;
|
|
981
|
+
border-collapse: collapse;
|
|
982
|
+
border: 2px solid #000;
|
|
983
|
+
}
|
|
984
|
+
.steedos-amis-instance-view .instance-applicant-view {
|
|
985
|
+
border: none !important;
|
|
986
|
+
}
|
|
987
|
+
.steedos-amis-instance-view .instance-applicant-view td {
|
|
988
|
+
border: none !important;
|
|
989
|
+
}
|
|
990
|
+
.steedos-amis-instance-view .instance-form-view .antd-TextControl-input {
|
|
991
|
+
background-color: transparent !important;
|
|
992
|
+
border: none !important;
|
|
993
|
+
box-shadow: none !important;
|
|
994
|
+
}
|
|
995
|
+
.steedos-amis-instance-view .instance-form-view .antd-Select {
|
|
996
|
+
background-color: transparent !important;
|
|
997
|
+
border: none !important;
|
|
998
|
+
box-shadow: none !important;
|
|
999
|
+
}
|
|
1000
|
+
.steedos-amis-instance-view .instance-form-view .antd-DatePicker {
|
|
1001
|
+
background-color: transparent !important;
|
|
1002
|
+
border: none !important;
|
|
1003
|
+
box-shadow: none !important;
|
|
1004
|
+
}
|
|
1005
|
+
.steedos-amis-instance-view .instance-form-view .antd-TextareaControl-input {
|
|
1006
|
+
background-color: transparent !important;
|
|
1007
|
+
border: none !important;
|
|
1008
|
+
box-shadow: none !important;
|
|
1009
|
+
}
|
|
1010
|
+
.steedos-amis-instance-view .instance-form-view .antd-Number {
|
|
1011
|
+
background-color: transparent !important;
|
|
1012
|
+
border: none !important;
|
|
1013
|
+
box-shadow: none !important;
|
|
1014
|
+
}
|
|
1015
|
+
.steedos-amis-instance-view .instance-form-view .antd-Picker-input {
|
|
1016
|
+
background-color: transparent !important;
|
|
1017
|
+
border: none !important;
|
|
1018
|
+
box-shadow: none !important;
|
|
1019
|
+
}
|
|
1020
|
+
.approval-drawer .antd-Drawer-content {
|
|
1021
|
+
display: block !important;
|
|
1022
|
+
height: auto !important;
|
|
1023
|
+
}
|
|
1024
|
+
.steedos-amis-instance-view .antd-PullRefresh {
|
|
1025
|
+
height: 100%;
|
|
1026
|
+
}
|
|
1027
|
+
.steedos-amis-instance-view .instance-applicant-view .antd-Picker-input {
|
|
1028
|
+
background-color: transparent !important;
|
|
1029
|
+
border: none !important;
|
|
1030
|
+
box-shadow: none !important;
|
|
1031
|
+
}
|
|
1032
|
+
.steedos-amis-instance-view #amis-root-workflow .antd-List-placeholder {
|
|
1033
|
+
display: none;
|
|
1034
|
+
}
|
|
1035
|
+
.steedos-amis-instance-view .form-control {
|
|
1036
|
+
background: no-repeat;
|
|
1037
|
+
}
|