@vipl520/dk-ui 1.0.80 → 1.0.82

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.
Files changed (37) hide show
  1. package/dist/attributes.json +183 -59
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +3 -19
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +1 -1
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +3 -19
  9. package/dist/tags.json +50 -34
  10. package/dist/web-types.json +383 -225
  11. package/es/icon-input/src/props.mjs +0 -11
  12. package/es/icon-input/src/props.mjs.map +1 -1
  13. package/es/index.mjs +0 -4
  14. package/es/index.mjs.map +1 -1
  15. package/es/index.scss +311 -67
  16. package/es/select/src/select.vue2.mjs +2 -1
  17. package/es/select/src/select.vue2.mjs.map +1 -1
  18. package/es/table/src/components/FieldRender.vue2.mjs +0 -1
  19. package/es/table/src/components/FieldRender.vue2.mjs.map +1 -1
  20. package/es/table/src/table.vue2.mjs +1 -1
  21. package/es/table/src/table.vue2.mjs.map +1 -1
  22. package/es/url-input/src/url-input-content.vue2.mjs +0 -1
  23. package/es/url-input/src/url-input-content.vue2.mjs.map +1 -1
  24. package/lib/icon-input/src/props.js +0 -11
  25. package/lib/icon-input/src/props.js.map +1 -1
  26. package/lib/index.js +0 -4
  27. package/lib/index.js.map +1 -1
  28. package/lib/index.scss +311 -67
  29. package/lib/select/src/select.vue2.js +2 -1
  30. package/lib/select/src/select.vue2.js.map +1 -1
  31. package/lib/table/src/components/FieldRender.vue2.js +0 -1
  32. package/lib/table/src/components/FieldRender.vue2.js.map +1 -1
  33. package/lib/table/src/table.vue2.js +1 -1
  34. package/lib/table/src/table.vue2.js.map +1 -1
  35. package/lib/url-input/src/url-input-content.vue2.js +0 -1
  36. package/lib/url-input/src/url-input-content.vue2.js.map +1 -1
  37. package/package.json +1 -1
@@ -2,46 +2,12 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "dk",
5
- "version": "1.0.77",
5
+ "version": "1.0.82",
6
6
  "js-types-syntax": "typescript",
7
7
  "description-markup": "markdown",
8
8
  "contributions": {
9
9
  "html": {
10
10
  "vue-components": [
11
- {
12
- "name": "dk-animate-select",
13
- "source": {
14
- "symbol": "DkUIAnimateSelect"
15
- },
16
- "description": "组件描述组件描述组件描述组件描述组件描述组件描述。",
17
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#animateselect",
18
- "props": [
19
- {
20
- "name": "type",
21
- "description": "参数类型",
22
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#animateselect-props",
23
- "type": [
24
- "string"
25
- ]
26
- }
27
- ],
28
- "slots": [
29
- {
30
- "name": "default",
31
- "description": "自定义默认内容",
32
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#animateselect-slots"
33
- }
34
- ],
35
- "js": {
36
- "events": [
37
- {
38
- "name": "click",
39
- "description": "点击触发的事件",
40
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#animateselect-events"
41
- }
42
- ]
43
- }
44
- },
45
11
  {
46
12
  "name": "dk-attachment",
47
13
  "source": {
@@ -164,19 +130,49 @@
164
130
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audioinput",
165
131
  "props": [
166
132
  {
167
- "name": "type",
168
- "description": "参数类型",
133
+ "name": "modelValue",
134
+ "description": "输入值 v-model",
169
135
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audioinput-props",
170
136
  "type": [
171
137
  "string"
172
- ]
173
- }
174
- ],
175
- "slots": [
138
+ ],
139
+ "default": "''"
140
+ },
176
141
  {
177
- "name": "default",
178
- "description": "自定义默认内容",
179
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audioinput-slots"
142
+ "name": "placeholder",
143
+ "description": "占位符",
144
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audioinput-props",
145
+ "type": [
146
+ "string"
147
+ ],
148
+ "default": "''"
149
+ },
150
+ {
151
+ "name": "showInput",
152
+ "description": "是否显示输入框",
153
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audioinput-props",
154
+ "type": [
155
+ "boolean"
156
+ ],
157
+ "default": "true"
158
+ },
159
+ {
160
+ "name": "imgSize",
161
+ "description": "图像大小",
162
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audioinput-props",
163
+ "type": [
164
+ "number"
165
+ ],
166
+ "default": "100"
167
+ },
168
+ {
169
+ "name": "accept",
170
+ "description": "文件接受类型",
171
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audioinput-props",
172
+ "type": [
173
+ "string"
174
+ ],
175
+ "default": "''"
180
176
  }
181
177
  ],
182
178
  "js": {
@@ -185,6 +181,16 @@
185
181
  "name": "click",
186
182
  "description": "点击触发的事件",
187
183
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audioinput-events"
184
+ },
185
+ {
186
+ "name": "input",
187
+ "description": "输入触发的事件",
188
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audioinput-events"
189
+ },
190
+ {
191
+ "name": "change",
192
+ "description": "仅当 modelValue 改变时,当输入框失去焦点或用户按Enter时触发",
193
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audioinput-events"
188
194
  }
189
195
  ]
190
196
  }
@@ -199,29 +205,50 @@
199
205
  "props": [
200
206
  {
201
207
  "name": "type",
202
- "description": "参数类型",
208
+ "description": "文件类型",
203
209
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audiolistinput-props",
204
210
  "type": [
205
- "string"
206
- ]
207
- }
208
- ],
209
- "slots": [
211
+ "Number | String"
212
+ ],
213
+ "default": "0"
214
+ },
210
215
  {
211
- "name": "default",
212
- "description": "自定义默认内容",
213
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audiolistinput-slots"
216
+ "name": "disabled",
217
+ "description": "是否禁用组件",
218
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audiolistinput-props",
219
+ "type": [
220
+ "Boolean"
221
+ ],
222
+ "default": "false"
223
+ },
224
+ {
225
+ "name": "limit",
226
+ "description": "文件数量限制",
227
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audiolistinput-props",
228
+ "type": [
229
+ "Number"
230
+ ],
231
+ "default": "3"
232
+ },
233
+ {
234
+ "name": "imgSize",
235
+ "description": "图片尺寸(单位:px)",
236
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audiolistinput-props",
237
+ "type": [
238
+ "Number"
239
+ ],
240
+ "default": "100"
241
+ },
242
+ {
243
+ "name": "accept",
244
+ "description": "接受的文件类型",
245
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audiolistinput-props",
246
+ "type": [
247
+ "String"
248
+ ],
249
+ "default": "''"
214
250
  }
