@steedos-widgets/amis-object 1.1.0-beta.1 → 1.1.0

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.
@@ -3,6 +3,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
3
3
  type: string;
4
4
  name: string;
5
5
  className: string;
6
+ bodyClassName: string;
6
7
  title: {
7
8
  type: string;
8
9
  label: string;
@@ -204,6 +205,9 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
204
205
  size: string;
205
206
  title: string;
206
207
  className: string;
208
+ headerClassName: string;
209
+ bodyClassName: string;
210
+ footerClassName: string;
207
211
  drawerContainer: () => any;
208
212
  body: {
209
213
  type: string;
@@ -231,7 +235,6 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
231
235
  args: {
232
236
  value: {
233
237
  new_judge: string;
234
- new_next_step: any;
235
238
  next_step: any;
236
239
  };
237
240
  judge?: undefined;
@@ -270,6 +273,10 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
270
273
  id: string;
271
274
  multiple: boolean;
272
275
  required: boolean;
276
+ autoFill: {
277
+ new_next_step: string;
278
+ next_users: any;
279
+ };
273
280
  source: {
274
281
  url: string;
275
282
  headers: {
@@ -285,30 +292,6 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
285
292
  judge: string;
286
293
  };
287
294
  };
288
- onEvent: {
289
- change: {
290
- weight: number;
291
- actions: ({
292
- componentId: string;
293
- args: {
294
- value: {
295
- new_next_step: string;
296
- };
297
- next_step?: undefined;
298
- };
299
- actionType: string;
300
- eventName?: undefined;
301
- } | {
302
- args: {
303
- next_step: string;
304
- value?: undefined;
305
- };
306
- actionType: string;
307
- eventName: string;
308
- componentId?: undefined;
309
- })[];
310
- };
311
- };
312
295
  }[];
313
296
  id: string;
314
297
  md?: undefined;
@@ -343,27 +326,29 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
343
326
  name: string;
344
327
  id: string;
345
328
  required: boolean;
346
- multiple: string;
347
- source: {
348
- url: string;
349
- method: string;
350
- sendOn: string;
351
- headers: {
352
- Authorization: string;
353
- };
354
- messages: {};
355
- requestAdaptor: string;
356
- adaptor: string;
357
- data: {
358
- "&": string;
359
- $scopeId: string;
360
- context: string;
361
- next_step: string;
329
+ hiddenOn: string;
330
+ amis: {
331
+ multiple: string;
332
+ source: {
333
+ url: string;
334
+ method: string;
335
+ sendOn: string;
336
+ headers: {
337
+ Authorization: string;
338
+ };
339
+ messages: {};
340
+ requestAdaptor: string;
341
+ adaptor: string;
342
+ data: {
343
+ "&": string;
344
+ $scopeId: string;
345
+ context: string;
346
+ next_step: string;
347
+ };
362
348
  };
349
+ labelField: string;
350
+ valueField: string;
363
351
  };
364
- labelField: string;
365
- valueField: string;
366
- hiddenOn: string;
367
352
  })[];
368
353
  id: string;
369
354
  md?: undefined;
@@ -373,6 +358,15 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
373
358
  className: string;
374
359
  subFormMode: string;
375
360
  hiddenOn: string;
361
+ } | {
362
+ type: string;
363
+ name: string;
364
+ label?: undefined;
365
+ id?: undefined;
366
+ minRows?: undefined;
367
+ maxRows?: undefined;
368
+ placeholder?: undefined;
369
+ requiredOn?: undefined;
376
370
  } | {
377
371
  type: string;
378
372
  label: boolean;
@@ -5,88 +5,4 @@
5
5
  * !max-h-[80vh]
6
6
  * !mb-6
7
7
  */
8
- export declare const AmisSelectFlow: (props: any) => {
9
- type: any;
10
- id: any;
11
- label: any;
12
- name: any;
13
- options: any[];
14
- multiple: any;
15
- delimiter: any;
16
- joinValues: any;
17
- extractValue: any;
18
- searchable: any;
19
- showOutline: any;
20
- initiallyOpen: any;
21
- unfoldedLevel: any;
22
- className: any;
23
- required: any;
24
- treeContainerClassName: any;
25
- source: {
26
- method: string;
27
- url: string;
28
- requestAdaptor: string;
29
- headers: {
30
- Authorization: string;
31
- };
32
- };
33
- showIcon: any;
34
- showRadio: any;
35
- onlyLeaf: boolean;
36
- onEvent: any;
37
- } | {
38
- type: string;
39
- id: string;
40
- body: ({
41
- type: any;
42
- id: any;
43
- label: any;
44
- name: any;
45
- options: any[];
46
- multiple: any;
47
- delimiter: any;
48
- joinValues: any;
49
- extractValue: any;
50
- searchable: any;
51
- showOutline: any;
52
- initiallyOpen: any;
53
- unfoldedLevel: any;
54
- className: any;
55
- required: any;
56
- treeContainerClassName: any;
57
- source: {
58
- method: string;
59
- url: string;
60
- requestAdaptor: string;
61
- headers: {
62
- Authorization: string;
63
- };
64
- };
65
- showIcon: any;
66
- showRadio: any;
67
- onlyLeaf: boolean;
68
- onEvent: any;
69
- } | {
70
- type: string;
71
- className: string;
72
- name: string;
73
- enhance: boolean;
74
- onEvent: {
75
- search: {
76
- actions: ({
77
- actionType: string;
78
- componentId: string;
79
- args: {
80
- value: {
81
- keywords: string;
82
- };
83
- };
84
- } | {
85
- componentId: string;
86
- actionType: string;
87
- args?: undefined;
88
- })[];
89
- };
90
- };
91
- })[];
92
- };
8
+ export declare const AmisSelectFlow: (props: any) => any;
@@ -193,6 +193,10 @@ body {
193
193
  height: calc(100% - 40px);
194
194
  }
195
195
 
196
+ /* nav下配置itemBadge属性后item不会自动撑开 */
197
+ .antd-Nav-Menu-item-wrap .antd-Badge{
198
+ width: -webkit-fill-available;
199
+ }
196
200
 
197
201
  .ant-dropdown-menu {
198
202
  border: 1px solid #e5e5e5;
@@ -384,6 +388,9 @@ body {
384
388
  .h-14 {
385
389
  height: 3.5rem
386
390
  }
391
+ .h-full {
392
+ height: 100%
393
+ }
387
394
  .h-5 {
388
395
  height: 1.25rem
389
396
  }
@@ -405,9 +412,6 @@ body {
405
412
  .h-7 {
406
413
  height: 1.75rem
407
414
  }
408
- .h-full {
409
- height: 100%
410
- }
411
415
  .h-8 {
412
416
  height: 2rem
413
417
  }
@@ -651,6 +655,9 @@ body {
651
655
  .pt-2 {
652
656
  padding-top: 0.5rem
653
657
  }
658
+ .pt-0 {
659
+ padding-top: 0px
660
+ }
654
661
  .pl-1\.5 {
655
662
  padding-left: 0.375rem
656
663
  }
@@ -681,6 +688,9 @@ body {
681
688
  .text-\[15px\] {
682
689
  font-size: 15px
683
690
  }
691
+ .text-xs {
692
+ font-size: 12px
693
+ }
684
694
  .font-semibold {
685
695
  font-weight: 600
686
696
  }
@@ -1134,6 +1144,9 @@ body.sidebar #sidebar {
1134
1144
  border: none !important;
1135
1145
  box-shadow: none !important;
1136
1146
  }
1147
+ .steedos-amis-instance-view .instance-form-view .antd-Form-static .antd-Form-control {
1148
+ padding-left: 0.75rem !important;
1149
+ }
1137
1150
  .steedos-amis-instance-view .instance-form-view .antd-Number {
1138
1151
  background-color: transparent !important;
1139
1152
  border: none !important;
@@ -1162,17 +1175,12 @@ body.sidebar #sidebar {
1162
1175
  .steedos-amis-instance-view .form-control {
1163
1176
  background: no-repeat;
1164
1177
  }
1165
- .steedos-amis-instance-view .instance-form-view tbody td {
1166
- border: 1px solid #000;
1167
- padding-left: 0.75rem !important;
1168
- }
1169
1178
  .steedos-amis-instance-view .form-control .antd-Table-table thead th {
1170
1179
  background: transparent !important;
1171
1180
  border-color: #000;
1172
1181
  }
1173
1182
  .steedos-amis-instance-view .form-control .antd-Table-table tbody td {
1174
1183
  border: 1px solid #000;
1175
- padding-left: 0.75rem !important;
1176
1184
  }
1177
1185
  .steedos-amis-instance-view .form-control .antd-Table-table tbody td:last-child {
1178
1186
  border-right: none !important;