@steedos-widgets/amis-lib 6.10.2-beta.1 → 6.10.2-beta.3

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.
@@ -82,6 +82,7 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
82
82
  className: string;
83
83
  close?: undefined;
84
84
  id?: undefined;
85
+ onEvent?: undefined;
85
86
  primary?: undefined;
86
87
  } | {
87
88
  type: string;
@@ -90,6 +91,19 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
90
91
  close: boolean;
91
92
  id: string;
92
93
  className: string;
94
+ onEvent: {
95
+ click: {
96
+ actions: {
97
+ actionType: string;
98
+ componentId: string;
99
+ args: {
100
+ value: {
101
+ __saveAndNewRecord: boolean;
102
+ };
103
+ };
104
+ }[];
105
+ };
106
+ };
93
107
  primary?: undefined;
94
108
  } | {
95
109
  type: string;
@@ -99,6 +113,7 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
99
113
  className: string;
100
114
  close?: undefined;
101
115
  id?: undefined;
116
+ onEvent?: undefined;
102
117
  })[];
103
118
  };
104
119
  script?: undefined;
@@ -85,6 +85,7 @@ export namespace StandardButtons {
85
85
  className: string;
86
86
  close?: undefined;
87
87
  id?: undefined;
88
+ onEvent?: undefined;
88
89
  primary?: undefined;
89
90
  } | {
90
91
  type: string;
@@ -93,6 +94,19 @@ export namespace StandardButtons {
93
94
  close: boolean;
94
95
  id: string;
95
96
  className: string;
97
+ onEvent: {
98
+ click: {
99
+ actions: {
100
+ actionType: string;
101
+ componentId: string;
102
+ args: {
103
+ value: {
104
+ __saveAndNewRecord: boolean;
105
+ };
106
+ };
107
+ }[];
108
+ };
109
+ };
96
110
  primary?: undefined;
97
111
  } | {
98
112
  type: string;
@@ -102,6 +116,7 @@ export namespace StandardButtons {
102
116
  className: string;
103
117
  close?: undefined;
104
118
  id?: undefined;
119
+ onEvent?: undefined;
105
120
  })[];
106
121
  };
107
122
  script?: undefined;
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.2-beta.1",
4
+ "version": "6.10.2-beta.3",
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": "f1b70cd27c19419d276c3f5f07d8779c2b9df9f8"
64
+ "gitHead": "9b3d21743d5469fd480c0e58f6d7053c47d12382"
65
65
  }