@steedos-widgets/amis-object 1.0.20 → 1.0.21

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,612 @@
1
+ import './AmisInstanceDetail.less';
2
+ export declare const AmisInstanceDetail: (props: any) => Promise<{
3
+ type: string;
4
+ name: string;
5
+ className: string;
6
+ title: {
7
+ type: string;
8
+ label: string;
9
+ objectApiName: string;
10
+ recordId: any;
11
+ id: string;
12
+ showRecordTitle: boolean;
13
+ recordLoaded: boolean;
14
+ className: string;
15
+ };
16
+ css: {
17
+ ".instance-approve-history .antd-Table-table thead": {
18
+ display: string;
19
+ };
20
+ ".instance-approve-history .antd-Table-heading": {
21
+ "font-size": string;
22
+ "font-weight": string;
23
+ "padding-left": string;
24
+ };
25
+ ".antd-List-heading": {
26
+ "font-size": string;
27
+ "font-weight": string;
28
+ };
29
+ };
30
+ body: ({
31
+ type: string;
32
+ className: string;
33
+ headerClassName: string;
34
+ bodyClassName: string;
35
+ title: ({
36
+ type: string;
37
+ tpl: string;
38
+ title?: undefined;
39
+ body?: undefined;
40
+ id?: undefined;
41
+ wrapWithPanel?: undefined;
42
+ } | {
43
+ type: string;
44
+ title: string;
45
+ body: {
46
+ type: string;
47
+ labelClassName: string;
48
+ className: string;
49
+ label: string;
50
+ mode: string;
51
+ name: string;
52
+ id: string;
53
+ btnLabel: string;
54
+ btnClassName: string;
55
+ multiple: boolean;
56
+ maxLength: number;
57
+ submitType: string;
58
+ uploadType: string;
59
+ proxy: boolean;
60
+ drag: boolean;
61
+ autoUpload: boolean;
62
+ useChunk: boolean;
63
+ joinValues: boolean;
64
+ extractValue: boolean;
65
+ valueField: string;
66
+ receiver: {
67
+ url: string;
68
+ headers: {
69
+ Authorization: string;
70
+ };
71
+ method: string;
72
+ messages: {};
73
+ dataType: string;
74
+ requestAdaptor: string;
75
+ };
76
+ onEvent: {
77
+ success: {
78
+ weight: number;
79
+ actions: ({
80
+ componentId: string;
81
+ args: {
82
+ msgType?: undefined;
83
+ position?: undefined;
84
+ closeButton?: undefined;
85
+ showIcon?: undefined;
86
+ msg?: undefined;
87
+ };
88
+ actionType: string;
89
+ } | {
90
+ componentId: string;
91
+ args: {
92
+ msgType: string;
93
+ position: string;
94
+ closeButton: boolean;
95
+ showIcon: boolean;
96
+ msg: string;
97
+ };
98
+ actionType: string;
99
+ })[];
100
+ };
101
+ };
102
+ }[];
103
+ id: string;
104
+ wrapWithPanel: boolean;
105
+ tpl?: undefined;
106
+ })[];
107
+ body: {
108
+ type: string;
109
+ id: string;
110
+ api: {
111
+ method: string;
112
+ url: string;
113
+ dataType: string;
114
+ headers: {
115
+ Authorization: string;
116
+ };
117
+ requestAdaptor: string;
118
+ };
119
+ body: {
120
+ type: string;
121
+ source: string;
122
+ title: boolean;
123
+ listItem: {
124
+ body: {
125
+ type: string;
126
+ inline: boolean;
127
+ tpl: string;
128
+ }[];
129
+ actions: {
130
+ icon: string;
131
+ type: string;
132
+ id: string;
133
+ }[];
134
+ id: string;
135
+ };
136
+ id: string;
137
+ }[];
138
+ }[];
139
+ } | {
140
+ type: string;
141
+ tpl: string;
142
+ }[] | {
143
+ type: string;
144
+ name: string;
145
+ source: string;
146
+ title: string;
147
+ listItem: {
148
+ body: {
149
+ type: string;
150
+ inline: boolean;
151
+ tpl: string;
152
+ }[];
153
+ actions: {
154
+ icon: string;
155
+ type: string;
156
+ id: string;
157
+ }[];
158
+ id: string;
159
+ };
160
+ id: string;
161
+ } | {
162
+ type: string;
163
+ headerClassName: string;
164
+ title: string;
165
+ source: string;
166
+ className: string;
167
+ columnsTogglable: boolean;
168
+ footable: {
169
+ expand: string;
170
+ };
171
+ columns: ({
172
+ name: string;
173
+ label: string;
174
+ type?: undefined;
175
+ tpl?: undefined;
176
+ classNameExpr?: undefined;
177
+ } | {
178
+ name: string;
179
+ label: string;
180
+ type: string;
181
+ tpl: string;
182
+ classNameExpr?: undefined;
183
+ } | {
184
+ name: string;
185
+ label: string;
186
+ classNameExpr: string;
187
+ type?: undefined;
188
+ tpl?: undefined;
189
+ })[];
190
+ } | {
191
+ type: string;
192
+ label: string;
193
+ onEvent: {
194
+ click: {
195
+ actions: {
196
+ componentId: string;
197
+ args: {};
198
+ actionType: string;
199
+ drawer: {
200
+ type: string;
201
+ overlay: boolean;
202
+ resizable: boolean;
203
+ size: string;
204
+ title: string;
205
+ className: string;
206
+ body: {
207
+ type: string;
208
+ debug: boolean;
209
+ id: string;
210
+ body: ({
211
+ type: string;
212
+ label: boolean;
213
+ name: string;
214
+ value: string;
215
+ options: {
216
+ label: string;
217
+ value: string;
218
+ }[];
219
+ id: string;
220
+ required: boolean;
221
+ onEvent: {
222
+ change: {
223
+ weight: number;
224
+ actions: ({
225
+ componentId: string;
226
+ args: {
227
+ value: {
228
+ new_judge: string;
229
+ new_next_step: any;
230
+ next_step: any;
231
+ };
232
+ judge?: undefined;
233
+ };
234
+ actionType: string;
235
+ eventName?: undefined;
236
+ } | {
237
+ args: {
238
+ judge: string;
239
+ value?: undefined;
240
+ };
241
+ actionType: string;
242
+ eventName: string;
243
+ componentId?: undefined;
244
+ })[];
245
+ };
246
+ };
247
+ } | {
248
+ type: string;
249
+ columns: ({
250
+ body: {
251
+ type: string;
252
+ tpl: string;
253
+ inline: boolean;
254
+ wrapperComponent: string;
255
+ id: string;
256
+ }[];
257
+ id: string;
258
+ md: string;
259
+ valign: string;
260
+ } | {
261
+ body: {
262
+ type: string;
263
+ label: string;
264
+ name: string;
265
+ id: string;
266
+ multiple: boolean;
267
+ required: boolean;
268
+ source: {
269
+ url: string;
270
+ headers: {
271
+ Authorization: string;
272
+ };
273
+ method: string;
274
+ messages: {};
275
+ requestAdaptor: string;
276
+ adaptor: string;
277
+ data: {
278
+ context: string;
279
+ $scopeId: string;
280
+ judge: string;
281
+ };
282
+ };
283
+ onEvent: {
284
+ change: {
285
+ weight: number;
286
+ actions: ({
287
+ componentId: string;
288
+ args: {
289
+ value: {
290
+ new_next_step: string;
291
+ };
292
+ next_step?: undefined;
293
+ };
294
+ actionType: string;
295
+ eventName?: undefined;
296
+ } | {
297
+ args: {
298
+ next_step: string;
299
+ value?: undefined;
300
+ };
301
+ actionType: string;
302
+ eventName: string;
303
+ componentId?: undefined;
304
+ })[];
305
+ };
306
+ };
307
+ }[];
308
+ id: string;
309
+ md?: undefined;
310
+ valign?: undefined;
311
+ })[];
312
+ id: string;
313
+ className: string;
314
+ subFormMode: string;
315
+ } | {
316
+ type: string;
317
+ columns: ({
318
+ body: {
319
+ type: string;
320
+ tpl: string;
321
+ inline: boolean;
322
+ wrapperComponent: string;
323
+ id: string;
324
+ }[];
325
+ id: string;
326
+ md: string;
327
+ valign: string;
328
+ } | {
329
+ body: any[];
330
+ id: string;
331
+ md?: undefined;
332
+ valign?: undefined;
333
+ })[];
334
+ id: string;
335
+ className: string;
336
+ subFormMode: string;
337
+ hiddenOn: string;
338
+ } | {
339
+ type: string;
340
+ label: boolean;
341
+ name: string;
342
+ id: string;
343
+ minRows: number;
344
+ maxRows: number;
345
+ placeholder: string;
346
+ required: string;
347
+ })[];
348
+ onEvent: {
349
+ approve_judge_change: {
350
+ actions: {
351
+ actionType: string;
352
+ componentId: string;
353
+ args: {};
354
+ }[];
355
+ };
356
+ validateError: {
357
+ weight: number;
358
+ actions: {
359
+ componentId: string;
360
+ args: {
361
+ msgType: string;
362
+ position: string;
363
+ closeButton: boolean;
364
+ showIcon: boolean;
365
+ title: string;
366
+ msg: string;
367
+ };
368
+ actionType: string;
369
+ }[];
370
+ };
371
+ };
372
+ }[];
373
+ id: string;
374
+ position: string;
375
+ actions: ({
376
+ type: string;
377
+ label: string;
378
+ onEvent: {
379
+ click: {
380
+ actions: ({
381
+ componentId: string;
382
+ args: {
383
+ api?: undefined;
384
+ messages?: undefined;
385
+ blank?: undefined;
386
+ url?: undefined;
387
+ };
388
+ actionType: string;
389
+ script: string;
390
+ expression?: undefined;
391
+ } | {
392
+ componentId: string;
393
+ args: {
394
+ api?: undefined;
395
+ messages?: undefined;
396
+ blank?: undefined;
397
+ url?: undefined;
398
+ };
399
+ actionType: string;
400
+ script: string;
401
+ expression: string;
402
+ } | {
403
+ componentId: string;
404
+ args: {
405
+ api: {
406
+ url: string;
407
+ method: string;
408
+ dataType: string;
409
+ headers: {
410
+ Authorization: string;
411
+ };
412
+ requestAdaptor: string;
413
+ };
414
+ messages: {
415
+ success: string;
416
+ };
417
+ blank?: undefined;
418
+ url?: undefined;
419
+ };
420
+ actionType: string;
421
+ expression: string;
422
+ script?: undefined;
423
+ } | {
424
+ componentId: string;
425
+ args: {
426
+ blank: boolean;
427
+ url: string;
428
+ api?: undefined;
429
+ messages?: undefined;
430
+ };
431
+ actionType: string;
432
+ expression: string;
433
+ script?: undefined;
434
+ })[];
435
+ };
436
+ };
437
+ id: string;
438
+ level: string;
439
+ } | {
440
+ type: string;
441
+ label: string;
442
+ onEvent: {
443
+ click: {
444
+ actions: {
445
+ componentId: string;
446
+ args: {};
447
+ actionType: string;
448
+ }[];
449
+ };
450
+ };
451
+ id: string;
452
+ level?: undefined;
453
+ })[];
454
+ };
455
+ }[];
456
+ };
457
+ };
458
+ id: string;
459
+ level: string;
460
+ className: string;
461
+ } | {
462
+ type: string;
463
+ debug: boolean;
464
+ wrapWithPanel: boolean;
465
+ body: ({
466
+ type: string;
467
+ className: string;
468
+ trs: {
469
+ background: string;
470
+ tds: ({
471
+ background: string;
472
+ colspan: number;
473
+ align: string;
474
+ className: string;
475
+ width: string;
476
+ body: {
477
+ label: any;
478
+ name: any;
479
+ mode: string;
480
+ className: string;
481
+ }[];
482
+ style: {
483
+ marginTop: string;
484
+ paddingTop: string;
485
+ paddingRight: string;
486
+ paddingBottom: string;
487
+ paddingLeft: string;
488
+ marginRight: string;
489
+ marginBottom: string;
490
+ marginLeft: string;
491
+ borderLeftColor: string;
492
+ borderTopColor: string;
493
+ borderRightColor: string;
494
+ borderBottomColor: string;
495
+ };
496
+ } | {
497
+ className: string;
498
+ align: string;
499
+ width: string;
500
+ colspan: string | number;
501
+ background: string;
502
+ body: {
503
+ type: string;
504
+ tpl: string;
505
+ }[];
506
+ style: {
507
+ borderLeftColor: string;
508
+ borderTopColor: string;
509
+ borderRightColor: string;
510
+ borderBottomColor: string;
511
+ };
512
+ })[];
513
+ }[];
514
+ id: string;
515
+ } | {
516
+ type: string;
517
+ className: string;
518
+ trs: {
519
+ background: string;
520
+ tds: ({
521
+ className: string;
522
+ background: string;
523
+ align: string;
524
+ width: string;
525
+ colspan: string;
526
+ body: {
527
+ type: string;
528
+ tpl: string;
529
+ id: string;
530
+ }[];
531
+ id: string;
532
+ style: {
533
+ padding: string;
534
+ };
535
+ } | {
536
+ background: string;
537
+ colspan: number;
538
+ align: string;
539
+ className: string;
540
+ width: string;
541
+ body: any[];
542
+ id: string;
543
+ style?: undefined;
544
+ })[];
545
+ }[];
546
+ id: string;
547
+ style: {
548
+ borderLeftStyle: string;
549
+ borderTopStyle: string;
550
+ borderRightStyle: string;
551
+ borderBottomStyle: string;
552
+ };
553
+ } | {
554
+ type: string;
555
+ id: string;
556
+ tpl: string;
557
+ inline: boolean;
558
+ wrapperComponent: string;
559
+ style: {
560
+ fontFamily: string;
561
+ fontSize: number;
562
+ textAlign: string;
563
+ };
564
+ })[];
565
+ id: string;
566
+ onEvent: {
567
+ validateError: {
568
+ weight: number;
569
+ actions: {
570
+ componentId: string;
571
+ args: {
572
+ msgType: string;
573
+ position: string;
574
+ closeButton: boolean;
575
+ showIcon: boolean;
576
+ title: string;
577
+ msg: string;
578
+ };
579
+ actionType: string;
580
+ }[];
581
+ };
582
+ };
583
+ })[];
584
+ id: string;
585
+ messages: {};
586
+ pullRefresh: {};
587
+ regions: string[];
588
+ onEvent: {
589
+ inited: {
590
+ weight: number;
591
+ actions: {
592
+ componentId: string;
593
+ actionType: string;
594
+ }[];
595
+ };
596
+ };
597
+ initApi: {
598
+ url: string;
599
+ method: string;
600
+ headers: {
601
+ Authorization: string;
602
+ };
603
+ messages: {};
604
+ requestAdaptor: string;
605
+ adaptor: string;
606
+ data: {
607
+ context: string;
608
+ judge: string;
609
+ };
610
+ };
611
+ initFetch: boolean;
612
+ }>;
@@ -31,7 +31,7 @@ export declare const AmisRecordDetailRelatedList: (props: any) => Promise<{
31
31
  filters: any;
32
32
  filtersFunction: any;
33
33
  sort: string;
34
- ctx: {};
34
+ ctx: any;
35
35
  }[];
36
36
  } | {
37
37
  type: string;
@@ -21,7 +21,7 @@ export declare const AmisRecordDetailRelatedLists: (props: any) => Promise<{
21
21
  perPage: any;
22
22
  hiddenEmptyTable: boolean;
23
23
  appId: any;
24
- label: any;
24
+ relatedLabel: any;
25
25
  }[];
26
26
  level?: undefined;
27
27
  showIcon?: undefined;
@@ -15,3 +15,4 @@ export * from './AmisAppMenu';
15
15
  export * from './AmisGlobalHeader';
16
16
  export * from './AmisSteedosField';
17
17
  export * from './AmisSelectFlow';
18
+ export * from './AmisInstanceDetail';