@steedos-widgets/amis-lib 1.3.4-beta.16 → 1.3.4-beta.18

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.
@@ -16,11 +16,9 @@ export function getAmisFileEditSchema(steedosField: any): {
16
16
  useChunk: boolean;
17
17
  receiver: {
18
18
  method: string;
19
+ dataType: string;
19
20
  url: string;
20
- data: {
21
- $: string;
22
- context: string;
23
- };
21
+ requestAdaptor: string;
24
22
  adaptor: string;
25
23
  headers: {
26
24
  Authorization: string;
@@ -44,11 +42,9 @@ export function getAmisFileSchema(steedosField: any, readonly: any): {
44
42
  useChunk: boolean;
45
43
  receiver: {
46
44
  method: string;
45
+ dataType: string;
47
46
  url: string;
48
- data: {
49
- $: string;
50
- context: string;
51
- };
47
+ requestAdaptor: string;
52
48
  adaptor: string;
53
49
  headers: {
54
50
  Authorization: string;
@@ -242,6 +242,7 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
242
242
  };
243
243
  } | {
244
244
  mode: string;
245
+ perPageAvailable: number[];
245
246
  name: string;
246
247
  headerToolbarClassName: string;
247
248
  className: string;
@@ -259,6 +260,7 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
259
260
  columns?: undefined;
260
261
  } | {
261
262
  mode: string;
263
+ perPageAvailable: number[];
262
264
  name: string;
263
265
  headerToolbarClassName: string;
264
266
  className: string;
@@ -331,6 +333,7 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
331
333
  };
332
334
  } | {
333
335
  mode: string;
336
+ perPageAvailable: number[];
334
337
  name: string;
335
338
  headerToolbarClassName: string;
336
339
  className: string;
@@ -348,6 +351,7 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
348
351
  columns?: undefined;
349
352
  } | {
350
353
  mode: string;
354
+ perPageAvailable: number[];
351
355
  name: string;
352
356
  headerToolbarClassName: string;
353
357
  className: string;
@@ -1,5 +1,6 @@
1
1
  export function getTableSchema(fields: any, options: any): Promise<{
2
2
  mode: string;
3
+ perPageAvailable: number[];
3
4
  name: string;
4
5
  headerToolbarClassName: string;
5
6
  className: string;
@@ -17,6 +18,7 @@ export function getTableSchema(fields: any, options: any): Promise<{
17
18
  columns?: undefined;
18
19
  } | {
19
20
  mode: string;
21
+ perPageAvailable: number[];
20
22
  name: string;
21
23
  headerToolbarClassName: string;
22
24
  className: string;
@@ -28,9 +28,7 @@ export function getObjectForm(objectSchema: any, ctx: any): Promise<{
28
28
  Authorization: string;
29
29
  };
30
30
  };
31
- data: {
32
- editFormInited: boolean;
33
- };
31
+ data: any;
34
32
  initApi: any;
35
33
  initFetch: any;
36
34
  body: {}[];
@@ -27,6 +27,7 @@ export function getCopyListviewButtonSchema(): {
27
27
  name: string;
28
28
  label: string;
29
29
  shared: boolean;
30
+ object_name: string;
30
31
  };
31
32
  fieldsExtend: {
32
33
  label: {
@@ -172,6 +172,7 @@ export function getSettingListviewToolbarButtonSchema(): {
172
172
  name: string;
173
173
  label: string;
174
174
  shared: boolean;
175
+ object_name: string;
175
176
  };
176
177
  fieldsExtend: {
177
178
  label: {
@@ -28,9 +28,7 @@ export function getFormSchema(objectName: any, ctx: any): Promise<{
28
28
  Authorization: string;
29
29
  };
30
30
  };
31
- data: {
32
- editFormInited: boolean;
33
- };
31
+ data: any;
34
32
  initApi: any;
35
33
  initFetch: any;
36
34
  body: {}[];
@@ -70,6 +70,9 @@ export function getRecordDetailRelatedListSchema(objectName: any, recordId: any,
70
70
  };
71
71
  }>;
72
72
  export function getRelatedListSchema(objectName: any, listViewName: any, ctx: any): Promise<{
73
+ uiSchema?: undefined;
74
+ amisSchema?: undefined;
75
+ } | {
73
76
  uiSchema: any;
74
77
  amisSchema: {
75
78
  type: string;
@@ -25,9 +25,7 @@ export function getFormPageInitSchema(objectApiName: any): Promise<{
25
25
  Authorization: string;
26
26
  };
27
27
  };
28
- data: {
29
- editFormInited: boolean;
30
- };
28
+ data: any;
31
29
  initApi: any;
32
30
  initFetch: any;
33
31
  body: {}[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "1.3.4-beta.16",
4
+ "version": "1.3.4-beta.18",
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": "0e609d74ccbe4cf4fe69728349010d6fab90a439"
64
+ "gitHead": "8c6b4e9d5fd3c92df4d077cd3d1f781004a36031"
65
65
  }