@steedos-widgets/amis-object 1.2.5 → 1.2.6-beta.11

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.
@@ -0,0 +1,2 @@
1
+ import './AmisGlobalFooter.less';
2
+ export declare const AmisGlobalFooter: (props: any) => Promise<{}>;
@@ -1,8 +1,161 @@
1
- import './AmisGlobalHeader.less';
2
1
  export declare const AmisGlobalHeader: (props: any) => Promise<{
3
2
  type: string;
4
- id: string;
5
3
  className: string;
6
- size: string;
7
- body: any[];
4
+ body: ({
5
+ type: string;
6
+ className: string;
7
+ body: ({
8
+ type: string;
9
+ className: string;
10
+ body: ({
11
+ type: string;
12
+ className: string;
13
+ body: ({
14
+ type: string;
15
+ className: string;
16
+ hiddenOn: string;
17
+ onEvent: {
18
+ click: {
19
+ actions: {
20
+ actionType: string;
21
+ script: string;
22
+ }[];
23
+ };
24
+ };
25
+ body: {
26
+ type: string;
27
+ category: string;
28
+ name: string;
29
+ colorVariant: string;
30
+ id: string;
31
+ className: string;
32
+ }[];
33
+ tpl?: undefined;
34
+ } | {
35
+ className: string;
36
+ type: string;
37
+ tpl: string;
38
+ hiddenOn?: undefined;
39
+ onEvent?: undefined;
40
+ body?: undefined;
41
+ })[];
42
+ label?: undefined;
43
+ logoutScript?: undefined;
44
+ customButtons?: undefined;
45
+ } | {
46
+ type: string;
47
+ label: string;
48
+ className: string;
49
+ logoutScript: string;
50
+ customButtons: ({
51
+ type: string;
52
+ className: string;
53
+ visibleOn: string;
54
+ onEvent: {
55
+ click: {
56
+ actions: {
57
+ actionType: string;
58
+ script: string;
59
+ }[];
60
+ };
61
+ };
62
+ body: {
63
+ type: string;
64
+ category: string;
65
+ name: string;
66
+ colorVariant: string;
67
+ id: string;
68
+ className: string;
69
+ }[];
70
+ showAppName?: undefined;
71
+ appId?: undefined;
72
+ } | {
73
+ type: string;
74
+ showAppName: boolean;
75
+ appId: string;
76
+ visibleOn: string;
77
+ className?: undefined;
78
+ onEvent?: undefined;
79
+ body?: undefined;
80
+ })[];
81
+ body?: undefined;
82
+ })[];
83
+ hiddenOn?: undefined;
84
+ columns?: undefined;
85
+ } | {
86
+ type: string;
87
+ className: string;
88
+ hiddenOn: string;
89
+ columns: ({
90
+ columnClassName: string;
91
+ body: {
92
+ type: string;
93
+ showAppName: boolean;
94
+ appId: string;
95
+ }[];
96
+ md: string;
97
+ valign: string;
98
+ hiddenOn?: undefined;
99
+ id?: undefined;
100
+ } | {
101
+ columnClassName: string;
102
+ hiddenOn: string;
103
+ body: {
104
+ visibleOn: string;
105
+ type: string;
106
+ stacked: boolean;
107
+ showIcon: boolean;
108
+ appId: string;
109
+ overflow: {
110
+ enable: boolean;
111
+ itemWidth: number;
112
+ };
113
+ id: string;
114
+ }[];
115
+ id: string;
116
+ md: string;
117
+ valign: string;
118
+ })[];
119
+ body?: undefined;
120
+ })[];
121
+ hiddenOn?: undefined;
122
+ onEvent?: undefined;
123
+ } | {
124
+ type: string;
125
+ className: string;
126
+ hiddenOn: string;
127
+ body: ({
128
+ type: string;
129
+ className: string;
130
+ body: ({
131
+ type: string;
132
+ className: string;
133
+ visibleOn: string;
134
+ showAppName: boolean;
135
+ stacked?: undefined;
136
+ appId?: undefined;
137
+ } | {
138
+ type: string;
139
+ stacked: boolean;
140
+ appId: string;
141
+ className?: undefined;
142
+ visibleOn?: undefined;
143
+ showAppName?: undefined;
144
+ })[];
145
+ hiddenOn?: undefined;
146
+ } | {
147
+ type: string;
148
+ className: string;
149
+ hiddenOn: string;
150
+ body?: undefined;
151
+ })[];
152
+ onEvent: {
153
+ click: {
154
+ actions: {
155
+ actionType: string;
156
+ script: string;
157
+ }[];
158
+ };
159
+ };
160
+ })[];
8
161
  }>;