215
- ],
216
- "js": {
217
- "events": [
218
- {
219
- "name": "click",
220
- "description": "点击触发的事件",
221
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#audiolistinput-events"
222
- }
223
- ]
224
- }
251
+ ]
225
252
  },
226
253
  {
227
254
  "name": "dk-box-size-input",
@@ -257,39 +284,6 @@
257
284
  ]
258
285
  }
259
286
  },
260
- {
261
- "name": "dk-color-input",
262
- "source": {
263
- "symbol": "DkUIColorInput"
264
- },
265
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#colorinput",
266
- "props": [
267
- {
268
- "name": "type",
269
- "description": "参数类型",
270
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#colorinput-props",
271
- "type": [
272
- "string"
273
- ]
274
- }
275
- ],
276
- "slots": [
277
- {
278
- "name": "default",
279
- "description": "自定义默认内容",
280
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#colorinput-slots"
281
- }
282
- ],
283
- "js": {
284
- "events": [
285
- {
286
- "name": "click",
287
- "description": "点击触发的事件",
288
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#colorinput-events"
289
- }
290
- ]
291
- }
292
- },
293
287
  {
294
288
  "name": "dk-dialog",
295
289
  "source": {
@@ -561,14 +555,6 @@
561
555
  "description": "附件选择器,可以快捷选择服务器中的附件资源,包含文件、图片、音频、视频等。",
562
556
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#fileinput",
563
557
  "props": [
564
- {
565
- "name": "type",
566
- "description": "参数类型",
567
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#fileinput-props",
568
- "type": [
569
- "string"
570
- ]
571
- },
572
558
  {
573
559
  "name": "modelValue",
574
560
  "description": "输入值 v-model",
@@ -635,40 +621,6 @@
635
621
  ]
636
622
  }
637
623
  },
638
- {
639
- "name": "dk-file-list-input",
640
- "source": {
641
- "symbol": "DkUIFileListInput"
642
- },
643
- "description": "组件描述组件描述组件描述组件描述组件描述组件描述。",
644
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#filelistinput",
645
- "props": [
646
- {
647
- "name": "type",
648
- "description": "参数类型",
649
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#filelistinput-props",
650
- "type": [
651
- "string"
652
- ]
653
- }
654
- ],
655
- "slots": [
656
- {
657
- "name": "default",
658
- "description": "自定义默认内容",
659
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#filelistinput-slots"
660
- }
661
- ],
662
- "js": {
663
- "events": [
664
- {
665
- "name": "click",
666
- "description": "点击触发的事件",
667
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#filelistinput-events"
668
- }
669
- ]
670
- }
671
- },
672
624
  {
673
625
  "name": "dk-form",
674
626
  "source": {
@@ -1005,19 +957,49 @@
1005
957
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imageinput",
1006
958
  "props": [
1007
959
  {
1008
- "name": "type",
1009
- "description": "参数类型",
960
+ "name": "modelValue",
961
+ "description": "输入值 v-model",
1010
962
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imageinput-props",
1011
963
  "type": [
1012
964
  "string"
1013
- ]
1014
- }
1015
- ],
1016
- "slots": [
965
+ ],
966
+ "default": "''"
967
+ },
1017
968
  {
1018
- "name": "default",
1019
- "description": "自定义默认内容",
1020
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imageinput-slots"
969
+ "name": "placeholder",
970
+ "description": "占位符",
971
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imageinput-props",
972
+ "type": [
973
+ "string"
974
+ ],
975
+ "default": "''"
976
+ },
977
+ {
978
+ "name": "showInput",
979
+ "description": "是否显示输入框",
980
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imageinput-props",
981
+ "type": [
982
+ "boolean"
983
+ ],
984
+ "default": "true"
985
+ },
986
+ {
987
+ "name": "imgSize",
988
+ "description": "图像大小",
989
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imageinput-props",
990
+ "type": [
991
+ "number"
992
+ ],
993
+ "default": "100"
994
+ },
995
+ {
996
+ "name": "accept",
997
+ "description": "文件接受类型",
998
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imageinput-props",
999
+ "type": [
1000
+ "string"
1001
+ ],
1002
+ "default": "''"
1021
1003
  }
1022
1004
  ],
1023
1005
  "js": {
@@ -1026,6 +1008,16 @@
1026
1008
  "name": "click",
1027
1009
  "description": "点击触发的事件",
1028
1010
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imageinput-events"
1011
+ },
1012
+ {
1013
+ "name": "input",
1014
+ "description": "输入触发的事件",
1015
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imageinput-events"
1016
+ },
1017
+ {
1018
+ "name": "change",
1019
+ "description": "仅当 modelValue 改变时,当输入框失去焦点或用户按Enter时触发",
1020
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imageinput-events"
1029
1021
  }
1030
1022
  ]
