@steedos-widgets/amis-lib 3.6.7-beta.1 → 3.6.7-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.
@@ -1,11 +1,9 @@
1
1
  export function getListSchema(fields: any, options: any): Promise<{
2
+ perPage: any;
2
3
  mode: string;
3
4
  name: string;
4
5
  draggable: boolean;
5
6
  headerToolbar: string[];
6
- defaultParams: {
7
- perPage: any;
8
- };
9
7
  syncLocation: boolean;
10
8
  keepItemSelectionOnPageChange: boolean;
11
9
  checkOnItemClick: boolean;
@@ -30,13 +28,11 @@ export function getListSchema(fields: any, options: any): Promise<{
30
28
  };
31
29
  }>;
32
30
  export function getCardSchema(fields: any, options: any): Promise<{
31
+ perPage: any;
33
32
  mode: string;
34
33
  name: string;
35
34
  draggable: boolean;
36
35
  headerToolbar: string[];
37
- defaultParams: {
38
- perPage: any;
39
- };
40
36
  syncLocation: boolean;
41
37
  keepItemSelectionOnPageChange: boolean;
42
38
  checkOnItemClick: boolean;
@@ -218,15 +218,13 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
218
218
  disabledOn: string;
219
219
  size: string;
220
220
  pickerSchema: {
221
+ perPage: any;
221
222
  mode: string;
222
223
  perPageAvailable: number[];
223
224
  name: string;
224
225
  headerToolbarClassName: string;
225
226
  className: string;
226
227
  draggable: boolean;
227
- defaultParams: {
228
- perPage: any;
229
- };
230
228
  card: any;
231
229
  syncLocation: boolean;
232
230
  keepItemSelectionOnPageChange: boolean;
@@ -235,6 +233,7 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
235
233
  autoFillHeight: boolean;
236
234
  columnsTogglable: boolean;
237
235
  } | {
236
+ perPage: any;
238
237
  expandConfig: {
239
238
  expand: string;
240
239
  };
@@ -244,9 +243,6 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
244
243
  headerToolbarClassName: string;
245
244
  className: string;
246
245
  draggable: boolean;
247
- defaultParams: {
248
- perPage: any;
249
- };
250
246
  columns: any[];
251
247
  syncLocation: boolean;
252
248
  keepItemSelectionOnPageChange: boolean;
@@ -254,15 +250,12 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
254
250
  labelTpl: string;
255
251
  autoFillHeight: boolean;
256
252
  columnsTogglable: boolean;
257
- card?: undefined;
258
253
  } | {
254
+ perPage: any;
259
255
  mode: string;
260
256
  name: string;
261
257
  draggable: boolean;
262
258
  headerToolbar: string[];
263
- defaultParams: {
264
- perPage: any;
265
- };
266
259
  syncLocation: boolean;
267
260
  keepItemSelectionOnPageChange: boolean;
268
261
  checkOnItemClick: boolean;
@@ -311,15 +304,13 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
311
304
  disabledOn: string;
312
305
  size: string;
313
306
  pickerSchema: {
307
+ perPage: any;
314
308
  mode: string;
315
309
  perPageAvailable: number[];
316
310
  name: string;
317
311
  headerToolbarClassName: string;
318
312
  className: string;
319
313
  draggable: boolean;
320
- defaultParams: {
321
- perPage: any;
322
- };
323
314
  card: any;
324
315
  syncLocation: boolean;
325
316
  keepItemSelectionOnPageChange: boolean;
@@ -328,6 +319,7 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
328
319
  autoFillHeight: boolean;
329
320
  columnsTogglable: boolean;
330
321
  } | {
322
+ perPage: any;
331
323
  expandConfig: {
332
324
  expand: string;
333
325
  };
@@ -337,9 +329,6 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
337
329
  headerToolbarClassName: string;
338
330
  className: string;
339
331
  draggable: boolean;
340
- defaultParams: {
341
- perPage: any;
342
- };
343
332
  columns: any[];
344
333
  syncLocation: boolean;
345
334
  keepItemSelectionOnPageChange: boolean;
@@ -347,15 +336,12 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
347
336
  labelTpl: string;
348
337
  autoFillHeight: boolean;
349
338
  columnsTogglable: boolean;
350
- card?: undefined;
351
339
  } | {
340
+ perPage: any;
352
341
  mode: string;
353
342
  name: string;
354
343
  draggable: boolean;
355
344
  headerToolbar: string[];
356
- defaultParams: {
357
- perPage: any;
358
- };
359
345
  syncLocation: boolean;
360
346
  keepItemSelectionOnPageChange: boolean;
361
347
  checkOnItemClick: boolean;
@@ -1,14 +1,12 @@
1
1
  export function getTableColumns(object: any, fields: any, options: any): Promise<any[]>;
2
2
  export function getTableSchema(object: any, fields: any, options: any): Promise<{
3
+ perPage: any;
3
4
  mode: string;
4
5
  perPageAvailable: number[];
5
6
  name: string;
6
7
  headerToolbarClassName: string;
7
8
  className: string;
8
9
  draggable: boolean;
9
- defaultParams: {
10
- perPage: any;
11
- };
12
10
  card: any;
13
11
  syncLocation: boolean;
14
12
  keepItemSelectionOnPageChange: boolean;
@@ -17,6 +15,7 @@ export function getTableSchema(object: any, fields: any, options: any): Promise<
17
15
  autoFillHeight: boolean;
18
16
  columnsTogglable: boolean;
19
17
  } | {
18
+ perPage: any;
20
19
  expandConfig: {
21
20
  expand: string;
22
21
  };
@@ -26,9 +25,6 @@ export function getTableSchema(object: any, fields: any, options: any): Promise<
26
25
  headerToolbarClassName: string;
27
26
  className: string;
28
27
  draggable: boolean;
29
- defaultParams: {
30
- perPage: any;
31
- };
32
28
  columns: any[];
33
29
  syncLocation: boolean;
34
30
  keepItemSelectionOnPageChange: boolean;
@@ -36,7 +32,6 @@ export function getTableSchema(object: any, fields: any, options: any): Promise<
36
32
  labelTpl: string;
37
33
  autoFillHeight: boolean;
38
34
  columnsTogglable: boolean;
39
- card?: undefined;
40
35
  }>;
41
36
  /**
42
37
  *
@@ -24,9 +24,7 @@ export function getSpaceUsersPickerAmisSchema(spaceUserSchema: any, name: any, o
24
24
  name: string;
25
25
  draggable: boolean;
26
26
  headerToolbar: string[];
27
- defaultParams: {
28
- perPage: number;
29
- };
27
+ perPage: number;
30
28
  columns: ({
31
29
  name: string;
32
30
  type: string;
@@ -93,9 +91,7 @@ export function getSpaceUsersPickerSchema(name: any, options: any): Promise<{
93
91
  name: string;
94
92
  draggable: boolean;
95
93
  headerToolbar: string[];
96
- defaultParams: {
97
- perPage: number;
98
- };
94
+ perPage: number;
99
95
  columns: ({
100
96
  name: string;
101
97
  type: 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.7-beta.1",
4
+ "version": "3.6.7-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": "d2291e196e39e48cccfb4939d3dbd66311f05a9a"
64
+ "gitHead": "87eb87d223b667eb0308984a3877214cb666f71f"
65
65
  }