tianheng-ui 0.1.76 → 0.1.78

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,343 @@
1
+ {
2
+ "list": [
3
+ {
4
+ "name": "单行文本",
5
+ "type": "input",
6
+ "icon": "icon-input",
7
+ "options": {
8
+ "width": "100%",
9
+ "labelWidth": 100,
10
+ "isLabelWidth": false,
11
+ "defaultValue": "",
12
+ "dataType": "string",
13
+ "pattern": "",
14
+ "placeholder": "",
15
+ "maxlength": -1,
16
+ "required": false,
17
+ "disabled": false,
18
+ "readonly": false,
19
+ "clearable": false,
20
+ "showWordLimit": false,
21
+ "showPassword": false,
22
+ "prefixIcon": "",
23
+ "suffixIcon": "",
24
+ "prepend": "",
25
+ "append": "",
26
+ "hidden": false,
27
+ "hideLabel": false
28
+ },
29
+ "events": {
30
+ "onChange": "",
31
+ "onFocus": "",
32
+ "onBlur": ""
33
+ },
34
+ "rules": [{}],
35
+ "key": "1684807744000_69127",
36
+ "model": "input_1684807744000_69127"
37
+ },
38
+ {
39
+ "name": "下拉选择器",
40
+ "type": "select",
41
+ "icon": "icon-select",
42
+ "options": {
43
+ "width": "100%",
44
+ "labelWidth": 100,
45
+ "isLabelWidth": false,
46
+ "multiple": false,
47
+ "disabled": false,
48
+ "clearable": false,
49
+ "placeholder": "",
50
+ "required": false,
51
+ "showLabel": false,
52
+ "collapseTags": false,
53
+ "allowCreate": false,
54
+ "filterable": false,
55
+ "remote": {
56
+ "open": false,
57
+ "api": "",
58
+ "props": {
59
+ "value": "id",
60
+ "label": "name",
61
+ "children": "children"
62
+ }
63
+ },
64
+ "options": [
65
+ {
66
+ "label": "选项 1",
67
+ "value": "选值 1"
68
+ }
69
+ ],
70
+ "defaultValue": "",
71
+ "hidden": false,
72
+ "hideLabel": false
73
+ },
74
+ "events": {
75
+ "onChange": "",
76
+ "onFocus": "",
77
+ "onBlur": ""
78
+ },
79
+ "rules": [],
80
+ "key": "1684807774000_93435",
81
+ "model": "select_1684807774000_93435"
82
+ },
83
+ {
84
+ "name": "开关",
85
+ "type": "switch",
86
+ "icon": "icon-switch",
87
+ "options": {
88
+ "width": 70,
89
+ "labelWidth": 100,
90
+ "isLabelWidth": false,
91
+ "defaultValue": false,
92
+ "switchInactiveText": "",
93
+ "switchActiveText": "",
94
+ "switchInactiveColor": "#C0CCDA",
95
+ "switchActiveColor": "#409EFF",
96
+ "required": false,
97
+ "disabled": false,
98
+ "hidden": false,
99
+ "hideLabel": false
100
+ },
101
+ "events": {
102
+ "onChange": ""
103
+ },
104
+ "rules": [],
105
+ "key": "1684807790000_75844",
106
+ "model": "switch_1684807790000_75844"
107
+ },
108
+ {
109
+ "name": "日期选择器",
110
+ "type": "date",
111
+ "icon": "icon-date",
112
+ "options": {
113
+ "width": "100%",
114
+ "labelWidth": 100,
115
+ "isLabelWidth": false,
116
+ "defaultValue": "",
117
+ "readonly": false,
118
+ "disabled": false,
119
+ "editable": true,
120
+ "clearable": true,
121
+ "placeholder": "",
122
+ "startPlaceholder": "",
123
+ "startField": "",
124
+ "endPlaceholder": "",
125
+ "endField": "",
126
+ "type": "date",
127
+ "format": "yyyy-MM-dd",
128
+ "timestamp": false,
129
+ "required": false
130
+ },
131
+ "events": {
132
+ "onChange": "",
133
+ "onFocus": "",
134
+ "onBlur": ""
135
+ },
136
+ "rules": [],
137
+ "key": "1684807816000_20080",
138
+ "model": "date_1684807816000_20080"
139
+ },
140
+ {
141
+ "name": "单选框组",
142
+ "type": "radio",
143
+ "icon": "icon-radio-active",
144
+ "options": {
145
+ "width": "",
146
+ "labelWidth": 100,
147
+ "isLabelWidth": false,
148
+ "inline": false,
149
+ "showLabel": false,
150
+ "required": false,
151
+ "remote": {
152
+ "open": false,
153
+ "api": "",
154
+ "props": {
155
+ "value": "id",
156
+ "label": "name",
157
+ "children": "children"
158
+ }
159
+ },
160
+ "options": [
161
+ {
162
+ "label": "选项 1",
163
+ "value": "选值 1"
164
+ },
165
+ {
166
+ "label": "选项 2",
167
+ "value": "选值 2"
168
+ },
169
+ {
170
+ "label": "选项 3",
171
+ "value": "选值 3"
172
+ }
173
+ ],
174
+ "defaultValue": "",
175
+ "disabled": false,
176
+ "border": false,
177
+ "buttonType": false
178
+ },
179
+ "events": {
180
+ "onChange": ""
181
+ },
182
+ "rules": [],
183
+ "key": "1684807751000_86145",
184
+ "model": "radio_1684807751000_86145"
185
+ },
186
+ {
187
+ "name": "多选框组",
188
+ "type": "checkbox",
189
+ "icon": "icon-check-box",
190
+ "options": {
191
+ "width": "",
192
+ "labelWidth": 100,
193
+ "isLabelWidth": false,
194
+ "inline": false,
195
+ "showLabel": false,
196
+ "required": false,
197
+ "remote": {
198
+ "open": false,
199
+ "api": "",
200
+ "props": {
201
+ "value": "id",
202
+ "label": "name",
203
+ "children": "children"
204
+ }
205
+ },
206
+ "options": [
207
+ {
208
+ "label": "选项 1",
209
+ "value": "选值 1"
210
+ },
211
+ {
212
+ "label": "选项 2",
213
+ "value": "选值 2"
214
+ },
215
+ {
216
+ "label": "选项 3",
217
+ "value": "选值 3"
218
+ }
219
+ ],
220
+ "defaultValue": [],
221
+ "disabled": false,
222
+ "border": false,
223
+ "buttonType": false,
224
+ "min": 0,
225
+ "max": 0,
226
+ "hidden": false,
227
+ "hideLabel": false
228
+ },
229
+ "events": {
230
+ "onChange": ""
231
+ },
232
+ "rules": [],
233
+ "key": "1684807752000_51005",
234
+ "model": "checkbox_1684807752000_51005"
235
+ },
236
+ {
237
+ "name": "多行文本",
238
+ "type": "textarea",
239
+ "icon": "icon-diy-com-textarea",
240
+ "options": {
241
+ "width": "100%",
242
+ "labelWidth": 100,
243
+ "isLabelWidth": false,
244
+ "defaultValue": "",
245
+ "dataType": "string",
246
+ "pattern": "",
247
+ "placeholder": "",
248
+ "maxlength": -1,
249
+ "rows": 2,
250
+ "showWordLimit": false,
251
+ "minRows": 2,
252
+ "maxRows": 5,
253
+ "required": false,
254
+ "disabled": false,
255
+ "readonly": false,
256
+ "clearable": false,
257
+ "hidden": false,
258
+ "hideLabel": false
259
+ },
260
+ "events": {
261
+ "onChange": "",
262
+ "onFocus": "",
263
+ "onBlur": ""
264
+ },
265
+ "rules": [{}],
266
+ "key": "1684807783000_15594",
267
+ "model": "textarea_1684807783000_15594"
268
+ },
269
+ {
270
+ "name": "按钮",
271
+ "type": "button",
272
+ "icon": "th-icon-aim",
273
+ "options": {
274
+ "customClass": "",
275
+ "width": "",
276
+ "height": "",
277
+ "labelWidth": 100,
278
+ "isLabelWidth": false,
279
+ "dataBind": false,
280
+ "buttonSize": "small",
281
+ "buttonType": "",
282
+ "buttonPlain": false,
283
+ "buttonRound": false,
284
+ "buttonCircle": false,
285
+ "buttonIcon": "",
286
+ "textAlign": "center",
287
+ "tableColumn": false,
288
+ "remote": {
289
+ "open": false,
290
+ "api": "",
291
+ "props": {
292
+ "value": "id",
293
+ "label": "name",
294
+ "children": "children"
295
+ }
296
+ },
297
+ "defaultValue": "Button",
298
+ "disabled": false,
299
+ "loading": false,
300
+ "hidden": false,
301
+ "hideLabel": false
302
+ },
303
+ "events": {
304
+ "onClick": ""
305
+ },
306
+ "rules": [],
307
+ "key": "1684807803000_58548",
308
+ "model": "button_1684807803000_58548"
309
+ }
310
+ ],
311
+ "config": {
312
+ "fields": {
313
+ "type": "api",
314
+ "api": "",
315
+ "remote": true
316
+ },
317
+ "ui": "element",
318
+ "title": "",
319
+ "width": "",
320
+ "labelWidth": 100,
321
+ "labelPosition": "right",
322
+ "labelSuffix": ":",
323
+ "size": "small",
324
+ "disabled": false,
325
+ "hideLabel": false,
326
+ "mounted": {
327
+ "api": ""
328
+ },
329
+ "eventScript": [
330
+ {
331
+ "id": "mounted",
332
+ "label": "mounted",
333
+ "value": ""
334
+ },
335
+ {
336
+ "id": "refresh",
337
+ "label": "refresh",
338
+ "value": ""
339
+ }
340
+ ],
341
+ "network": {}
342
+ }
343
+ }