@@ -0,0 +1,8 @@
1
+ import './AmisGlobalHeaderToolbar.less';
2
+ export declare const AmisGlobalHeaderToolbar: (props: any) => Promise<{
3
+ type: string;
4
+ id: string;
5
+ className: string;
6
+ size: string;
7
+ body: any[];
8
+ }>;
@@ -13,6 +13,8 @@ export * from './AmisProvider';
13
13
  export * from './AmisAppLauncher';
14
14
  export * from './AmisLogo';
15
15
  export * from './AmisAppMenu';
16
+ export * from './AmisGlobalFooter';
17
+ export * from './AmisGlobalHeaderToolbar';
16
18
  export * from './AmisGlobalHeader';
17
19
  export * from './AmisSteedosField';
18
20
  export * from './AmisSelectFlow';
@@ -295,15 +295,30 @@ body {
295
295
  .sticky {
296
296
  position: sticky
297
297
  }
298
+ .inset-0 {
299
+ top: 0px;
300
+ right: 0px;
301
+ bottom: 0px;
302
+ left: 0px
303
+ }
298
304
  .bottom-4 {
299
305
  bottom: 1rem
300
306
  }
301
307
  .right-4 {
302
308
  right: 1rem
303
309
  }
310
+ .bottom-0 {
311
+ bottom: 0px
312
+ }
304
313
  .top-0 {
305
314
  top: 0px
306
315
  }
316
+ .z-20 {
317
+ z-index: 20
318
+ }
319
+ .z-40 {
320
+ z-index: 40
321
+ }
307
322
  .z-10 {
308
323
  z-index: 10
309
324
  }
@@ -365,6 +380,12 @@ body {
365
380
  .mr-1 {
366
381
  margin-right: 0.25rem
367
382
  }
383
+ .mb-\[-3px\] {
384
+ margin-bottom: -3px
385
+ }
386
+ .mt-\[50px\] {
387
+ margin-top: 50px
388
+ }
368
389
  .mt-1 {
369
390
  margin-top: 0.25rem
370
391
  }
@@ -422,9 +443,15 @@ body {
422
443
  .h-12 {
423
444
  height: 3rem
424
445
  }
446
+ .h-16 {
447
+ height: 4rem
448
+ }
425
449
  .h-10 {
426
450
  height: 2.5rem
427
451
  }
452
+ .h-\[50px\] {
453
+ height: 50px
454
+ }
428
455
  .h-7 {
429
456
  height: 1.75rem
430
457
  }
@@ -467,6 +494,9 @@ body {
467
494
  .w-auto {
468
495
  width: auto
469
496
  }
497
+ .w-64 {
498
+ width: 16rem
499
+ }
470
500
  .w-96 {
471
501
  width: 24rem
472
502
  }
@@ -506,6 +536,10 @@ body {
506
536
  .flex-shrink-0 {
507
537
  flex-shrink: 0
508
538
  }
539
+ .-translate-x-0 {
540
+ --tw-translate-x: -0px;
541
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
542
+ }
509
543
  @keyframes spin {
510
544
  to {
511
545
  transform: rotate(360deg)
@@ -523,6 +557,9 @@ body {
523
557
  .flex-wrap {
524
558
  flex-wrap: wrap
525
559
  }
560
+ .flex-nowrap {
561
+ flex-wrap: nowrap
562
+ }
526
563
  .items-center {
527
564
  align-items: center
528
565
  }
@@ -532,6 +569,13 @@ body {
532
569
  .justify-between {
533
570
  justify-content: space-between
534
571
  }
572
+ .justify-evenly {
573
+ justify-content: space-evenly
574
+ }
575
+ .gap-x-3 {
576
+ -moz-column-gap: 0.75rem;
577
+ column-gap: 0.75rem
578
+ }
535
579
  .space-x-4 > :not([hidden]) ~ :not([hidden]) {
536
580
  --tw-space-x-reverse: 0;
537
581
  margin-right: calc(1rem * var(--tw-space-x-reverse));
@@ -554,9 +598,6 @@ body {
554
598
  .whitespace-nowrap {
555
599
  white-space: nowrap
556
600
  }
557
- .whitespace-pre-wrap {
558
- white-space: pre-wrap
559
- }
560
601
  .rounded {
561
602
  border-radius: 0.25rem
562
603
  }
@@ -582,6 +623,9 @@ body {
582
623
  .border-b {
583
624
  border-bottom-width: 1px
584
625
  }
626
+ .border-b-\[3px\] {
627
+ border-bottom-width: 3px
628
+ }
585
629
  .border-r {
586
630
  border-right-width: 1px
587
631
  }
@@ -602,6 +646,14 @@ body {
602
646
  --tw-border-opacity: 1;
603
647
  border-color: rgb(209 213 219 / var(--tw-border-opacity))
604
648
  }
649
+ .border-sky-500 {
650
+ --tw-border-opacity: 1;
651
+ border-color: rgb(14 165 233 / var(--tw-border-opacity))
652
+ }
653
+ .border-slate-200 {
654
+ --tw-border-opacity: 1;
655
+ border-color: rgb(226 232 240 / var(--tw-border-opacity))
656
+ }
605
657
  .border-gray-200 {
606
658
  --tw-border-opacity: 1;
607
659
  border-color: rgb(229 231 235 / var(--tw-border-opacity))
@@ -689,6 +741,18 @@ body {
689
741
  .pl-1 {
690
742
  padding-left: 0.25rem
691
743
  }
744
+ .pr-4 {
745
+ padding-right: 1rem
746
+ }
747
+ .pb-0 {
748
+ padding-bottom: 0px
749
+ }
750
+ .pb-16 {
751
+ padding-bottom: 4rem
752
+ }
753
+ .pb-4 {
754
+ padding-bottom: 1rem
755
+ }
692
756
  .text-left {
693
757
  text-align: left
694
758
  }
@@ -710,6 +774,9 @@ body {
710
774
  .text-\[15px\] {
711
775
  font-size: 15px
712
776
  }
777
+ .text-\[13px\] {
778
+ font-size: 13px
779
+ }
713
780
  .text-xs {
714
781
  font-size: 12px
715
782
  }
@@ -804,6 +871,25 @@ body {
804
871
  .\!filter {
805
872
  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
806
873
  }
874
+ .backdrop-blur {
875
+ --tw-backdrop-blur: blur(8px);
876
+ -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
877
+ backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
878
+ }
879
+ .transition-colors {
880
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
881
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
882
+ transition-duration: 150ms
883
+ }
884
+ .duration-500 {
885
+ transition-duration: 500ms
886
+ }
887
+ .duration-300 {
888
+ transition-duration: 300ms
889
+ }
890
+ .ease-in-out {
891
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)
892
+ }
807
893
  .hover\:bg-sky-50:hover {
808
894
  --tw-bg-opacity: 1;
809
895
  background-color: rgb(240 249 255 / var(--tw-bg-opacity))
@@ -819,9 +905,15 @@ body {
819
905
  .sm\:mt-3 {
820
906
  margin-top: 0.75rem
821
907
  }
908
+ .sm\:mt-\[90px\] {
909
+ margin-top: 90px
910
+ }
822
911
  .sm\:grid {
823
912
  display: grid
824
913
  }
914
+ .sm\:w-\[220px\] {
915
+ width: 220px
916
+ }
825
917
  .sm\:grid-cols-4 {
826
918
  grid-template-columns: repeat(4, minmax(0, 1fr))
827
919
  }
@@ -847,12 +939,23 @@ body {
847
939
  --tw-border-opacity: 1;
848
940
  border-color: rgb(209 213 219 / var(--tw-border-opacity))
849
941
  }
942
+ .sm\:bg-gray-100 {
943
+ --tw-bg-opacity: 1;
944
+ background-color: rgb(243 244 246 / var(--tw-bg-opacity))
945
+ }
850
946
  .sm\:p-0 {
851
947
  padding: 0px
852
948
  }
853
949
  .sm\:p-3 {
854
950
  padding: 0.75rem
855
951
  }
952
+ .sm\:px-3 {
953
+ padding-left: 0.75rem;
954
+ padding-right: 0.75rem
955
+ }
956
+ .sm\:pt-3 {
957
+ padding-top: 0.75rem
958
+ }
856
959
  .sm\:shadow {
857
960
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
858
961
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -865,6 +968,9 @@ body {
865
968
  }
866
969
  }
867
970
  @media (min-width: 1024px) {
971
+ .lg\:z-50 {
972
+ z-index: 50
973
+ }
868
974
  .lg\:order-first {
869
975
  order: -9999
870
976
  }
@@ -1081,6 +1187,78 @@ body {
1081
1187
  height: -webkit-fill-available !important;
1082
1188
  }
1083
1189
 
1190
+ .steedos-global-footer {
1191
+ border-top: 1px solid rgb(203 213 225);
1192
+ }
1193
+ .steedos-global-footer .antd-Nav-Menu-item,
1194
+ .steedos-global-footer .antd-Nav-Menu-submenu-title,
1195
+ .steedos-global-footer .antd-Nav-Menu-overflow-item-rest {
1196
+ background-color: rgb(243 244 246) !important;
1197
+ }
1198
+ .steedos-global-footer .antd-Nav-Menu-submenu-selected {
1199
+ border-bottom: none !important;
1200
+ }
1201
+ .steedos-global-footer .antd-Nav-Menu-item.antd-Nav-Menu-item-selected:after {
1202
+ width: 0;
1203
+ }
1204
+ .steedos-global-footer .antd-Nav-Menu-item-wrap svg {
1205
+ background-color: unset;
1206
+ fill: #64748b;
1207
+ }
1208
+ .steedos-global-footer .antd-Nav-Menu-item-selected .text-slate-700 {
1209
+ color: #0970d1 !important;
1210
+ }
1211
+ .steedos-global-footer .antd-Nav-Menu-item-selected svg {
1212
+ fill: #0970d1;
1213
+ }
1214
+ .steedos-global-footer .antd-Nav-Menu-item-link,
1215
+ .steedos-global-footer .antd-Nav-Menu-item-wrap,
1216
+ .antd-Nav-Menu-overflow-item {
1217
+ height: 100% !important;
1218
+ }
1219
+ .steedos-global-footer .antd-Nav-Menu-submenu-title {
1220
+ height: 100% !important;
1221
+ display: flex;
1222
+ align-items: center;
1223
+ }
1224
+ .steedos-global-footer-popup .nav-label {
1225
+ flex-direction: unset !important;
1226
+ }
1227
+ .steedos-global-footer-popup {
1228
+ height: calc(100vh - 125px);
1229
+ width: 100%;
1230
+ }
1231
+ .steedos-global-footer-popup .antd-Nav-Menu {
1232
+ height: 101.1%;
1233
+ overflow: auto;
1234
+ box-shadow: none;
1235
+ }
1236
+ .steedos-global-footer-popup .antd-Nav-Menu-item {
1237
+ padding-bottom: 10px;
1238
+ padding-top: 10px;
1239
+ border-bottom: 0.5px solid #e5e7eb;
1240
+ }
1241
+ .steedos-global-footer-popup .antd-Nav-Menu-item svg {
1242
+ margin-right: 12px;
1243
+ }
1244
+ .steedos-global-footer-popup .nav-label {
1245
+ font-size: 17px;
1246
+ }
1247
+ .steedos-global-footer-popup .antd-Nav-Menu-item-label-subTitle {
1248
+ max-width: 100% !important;
1249
+ }
1250
+ .steedos-global-footer-root .antd-Nav-Menu-horizontal.antd-Nav-Menu-light {
1251
+ background-color: rgb(243 244 246);
1252
+ }
1253
+ @media (max-width: 767px) {
1254
+ .steedos-object-listview .antd-Table-content {
1255
+ max-height: calc(100vh - 263px);
1256
+ }
1257
+ }
1258
+ .steedos-global-footer ul {
1259
+ order: unset !important;
1260
+ }
1261
+
1084
1262
  .sidebar-wrapper {
1085
1263
  transition: 0.5s ease translate;
1086
1264
  translate: -100% 0;