@steedos-widgets/amis-object 6.3.0-beta.9 → 6.3.1

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,7 +1,7 @@
1
1
  export declare const AmisAppLauncher: (props: any) => Promise<{
2
2
  type: string;
3
3
  className: any;
4
- body: {
4
+ body: ({
5
5
  type: string;
6
6
  actionType: string;
7
7
  className: string;
@@ -14,10 +14,275 @@ export declare const AmisAppLauncher: (props: any) => Promise<{
14
14
  className: string;
15
15
  };
16
16
  actions: any[];
17
- body: {}[];
17
+ body: {
18
+ type: string;
19
+ className: string;
20
+ affixFooter: boolean;
21
+ body: ({
22
+ type: string;
23
+ source: string;
24
+ items: {
25
+ type: string;
26
+ level: string;
27
+ body: {
28
+ type: string;
29
+ tpl: string;
30
+ badge: {
31
+ mode: string;
32
+ text: string;
33
+ visibleOn: string;
34
+ overflowCount: number;
35
+ style: {
36
+ right: string;
37
+ "margin-right": string;
38
+ height: string;
39
+ "border-radius": string;
40
+ "font-size": string;
41
+ "line-height": string;
42
+ };
43
+ };
44
+ }[];
45
+ onEvent: {
46
+ click: {
47
+ actions: ({
48
+ actionType: string;
49
+ args?: undefined;
50
+ expression?: undefined;
51
+ script?: undefined;
52
+ } | {
53
+ actionType: string;
54
+ args: {
55
+ link: string;
56
+ };
57
+ expression: string;
58
+ script?: undefined;
59
+ } | {
60
+ actionType: string;
61
+ script: string;
62
+ expression: string;
63
+ args?: undefined;
64
+ })[];
65
+ };
66
+ };
67
+ visibleOn: string;
68
+ className: string;
69
+ style: {
70
+ display: string;
71
+ "justify-content": string;
72
+ };
73
+ };
74
+ className: string;
75
+ id: string;
76
+ level?: undefined;
77
+ label?: undefined;
78
+ actionType?: undefined;
79
+ dialog?: undefined;
80
+ } | {
81
+ type: string;
82
+ className: string;
83
+ source?: undefined;
84
+ items?: undefined;
85
+ id?: undefined;
86
+ level?: undefined;
87
+ label?: undefined;
88
+ actionType?: undefined;
89
+ dialog?: undefined;
90
+ } | {
91
+ type: string;
92
+ level: string;
93
+ label: string;
94
+ className: string;
95
+ actionType: string;
96
+ dialog: {
97
+ size: string;
98
+ title: {
99
+ type: string;
100
+ tpl: string;
101
+ className: string;
102
+ };
103
+ actions: any[];
104
+ body: {}[];
105
+ };
106
+ source?: undefined;
107
+ items?: undefined;
108
+ id?: undefined;
109
+ })[];
110
+ clearValueOnHidden: boolean;
111
+ visible: boolean;
112
+ messages: {};
113
+ api: {
114
+ method: string;
115
+ cache: string;
116
+ url: string;
117
+ headers: {
118
+ Authorization: string;
119
+ };
120
+ adaptor: string;
121
+ messages: {};
122
+ };
123
+ onEvent: {
124
+ "@data.changed.steedos_keyvalues": {
125
+ actions: {
126
+ actionType: string;
127
+ }[];
128
+ };
129
+ fetchInited: {
130
+ actions: {
131
+ actionType: string;
132
+ args: {
133
+ eventName: string;
134
+ };
135
+ data: {
136
+ apps: string;
137
+ };
138
+ }[];
139
+ };
140
+ };
141
+ id: string;
142
+ }[];
18
143
  };
19
144
  id: string;
20
- }[];
145
+ placement?: undefined;
146
+ trigger?: undefined;
147
+ overlay?: undefined;
148
+ open?: undefined;
149
+ } | {
150
+ type: string;
151
+ placement: string;
152
+ trigger: string[];
153
+ body: any[];
154
+ overlay: {
155
+ type: string;
156
+ className: string;
157
+ affixFooter: boolean;
158
+ body: ({
159
+ type: string;
160
+ source: string;
161
+ items: {
162
+ type: string;
163
+ level: string;
164
+ body: {
165
+ type: string;
166
+ tpl: string;
167
+ badge: {
168
+ mode: string;
169
+ text: string;
170
+ visibleOn: string;
171
+ overflowCount: number;
172
+ style: {
173
+ right: string;
174
+ "margin-right": string;
175
+ height: string;
176
+ "border-radius": string;
177
+ "font-size": string;
178
+ "line-height": string;
179
+ };
180
+ };
181
+ }[];
182
+ onEvent: {
183
+ click: {
184
+ actions: ({
185
+ actionType: string;
186
+ args?: undefined;
187
+ expression?: undefined;
188
+ script?: undefined;
189
+ } | {
190
+ actionType: string;
191
+ args: {
192
+ link: string;
193
+ };
194
+ expression: string;
195
+ script?: undefined;
196
+ } | {
197
+ actionType: string;
198
+ script: string;
199
+ expression: string;
200
+ args?: undefined;
201
+ })[];
202
+ };
203
+ };
204
+ visibleOn: string;
205
+ className: string;
206
+ style: {
207
+ display: string;
208
+ "justify-content": string;
209
+ };
210
+ };
211
+ className: string;
212
+ id: string;
213
+ level?: undefined;
214
+ label?: undefined;
215
+ actionType?: undefined;
216
+ dialog?: undefined;
217
+ } | {
218
+ type: string;
219
+ className: string;
220
+ source?: undefined;
221
+ items?: undefined;
222
+ id?: undefined;
223
+ level?: undefined;
224
+ label?: undefined;
225
+ actionType?: undefined;
226
+ dialog?: undefined;
227
+ } | {
228
+ type: string;
229
+ level: string;
230
+ label: string;
231
+ className: string;
232
+ actionType: string;
233
+ dialog: {
234
+ size: string;
235
+ title: {
236
+ type: string;
237
+ tpl: string;
238
+ className: string;
239
+ };
240
+ actions: any[];
241
+ body: {}[];
242
+ };
243
+ source?: undefined;
244
+ items?: undefined;
245
+ id?: undefined;
246
+ })[];
247
+ clearValueOnHidden: boolean;
248
+ visible: boolean;
249
+ messages: {};
250
+ api: {
251
+ method: string;
252
+ cache: string;
253
+ url: string;
254
+ headers: {
255
+ Authorization: string;
256
+ };
257
+ adaptor: string;
258
+ messages: {};
259
+ };
260
+ onEvent: {
261
+ "@data.changed.steedos_keyvalues": {
262
+ actions: {
263
+ actionType: string;
264
+ }[];
265
+ };
266
+ fetchInited: {
267
+ actions: {
268
+ actionType: string;
269
+ args: {
270
+ eventName: string;
271
+ };
272
+ data: {
273
+ apps: string;
274
+ };
275
+ }[];
276
+ };
277
+ };
278
+ id: string;
279
+ }[];
280
+ className: string;
281
+ open: boolean;
282
+ actionType?: undefined;
283
+ dialog?: undefined;
284
+ id?: undefined;
285
+ })[];
21
286
  id: string;
