@steedos-widgets/amis-object 6.10.1-beta.8 → 6.10.2-beta.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.
@@ -196,9 +196,6 @@ export declare const AmisAppLauncher: (props: any) => Promise<{
196
196
  method: string;
197
197
  cache: string;
198
198
  url: string;
199
- headers: {
200
- Authorization: string;
201
- };
202
199
  adaptor: string;
203
200
  messages: {};
204
201
  };
@@ -415,9 +412,6 @@ export declare const AmisAppLauncher: (props: any) => Promise<{
415
412
  method: string;
416
413
  cache: string;
417
414
  url: string;
418
- headers: {
419
- Authorization: string;
420
- };
421
415
  adaptor: string;
422
416
  messages: {};
423
417
  };
@@ -7,9 +7,6 @@ export declare const AmisAppMenu: (props: any) => Promise<{
7
7
  url: string;
8
8
  sendOn: string;
9
9
  adaptor: string;
10
- headers: {
11
- Authorization: string;
12
- };
13
10
  };
14
11
  } | {
15
12
  type: string;
@@ -129,6 +129,7 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
129
129
  body: ({
130
130
  type: string;
131
131
  className: string;
132
+ visibleOn: string;
132
133
  body: ({
133
134
  type: string;
134
135
  className: string;
@@ -149,6 +150,7 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
149
150
  type: string;
150
151
  className: string;
151
152
  hiddenOn: string;
153
+ visibleOn?: undefined;
152
154
  body?: undefined;
153
155
  })[];
154
156
  onEvent: {
@@ -4,6 +4,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
4
4
  name: string;
5
5
  className: string;
6
6
  bodyClassName: string;
7
+ headerClassName: string;
7
8
  title: {
8
9
  type: string;
9
10
  label: string;
@@ -14,6 +15,9 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
14
15
  className: string;
15
16
  };
16
17
  css: {
18
+ ".steedos-amis-instance-view-body": {
19
+ height: string;
20
+ };
17
21
  ".instance-approve-history .antd-Table-table thead": {
18
22
  display: string;
19
23
  };
@@ -26,6 +30,25 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
26
30
  "font-size": string;
27
31
  "font-weight": string;
28
32
  };
33
+ ".steedos-object-record-detail-header .antd-Grid-col--mdAuto": {
34
+ padding: string;
35
+ };
36
+ ".antd-List-placeholder": {
37
+ display: string;
38
+ };
39
+ ".steedos-amis-instance-view .antd-Table-fixedTop": {
40
+ top: string;
41
+ };
42
+ ".steedos-amis-instance-view .antd-Table-fixedTop:after": {
43
+ "box-shadow": string;
44
+ };
45
+ ".antd-List-items": {
46
+ border: string;
47
+ };
48
+ ".antd-ListItem": {
49
+ "border-top": string;
50
+ background: string;
51
+ };
29
52
  };
30
53
  body: ({
31
54
  type: string;
@@ -34,7 +57,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
34
57
  bodyClassName: string;
35
58
  title: ({
36
59
  type: string;
37
- tpl: string;
60
+ tpl: any;
38
61
  title?: undefined;
39
62
  body?: undefined;
40
63
  id?: undefined;
@@ -46,11 +69,11 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
46
69
  type: string;
47
70
  labelClassName: string;
48
71
  className: string;
49
- label: string;
72
+ label: any;
50
73
  mode: string;
51
74
  name: string;
52
75
  id: string;
53
- btnLabel: string;
76
+ btnLabel: any;
54
77
  btnClassName: string;
55
78
  multiple: boolean;
56
79
  maxLength: number;
@@ -93,7 +116,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
93
116
  position: string;
94
117
  closeButton: boolean;
95
118
  showIcon: boolean;
96
- msg: string;
119
+ msg: any;
97
120
  };
98
121
  actionType: string;
99
122
  })[];
@@ -126,11 +149,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
126
149
  inline: boolean;
127
150
  tpl: string;
128
151
  }[];
129
- actions: {
130
- icon: string;
131
- type: string;
132
- id: string;
133
- }[];
152
+ actions: any[];
134
153
  id: string;
135
154
  };
136
155
  id: string;
@@ -143,25 +162,21 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
143
162
  type: string;
144
163
  name: string;
145
164
  source: string;
146
- title: string;
165
+ title: any;
147
166
  listItem: {
148
167
  body: {
149
168
  type: string;
150
169
  inline: boolean;
151
170
  tpl: string;
152
171
  }[];
153
- actions: {
154
- icon: string;
155
- type: string;
156
- id: string;
157
- }[];
172
+ actions: any[];
158
173
  id: string;
159
174
  };
160
175
  id: string;
161
176
  } | {
162
177
  type: string;
163
178
  headerClassName: string;
164
- title: string;
179
+ title: any;
165
180
  source: string;
166
181
  className: string;
167
182
  columnsTogglable: boolean;
@@ -189,7 +204,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
189
204
  })[];
