@steedos-widgets/amis-lib 1.2.43 → 1.3.0-beta.10

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.
@@ -6,7 +6,10 @@ export function getObjectHeaderToolbar(mainObject: any, fields: any, formFactor:
6
6
  isLookup?: boolean;
7
7
  keywordsSearchBoxName: any;
8
8
  }): any[];
9
- export function getObjectFooterToolbar(mainObject: any, formFactor: any, options: any): string[];
9
+ export function getObjectFooterToolbar(mainObject: any, formFactor: any, options: any): string[] | {
10
+ type: string;
11
+ maxButtons: number;
12
+ }[];
10
13
  export function getObjectFilter(objectSchema: any, fields: any, options: any): Promise<{
11
14
  title: string;
12
15
  submitText: string;
@@ -5,10 +5,15 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
5
5
  label: string;
6
6
  id: string;
7
7
  level: string;
8
+ disabledTip: string;
8
9
  onEvent: {
9
10
  click: {
10
11
  weight: number;
11
- actions: {
12
+ actions: ({
13
+ componentId: string;
14
+ actionType: string;
15
+ args?: undefined;
16
+ } | {
12
17
  args: {
13
18
  api: {
14
19
  url: string;
@@ -25,7 +30,8 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
25
30
  };
26
31
  };
27
32
  actionType: string;
28
- }[];
33
+ componentId?: undefined;
34
+ })[];
29
35
  };
30
36
  };
31
37
  }[];
@@ -530,10 +530,15 @@ export namespace StandardButtons {
530
530
  label: string;
531
531
  id: string;
532
532
  level: string;
533
+ disabledTip: string;
533
534
  onEvent: {
534
535
  click: {
535
536
  weight: number;
536
- actions: {
537
+ actions: ({
538
+ componentId: string;
539
+ actionType: string;
540
+ args?: undefined;
541
+ } | {
537
542
  args: {
538
543
  api: {
539
544
  url: string;
@@ -550,7 +555,8 @@ export namespace StandardButtons {
550
555
  };
551
556
  };
552
557
  actionType: string;
553
- }[];
558
+ componentId?: undefined;
559
+ })[];
554
560
  };
555
561
  };
556
562
  }[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "1.2.43",
4
+ "version": "1.3.0-beta.10",
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": "194a8063156245c693c0f57757a136af9059c468"
64
+ "gitHead": "7f712765c85defa6acc01ad2b4e2694542d99868"
65
65
  }