1 | {
|
2 | "Properties": [
|
3 | {
|
4 | "Name": "label",
|
5 | "Type": "string",
|
6 | "Description": "Radio的文字说明",
|
7 | "Label": "Radio的文字说明",
|
8 | "IsArray": false,
|
9 | "IsMetaDataType": false,
|
10 | "Version": null,
|
11 | "Extension": {
|
12 | "editable": true,
|
13 | "defaultValue": "选项",
|
14 | "editor": {
|
15 | "type": "Input",
|
16 | "config": {}
|
17 | },
|
18 | "jsType": "value"
|
19 | }
|
20 | },
|
21 | {
|
22 | "Name": "minWidth",
|
23 | "Type": "string",
|
24 | "Description": "最小宽度 例:100px",
|
25 | "Label": "最小宽度",
|
26 | "IsArray": false,
|
27 | "IsMetaDataType": false,
|
28 | "Version": null,
|
29 | "Extension": {
|
30 | "editable": true,
|
31 | "editor": {
|
32 | "type": "Input",
|
33 | "config": {}
|
34 | },
|
35 | "jsType": "value"
|
36 | }
|
37 | },
|
38 | {
|
39 | "Name": "maxWidth",
|
40 | "Type": "string",
|
41 | "Description": "最大宽度 例:100px",
|
42 | "Label": "最大宽度",
|
43 | "IsArray": false,
|
44 | "IsMetaDataType": false,
|
45 | "Version": null,
|
46 | "Extension": {
|
47 | "editable": true,
|
48 | "editor": {
|
49 | "type": "Input",
|
50 | "config": {}
|
51 | },
|
52 | "jsType": "value"
|
53 | }
|
54 | },
|
55 | {
|
56 | "Name": "checked",
|
57 | "Type": "boolean",
|
58 | "Description": "是否选中该Radio(用于完全受控)",
|
59 | "Label": "是否选中该Radio",
|
60 | "IsArray": false,
|
61 | "IsMetaDataType": false,
|
62 | "Version": null,
|
63 | "Extension": {
|
64 | "editable": true,
|
65 | "editor": {
|
66 | "type": "Switch",
|
67 | "config": {}
|
68 | },
|
69 | "jsType": "value"
|
70 | }
|
71 | },
|
72 | {
|
73 | "Name": "defaultChecked",
|
74 | "Type": "boolean",
|
75 | "Description": "是否初始选中(常用于非受控状态)",
|
76 | "Label": "是否初始选中(常用于非受控状态)",
|
77 | "IsArray": false,
|
78 | "IsMetaDataType": false,
|
79 | "Version": null,
|
80 | "Extension": {
|
81 | "editable": true,
|
82 | "editor": {
|
83 | "type": "Switch",
|
84 | "config": {}
|
85 | },
|
86 | "jsType": "value"
|
87 | }
|
88 | },
|
89 | {
|
90 | "Name": "disabled",
|
91 | "Type": "boolean",
|
92 | "Description": "禁用radio,不可操作radio",
|
93 | "Label": "禁用radio",
|
94 | "IsArray": false,
|
95 | "IsMetaDataType": false,
|
96 | "Version": null,
|
97 | "Extension": {
|
98 | "editable": true,
|
99 | "editor": {
|
100 | "type": "Switch",
|
101 | "config": {}
|
102 | },
|
103 | "jsType": "value"
|
104 | }
|
105 | },
|
106 | {
|
107 | "Name": "extraCls",
|
108 | "Type": "string",
|
109 | "Description": "自定义的容器class,一般通过此class来实现自定义样式",
|
110 | "Label": "自定义的容器class",
|
111 | "IsArray": false,
|
112 | "IsMetaDataType": false,
|
113 | "Version": null,
|
114 | "Extension": {
|
115 | "editable": true,
|
116 | "editor": {
|
117 | "type": "Input",
|
118 | "config": {}
|
119 | },
|
120 | "jsType": "value"
|
121 | }
|
122 | },
|
123 | {
|
124 | "Name": "fontSize",
|
125 | "Type": "string",
|
126 | "Description": "文字大小 `normal`【12号字】、 `middle`【14号字】",
|
127 | "Label": "字号",
|
128 | "IsArray": false,
|
129 | "IsMetaDataType": false,
|
130 | "Version": null,
|
131 | "Extension": {
|
132 | "editable": true,
|
133 | "defaultValue": "normal",
|
134 | "editor": {
|
135 | "type": "Select",
|
136 | "config": {
|
137 | "dataSource": [
|
138 | {
|
139 | "label": "小号",
|
140 | "value": "normal"
|
141 | },
|
142 | {
|
143 | "label": "中号",
|
144 | "value": "middle"
|
145 | }
|
146 | ]
|
147 | }
|
148 | },
|
149 | "jsType": "value"
|
150 | }
|
151 | },
|
152 | {
|
153 | "Name": "textColor",
|
154 | "Type": "string",
|
155 | "Description": "文字颜色可选 `M1` 、`M2`、 `M3` 、`M4` 、`M5`",
|
156 | "Label": "文字颜色",
|
157 | "IsArray": false,
|
158 | "IsMetaDataType": false,
|
159 | "Version": null,
|
160 | "Extension": {
|
161 | "editable": true,
|
162 | "defaultValue": "M3",
|
163 | "editor": {
|
164 | "type": "Select",
|
165 | "config": {
|
166 | "dataSource": [
|
167 | {
|
168 | "label": "M1",
|
169 | "value": "M1"
|
170 | },
|
171 | {
|
172 | "label": "M2",
|
173 | "value": "M2"
|
174 | },
|
175 | {
|
176 | "label": "M3",
|
177 | "value": "M3"
|
178 | },
|
179 | {
|
180 | "label": "M4",
|
181 | "value": "M4"
|
182 | },
|
183 | {
|
184 | "label": "M5",
|
185 | "value": "M5"
|
186 | }
|
187 | ]
|
188 | }
|
189 | },
|
190 | "jsType": "value"
|
191 | }
|
192 | },
|
193 | {
|
194 | "Name": "value",
|
195 | "Type": "string",
|
196 | "Description": "Radio的值",
|
197 | "Label": "Radio的值",
|
198 | "IsArray": false,
|
199 | "IsMetaDataType": false,
|
200 | "Version": null,
|
201 | "Extension": {
|
202 | "editable": true,
|
203 | "editor": {
|
204 | "type": "Input",
|
205 | "config": {}
|
206 | },
|
207 | "jsType": "value"
|
208 | }
|
209 | },
|
210 | {
|
211 | "Name": "onChange",
|
212 | "Type": "string",
|
213 | "Description": "Radio 发生状态变化后的回调",
|
214 | "Label": "onChange",
|
215 | "IsArray": false,
|
216 | "IsMetaDataType": false,
|
217 | "Version": null,
|
218 | "Extension": {
|
219 | "editable": false,
|
220 | "funcType": "event",
|
221 | "cbParams": [
|
222 | {
|
223 | "name": "data",
|
224 | "label": "选中Radio的数据",
|
225 | "type": "object"
|
226 | }
|
227 | ],
|
228 | "jsType": "function"
|
229 | }
|
230 | }
|
231 | ],
|
232 | "_Name": "Radio",
|
233 | "_Title": "单选组件",
|
234 | "_Description": "单选组件",
|
235 | "_MetaDataType": 1,
|
236 | "_TenantId": 0,
|
237 | "_AppId": 0,
|
238 | "_State": 0,
|
239 | "_Version": "1.2.5"
|
240 | } |
\ | No newline at end of file |