@steedos-widgets/amis-lib 1.0.16 → 1.0.17
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 +8 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +34 -34
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/fields/index.d.ts +1 -1
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +23 -0
- package/dist/types/lib/converter/amis/fields/table.d.ts +23 -0
- package/dist/types/lib/converter/amis/tpl.d.ts +2 -0
- package/package.json +2 -2
|
@@ -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" | "
|
|
9
|
+
export function getAmisFieldType(sField: any): "url" | "date" | "datetime" | "number" | "select" | "image" | "text" | "password" | "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
|
/**
|
|
@@ -58,6 +58,29 @@ 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
|
+
blank: boolean;
|
|
66
|
+
href: string;
|
|
67
|
+
className: string;
|
|
68
|
+
body: {
|
|
69
|
+
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
|
+
}[];
|
|
80
|
+
size: string;
|
|
81
|
+
className: string;
|
|
82
|
+
};
|
|
83
|
+
}[] | {
|
|
61
84
|
name: string;
|
|
62
85
|
type: string;
|
|
63
86
|
width: number;
|
|
@@ -8,6 +8,29 @@ 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
|
+
blank: boolean;
|
|
16
|
+
href: string;
|
|
17
|
+
className: string;
|
|
18
|
+
body: {
|
|
19
|
+
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
|
+
}[];
|
|
30
|
+
size: string;
|
|
31
|
+
className: string;
|
|
32
|
+
};
|
|
33
|
+
}[] | {
|
|
11
34
|
name: string;
|
|
12
35
|
type: string;
|
|
13
36
|
width: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
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;
|
|
4
5
|
export function getTimeTpl(field: any): string;
|
|
5
6
|
export function getDateTpl(field: any): string;
|
|
6
7
|
export function getDateTimeTpl(field: any): string;
|
|
@@ -8,6 +9,7 @@ export function getUiFieldTpl(field: any): string;
|
|
|
8
9
|
export function getUiFileSizeTpl(field: any): string;
|
|
9
10
|
export function getRefObjectNameFieldName(field: any): Promise<any>;
|
|
10
11
|
export function getSelectTpl(field: any): string;
|
|
12
|
+
export function getNameTplUrl(field: any, ctx: any): string;
|
|
11
13
|
export function getNameTpl(field: any, ctx: any): string;
|
|
12
14
|
export function getRelatedFieldTpl(field: any, ctx: any): string;
|
|
13
15
|
export function getLookupTpl(field: any, ctx: any): Promise<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.17",
|
|
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": "229ae20aea4ebb20c4d1ccc946902441e839f4b6"
|
|
62
62
|
}
|