@steedos-widgets/amis-lib 6.10.1-beta.34 → 6.10.1-beta.36

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.
@@ -185,14 +185,11 @@ export function lookupToAmisSelect(field: any, readonly: any, ctx: any): Promise
185
185
  };
186
186
  } | {
187
187
  method: string;
188
- url: string;
189
188
  data: {
190
- query: string;
191
189
  $: string;
190
+ query: string;
192
191
  };
193
- headers: {
194
- Authorization: string;
195
- };
192
+ url: string;
196
193
  };
197
194
  searchable: boolean;
198
195
  }>;
@@ -23,12 +23,11 @@ export function getObjectFieldsFilterFormSchema(ctx: any): Promise<{
23
23
  };
24
24
  schemaApi: {
25
25
  method: string;
26
- url: string;
27
26
  data: {
28
27
  $self: string;
29
28
  query: string;
30
29
  };
31
- requestAdaptor: string;
30
+ url: string;
32
31
  adaptor: string;
33
32
  headers: {
34
33
  Authorization: string;
@@ -55,12 +54,11 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
55
54
  };
56
55
  schemaApi: {
57
56
  method: string;
58
- url: string;
59
57
  data: {
60
58
  $self: string;
61
59
  query: string;
62
60
  };
63
- requestAdaptor: string;
61
+ url: string;
64
62
  adaptor: string;
65
63
  headers: {
66
64
  Authorization: string;
@@ -30,6 +30,7 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
30
30
  size?: undefined;
31
31
  hideCaret?: undefined;
32
32
  closeOnClick?: undefined;
33
+ visibleOn?: undefined;
33
34
  btnClassName?: undefined;
34
35
  buttons?: undefined;
35
36
  } | {
@@ -40,11 +41,26 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
40
41
  size: string;
41
42
  hideCaret: boolean;
42
43
  closeOnClick: boolean;
44
+ visibleOn: string;
43
45
  btnClassName: string;
44
46
  buttons: any[];
45
47
  tpl?: undefined;
46
48
  inline?: undefined;
47
49
  wrapperComponent?: undefined;
50
+ } | {
51
+ type: string;
52
+ className: string;
53
+ tpl: string;
54
+ visibleOn: string;
55
+ inline?: undefined;
56
+ wrapperComponent?: undefined;
57
+ label?: undefined;
58
+ rightIcon?: undefined;
59
+ size?: undefined;
60
+ hideCaret?: undefined;
61
+ closeOnClick?: undefined;
62
+ btnClassName?: undefined;
63
+ buttons?: undefined;
48
64
  })[];
49
65
  md: string;
50
66
  columnClassName: string;
@@ -250,12 +266,11 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
250
266
  };
251
267
  schemaApi: {
252
268
  method: string;
253
- url: string;
254
269
  data: {
255
270
  $self: string;
256
271
  query: string;
257
272
  };
258
- requestAdaptor: string;
273
+ url: string;
259
274
  adaptor: string;
260
275
  headers: {
261
276
  Authorization: string;
@@ -455,6 +470,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
455
470
  size?: undefined;
456
471
  hideCaret?: undefined;
457
472
  closeOnClick?: undefined;
473
+ visibleOn?: undefined;
458
474
  btnClassName?: undefined;
459
475
  buttons?: undefined;
460
476
  } | {
@@ -465,11 +481,26 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
465
481
  size: string;
466
482
  hideCaret: boolean;
467
483
  closeOnClick: boolean;
484
+ visibleOn: string;
468
485
  btnClassName: string;
469
486
  buttons: any[];
470
487
  tpl?: undefined;
471
488
  inline?: undefined;
472
489
  wrapperComponent?: undefined;
490
+ } | {
491
+ type: string;
492
+ className: string;
493
+ tpl: string;
494
+ visibleOn: string;
495
+ inline?: undefined;
496
+ wrapperComponent?: undefined;
497
+ label?: undefined;
498
+ rightIcon?: undefined;
499
+ size?: undefined;
500
+ hideCaret?: undefined;
501
+ closeOnClick?: undefined;
502
+ btnClassName?: undefined;
503
+ buttons?: undefined;
473
504
  })[];
474
505
  md: string;
475
506
  columnClassName: string;
@@ -49,12 +49,11 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
49
49
  };
50
50
  schemaApi: {
51
51
  method: string;
52
- url: string;
53
52
  data: {
54
53
  $self: string;
55
54
  query: string;
56
55
  };
57
- requestAdaptor: string;
56
+ url: string;
58
57
  adaptor: string;
59
58
  headers: {
60
59
  Authorization: string;
@@ -29,6 +29,7 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
29
29
  _master: string;
30
30
  "_master._isRelated": string;
31
31
  "_master.relatedKey": string;
32
+ _lookupObjectName: string;
32
33
  };
33
34
  size: string;
34
35
  actions: ({
@@ -46,6 +46,7 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
46
46
  isLookup: string;
47
47
  listName: string;
48
48
  selectedRowResponseResult: string;
49
+ _lookupObjectName: string;
49
50
  };
50
51
  title: string;
51
52
  body: {
@@ -49,6 +49,7 @@ export namespace StandardButtons {
49
49
  isLookup: string;
50
50
  listName: string;
51
51
  selectedRowResponseResult: string;
52
+ _lookupObjectName: string;
52
53
  };
53
54
  title: string;
54
55
  body: {
@@ -149,6 +150,7 @@ export namespace StandardButtons {
149
150
  _master: string;
150
151
  "_master._isRelated": string;
151
152
  "_master.relatedKey": string;
153
+ _lookupObjectName: string;
152
154
  };
153
155
  size: string;
154
156
  actions: ({
@@ -14,6 +14,9 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
14
14
  className: string;
15
15
  };
16
16
  css: {
17
+ ".steedos-amis-instance-view-body": {
18
+ height: string;
19
+ };
17
20
  ".instance-approve-history .antd-Table-table thead": {
18
21
  display: string;
19
22
  };
@@ -35,6 +38,9 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
35
38
  ".antd-List-placeholder": {
36
39
  display: string;
37
40
  };
41
+ ".steedos-amis-instance-view .antd-Table-fixedTop": {
42
+ top: string;
43
+ };
38
44
  ".steedos-amis-instance-view .antd-Table-fixedTop:after": {
39
45
  "box-shadow": string;
40
46
  };
@@ -571,31 +577,18 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
571
577
  className: string;
572
578
  trs: {
573
579
  background: string;
574
- tds: ({
580
+ tds: {
575
581
  className: string;
576
582
  background: string;
577
583
  align: string;
578
584
  width: string;
579
585
  colspan: string;
580
- body: {
581
- type: string;
582
- tpl: string;
583
- id: string;
584
- }[];
586
+ body: any[];
585
587
  id: string;
586
588
  style: {
587
589
  padding: string;
588
590
  };
589
- } | {
590
- background: string;
591
- colspan: number;
592
- align: string;
593
- className: string;
594
- width: string;
595
- body: any[];
596
- id: string;
597
- style?: undefined;
598
- })[];
591
+ }[];
599
592
  }[];
600
593
  id: string;
601
594
  style: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "6.10.1-beta.34",
4
+ "version": "6.10.1-beta.36",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -61,5 +61,5 @@
61
61
  "lodash": "^4.17.21",
62
62
  "react-i18next": "12.3.1"
63
63
  },
64
- "gitHead": "d40bc79af79605e814273b3f695a821a7e9a2e1d"
64
+ "gitHead": "be14b53b223b5fb77aa84b1929ea35c7de26e51c"
65
65
  }