1031
1023
  }
@@ -1040,29 +1032,50 @@
1040
1032
  "props": [
1041
1033
  {
1042
1034
  "name": "type",
1043
- "description": "参数类型",
1035
+ "description": "文件类型",
1044
1036
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imagelistinput-props",
1045
1037
  "type": [
1046
- "string"
1047
- ]
1048
- }
1049
- ],
1050
- "slots": [
1038
+ "Number | String"
1039
+ ],
1040
+ "default": "0"
1041
+ },
1051
1042
  {
1052
- "name": "default",
1053
- "description": "自定义默认内容",
1054
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imagelistinput-slots"
1043
+ "name": "disabled",
1044
+ "description": "是否禁用组件",
1045
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imagelistinput-props",
1046
+ "type": [
1047
+ "Boolean"
1048
+ ],
1049
+ "default": "false"
1050
+ },
1051
+ {
1052
+ "name": "limit",
1053
+ "description": "文件数量限制",
1054
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imagelistinput-props",
1055
+ "type": [
1056
+ "Number"
1057
+ ],
1058
+ "default": "3"
1059
+ },
1060
+ {
1061
+ "name": "imgSize",
1062
+ "description": "图片尺寸(单位:px)",
1063
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imagelistinput-props",
1064
+ "type": [
1065
+ "Number"
1066
+ ],
1067
+ "default": "100"
1068
+ },
1069
+ {
1070
+ "name": "accept",
1071
+ "description": "接受的文件类型",
1072
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imagelistinput-props",
1073
+ "type": [
1074
+ "String"
1075
+ ],
1076
+ "default": "''"
1055
1077
  }
1056
- ],
1057
- "js": {
1058
- "events": [
1059
- {
1060
- "name": "click",
1061
- "description": "点击触发的事件",
1062
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#imagelistinput-events"
1063
- }
1064
- ]
1065
- }
1078
+ ]
1066
1079
  },