190
205
  } | {
191
206
  type: string;
192
- label: string;
207
+ label: any;
193
208
  onEvent: {
194
209
  click: {
195
210
  actions: {
@@ -208,7 +223,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
208
223
  headerClassName: string;
209
224
  bodyClassName: string;
210
225
  footerClassName: string;
211
- drawerContainer: () => any;
226
+ drawerContainer: () => HTMLElement;
212
227
  body: {
213
228
  type: string;
214
229
  debug: boolean;
@@ -222,7 +237,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
222
237
  name: string;
223
238
  value: string;
224
239
  options: {
225
- label: string;
240
+ label: any;
226
241
  value: string;
227
242
  }[];
228
243
  id: string;
@@ -257,7 +272,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
257
272
  columns: ({
258
273
  body: {
259
274
  type: string;
260
- tpl: string;
275
+ tpl: any;
261
276
  inline: boolean;
262
277
  wrapperComponent: string;
263
278
  id: string;
@@ -305,7 +320,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
305
320
  columns: ({
306
321
  body: {
307
322
  type: string;
308
- tpl: string;
323
+ tpl: any;
309
324
  inline: boolean;
310
325
  wrapperComponent: string;
311
326
  id: string;
@@ -314,41 +329,64 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
314
329
  md: string;
315
330
  valign: string;
316
331
  } | {
317
- body: (({
332
+ body: ({
318
333
  type: string;
319
- } & {
334
+ label: string;
320
335
  name: string;
321
336
  hiddenOn: string;
322
337
  required: boolean;
323
- }) | {
338
+ multiple?: undefined;
339
+ id?: undefined;
340
+ source?: undefined;
341
+ labelField?: undefined;
342
+ valueField?: undefined;
343
+ value?: undefined;
344
+ joinValues?: undefined;
345
+ extractValue?: undefined;
346
+ } | {
347
+ type: string;
348
+ label: string;
349
+ name: string;
350
+ hiddenOn: string;
351
+ required: boolean;
352
+ multiple: boolean;
353
+ id?: undefined;
354
+ source?: undefined;
355
+ labelField?: undefined;
356
+ valueField?: undefined;
357
+ value?: undefined;
358
+ joinValues?: undefined;
359
+ extractValue?: undefined;
360
+ } | {
324
361
  type: string;
325
362
  label: string;
326
363
  name: string;
327
364
  id: string;
328
365
  required: boolean;
329
366
  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
- };
367
+ multiple: boolean;
368
+ source: {
369
+ url: string;
370
+ method: string;
371
+ sendOn: string;
372
+ headers: {
373
+ Authorization: string;
374
+ };
375
+ messages: {};
376
+ requestAdaptor: string;
377
+ adaptor: string;
378
+ data: {
379
+ "&": string;
380
+ $scopeId: string;
381
+ context: string;
382
+ next_step: string;
348
383
  };
349
- labelField: string;
350
- valueField: string;
351
384
  };
385
+ labelField: string;
386
+ valueField: string;
387
+ value: string;
388
+ joinValues: boolean;
389
+ extractValue: boolean;
352
390
  })[];
353
391
  id: string;
354
392
  md?: undefined;
@@ -374,7 +412,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
374
412
  id: string;
375
413
  minRows: number;
376
414
  maxRows: number;
377
- placeholder: string;
415
+ placeholder: any;
378
416
  requiredOn: string;
379
417
  })[];
380
418
  onEvent: {
@@ -394,8 +432,8 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
394
432
  position: string;
395
433
  closeButton: boolean;
396
434
  showIcon: boolean;
397
- title: string;
398
- msg: string;
435
+ title: any;
436
+ msg: any;
399
437
  };
400
438
  actionType: string;
401
439
  }[];
@@ -409,71 +447,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
409
447
  label: string;
410
448
  onEvent: {
411
449
  click: {
412
- actions: ({
413
- componentId: string;
414
- args: {
415
- api?: undefined;
416
- messages?: undefined;
417
- blank?: undefined;
418
- url?: undefined;
419
- };
420
- actionType: string;
421
- script: string;
422
- expression?: undefined;
423
- } | {
424
- componentId: string;
425
- args: {
426
- api?: undefined;
427
- messages?: undefined;
428
- blank?: undefined;
429
- url?: undefined;
430
- };
431
- actionType: string;
432
- script: string;
433
- expression: string;
434
- } | {
435
- componentId: string;
436
- args: {
437
- api: {
438
- url: string;
439
- method: string;
440
- dataType: string;
441
- data: {
442
- "&": string;
443
- $scopeId: string;
444
- };
445
- headers: {
446
- Authorization: string;
447
- };
448
- requestAdaptor: string;
449
- };
450
- messages: {
451
- success: string;
452
- };
453
- blank?: undefined;
454
- url?: undefined;
455
- };
456
- actionType: string;
457
- expression: string;
458
- script?: undefined;
459
- } | {
460
- componentId: string;
461
- args: {
462
- blank: boolean;
463
- url: any;
464
- api?: undefined;
465
- messages?: undefined;
466
- };
467
- actionType: string;
468
- expression: string;
469
- script?: undefined;
470
- } | {
471
- actionType: string;
472
- expression: string;
473
- componentId?: undefined;
474
- args?: undefined;
475
- script?: undefined;
476
- })[];
450
+ actions: any[];
477
451
  };
478
452
  };
479
453
  id: string;
@@ -555,36 +529,56 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
555
529
  })[];
556
530
  }[];
557
531
  id: string;
532
+ } | {
533
+ type: string;
534
+ className: string;
535
+ mode: any;
536
+ steps: {
537
+ title: any;
538
+ body: {
539
+ label: any;
540
+ name: any;
541
+ mode: string;
542
+ className: string;
543
+ }[];
544
+ }[];
545
+ actionFinishLabel: string;
546
+ id: string;
547
+ target: string;
548
+ onEvent: {
549
+ change: {
550
+ actions: {
551
+ actionType: string;
552
+ componentId: string;
553
+ args: {
554
+ value: string;
555
+ };
556
+ }[];
557
+ };
558
+ finished: {
559
+ actions: {
560
+ actionType: string;
561
+ componentId: string;
562
+ }[];
563
+ };
564
+ };
558
565
  } | {
559
566
  type: string;
560
567
  className: string;
561
568
  trs: {
562
569
  background: string;
563
- tds: ({
570
+ tds: {
564
571
  className: string;
565
572
  background: string;
566
573
  align: string;
567
574
  width: string;
568
575
  colspan: string;
569
- body: {
570
- type: string;
571
- tpl: string;
572
- id: string;
573
- }[];
576
+ body: any[];
574
577
  id: string;
575
578
  style: {
576
579
  padding: string;
577
580
  };
578
- } | {
579
- background: string;
580
- colspan: number;
581
- align: string;
582
- className: string;
583
- width: string;
584
- body: any[];
585
- id: string;
586
- style?: undefined;
587
- })[];
581
+ }[];
588
582
  }[];
589
583
  id: string;
590
584
  style: {
@@ -616,12 +610,16 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
616
610
  position: string;
617
611
  closeButton: boolean;
618
612
  showIcon: boolean;
619
- title: string;
620
- msg: string;
613
+ title: any;
614
+ msg: any;
621
615
  };
622
616
  actionType: string;
623
617
  }[];
624
618
  };
619
+ change: {
620
+ weight: number;
621
+ actions: any[];
622
+ };
625
623
  };
626
624
  })[];
627
625
  id: string;
@@ -634,6 +632,9 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
634
632
  actionType: string;
635
633
  }[];
