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

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.
@@ -1,18 +1,19 @@
1
1
  import './AmisAppMenu.less';
2
2
  export declare const AmisAppMenu: (props: any) => Promise<{
3
3
  type: string;
4
- className: string;
5
- stacked: any;
6
- overflow: any;
7
- indentSize: any;
8
- links: any;
9
- source: {
4
+ schemaApi: {
10
5
  method: string;
11
6
  url: string;
12
7
  adaptor: string;
13
8
  headers: {
14
9
  Authorization: string;
15
10
  };
16
- sendOn: string;
17
11
  };
12
+ } | {
13
+ type: string;
14
+ className: string;
15
+ stacked: any;
16
+ overflow: any;
17
+ indentSize: any;
18
+ links: any;
18
19
  }>;
@@ -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));
@@ -582,6 +626,9 @@ body {
582
626
  .border-b {
583
627
  border-bottom-width: 1px
584
628
  }
629
+ .border-b-\[3px\] {
630
+ border-bottom-width: 3px
631
+ }
585
632
  .border-r {
586
633
  border-right-width: 1px
587
634
  }
@@ -602,6 +649,14 @@ body {
602
649
  --tw-border-opacity: 1;
603
650
  border-color: rgb(209 213 219 / var(--tw-border-opacity))
604
651
  }
652
+ .border-sky-500 {
653
+ --tw-border-opacity: 1;
654
+ border-color: rgb(14 165 233 / var(--tw-border-opacity))
655
+ }
656
+ .border-slate-200 {
657
+ --tw-border-opacity: 1;
658
+ border-color: rgb(226 232 240 / var(--tw-border-opacity))
659
+ }
605
660
  .border-gray-200 {
606
661
  --tw-border-opacity: 1;
607
662
  border-color: rgb(229 231 235 / var(--tw-border-opacity))
@@ -689,6 +744,18 @@ body {
689
744
  .pl-1 {
690
745
  padding-left: 0.25rem
691
746
  }
747
+ .pr-4 {
748
+ padding-right: 1rem
749
+ }
750
+ .pb-0 {
751
+ padding-bottom: 0px
752
+ }
753
+ .pb-16 {
754
+ padding-bottom: 4rem
755
+ }
756
+ .pb-4 {
757
+ padding-bottom: 1rem
758
+ }
692
759
  .text-left {
693
760
  text-align: left
694
761
  }
@@ -710,6 +777,9 @@ body {
710
777
  .text-\[15px\] {
711
778
  font-size: 15px
712
779
  }
780
+ .text-\[13px\] {
781
+ font-size: 13px
782
+ }
713
783
  .text-xs {
714
784
  font-size: 12px
715
785
  }
@@ -804,6 +874,25 @@ body {
804
874
  .\!filter {
805
875
  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
876
  }
877
+ .backdrop-blur {
878
+ --tw-backdrop-blur: blur(8px);
879
+ -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);
880
+ 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)
881
+ }
882
+ .transition-colors {
883
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
884
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
885
+ transition-duration: 150ms
886
+ }
887
+ .duration-500 {
888
+ transition-duration: 500ms
889
+ }
890
+ .duration-300 {
891
+ transition-duration: 300ms
892
+ }
893
+ .ease-in-out {
894
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)
895
+ }
807
896
  .hover\:bg-sky-50:hover {
808
897
  --tw-bg-opacity: 1;
809
898
  background-color: rgb(240 249 255 / var(--tw-bg-opacity))
@@ -819,9 +908,15 @@ body {
819
908
  .sm\:mt-3 {
820
909
  margin-top: 0.75rem
821
910
  }
911
+ .sm\:mt-\[90px\] {
912
+ margin-top: 90px
913
+ }
822
914
  .sm\:grid {
823
915
  display: grid
824
916
  }
917
+ .sm\:w-\[220px\] {
918
+ width: 220px
919
+ }
825
920
  .sm\:grid-cols-4 {
826
921
  grid-template-columns: repeat(4, minmax(0, 1fr))
827
922
  }
@@ -865,6 +960,9 @@ body {
865
960
  }
866
961
  }
867
962
  @media (min-width: 1024px) {
963
+ .lg\:z-50 {
964
+ z-index: 50
965
+ }
868
966
  .lg\:order-first {
869
967
  order: -9999
870
968
  }
@@ -1081,6 +1179,58 @@ body {
1081
1179
  height: -webkit-fill-available !important;
1082
1180
  }
1083
1181
 
1182
+ .antd-AmisGlobalFooter .antd-Nav-Menu-item,
1183
+ .antd-AmisGlobalFooter .antd-Nav-Menu-submenu-title,
1184
+ .antd-AmisGlobalFooter .antd-Nav-Menu-overflow-item-rest {
1185
+ background-color: rgb(243 244 246) !important;
1186
+ }
1187
+ .antd-AmisGlobalFooter .antd-Nav-Menu-submenu-selected {
1188
+ border-bottom: none !important;
1189
+ }
1190
+ .antd-AmisGlobalFooter .antd-Nav-Menu-item.antd-Nav-Menu-item-selected:after {
1191
+ width: 0;
1192
+ }
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;
1199
+ }
1200
+ .antd-AmisGlobalFooter .antd-Nav-Menu-item-selected .text-slate-700,
1201
+ .footer-popup .antd-Nav-Menu-item-selected .text-slate-700 {
1202
+ color: #0970d1 !important;
1203
+ }
1204
+ .antd-AmisGlobalFooter .antd-Nav-Menu-item-selected svg,
1205
+ .footer-popup .antd-Nav-Menu-item-selected svg {
1206
+ fill: #0970d1;
1207
+ }
1208
+ .antd-AmisGlobalFooter .antd-Nav-Menu-item-link,
1209
+ .antd-AmisGlobalFooter .antd-Nav-Menu-item-wrap,
1210
+ .antd-Nav-Menu-overflow-item {
1211
+ height: 100% !important;
1212
+ }
1213
+ .antd-AmisGlobalFooter .antd-Nav-Menu-submenu-title {
1214
+ height: 100% !important;
1215
+ display: flex;
1216
+ align-items: center;
1217
+ }
1218
+ .footer-popup .nav-label {
1219
+ flex-direction: unset !important;
1220
+ }
1221
+ .footer-popup {
1222
+ max-height: 50vh;
1223
+ overflow: auto;
1224
+ }
1225
+ .steedos-global-footer-root .antd-Nav-Menu-horizontal.antd-Nav-Menu-light {
1226
+ background-color: rgb(243 244 246);
1227
+ }
1228
+ @media (max-width: 767px) {
1229
+ .steedos-object-listview .antd-Table-content {
1230
+ max-height: calc(100vh - 263px);
1231
+ }
1232
+ }
1233
+
1084
1234
  .sidebar-wrapper {
1085
1235
  transition: 0.5s ease translate;
1086
1236
  translate: -100% 0;