UNPKG

7.95 kBJSONView Raw
1{
2 "Properties": [
3 {
4 "Name": "size",
5 "Type": "string",
6 "Description": "选择框的大小,选项(small, normal, large)",
7 "Label": "选择框的大小",
8 "IsArray": false,
9 "IsMetaDataType": false,
10 "Version": null,
11 "Extension": {
12 "editable": true,
13 "defaultValue": "normal",
14 "editor": {
15 "type": "Select",
16 "config": {
17 "dataSource": [
18 {
19 "value": "small",
20 "label": "小号"
21 },
22 {
23 "value": "normal",
24 "label": "标准"
25 },
26 {
27 "value": "large",
28 "label": "大号"
29 }
30 ]
31 }
32 },
33 "jsType": "value"
34 }
35 },
36 {
37 "Name": "value",
38 "Type": "string",
39 "Description": "当前选择框中显示的选项 单选是string 多选时是Array<Item>",
40 "Label": "当前选择框中显示的选项",
41 "IsArray": false,
42 "IsMetaDataType": false,
43 "Version": null,
44 "Extension": {
45 "editable": true,
46 "editor": {
47 "type": "TextArea",
48 "config": {}
49 },
50 "jsType": "value"
51 }
52 },
53 {
54 "Name": "showDelete",
55 "Type": "boolean",
56 "Description": "单选模式下是否显示清空图标",
57 "Label": "单选模式下是否显示清空图标",
58 "IsArray": false,
59 "IsMetaDataType": false,
60 "Version": null,
61 "Extension": {
62 "editable": true,
63 "defaultValue": true,
64 "editor": {
65 "type": "Switch",
66 "config": {}
67 },
68 "jsType": "value"
69 }
70 },
71 {
72 "Name": "isMultiSelect",
73 "Type": "boolean",
74 "Description": "是否为多选,多选时,value应传递当前显示项的数组集合",
75 "Label": "是否为多选",
76 "IsArray": false,
77 "IsMetaDataType": false,
78 "Version": null,
79 "Extension": {
80 "editable": true,
81 "defaultValue": false,
82 "editor": {
83 "type": "Switch",
84 "config": {}
85 },
86 "jsType": "value"
87 }
88 },
89 {
90 "Name": "isSearch",
91 "Type": "boolean",
92 "Description": "是否可输入",
93 "Label": "是否可输入",
94 "IsArray": false,
95 "IsMetaDataType": false,
96 "Version": null,
97 "Extension": {
98 "editable": true,
99 "defaultValue": false,
100 "editor": {
101 "type": "Switch",
102 "config": {}
103 },
104 "jsType": "value"
105 }
106 },
107 {
108 "Name": "disabled",
109 "Type": "boolean",
110 "Description": "是否禁用选择器",
111 "Label": "禁用",
112 "IsArray": false,
113 "IsMetaDataType": false,
114 "Version": null,
115 "Extension": {
116 "editable": true,
117 "defaultValue": false,
118 "editor": {
119 "type": "Switch",
120 "config": {}
121 },
122 "jsType": "value"
123 }
124 },
125 {
126 "Name": "readOnly",
127 "Type": "boolean",
128 "Description": "只读状态,不能输入,不显示清除按钮",
129 "Label": "是否是只读状态",
130 "IsArray": false,
131 "IsMetaDataType": false,
132 "Version": null,
133 "Extension": {
134 "editable": true,
135 "defaultValue": false,
136 "editor": {
137 "type": "Switch",
138 "config": {}
139 },
140 "jsType": "value"
141 }
142 },
143 {
144 "Name": "placeHolder",
145 "Type": "string",
146 "Description": "选择框的占位符",
147 "Label": "选择框的占位符",
148 "IsArray": false,
149 "IsMetaDataType": false,
150 "Version": null,
151 "Extension": {
152 "editable": true,
153 "defaultValue": "搜索",
154 "editor": {
155 "type": "Input",
156 "config": {}
157 },
158 "jsType": "value"
159 }
160 },
161 {
162 "Name": "isActive",
163 "Type": "boolean",
164 "Description": "是否使边框处于高亮状态",
165 "Label": "是否高亮边框",
166 "IsArray": false,
167 "IsMetaDataType": false,
168 "Version": null,
169 "Extension": {
170 "editable": true,
171 "defaultValue": false,
172 "editor": {
173 "type": "Switch",
174 "config": {}
175 },
176 "jsType": "value"
177 }
178 },
179 {
180 "Name": "error",
181 "Type": "boolean",
182 "Description": "选择器校验错误",
183 "Label": "是否显示选择器校验错误样式",
184 "IsArray": false,
185 "IsMetaDataType": false,
186 "Version": null,
187 "Extension": {
188 "editable": true,
189 "defaultValue": false,
190 "editor": {
191 "type": "Switch",
192 "config": {}
193 },
194 "jsType": "value"
195 }
196 },
197 {
198 "Name": "extraCls",
199 "Type": "string",
200 "Description": "自定义的容器class,一般通过此class来实现自定义样式",
201 "Label": "自定义的容器class",
202 "IsArray": false,
203 "IsMetaDataType": false,
204 "Version": null,
205 "Extension": {
206 "editable": true,
207 "editor": {
208 "type": "Input",
209 "config": {}
210 },
211 "jsType": "value"
212 }
213 },
214 {
215 "Name": "translation",
216 "Type": "object",
217 "Description": "国际化 {placeHolder: '请选择'}",
218 "Label": "国际化",
219 "IsArray": false,
220 "IsMetaDataType": false,
221 "Version": null,
222 "Extension": {
223 "editable": true,
224 "editor": {
225 "type": "TextArea",
226 "config": {}
227 },
228 "jsType": "value"
229 }
230 },
231 {
232 "Name": "onChange",
233 "Type": "string",
234 "Description": "选择框的值发生变化后的回调",
235 "Label": "onChange",
236 "IsArray": false,
237 "IsMetaDataType": false,
238 "Version": null,
239 "Extension": {
240 "editable": false,
241 "funcType": "event",
242 "cbParams": [
243 {
244 "name": "value",
245 "label": "当前选择框选中的值",
246 "type": "string"
247 },
248 {
249 "name": "searchWord",
250 "label": "当前搜索的关键字",
251 "type": "string"
252 }
253 ],
254 "jsType": "function"
255 }
256 },
257 {
258 "Name": "onDelete",
259 "Type": "string",
260 "Description": "删除选项后的回调",
261 "Label": "onDelete",
262 "IsArray": false,
263 "IsMetaDataType": false,
264 "Version": null,
265 "Extension": {
266 "editable": false,
267 "funcType": "event",
268 "cbParams": [
269 {
270 "name": "value",
271 "label": "删除后选择框中的值",
272 "type": "string"
273 }
274 ],
275 "jsType": "function"
276 }
277 },
278 {
279 "Name": "onSearch",
280 "Type": "string",
281 "Description": "可搜索情况下,输入框输入的值变化时的回调",
282 "Label": "onSearch",
283 "IsArray": false,
284 "IsMetaDataType": false,
285 "Version": null,
286 "Extension": {
287 "editable": false,
288 "funcType": "event",
289 "cbParams": [
290 {
291 "name": "searchWord",
292 "label": "当前搜索的关键字",
293 "type": "string"
294 }
295 ],
296 "jsType": "function"
297 }
298 },
299 {
300 "Name": "onClick",
301 "Type": "string",
302 "Description": "点击选择器回调",
303 "Label": "onClick",
304 "IsArray": false,
305 "IsMetaDataType": false,
306 "Version": null,
307 "Extension": {
308 "editable": false,
309 "funcType": "event",
310 "cbParams": [
311 {
312 "name": "event",
313 "label": "事件对象",
314 "type": "object"
315 }
316 ],
317 "jsType": "function"
318 }
319 }
320 ],
321 "_Name": "Select",
322 "_Title": "select下拉选择框",
323 "_Description": "",
324 "_MetaDataType": 1,
325 "_TenantId": 0,
326 "_AppId": 0,
327 "_State": 0,
328 "_Version": "1.2.4"
329}
\No newline at end of file