1 | {
|
2 | "Properties": [
|
3 | {
|
4 | "Name": "selectType",
|
5 | "Type": "string",
|
6 | "Description": "类型'single' / 'multiple' / 'group' 分别代表单选、多选、分组单选",
|
7 | "Label": "选择类型",
|
8 | "IsArray": false,
|
9 | "IsMetaDataType": false,
|
10 | "Version": null,
|
11 | "Extension": {
|
12 | "editable": true,
|
13 | "defaultValue": "single",
|
14 | "editor": {
|
15 | "type": "Select",
|
16 | "config": {
|
17 | "dataSource": [
|
18 | {
|
19 | "value": "single",
|
20 | "label": "单选"
|
21 | },
|
22 | {
|
23 | "value": "multiple",
|
24 | "label": "多选"
|
25 | },
|
26 | {
|
27 | "value": "group",
|
28 | "label": "分组单选"
|
29 | }
|
30 | ]
|
31 | }
|
32 | },
|
33 | "jsType": "value"
|
34 | }
|
35 | },
|
36 | {
|
37 | "Name": "disabled",
|
38 | "Type": "boolean",
|
39 | "Description": "该输入项是否禁用",
|
40 | "Label": "该输入项是否禁用",
|
41 | "IsArray": false,
|
42 | "IsMetaDataType": false,
|
43 | "Version": null,
|
44 | "Extension": {
|
45 | "editable": true,
|
46 | "editor": {
|
47 | "type": "Switch",
|
48 | "config": {}
|
49 | },
|
50 | "jsType": "value"
|
51 | }
|
52 | },
|
53 | {
|
54 | "Name": "placeHolder",
|
55 | "Type": "string",
|
56 | "Description": "输入框的占位符",
|
57 | "Label": "输入框的占位符",
|
58 | "IsArray": false,
|
59 | "IsMetaDataType": false,
|
60 | "Version": null,
|
61 | "Extension": {
|
62 | "editable": true,
|
63 | "editor": {
|
64 | "type": "Input",
|
65 | "config": {}
|
66 | },
|
67 | "jsType": "value"
|
68 | }
|
69 | },
|
70 | {
|
71 | "Name": "hasError",
|
72 | "Type": "boolean",
|
73 | "Description": "是否显示错误",
|
74 | "Label": "是否显示错误",
|
75 | "IsArray": false,
|
76 | "IsMetaDataType": false,
|
77 | "Version": null,
|
78 | "Extension": {
|
79 | "editable": true,
|
80 | "editor": {
|
81 | "type": "Switch",
|
82 | "config": {}
|
83 | },
|
84 | "jsType": "value"
|
85 | }
|
86 | },
|
87 | {
|
88 | "Name": "isPreview",
|
89 | "Type": "boolean",
|
90 | "Description": "是否用于表单展示态",
|
91 | "Label": "是否用于表单展示态",
|
92 | "IsArray": false,
|
93 | "IsMetaDataType": false,
|
94 | "Version": null,
|
95 | "Extension": {
|
96 | "editable": true,
|
97 | "editor": {
|
98 | "type": "Switch",
|
99 | "config": {}
|
100 | },
|
101 | "jsType": "value"
|
102 | }
|
103 | },
|
104 | {
|
105 | "Name": "value",
|
106 | "Type": "string",
|
107 | "Description": "已选的值,需要与options中的value对应",
|
108 | "Label": "已选的值",
|
109 | "IsArray": false,
|
110 | "IsMetaDataType": false,
|
111 | "Version": null,
|
112 | "Extension": {
|
113 | "editable": true,
|
114 | "editor": {
|
115 | "type": "TextArea",
|
116 | "config": {}
|
117 | },
|
118 | "jsType": "value"
|
119 | }
|
120 | },
|
121 | {
|
122 | "Name": "zIndex",
|
123 | "Type": "number",
|
124 | "Description": "弹层的z-index值",
|
125 | "Label": "弹层的z-index值",
|
126 | "IsArray": false,
|
127 | "IsMetaDataType": false,
|
128 | "Version": null,
|
129 | "Extension": {
|
130 | "editable": true,
|
131 | "editor": {
|
132 | "type": "Number",
|
133 | "config": {}
|
134 | },
|
135 | "jsType": "value"
|
136 | }
|
137 | },
|
138 | {
|
139 | "Name": "stretch",
|
140 | "Type": "string",
|
141 | "Description": "弹层是否根据父容器的大小进行拉伸,可选值包括width、minWidth、height、minHeight",
|
142 | "Label": "弹层是否根据父容器的大小进行拉伸",
|
143 | "IsArray": false,
|
144 | "IsMetaDataType": false,
|
145 | "Version": null,
|
146 | "Extension": {
|
147 | "editable": true,
|
148 | "editor": {
|
149 | "type": "Select",
|
150 | "config": {
|
151 | "dataSource": [
|
152 | {
|
153 | "value": "width",
|
154 | "label": "按宽度"
|
155 | },
|
156 | {
|
157 | "value": "minWidth",
|
158 | "label": "按最小宽度"
|
159 | },
|
160 | {
|
161 | "value": "height",
|
162 | "label": "按高度"
|
163 | },
|
164 | {
|
165 | "value": "minHeight",
|
166 | "label": "按最小高度"
|
167 | }
|
168 | ]
|
169 | }
|
170 | },
|
171 | "jsType": "value"
|
172 | }
|
173 | },
|
174 | {
|
175 | "Name": "options",
|
176 | "Type": "object",
|
177 | "Description": "可选项",
|
178 | "Label": "可选项",
|
179 | "IsArray": true,
|
180 | "IsMetaDataType": false,
|
181 | "Version": null,
|
182 | "Extension": {
|
183 | "editable": true,
|
184 | "defaultValue": [
|
185 | {
|
186 | "label": "我是示例数据1!使用时请删除!",
|
187 | "value": "1"
|
188 | },
|
189 | {
|
190 | "label": "我是示例数据2!使用时请删除!",
|
191 | "value": "2"
|
192 | },
|
193 | {
|
194 | "label": "我是示例数据3!使用时请删除!",
|
195 | "value": "3"
|
196 | }
|
197 | ],
|
198 | "editor": {
|
199 | "type": "TextArea",
|
200 | "config": {}
|
201 | },
|
202 | "jsType": "value"
|
203 | }
|
204 | },
|
205 | {
|
206 | "Name": "isSearch",
|
207 | "Type": "boolean",
|
208 | "Description": "是否开启搜索功能",
|
209 | "Label": "是否开启搜索功能",
|
210 | "IsArray": false,
|
211 | "IsMetaDataType": false,
|
212 | "Version": null,
|
213 | "Extension": {
|
214 | "editable": true,
|
215 | "editor": {
|
216 | "type": "Switch",
|
217 | "config": {}
|
218 | },
|
219 | "jsType": "value"
|
220 | }
|
221 | },
|
222 | {
|
223 | "Name": "optionSearch",
|
224 | "Type": "boolean",
|
225 | "Description": "选项列表上是否显示搜索",
|
226 | "Label": "选项列表上是否显示搜索",
|
227 | "IsArray": false,
|
228 | "IsMetaDataType": false,
|
229 | "Version": null,
|
230 | "Extension": {
|
231 | "editable": true,
|
232 | "editor": {
|
233 | "type": "Switch",
|
234 | "config": {}
|
235 | },
|
236 | "jsType": "value"
|
237 | }
|
238 | },
|
239 | {
|
240 | "Name": "hostSubmit",
|
241 | "Type": "boolean",
|
242 | "Description": "多选模式下是否托管提交事件,如果托管,则弹层不会主动关闭,需要用户手动调用 callback",
|
243 | "Label": "多选模式下是否托管提交事件",
|
244 | "IsArray": false,
|
245 | "IsMetaDataType": false,
|
246 | "Version": null,
|
247 | "Extension": {
|
248 | "editable": true,
|
249 | "editor": {
|
250 | "type": "Switch",
|
251 | "config": {}
|
252 | },
|
253 | "jsType": "value"
|
254 | }
|
255 | },
|
256 | {
|
257 | "Name": "layerWidth",
|
258 | "Type": "number",
|
259 | "Description": "如果不选择下拉宽度自适应,可以使用此属性自己控制宽度",
|
260 | "Label": "下拉弹层宽度",
|
261 | "IsArray": false,
|
262 | "IsMetaDataType": false,
|
263 | "Version": null,
|
264 | "Extension": {
|
265 | "editable": true,
|
266 | "editor": {
|
267 | "type": "Number",
|
268 | "config": {}
|
269 | },
|
270 | "jsType": "value"
|
271 | }
|
272 | },
|
273 | {
|
274 | "Name": "size",
|
275 | "Type": "string",
|
276 | "Description": "选择框大小可配置",
|
277 | "Label": "选择框大小",
|
278 | "IsArray": false,
|
279 | "IsMetaDataType": false,
|
280 | "Version": null,
|
281 | "Extension": {
|
282 | "editable": true,
|
283 | "defaultValue": "normal",
|
284 | "editor": {
|
285 | "type": "Select",
|
286 | "config": {
|
287 | "dataSource": [
|
288 | {
|
289 | "value": "small",
|
290 | "label": "小号"
|
291 | },
|
292 | {
|
293 | "value": "large",
|
294 | "label": "大号"
|
295 | },
|
296 | {
|
297 | "value": "normal",
|
298 | "label": "标准"
|
299 | }
|
300 | ]
|
301 | }
|
302 | },
|
303 | "jsType": "value"
|
304 | }
|
305 | },
|
306 | {
|
307 | "Name": "displayLabel",
|
308 | "Type": "string",
|
309 | "Description": "非空时,选择器中选中值的展示(解决异步数据源时,无法指定当前选中值的问题)'选项一,选项二'",
|
310 | "Label": "选中值的展示",
|
311 | "IsArray": false,
|
312 | "IsMetaDataType": false,
|
313 | "Version": null,
|
314 | "Extension": {
|
315 | "editable": true,
|
316 | "editor": {
|
317 | "type": "Input",
|
318 | "config": {}
|
319 | },
|
320 | "jsType": "value"
|
321 | }
|
322 | },
|
323 | {
|
324 | "Name": "showCheckAll",
|
325 | "Type": "boolean",
|
326 | "Description": "多选模式是否显示全选",
|
327 | "Label": "多选模式是否显示全选",
|
328 | "IsArray": false,
|
329 | "IsMetaDataType": false,
|
330 | "Version": null,
|
331 | "Extension": {
|
332 | "editable": true,
|
333 | "editor": {
|
334 | "type": "Switch",
|
335 | "config": {}
|
336 | },
|
337 | "jsType": "value"
|
338 | }
|
339 | },
|
340 | {
|
341 | "Name": "extraCls",
|
342 | "Type": "string",
|
343 | "Description": "自定义类名",
|
344 | "Label": "自定义类名",
|
345 | "IsArray": false,
|
346 | "IsMetaDataType": false,
|
347 | "Version": null,
|
348 | "Extension": {
|
349 | "editable": true,
|
350 | "editor": {
|
351 | "type": "Input",
|
352 | "config": {}
|
353 | },
|
354 | "jsType": "value"
|
355 | }
|
356 | },
|
357 | {
|
358 | "Name": "caseSensitive",
|
359 | "Type": "boolean",
|
360 | "Description": "搜索时是否大小写敏感",
|
361 | "Label": "搜索时是否大小写敏感",
|
362 | "IsArray": false,
|
363 | "IsMetaDataType": false,
|
364 | "Version": null,
|
365 | "Extension": {
|
366 | "editable": true,
|
367 | "editor": {
|
368 | "type": "Switch",
|
369 | "config": {}
|
370 | },
|
371 | "jsType": "value"
|
372 | }
|
373 | },
|
374 | {
|
375 | "Name": "optionSearchAutoFocus",
|
376 | "Type": "boolean",
|
377 | "Description": "弹层内搜索框是否自动获取焦点",
|
378 | "Label": "弹层内搜索框是否自动获取焦点",
|
379 | "IsArray": false,
|
380 | "IsMetaDataType": false,
|
381 | "Version": null,
|
382 | "Extension": {
|
383 | "editable": true,
|
384 | "editor": {
|
385 | "type": "Switch",
|
386 | "config": {}
|
387 | },
|
388 | "jsType": "value"
|
389 | }
|
390 | },
|
391 | {
|
392 | "Name": "onChange",
|
393 | "Type": "string",
|
394 | "Description": "选中数据的回调,负责将值传回form",
|
395 | "Label": "onChange",
|
396 | "IsArray": false,
|
397 | "IsMetaDataType": false,
|
398 | "Version": null,
|
399 | "Extension": {
|
400 | "editable": false,
|
401 | "funcType": "event",
|
402 | "cbParams": [
|
403 | {
|
404 | "name": "data",
|
405 | "label": "选中的数据",
|
406 | "type": "array"
|
407 | },
|
408 | {
|
409 | "name": "callback",
|
410 | "label": "回调函数",
|
411 | "type": "function"
|
412 | }
|
413 | ],
|
414 | "jsType": "function"
|
415 | }
|
416 | },
|
417 | {
|
418 | "Name": "onBlur",
|
419 | "Type": "string",
|
420 | "Description": "失焦调用",
|
421 | "Label": "onBlur",
|
422 | "IsArray": false,
|
423 | "IsMetaDataType": false,
|
424 | "Version": null,
|
425 | "Extension": {
|
426 | "editable": false,
|
427 | "funcType": "event",
|
428 | "cbParams": [
|
429 | {
|
430 | "name": "event",
|
431 | "label": "事件对象",
|
432 | "type": "object"
|
433 | }
|
434 | ],
|
435 | "jsType": "function"
|
436 | }
|
437 | },
|
438 | {
|
439 | "Name": "getPopupContainer",
|
440 | "Type": "object",
|
441 | "Description": "弹层挂载的容器默认是挂载到 body 下",
|
442 | "Label": "弹层挂载的容器",
|
443 | "IsArray": false,
|
444 | "IsMetaDataType": false,
|
445 | "Version": null,
|
446 | "Extension": {
|
447 | "editable": true,
|
448 | "funcType": "function",
|
449 | "editor": {
|
450 | "type": "Editor",
|
451 | "config": {
|
452 | "language": "javascript"
|
453 | }
|
454 | },
|
455 | "jsType": "function"
|
456 | }
|
457 | }
|
458 | ],
|
459 | "_Name": "FieldDropdown",
|
460 | "_Title": "下拉选择组件",
|
461 | "_Description": "下拉选择组件",
|
462 | "_MetaDataType": 1,
|
463 | "_TenantId": 0,
|
464 | "_AppId": 0,
|
465 | "_State": 0,
|
466 | "_Version": "1.2.4"
|
467 | } |
\ | No newline at end of file |