636
634
  };
635
+ inited: {
636
+ actions: any[];
637
+ };
637
638
  };
638
639
  initApi: {
639
640
  url: string;
@@ -1,14 +1,8 @@
1
1
  import './AmisObjectListview.less';
2
2
  export declare const AmisObjectListView: (props: any) => Promise<{
3
3
  type: string;
4
- body: string;
5
- level: string;
6
- showIcon: boolean;
7
- className: string;
8
- data?: undefined;
9
- style?: undefined;
10
- } | {
11
- type: string;
4
+ id: string;
5
+ _reloadKey: any;
12
6
  data: any;
13
7
  style: any;
14
8
  className: string;
@@ -23,6 +17,10 @@ export declare const AmisObjectListView: (props: any) => Promise<{
23
17
  body: any;
24
18
  }[];
25
19
  }[];
26
- level?: undefined;
27
- showIcon?: undefined;
20
+ } | {
21
+ type: string;
22
+ body: string;
23
+ level: string;
24
+ showIcon: boolean;
25
+ className: string;
28
26
  }>;
@@ -1,3 +1,4 @@
1
+ import './AmisRecordDetail.less';
1
2
  export declare const AmisRecordDetail: (props: any) => Promise<{
2
3
  type: string;
3
4
  body: ({
@@ -13,6 +14,7 @@ export declare const AmisRecordDetail: (props: any) => Promise<{
13
14
  objectApiName: string;
14
15
  recordId: string;
15
16
  appId: any;
17
+ _reloadKey: any;
16
18
  }[];
17
19
  }[];
18
20
  } | {
@@ -23,6 +25,7 @@ export declare const AmisRecordDetail: (props: any) => Promise<{
23
25
  id: string;
24
26
  showButtons: any;
25
27
  showBackButton: any;
28
+ _reloadKey: any;
26
29
  })[];
27
30
  objectApiName: string;
28
31
  recordId: string;
@@ -0,0 +1,8 @@
1
+ export declare const AmisSteedosFlowForm: (props?: {
2
+ className: any;
3
+ body: any;
4
+ }) => Promise<{
5
+ type: string;
6
+ className: any;
7
+ body: any;
8
+ }>;
@@ -23,3 +23,4 @@ export * from './AmisRecordDetailMini';
23
23
  export * from './steedos-fields/index';
24
24
  export * from './AmisSteedosFieldGroup';
25
25
  export * from './AmisSteedosObject';
26
+ export * from './AmisSteedosFlowForm';
@@ -1,4 +1,4 @@
1
1
  import './index.less';
2
2
  declare const generatedFunctions: any;
3
- export declare const SteedosFieldText: any, SteedosFieldTextarea: any, SteedosFieldHtml: any, SteedosFieldLookup: any, SteedosFieldMasterDetail: any, SteedosFieldSelect: any, SteedosFieldBoolean: any, SteedosFieldDate: any, SteedosFieldDatetime: any, SteedosFieldTime: any, SteedosFieldNumber: any, SteedosFieldCurrency: any, SteedosFieldPercent: any, SteedosFieldImage: any, SteedosFieldFile: any, SteedosFieldCode: any, SteedosFieldMarkdown: any, SteedosFieldColor: any, SteedosFieldToggle: any, SteedosFieldPassword: any, SteedosFieldAutonumber: any, SteedosFieldUrl: any, SteedosFieldEmail: any, SteedosFieldLocation: any, SteedosFieldFormula: any, SteedosFieldSummary: any;
3
+ export declare const SteedosFieldText: any, SteedosFieldTextarea: any, SteedosFieldHtml: any, SteedosFieldLookup: any, SteedosFieldMasterDetail: any, SteedosFieldSelect: any, SteedosFieldBoolean: any, SteedosFieldDate: any, SteedosFieldDatetime: any, SteedosFieldTime: any, SteedosFieldNumber: any, SteedosFieldCurrency: any, SteedosFieldPercent: any, SteedosFieldImage: any, SteedosFieldFile: any, SteedosFieldCode: any, SteedosFieldMarkdown: any, SteedosFieldColor: any, SteedosFieldToggle: any, SteedosFieldPassword: any, SteedosFieldAutonumber: any, SteedosFieldUrl: any, SteedosFieldEmail: any, SteedosFieldLocation: any, SteedosFieldFormula: any, SteedosFieldSummary: any, SteedosFieldTable: any;
4
4
  export default generatedFunctions;