@steedos-widgets/amis-lib 1.0.16 → 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.
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +18 -16
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +18 -16
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +32 -30
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +15 -0
- package/dist/types/lib/converter/amis/fields/table.d.ts +15 -0
- package/dist/types/lib/converter/amis/header.d.ts +2 -1
- package/dist/types/lib/converter/amis/toolbar.d.ts +1 -1
- package/dist/types/lib/converter/amis/tpl.d.ts +1 -0
- package/dist/types/lib/objects.d.ts +2 -1
- package/dist/types/lib/objectsRelated.d.ts +1 -1
- package/package.json +2 -2
|
@@ -58,6 +58,21 @@ export function lookupToAmisPicker(field: any, readonly: any, ctx: any): Promise
|
|
|
58
58
|
perPage: any;
|
|
59
59
|
};
|
|
60
60
|
columns: {
|
|
61
|
+
name: any;
|
|
62
|
+
label: any;
|
|
63
|
+
sortable: any;
|
|
64
|
+
type: string;
|
|
65
|
+
level: string;
|
|
66
|
+
actionType: string;
|
|
67
|
+
link: string;
|
|
68
|
+
innerClassName: string;
|
|
69
|
+
body: {
|
|
70
|
+
type: string;
|
|
71
|
+
body: "type";
|
|
72
|
+
size: string;
|
|
73
|
+
className: string;
|
|
74
|
+
};
|
|
75
|
+
}[] | {
|
|
61
76
|
name: string;
|
|
62
77
|
type: string;
|
|
63
78
|
width: number;
|
|
@@ -8,6 +8,21 @@ export function getTableSchema(fields: any, options: any): Promise<{
|
|
|
8
8
|
perPage: any;
|
|
9
9
|
};
|
|
10
10
|
columns: {
|
|
11
|
+
name: any;
|
|
12
|
+
label: any;
|
|
13
|
+
sortable: any;
|
|
14
|
+
type: string;
|
|
15
|
+
level: string;
|
|
16
|
+
actionType: string;
|
|
17
|
+
link: string;
|
|
18
|
+
innerClassName: string;
|
|
19
|
+
body: {
|
|
20
|
+
type: string;
|
|
21
|
+
body: "type";
|
|
22
|
+
size: string;
|
|
23
|
+
className: string;
|
|
24
|
+
};
|
|
25
|
+
}[] | {
|
|
11
26
|
name: string;
|
|
12
27
|
type: string;
|
|
13
28
|
width: number;
|
|
@@ -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;
|
|
@@ -8,6 +8,7 @@ export function getUiFieldTpl(field: any): string;
|
|
|
8
8
|
export function getUiFileSizeTpl(field: any): string;
|
|
9
9
|
export function getRefObjectNameFieldName(field: any): Promise<any>;
|
|
10
10
|
export function getSelectTpl(field: any): string;
|
|
11
|
+
export function getNameTplUrl(field: any, ctx: any): string;
|
|
11
12
|
export function getNameTpl(field: any, ctx: any): string;
|
|
12
13
|
export function getRelatedFieldTpl(field: any, ctx: any): string;
|
|
13
14
|
export function getLookupTpl(field: any, ctx: any): Promise<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.
|
|
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": "
|
|
61
|
+
"gitHead": "069781c8bdddb5a39c3211e659edd9045589a233"
|
|
62
62
|
}
|