22
287
  messages: {};
23
288
  onEvent: {
@@ -19,6 +19,7 @@ export declare const AmisInputTable: (props: any) => Promise<{
19
19
  pipeIn: (value: any, data: any) => any;
20
20
  pipeOut: (value: any, data: any) => any;
21
21
  required: any;
22
+ description: any;
22
23
  }[];
23
24
  id: string;
24
25
  className: string;
@@ -14,6 +14,7 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
14
14
  columns: ({
15
15
  body: ({
16
16
  type: string;
17
+ className: string;
17
18
  onEvent: {
18
19
  "@history_paths.changed": {
19
20
  actions: {
@@ -619,9 +619,6 @@ fieldset.antd-Collapse > legend{
619
619
  .top-0 {
620
620
  top: 0px
621
621
  }
622
- .z-10 {
623
- z-index: 10
624
- }
625
622
  .z-20 {
626
623
  z-index: 20
627
624
  }
@@ -681,6 +678,9 @@ fieldset.antd-Collapse > legend{
681
678
  .ml-2 {
682
679
  margin-left: 0.5rem
683
680
  }
681
+ .ml-3 {
682
+ margin-left: 0.75rem
683
+ }
684
684
  .ml-4 {
685
685
  margin-left: 1rem
686
686
  }
@@ -982,6 +982,9 @@ fieldset.antd-Collapse > legend{
982
982
  border-top-width: 1px;
983
983
  border-bottom-width: 1px
984
984
  }
985
+ .\!border-b-0 {
986
+ border-bottom-width: 0px !important
987
+ }
985
988
  .border-b {
986
989
  border-bottom-width: 1px
987
990
  }
@@ -1296,6 +1299,12 @@ fieldset.antd-Collapse > legend{
1296
1299
  .sm\:sticky {
1297
1300
  position: sticky
1298
1301
  }
1302
+ .sm\:z-10 {
1303
+ z-index: 10
1304
+ }
1305
+ .sm\:m-2 {
1306
+ margin: 0.5rem
1307
+ }
1299
1308
  .sm\:m-3 {
1300
1309
  margin: 0.75rem
1301
1310
  }
@@ -1364,8 +1373,8 @@ fieldset.antd-Collapse > legend{
1364
1373
  }
1365
1374
  }
1366
1375
  @media (min-width: 1024px) {
1367
- .lg\:z-50 {
1368
- z-index: 50
1376
+ .lg\:z-\[1000\] {
1377
+ z-index: 1000
1369
1378
  }
1370
1379
  .lg\:order-first {
1371
1380
  order: -9999
@@ -1823,6 +1832,9 @@ fieldset.antd-Collapse > legend{
1823
1832
  .antd-Crud .antd-Table tbody td > .antd-Form-static {
1824
1833
  display: inline;
1825
1834
  }
1835
+ .antd-Crud .antd-Table tbody td > .antd-Form-static .antd-Form-control {
1836
+ display: inline;
1837
+ }
1826
1838
  @media (max-height: 780px) {
1827
1839
  .steedos-table-quickEdit .antd-Select-menu {
1828
1840
  max-height: 30vh;
@@ -1842,16 +1854,32 @@ fieldset.antd-Collapse > legend{
1842
1854
  overflow: auto;
1843
1855
  }
1844
1856
 
1845
- .buttons-drawer .antd-Drawer-content{
1857
+ /* 去除下拉按钮内图标的边距 */
1858
+ .steedos-mobile-header-drop-down i.icon{
1859
+ margin: 0;
1860
+ }
1861
+
1862
+ /* .buttons-drawer .antd-Drawer-content{
1846
1863
  height: auto !important;
1847
1864
  max-height: 70% !important;
1848
- }
1865
+ } */
1849
1866
 
1850
- .buttons-drawer .antd-Drawer-body{
1867
+ /* .buttons-drawer .antd-Drawer-body{
1851
1868
  overflow: inherit !important;
1869
+ } */
1870
+
1871
+ .buttons-drawer{
1872
+ position: fixed !important;
1873
+ top: 0 !important;
1874
+ bottom: 0 !important;
1875
+ left: 0 !important;
1876
+ right: 0 !important;
1877
+ max-height: unset;
1878
+ padding: 0;
1879
+ margin: 0;
1852
1880
  }
1853
1881
 
1854
- .buttons-drawer .antd-Drawer-body button{
1882
+ .buttons-drawer .antd-ButtonGroup button{
1855
1883
  border-color: #c9c9c9;
1856
1884
  border-right: none !important;
1857
1885
  border-left: none !important;
@@ -1936,9 +1964,6 @@ body.steedos {
1936
1964
  -moz-column-gap: 1rem;
1937
1965
  column-gap: 1rem;
1938
1966
  }
1939
- .steedos-object-form .antd-Collapse .antd-Collapse-header.hidden {
1940
- display: none !important;
1941
- }
1942
1967
  .steedos-object-form .antd-Tabs-pane.is-active {
1943
1968
  display: grid;
1944
1969
  grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -1949,9 +1974,6 @@ body.steedos {
1949
1974
  .steedos-object-form .steedos-markdown .antd-Tabs-pane.is-active {
1950
1975
  display: block;
1951
1976
  }
1952
- .steedos-amis-form .antd-Form-item:last-child {
1953
- margin-bottom: auto;
1954
- }
1955
1977
  .antd-Select-popover .antd-Select-menu .antd-Select-option .antd-Checkbox--checkbox {
1956
1978
  white-space: nowrap;
1957
1979
  }
@@ -1965,6 +1987,9 @@ body.steedos {
1965
1987
  overflow: visible;
1966
1988
  }
1967
1989
  }
1990
+ .steedos-object-form .antd-Collapse .antd-Collapse-header.hidden {
1991
+ display: none !important;
1992
+ }
1968
1993
  .steedos-object-form .steedos-input-rich-text-readonly .antd-RichTextControl {
1969
1994
  border: 0;
1970
1995
  }
@@ -1972,6 +1997,9 @@ body.steedos {
1972
1997
  .steedos-object-form .antd-Form-item .antd-Form-label + .antd-Form-item-controlBox {
1973
1998
  max-width: unset;
1974
1999
  }
2000
+ .steedos-object-form .antd-Collapse::before {
2001
+ content: unset;
2002
+ }
1975
2003
  }
1976
2004
 
1977
2005
  @media (max-width: 767px) {
@@ -2149,26 +2177,43 @@ body.steedos {
2149
2177
  margin-top: -6px;
2150
2178
  }
2151
2179
  }
2180
+ .steedos-object-listview .antd-Wrapper .steedos-listview-change-button .antd-DropDown-menu .antd-DropDown-groupTitle {
2181
+ padding: 0;
2182
+ }
2183
+ .steedos-object-listview .antd-Wrapper .steedos-listview-change-button .antd-DropDown-menu li > .antd-Action {
2184
+ width: 100%;
2185
+ }
2186
+ .steedos-object-listview .antd-Wrapper .steedos-listview-change-button .antd-DropDown-menu li > .antd-Action .steedos-listview-edit-button {
2187
+ visibility: hidden;
2188
+ }
2189
+ .steedos-object-listview .antd-Wrapper .steedos-listview-change-button .antd-DropDown-menu li > .antd-Action .steedos-listview-edit-button .fa-edit {
2190
+ color: #aaa;
2191
+ font-weight: 400;
2192
+ font-size: 13px;
2193
+ }
2194
+ .steedos-object-listview .antd-Wrapper .steedos-listview-change-button .antd-DropDown-menu li:hover .steedos-listview-edit-button {
2195
+ visibility: visible;
2196
+ }
2197
+ .steedos-object-listview .antd-Wrapper .steedos-listview-change-button .antd-DropDown-menu li:hover .steedos-listview-edit-button:hover .fa-edit {
2198
+ color: #2468f2;
2199
+ }
2152
2200
 
2153
2201
  @media (min-width: 767px) {
2154
2202
  /* 列表快速编辑功能样式 */
2203
+ td.steedos-table-file-field div {
2204
+ display: inline;
2205
+ }
2155
2206
  /* amis3.2版本快速编辑单元格样式:start */
2156
2207
  body.amis-3-2 .steedos-object-table tbody td.antd-Field--quickEditable > div {
2157
2208
  display: flex;
2158
2209
  align-items: center;
2159
2210
  justify-content: space-between;
2160
2211
  }
2161
- body.amis-3-2 .steedos-object-table tbody td.antd-Field--quickEditable > div .antd-Field-quickEditBtn {
2162
- padding-right: 13px;
2163
- }
2164
2212
  body.amis-3-2 .steedos-object-table tbody td.antd-Field--quickEditable > div .antd-Field-quickEditBtn svg {
2165
- display: none;
2166
- }
2167
- body.amis-3-2 .steedos-object-table tbody td.antd-Field--quickEditable:hover div .antd-Field-quickEditBtn {
2168
- padding-right: 0;
2213
+ visibility: hidden;
2169
2214
  }
2170
2215
  body.amis-3-2 .steedos-object-table tbody td.antd-Field--quickEditable:hover div .antd-Field-quickEditBtn svg {
2171
- display: inline-block;
2216
+ visibility: visible;
2172
2217
  }
2173
2218
  /* amis3.2版本快速编辑单元格样式:end */
2174
2219
  .steedos-object-table thead tr th:nth-last-child(2),
@@ -2181,17 +2226,11 @@ body.steedos {
2181
2226
  width: 0.5px !important;
2182
2227
  min-width: 0.5px !important;
2183
2228
  }
2184
- .steedos-object-table tbody td.antd-Field--quickEditable .antd-Field-quickEditBtn {
2185
- padding-right: 13px;
2186
- }
2187
2229
  .steedos-object-table tbody td.antd-Field--quickEditable .antd-Field-quickEditBtn svg {
2188
- display: none;
2189
- }
2190
- .steedos-object-table tbody td.antd-Field--quickEditable:hover .antd-Field-quickEditBtn {
2191
- padding-right: 0;
2230
+ visibility: hidden;
2192
2231
  }
2193
2232
  .steedos-object-table tbody td.antd-Field--quickEditable:hover .antd-Field-quickEditBtn svg {
2194
- display: inline-block;
2233
+ visibility: visible;
2195
2234
  }
2196
2235
  .steedos-object-table .date-min-w {
2197
2236
  min-width: 9em;
@@ -2394,6 +2433,9 @@ body.steedos {
2394
2433
  .steedos-field-lookup-wrapper {
2395
2434
  display: block !important;
2396
2435
  }
2436
+ .amis-dialog-widget .steedos-object-record-detail-header .steedos-object-record-detail-header-back-button {
2437
+ display: none;
2438
+ }
2397
2439
 
2398
2440
  .steedos-context-bar .antd-Nav-list {
2399
2441
  border-bottom: 0px;
@@ -2569,6 +2611,27 @@ body.sidebar #sidebar {
2569
2611
  background: rgba(0, 0, 0, 0.6);
2570
2612
  opacity: 1;
2571
2613
  }
2614
+ .steedos-header-toolbar-notifications-dialog .antd-Modal-content {
2615
+ position: absolute !important;
2616
+ left: 12px;
2617
+ right: 12px;
2618
+ top: 50px;
2619
+ height: auto !important;
2620
+ width: unset;
2621
+ max-width: unset;
2622
+ border-radius: var(--dialog-default-border-radius) !important;
2623
+ padding: 0;
2624
+ background: transparent;
2625
+ border: none;
2626
+ }
2627
+ .steedos-header-toolbar-notifications-dialog .antd-Modal-content .antd-Modal-body {
2628
+ padding: 0;
2629
+ margin: 0;
2630
+ }
2631
+ .steedos-header-toolbar-notifications-dialog .antd-Modal-content .antd-Modal-body .steedos-header-toolbar-notifications-panel .steedos-header-toolbar-notifications-list {
2632
+ max-height: 60vh;
2633
+ margin: 0;
2634
+ }
2572
2635
  }
2573
2636
 
2574
2637
  .instance-default .instance-form .form-control .antd-Form-item {