@steedos-widgets/amis-lib 6.10.32 → 6.10.34-beta.1

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,7 +1,7 @@
1
1
  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
- export function getUISchema(objectName: any, force: any, retry?: boolean): Promise<any>;
4
+ export function getUISchema(objectName: any, force?: boolean, retry?: boolean): Promise<any>;
5
5
  export function getUISchemaSync(objectName: any, force: any, retry?: boolean): any;
6
6
  export function getField(objectName: any, fieldName: any): Promise<any>;
7
7
  export function getFormSchema(objectName: any, ctx: any): Promise<{
@@ -207,6 +207,66 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
207
207
  type?: undefined;
208
208
  tpl?: undefined;
209
209
  })[];
210
+ } | {
211
+ type: string;
212
+ id: string;
213
+ api: {
214
+ url: string;
215
+ method: string;
216
+ requestAdaptor: string;
217
+ adaptor: string;
218
+ };
219
+ body: {
220
+ type: string;
221
+ source: string;
222
+ className: string;
223
+ label: boolean;
224
+ needConfirm: boolean;
225
+ bordered: boolean;
226
+ title: string;
227
+ quickSaveItemApi: {
228
+ url: string;
229
+ method: string;
230
+ requestAdaptor: string;
231
+ adaptor: string;
232
+ };
233
+ columns: ({
234
+ label: string;
235
+ name: string;
236
+ width: number;
237
+ quickEdit: {
238
+ type: string;
239
+ mode: string;
240
+ id: string;
241
+ name: string;
242
+ saveImmediately: boolean;
243
+ value: boolean;
244
+ disabledOn: string;
245
+ };
246
+ } | {
247
+ label: string;
248
+ name: string;
249
+ quickEdit: boolean;
250
+ width?: undefined;
251
+ } | {
252
+ label: string;
253
+ name: string;
254
+ quickEdit: {
255
+ type: string;
256
+ mode: string;
257
+ id: string;
258
+ name: string;
259
+ saveImmediately: boolean;
260
+ value?: undefined;
261
+ disabledOn?: undefined;
262
+ };
263
+ width?: undefined;
264
+ })[];
265
+ }[];
266
+ } | {
267
+ type: string;
268
+ id: string;
269
+ tpl: string;
210
270
  } | {
211
271
  type: string;
212
272
  label: string;
@@ -0,0 +1,61 @@
1
+ export function getStepsSchema(instance: any): {
2
+ type: string;
3
+ id: string;
4
+ api: {
5
+ url: string;
6
+ method: string;
7
+ requestAdaptor: string;
8
+ adaptor: string;
9
+ };
10
+ body: {
11
+ type: string;
12
+ source: string;
13
+ className: string;
14
+ label: boolean;
15
+ needConfirm: boolean;
16
+ bordered: boolean;
17
+ title: string;
18
+ quickSaveItemApi: {
19
+ url: string;
20
+ method: string;
21
+ requestAdaptor: string;
22
+ adaptor: string;
23
+ };
24
+ columns: ({
25
+ label: string;
26
+ name: string;
27
+ width: number;
28
+ quickEdit: {
29
+ type: string;
30
+ mode: string;
31
+ id: string;
32
+ name: string;
33
+ saveImmediately: boolean;
34
+ value: boolean;
35
+ disabledOn: string;
36
+ };
37
+ } | {
38
+ label: string;
39
+ name: string;
40
+ quickEdit: boolean;
41
+ width?: undefined;
42
+ } | {
43
+ label: string;
44
+ name: string;
45
+ quickEdit: {
46
+ type: string;
47
+ mode: string;
48
+ id: string;
49
+ name: string;
50
+ saveImmediately: boolean;
51
+ value?: undefined;
52
+ disabledOn?: undefined;
53
+ };
54
+ width?: undefined;
55
+ })[];
56
+ }[];
57
+ } | {
58
+ type: string;
59
+ id: string;
60
+ tpl: string;
61
+ };
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.32",
4
+ "version": "6.10.34-beta.1",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -60,5 +60,5 @@
60
60
  "i18next": "24.2.2",
61
61
  "lodash": "^4.17.21"
62
62
  },
63
- "gitHead": "0656344c25b9a47b258e2c1e194b744ca5c7e2f1"
63
+ "gitHead": "258c1196ff695460f9f475727cb4abe7b923b757"
64
64
  }