@steedos-widgets/amis-lib 1.0.24 → 1.0.26

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.
@@ -1,5 +1,6 @@
1
- export function getObjectHeaderToolbar(mainObject: any, formFactor: any, { showDisplayAs }?: {
1
+ export function getObjectHeaderToolbar(mainObject: any, formFactor: any, { showDisplayAs, hiddenCount }?: {
2
2
  showDisplayAs?: boolean;
3
+ hiddenCount?: boolean;
3
4
  }): (string | {
4
5
  type: string;
5
6
  icon: string;
@@ -21,6 +22,14 @@ export function getObjectHeaderToolbar(mainObject: any, formFactor: any, { showD
21
22
  label?: undefined;
22
23
  icon?: undefined;
23
24
  onEvent?: undefined;
25
+ } | {
26
+ type?: undefined;
27
+ className?: undefined;
28
+ tpl?: undefined;
29
+ align?: undefined;
30
+ label?: undefined;
31
+ icon?: undefined;
32
+ onEvent?: undefined;
24
33
  } | {
25
34
  type: string;
26
35
  tpl: string;
@@ -52,14 +61,6 @@ export function getObjectHeaderToolbar(mainObject: any, formFactor: any, { showD
52
61
  };
53
62
  };
54
63
  tpl?: undefined;
55
- } | {
56
- type?: undefined;
57
- className?: undefined;
58
- tpl?: undefined;
59
- align?: undefined;
60
- label?: undefined;
61
- icon?: undefined;
62
- onEvent?: undefined;
63
64
  })[];
64
65
  export function getObjectFooterToolbar(mainObject: any, formFactor: any): string[];
65
66
  export function getObjectFilter(objectSchema: any, fields: any, options: any): Promise<{
@@ -2,6 +2,7 @@ export function getListViewColumns(listView: any, formFactor: any): any;
2
2
  export function getListViewSort(listView: any): string;
3
3
  export function getListViewFilter(listView: any): any;
4
4
  export function getUISchema(objectName: any, force: any): Promise<any>;
5
+ export function getUISchemaSync(objectName: any, force: any): any;
5
6
  export function getField(objectName: any, fieldName: any): Promise<any>;
6
7
  export function getFormSchema(objectName: any, ctx: any): Promise<{
7
8
  uiSchema: any;
@@ -9,39 +9,12 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
9
9
  click: {
10
10
  actions: {
11
11
  actionType: string;
12
- dialog: {
13
- type: string;
14
- data: {
15
- $master: string;
16
- "&": string;
17
- appId: string;
18
- objectName: string;
19
- context: string;
20
- global: string;
21
- listViewId: string;
22
- uiSchema: string;
23
- };
24
- title: string;
25
- bodyClassName: string;
26
- body: {
27
- type: string;
28
- label: string;
29
- objectApiName: string;
30
- recordId: string;
31
- id: string;
32
- mode: string;
33
- layout: string;
34
- }[];
35
- id: string;
36
- closeOnEsc: boolean;
37
- closeOnOutside: boolean;
38
- showCloseButton: boolean;
39
- size: string;
40
- };
12
+ script: string;
41
13
  }[];
42
14
  weight: number;
43
15
  };
44
16
  };
17
+ className: string;
45
18
  }[];
46
19
  regions: string[];
47
20
  className: string;
@@ -12,39 +12,12 @@ export namespace StandardButtons {
12
12
  click: {
13
13
  actions: {
14
14
  actionType: string;
15
- dialog: {
16
- type: string;
17
- data: {
18
- $master: string;
19
- "&": string;
20
- appId: string;
21
- objectName: string;
22
- context: string;
23
- global: string;
24
- listViewId: string;
25
- uiSchema: string;
26
- };
27
- title: string;
28
- bodyClassName: string;
29
- body: {
30
- type: string;
31
- label: string;
32
- objectApiName: string;
33
- recordId: string;
34
- id: string;
35
- mode: string;
36
- layout: string;
37
- }[];
38
- id: string;
39
- closeOnEsc: boolean;
40
- closeOnOutside: boolean;
41
- showCloseButton: boolean;
42
- size: string;
43
- };
15
+ script: string;
44
16
  }[];
45
17
  weight: number;
46
18
  };
47
19
  };
20
+ className: string;
48
21
  }[];
49
22
  regions: string[];
50
23
  className: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "1.0.24",
4
+ "version": "1.0.26",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -58,5 +58,5 @@
58
58
  "dependencies": {
59
59
  "lodash": "^4.17.21"
60
60
  },
61
- "gitHead": "549a7ea0148ec62bab775536c638fa1cb9d984e4"
61
+ "gitHead": "c1d5bdb9aeb629b518845d35a06836eefaa4cffe"
62
62
  }