@steedos-widgets/amis-lib 1.3.4-beta.14 → 1.3.4-beta.16
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.
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +136 -29
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +136 -29
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +101 -99
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +36 -0
- package/dist/types/lib/converter/amis/fields/table.d.ts +18 -0
- package/dist/types/lib/converter/amis/toolbar.d.ts +1 -0
- package/package.json +2 -2
|
@@ -240,6 +240,23 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
|
|
|
240
240
|
link: string;
|
|
241
241
|
}[];
|
|
242
242
|
};
|
|
243
|
+
} | {
|
|
244
|
+
mode: string;
|
|
245
|
+
name: string;
|
|
246
|
+
headerToolbarClassName: string;
|
|
247
|
+
className: string;
|
|
248
|
+
draggable: boolean;
|
|
249
|
+
defaultParams: {
|
|
250
|
+
perPage: any;
|
|
251
|
+
};
|
|
252
|
+
card: any;
|
|
253
|
+
syncLocation: boolean;
|
|
254
|
+
keepItemSelectionOnPageChange: boolean;
|
|
255
|
+
checkOnItemClick: boolean;
|
|
256
|
+
labelTpl: string;
|
|
257
|
+
autoFillHeight: boolean;
|
|
258
|
+
columnsTogglable: boolean;
|
|
259
|
+
columns?: undefined;
|
|
243
260
|
} | {
|
|
244
261
|
mode: string;
|
|
245
262
|
name: string;
|
|
@@ -256,6 +273,7 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
|
|
|
256
273
|
labelTpl: string;
|
|
257
274
|
autoFillHeight: boolean;
|
|
258
275
|
columnsTogglable: boolean;
|
|
276
|
+
card?: undefined;
|
|
259
277
|
};
|
|
260
278
|
joinValues: boolean;
|
|
261
279
|
extractValue: boolean;
|
|
@@ -311,6 +329,23 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
|
|
|
311
329
|
link: string;
|
|
312
330
|
}[];
|
|
313
331
|
};
|
|
332
|
+
} | {
|
|
333
|
+
mode: string;
|
|
334
|
+
name: string;
|
|
335
|
+
headerToolbarClassName: string;
|
|
336
|
+
className: string;
|
|
337
|
+
draggable: boolean;
|
|
338
|
+
defaultParams: {
|
|
339
|
+
perPage: any;
|
|
340
|
+
};
|
|
341
|
+
card: any;
|
|
342
|
+
syncLocation: boolean;
|
|
343
|
+
keepItemSelectionOnPageChange: boolean;
|
|
344
|
+
checkOnItemClick: boolean;
|
|
345
|
+
labelTpl: string;
|
|
346
|
+
autoFillHeight: boolean;
|
|
347
|
+
columnsTogglable: boolean;
|
|
348
|
+
columns?: undefined;
|
|
314
349
|
} | {
|
|
315
350
|
mode: string;
|
|
316
351
|
name: string;
|
|
@@ -327,6 +362,7 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
|
|
|
327
362
|
labelTpl: string;
|
|
328
363
|
autoFillHeight: boolean;
|
|
329
364
|
columnsTogglable: boolean;
|
|
365
|
+
card?: undefined;
|
|
330
366
|
};
|
|
331
367
|
joinValues: boolean;
|
|
332
368
|
extractValue: boolean;
|
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
export function getTableSchema(fields: any, options: any): Promise<{
|
|
2
|
+
mode: string;
|
|
3
|
+
name: string;
|
|
4
|
+
headerToolbarClassName: string;
|
|
5
|
+
className: string;
|
|
6
|
+
draggable: boolean;
|
|
7
|
+
defaultParams: {
|
|
8
|
+
perPage: any;
|
|
9
|
+
};
|
|
10
|
+
card: any;
|
|
11
|
+
syncLocation: boolean;
|
|
12
|
+
keepItemSelectionOnPageChange: boolean;
|
|
13
|
+
checkOnItemClick: boolean;
|
|
14
|
+
labelTpl: string;
|
|
15
|
+
autoFillHeight: boolean;
|
|
16
|
+
columnsTogglable: boolean;
|
|
17
|
+
columns?: undefined;
|
|
18
|
+
} | {
|
|
2
19
|
mode: string;
|
|
3
20
|
name: string;
|
|
4
21
|
headerToolbarClassName: string;
|
|
@@ -14,6 +31,7 @@ export function getTableSchema(fields: any, options: any): Promise<{
|
|
|
14
31
|
labelTpl: string;
|
|
15
32
|
autoFillHeight: boolean;
|
|
16
33
|
columnsTogglable: boolean;
|
|
34
|
+
card?: undefined;
|
|
17
35
|
}>;
|
|
18
36
|
/**
|
|
19
37
|
*
|
|
@@ -9,6 +9,7 @@ export function getObjectHeaderToolbar(mainObject: any, fields: any, formFactor:
|
|
|
9
9
|
export function getObjectFooterToolbar(mainObject: any, formFactor: any, options: any): (string | {
|
|
10
10
|
type: string;
|
|
11
11
|
maxButtons: number;
|
|
12
|
+
showPageInput: boolean;
|
|
12
13
|
})[];
|
|
13
14
|
export function getObjectFilter(objectSchema: any, fields: any, options: any): Promise<{
|
|
14
15
|
title: 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.3.4-beta.
|
|
4
|
+
"version": "1.3.4-beta.16",
|
|
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": "
|
|
64
|
+
"gitHead": "0e609d74ccbe4cf4fe69728349010d6fab90a439"
|
|
65
65
|
}
|