@varlet/ui 1.27.20 → 2.0.0-alpha.1663499244572

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 (572) hide show
  1. package/CHANGELOG.md +1885 -1885
  2. package/LICENCE +21 -21
  3. package/README.en-US.md +86 -93
  4. package/README.md +93 -93
  5. package/es/action-sheet/actionSheet.css +1 -1
  6. package/es/action-sheet/props.js +1 -1
  7. package/es/bottom-navigation/BottomNavigation.js +1 -1
  8. package/es/button/Button.js +2 -1
  9. package/es/button/button.css +1 -1
  10. package/es/button/props.js +5 -0
  11. package/es/card/Card.js +18 -22
  12. package/es/card/card.css +1 -1
  13. package/es/card/props.js +0 -7
  14. package/es/cell/Cell.js +3 -3
  15. package/es/cell/cell.css +1 -1
  16. package/es/cell/props.js +2 -2
  17. package/es/chip/chip.css +1 -1
  18. package/es/date-picker/DatePicker.js +1 -1
  19. package/es/date-picker/props.js +1 -1
  20. package/es/date-picker/src/day-picker-panel.js +1 -1
  21. package/es/date-picker/src/month-picker-panel.js +1 -1
  22. package/es/dialog/props.js +1 -1
  23. package/es/divider/Divider.js +1 -1
  24. package/es/image-preview/props.js +1 -1
  25. package/es/index.d.ts +1 -1
  26. package/es/index.js +5 -0
  27. package/es/input/Input.js +1 -1
  28. package/es/lazy/index.js +1 -1
  29. package/es/loading/loading.css +1 -1
  30. package/es/loading/props.js +1 -2
  31. package/es/locale/en-US.d.ts +5 -5
  32. package/es/locale/index.js +7 -2
  33. package/es/locale/zh-CN.d.ts +5 -5
  34. package/es/menu/Menu.js +318 -94
  35. package/es/{action-sheet/ActionSheetSfc.less → menu/MenuSfc.css} +0 -0
  36. package/es/menu/index.js +1 -1
  37. package/es/menu/menu.css +1 -1
  38. package/es/menu/props.js +23 -6
  39. package/es/menu/style/index.js +3 -2
  40. package/es/pagination/Pagination.js +7 -3
  41. package/es/pagination/pagination.css +1 -1
  42. package/es/picker/props.js +1 -1
  43. package/es/popup/Popup.js +3 -3
  44. package/es/rate/Rate.js +20 -36
  45. package/es/rate/rate.css +1 -1
  46. package/es/ripple/index.js +2 -2
  47. package/es/select/Select.js +18 -46
  48. package/es/select/select.css +1 -1
  49. package/es/slider/Slider.js +1 -1
  50. package/es/snackbar/core.js +4 -2
  51. package/es/snackbar/index.js +1 -1
  52. package/es/snackbar/props.js +6 -2
  53. package/es/style-provider/StyleProvider.js +5 -1
  54. package/es/style.css +1 -1
  55. package/es/style.js +1 -0
  56. package/es/switch/Switch.js +6 -5
  57. package/es/tabs/tabs.css +1 -1
  58. package/es/tabs-items/TabsItems.js +8 -2
  59. package/es/themes/dark/cell.js +1 -1
  60. package/es/themes/dark/index.d.ts +5 -5
  61. package/es/themes/dark/index.js +3 -2
  62. package/es/themes/dark/menu.js +3 -0
  63. package/es/themes/index.js +4 -0
  64. package/es/time-picker/TimePicker.js +1 -1
  65. package/es/time-picker/props.js +1 -1
  66. package/es/umdIndex.js +5 -0
  67. package/es/utils/components.js +2 -2
  68. package/es/utils/{jest.js → test.js} +0 -19
  69. package/es/varlet.esm.js +12805 -13960
  70. package/highlight/attributes.json +1 -1850
  71. package/highlight/tags.json +58 -578
  72. package/highlight/web-types.json +152 -5241
  73. package/json/area.json +10706 -10706
  74. package/lib/action-sheet/actionSheet.css +1 -1
  75. package/lib/action-sheet/props.js +1 -1
  76. package/lib/bottom-navigation/BottomNavigation.js +1 -1
  77. package/lib/button/Button.js +2 -1
  78. package/lib/button/button.css +1 -1
  79. package/lib/button/props.js +5 -0
  80. package/lib/card/Card.js +18 -22
  81. package/lib/card/card.css +1 -1
  82. package/lib/card/props.js +0 -7
  83. package/lib/cell/Cell.js +3 -3
  84. package/lib/cell/cell.css +1 -1
  85. package/lib/cell/props.js +2 -2
  86. package/lib/chip/chip.css +1 -1
  87. package/lib/date-picker/DatePicker.js +14 -14
  88. package/lib/date-picker/props.js +1 -1
  89. package/lib/date-picker/src/day-picker-panel.js +14 -14
  90. package/lib/date-picker/src/month-picker-panel.js +12 -12
  91. package/lib/date-picker/src/year-picker-panel.js +3 -3
  92. package/lib/dialog/props.js +1 -1
  93. package/lib/divider/Divider.js +1 -1
  94. package/lib/image-preview/props.js +1 -1
  95. package/lib/index.d.ts +1 -1
  96. package/lib/index.js +3 -0
  97. package/lib/input/Input.js +1 -1
  98. package/lib/lazy/index.js +1 -1
  99. package/lib/loading/loading.css +1 -1
  100. package/lib/loading/props.js +1 -2
  101. package/lib/locale/en-US.d.ts +5 -5
  102. package/lib/locale/index.js +11 -1
  103. package/lib/locale/zh-CN.d.ts +5 -5
  104. package/lib/menu/Menu.js +321 -91
  105. package/{es/app-bar/AppBarSfc.less → lib/menu/MenuSfc.css} +0 -0
  106. package/lib/menu/index.js +1 -1
  107. package/lib/menu/menu.css +1 -1
  108. package/lib/menu/props.js +23 -6
  109. package/lib/menu/style/index.js +3 -2
  110. package/lib/pagination/Pagination.js +6 -2
  111. package/lib/pagination/pagination.css +1 -1
  112. package/lib/picker/props.js +1 -1
  113. package/lib/popup/Popup.js +2 -2
  114. package/lib/rate/Rate.js +20 -36
  115. package/lib/rate/rate.css +1 -1
  116. package/lib/ripple/index.js +2 -2
  117. package/lib/select/Select.js +17 -45
  118. package/lib/select/select.css +1 -1
  119. package/lib/slider/Slider.js +1 -1
  120. package/lib/snackbar/core.js +4 -2
  121. package/lib/snackbar/index.js +1 -1
  122. package/lib/snackbar/props.js +6 -2
  123. package/lib/style-provider/StyleProvider.js +5 -1
  124. package/lib/style.css +1 -1
  125. package/lib/style.js +1 -0
  126. package/lib/switch/Switch.js +6 -5
  127. package/lib/tabs/tabs.css +1 -1
  128. package/lib/tabs-items/TabsItems.js +9 -3
  129. package/lib/themes/dark/cell.js +1 -1
  130. package/lib/themes/dark/index.d.ts +5 -5
  131. package/lib/themes/dark/index.js +4 -2
  132. package/lib/themes/dark/menu.js +8 -0
  133. package/lib/themes/index.js +13 -0
  134. package/lib/time-picker/TimePicker.js +9 -9
  135. package/lib/time-picker/clock.js +3 -3
  136. package/lib/time-picker/props.js +1 -1
  137. package/lib/utils/components.js +3 -3
  138. package/lib/utils/{jest.js → test.js} +0 -21
  139. package/package.json +14 -10
  140. package/types/actionSheet.d.ts +68 -69
  141. package/types/appBar.d.ts +17 -16
  142. package/types/backTop.d.ts +16 -17
  143. package/types/badge.d.ts +20 -19
  144. package/types/bottomNavigation.d.ts +23 -24
  145. package/types/bottomNavigationItem.d.ts +17 -18
  146. package/types/button.d.ts +29 -28
  147. package/types/card.d.ts +29 -30
  148. package/types/cell.d.ts +18 -19
  149. package/types/checkbox.d.ts +34 -35
  150. package/types/checkboxGroup.d.ts +29 -30
  151. package/types/chip.d.ts +20 -21
  152. package/types/col.d.ts +23 -24
  153. package/types/collapse.d.ts +17 -18
  154. package/types/collapseItem.d.ts +14 -15
  155. package/types/countdown.d.ts +29 -30
  156. package/types/counter.d.ts +44 -45
  157. package/types/datePicker.d.ts +29 -28
  158. package/types/dialog.d.ts +84 -83
  159. package/types/divider.d.ts +15 -16
  160. package/types/form.d.ts +18 -19
  161. package/types/icon.d.ts +16 -17
  162. package/types/image.d.ts +26 -25
  163. package/types/imagePreview.d.ts +51 -52
  164. package/types/index.d.ts +67 -0
  165. package/types/indexAnchor.d.ts +11 -12
  166. package/types/indexBar.d.ts +21 -22
  167. package/types/input.d.ts +48 -47
  168. package/types/lazy.d.ts +5 -5
  169. package/types/list.d.ts +21 -22
  170. package/types/loading.d.ts +18 -17
  171. package/types/locale.d.ts +52 -49
  172. package/types/menu.d.ts +46 -22
  173. package/types/option.d.ts +12 -13
  174. package/types/pagination.d.ts +25 -26
  175. package/types/picker.d.ts +85 -86
  176. package/types/popup.d.ts +27 -26
  177. package/types/progress.d.ts +22 -21
  178. package/types/pullRefresh.d.ts +20 -21
  179. package/types/radio.d.ts +34 -35
  180. package/types/radioGroup.d.ts +24 -25
  181. package/types/rate.d.ts +28 -29
  182. package/types/ripple.d.ts +5 -5
  183. package/types/row.d.ts +18 -15
  184. package/types/select.d.ts +48 -47
  185. package/types/skeleton.d.ts +21 -22
  186. package/types/slider.d.ts +30 -29
  187. package/types/snackbar.d.ts +82 -82
  188. package/types/space.d.ts +26 -27
  189. package/types/step.d.ts +13 -14
  190. package/types/steps.d.ts +15 -16
  191. package/types/sticky.d.ts +15 -16
  192. package/types/styleProvider.d.ts +24 -24
  193. package/types/swipe.d.ts +27 -28
  194. package/types/swipeItem.d.ts +9 -10
  195. package/types/switch.d.ts +25 -26
  196. package/types/tab.d.ts +13 -14
  197. package/types/tabItem.d.ts +11 -12
  198. package/types/table.d.ts +11 -12
  199. package/types/tabs.d.ts +29 -30
  200. package/types/tabsItems.d.ts +15 -13
  201. package/types/timePicker.d.ts +30 -29
  202. package/types/uploader.d.ts +65 -60
  203. package/types/varComponent.d.ts +18 -12
  204. package/types/varDirective.d.ts +12 -12
  205. package/umd/varlet.js +16 -4
  206. package/es/action-sheet/actionSheet.less +0 -68
  207. package/es/action-sheet/style/less.js +0 -6
  208. package/es/app-bar/appBar.less +0 -57
  209. package/es/app-bar/style/less.js +0 -4
  210. package/es/back-top/BackTopSfc.less +0 -0
  211. package/es/back-top/backTop.less +0 -27
  212. package/es/back-top/style/less.js +0 -5
  213. package/es/badge/BadgeSfc.less +0 -0
  214. package/es/badge/badge.less +0 -119
  215. package/es/badge/style/less.js +0 -4
  216. package/es/bottom-navigation/BottomNavigationSfc.less +0 -0
  217. package/es/bottom-navigation/bottomNavigation.less +0 -56
  218. package/es/bottom-navigation/style/less.js +0 -4
  219. package/es/bottom-navigation-item/BottomNavigationItemSfc.less +0 -0
  220. package/es/bottom-navigation-item/bottomNavigationItem.less +0 -78
  221. package/es/bottom-navigation-item/style/less.js +0 -6
  222. package/es/button/ButtonSfc.less +0 -0
  223. package/es/button/button.less +0 -183
  224. package/es/button/style/less.js +0 -6
  225. package/es/card/CardSfc.less +0 -0
  226. package/es/card/card.less +0 -189
  227. package/es/card/style/less.js +0 -5
  228. package/es/cell/CellSfc.less +0 -0
  229. package/es/cell/cell.less +0 -78
  230. package/es/cell/style/less.js +0 -4
  231. package/es/checkbox/CheckboxSfc.less +0 -0
  232. package/es/checkbox/checkbox.less +0 -78
  233. package/es/checkbox/style/less.js +0 -6
  234. package/es/checkbox-group/CheckboxGroupSfc.less +0 -0
  235. package/es/checkbox-group/checkboxGroup.less +0 -12
  236. package/es/checkbox-group/style/less.js +0 -4
  237. package/es/chip/ChipSfc.less +0 -0
  238. package/es/chip/chip.less +0 -182
  239. package/es/chip/style/less.js +0 -4
  240. package/es/col/ColSfc.less +0 -0
  241. package/es/col/col.less +0 -74
  242. package/es/col/style/less.js +0 -3
  243. package/es/collapse/CollapseSfc.less +0 -1
  244. package/es/collapse/style/less.js +0 -3
  245. package/es/collapse-item/CollapseItemSfc.less +0 -0
  246. package/es/collapse-item/collapseItem.less +0 -105
  247. package/es/collapse-item/style/less.js +0 -4
  248. package/es/context/style/less.js +0 -0
  249. package/es/countdown/CountdownSfc.less +0 -0
  250. package/es/countdown/style/less.js +0 -2
  251. package/es/counter/CounterSfc.less +0 -0
  252. package/es/counter/counter.less +0 -89
  253. package/es/counter/style/less.js +0 -7
  254. package/es/date-picker/DatePickerSfc.less +0 -0
  255. package/es/date-picker/date-picker.less +0 -354
  256. package/es/date-picker/style/less.js +0 -7
  257. package/es/dialog/DialogSfc.less +0 -0
  258. package/es/dialog/dialog.less +0 -77
  259. package/es/dialog/style/less.js +0 -5
  260. package/es/divider/DividerSfc.less +0 -0
  261. package/es/divider/divider.less +0 -78
  262. package/es/divider/style/less.js +0 -3
  263. package/es/form/FormSfc.less +0 -0
  264. package/es/form/style/less.js +0 -2
  265. package/es/form-details/FormDetailsSfc.less +0 -0
  266. package/es/form-details/formDetails.less +0 -48
  267. package/es/form-details/style/less.js +0 -3
  268. package/es/icon/IconSfc.less +0 -0
  269. package/es/icon/icon.less +0 -26
  270. package/es/icon/style/less.js +0 -3
  271. package/es/image/ImageSfc.less +0 -0
  272. package/es/image/image.less +0 -9
  273. package/es/image/style/less.js +0 -4
  274. package/es/image-preview/ImagePreviewSfc.less +0 -0
  275. package/es/image-preview/imagePreview.less +0 -76
  276. package/es/image-preview/style/less.js +0 -7
  277. package/es/index-anchor/IndexAnchorSfc.less +0 -1
  278. package/es/index-anchor/style/less.js +0 -3
  279. package/es/index-bar/IndexBarSfc.less +0 -0
  280. package/es/index-bar/indexBar.less +0 -43
  281. package/es/index-bar/style/less.js +0 -3
  282. package/es/input/InputSfc.less +0 -0
  283. package/es/input/input.less +0 -187
  284. package/es/input/style/less.js +0 -5
  285. package/es/lazy/style/less.js +0 -0
  286. package/es/less.js +0 -64
  287. package/es/list/ListSfc.less +0 -0
  288. package/es/list/list.less +0 -63
  289. package/es/list/style/less.js +0 -5
  290. package/es/loading/LoadingSfc.less +0 -0
  291. package/es/loading/loading.less +0 -500
  292. package/es/loading/style/less.js +0 -3
  293. package/es/locale/style/less.js +0 -0
  294. package/es/menu/menu.less +0 -21
  295. package/es/menu/style/less.js +0 -3
  296. package/es/option/OptionSfc.less +0 -0
  297. package/es/option/option.less +0 -37
  298. package/es/option/style/less.js +0 -6
  299. package/es/pagination/PaginationSfc.less +0 -0
  300. package/es/pagination/pagination.less +0 -188
  301. package/es/pagination/style/less.js +0 -8
  302. package/es/picker/PickerSfc.less +0 -0
  303. package/es/picker/picker.less +0 -106
  304. package/es/picker/style/less.js +0 -5
  305. package/es/popup/popup.less +0 -125
  306. package/es/popup/style/less.js +0 -2
  307. package/es/progress/ProgressSfc.less +0 -0
  308. package/es/progress/progress.less +0 -101
  309. package/es/progress/style/less.js +0 -3
  310. package/es/pull-refresh/PullRefreshSfc.less +0 -0
  311. package/es/pull-refresh/pullRefresh.less +0 -56
  312. package/es/pull-refresh/style/less.js +0 -5
  313. package/es/radio/RadioSfc.less +0 -0
  314. package/es/radio/radio.less +0 -78
  315. package/es/radio/style/less.js +0 -6
  316. package/es/radio-group/RadioGroupSfc.less +0 -0
  317. package/es/radio-group/radioGroup.less +0 -12
  318. package/es/radio-group/style/less.js +0 -4
  319. package/es/rate/RateSfc.less +0 -0
  320. package/es/rate/rate.less +0 -48
  321. package/es/rate/style/less.js +0 -6
  322. package/es/ripple/ripple.less +0 -20
  323. package/es/ripple/style/less.js +0 -2
  324. package/es/row/RowSfc.less +0 -0
  325. package/es/row/row.less +0 -4
  326. package/es/row/style/less.js +0 -3
  327. package/es/select/SelectSfc.less +0 -0
  328. package/es/select/select.less +0 -184
  329. package/es/select/style/less.js +0 -7
  330. package/es/skeleton/SkeletonSfc.less +0 -0
  331. package/es/skeleton/skeleton.less +0 -138
  332. package/es/skeleton/style/less.js +0 -3
  333. package/es/slider/SliderSfc.less +0 -0
  334. package/es/slider/slider.less +0 -147
  335. package/es/slider/style/less.js +0 -4
  336. package/es/snackbar/SnackbarSfc.less +0 -0
  337. package/es/snackbar/coreSfc.less +0 -0
  338. package/es/snackbar/snackbar.less +0 -129
  339. package/es/snackbar/style/less.js +0 -8
  340. package/es/space/space.less +0 -6
  341. package/es/space/style/less.js +0 -2
  342. package/es/step/StepSfc.less +0 -0
  343. package/es/step/step.less +0 -145
  344. package/es/step/style/less.js +0 -4
  345. package/es/steps/StepsSfc.less +0 -1
  346. package/es/steps/style/less.js +0 -2
  347. package/es/sticky/StickySfc.less +0 -0
  348. package/es/sticky/sticky.less +0 -8
  349. package/es/sticky/style/less.js +0 -3
  350. package/es/style-provider/StyleProviderSfc.less +0 -0
  351. package/es/style-provider/style/less.js +0 -2
  352. package/es/styles/common.less +0 -73
  353. package/es/styles/elevation.less +0 -128
  354. package/es/styles/style/less.js +0 -0
  355. package/es/styles/var.css +0 -0
  356. package/es/styles/var.less +0 -30
  357. package/es/swipe/SwipeSfc.less +0 -0
  358. package/es/swipe/style/less.js +0 -3
  359. package/es/swipe/swipe.less +0 -60
  360. package/es/swipe-item/SwipeItemSfc.less +0 -0
  361. package/es/swipe-item/style/less.js +0 -3
  362. package/es/swipe-item/swipeItem.less +0 -5
  363. package/es/switch/SwitchSfc.less +0 -0
  364. package/es/switch/style/less.js +0 -7
  365. package/es/switch/switch.less +0 -94
  366. package/es/tab/TabSfc.less +0 -0
  367. package/es/tab/style/less.js +0 -4
  368. package/es/tab/tab.less +0 -46
  369. package/es/tab-item/TabItemSfc.less +0 -0
  370. package/es/tab-item/style/less.js +0 -4
  371. package/es/tab-item/tabItem.less +0 -6
  372. package/es/table/TableSfc.less +0 -0
  373. package/es/table/style/less.js +0 -4
  374. package/es/table/table.less +0 -110
  375. package/es/tabs/TabsSfc.less +0 -0
  376. package/es/tabs/style/less.js +0 -5
  377. package/es/tabs/tabs.less +0 -99
  378. package/es/tabs-items/TabsItemsSfc.less +0 -0
  379. package/es/tabs-items/style/less.js +0 -3
  380. package/es/themes/style/less.js +0 -0
  381. package/es/time-picker/TimePickerSfc.less +0 -0
  382. package/es/time-picker/style/less.js +0 -4
  383. package/es/time-picker/timePicker.less +0 -237
  384. package/es/uploader/UploaderSfc.less +0 -0
  385. package/es/uploader/style/less.js +0 -8
  386. package/es/uploader/uploader.less +0 -216
  387. package/es/utils/style/less.js +0 -0
  388. package/lib/action-sheet/ActionSheetSfc.less +0 -0
  389. package/lib/action-sheet/actionSheet.less +0 -68
  390. package/lib/action-sheet/style/less.js +0 -6
  391. package/lib/app-bar/AppBarSfc.less +0 -0
  392. package/lib/app-bar/appBar.less +0 -57
  393. package/lib/app-bar/style/less.js +0 -4
  394. package/lib/back-top/BackTopSfc.less +0 -0
  395. package/lib/back-top/backTop.less +0 -27
  396. package/lib/back-top/style/less.js +0 -5
  397. package/lib/badge/BadgeSfc.less +0 -0
  398. package/lib/badge/badge.less +0 -119
  399. package/lib/badge/style/less.js +0 -4
  400. package/lib/bottom-navigation/BottomNavigationSfc.less +0 -0
  401. package/lib/bottom-navigation/bottomNavigation.less +0 -56
  402. package/lib/bottom-navigation/style/less.js +0 -4
  403. package/lib/bottom-navigation-item/BottomNavigationItemSfc.less +0 -0
  404. package/lib/bottom-navigation-item/bottomNavigationItem.less +0 -78
  405. package/lib/bottom-navigation-item/style/less.js +0 -6
  406. package/lib/button/ButtonSfc.less +0 -0
  407. package/lib/button/button.less +0 -183
  408. package/lib/button/style/less.js +0 -6
  409. package/lib/card/CardSfc.less +0 -0
  410. package/lib/card/card.less +0 -189
  411. package/lib/card/style/less.js +0 -5
  412. package/lib/cell/CellSfc.less +0 -0
  413. package/lib/cell/cell.less +0 -78
  414. package/lib/cell/style/less.js +0 -4
  415. package/lib/checkbox/CheckboxSfc.less +0 -0
  416. package/lib/checkbox/checkbox.less +0 -78
  417. package/lib/checkbox/style/less.js +0 -6
  418. package/lib/checkbox-group/CheckboxGroupSfc.less +0 -0
  419. package/lib/checkbox-group/checkboxGroup.less +0 -12
  420. package/lib/checkbox-group/style/less.js +0 -4
  421. package/lib/chip/ChipSfc.less +0 -0
  422. package/lib/chip/chip.less +0 -182
  423. package/lib/chip/style/less.js +0 -4
  424. package/lib/col/ColSfc.less +0 -0
  425. package/lib/col/col.less +0 -74
  426. package/lib/col/style/less.js +0 -3
  427. package/lib/collapse/CollapseSfc.less +0 -1
  428. package/lib/collapse/style/less.js +0 -3
  429. package/lib/collapse-item/CollapseItemSfc.less +0 -0
  430. package/lib/collapse-item/collapseItem.less +0 -105
  431. package/lib/collapse-item/style/less.js +0 -4
  432. package/lib/context/style/less.js +0 -0
  433. package/lib/countdown/CountdownSfc.less +0 -0
  434. package/lib/countdown/style/less.js +0 -2
  435. package/lib/counter/CounterSfc.less +0 -0
  436. package/lib/counter/counter.less +0 -89
  437. package/lib/counter/style/less.js +0 -7
  438. package/lib/date-picker/DatePickerSfc.less +0 -0
  439. package/lib/date-picker/date-picker.less +0 -354
  440. package/lib/date-picker/style/less.js +0 -7
  441. package/lib/dialog/DialogSfc.less +0 -0
  442. package/lib/dialog/dialog.less +0 -77
  443. package/lib/dialog/style/less.js +0 -5
  444. package/lib/divider/DividerSfc.less +0 -0
  445. package/lib/divider/divider.less +0 -78
  446. package/lib/divider/style/less.js +0 -3
  447. package/lib/form/FormSfc.less +0 -0
  448. package/lib/form/style/less.js +0 -2
  449. package/lib/form-details/FormDetailsSfc.less +0 -0
  450. package/lib/form-details/formDetails.less +0 -48
  451. package/lib/form-details/style/less.js +0 -3
  452. package/lib/icon/IconSfc.less +0 -0
  453. package/lib/icon/icon.less +0 -26
  454. package/lib/icon/style/less.js +0 -3
  455. package/lib/image/ImageSfc.less +0 -0
  456. package/lib/image/image.less +0 -9
  457. package/lib/image/style/less.js +0 -4
  458. package/lib/image-preview/ImagePreviewSfc.less +0 -0
  459. package/lib/image-preview/imagePreview.less +0 -76
  460. package/lib/image-preview/style/less.js +0 -7
  461. package/lib/index-anchor/IndexAnchorSfc.less +0 -1
  462. package/lib/index-anchor/style/less.js +0 -3
  463. package/lib/index-bar/IndexBarSfc.less +0 -0
  464. package/lib/index-bar/indexBar.less +0 -43
  465. package/lib/index-bar/style/less.js +0 -3
  466. package/lib/input/InputSfc.less +0 -0
  467. package/lib/input/input.less +0 -187
  468. package/lib/input/style/less.js +0 -5
  469. package/lib/lazy/style/less.js +0 -0
  470. package/lib/less.js +0 -64
  471. package/lib/list/ListSfc.less +0 -0
  472. package/lib/list/list.less +0 -63
  473. package/lib/list/style/less.js +0 -5
  474. package/lib/loading/LoadingSfc.less +0 -0
  475. package/lib/loading/loading.less +0 -500
  476. package/lib/loading/style/less.js +0 -3
  477. package/lib/locale/style/less.js +0 -0
  478. package/lib/menu/menu.less +0 -21
  479. package/lib/menu/style/less.js +0 -3
  480. package/lib/option/OptionSfc.less +0 -0
  481. package/lib/option/option.less +0 -37
  482. package/lib/option/style/less.js +0 -6
  483. package/lib/pagination/PaginationSfc.less +0 -0
  484. package/lib/pagination/pagination.less +0 -188
  485. package/lib/pagination/style/less.js +0 -8
  486. package/lib/picker/PickerSfc.less +0 -0
  487. package/lib/picker/picker.less +0 -106
  488. package/lib/picker/style/less.js +0 -5
  489. package/lib/popup/popup.less +0 -125
  490. package/lib/popup/style/less.js +0 -2
  491. package/lib/progress/ProgressSfc.less +0 -0
  492. package/lib/progress/progress.less +0 -101
  493. package/lib/progress/style/less.js +0 -3
  494. package/lib/pull-refresh/PullRefreshSfc.less +0 -0
  495. package/lib/pull-refresh/pullRefresh.less +0 -56
  496. package/lib/pull-refresh/style/less.js +0 -5
  497. package/lib/radio/RadioSfc.less +0 -0
  498. package/lib/radio/radio.less +0 -78
  499. package/lib/radio/style/less.js +0 -6
  500. package/lib/radio-group/RadioGroupSfc.less +0 -0
  501. package/lib/radio-group/radioGroup.less +0 -12
  502. package/lib/radio-group/style/less.js +0 -4
  503. package/lib/rate/RateSfc.less +0 -0
  504. package/lib/rate/rate.less +0 -48
  505. package/lib/rate/style/less.js +0 -6
  506. package/lib/ripple/ripple.less +0 -20
  507. package/lib/ripple/style/less.js +0 -2
  508. package/lib/row/RowSfc.less +0 -0
  509. package/lib/row/row.less +0 -4
  510. package/lib/row/style/less.js +0 -3
  511. package/lib/select/SelectSfc.less +0 -0
  512. package/lib/select/select.less +0 -184
  513. package/lib/select/style/less.js +0 -7
  514. package/lib/skeleton/SkeletonSfc.less +0 -0
  515. package/lib/skeleton/skeleton.less +0 -138
  516. package/lib/skeleton/style/less.js +0 -3
  517. package/lib/slider/SliderSfc.less +0 -0
  518. package/lib/slider/slider.less +0 -147
  519. package/lib/slider/style/less.js +0 -4
  520. package/lib/snackbar/SnackbarSfc.less +0 -0
  521. package/lib/snackbar/coreSfc.less +0 -0
  522. package/lib/snackbar/snackbar.less +0 -129
  523. package/lib/snackbar/style/less.js +0 -8
  524. package/lib/space/space.less +0 -6
  525. package/lib/space/style/less.js +0 -2
  526. package/lib/step/StepSfc.less +0 -0
  527. package/lib/step/step.less +0 -145
  528. package/lib/step/style/less.js +0 -4
  529. package/lib/steps/StepsSfc.less +0 -1
  530. package/lib/steps/style/less.js +0 -2
  531. package/lib/sticky/StickySfc.less +0 -0
  532. package/lib/sticky/sticky.less +0 -8
  533. package/lib/sticky/style/less.js +0 -3
  534. package/lib/style-provider/StyleProviderSfc.less +0 -0
  535. package/lib/style-provider/style/less.js +0 -2
  536. package/lib/styles/common.less +0 -73
  537. package/lib/styles/elevation.less +0 -128
  538. package/lib/styles/style/less.js +0 -0
  539. package/lib/styles/var.css +0 -0
  540. package/lib/styles/var.less +0 -30
  541. package/lib/swipe/SwipeSfc.less +0 -0
  542. package/lib/swipe/style/less.js +0 -3
  543. package/lib/swipe/swipe.less +0 -60
  544. package/lib/swipe-item/SwipeItemSfc.less +0 -0
  545. package/lib/swipe-item/style/less.js +0 -3
  546. package/lib/swipe-item/swipeItem.less +0 -5
  547. package/lib/switch/SwitchSfc.less +0 -0
  548. package/lib/switch/style/less.js +0 -7
  549. package/lib/switch/switch.less +0 -94
  550. package/lib/tab/TabSfc.less +0 -0
  551. package/lib/tab/style/less.js +0 -4
  552. package/lib/tab/tab.less +0 -46
  553. package/lib/tab-item/TabItemSfc.less +0 -0
  554. package/lib/tab-item/style/less.js +0 -4
  555. package/lib/tab-item/tabItem.less +0 -6
  556. package/lib/table/TableSfc.less +0 -0
  557. package/lib/table/style/less.js +0 -4
  558. package/lib/table/table.less +0 -110
  559. package/lib/tabs/TabsSfc.less +0 -0
  560. package/lib/tabs/style/less.js +0 -5
  561. package/lib/tabs/tabs.less +0 -99
  562. package/lib/tabs-items/TabsItemsSfc.less +0 -0
  563. package/lib/tabs-items/style/less.js +0 -3
  564. package/lib/themes/style/less.js +0 -0
  565. package/lib/time-picker/TimePickerSfc.less +0 -0
  566. package/lib/time-picker/style/less.js +0 -4
  567. package/lib/time-picker/timePicker.less +0 -237
  568. package/lib/uploader/UploaderSfc.less +0 -0
  569. package/lib/uploader/style/less.js +0 -8
  570. package/lib/uploader/uploader.less +0 -216
  571. package/lib/utils/style/less.js +0 -0
  572. package/types/global.d.ts +0 -68
