@steedos-widgets/amis-lib 1.2.31 → 1.2.33
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 +144 -62
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +144 -62
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +144 -62
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/fields/editor.d.ts +24 -15
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +5 -0
- package/dist/types/lib/converter/amis/toolbars/export_excel.d.ts +0 -1
- package/dist/types/lib/converter/amis/toolbars/setting_listview.d.ts +0 -1
- package/package.json +2 -2
|
@@ -12,22 +12,31 @@ export function getMarkdownFieldSchema(field: any, readonly: any, ctx: any): {
|
|
|
12
12
|
};
|
|
13
13
|
} | {
|
|
14
14
|
type: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
name: any;
|
|
18
|
-
language: string;
|
|
19
|
-
options?: undefined;
|
|
20
|
-
} | {
|
|
15
|
+
label: any;
|
|
16
|
+
body: {
|
|
21
17
|
type: string;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
tabsMode: string;
|
|
19
|
+
className: string;
|
|
20
|
+
tabs: ({
|
|
21
|
+
title: string;
|
|
22
|
+
tab: {
|
|
23
|
+
type: string;
|
|
24
|
+
name: any;
|
|
25
|
+
language: string;
|
|
26
|
+
}[];
|
|
27
|
+
} | {
|
|
28
|
+
title: string;
|
|
29
|
+
tab: {
|
|
30
|
+
type: string;
|
|
31
|
+
name: any;
|
|
32
|
+
options: {
|
|
33
|
+
linkify: boolean;
|
|
34
|
+
html: boolean;
|
|
35
|
+
breaks: boolean;
|
|
36
|
+
};
|
|
37
|
+
}[];
|
|
38
|
+
})[];
|
|
39
|
+
}[];
|
|
31
40
|
};
|
|
32
41
|
export function getHtmlFieldSchema(field: any, readonly: any, ctx: any): {
|
|
33
42
|
type: string;
|
|
@@ -58,8 +58,10 @@ export function getLookupSapceUserTreeSchema(): {
|
|
|
58
58
|
}[];
|
|
59
59
|
export function lookupToAmisPicker(field: any, readonly: any, ctx: any): Promise<{
|
|
60
60
|
type: any;
|
|
61
|
+
modalTitle: string;
|
|
61
62
|
labelField: any;
|
|
62
63
|
valueField: any;
|
|
64
|
+
disabledOn: string;
|
|
63
65
|
modalMode: string;
|
|
64
66
|
source: {
|
|
65
67
|
method: string;
|
|
@@ -85,6 +87,7 @@ export function lookupToAmisSelect(field: any, readonly: any, ctx: any): Promise
|
|
|
85
87
|
joinValues: boolean;
|
|
86
88
|
extractValue: boolean;
|
|
87
89
|
clearable: boolean;
|
|
90
|
+
disabledOn: string;
|
|
88
91
|
source: {
|
|
89
92
|
method: string;
|
|
90
93
|
url: string;
|
|
@@ -156,6 +159,7 @@ export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Prom
|
|
|
156
159
|
Authorization: string;
|
|
157
160
|
};
|
|
158
161
|
};
|
|
162
|
+
disabledOn: string;
|
|
159
163
|
size: string;
|
|
160
164
|
pickerSchema: {
|
|
161
165
|
mode: string;
|
|
@@ -249,6 +253,7 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
|
|
|
249
253
|
Authorization: string;
|
|
250
254
|
};
|
|
251
255
|
};
|
|
256
|
+
disabledOn: string;
|
|
252
257
|
size: string;
|
|
253
258
|
pickerSchema: {
|
|
254
259
|
mode: 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.2.
|
|
4
|
+
"version": "1.2.33",
|
|
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": "1c72a383aa0ba2e0b2e1e025976227db17a23eb9"
|
|
65
65
|
}
|