@steedos-widgets/amis-lib 1.3.0-beta.10 → 1.3.0-beta.11
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 +50 -28
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +50 -28
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +30 -20
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/buttons.d.ts +1 -0
- package/dist/types/lib/converter/amis/fields/editor.d.ts +9 -8
- package/dist/types/lib/converter/amis/fields/index.d.ts +1 -1
- package/dist/types/lib/converter/amis/header.d.ts +2 -0
- package/package.json +2 -2
|
@@ -40,17 +40,18 @@ export function getMarkdownFieldSchema(field: any, readonly: any, ctx: any): {
|
|
|
40
40
|
};
|
|
41
41
|
export function getHtmlFieldSchema(field: any, readonly: any, ctx: any): {
|
|
42
42
|
type: string;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
receiver: string;
|
|
44
|
+
name: any;
|
|
45
|
+
options: {
|
|
46
|
+
plugins: string[];
|
|
47
|
+
statusbar: boolean;
|
|
48
|
+
readonly: boolean;
|
|
49
|
+
toolbar: boolean;
|
|
50
|
+
menubar: boolean;
|
|
47
51
|
};
|
|
48
|
-
receiver?: undefined;
|
|
49
|
-
name?: undefined;
|
|
50
52
|
} | {
|
|
51
53
|
type: string;
|
|
52
54
|
receiver: string;
|
|
53
55
|
name: any;
|
|
54
|
-
|
|
55
|
-
body?: undefined;
|
|
56
|
+
options?: undefined;
|
|
56
57
|
};
|
|
@@ -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" | "password" | "select" | "date" | "datetime" | "number" | "image" | "text" | "picker" | "table" | "markdown" | "
|
|
9
|
+
export function getAmisFieldType(sField: any): "url" | "password" | "select" | "date" | "datetime" | "number" | "image" | "text" | "picker" | "table" | "markdown" | "email" | "textarea" | "html" | "checkbox";
|
|
10
10
|
export function getObjectFieldSubFields(mainField: any, fields: any): any;
|
|
11
11
|
export function getGridFieldSubFields(mainField: any, fields: any): any;
|
|
12
12
|
/**
|
|
@@ -67,6 +67,7 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
|
|
|
67
67
|
}[] | {
|
|
68
68
|
type: string;
|
|
69
69
|
icon: string;
|
|
70
|
+
className: string;
|
|
70
71
|
onEvent: {
|
|
71
72
|
click: {
|
|
72
73
|
actions: {
|
|
@@ -439,6 +440,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
439
440
|
}[] | {
|
|
440
441
|
type: string;
|
|
441
442
|
icon: string;
|
|
443
|
+
className: string;
|
|
442
444
|
onEvent: {
|
|
443
445
|
click: {
|
|
444
446
|
actions: {
|
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.0-beta.
|
|
4
|
+
"version": "1.3.0-beta.11",
|
|
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": "
|
|
64
|
+
"gitHead": "c23918c67a430cf6d42ff718ef306cfacd983fe9"
|
|
65
65
|
}
|