@steedos-widgets/amis-lib 1.2.9-beta.1 → 1.2.9

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.
@@ -189,6 +189,7 @@ export function getTableSchema(appName: any, objectName: any, columns: any, ctx?
189
189
  id: string;
190
190
  name: string;
191
191
  data: {
192
+ objectName: any;
192
193
  recordPermissions: any;
193
194
  uiSchema: any;
194
195
  };
@@ -221,11 +222,44 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
221
222
  body: {
222
223
  type: string;
223
224
  columns: ({
224
- body: {
225
+ body: ({
226
+ type: string;
227
+ onEvent: {
228
+ "@history_paths.changed": {
229
+ actions: {
230
+ actionType: string;
231
+ }[];
232
+ };
233
+ };
234
+ body: {
235
+ type: string;
236
+ visibleOn: string;
237
+ className: string;
238
+ onEvent: {
239
+ click: {
240
+ actions: {
241
+ actionType: string;
242
+ script: string;
243
+ }[];
244
+ };
245
+ };
246
+ body: {
247
+ type: string;
248
+ category: string;
249
+ name: string;
250
+ colorVariant: string;
251
+ className: string;
252
+ }[];
253
+ }[];
254
+ className?: undefined;
255
+ tpl?: undefined;
256
+ } | {
225
257
  type: string;
226
258
  className: string;
227
259
  tpl: string;
228
- };
260
+ onEvent?: undefined;
261
+ body?: undefined;
262
+ })[];
229
263
  md: string;
230
264
  className: string;
231
265
  columnClassName: 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.2.9-beta.1",
4
+ "version": "1.2.9",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -59,5 +59,5 @@
59
59
  "dependencies": {
60
60
  "lodash": "^4.17.21"
61
61
  },
62
- "gitHead": "7c5d5103515ba1b5af49e8199e604363783c0e69"
62
+ "gitHead": "f8fdc093d7a77269248f49c156603c00a851dfe1"
63
63
  }