1067
1080
  {
1068
1081
  "name": "dk-page-diy",
@@ -1379,12 +1392,59 @@
1379
1392
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#styleinput",
1380
1393
  "props": [
1381
1394
  {
1382
- "name": "type",
1383
- "description": "参数类型",
1395
+ "name": "components",
1396
+ "description": "引入组件",
1384
1397
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#styleinput-props",
1385
1398
  "type": [
1386
- "string"
1387
- ]
1399
+ {
1400
+ "name": "Array as () => StyleInputConfig[]",
1401
+ "source": {
1402
+ "symbol": "Array as () => StyleInputConfig"
1403
+ }
1404
+ }
1405
+ ],
1406
+ "default": "`defaultConfig`"
1407
+ },
1408
+ {
1409
+ "name": "hideComponents",
1410
+ "description": "需要隐藏的组件",
1411
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#styleinput-props",
1412
+ "type": [
1413
+ {
1414
+ "name": "Array as () => string[]",
1415
+ "source": {
1416
+ "symbol": "Array as () => string"
1417
+ }
1418
+ }
1419
+ ],
1420
+ "default": "`[]`"
1421
+ },
1422
+ {
1423
+ "name": "isDrawer",
1424
+ "description": "是否以抽屉形式显示",
1425
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#styleinput-props",
1426
+ "type": [
1427
+ "Boolean"
1428
+ ],
1429
+ "default": "false"
1430
+ },
1431
+ {
1432
+ "name": "drawerProps",
1433
+ "description": "抽屉属性",
1434
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#styleinput-props",
1435
+ "type": [
1436
+ "Object"
1437
+ ],
1438
+ "default": "`{ title: '编辑样式', direction: 'rtl', size: '400px' }`"
1439
+ },
1440
+ {
1441
+ "name": "drawerText",
1442
+ "description": "抽屉文本",
1443
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#styleinput-props",
1444
+ "type": [
1445
+ "String"
1446
+ ],
1447
+ "default": "'编辑样式'"
1388
1448
  }
1389
1449
  ],
1390
1450
  "slots": [
@@ -1674,23 +1734,77 @@
1674
1734
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor",
1675
1735
  "props": [
1676
1736
  {
1677
- "name": "type",
1678
- "description": "参数类型",
1737
+ "name": "disabled",
1738
+ "description": "是否禁用编辑器",
1679
1739
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor-props",
1680
1740
  "type": [
1681
- "string"
1682
- ]
1683
- }
1684
- ],
1685
- "slots": [
1741
+ "Boolean"
1742
+ ],
1743
+ "default": "false"
1744
+ },
1686
1745
  {
1687
- "name": "default",
1688
- "description": "自定义默认内容",
1689
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor-slots"
1746
+ "name": "modelValue",
1747
+ "description": "编辑器内容",
1748
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor-props",
1749
+ "type": [
1750
+ "String"
1751
+ ],
1752
+ "default": "''"
1753
+ },
1754
+ {
1755
+ "name": "height",
1756
+ "description": "编辑器高度",
1757
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor-props",
1758
+ "type": [
1759
+ "Number"
1760
+ ],
1761
+ "default": "400"
1762
+ },
1763
+ {
1764
+ "name": "document",
1765
+ "description": "是否显示文档效果",
1766
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor-props",
1767
+ "type": [
1768
+ "Boolean"
1769
+ ],
1770
+ "default": "false"
1771
+ },
1772
+ {
1773
+ "name": "buttonText",
1774
+ "description": "按钮文本",
1775
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor-props",
1776
+ "type": [
1777
+ "String"
1778
+ ],
1779
+ "default": "'编辑富文本'"
1780
+ },
1781
+ {
1782
+ "name": "showDialogWidth",
1783
+ "description": "弹窗宽度",
1784
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor-props",
1785
+ "type": [
1786
+ "Number"
1787
+ ],
1788
+ "default": "300"
1690
1789
  }
1691
1790
  ],
