@steedos-widgets/amis-lib 1.2.19 → 1.2.26
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 +217 -115
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +217 -115
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +217 -115
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/fields/editor.d.ts +2 -0
- package/dist/types/lib/converter/amis/fields_filter.d.ts +12 -2
- package/dist/types/lib/converter/amis/header.d.ts +9 -2
- package/dist/types/lib/converter/amis/toolbar.d.ts +9 -2
- package/dist/types/lib/converter/amis/toolbars/setting_listview/new.d.ts +21 -0
- package/dist/types/lib/converter/amis/toolbars/setting_listview.d.ts +21 -0
- package/package.json +2 -2
|
@@ -34,9 +34,11 @@ export function getHtmlFieldSchema(field: any, readonly: any, ctx: any): {
|
|
|
34
34
|
type: string;
|
|
35
35
|
name: any;
|
|
36
36
|
};
|
|
37
|
+
receiver?: undefined;
|
|
37
38
|
name?: undefined;
|
|
38
39
|
} | {
|
|
39
40
|
type: string;
|
|
41
|
+
receiver: string;
|
|
40
42
|
name: any;
|
|
41
43
|
label?: undefined;
|
|
42
44
|
body?: undefined;
|
|
@@ -18,6 +18,9 @@ export function getObjectFieldsFilterFormSchema(ctx: any): Promise<{
|
|
|
18
18
|
type: string;
|
|
19
19
|
visibleOn: string;
|
|
20
20
|
className: string;
|
|
21
|
+
style: {
|
|
22
|
+
"max-height": string;
|
|
23
|
+
};
|
|
21
24
|
schemaApi: {
|
|
22
25
|
method: string;
|
|
23
26
|
url: string;
|
|
@@ -47,6 +50,9 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
47
50
|
type: string;
|
|
48
51
|
visibleOn: string;
|
|
49
52
|
className: string;
|
|
53
|
+
style: {
|
|
54
|
+
"max-height": string;
|
|
55
|
+
};
|
|
50
56
|
schemaApi: {
|
|
51
57
|
method: string;
|
|
52
58
|
url: string;
|
|
@@ -176,11 +182,15 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
176
182
|
} | {
|
|
177
183
|
actionType: string;
|
|
178
184
|
componentId: string;
|
|
185
|
+
args: {
|
|
186
|
+
__from_fields_filter_settings_confirm: boolean;
|
|
187
|
+
};
|
|
179
188
|
script?: undefined;
|
|
180
|
-
args?: undefined;
|
|
181
189
|
} | {
|
|
182
190
|
componentId: string;
|
|
183
|
-
args: {
|
|
191
|
+
args: {
|
|
192
|
+
__from_fields_filter_settings_confirm?: undefined;
|
|
193
|
+
};
|
|
184
194
|
actionType: string;
|
|
185
195
|
script?: undefined;
|
|
186
196
|
})[];
|
|
@@ -182,6 +182,9 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
182
182
|
type: string;
|
|
183
183
|
visibleOn: string;
|
|
184
184
|
className: string;
|
|
185
|
+
style: {
|
|
186
|
+
"max-height": string;
|
|
187
|
+
};
|
|
185
188
|
schemaApi: {
|
|
186
189
|
method: string;
|
|
187
190
|
url: string;
|
|
@@ -311,11 +314,15 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
311
314
|
} | {
|
|
312
315
|
actionType: string;
|
|
313
316
|
componentId: string;
|
|
317
|
+
args: {
|
|
318
|
+
__from_fields_filter_settings_confirm: boolean;
|
|
319
|
+
};
|
|
314
320
|
script?: undefined;
|
|
315
|
-
args?: undefined;
|
|
316
321
|
} | {
|
|
317
322
|
componentId: string;
|
|
318
|
-
args: {
|
|
323
|
+
args: {
|
|
324
|
+
__from_fields_filter_settings_confirm?: undefined;
|
|
325
|
+
};
|
|
319
326
|
actionType: string;
|
|
320
327
|
script?: undefined;
|
|
321
328
|
})[];
|
|
@@ -26,6 +26,9 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
26
26
|
type: string;
|
|
27
27
|
visibleOn: string;
|
|
28
28
|
className: string;
|
|
29
|
+
style: {
|
|
30
|
+
"max-height": string;
|
|
31
|
+
};
|
|
29
32
|
schemaApi: {
|
|
30
33
|
method: string;
|
|
31
34
|
url: string;
|
|
@@ -155,11 +158,15 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
155
158
|
} | {
|
|
156
159
|
actionType: string;
|
|
157
160
|
componentId: string;
|
|
161
|
+
args: {
|
|
162
|
+
__from_fields_filter_settings_confirm: boolean;
|
|
163
|
+
};
|
|
158
164
|
script?: undefined;
|
|
159
|
-
args?: undefined;
|
|
160
165
|
} | {
|
|
161
166
|
componentId: string;
|
|
162
|
-
args: {
|
|
167
|
+
args: {
|
|
168
|
+
__from_fields_filter_settings_confirm?: undefined;
|
|
169
|
+
};
|
|
163
170
|
actionType: string;
|
|
164
171
|
script?: undefined;
|
|
165
172
|
})[];
|
|
@@ -28,6 +28,7 @@ export function getNewListviewButtonSchema(): {
|
|
|
28
28
|
label: string;
|
|
29
29
|
filters: string;
|
|
30
30
|
shared: boolean;
|
|
31
|
+
object_name: string;
|
|
31
32
|
};
|
|
32
33
|
fieldsExtend: {
|
|
33
34
|
label: {
|
|
@@ -36,6 +37,7 @@ export function getNewListviewButtonSchema(): {
|
|
|
36
37
|
name: {
|
|
37
38
|
amis: {
|
|
38
39
|
hidden: boolean;
|
|
40
|
+
required: boolean;
|
|
39
41
|
};
|
|
40
42
|
};
|
|
41
43
|
object_name: {
|
|
@@ -46,36 +48,55 @@ export function getNewListviewButtonSchema(): {
|
|
|
46
48
|
filter_scope: {
|
|
47
49
|
amis: {
|
|
48
50
|
hidden: boolean;
|
|
51
|
+
required: boolean;
|
|
49
52
|
};
|
|
50
53
|
};
|
|
51
54
|
columns: {
|
|
52
55
|
amis: {
|
|
53
56
|
hidden: boolean;
|
|
57
|
+
required: boolean;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
mobile_columns: {
|
|
61
|
+
amis: {
|
|
62
|
+
hidden: boolean;
|
|
63
|
+
required: boolean;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
searchable_fields: {
|
|
67
|
+
amis: {
|
|
68
|
+
hidden: boolean;
|
|
69
|
+
required: boolean;
|
|
54
70
|
};
|
|
55
71
|
};
|
|
56
72
|
filter_fields: {
|
|
57
73
|
amis: {
|
|
58
74
|
hidden: boolean;
|
|
75
|
+
required: boolean;
|
|
59
76
|
};
|
|
60
77
|
};
|
|
61
78
|
scrolling_mode: {
|
|
62
79
|
amis: {
|
|
63
80
|
hidden: boolean;
|
|
81
|
+
required: boolean;
|
|
64
82
|
};
|
|
65
83
|
};
|
|
66
84
|
sort: {
|
|
67
85
|
amis: {
|
|
68
86
|
hidden: boolean;
|
|
87
|
+
required: boolean;
|
|
69
88
|
};
|
|
70
89
|
};
|
|
71
90
|
show_count: {
|
|
72
91
|
amis: {
|
|
73
92
|
hidden: boolean;
|
|
93
|
+
required: boolean;
|
|
74
94
|
};
|
|
75
95
|
};
|
|
76
96
|
type: {
|
|
77
97
|
amis: {
|
|
78
98
|
hidden: boolean;
|
|
99
|
+
required: boolean;
|
|
79
100
|
};
|
|
80
101
|
};
|
|
81
102
|
shared: {
|
|
@@ -38,6 +38,7 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
38
38
|
label: string;
|
|
39
39
|
filters: string;
|
|
40
40
|
shared: boolean;
|
|
41
|
+
object_name: string;
|
|
41
42
|
};
|
|
42
43
|
fieldsExtend: {
|
|
43
44
|
label: {
|
|
@@ -46,6 +47,7 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
46
47
|
name: {
|
|
47
48
|
amis: {
|
|
48
49
|
hidden: boolean;
|
|
50
|
+
required: boolean;
|
|
49
51
|
};
|
|
50
52
|
};
|
|
51
53
|
object_name: {
|
|
@@ -56,36 +58,55 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
56
58
|
filter_scope: {
|
|
57
59
|
amis: {
|
|
58
60
|
hidden: boolean;
|
|
61
|
+
required: boolean;
|
|
59
62
|
};
|
|
60
63
|
};
|
|
61
64
|
columns: {
|
|
62
65
|
amis: {
|
|
63
66
|
hidden: boolean;
|
|
67
|
+
required: boolean;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
mobile_columns: {
|
|
71
|
+
amis: {
|
|
72
|
+
hidden: boolean;
|
|
73
|
+
required: boolean;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
searchable_fields: {
|
|
77
|
+
amis: {
|
|
78
|
+
hidden: boolean;
|
|
79
|
+
required: boolean;
|
|
64
80
|
};
|
|
65
81
|
};
|
|
66
82
|
filter_fields: {
|
|
67
83
|
amis: {
|
|
68
84
|
hidden: boolean;
|
|
85
|
+
required: boolean;
|
|
69
86
|
};
|
|
70
87
|
};
|
|
71
88
|
scrolling_mode: {
|
|
72
89
|
amis: {
|
|
73
90
|
hidden: boolean;
|
|
91
|
+
required: boolean;
|
|
74
92
|
};
|
|
75
93
|
};
|
|
76
94
|
sort: {
|
|
77
95
|
amis: {
|
|
78
96
|
hidden: boolean;
|
|
97
|
+
required: boolean;
|
|
79
98
|
};
|
|
80
99
|
};
|
|
81
100
|
show_count: {
|
|
82
101
|
amis: {
|
|
83
102
|
hidden: boolean;
|
|
103
|
+
required: boolean;
|
|
84
104
|
};
|
|
85
105
|
};
|
|
86
106
|
type: {
|
|
87
107
|
amis: {
|
|
88
108
|
hidden: boolean;
|
|
109
|
+
required: boolean;
|
|
89
110
|
};
|
|
90
111
|
};
|
|
91
112
|
shared: {
|
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.26",
|
|
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": "3887f2be0a6054c27019caf08ecfb40227b63573"
|
|
65
65
|
}
|