@@ -1,1850 +1 @@
1
- {
2
- "var-action-sheet/v-model:show": {
3
- "type": "boolean",
4
- "description": "是否显示动作面板 默认值:false"
5
- },
6
- "var-action-sheet/actions": {
7
- "type": "Actions",
8
- "description": "选项列表 默认值:[]"
9
- },
10
- "var-action-sheet/title": {
11
- "type": "string",
12
- "description": "动作面板标题 默认值:请选择"
13
- },
14
- "var-action-sheet/overlay": {
15
- "type": "boolean",
16
- "description": "是否显示遮罩层 默认值:true"
17
- },
18
- "var-action-sheet/overlay-class": {
19
- "type": "string",
20
- "description": "自定义遮罩层的 class 默认值:-"
21
- },
22
- "var-action-sheet/overlay-style": {
23
- "type": "object",
24
- "description": "自定义遮罩层的 style 默认值:-"
25
- },
26
- "var-action-sheet/lock-scroll": {
27
- "type": "boolean",
28
- "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发 body 的滚动 默认值:true"
29
- },
30
- "var-action-sheet/close-on-click-action": {
31
- "type": "boolean",
32
- "description": "是否点击选项时关闭动作面板 默认值:true"
33
- },
34
- "var-action-sheet/close-on-click-overlay": {
35
- "type": "boolean",
36
- "description": "是否点击遮罩层关闭动作面板 默认值:true"
37
- },
38
- "var-action-sheet/teleport": {
39
- "type": "TeleportProps['to']",
40
- "description": "动作面板挂载的位置 默认值:-"
41
- },
42
- "var-app-bar/color": {
43
- "type": "string",
44
- "description": "背景颜色 默认值:-"
45
- },
46
- "var-app-bar/text-color": {
47
- "type": "string",
48
- "description": "文字颜色 默认值:-"
49
- },
50
- "var-app-bar/title": {
51
- "type": "string",
52
- "description": "标题 默认值:-"
53
- },
54
- "var-app-bar/title-position": {
55
- "type": "string",
56
- "description": "标题位置,可选值为 `left` `center` `right` 默认值:left"
57
- },
58
- "var-app-bar/elevation": {
59
- "type": "boolean",
60
- "description": "是否给导航栏设置海拔 默认值:true"
61
- },
62
- "var-back-top/target": {
63
- "type": "string | HTMLElement",
64
- "description": "触发滚动的对象,如果为 undefined 会监听距离最近的一个可滚动的祖先节点 默认值:-"
65
- },
66
- "var-back-top/visibility-height": {
67
- "type": "string | number",
68
- "description": "滚动高度达到此参数值才出现 默认值:200"
69
- },
70
- "var-back-top/bottom": {
71
- "type": "string | number",
72
- "description": "`BackTop` 距离页面底部的距离 默认值:40"
73
- },
74
- "var-back-top/right": {
75
- "type": "string | number",
76
- "description": "`BackTop` 距离页面右侧的距离 默认值:40"
77
- },
78
- "var-back-top/duration": {
79
- "type": "number",
80
- "description": "回到顶部所需时间(ms) 默认值:300"
81
- },
82
- "var-badge/type": {
83
- "type": "string",
84
- "description": "类型,可选值为 `default` `primary` `info` `success` `warning` `danger` 默认值:default"
85
- },
86
- "var-badge/dot": {
87
- "type": "boolean",
88
- "description": "徽标是否为小圆点 默认值:false"
89
- },
90
- "var-badge/value": {
91
- "type": "string | number",
92
- "description": "徽标中显示的值(当 `dot` 为 `false` 时生效) 默认值:0"
93
- },
94
- "var-badge/max-value": {
95
- "type": "number",
96
- "description": "徽标中显示的最大值,当 `value` 大于 `max-value` 时会显示 `max-value+` (当 `value` 与 `max-value` 都存在时生效) 默认值:-"
97
- },
98
- "var-badge/position": {
99
- "type": "string",
100
- "description": "徽标标签中有其他标签时定义徽标在其他标签上的位置,可选值 `right-top` `right-bottom` `left-top` `left-bottom` 默认值:right-top"
101
- },
102
- "var-badge/color": {
103
- "type": "string",
104
- "description": "自定义徽标颜色 默认值:-"
105
- },
106
- "var-badge/icon": {
107
- "type": "string",
108
- "description": "自定义徽标中图标的内容(优先级高于 `value`) 默认值:-"
109
- },
110
- "var-bottom-navigation/v-model:active": {
111
- "type": "number | string",
112
- "description": "选中标签的名称或者索引值 默认值:0"
113
- },
114
- "var-bottom-navigation/fixed": {
115
- "type": "boolean",
116
- "description": "是否固定在底部 默认值:false"
117
- },
118
- "var-bottom-navigation/border": {
119
- "type": "boolean",
120
- "description": "是否显示外边框 默认值:false"
121
- },
122
- "var-bottom-navigation/safe-area": {
123
- "type": "boolean",
124
- "description": "是否开启底部安全区适配 默认值:false"
125
- },
126
- "var-bottom-navigation/z-index": {
127
- "type": "number | string",
128
- "description": "元素 z-index 默认值:1"
129
- },
130
- "var-bottom-navigation/active-color": {
131
- "type": "string",
132
- "description": "选中标签的颜色 默认值:-"
133
- },
134
- "var-bottom-navigation/inactive-color": {
135
- "type": "string",
136
- "description": "未选中标签的颜色 默认值:-"
137
- },
138
- "var-bottom-navigation/fab-props": {
139
- "type": "ButtonProps",
140
- "description": "悬浮按钮属性 默认值:{type: \"primary\"}"
141
- },
142
- "var-bottom-navigation-item/name": {
143
- "type": "string",
144
- "description": "标签名称,作为匹配的标识符 默认值:-"
145
- },
146
- "var-bottom-navigation-item/icon": {
147
- "type": "string",
148
- "description": "图标名称,等同于 Icon 组件的 [name 属性](/#/zh-CN/icon) 默认值:-"
149
- },
150
- "var-bottom-navigation-item/label": {
151
- "type": "string",
152
- "description": "标签文字内容 默认值:-"
153
- },
154
- "var-bottom-navigation-item/namespace": {
155
- "type": "string",
156
- "description": "图标的命名空间, 可扩展自定义图标库,等同于 Icon 组件的 [namespace 属性](/#/zh-CN/icon) 默认值:var-icon"
157
- },
158
- "var-bottom-navigation-item/badge": {
159
- "type": "boolean | BadgeProps",
160
- "description": "图标右上角徽标 默认值:false"
161
- },
162
- "var-button/type": {
163
- "type": "string",
164
- "description": "类型,可选值为 `default` `primary` `info` `success` `warning` `danger` 默认值:default"
165
- },
166
- "var-button/size": {
167
- "type": "string",
168
- "description": "尺寸,可选值为 `normal` `mini` `small` `large` 默认值:normal"
169
- },
170
- "var-button/loading": {
171
- "type": "boolean",
172
- "description": "加载状态 默认值:false"
173
- },
174
- "var-button/loading-radius": {
175
- "type": "string | number",
176
- "description": "loading 的半径,只作用于 `loading-type=\"circle\"` 时 默认值:12"
177
- },
178
- "var-button/loading-type": {
179
- "type": "string",
180
- "description": "loading 的类型,可选值为 `circle` `wave` `cube` `rect` `disappear` 默认值:circle"
181
- },
182
- "var-button/loading-size": {
183
- "type": "string",
184
- "description": "loading 的尺寸,可选值为 `large` `normal` `small` `mini` 不作用于 `loading-type=\"circle\"` 时 默认值:normal"
185
- },
186
- "var-button/auto-loading": {
187
- "type": "boolean",
188
- "description": "自动 loading 模式,方便处理异步任务 默认值:false"
189
- },
190
- "var-button/round": {
191
- "type": "boolean",
192
- "description": "是否是圆形按钮 默认值:false"
193
- },
194
- "var-button/block": {
195
- "type": "boolean",
196
- "description": "是否是块级元素 默认值:false"
197
- },
198
- "var-button/text": {
199
- "type": "boolean",
200
- "description": "是否是文字按钮 默认值:false"
201
- },
202
- "var-button/outline": {
203
- "type": "boolean",
204
- "description": "是否使用外边框 默认值:false"
205
- },
206
- "var-button/disabled": {
207
- "type": "boolean",
208
- "description": "禁用状态 默认值:false"
209
- },
210
- "var-button/ripple": {
211
- "type": "boolean",
212
- "description": "是否使用水波纹 默认值:true"
213
- },
214
- "var-button/text-color": {
215
- "type": "string",
216
- "description": "文字颜色 默认值:-"
217
- },
218
- "var-button/color": {
219
- "type": "string",
220
- "description": "背景颜色 默认值:-"
221
- },
222
- "var-card/title": {
223
- "type": "string",
224
- "description": "卡片标题 默认值:-"
225
- },
226
- "var-card/subtitle": {
227
- "type": "string",
228
- "description": "卡片副标题 默认值:-"
229
- },
230
- "var-card/description": {
231
- "type": "string",
232
- "description": "卡片描述 默认值:-"
233
- },
234
- "var-card/elevation": {
235
- "type": "string | number",
236
- "description": "卡片阴影程度等级 默认值:2"
237
- },
238
- "var-card/src": {
239
- "type": "string",
240
- "description": "图片地址 默认值:-"
241
- },
242
- "var-card/layout": {
243
- "type": "string",
244
- "description": "排列方式,可选值为 `row` `column` 默认值:column"
245
- },
246
- "var-card/fit": {
247
- "type": "string",
248
- "description": "填充模式,可选值为 `fill` `contain` `cover` `none` `scale-down` 默认值:cover"
249
- },
250
- "var-card/alt": {
251
- "type": "string",
252
- "description": "替代文本 默认值:-"
253
- },
254
- "var-card/image-height": {
255
- "type": "string | number",
256
- "description": "图片高度 默认值:-"
257
- },
258
- "var-card/image-width": {
259
- "type": "string | number",
260
- "description": "图片宽度 默认值:-"
261
- },
262
- "var-card/ripple": {
263
- "type": "boolean",
264
- "description": "是否开启水波 默认值:false"
265
- },
266
- "var-card/floating": {
267
- "type": "boolean",
268
- "description": "是否开启全屏 默认值:false"
269
- },
270
- "var-card/floating-duration": {
271
- "type": "number",
272
- "description": "开关全屏所需时间(ms) 默认值:250"
273
- },
274
- "var-cell/title": {
275
- "type": "string | number",
276
- "description": "单元格标题 默认值:-"
277
- },
278
- "var-cell/icon": {
279
- "type": "string",
280
- "description": "左侧图标名称 默认值:-"
281
- },
282
- "var-cell/desc": {
283
- "type": "string",
284
- "description": "单元格描述 默认值:-"
285
- },
286
- "var-cell/border": {
287
- "type": "boolean",
288
- "description": "是否显示边框 默认值:false"
289
- },
290
- "var-cell/icon-class": {
291
- "type": "string",
292
- "description": "图标额外类名 默认值:-"
293
- },
294
- "var-cell/title-class": {
295
- "type": "string",
296
- "description": "标题额外类名 默认值:-"
297
- },
298
- "var-cell/desc-class": {
299
- "type": "string",
300
- "description": "描述额外类名 默认值:-"
301
- },
302
- "var-cell/extra-class": {
303
- "type": "string",
304
- "description": "右侧内容额外类名 默认值:-"
305
- },
306
- "var-checkbox/v-model": {
307
- "type": "any",
308
- "description": "绑定的值 默认值:false"
309
- },
310
- "var-checkbox/checked-value": {
311
- "type": "any",
312
- "description": "选中状态的值 默认值:true"
313
- },
314
- "var-checkbox/unchecked-value": {
315
- "type": "any",
316
- "description": "未选中状态的值 默认值:false"
317
- },
318
- "var-checkbox/checked-color": {
319
- "type": "any",
320
- "description": "选中状态的颜色 默认值:-"
321
- },
322
- "var-checkbox/unchecked-color": {
323
- "type": "any",
324
- "description": "未选中状态的颜色 默认值:-"
325
- },
326
- "var-checkbox/icon-size": {
327
- "type": "string | number",
328
- "description": "图标尺寸 默认值:-"
329
- },
330
- "var-checkbox/disabled": {
331
- "type": "boolean",
332
- "description": "是否禁用 默认值:false"
333
- },
334
- "var-checkbox/readonly": {
335
- "type": "boolean",
336
- "description": "是否只读 默认值:false"
337
- },
338
- "var-checkbox/ripple": {
339
- "type": "boolean",
340
- "description": "是否开启水波纹 默认值:true"
341
- },
342
- "var-checkbox/rules": {
343
- "type": "Array<(value: any) => any>",
344
- "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
345
- },
346
- "var-checkbox-group/v-model": {
347
- "type": "any[]",
348
- "description": "绑定的值 默认值:[]"
349
- },
350
- "var-checkbox-group/max": {
351
- "type": "string | number",
352
- "description": "最大选择的数量 默认值:-"
353
- },
354
- "var-checkbox-group/direction": {
355
- "type": "string | number",
356
- "description": "布局方向,可选值为 `horizontal` `vertical` 默认值:horizontal"
357
- },
358
- "var-checkbox-group/rules": {
359
- "type": "Array<(value: any[]) => any>",
360
- "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:horizontal"
361
- },
362
- "var-chip/type": {
363
- "type": "string",
364
- "description": "类型,可选值为 `default` `primary` `info` `success` `warning` `danger` 默认值:default"
365
- },
366
- "var-chip/size": {
367
- "type": "string",
368
- "description": "尺寸,可选值为 `normal` `mini` `small` `large` 默认值:normal"
369
- },
370
- "var-chip/plain": {
371
- "type": "boolean",
372
- "description": "是否为空心样式 默认值:false"
373
- },
374
- "var-chip/round": {
375
- "type": "boolean",
376
- "description": "是否为圆角样式 默认值:true"
377
- },
378
- "var-chip/block": {
379
- "type": "boolean",
380
- "description": "是否为块级样式 默认值:false"
381
- },
382
- "var-chip/closeable": {
383
- "type": "boolean",
384
- "description": "是否为可关闭纸片 默认值:false"
385
- },
386
- "var-chip/close-name": {
387
- "type": "string",
388
- "description": "自定义可关闭纸片的图标,必须在 `closeable` 为 `true` 的条件下才能用 默认值:-"
389
- },
390
- "var-chip/color": {
391
- "type": "string",
392
- "description": "纸片颜色 默认值:_"
393
- },
394
- "var-chip/text-color": {
395
- "type": "string",
396
- "description": "文本颜色,优先级高于 `color` 属性 默认值:-"
397
- },
398
- "var-col/span": {
399
- "type": "number | string",
400
- "description": "列占据的栅格数 默认值:24"
401
- },
402
- "var-col/offset": {
403
- "type": "number | string",
404
- "description": "列偏移的栅格数 默认值:0"
405
- },
406
- "var-col/xs": {
407
- "type": "string | number | { span?: number | string, offset?: number | string }",
408
- "description": "`<768px` 响应式栅格数或者栅格属性对象 默认值:-"
409
- },
410
- "var-col/sm": {
411
- "type": "string | number | { span?: number | string, offset?: number | string }",
412
- "description": "`≥768px` 响应式栅格数或者栅格属性对象 默认值:-"
413
- },
414
- "var-col/md": {
415
- "type": "string | number | { span?: number | string, offset?: number | string }",
416
- "description": "`≥992px` 响应式栅格数或者栅格属性对象 默认值:-"
417
- },
418
- "var-col/lg": {
419
- "type": "string | number | { span?: number | string, offset?: number | string }",
420
- "description": "`≥1200px` 响应式栅格数或者栅格属性对象 默认值:-"
421
- },
422
- "var-col/xl": {
423
- "type": "string | number | { span?: number | string, offset?: number | string }",
424
- "description": "`≥1920px` 响应式栅格数或者栅格属性对象 默认值:-"
425
- },
426
- "var-collapse/v-model": {
427
- "type": "手风琴模式: string | number<br> 非手风琴模式:string[] | number[]",
428
- "description": "当前展开面板的 name 默认值:-"
429
- },
430
- "var-collapse/accordion": {
431
- "type": "boolean",
432
- "description": "是否开启手风琴模式 默认值:false"
433
- },
434
- "var-collapse/offset": {
435
- "type": "boolean",
436
- "description": "是否显示边距 默认值:true"
437
- },
438
- "var-collapse-item/name": {
439
- "type": "number | string",
440
- "description": "唯一标识符,默认为索引值 默认值:index"
441
- },
442
- "var-collapse-item/title": {
443
- "type": "number | string",
444
- "description": "面板标题 默认值:-"
445
- },
446
- "var-collapse-item/icon": {
447
- "type": "string",
448
- "description": "icon的名称 默认值:chevron-down"
449
- },
450
- "var-collapse-item/disabled": {
451
- "type": "boolean",
452
- "description": "是否禁用面板 默认值:false"
453
- },
454
- "var-countdown/time": {
455
- "type": "string | number",
456
- "description": "倒计时时长(ms) 默认值:0"
457
- },
458
- "var-countdown/format": {
459
- "type": "string",
460
- "description": "时间格式 默认值:HH : mm : ss"
461
- },
462
- "var-countdown/auto-start": {
463
- "type": "boolean",
464
- "description": "是否自动开始倒计时 默认值:true"
465
- },
466
- "var-counter/v-model": {
467
- "type": "string | number",
468
- "description": "绑定的值 默认值:0"
469
- },
470
- "var-counter/min": {
471
- "type": "string | number",
472
- "description": "最小值 默认值:-"
473
- },
474
- "var-counter/max": {
475
- "type": "string | number",
476
- "description": "最大值 默认值:-"
477
- },
478
- "var-counter/step": {
479
- "type": "string | number",
480
- "description": "步长 默认值:-"
481
- },
482
- "var-counter/decimal-length": {
483
- "type": "string | number",
484
- "description": "保留小数位数 默认值:-"
485
- },
486
- "var-counter/color": {
487
- "type": "string",
488
- "description": "背景颜色 默认值:-"
489
- },
490
- "var-counter/input-width": {
491
- "type": "string | number",
492
- "description": "输入框的宽度 默认值:-"
493
- },
494
- "var-counter/input-text-size": {
495
- "type": "string | number",
496
- "description": "输入框的文字大小 默认值:-"
497
- },
498
- "var-counter/button-size": {
499
- "type": "string",
500
- "description": "按钮大小 默认值:true"
501
- },
502
- "var-counter/readonly": {
503
- "type": "boolean",
504
- "description": "是否只读 默认值:false"
505
- },
506
- "var-counter/disabled": {
507
- "type": "boolean",
508
- "description": "是否禁用 默认值:false"
509
- },
510
- "var-counter/disable-increment": {
511
- "type": "boolean",
512
- "description": "是否禁用增加 默认值:false"
513
- },
514
- "var-counter/disable-decrement": {
515
- "type": "boolean",
516
- "description": "是否禁用减少 默认值:false"
517
- },
518
- "var-counter/disable-input": {
519
- "type": "boolean",
520
- "description": "是否禁用输入 默认值:false"
521
- },
522
- "var-counter/increment-button": {
523
- "type": "boolean",
524
- "description": "是否显示增加按钮 默认值:true"
525
- },
526
- "var-counter/decrement-button": {
527
- "type": "boolean",
528
- "description": "是否显示减少按钮 默认值:true"
529
- },
530
- "var-counter/press": {
531
- "type": "boolean",
532
- "description": "是否开启按钮长按 默认值:true"
533
- },
534
- "var-counter/ripple": {
535
- "type": "boolean",
536
- "description": "是否开启水波纹 默认值:true"
537
- },
538
- "var-counter/validate-trigger": {
539
- "type": "ValidateTriggers[]",
540
- "description": "触发验证的时机,可选值为 `onInputChange` `onLazyChange` `onIncrement` `onDecrement` 默认值:['onIncrement', 'onDecrement', 'onInputChange', 'onLazyChange']"
541
- },
542
- "var-counter/rules": {
543
- "type": "Array<(value: number) => any>",
544
- "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
545
- },
546
- "var-date-picker/v-model": {
547
- "type": "string[] | string",
548
- "description": "被选择的日期(ISO 8601 格式,`YYYY-MM-DD` 或 `YYYY-MM`) 默认值:undefined"
549
- },
550
- "var-date-picker/type": {
551
- "type": "string",
552
- "description": "选择器类型,可选值为 `date month` 默认值:date"
553
- },
554
- "var-date-picker/allowed-dates": {
555
- "type": "function",
556
- "description": "限制可以选择的日期 默认值:-"
557
- },
558
- "var-date-picker/color": {
559
- "type": "string",
560
- "description": "选择器的颜色 默认值:#2979ff"
561
- },
562
- "var-date-picker/header-color": {
563
- "type": "string",
564
- "description": "标题背景色。如果未指定,将使用由 color 属性或默认颜色。 默认值:#2979ff"
565
- },
566
- "var-date-picker/shadow": {
567
- "type": "boolean",
568
- "description": "是否添加阴影 默认值:false"
569
- },
570
- "var-date-picker/first-day-of-week": {
571
- "type": "string | number",
572
- "description": "设置一周的第一天,从周日的 0 开始。 默认值:0"
573
- },
574
- "var-date-picker/min": {
575
- "type": "string",
576
- "description": "允许的最小日期/月份(ISO 8601格式) 默认值:-"
577
- },
578
- "var-date-picker/max": {
579
- "type": "string",
580
- "description": "允许的最大日期/月份(ISO 8601格式) 默认值:-"
581
- },
582
- "var-date-picker/show-current": {
583
- "type": "boolean",
584
- "description": "是否显示当前日期 默认值:true"
585
- },
586
- "var-date-picker/readonly": {
587
- "type": "boolean",
588
- "description": "是否只读 默认值:false"
589
- },
590
- "var-date-picker/multiple": {
591
- "type": "boolean",
592
- "description": "是否支持选择多个日期 默认值:false"
593
- },
594
- "var-date-picker/range": {
595
- "type": "boolean",
596
- "description": "是否支持选择一个范围 默认值:false"
597
- },
598
- "var-date-picker/touchable": {
599
- "type": "boolean",
600
- "description": "是否支持拖动切换面板 默认值:true"
601
- },
602
- "var-dialog/v-model:show": {
603
- "type": "boolean",
604
- "description": "是否显示对话框 默认值:false"
605
- },
606
- "var-dialog/title": {
607
- "type": "string",
608
- "description": "对话框标题 默认值:提示"
609
- },
610
- "var-dialog/message": {
611
- "type": "string",
612
- "description": "对话框内容 默认值:-"
613
- },
614
- "var-dialog/message-align": {
615
- "type": "string",
616
- "description": "对话框内容文字对齐方式,可选值 `center` `left` `right` 默认值:left"
617
- },
618
- "var-dialog/confirm-button": {
619
- "type": "boolean",
620
- "description": "是否显示确认按钮 默认值:true"
621
- },
622
- "var-dialog/cancel-button": {
623
- "type": "boolean",
624
- "description": "是否显示取消按钮 默认值:true"
625
- },
626
- "var-dialog/confirm-button-text": {
627
- "type": "string",
628
- "description": "确认按钮文字 默认值:确认"
629
- },
630
- "var-dialog/cancel-button-text": {
631
- "type": "string",
632
- "description": "取消按钮文字 默认值:取消"
633
- },
634
- "var-dialog/confirm-button-text-color": {
635
- "type": "string",
636
- "description": "确认按钮文字颜色 默认值:-"
637
- },
638
- "var-dialog/cancel-button-text-color": {
639
- "type": "string",
640
- "description": "取消按钮文字颜色 默认值:-"
641
- },
642
- "var-dialog/confirm-button-color": {
643
- "type": "string",
644
- "description": "确认按钮背景颜色 默认值:-"
645
- },
646
- "var-dialog/cancel-button-color": {
647
- "type": "string",
648
- "description": "取消按钮背景颜色 默认值:-"
649
- },
650
- "var-dialog/dialog-class": {
651
- "type": "string",
652
- "description": "对话框主体区域的 class 默认值:-"
653
- },
654
- "var-dialog/dialog-style": {
655
- "type": "object",
656
- "description": "对话框主体区域的 style 默认值:-"
657
- },
658
- "var-dialog/overlay": {
659
- "type": "boolean",
660
- "description": "是否显示遮罩层 默认值:true"
661
- },
662
- "var-dialog/overlay-class": {
663
- "type": "string",
664
- "description": "自定义遮罩层的 class 默认值:-"
665
- },
666
- "var-dialog/overlay-style": {
667
- "type": "object",
668
- "description": "自定义遮罩层的 style 默认值:-"
669
- },
670
- "var-dialog/lock-scroll": {
671
- "type": "boolean",
672
- "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发 body 的滚动 默认值:true"
673
- },
674
- "var-dialog/close-on-click-overlay": {
675
- "type": "boolean",
676
- "description": "是否点击遮罩层关闭弹出层 默认值:true"
677
- },
678
- "var-dialog/teleport": {
679
- "type": "TeleportProps['to']",
680
- "description": "弹出层挂载的位置 默认值:-"
681
- },
682
- "var-divider/inset": {
683
- "type": "boolean | number | string",
684
- "description": "设置缩进距离,正负号可控制缩进方向。当传递 `true` 时默认缩进为 `72px` 默认值:false"
685
- },
686
- "var-divider/vertical": {
687
- "type": "boolean",
688
- "description": "是否垂直 默认值:false"
689
- },
690
- "var-divider/dashed": {
691
- "type": "boolean",
692
- "description": "虚线 默认值:false"
693
- },
694
- "var-divider/description": {
695
- "type": "string",
696
- "description": "分割线的文字描述 默认值:-"
697
- },
698
- "var-divider/margin": {
699
- "type": "string",
700
- "description": "设置分割线样式的 `margin` 属性 默认值:-"
701
- },
702
- "var-form/readonly": {
703
- "type": "boolean",
704
- "description": "是否只读 默认值:false"
705
- },
706
- "var-form/disabled": {
707
- "type": "boolean",
708
- "description": "是否禁用 默认值:false"
709
- },
710
- "var-icon/name": {
711
- "type": "string",
712
- "description": "图标名称 默认值:-"
713
- },
714
- "var-icon/size": {
715
- "type": "string | number",
716
- "description": "尺寸 默认值:-"
717
- },
718
- "var-icon/color": {
719
- "type": "string",
720
- "description": "图标颜色, 只适用于字体图标 默认值:-"
721
- },
722
- "var-icon/namespace": {
723
- "type": "string",
724
- "description": "图标的命名空间, 可扩展自定义图标库 默认值:var-icon"
725
- },
726
- "var-icon/transition": {
727
- "type": "string | number",
728
- "description": "过渡动画时间(ms) 默认值:0"
729
- },
730
- "var-image/src": {
731
- "type": "string",
732
- "description": "图片地址 默认值:-"
733
- },
734
- "var-image/fit": {
735
- "type": "string",
736
- "description": "填充模式, 可选值为 `fill contain cover none scale-down` 默认值:fill"
737
- },
738
- "var-image/alt": {
739
- "type": "string",
740
- "description": "替代文本 默认值:-"
741
- },
742
- "var-image/width": {
743
- "type": "string | number",
744
- "description": "图片宽度 默认值:-"
745
- },
746
- "var-image/height": {
747
- "type": "string | number",
748
- "description": "图片高度 默认值:-"
749
- },
750
- "var-image/radius": {
751
- "type": "string | number",
752
- "description": "图片圆角 默认值:-"
753
- },
754
- "var-image/lazy": {
755
- "type": "boolean",
756
- "description": "是否开启懒加载 默认值:false"
757
- },
758
- "var-image/loading": {
759
- "type": "string",
760
- "description": "当开启懒加载时, 加载中显示的图片 默认值:-"
761
- },
762
- "var-image/error": {
763
- "type": "string",
764
- "description": "当开启懒加载时, 加载失败显示的图片 默认值:-"
765
- },
766
- "var-image/ripple": {
767
- "type": "boolean",
768
- "description": "是否开启水波 默认值:false"
769
- },
770
- "var-image/block": {
771
- "type": "boolean",
772
- "description": "是否是块级元素 默认值:true"
773
- },
774
- "var-image-preview/show": {
775
- "type": "boolean",
776
- "description": "是否显示 默认值:false"
777
- },
778
- "var-image-preview/images": {
779
- "type": "string[]",
780
- "description": "需要预览的图片 URL 数组 默认值:[]"
781
- },
782
- "var-image-preview/current": {
783
- "type": "string",
784
- "description": "图片预览起始的 URL 默认值:-"
785
- },
786
- "var-image-preview/zoom": {
787
- "type": "string | number",
788
- "description": "双击放大倍数 默认值:2"
789
- },
790
- "var-image-preview/closeable": {
791
- "type": "boolean",
792
- "description": "是否显示关闭按钮 默认值:false"
793
- },
794
- "var-image-preview/loop": {
795
- "type": "boolean",
796
- "description": "是否开启循环播放 默认值:true"
797
- },
798
- "var-image-preview/indicator": {
799
- "type": "boolean",
800
- "description": "是否显示分页 默认值:true"
801
- },
802
- "var-image-preview/lock-scroll": {
803
- "type": "boolean",
804
- "description": "锁定滚动 默认值:true"
805
- },
806
- "var-image-preview/teleport": {
807
- "type": "TeleportProps['to']",
808
- "description": "弹出层挂载的位置 默认值:-"
809
- },
810
- "var-index-anchor/index": {
811
- "type": "number | string",
812
- "description": "索引字符 默认值:-"
813
- },
814
- "var-index-bar/sticky": {
815
- "type": "boolean",
816
- "description": "是否开启锚点吸顶 默认值:true"
817
- },
818
- "var-index-bar/sticky-offset-top": {
819
- "type": "number | string",
820
- "description": "锚点吸顶时与顶部的距离 默认值:0"
821
- },
822
- "var-index-bar/hide-list": {
823
- "type": "boolean",
824
- "description": "是否隐藏锚点列表 默认值:false"
825
- },
826
- "var-index-bar/css-mode": {
827
- "type": "boolean",
828
- "description": "开启原生 `css sticky` 模式 默认值:false"
829
- },
830
- "var-index-bar/z-index": {
831
- "type": "number | string",
832
- "description": "z-index 层级 默认值:1"
833
- },
834
- "var-index-bar/highlight-color": {
835
- "type": "string",
836
- "description": "索引字符高亮颜色 默认值:#ee0a24"
837
- },
838
- "var-index-bar/duration": {
839
- "type": "string | number",
840
- "description": "动画持续时间 默认值:0"
841
- },
842
- "var-input/v-model": {
843
- "type": "string",
844
- "description": "绑定的值 默认值:-"
845
- },
846
- "var-input/placeholder": {
847
- "type": "string",
848
- "description": "占位符 默认值:-"
849
- },
850
- "var-input/type": {
851
- "type": "string",
852
- "description": "输入框类型, 可选值为 `text` `password` `number` `tel` 默认值:text"
853
- },
854
- "var-input/maxlength": {
855
- "type": "string | number",
856
- "description": "最大长度 默认值:-"
857
- },
858
- "var-input/textarea": {
859
- "type": "boolean",
860
- "description": "是否是文本域 默认值:false"
861
- },
862
- "var-input/rows": {
863
- "type": "string | number",
864
- "description": "文本域的显示行数 默认值:8"
865
- },
866
- "var-input/line": {
867
- "type": "boolean",
868
- "description": "是否显示分割线 默认值:true"
869
- },
870
- "var-input/hint": {
871
- "type": "boolean",
872
- "description": "是否使用占位符作为提示 默认值:true"
873
- },
874
- "var-input/text-color": {
875
- "type": "string",
876
- "description": "文字颜色 默认值:-"
877
- },
878
- "var-input/focus-color": {
879
- "type": "string",
880
- "description": "聚焦时的主要颜色 默认值:-"
881
- },
882
- "var-input/blur-color": {
883
- "type": "string",
884
- "description": "失焦时的主要颜色 默认值:-"
885
- },
886
- "var-input/readonly": {
887
- "type": "boolean",
888
- "description": "是否只读 默认值:false"
889
- },
890
- "var-input/disabled": {
891
- "type": "boolean",
892
- "description": "是否禁用 默认值:false"
893
- },
894
- "var-input/clearable": {
895
- "type": "boolean",
896
- "description": "是否可清除 默认值:false"
897
- },
898
- "var-input/resize": {
899
- "type": "boolean",
900
- "description": "文本域是否可以拖动调整尺寸 默认值:false"
901
- },
902
- "var-input/autofocus": {
903
- "type": "boolean",
904
- "description": "是否自动聚焦 默认值:false"
905
- },
906
- "var-input/validate-trigger": {
907
- "type": "ValidateTriggers[]",
908
- "description": "触发验证的时机,可选值为 `onFocus` `onBlur` `onChange` `onClick` `onClear` `onInput` 默认值:['onInput', 'onClear']"
909
- },
910
- "var-input/rules": {
911
- "type": "Array<(v: string) => any>",
912
- "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
913
- },
914
- "var-list/v-model:loading": {
915
- "type": "boolean",
916
- "description": "加载状态 默认值:false"
917
- },
918
- "var-list/v-model:error": {
919
- "type": "boolean",
920
- "description": "错误状态 默认值:false"
921
- },
922
- "var-list/immediate-check": {
923
- "type": "boolean",
924
- "description": "是否在组件初始化时立刻检测位置 默认值:true"
925
- },
926
- "var-list/finished": {
927
- "type": "boolean",
928
- "description": "是否加载完毕 默认值:false"
929
- },
930
- "var-list/offset": {
931
- "type": "string | number",
932
- "description": "距离底部的触发距离 默认值:0"
933
- },
934
- "var-list/loading-text": {
935
- "type": "string",
936
- "description": "加载状态文字 默认值:加载中"
937
- },
938
- "var-list/finished-text": {
939
- "type": "string",
940
- "description": "加载完毕文字 默认值:没有更多了"
941
- },
942
- "var-list/error-text": {
943
- "type": "string",
944
- "description": "加载失败文字 默认值:加载失败"
945
- },
946
- "var-loading/color": {
947
- "type": "string",
948
- "description": "loading 的颜色 默认值:currentColor"
949
- },
950
- "var-loading/type": {
951
- "type": "string",
952
- "description": "loading 的类型,可选值为 `circle` `wave` `cube` `rect` `disappear` 默认值:circle"
953
- },
954
- "var-loading/size": {
955
- "type": "string",
956
- "description": "loading 的大小,可选值位 `large` `normal` `small` `mini` 默认值:normal"
957
- },
958
- "var-loading/description": {
959
- "type": "string",
960
- "description": "loading 的描述文字 默认值:-"
961
- },
962
- "var-loading/loading": {
963
- "type": "boolean",
964
- "description": "存在内容时 loading 是否显示 默认值:false"
965
- },
966
- "var-loading/radius": {
967
- "type": "string | number",
968
- "description": "loading 的类型为 `circle` 时,可设置其半径大小 默认值:-"
969
- },
970
- "var-menu/v-model:show": {
971
- "type": "string",
972
- "description": "是否显示菜单 默认值:default"
973
- },
974
- "var-menu/alignment": {
975
- "type": "string",
976
- "description": "菜单的对齐方式, 可选值为 `top` `bottom`, 源点为默认插槽的左上角,top 为菜单顶部对齐源点,bottom 为菜单底部对齐 默认值:top"
977
- },
978
- "var-menu/offset-x": {
979
- "type": "number | string",
980
- "description": "x 轴偏移量, 相对于菜单对齐后的位置 默认值:0"
981
- },
982
- "var-menu/offset-y": {
983
- "type": "number | string",
984
- "description": "y 轴偏移量, 相对于菜单对齐后的位置 默认值:0"
985
- },
986
- "var-menu/teleport": {
987
- "type": "TeleportProps['to']",
988
- "description": "菜单挂载的位置 默认值:body"
989
- },
990
- "var-option/label": {
991
- "type": "any",
992
- "description": "选项显示的文本 默认值:-"
993
- },
994
- "var-option/value": {
995
- "type": "any",
996
- "description": "选项绑定的值 默认值:-"
997
- },
998
- "var-pagination/v-model: current": {
999
- "type": "string | number",
1000
- "description": "当前页数 默认值:1"
1001
- },
1002
- "var-pagination/v-model: size": {
1003
- "type": "string | number",
1004
- "description": "每页条数 默认值:10"
1005
- },
1006
- "var-pagination/total": {
1007
- "type": "string | number",
1008
- "description": "总条数 默认值:0"
1009
- },
1010
- "var-pagination/simple": {
1011
- "type": "boolean",
1012
- "description": "是否为简单模式 默认值:true"
1013
- },
1014
- "var-pagination/disabled": {
1015
- "type": "boolean",
1016
- "description": "禁用分页 默认值:false"
1017
- },
1018
- "var-pagination/show-size-changer": {
1019
- "type": "boolean",
1020
- "description": "是否显示 `size` 切换器 默认值:true"
1021
- },
1022
- "var-pagination/show-quick-jumper": {
1023
- "type": "boolean",
1024
- "description": "是否可以快速跳转至某页 默认值:false"
1025
- },
1026
- "var-pagination/max-pager-count": {
1027
- "type": "number",
1028
- "description": "省略号间显示的按钮数量 默认值:3"
1029
- },
1030
- "var-pagination/size-option": {
1031
- "type": "number[]",
1032
- "description": "指定每页可以显示多少条 默认值:[10, 20, 50, 100]"
1033
- },
1034
- "var-pagination/show-total": {
1035
- "type": "function(total, range)",
1036
- "description": "用于显示数据总量和当前数据顺序 默认值:-"
1037
- },
1038
- "var-picker/columns": {
1039
- "type": "NormalColumn[] | CascadeColumn[] | Texts",
1040
- "description": "列内容 默认值:[]"
1041
- },
1042
- "var-picker/title": {
1043
- "type": "string",
1044
- "description": "标题 默认值:提示"
1045
- },
1046
- "var-picker/text-key": {
1047
- "type": "string",
1048
- "description": "文本的属性 key 默认值:text"
1049
- },
1050
- "var-picker/toolbar": {
1051
- "type": "string",
1052
- "description": "是否显示上方工具栏 默认值:true"
1053
- },
1054
- "var-picker/cascade": {
1055
- "type": "boolean",
1056
- "description": "是否开启级联模式 默认值:true"
1057
- },
1058
- "var-picker/cascade-initial-indexes": {
1059
- "type": "number[]",
1060
- "description": "级联模式的初始化索引列表 默认值:-"
1061
- },
1062
- "var-picker/text-formatter": {
1063
- "type": "(text: any, columnIndex: number) => any",
1064
- "description": "文本格式化 默认值:text => text"
1065
- },
1066
- "var-picker/option-height": {
1067
- "type": "string | number",
1068
- "description": "选项的高度(px rem) 默认值:44"
1069
- },
1070
- "var-picker/option-count": {
1071
- "type": "string | number",
1072
- "description": "可见的选项个数 默认值:6"
1073
- },
1074
- "var-picker/confirm-button-text": {
1075
- "type": "string",
1076
- "description": "确认按钮文字 默认值:确认"
1077
- },
1078
- "var-picker/cancel-button-text": {
1079
- "type": "string",
1080
- "description": "取消按钮文字 默认值:取消"
1081
- },
1082
- "var-picker/confirm-button-text-color": {
1083
- "type": "string",
1084
- "description": "确认按钮文字颜色 默认值:-"
1085
- },
1086
- "var-picker/cancel-button-text-color": {
1087
- "type": "string",
1088
- "description": "取消按钮文字颜色 默认值:-"
1089
- },
1090
- "var-popup/v-model:show": {
1091
- "type": "boolean",
1092
- "description": "是否显示弹出层 默认值:false"
1093
- },
1094
- "var-popup/position": {
1095
- "type": "string",
1096
- "description": "弹出位置,可选值为 `top` `bottom` `right` `left` `center` 默认值:center"
1097
- },
1098
- "var-popup/overlay": {
1099
- "type": "boolean",
1100
- "description": "是否显示遮罩层 默认值:true"
1101
- },
1102
- "var-popup/overlay-class": {
1103
- "type": "string",
1104
- "description": "自定义遮罩层的 class 默认值:-"
1105
- },
1106
- "var-popup/overlay-style": {
1107
- "type": "object",
1108
- "description": "自定义遮罩层的 style 默认值:-"
1109
- },
1110
- "var-popup/transition": {
1111
- "type": "string",
1112
- "description": "过度动画的名称 默认值:-"
1113
- },
1114
- "var-popup/lock-scroll": {
1115
- "type": "boolean",
1116
- "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发 body 的滚动 默认值:true"
1117
- },
1118
- "var-popup/close-on-click-overlay": {
1119
- "type": "boolean",
1120
- "description": "是否点击遮罩层关闭弹出层 默认值:true"
1121
- },
1122
- "var-popup/teleport": {
1123
- "type": "TeleportProps['to']",
1124
- "description": "弹出层挂载的位置 默认值:-"
1125
- },
1126
- "var-progress/mode": {
1127
- "type": "string",
1128
- "description": "`progress` 的模式,可选值为 `linear, circle` 默认值:linear"
1129
- },
1130
- "var-progress/value": {
1131
- "type": "string | number",
1132
- "description": "`progress` 的进度 默认值:0"
1133
- },
1134
- "var-progress/line-width": {
1135
- "type": "string | number",
1136
- "description": "`progress` 的线宽 默认值:4"
1137
- },
1138
- "var-progress/color": {
1139
- "type": "string",
1140
- "description": "`progress` 的颜色 默认值:#005CAF"
1141
- },
1142
- "var-progress/track-color": {
1143
- "type": "string",
1144
- "description": "`progress` 轨道的颜色 默认值:#d8d8d8"
1145
- },
1146
- "var-progress/label": {
1147
- "type": "boolean",
1148
- "description": "是否显示 label 默认值:false"
1149
- },
1150
- "var-progress/track": {
1151
- "type": "boolean",
1152
- "description": "是否显示 `progress` 的轨道 默认值:true"
1153
- },
1154
- "var-progress/ripple": {
1155
- "type": "boolean",
1156
- "description": "水波纹加载效果(仅支持线性进度条) 默认值:false"
1157
- },
1158
- "var-progress/size": {
1159
- "type": "string | number",
1160
- "description": "`progress` 的尺寸(仅支持环形进度条) 默认值:40"
1161
- },
1162
- "var-progress/rotate": {
1163
- "type": "number",
1164
- "description": "`progress` 的原点(仅支持环形进度条) 默认值:0"
1165
- },
1166
- "var-pull-refresh/v-model": {
1167
- "type": "boolean",
1168
- "description": "是否处于加载中状态 默认值:-"
1169
- },
1170
- "var-pull-refresh/disabled": {
1171
- "type": "boolean",
1172
- "description": "是否禁用下拉刷新 默认值:false"
1173
- },
1174
- "var-pull-refresh/animation-duration": {
1175
- "type": "string | number",
1176
- "description": "加载结束后回到初始位置的动画时长(ms) 默认值:300"
1177
- },
1178
- "var-pull-refresh/success-duration": {
1179
- "type": "string | number",
1180
- "description": "成功提示展示时长(ms) 默认值:2000"
1181
- },
1182
- "var-pull-refresh/bg-color": {
1183
- "type": "string",
1184
- "description": "control 的背景颜色 默认值:#005CAF"
1185
- },
1186
- "var-pull-refresh/color": {
1187
- "type": "string",
1188
- "description": "control 的颜色 默认值:#ffffff"
1189
- },
1190
- "var-pull-refresh/success-bg-color": {
1191
- "type": "string",
1192
- "description": "成功状态下 control 的背景颜色 默认值:#4CAF50"
1193
- },
1194
- "var-pull-refresh/success-color": {
1195
- "type": "string",
1196
- "description": "成功状态下 control 的颜色 默认值:ffffff"
1197
- },
1198
- "var-radio/v-model": {
1199
- "type": "any",
1200
- "description": "绑定的值 默认值:false"
1201
- },
1202
- "var-radio/checked-value": {
1203
- "type": "any",
1204
- "description": "选中状态的值 默认值:true"
1205
- },
1206
- "var-radio/unchecked-value": {
1207
- "type": "any",
1208
- "description": "未选中状态的值 默认值:false"
1209
- },
1210
- "var-radio/checked-color": {
1211
- "type": "any",
1212
- "description": "选中状态的颜色 默认值:-"
1213
- },
1214
- "var-radio/unchecked-color": {
1215
- "type": "any",
1216
- "description": "未选中状态的颜色 默认值:-"
1217
- },
1218
- "var-radio/icon-size": {
1219
- "type": "string",
1220
- "description": "图标尺寸 默认值:\\ number_"
1221
- },
1222
- "var-radio/disabled": {
1223
- "type": "boolean",
1224
- "description": "是否禁用 默认值:false"
1225
- },
1226
- "var-radio/readonly": {
1227
- "type": "boolean",
1228
- "description": "是否只读 默认值:false"
1229
- },
1230
- "var-radio/ripple": {
1231
- "type": "boolean",
1232
- "description": "是否开启水波纹 默认值:true"
1233
- },
1234
- "var-radio/rules": {
1235
- "type": "Array<(value: any) => any>",
1236
- "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
1237
- },
1238
- "var-radio-group/v-model": {
1239
- "type": "any",
1240
- "description": "绑定的值 默认值:-"
1241
- },
1242
- "var-radio-group/direction": {
1243
- "type": "string",
1244
- "description": "布局方向,可选值为 `horizontal` `vertical` 默认值:horizontal"
1245
- },
1246
- "var-radio-group/rules": {
1247
- "type": "Array<(value: any) => any>",
1248
- "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
1249
- },
1250
- "var-rate/v-model": {
1251
- "type": "number | string",
1252
- "description": "当前分数 默认值:0"
1253
- },
1254
- "var-rate/count": {
1255
- "type": "number | string",
1256
- "description": "评分总数 默认值:5"
1257
- },
1258
- "var-rate/color": {
1259
- "type": "string",
1260
- "description": "选中时图标的颜色 默认值:-"
1261
- },
1262
- "var-rate/icon": {
1263
- "type": "string",
1264
- "description": "选中整个图标时的图标样式 默认值:star"
1265
- },
1266
- "var-rate/empty-color": {
1267
- "type": "string",
1268
- "description": "未选中时图标的颜色 默认值:-"
1269
- },
1270
- "var-rate/empty-icon": {
1271
- "type": "string",
1272
- "description": "未选中时图标的样式 默认值:star-outline"
1273
- },
1274
- "var-rate/size": {
1275
- "type": "number | string",
1276
- "description": "图标大小,默认单位为 `px` 默认值:-"
1277
- },
1278
- "var-rate/gap": {
1279
- "type": "number | string",
1280
- "description": "图标间隔,默认单位为 `px` 默认值:-"
1281
- },
1282
- "var-rate/half": {
1283
- "type": "boolean",
1284
- "description": "是否允许半选 默认值:false"
1285
- },
1286
- "var-rate/half-icon": {
1287
- "type": "string",
1288
- "description": "半选时图标的样式,只有在 `half` 为 `true` 时才有效 默认值:star-half-full"
1289
- },
1290
- "var-rate/namespace": {
1291
- "type": "string",
1292
- "description": "图标的命名空间, 可扩展自定义图标库 默认值:var-icon"
1293
- },
1294
- "var-rate/disabled": {
1295
- "type": "boolean",
1296
- "description": "是否禁止评分 默认值:false"
1297
- },
1298
- "var-rate/disabled-color": {
1299
- "type": "string",
1300
- "description": "禁止评分时图标的颜色,只有在 `disabled` 为 `true` 时才有效,优先级高于 `color`、`empty-color` 默认值:#aaa"
1301
- },
1302
- "var-rate/readonly": {
1303
- "type": "boolean",
1304
- "description": "是否使用评分只读 默认值:false"
1305
- },
1306
- "var-rate/ripple": {
1307
- "type": "boolean",
1308
- "description": "是否使用水波纹 默认值:true"
1309
- },
1310
- "var-rate/rules": {
1311
- "type": "Array<(v: string | number) => any>",
1312
- "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
1313
- },
1314
- "var-row/gutter": {
1315
- "type": "string | number",
1316
- "description": "列间距 默认值:0"
1317
- },
1318
- "var-row/justify": {
1319
- "type": "string",
1320
- "description": "主轴对齐方式, 可选值为 `flex-start` `flex-end` `center` `space-between` `space-around` 默认值:flex-start"
1321
- },
1322
- "var-row/align": {
1323
- "type": "string",
1324
- "description": "交叉轴对齐方式, 可选值为 `flex-start` `flex-end` `center` 默认值:flex-start"
1325
- },
1326
- "var-select/v-model": {
1327
- "type": "any | any[]",
1328
- "description": "绑定的值 默认值:-"
1329
- },
1330
- "var-select/placeholder": {
1331
- "type": "string",
1332
- "description": "占位符 默认值:-"
1333
- },
1334
- "var-select/multiple": {
1335
- "type": "boolean",
1336
- "description": "是否开启多选 默认值:false"
1337
- },
1338
- "var-select/offset-y": {
1339
- "type": "string | number",
1340
- "description": "下拉菜单的垂直偏移量 默认值:0"
1341
- },
1342
- "var-select/chip": {
1343
- "type": "boolean",
1344
- "description": "是否使用纸片风格(仅限多选) 默认值:false"
1345
- },
1346
- "var-select/line": {
1347
- "type": "boolean",
1348
- "description": "是否显示分割线 默认值:true"
1349
- },
1350
- "var-select/hint": {
1351
- "type": "boolean",
1352
- "description": "是否使用占位符作为提示 默认值:true"
1353
- },
1354
- "var-select/text-color": {
1355
- "type": "string",
1356
- "description": "文字颜色 默认值:-"
1357
- },
1358
- "var-select/focus-color": {
1359
- "type": "string",
1360
- "description": "聚焦时的主要颜色 默认值:-"
1361
- },
1362
- "var-select/blur-color": {
1363
- "type": "string",
1364
- "description": "失焦时的主要颜色 默认值:-"
1365
- },
1366
- "var-select/readonly": {
1367
- "type": "boolean",
1368
- "description": "是否只读 默认值:false"
1369
- },
1370
- "var-select/disabled": {
1371
- "type": "boolean",
1372
- "description": "是否禁用 默认值:false"
1373
- },
1374
- "var-select/clearable": {
1375
- "type": "boolean",
1376
- "description": "是否可清除 默认值:false"
1377
- },
1378
- "var-select/validate-trigger": {
1379
- "type": "ValidateTriggers[]",
1380
- "description": "触发验证的时机,可选值为 `onFocus` `onBlur` `onChange` `onClick` `onClear` `onClose` 默认值:['onChange', 'onClear', 'onClose']"
1381
- },
1382
- "var-select/rules": {
1383
- "type": "Array<(v: any | any[]) => any>",
1384
- "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
1385
- },
1386
- "var-skeleton/loading": {
1387
- "type": "boolean",
1388
- "description": "加载状态,设置为 `true` 开启骨架屏 默认值:true"
1389
- },
1390
- "var-skeleton/title": {
1391
- "type": "boolean",
1392
- "description": "是否显示标题 默认值:false"
1393
- },
1394
- "var-skeleton/card": {
1395
- "type": "boolean",
1396
- "description": "是否显示卡片 默认值:false"
1397
- },
1398
- "var-skeleton/avatar": {
1399
- "type": "boolean",
1400
- "description": "是否显示头像 默认值:false"
1401
- },
1402
- "var-skeleton/fullscreen": {
1403
- "type": "boolean",
1404
- "description": "是否开启全屏模式 默认值:false"
1405
- },
1406
- "var-skeleton/fullscreen-z-index": {
1407
- "type": "string | number",
1408
- "description": "全屏模式的层级 默认值:100"
1409
- },
1410
- "var-skeleton/title-width": {
1411
- "type": "string | number",
1412
- "description": "标题宽度 默认值:50%"
1413
- },
1414
- "var-skeleton/card-height": {
1415
- "type": "string | number",
1416
- "description": "卡片高度 默认值:160px"
1417
- },
1418
- "var-skeleton/avatar-size": {
1419
- "type": "string | number",
1420
- "description": "头像尺寸 默认值:34px"
1421
- },
1422
- "var-skeleton/rows": {
1423
- "type": "string | number",
1424
- "description": "段落行数 默认值:3"
1425
- },
1426
- "var-skeleton/rows-width": {
1427
- "type": "number[] | string[]",
1428
- "description": "段落每一行的宽度 默认值:['12px', '12px', '12px']"
1429
- },
1430
- "var-slider/v-model": {
1431
- "type": "number | [number, number]",
1432
- "description": "当前进度值 默认值:0"
1433
- },
1434
- "var-slider/step": {
1435
- "type": "string | number",
1436
- "description": "步长,取值为 `1 ~ 100` 间的整数 默认值:1"
1437
- },
1438
- "var-slider/range": {
1439
- "type": "boolean",
1440
- "description": "是否启用双滑块 默认值:false"
1441
- },
1442
- "var-slider/label-visible": {
1443
- "type": "string",
1444
- "description": "是否显示标签,可选值为 `always normal never` 默认值:normal"
1445
- },
1446
- "var-slider/label-text-color": {
1447
- "type": "string",
1448
- "description": "标签文字颜色 默认值:#fff"
1449
- },
1450
- "var-slider/track-height": {
1451
- "type": "string | number",
1452
- "description": "slider的高度 默认值:2"
1453
- },
1454
- "var-slider/thumb-size": {
1455
- "type": "string | number",
1456
- "description": "滑块的大小 默认值:12"
1457
- },
1458
- "var-slider/disabled": {
1459
- "type": "boolean",
1460
- "description": "是否禁用 默认值:false"
1461
- },
1462
- "var-slider/readonly": {
1463
- "type": "boolean",
1464
- "description": "是否只读 默认值:false"
1465
- },
1466
- "var-slider/rules": {
1467
- "type": "array",
1468
- "description": "校验规则 默认值:-"
1469
- },
1470
- "var-snackbar/v-model:show": {
1471
- "type": "boolean",
1472
- "description": "是否显示 `Snackbar` 默认值:false"
1473
- },
1474
- "var-snackbar/type": {
1475
- "type": "string",
1476
- "description": "`Snackbar` 类型,可选值为 `success warning info error loading` 默认值:-"
1477
- },
1478
- "var-snackbar/position": {
1479
- "type": "string",
1480
- "description": "`Snackbar` 位置,可选值为 `top center bottom` 默认值:top"
1481
- },
1482
- "var-snackbar/duration": {
1483
- "type": "number",
1484
- "description": "显示时长 默认值:3000"
1485
- },
1486
- "var-snackbar/content": {
1487
- "type": "string",
1488
- "description": "自定义内容 默认值:-"
1489
- },
1490
- "var-snackbar/content-class": {
1491
- "type": "string",
1492
- "description": "自定义内容的类名 默认值:-"
1493
- },
1494
- "var-snackbar/vertical": {
1495
- "type": "boolean",
1496
- "description": "是否启用竖直排列方式 默认值:false"
1497
- },
1498
- "var-snackbar/loading-type": {
1499
- "type": "string",
1500
- "description": "加载动画类型(见 `Loading` 组件) 默认值:circle"
1501
- },
1502
- "var-snackbar/loading-size": {
1503
- "type": "string",
1504
- "description": "加载动画大小(见 `Loading` 组件) 默认值:normal"
1505
- },
1506
- "var-snackbar/lock-scroll": {
1507
- "type": "boolean",
1508
- "description": "是否禁止滚动穿透 默认值:false"
1509
- },
1510
- "var-snackbar/forbid-click": {
1511
- "type": "boolean",
1512
- "description": "是否禁止穿透点击 默认值:false"
1513
- },
1514
- "var-snackbar/teleport": {
1515
- "type": "TeleportProps['to']",
1516
- "description": "弹出层挂载的位置 默认值:body"
1517
- },
1518
- "var-space/align": {
1519
- "type": "string",
1520
- "description": "垂直排列方式 可选值为 `stretch` `center` `start` `end` `baseline` 默认值:-"
1521
- },
1522
- "var-space/justify": {
1523
- "type": "string",
1524
- "description": "水平排列方式 可选值为 `start` `end` `center` `space-around` `space-between` 默认值:start"
1525
- },
1526
- "var-space/size": {
1527
- "type": "string | number | [string | number, string | number]",
1528
- "description": "间距,可选值为 `mini` `small` `normal` `large` 或 `[垂直间距, 水平间距]` (支持长度单位) 默认值:normal"
1529
- },
1530
- "var-space/wrap": {
1531
- "type": "boolean",
1532
- "description": "是否超出换行 默认值:true"
1533
- },
1534
- "var-space/direction": {
1535
- "type": "string",
1536
- "description": "布局方向 可选值为 `row` `column` 默认值:row"
1537
- },
1538
- "var-space/inline": {
1539
- "type": "boolean",
1540
- "description": "是否为行内元素 默认值:false"
1541
- },
1542
- "var-step/active-icon": {
1543
- "type": "string",
1544
- "description": "激活状态图标 默认值:check"
1545
- },
1546
- "var-step/current-icon": {
1547
- "type": "string",
1548
- "description": "当前步骤时的图标 默认值:-"
1549
- },
1550
- "var-step/inactive-icon": {
1551
- "type": "string",
1552
- "description": "未激活状态图标 默认值:-"
1553
- },
1554
- "var-steps/active": {
1555
- "type": "string | number",
1556
- "description": "当前步骤 默认值:0"
1557
- },
1558
- "var-steps/direction": {
1559
- "type": "string",
1560
- "description": "显示方向,可选值为 `vertical` 默认值:horizontal"
1561
- },
1562
- "var-steps/active-color": {
1563
- "type": "string",
1564
- "description": "激活状态颜色 默认值:#2979ff"
1565
- },
1566
- "var-steps/inactive-color": {
1567
- "type": "string",
1568
- "description": "未激活状态颜色 默认值:#9e9e9e"
1569
- },
1570
- "var-sticky/offset-top": {
1571
- "type": "string | number",
1572
- "description": "吸顶距离 默认值:0"
1573
- },
1574
- "var-sticky/z-index": {
1575
- "type": "string | number",
1576
- "description": "吸顶时的层级 默认值:0"
1577
- },
1578
- "var-sticky/css-mode": {
1579
- "type": "boolean",
1580
- "description": "开启原生 `css sticky` 模式 默认值:false"
1581
- },
1582
- "var-sticky/disabled": {
1583
- "type": "boolean",
1584
- "description": "禁用吸顶, 设置为 `true` 时, 元素会回到文档流中 默认值:false"
1585
- },
1586
- "var-style-provider/style-vars": {
1587
- "type": "Record<string, string>",
1588
- "description": "css 变量 默认值:{}"
1589
- },
1590
- "var-swipe/loop": {
1591
- "type": "boolean",
1592
- "description": "是否开启循环轮播 默认值:true"
1593
- },
1594
- "var-swipe/autoplay": {
1595
- "type": "string | number",
1596
- "description": "自动播放间隔时间 (ms) 默认值:-"
1597
- },
1598
- "var-swipe/duration": {
1599
- "type": "string | number",
1600
- "description": "切换过度时间 默认值:300"
1601
- },
1602
- "var-swipe/initial-index": {
1603
- "type": "string | number",
1604
- "description": "初始化显示的索引 默认值:0"
1605
- },
1606
- "var-swipe/indicator": {
1607
- "type": "boolean",
1608
- "description": "是否显示指示器 默认值:true"
1609
- },
1610
- "var-swipe/indicator-color": {
1611
- "type": "string",
1612
- "description": "指示器颜色 默认值:-"
1613
- },
1614
- "var-swipe/vertical": {
1615
- "type": "boolean",
1616
- "description": "是否开启垂直轮播 默认值:false"
1617
- },
1618
- "var-swipe/touchable": {
1619
- "type": "boolean",
1620
- "description": "是否可以拖动 默认值:true"
1621
- },
1622
- "var-switch/v-model": {
1623
- "type": "any",
1624
- "description": "开关选中状态 默认值:false"
1625
- },
1626
- "var-switch/active-value": {
1627
- "type": "any",
1628
- "description": "开关打开时的值 默认值:true"
1629
- },
1630
- "var-switch/inactive-value": {
1631
- "type": "any",
1632
- "description": "开关关闭时的值 默认值:false"
1633
- },
1634
- "var-switch/disabled": {
1635
- "type": "boolean",
1636
- "description": "是否禁用 默认值:false"
1637
- },
1638
- "var-switch/readonly": {
1639
- "type": "boolean",
1640
- "description": "是否只读 默认值:false"
1641
- },
1642
- "var-switch/loading": {
1643
- "type": "boolean",
1644
- "description": "是否为加载状态 默认值:false"
1645
- },
1646
- "var-switch/ripple": {
1647
- "type": "boolean",
1648
- "description": "是否启用水波纹 默认值:true"
1649
- },
1650
- "var-switch/color": {
1651
- "type": "string",
1652
- "description": "打开状态下的颜色 默认值:#2979ff"
1653
- },
1654
- "var-switch/loading-color": {
1655
- "type": "string",
1656
- "description": "加载图标的颜色 默认值:#fff"
1657
- },
1658
- "var-switch/close-color": {
1659
- "type": "string",
1660
- "description": "关闭状态下的颜色 默认值:#fff"
1661
- },
1662
- "var-switch/size": {
1663
- "type": "string | number",
1664
- "description": "switch 的大小 默认值:-"
1665
- },
1666
- "var-switch/rules": {
1667
- "type": "array",
1668
- "description": "校验规则 默认值:-"
1669
- },
1670
- "var-tab/name": {
1671
- "type": "string | number",
1672
- "description": "选项卡的名字 默认值:index"
1673
- },
1674
- "var-tab/disabled": {
1675
- "type": "boolean",
1676
- "description": "是否禁用选项卡 默认值:false"
1677
- },
1678
- "var-tab-item/name": {
1679
- "type": "string | number",
1680
- "description": "视图的名字 默认值:index"
1681
- },
1682
- "var-table/full-width": {
1683
- "type": "string | number",
1684
- "description": "`table` 的宽度(包含可滚动部分) 默认值:100%"
1685
- },
1686
- "var-tabs/v-model:active": {
1687
- "type": "string",
1688
- "description": "激活的选项卡标识, 优先匹配 name,其次是 index 默认值:default"
1689
- },
1690
- "var-tabs/layout-direction": {
1691
- "type": "string",
1692
- "description": "选项卡组的布局方向,可选值为 `horizontal` `vertical` 默认值:horizontal"
1693
- },
1694
- "var-tabs/item-direction": {
1695
- "type": "string",
1696
- "description": "选项卡的布局方向,可选值为 `horizontal` `vertical` 默认值:horizontal"
1697
- },
1698
- "var-tabs/fixed-bottom": {
1699
- "type": "boolean",
1700
- "description": "是否固定在窗口底部, 可用做底部导航 默认值:false"
1701
- },
1702
- "var-tabs/color": {
1703
- "type": "string",
1704
- "description": "选项卡的背景颜色 默认值:#fff"
1705
- },
1706
- "var-tabs/active-color": {
1707
- "type": "string",
1708
- "description": "选项卡激活的主要颜色 默认值:#2979ff"
1709
- },
1710
- "var-tabs/inactive-color": {
1711
- "type": "string",
1712
- "description": "选项卡未激活的主要颜色 默认值:#646566"
1713
- },
1714
- "var-tabs/disabled-color": {
1715
- "type": "string",
1716
- "description": "选项卡禁用时的主要颜色 默认值:#e0e0e0"
1717
- },
1718
- "var-tabs/indicator-color": {
1719
- "type": "string",
1720
- "description": "选项卡激活指示器的颜色 默认值:#2979ff"
1721
- },
1722
- "var-tabs/indicator-size": {
1723
- "type": "string | number",
1724
- "description": "选项卡激活指示器的尺寸 默认值:2px"
1725
- },
1726
- "var-tabs/elevation": {
1727
- "type": "boolean",
1728
- "description": "是否启用阴影 默认值:false"
1729
- },
1730
- "var-tabs/sticky": {
1731
- "type": "boolean",
1732
- "description": "是否启用粘性布局 默认值:false"
1733
- },
1734
- "var-tabs/safe-area": {
1735
- "type": "boolean",
1736
- "description": "是否开启底部安全区适配 默认值:false"
1737
- },
1738
- "var-tabs/offset-top": {
1739
- "type": "string | number",
1740
- "description": "吸顶距离 默认值:0"
1741
- },
1742
- "var-tabs-items/v-model:active": {
1743
- "type": "string | number",
1744
- "description": "激活的选项卡的名字 默认值:-"
1745
- },
1746
- "var-tabs-items/can-swipe": {
1747
- "type": "boolean",
1748
- "description": "是否允许滑动切换 默认值:true"
1749
- },
1750
- "var-tabs-items/loop": {
1751
- "type": "boolean",
1752
- "description": "是否允许循环切换 默认值:false"
1753
- },
1754
- "var-time-picker/v-model": {
1755
- "type": "string",
1756
- "description": "被选择的时间(ISO 8601 格式,`HH:mm` 或 `HH:mm:ss`) 默认值:-"
1757
- },
1758
- "var-time-picker/format": {
1759
- "type": "string",
1760
- "description": "选择器时间格式,可选值为 `ampm 24hr` 默认值:ampm"
1761
- },
1762
- "var-time-picker/color": {
1763
- "type": "string",
1764
- "description": "选择器的颜色 默认值:#2979ff"
1765
- },
1766
- "var-time-picker/header-color": {
1767
- "type": "string",
1768
- "description": "标题背景色。如果未指定,将使用由 color 属性或默认颜色。 默认值:#2979ff"
1769
- },
1770
- "var-time-picker/shadow": {
1771
- "type": "boolean",
1772
- "description": "是否添加阴影 默认值:false"
1773
- },
1774
- "var-time-picker/min": {
1775
- "type": "string",
1776
- "description": "允许的最小时间(ISO 8601格式) 默认值:-"
1777
- },
1778
- "var-time-picker/max": {
1779
- "type": "string",
1780
- "description": "允许的最大时间(ISO 8601格式) 默认值:-"
1781
- },
1782
- "var-time-picker/allowed-time": {
1783
- "type": "AllowedTime",
1784
- "description": "限制可以选择的时间 默认值:-"
1785
- },
1786
- "var-time-picker/readonly": {
1787
- "type": "boolean",
1788
- "description": "是否只读 默认值:false"
1789
- },
1790
- "var-time-picker/use-seconds": {
1791
- "type": "boolean",
1792
- "description": "是否显示秒 默认值:false"
1793
- },
1794
- "var-uploader/v-model": {
1795
- "type": "VarFile[]",
1796
- "description": "文件列表 默认值:[]"
1797
- },
1798
- "var-uploader/accept": {
1799
- "type": "string",
1800
- "description": "接受的文件类型,与原生属性一致 默认值:image/*"
1801
- },
1802
- "var-uploader/capture": {
1803
- "type": "string",
1804
- "description": "获取文件方式,与原生属性一致 默认值:-"
1805
- },
1806
- "var-uploader/multiple": {
1807
- "type": "boolean",
1808
- "description": "是否多选文件 默认值:false"
1809
- },
1810
- "var-uploader/readonly": {
1811
- "type": "boolean",
1812
- "description": "是否只读 默认值:false"
1813
- },
1814
- "var-uploader/disabled": {
1815
- "type": "boolean",
1816
- "description": "是否禁用 默认值:false"
1817
- },
1818
- "var-uploader/removable": {
1819
- "type": "boolean",
1820
- "description": "是否可以删除 默认值:true"
1821
- },
1822
- "var-uploader/maxlength": {
1823
- "type": "string | number",
1824
- "description": "最大文件个数 默认值:-"
1825
- },
1826
- "var-uploader/maxsize": {
1827
- "type": "string | number",
1828
- "description": "最大文件大小 默认值:-"
1829
- },
1830
- "var-uploader/previewed": {
1831
- "type": "boolean",
1832
- "description": "是否允许预览 默认值:true"
1833
- },
1834
- "var-uploader/ripple": {
1835
- "type": "boolean",
1836
- "description": "是否开启水波纹 默认值:true"
1837
- },
1838
- "var-uploader/hide-list": {
1839
- "type": "boolean",
1840
- "description": "是否隐藏文件列表 默认值:false"
1841
- },
1842
- "var-uploader/validate-trigger": {
1843
- "type": "ValidateTriggers[]",
1844
- "description": "触发验证的时机, 可选值为 `onChange` `onRemove` 默认值:['onChange', 'onRemove']"
1845
- },
1846
- "var-uploader/rules": {
1847
- "type": "Array<(v: VarFile, u: VarFileUtils) => any>",
1848
- "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
1849
- }
1850
- }
1
+ {}