@steedos-widgets/amis-lib 1.0.17 → 1.0.18

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" | "password" | "textarea" | "picker" | "table" | "markdown" | "email" | "html" | "checkbox";
9
+ export function getAmisFieldType(sField: any): "url" | "date" | "datetime" | "number" | "select" | "image" | "password" | "text" | "textarea" | "picker" | "table" | "markdown" | "email" | "html" | "checkbox";
10
10
  export function getObjectFieldSubFields(mainField: any, fields: any): any;
11
11
  export function getGridFieldSubFields(mainField: any, fields: any): any;
12
12
  /**
@@ -62,21 +62,13 @@ export function lookupToAmisPicker(field: any, readonly: any, ctx: any): Promise
62
62
  label: any;
63
63
  sortable: any;
64
64
  type: string;
65
- blank: boolean;
66
- href: string;
67
- className: string;
65
+ level: string;
66
+ actionType: string;
67
+ link: string;
68
+ innerClassName: string;
68
69
  body: {
69
70
  type: string;
70
- body: {
71
- type: string;
72
- body: {
73
- type: string;
74
- tpl: any;
75
- className: string;
76
- }[];
77
- size: string;
78
- className: string;
79
- }[];
71
+ body: "type";
80
72
  size: string;
81
73
  className: string;
82
74
  };
@@ -12,21 +12,13 @@ export function getTableSchema(fields: any, options: any): Promise<{
12
12
  label: any;
13
13
  sortable: any;
14
14
  type: string;
15
- blank: boolean;
16
- href: string;
17
- className: string;
15
+ level: string;
16
+ actionType: string;
17
+ link: string;
18
+ innerClassName: string;
18
19
  body: {
19
20
  type: string;
20
- body: {
21
- type: string;
22
- body: {
23
- type: string;
24
- tpl: any;
25
- className: string;
26
- }[];
27
- size: string;
28
- className: string;
29
- }[];
21
+ body: "type";
30
22
  size: string;
31
23
  className: string;
32
24
  };
@@ -440,6 +440,7 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
440
440
  className: string;
441
441
  }[];
442
442
  md: string;
443
+ hiddenOn?: undefined;
443
444
  } | {
444
445
  body: {
445
446
  type: string;
@@ -452,13 +453,13 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
452
453
  }[];
453
454
  };
454
455
  md: string;
456
+ hiddenOn: string;
455
457
  })[];
456
458
  className: string;
457
459
  }[];
458
460
  size: string;
459
461
  }[];
460
462
  messages: {};
461
- hiddenOn: string;
462
463
  }[];
463
464
  }>;
464
465
  /**
@@ -38,7 +38,7 @@ export function getObjectHeaderToolbar(mainObject: any, formFactor: any): (strin
38
38
  };
39
39
  tpl?: undefined;
40
40
  })[];
41
- export function getObjectFooterToolbar(): string[];
41
+ export function getObjectFooterToolbar(mainObject: any, formFactor: any): string[];
42
42
  export function getObjectFilter(objectSchema: any, fields: any, options: any): Promise<{
43
43
  title: string;
44
44
  submitText: string;
@@ -1,7 +1,6 @@
1
1
  export function getCreatedInfoTpl(formFactor: any): string;
2
2
  export function getModifiedInfoTpl(formFactor: any): string;
3
3
  export function getNumberTpl(field: any): string;
4
- export function getTextTpl(field: any): string;
5
4
  export function getTimeTpl(field: any): string;
6
5
  export function getDateTpl(field: any): string;
7
6
  export function getDateTimeTpl(field: any): string;
@@ -354,6 +354,7 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
354
354
  className: string;
355
355
  }[];
356
356
  md: string;
357
+ hiddenOn?: undefined;
357
358
  } | {
358
359
  body: {
359
360
  type: string;
@@ -366,13 +367,13 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
366
367
  }[];
367
368
  };
368
369
  md: string;
370
+ hiddenOn: string;
369
371
  })[];
370
372
  className: string;
371
373
  }[];
372
374
  size: string;
373
375
  }[];
374
376
  messages: {};
375
- hiddenOn: string;
376
377
  }[];
377
378
  };
378
379
  }>;
@@ -55,7 +55,7 @@ export function getAmisObjectRelatedList(appName: any, objectName: any, recordId
55
55
  isCalendar?: undefined;
56
56
  };
57
57
  })[]>;
58
- export function getRecordDetailRelatedListSchema(objectName: any, recordId: any, relatedObjectName: any, relatedKey: any, top: any, perPage: any, hiddenEmptyTable: any, appId: any, relatedLabel: any): Promise<{
58
+ export function getRecordDetailRelatedListSchema(objectName: any, recordId: any, relatedObjectName: any, relatedKey: any, top: any, perPage: any, hiddenEmptyTable: any, appId: any, relatedLabel: any, className: any): Promise<{
59
59
  uiSchema: any;
60
60
  amisSchema: {
61
61
  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": "1.0.17",
4
+ "version": "1.0.18",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -58,5 +58,5 @@
58
58
  "dependencies": {
59
59
  "lodash": "^4.17.21"
60
60
  },
61
- "gitHead": "229ae20aea4ebb20c4d1ccc946902441e839f4b6"
61
+ "gitHead": "069781c8bdddb5a39c3211e659edd9045589a233"
62
62
  }