@steedos-widgets/amis-object 1.0.19 → 1.0.20

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.
@@ -8,9 +8,17 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
8
8
  _id: any;
9
9
  recordPermissions: any;
10
10
  uiSchema: any;
11
+ record: string;
11
12
  };
12
13
  body: {
13
14
  type: string;
15
+ data: {
16
+ "&": string;
17
+ objectName: any;
18
+ _id: any;
19
+ recordPermissions: string;
20
+ uiSchema: any;
21
+ };
14
22
  body: {
15
23
  type: string;
16
24
  columns: ({
@@ -40,7 +48,6 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
40
48
  className: string;
41
49
  }[];
42
50
  md: string;
43
- hiddenOn?: undefined;
44
51
  } | {
45
52
  body: {
46
53
  type: string;
@@ -53,11 +60,11 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
53
60
  }[];
54
61
  };
55
62
  md: string;
56
- hiddenOn: string;
57
63
  })[];
58
64
  className: string;
59
65
  }[];
60
66
  messages: {};
67
+ hiddenOn: string;
61
68
  }[];
62
69
  className: string;
63
70
  } & {
@@ -12,7 +12,27 @@ export declare const AmisRecordDetailRelatedList: (props: any) => Promise<{
12
12
  objectName: any;
13
13
  listViewId: string;
14
14
  };
15
- body: any[];
15
+ body: {
16
+ data: {
17
+ "&": string;
18
+ appId: string;
19
+ app_id: string;
20
+ relatedKey: any;
21
+ objectName: string;
22
+ recordId: string;
23
+ defaultData: {
24
+ [x: number]: any;
25
+ };
26
+ };
27
+ type: string;
28
+ objectApiName: any;
29
+ columns: any;
30
+ extraColumns: any;
31
+ filters: any;
32
+ filtersFunction: any;
33
+ sort: string;
34
+ ctx: {};
35
+ }[];
16
36
  } | {
17
37
  type: string;
18
38
  body: string;
@@ -6,6 +6,7 @@ export declare const AmisRecordDetailRelatedLists: (props: any) => Promise<{
6
6
  className: string;
7
7
  } | {
8
8
  type: string;
9
+ className: string;
9
10
  body: {
10
11
  type: string;
11
12
  objectApiName: any;
@@ -13,6 +14,10 @@ export declare const AmisRecordDetailRelatedLists: (props: any) => Promise<{
13
14
  relatedObjectApiName: any;
14
15
  foreign_key: any;
15
16
  relatedKey: any;
17
+ columns: any;
18
+ sort: any;
19
+ filters: any;
20
+ visible_on: any;
16
21
  perPage: any;
17
22
  hiddenEmptyTable: boolean;
18
23
  appId: any;
@@ -20,5 +25,4 @@ export declare const AmisRecordDetailRelatedLists: (props: any) => Promise<{
20
25
  }[];
21
26
  level?: undefined;
22
27
  showIcon?: undefined;
23
- className?: undefined;
24
28
  }>;
@@ -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;
@@ -278,6 +284,12 @@ body {
278
284
  .\!mb-6 {
279
285
  margin-bottom: 1.5rem !important
280
286
  }
287
+ .-ml-1 {
288
+ margin-left: -0.25rem
289
+ }
290
+ .mr-3 {
291
+ margin-right: 0.75rem
292
+ }
281
293
  .mt-0\.5 {
282
294
  margin-top: 0.125rem
283
295
  }
@@ -308,6 +320,9 @@ body {
308
320
  .h-4 {
309
321
  height: 1rem
310
322
  }
323
+ .h-\[20px\] {
324
+ height: 20px
325
+ }
311
326
  .h-12 {
312
327
  height: 3rem
313
328
  }
@@ -320,6 +335,12 @@ body {
320
335
  .h-7 {
321
336
  height: 1.75rem
322
337
  }
338
+ .h-full {
339
+ height: 100%
340
+ }
341
+ .h-8 {
342
+ height: 2rem
343
+ }
323
344
  .max-h-96 {
324
345
  max-height: 24rem
325
346
  }
@@ -353,6 +374,9 @@ body {
353
374
  .w-full {
354
375
  width: 100%
355
376
  }
377
+ .w-8 {
378
+ width: 2rem
379
+ }
356
380
  .\!min-w-\[160px\] {
357
381
  min-width: 160px !important
358
382
  }
@@ -475,6 +499,9 @@ body {
475
499
  .p-3 {
476
500
  padding: 0.75rem
477
501
  }
502
+ .p-1 {
503
+ padding: 0.25rem
504
+ }
478
505
  .px-0 {
479
506
  padding-left: 0px;
480
507
  padding-right: 0px
@@ -560,6 +587,10 @@ body {
560
587
  --tw-text-opacity: 1;
561
588
  color: rgb(0 0 0 / var(--tw-text-opacity))
562
589
  }
590
+ .text-gray-800 {
591
+ --tw-text-opacity: 1;
592
+ color: rgb(31 41 55 / var(--tw-text-opacity))
593
+ }
563
594
  .text-blue-600 {
564
595
  --tw-text-opacity: 1;
565
596
  color: rgb(37 99 235 / var(--tw-text-opacity))
@@ -568,9 +599,19 @@ body {
568
599
  --tw-text-opacity: 1;
569
600
  color: rgb(51 65 85 / var(--tw-text-opacity))
570
601
  }
602
+ .text-sky-500 {
603
+ --tw-text-opacity: 1;
604
+ color: rgb(14 165 233 / var(--tw-text-opacity))
605
+ }
571
606
  .no-underline {
572
607
  text-decoration-line: none
573
608
  }
609
+ .opacity-25 {
610
+ opacity: 0.25
611
+ }
612
+ .opacity-75 {
613
+ opacity: 0.75
614
+ }
574
615
  .shadow-none {
575
616
  --tw-shadow: 0 0 #0000;
576
617
  --tw-shadow-colored: 0 0 #0000;
@@ -587,10 +628,6 @@ body {
587
628
  .\!filter {
588
629
  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
630
  }
590
- .hover\:bg-gray-50:hover {
591
- --tw-bg-opacity: 1;
592
- background-color: rgb(249 250 251 / var(--tw-bg-opacity))
593
- }
594
631
  .hover\:bg-sky-50:hover {
595
632
  --tw-bg-opacity: 1;
596
633
  background-color: rgb(240 249 255 / var(--tw-bg-opacity))
@@ -684,17 +721,21 @@ body {
684
721
  overflow: hidden;
685
722
  text-overflow: ellipsis;
686
723
  }
687
- .steedos-listview .antd-Images {
724
+ .steedos-listview .antd-Images,
725
+ .steedos-object-table .antd-Images {
688
726
  display: inline !important;
689
727
  }
690
- .steedos-listview .antd-Image-thumb {
728
+ .steedos-listview .antd-Image-thumb,
729
+ .steedos-object-table .antd-Image-thumb {
691
730
  width: 1rem !important;
692
731
  height: 1rem !important;
693
732
  }
694
- .steedos-listview .min-w-56 {
733
+ .steedos-listview .min-w-56,
734
+ .steedos-object-table .min-w-56 {
695
735
  min-width: 220px;
696
736
  }
697
- .steedos-listview .textarea span {
737
+ .steedos-listview .textarea span,
738
+ .steedos-object-table .textarea span {
698
739
  -webkit-line-clamp: 3;
699
740
  display: -webkit-box;
700
741
  -webkit-box-orient: vertical;
@@ -702,32 +743,47 @@ body {
702
743
  text-overflow: ellipsis;
703
744
  }
704
745
  @media (max-width: 576px) {
705
- .steedos-listview .antd-Table-content table.antd-Table-table {
746
+ .steedos-listview .antd-Table-content table.antd-Table-table,
747
+ .steedos-object-table .antd-Table-content table.antd-Table-table {
706
748
  display: block;
707
749
  }
708
750
  .steedos-listview .antd-Table-content table.antd-Table-table thead,
751
+ .steedos-object-table .antd-Table-content table.antd-Table-table thead,
709
752
  .steedos-listview .antd-Table-content table.antd-Table-table tbody,
753
+ .steedos-object-table .antd-Table-content table.antd-Table-table tbody,
710
754
  .steedos-listview .antd-Table-content table.antd-Table-table tr,
755
+ .steedos-object-table .antd-Table-content table.antd-Table-table tr,
711
756
  .steedos-listview .antd-Table-content table.antd-Table-table th,
712
- .steedos-listview .antd-Table-content table.antd-Table-table td {
757
+ .steedos-object-table .antd-Table-content table.antd-Table-table th,
758
+ .steedos-listview .antd-Table-content table.antd-Table-table td,
759
+ .steedos-object-table .antd-Table-content table.antd-Table-table td {
713
760
  display: block;
714
761
  }
715
- .steedos-listview .antd-Table-content table.antd-Table-table thead {
762
+ .steedos-listview .antd-Table-content table.antd-Table-table thead,
763
+ .steedos-object-table .antd-Table-content table.antd-Table-table thead {
716
764
  display: none;
717
765
  }
718
- .steedos-listview .steedos-listview-item .steedos-listview-item-right {
766
+ .steedos-listview .steedos-listview-item .steedos-listview-item-right,
767
+ .steedos-object-table .steedos-listview-item .steedos-listview-item-right {
719
768
  max-width: 50%;
720
769
  }
721
- .steedos-listview .antd-Table-toolbar {
770
+ .steedos-listview .antd-Table-toolbar,
771
+ .steedos-object-table .antd-Table-toolbar {
722
772
  position: relative;
723
773
  }
724
- .steedos-listview .antd-Table-toolbar .antd-Crud-loadMore .antd-Button {
725
- position: absolute;
726
- bottom: -10px;
727
- left: 30px;
728
- right: 30px;
729
- }
730
- .steedos-listview .antd-Table-toolbar .antd-Crud-loadMore .antd-Button.is-disabled {
774
+ }
775
+ .antd-Table-toolbar .antd-Crud-loadMore .antd-Button {
776
+ border: none;
777
+ position: absolute;
778
+ bottom: -10px;
779
+ left: 30px;
780
+ right: 30px;
781
+ }
782
+ .antd-Table-toolbar .antd-Crud-loadMore .antd-Button.is-disabled {
783
+ display: none;
784
+ }
785
+ @media (max-width: 576px) {
786
+ .steedos-record-detail-related-lists .steedos-record-related-list .steedos-object-table .antd-Table-footToolbar {
731
787
  display: none;
732
788
  }
733
789
  .antd-Crud-toolbar {
@@ -741,6 +797,9 @@ body {
741
797
  padding: 0px !important;
742
798
  }
743
799
 
800
+ #main {
801
+ overflow: scroll;
802
+ }
744
803
  .steedos-listview .is-loading .antd-Table-contentWrap {
745
804
  height: 50px;
746
805
  }