@steedos-widgets/amis-lib 1.3.16 → 1.3.17-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.
@@ -6,7 +6,7 @@ export function getBaseFields(readonly: any): {
6
6
  className: string;
7
7
  tpl: string;
8
8
  }[];
9
- export function getAmisFieldType(sField: any): "url" | "date" | "datetime" | "number" | "select" | "image" | "text" | "picker" | "table" | "html" | "markdown" | "password" | "email" | "textarea" | "checkbox" | "steedos-input-table";
9
+ export function getAmisFieldType(sField: any): "url" | "password" | "select" | "date" | "datetime" | "number" | "image" | "text" | "email" | "checkbox" | "html" | "textarea" | "table" | "picker" | "markdown" | "steedos-input-table";
10
10
  export function getObjectFieldSubFields(mainField: any, fields: any): any;
11
11
  export function getGridFieldSubFields(mainField: any, fields: any): any;
12
12
  export function getTabledFieldSubFields(mainField: any, fields: any): any;
@@ -218,34 +218,22 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
218
218
  size: string;
219
219
  pickerSchema: {
220
220
  mode: string;
221
+ perPageAvailable: number[];
221
222
  name: string;
223
+ headerToolbarClassName: string;
224
+ className: string;
222
225
  draggable: boolean;
223
- headerToolbar: string[];
224
226
  defaultParams: {
225
227
  perPage: any;
226
228
  };
229
+ card: any;
227
230
  syncLocation: boolean;
228
231
  keepItemSelectionOnPageChange: boolean;
229
232
  checkOnItemClick: boolean;
230
233
  labelTpl: string;
231
- listItem: {
232
- body: {
233
- name: any;
234
- label: any;
235
- sortable: any;
236
- width: any;
237
- type: string;
238
- tpl: string;
239
- toggled: any;
240
- }[];
241
- actions: {
242
- icon: string;
243
- label: string;
244
- type: string;
245
- actionType: string;
246
- link: string;
247
- }[];
248
- };
234
+ autoFillHeight: boolean;
235
+ columnsTogglable: boolean;
236
+ columns?: undefined;
249
237
  } | {
250
238
  mode: string;
251
239
  perPageAvailable: number[];
@@ -256,32 +244,44 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
256
244
  defaultParams: {
257
245
  perPage: any;
258
246
  };
259
- card: any;
247
+ columns: any[];
260
248
  syncLocation: boolean;
261
249
  keepItemSelectionOnPageChange: boolean;
262
250
  checkOnItemClick: boolean;
263
251
  labelTpl: string;
264
252
  autoFillHeight: boolean;
265
253
  columnsTogglable: boolean;
266
- columns?: undefined;
254
+ card?: undefined;
267
255
  } | {
268
256
  mode: string;
269
- perPageAvailable: number[];
270
257
  name: string;
271
- headerToolbarClassName: string;
272
- className: string;
273
258
  draggable: boolean;
259
+ headerToolbar: string[];
274
260
  defaultParams: {
275
261
  perPage: any;
276
262
  };
277
- columns: any[];
278
263
  syncLocation: boolean;
279
264
  keepItemSelectionOnPageChange: boolean;
280
265
  checkOnItemClick: boolean;
281
266
  labelTpl: string;
282
- autoFillHeight: boolean;
283
- columnsTogglable: boolean;
284
- card?: undefined;
267
+ listItem: {
268
+ body: {
269
+ name: any;
270
+ label: any;
271
+ sortable: any;
272
+ width: any;
273
+ type: string;
274
+ tpl: string;
275
+ toggled: any;
276
+ }[];
277
+ actions: {
278
+ icon: string;
279
+ label: string;
280
+ type: string;
281
+ actionType: string;
282
+ link: string;
283
+ }[];
284
+ };
285
285
  };
286
286
  joinValues: boolean;
287
287
  extractValue: boolean;
@@ -309,34 +309,22 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
309
309
  size: string;
310
310
  pickerSchema: {
311
311
  mode: string;
312
+ perPageAvailable: number[];
312
313
  name: string;
314
+ headerToolbarClassName: string;
315
+ className: string;
313
316
  draggable: boolean;
314
- headerToolbar: string[];
315
317
  defaultParams: {
316
318
  perPage: any;
317
319
  };
320
+ card: any;
318
321
  syncLocation: boolean;
319
322
  keepItemSelectionOnPageChange: boolean;
320
323
  checkOnItemClick: boolean;
321
324
  labelTpl: string;
322
- listItem: {
323
- body: {
324
- name: any;
325
- label: any;
326
- sortable: any;
327
- width: any;
328
- type: string;
329
- tpl: string;
330
- toggled: any;
331
- }[];
332
- actions: {
333
- icon: string;
334
- label: string;
335
- type: string;
336
- actionType: string;
337
- link: string;
338
- }[];
339
- };
325
+ autoFillHeight: boolean;
326
+ columnsTogglable: boolean;
327
+ columns?: undefined;
340
328
  } | {
341
329
  mode: string;
342
330
  perPageAvailable: number[];
@@ -347,32 +335,44 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
347
335
  defaultParams: {
348
336
  perPage: any;
349
337
  };
350
- card: any;
338
+ columns: any[];
351
339
  syncLocation: boolean;
352
340
  keepItemSelectionOnPageChange: boolean;
353
341
  checkOnItemClick: boolean;
354
342
  labelTpl: string;
355
343
  autoFillHeight: boolean;
356
344
  columnsTogglable: boolean;
357
- columns?: undefined;
345
+ card?: undefined;
358
346
  } | {
359
347
  mode: string;
360
- perPageAvailable: number[];
361
348
  name: string;
362
- headerToolbarClassName: string;
363
- className: string;
364
349
  draggable: boolean;
350
+ headerToolbar: string[];
365
351
  defaultParams: {
366
352
  perPage: any;
367
353
  };
368
- columns: any[];
369
354
  syncLocation: boolean;
370
355
  keepItemSelectionOnPageChange: boolean;
371
356
  checkOnItemClick: boolean;
372
357
  labelTpl: string;
373
- autoFillHeight: boolean;
374
- columnsTogglable: boolean;
375
- card?: undefined;
358
+ listItem: {
359
+ body: {
360
+ name: any;
361
+ label: any;
362
+ sortable: any;
363
+ width: any;
364
+ type: string;
365
+ tpl: string;
366
+ toggled: any;
367
+ }[];
368
+ actions: {
369
+ icon: string;
370
+ label: string;
371
+ type: string;
372
+ actionType: string;
373
+ link: string;
374
+ }[];
375
+ };
376
376
  };
377
377
  joinValues: boolean;
378
378
  extractValue: boolean;
@@ -13,5 +13,7 @@ export function getAmisInputTableSchema(props: any, readonly: any): Promise<{
13
13
  strictMode: boolean;
14
14
  showTableAddBtn: boolean;
15
15
  showFooterAddBtn: boolean;
16
+ className: any;
16
17
  }[];
18
+ className: any;
17
19
  }>;
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.16",
4
+ "version": "1.3.17-beta.1",
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": "9dcffb0762807385032d09f79c0cf2bb45e21edf"
64
+ "gitHead": "570efdcea1034e79583076cf197d5e963deca77d"
65
65
  }