1692
1791
  "js": {
1693
1792
  "events": [
1793
+ {
1794
+ "name": "update:modelValue",
1795
+ "description": "更新modelValue值",
1796
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor-events"
1797
+ },
1798
+ {
1799
+ "name": "input",
1800
+ "description": "输入事件",
1801
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor-events"
1802
+ },
1803
+ {
1804
+ "name": "change",
1805
+ "description": "内容改变事件",
1806
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tinyeditor-events"
1807
+ },
1694
1808
  {
1695
1809
  "name": "click",
1696
1810
  "description": "点击触发的事件",
@@ -1774,23 +1888,6 @@
1774
1888
  },
1775
1889
  "description": "组件描述组件描述组件描述组件描述组件描述组件描述。",
1776
1890
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#urlinput",
1777
- "props": [
1778
- {
1779
- "name": "type",
1780
- "description": "参数类型",
1781
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#urlinput-props",
1782
- "type": [
1783
- "string"
1784
- ]
1785
- }
1786
- ],
1787
- "slots": [
1788
- {
1789
- "name": "default",
1790
- "description": "自定义默认内容",
1791
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#urlinput-slots"
1792
- }
1793
- ],
1794
1891
  "js": {
1795
1892
  "events": [
1796
1893
  {
@@ -1810,19 +1907,49 @@
1810
1907
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videoinput",
1811
1908
  "props": [
1812
1909
  {
1813
- "name": "type",
1814
- "description": "参数类型",
1910
+ "name": "modelValue",
1911
+ "description": "输入值 v-model",
1815
1912
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videoinput-props",
1816
1913
  "type": [
1817
1914
  "string"
1818
- ]
1819
- }
1820
- ],
1821
- "slots": [
1915
+ ],
1916
+ "default": "''"
1917
+ },
1822
1918
  {
1823
- "name": "default",
1824
- "description": "自定义默认内容",
1825
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videoinput-slots"
1919
+ "name": "placeholder",
1920
+ "description": "占位符",
1921
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videoinput-props",
1922
+ "type": [
1923
+ "string"
1924
+ ],
1925
+ "default": "''"
1926
+ },
1927
+ {
1928
+ "name": "showInput",
1929
+ "description": "是否显示输入框",
1930
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videoinput-props",
1931
+ "type": [
1932
+ "boolean"
1933
+ ],
1934
+ "default": "true"
1935
+ },
1936
+ {
1937
+ "name": "imgSize",
1938
+ "description": "图像大小",
1939
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videoinput-props",
1940
+ "type": [
1941
+ "number"
1942
+ ],
1943
+ "default": "100"
1944
+ },
1945
+ {
1946
+ "name": "accept",
1947
+ "description": "文件接受类型",
1948
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videoinput-props",
1949
+ "type": [
1950
+ "string"
1951
+ ],
1952
+ "default": "''"
1826
1953
  }
1827
1954
  ],
1828
1955
  "js": {
@@ -1831,6 +1958,16 @@
1831
1958
  "name": "click",
1832
1959
  "description": "点击触发的事件",
1833
1960
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videoinput-events"
1961
+ },
1962
+ {
1963
+ "name": "input",
1964
+ "description": "输入触发的事件",
1965
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videoinput-events"
1966
+ },
1967
+ {
1968
+ "name": "change",
1969
+ "description": "仅当 modelValue 改变时,当输入框失去焦点或用户按Enter时触发",
1970
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videoinput-events"
1834
1971
  }
1835
1972
  ]
1836
1973
  }
@@ -1845,29 +1982,50 @@
1845
1982
  "props": [
1846
1983
  {
1847
1984
  "name": "type",
1848
- "description": "参数类型",
1985
+ "description": "文件类型",
1849
1986
  "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videolistinput-props",
1850
1987
  "type": [
1851
- "string"
1852
- ]
1853
- }
1854
- ],
1855
- "slots": [
1988
+ "Number | String"
1989
+ ],
1990
+ "default": "0"
1991
+ },
1856
1992
  {
1857
- "name": "default",
1858
- "description": "自定义默认内容",
1859
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videolistinput-slots"
1993
+ "name": "disabled",
1994
+ "description": "是否禁用组件",
1995
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videolistinput-props",
1996
+ "type": [
1997
+ "Boolean"
1998
+ ],
1999
+ "default": "false"
2000
+ },
2001
+ {
2002
+ "name": "limit",
2003
+ "description": "文件数量限制",
2004
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videolistinput-props",
2005
+ "type": [
2006
+ "Number"
2007
+ ],
2008
+ "default": "3"
2009
+ },
2010
+ {
2011
+ "name": "imgSize",
2012
+ "description": "图片尺寸(单位:px)",
2013
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videolistinput-props",
2014
+ "type": [
2015
+ "Number"
2016
+ ],
2017
+ "default": "100"
2018
+ },
2019
+ {
2020
+ "name": "accept",
2021
+ "description": "接受的文件类型",
2022
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videolistinput-props",
2023
+ "type": [
2024
+ "String"
2025
+ ],
2026
+ "default": "''"
1860
2027
  }
1861
- ],
1862
- "js": {
1863
- "events": [
1864
- {
1865
- "name": "click",
1866
- "description": "点击触发的事件",
1867
- "doc-url": "https://github.com/vipl520/dk-starter/components/project/#videolistinput-events"
1868
- }
1869
- ]
1870
- }
2028
+ ]
1871
2029
  }
1872
2030
  ]
1873
2031
  }