@a2simcode/ui 0.0.69 → 0.0.71
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/components/barcode/index.d.ts +3 -3
- package/dist/components/barcode/src/barcode.vue.d.ts +1 -1
- package/dist/components/date/index.d.ts +98 -0
- package/dist/components/date/src/date.vue.d.ts +78 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/slider/index.d.ts +3 -3
- package/dist/components/slider/src/slider.vue.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/tabs/src/tabs.vue.d.ts +1 -1
- package/dist/simcode-ui.es.js +5074 -4879
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/docs/components/date.md +76 -0
- package/docs/components/meta/comp.ts +230 -230
- package/docs/components/meta/date.ts +275 -0
- package/docs/components/meta/dynamic-layer.ts +99 -99
- package/docs/components/meta/form-item.ts +50 -50
- package/docs/components/meta/guid.ts +42 -42
- package/docs/components/meta/input.ts +411 -411
- package/docs/components/meta/number.ts +296 -296
- package/docs/components/meta/page.ts +67 -67
- package/docs/components/meta/radio.ts +55 -55
- package/docs/components/meta/table-panel.ts +178 -154
- package/docs/components/meta/table.ts +1 -1
- package/docs/components/page.md +15 -0
- package/docs/components/table-panel.md +19 -0
- package/docs/examples/date/basic.vue +73 -0
- package/docs/examples/date/default-value.vue +59 -0
- package/docs/examples/date/format.vue +75 -0
- package/docs/examples/date/range.vue +66 -0
- package/docs/examples/date/types.vue +79 -0
- package/docs/examples/page/log.vue +439 -0
- package/docs/examples/table/editable.vue +1 -0
- package/docs/examples/table-panel/filter.vue +12 -2
- package/docs/examples/table-panel/sub-table-lazy.vue +118 -0
- package/package.json +1 -1
|
@@ -1,296 +1,296 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"props": [
|
|
3
|
-
{
|
|
4
|
-
"name": "modelValue",
|
|
5
|
-
"description": "绑定值",
|
|
6
|
-
"type": "number"
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"name": "min",
|
|
10
|
-
"description": "设置计数器允许的最小值",
|
|
11
|
-
"type": "number"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"name": "max",
|
|
15
|
-
"description": "设置计数器允许的最大值",
|
|
16
|
-
"type": "number"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "step",
|
|
20
|
-
"description": "计数器步长",
|
|
21
|
-
"type": "number",
|
|
22
|
-
"default": "1"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "stepStrictly",
|
|
26
|
-
"description": "是否只能输入 step 的倍数",
|
|
27
|
-
"type": "boolean",
|
|
28
|
-
"default": "false"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "precision",
|
|
32
|
-
"description": "数值精度",
|
|
33
|
-
"type": "number"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "size",
|
|
37
|
-
"description": "计数器尺寸",
|
|
38
|
-
"type": "\"large\" | \"default\" | \"small\"",
|
|
39
|
-
"default": "'default'"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "readonly",
|
|
43
|
-
"description": "原生 readonly 属性,是否只读",
|
|
44
|
-
"type": "boolean",
|
|
45
|
-
"default": "false"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "disabled",
|
|
49
|
-
"description": "是否禁用状态",
|
|
50
|
-
"type": "boolean",
|
|
51
|
-
"default": "false"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "controls",
|
|
55
|
-
"description": "是否使用控制按钮",
|
|
56
|
-
"type": "boolean",
|
|
57
|
-
"default": "true"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "controlsPosition",
|
|
61
|
-
"description": "控制按钮位置",
|
|
62
|
-
"type": "string",
|
|
63
|
-
"default": "'right'"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "ariaLabel",
|
|
67
|
-
"description": "等价于原生 input aria-label 属性",
|
|
68
|
-
"type": "string"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "placeholder",
|
|
72
|
-
"description": "等价于原生 input placeholder 属性",
|
|
73
|
-
"type": "string",
|
|
74
|
-
"default": "'请输入数字'"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "id",
|
|
78
|
-
"description": "等价于原生 input id 属性",
|
|
79
|
-
"type": "string"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "valueOnClear",
|
|
83
|
-
"description": "当输入框被清空时显示的值",
|
|
84
|
-
"type": "number | null | \"\""
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"name": "label",
|
|
88
|
-
"description": "等价于原生 input aria-label 属性",
|
|
89
|
-
"type": "string"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "inputmode",
|
|
93
|
-
"description": "等价于原生 input inputmode 属性",
|
|
94
|
-
"type": "string"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"name": "align",
|
|
98
|
-
"description": "内部输入文本对齐",
|
|
99
|
-
"type": "\"left\" | \"center\" | \"right\"",
|
|
100
|
-
"default": "'left'"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"name": "disabledScientific",
|
|
104
|
-
"description": "禁用科学计数法的输入(例如输入 'e')",
|
|
105
|
-
"type": "boolean",
|
|
106
|
-
"default": "false"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"name": "prefix",
|
|
110
|
-
"description": "输入框头部内容",
|
|
111
|
-
"type": "string"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"name": "suffix",
|
|
115
|
-
"description": "输入框尾部内容",
|
|
116
|
-
"type": "string"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"name": "decreaseIcon",
|
|
120
|
-
"description": "自定义输入框按钮减少图标",
|
|
121
|
-
"type": "string"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "increaseIcon",
|
|
125
|
-
"description": "自定义输入框按钮增加图标",
|
|
126
|
-
"type": "string"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"name": "autoFocus",
|
|
130
|
-
"description": "是否自动聚焦",
|
|
131
|
-
"type": "boolean"
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"events": [
|
|
135
|
-
{
|
|
136
|
-
"name": "update:modelValue",
|
|
137
|
-
"description": "v-model 双向绑定更新事件",
|
|
138
|
-
"type": "union"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"name": "change",
|
|
142
|
-
"description": "当计数器值发生变化时触发",
|
|
143
|
-
"type": "number"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"name": "blur",
|
|
147
|
-
"description": "在组件 Input 失去焦点时触发",
|
|
148
|
-
"type": "unknown"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"name": "focus",
|
|
152
|
-
"description": "在组件 Input 获得焦点时触发",
|
|
153
|
-
"type": "unknown"
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
"slots": [],
|
|
157
|
-
"methods": [
|
|
158
|
-
{
|
|
159
|
-
"name": "blur",
|
|
160
|
-
"description": "",
|
|
161
|
-
"type": "() => void"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"name": "focus",
|
|
165
|
-
"description": "",
|
|
166
|
-
"type": "() => void"
|
|
167
|
-
}
|
|
168
|
-
],
|
|
169
|
-
"types": [
|
|
170
|
-
{
|
|
171
|
-
"name": "NumberProps",
|
|
172
|
-
"properties": [
|
|
173
|
-
{
|
|
174
|
-
"name": "modelValue",
|
|
175
|
-
"type": "number",
|
|
176
|
-
"description": "绑定值"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"name": "min",
|
|
180
|
-
"type": "number",
|
|
181
|
-
"description": "设置计数器允许的最小值"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"name": "max",
|
|
185
|
-
"type": "number",
|
|
186
|
-
"description": "设置计数器允许的最大值"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"name": "step",
|
|
190
|
-
"type": "number",
|
|
191
|
-
"description": "计数器步长"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"name": "stepStrictly",
|
|
195
|
-
"type": "boolean",
|
|
196
|
-
"description": "是否只能输入 step 的倍数"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"name": "precision",
|
|
200
|
-
"type": "number",
|
|
201
|
-
"description": "数值精度"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"name": "size",
|
|
205
|
-
"type": "'large' | 'default' | 'small'",
|
|
206
|
-
"description": "计数器尺寸"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"name": "readonly",
|
|
210
|
-
"type": "boolean",
|
|
211
|
-
"description": "原生 readonly 属性,是否只读"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"name": "disabled",
|
|
215
|
-
"type": "boolean",
|
|
216
|
-
"description": "是否禁用状态"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"name": "controls",
|
|
220
|
-
"type": "boolean",
|
|
221
|
-
"description": "是否使用控制按钮"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"name": "controlsPosition",
|
|
225
|
-
"type": "string",
|
|
226
|
-
"description": "控制按钮位置"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"name": "ariaLabel",
|
|
230
|
-
"type": "string",
|
|
231
|
-
"description": "等价于原生 input aria-label 属性"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"name": "placeholder",
|
|
235
|
-
"type": "string",
|
|
236
|
-
"description": "等价于原生 input placeholder 属性"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"name": "id",
|
|
240
|
-
"type": "string",
|
|
241
|
-
"description": "等价于原生 input id 属性"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"name": "valueOnClear",
|
|
245
|
-
"type": "number | null | ''",
|
|
246
|
-
"description": "当输入框被清空时显示的值"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"name": "label",
|
|
250
|
-
"type": "string",
|
|
251
|
-
"description": "等价于原生 input aria-label 属性"
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"name": "inputmode",
|
|
255
|
-
"type": "string",
|
|
256
|
-
"description": "等价于原生 input inputmode 属性"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"name": "align",
|
|
260
|
-
"type": "'left' | 'center' | 'right'",
|
|
261
|
-
"description": "内部输入文本对齐"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "disabledScientific",
|
|
265
|
-
"type": "boolean",
|
|
266
|
-
"description": "禁用科学计数法的输入(例如输入 'e')"
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"name": "prefix",
|
|
270
|
-
"type": "string",
|
|
271
|
-
"description": "输入框头部内容"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"name": "suffix",
|
|
275
|
-
"type": "string",
|
|
276
|
-
"description": "输入框尾部内容"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"name": "decreaseIcon",
|
|
280
|
-
"type": "string",
|
|
281
|
-
"description": "自定义输入框按钮减少图标"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"name": "increaseIcon",
|
|
285
|
-
"type": "string",
|
|
286
|
-
"description": "自定义输入框按钮增加图标"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"name": "autoFocus",
|
|
290
|
-
"type": "boolean",
|
|
291
|
-
"description": "是否自动聚焦"
|
|
292
|
-
}
|
|
293
|
-
]
|
|
294
|
-
}
|
|
295
|
-
]
|
|
296
|
-
}
|
|
1
|
+
export default {
|
|
2
|
+
"props": [
|
|
3
|
+
{
|
|
4
|
+
"name": "modelValue",
|
|
5
|
+
"description": "绑定值",
|
|
6
|
+
"type": "number"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "min",
|
|
10
|
+
"description": "设置计数器允许的最小值",
|
|
11
|
+
"type": "number"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "max",
|
|
15
|
+
"description": "设置计数器允许的最大值",
|
|
16
|
+
"type": "number"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "step",
|
|
20
|
+
"description": "计数器步长",
|
|
21
|
+
"type": "number",
|
|
22
|
+
"default": "1"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "stepStrictly",
|
|
26
|
+
"description": "是否只能输入 step 的倍数",
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"default": "false"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "precision",
|
|
32
|
+
"description": "数值精度",
|
|
33
|
+
"type": "number"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "size",
|
|
37
|
+
"description": "计数器尺寸",
|
|
38
|
+
"type": "\"large\" | \"default\" | \"small\"",
|
|
39
|
+
"default": "'default'"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "readonly",
|
|
43
|
+
"description": "原生 readonly 属性,是否只读",
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"default": "false"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "disabled",
|
|
49
|
+
"description": "是否禁用状态",
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"default": "false"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "controls",
|
|
55
|
+
"description": "是否使用控制按钮",
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"default": "true"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "controlsPosition",
|
|
61
|
+
"description": "控制按钮位置",
|
|
62
|
+
"type": "string",
|
|
63
|
+
"default": "'right'"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "ariaLabel",
|
|
67
|
+
"description": "等价于原生 input aria-label 属性",
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "placeholder",
|
|
72
|
+
"description": "等价于原生 input placeholder 属性",
|
|
73
|
+
"type": "string",
|
|
74
|
+
"default": "'请输入数字'"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "id",
|
|
78
|
+
"description": "等价于原生 input id 属性",
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "valueOnClear",
|
|
83
|
+
"description": "当输入框被清空时显示的值",
|
|
84
|
+
"type": "number | null | \"\""
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "label",
|
|
88
|
+
"description": "等价于原生 input aria-label 属性",
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "inputmode",
|
|
93
|
+
"description": "等价于原生 input inputmode 属性",
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "align",
|
|
98
|
+
"description": "内部输入文本对齐",
|
|
99
|
+
"type": "\"left\" | \"center\" | \"right\"",
|
|
100
|
+
"default": "'left'"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "disabledScientific",
|
|
104
|
+
"description": "禁用科学计数法的输入(例如输入 'e')",
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"default": "false"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "prefix",
|
|
110
|
+
"description": "输入框头部内容",
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "suffix",
|
|
115
|
+
"description": "输入框尾部内容",
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "decreaseIcon",
|
|
120
|
+
"description": "自定义输入框按钮减少图标",
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "increaseIcon",
|
|
125
|
+
"description": "自定义输入框按钮增加图标",
|
|
126
|
+
"type": "string"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "autoFocus",
|
|
130
|
+
"description": "是否自动聚焦",
|
|
131
|
+
"type": "boolean"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"events": [
|
|
135
|
+
{
|
|
136
|
+
"name": "update:modelValue",
|
|
137
|
+
"description": "v-model 双向绑定更新事件",
|
|
138
|
+
"type": "union"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "change",
|
|
142
|
+
"description": "当计数器值发生变化时触发",
|
|
143
|
+
"type": "number"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "blur",
|
|
147
|
+
"description": "在组件 Input 失去焦点时触发",
|
|
148
|
+
"type": "unknown"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "focus",
|
|
152
|
+
"description": "在组件 Input 获得焦点时触发",
|
|
153
|
+
"type": "unknown"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"slots": [],
|
|
157
|
+
"methods": [
|
|
158
|
+
{
|
|
159
|
+
"name": "blur",
|
|
160
|
+
"description": "",
|
|
161
|
+
"type": "() => void"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "focus",
|
|
165
|
+
"description": "",
|
|
166
|
+
"type": "() => void"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"types": [
|
|
170
|
+
{
|
|
171
|
+
"name": "NumberProps",
|
|
172
|
+
"properties": [
|
|
173
|
+
{
|
|
174
|
+
"name": "modelValue",
|
|
175
|
+
"type": "number",
|
|
176
|
+
"description": "绑定值"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "min",
|
|
180
|
+
"type": "number",
|
|
181
|
+
"description": "设置计数器允许的最小值"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "max",
|
|
185
|
+
"type": "number",
|
|
186
|
+
"description": "设置计数器允许的最大值"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "step",
|
|
190
|
+
"type": "number",
|
|
191
|
+
"description": "计数器步长"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "stepStrictly",
|
|
195
|
+
"type": "boolean",
|
|
196
|
+
"description": "是否只能输入 step 的倍数"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "precision",
|
|
200
|
+
"type": "number",
|
|
201
|
+
"description": "数值精度"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "size",
|
|
205
|
+
"type": "'large' | 'default' | 'small'",
|
|
206
|
+
"description": "计数器尺寸"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "readonly",
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"description": "原生 readonly 属性,是否只读"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "disabled",
|
|
215
|
+
"type": "boolean",
|
|
216
|
+
"description": "是否禁用状态"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "controls",
|
|
220
|
+
"type": "boolean",
|
|
221
|
+
"description": "是否使用控制按钮"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "controlsPosition",
|
|
225
|
+
"type": "string",
|
|
226
|
+
"description": "控制按钮位置"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "ariaLabel",
|
|
230
|
+
"type": "string",
|
|
231
|
+
"description": "等价于原生 input aria-label 属性"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "placeholder",
|
|
235
|
+
"type": "string",
|
|
236
|
+
"description": "等价于原生 input placeholder 属性"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "id",
|
|
240
|
+
"type": "string",
|
|
241
|
+
"description": "等价于原生 input id 属性"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "valueOnClear",
|
|
245
|
+
"type": "number | null | ''",
|
|
246
|
+
"description": "当输入框被清空时显示的值"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "label",
|
|
250
|
+
"type": "string",
|
|
251
|
+
"description": "等价于原生 input aria-label 属性"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "inputmode",
|
|
255
|
+
"type": "string",
|
|
256
|
+
"description": "等价于原生 input inputmode 属性"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "align",
|
|
260
|
+
"type": "'left' | 'center' | 'right'",
|
|
261
|
+
"description": "内部输入文本对齐"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "disabledScientific",
|
|
265
|
+
"type": "boolean",
|
|
266
|
+
"description": "禁用科学计数法的输入(例如输入 'e')"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "prefix",
|
|
270
|
+
"type": "string",
|
|
271
|
+
"description": "输入框头部内容"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "suffix",
|
|
275
|
+
"type": "string",
|
|
276
|
+
"description": "输入框尾部内容"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "decreaseIcon",
|
|
280
|
+
"type": "string",
|
|
281
|
+
"description": "自定义输入框按钮减少图标"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "increaseIcon",
|
|
285
|
+
"type": "string",
|
|
286
|
+
"description": "自定义输入框按钮增加图标"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "autoFocus",
|
|
290
|
+
"type": "boolean",
|
|
291
|
+
"description": "是否自动聚焦"
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
}
|
|
295
|
+
]
|
|
296
|
+
}
|