@steedos-widgets/amis-lib 3.6.4-beta.1 → 3.6.4-beta.2

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.
@@ -18,6 +18,7 @@ export * from './lib/converter/amis/fields/lookup';
18
18
  export * from './lib/converter/amis/fields/user';
19
19
  export * from './lib/converter/amis/filters';
20
20
  export * from './lib/converter/amis/header';
21
+ export * from './lib/converter/amis/tpl';
21
22
  export * from './lib/converter/amis/fields_filter';
22
23
  export * from './lib/router';
23
24
  export * from './lib/assets';
@@ -56,7 +56,7 @@ export function getObjectDetailButtonsSchemas(objectSchema: any, recordId: any,
56
56
  }[];
57
57
  };
58
58
  };
59
- };
59
+ }[];
60
60
  export function getObjectListViewButtonsSchemas(objectSchema: any, ctx: any): {
61
61
  type: string;
62
62
  name: any;
@@ -22,6 +22,7 @@ export function getMarkdownFieldSchema(field: any, readonly: any, ctx: any): {
22
22
  tab: {
23
23
  type: string;
24
24
  name: any;
25
+ labelClassName: string;
25
26
  language: string;
26
27
  }[];
27
28
  } | {
@@ -536,10 +536,34 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
536
536
  className: string;
537
537
  }[];
538
538
  }[];
539
+ } | {
540
+ type: string;
541
+ visibleOn: string;
542
+ className: string;
543
+ onEvent: {
544
+ click: {
545
+ actions: {
546
+ componentId: string;
547
+ args: {};
548
+ actionType: string;
549
+ }[];
550
+ };
551
+ };
552
+ body: {
553
+ type: string;
554
+ category: string;
555
+ name: string;
556
+ colorVariant: string;
557
+ className: string;
558
+ }[];
559
+ tpl?: undefined;
539
560
  } | {
540
561
  type: string;
541
562
  className: string;
542
563
  tpl: string;
564
+ visibleOn?: undefined;
565
+ onEvent?: undefined;
566
+ body?: undefined;
543
567
  })[];
544
568
  md: string;
545
569
  className: string;
@@ -25,5 +25,9 @@ export function getAmisInputTableSchema(props: any): Promise<{
25
25
  labelRemark: any;
26
26
  labelAlign: any;
27
27
  mode: any;
28
+ visibleOn: any;
29
+ visible: any;
30
+ hiddenOn: any;
31
+ hidden: any;
28
32
  className: string;
29
33
  }>;
@@ -171,10 +171,34 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
171
171
  className: string;
172
172
  }[];
173
173
  }[];
174
+ } | {
175
+ type: string;
176
+ visibleOn: string;
177
+ className: string;
178
+ onEvent: {
179
+ click: {
180
+ actions: {
181
+ componentId: string;
182
+ args: {};
183
+ actionType: string;
184
+ }[];
185
+ };
186
+ };
187
+ body: {
188
+ type: string;
189
+ category: string;
190
+ name: string;
191
+ colorVariant: string;
192
+ className: string;
193
+ }[];
194
+ tpl?: undefined;
174
195
  } | {
175
196
  type: string;
176
197
  className: string;
177
198
  tpl: string;
199
+ visibleOn?: undefined;
200
+ onEvent?: undefined;
201
+ body?: undefined;
178
202
  })[];
179
203
  md: string;
180
204
  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": "3.6.4-beta.1",
4
+ "version": "3.6.4-beta.2",
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": "4845f0b33367b8873df484ef174863d6789d4d43"
64
+ "gitHead": "74e7975b7f134d1192dea186f90e0a1c6c11275c"
65
65
  }