@opentiny/vue-docs 2.2.6 → 2.2.7

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 (612) hide show
  1. package/demos/mobile/app/alert/basic-usage.vue +26 -0
  2. package/demos/mobile/app/alert/center.vue +13 -0
  3. package/demos/mobile/app/alert/custom-close.vue +25 -7
  4. package/demos/mobile/app/alert/target.vue +30 -0
  5. package/demos/mobile/app/alert/webdoc/alert.js +50 -0
  6. package/demos/mobile/app/checkbox/basic-usage.vue +33 -0
  7. package/demos/mobile/app/checkbox/{default.vue → checkbox-group.vue} +5 -10
  8. package/demos/mobile/app/checkbox/{label.vue → disabled.vue} +4 -3
  9. package/demos/mobile/app/checkbox/event-change.vue +2 -2
  10. package/demos/mobile/app/checkbox/icon-position.vue +49 -0
  11. package/demos/mobile/app/checkbox/indeterminate.vue +2 -2
  12. package/demos/mobile/app/checkbox/true-false-label.vue +2 -2
  13. package/demos/mobile/app/checkbox/webdoc/checkbox.js +88 -46
  14. package/demos/mobile/app/input/basic-usage.vue +32 -0
  15. package/demos/mobile/app/input/clearable.vue +7 -7
  16. package/demos/mobile/app/input/counter.vue +15 -8
  17. package/demos/mobile/app/input/disabled.vue +31 -0
  18. package/demos/mobile/app/input/events.vue +32 -13
  19. package/demos/mobile/app/input/max-min-length.vue +5 -5
  20. package/demos/mobile/app/input/methods.vue +53 -0
  21. package/demos/mobile/app/input/native-attributes.vue +62 -0
  22. package/demos/mobile/app/input/prefix-suffix-icon.vue +35 -0
  23. package/demos/mobile/app/input/show-password.vue +5 -5
  24. package/demos/mobile/app/input/slots.vue +65 -0
  25. package/demos/mobile/app/input/textarea-rows-cols.vue +31 -0
  26. package/demos/mobile/app/input/textarea-scalable.vue +41 -0
  27. package/demos/mobile/app/input/{type-be-form-select.vue → type-select.vue} +10 -10
  28. package/demos/mobile/app/input/type.vue +60 -0
  29. package/demos/mobile/app/input/validate-event.vue +5 -30
  30. package/demos/mobile/app/input/webdoc/input.js +281 -312
  31. package/demos/mobile/app/label/base.vue +24 -0
  32. package/demos/mobile/app/label/bold.vue +23 -0
  33. package/demos/mobile/app/label/color.vue +34 -0
  34. package/demos/mobile/app/label/decimal.vue +28 -0
  35. package/demos/mobile/app/label/ellipsis.vue +31 -0
  36. package/demos/mobile/app/label/limit.vue +24 -0
  37. package/demos/mobile/app/label/position.vue +30 -0
  38. package/demos/mobile/app/label/required.vue +24 -0
  39. package/demos/mobile/app/label/size.vue +31 -0
  40. package/demos/mobile/app/label/type.vue +30 -0
  41. package/demos/mobile/app/label/webdoc/label.cn.md +11 -0
  42. package/demos/mobile/app/label/webdoc/label.en.md +11 -0
  43. package/demos/mobile/app/label/webdoc/label.js +247 -0
  44. package/demos/mobile/app/label/wholeline.vue +24 -0
  45. package/demos/mobile/app/mask/basic-usage.vue +38 -0
  46. package/demos/mobile/app/mask/click-no-hide.vue +32 -0
  47. package/demos/mobile/app/mask/slot-default.vue +37 -0
  48. package/demos/mobile/app/mask/webdoc/mask.cn.md +11 -0
  49. package/demos/mobile/app/mask/webdoc/mask.en.md +11 -0
  50. package/demos/mobile/app/mask/webdoc/mask.js +114 -0
  51. package/demos/mobile/app/mask/z-index.vue +30 -0
  52. package/demos/mobile/app/tag/basic-usage.vue +27 -0
  53. package/demos/mobile/app/tag/different-color.vue +30 -0
  54. package/demos/mobile/app/tag/max-width.vue +26 -0
  55. package/demos/mobile/app/tag/mini.vue +27 -0
  56. package/demos/mobile/app/tag/webdoc/tag.cn.md +7 -0
  57. package/demos/mobile/app/tag/webdoc/tag.en.md +7 -0
  58. package/demos/mobile/app/tag/webdoc/tag.js +96 -0
  59. package/demos/mobile/menus.js +5 -2
  60. package/demos/mobile-first/app/alert/webdoc/alert.js +77 -36
  61. package/demos/mobile-first/app/cascader-view/webdoc/cascader-view.js +249 -10
  62. package/demos/mobile-first/app/exception/webdoc/exception.js +94 -22
  63. package/demos/mobile-first/app/flowchart/webdoc/flowchart.js +24 -25
  64. package/demos/mobile-first/app/image/webdoc/image.js +126 -57
  65. package/demos/mobile-first/app/pull-refresh/webdoc/pull-refresh.js +223 -9
  66. package/demos/mobile-first/app/tooltip/webdoc/tooltip.js +47 -53
  67. package/demos/pc/app/action-menu/icon.spec.ts +38 -0
  68. package/demos/pc/app/action-menu/webdoc/action-menu.cn.md +1 -1
  69. package/demos/pc/app/action-menu/webdoc/action-menu.en.md +1 -1
  70. package/demos/pc/app/action-menu/webdoc/action-menu.js +16 -66
  71. package/demos/pc/app/alert/custom-close-composition-api.vue +2 -2
  72. package/demos/pc/app/alert/custom-close.vue +3 -4
  73. package/demos/pc/app/amount/webdoc/amount.js +1 -1
  74. package/demos/pc/app/anchor/basic-usage-composition-api.vue +11 -2
  75. package/demos/pc/app/anchor/basic-usage.vue +11 -2
  76. package/demos/pc/app/anchor/is-affix-composition-api.vue +8 -2
  77. package/demos/pc/app/anchor/is-affix.vue +8 -2
  78. package/demos/pc/app/anchor/webdoc/anchor.js +3 -3
  79. package/demos/pc/app/area/webdoc/area.js +1 -1
  80. package/demos/pc/app/bulletin-board/active-name.spec.ts +1 -2
  81. package/demos/pc/app/bulletin-board/base.spec.ts +2 -3
  82. package/demos/pc/app/bulletin-board/icon.spec.ts +1 -1
  83. package/demos/pc/app/bulletin-board/more-link.spec.ts +8 -2
  84. package/demos/pc/app/bulletin-board/route.spec.ts +3 -3
  85. package/demos/pc/app/bulletin-board/tab-title.spec.ts +1 -1
  86. package/demos/pc/app/bulletin-board/title.spec.ts +1 -1
  87. package/demos/pc/app/bulletin-board/url.spec.ts +3 -3
  88. package/demos/pc/app/bulletin-board/webdoc/bulletin-board.js +12 -11
  89. package/demos/pc/app/calendar/webdoc/calendar.js +1 -1
  90. package/demos/pc/app/calendar-view/webdoc/calendar-view.js +3 -2
  91. package/demos/pc/app/carousel/autoplay.spec.ts +1 -1
  92. package/demos/pc/app/carousel/basic-usage.spec.ts +12 -21
  93. package/demos/pc/app/carousel/card-mode.spec.ts +16 -37
  94. package/demos/pc/app/carousel/carousel-arrow-always.spec.ts +1 -1
  95. package/demos/pc/app/carousel/carousel-arrow-hover.spec.ts +1 -1
  96. package/demos/pc/app/carousel/carousel-arrow-never.spec.ts +1 -1
  97. package/demos/pc/app/carousel/carousel-events.spec.ts +5 -3
  98. package/demos/pc/app/carousel/close-loop.spec.ts +1 -1
  99. package/demos/pc/app/carousel/indicator-trigger.spec.ts +1 -1
  100. package/demos/pc/app/carousel/manual-play.spec.ts +1 -1
  101. package/demos/pc/app/carousel/play-interval.spec.ts +7 -11
  102. package/demos/pc/app/carousel/show-title.spec.ts +1 -1
  103. package/demos/pc/app/carousel/up-down-carousel.spec.ts +1 -1
  104. package/demos/pc/app/carousel/webdoc/carousel.js +1 -1
  105. package/demos/pc/app/cascader/webdoc/cascader.js +1 -1
  106. package/demos/pc/app/chart/webdoc/chart-attributes-demo.js +1 -1
  107. package/demos/pc/app/chart/webdoc/chart-autonavi-map.js +1 -1
  108. package/demos/pc/app/chart/webdoc/chart-baidu-map.js +1 -1
  109. package/demos/pc/app/chart/webdoc/chart-bar.js +1 -1
  110. package/demos/pc/app/chart/webdoc/chart-boxplot.js +1 -1
  111. package/demos/pc/app/chart/webdoc/chart-candle.js +1 -1
  112. package/demos/pc/app/chart/webdoc/chart-events.js +1 -1
  113. package/demos/pc/app/chart/webdoc/chart-funnel.js +1 -1
  114. package/demos/pc/app/chart/webdoc/chart-gauge.js +1 -1
  115. package/demos/pc/app/chart/webdoc/chart-graph.js +1 -1
  116. package/demos/pc/app/chart/webdoc/chart-heatmap.js +1 -1
  117. package/demos/pc/app/chart/webdoc/chart-histogram.js +1 -1
  118. package/demos/pc/app/chart/webdoc/chart-line.js +1 -1
  119. package/demos/pc/app/chart/webdoc/chart-liquidfill.js +1 -1
  120. package/demos/pc/app/chart/webdoc/chart-map.js +1 -1
  121. package/demos/pc/app/chart/webdoc/chart-pie.js +1 -1
  122. package/demos/pc/app/chart/webdoc/chart-question.js +1 -1
  123. package/demos/pc/app/chart/webdoc/chart-radar.js +1 -1
  124. package/demos/pc/app/chart/webdoc/chart-ring.js +1 -1
  125. package/demos/pc/app/chart/webdoc/chart-sankey.js +1 -1
  126. package/demos/pc/app/chart/webdoc/chart-scatter.js +1 -1
  127. package/demos/pc/app/chart/webdoc/chart-sunburst.js +1 -1
  128. package/demos/pc/app/chart/webdoc/chart-tree.js +1 -1
  129. package/demos/pc/app/chart/webdoc/chart-waterfall.js +1 -1
  130. package/demos/pc/app/chart/webdoc/chart-wordcloud.js +1 -1
  131. package/demos/pc/app/chart/webdoc/chart.js +1 -1
  132. package/demos/pc/app/color/webdoc/color.js +1 -1
  133. package/demos/pc/app/color-picker/alpha.spec.ts +14 -0
  134. package/demos/pc/app/color-picker/base.spec.ts +12 -0
  135. package/demos/pc/app/color-picker/default-visible.spec.ts +8 -0
  136. package/demos/pc/app/color-picker/dynamic-color-change.spec.ts +9 -0
  137. package/demos/pc/app/color-picker/event.spec.ts +10 -0
  138. package/demos/pc/app/color-picker/history.spec.ts +3 -3
  139. package/demos/pc/app/color-picker/predefine.spec.ts +2 -2
  140. package/demos/pc/app/color-picker/webdoc/color-picker.js +0 -10
  141. package/demos/pc/app/color-select-panel/alpha.spec.ts +9 -0
  142. package/demos/pc/app/color-select-panel/base.spec.ts +9 -0
  143. package/demos/pc/app/color-select-panel/event.spec.ts +12 -0
  144. package/demos/pc/app/color-select-panel/history.spec.ts +15 -0
  145. package/demos/pc/app/color-select-panel/predefine.spec.ts +25 -0
  146. package/demos/pc/app/color-select-panel/webdoc/color-select-panel.js +0 -10
  147. package/demos/pc/app/company/webdoc/company.js +1 -1
  148. package/demos/pc/app/config-provider/webdoc/config-provider.cn.md +2 -2
  149. package/demos/pc/app/config-provider/webdoc/config-provider.js +2 -9
  150. package/demos/pc/app/container/webdoc/container.js +1 -1
  151. package/demos/pc/app/count-api.js +34 -0
  152. package/demos/pc/app/country/webdoc/country.js +1 -1
  153. package/demos/pc/app/credit-card-form/webdoc/credit-card-form.js +1 -1
  154. package/demos/pc/app/crop/aspect-ratio-composition-api.vue +8 -0
  155. package/demos/pc/app/crop/aspect-ratio.spec.ts +14 -0
  156. package/demos/pc/app/crop/aspect-ratio.vue +9 -0
  157. package/demos/pc/app/crop/auto-crop-area.spec.ts +15 -0
  158. package/demos/pc/app/crop/basic-usage.spec.ts +14 -0
  159. package/demos/pc/app/crop/crop-meth.spec.ts +19 -0
  160. package/demos/pc/app/crop/drag-mode-composition-api.vue +1 -1
  161. package/demos/pc/app/crop/drag-mode.spec.ts +16 -0
  162. package/demos/pc/app/crop/drag-mode.vue +1 -1
  163. package/demos/pc/app/crop/event-about-crop-composition-api.vue +9 -0
  164. package/demos/pc/app/crop/event-about-crop.spec.ts +15 -0
  165. package/demos/pc/app/crop/event-about-crop.vue +8 -0
  166. package/demos/pc/app/crop/event-ready.spec.ts +14 -0
  167. package/demos/pc/app/crop/get-container-data.spec.ts +18 -0
  168. package/demos/pc/app/crop/get-crop-box-data.spec.ts +13 -0
  169. package/demos/pc/app/crop/get-cropped-canvas-composition-api.vue +7 -1
  170. package/demos/pc/app/crop/get-cropped-canvas.spec.ts +14 -0
  171. package/demos/pc/app/crop/get-cropped-canvas.vue +7 -1
  172. package/demos/pc/app/crop/get-data.spec.ts +17 -0
  173. package/demos/pc/app/crop/get-image-data-composition-api.vue +7 -0
  174. package/demos/pc/app/crop/get-image-data.spec.ts +14 -0
  175. package/demos/pc/app/crop/get-image-data.vue +7 -0
  176. package/demos/pc/app/crop/min-crop-box-width-height.spec.ts +11 -0
  177. package/demos/pc/app/crop/no-background.spec.ts +14 -0
  178. package/demos/pc/app/crop/no-guides.spec.ts +8 -0
  179. package/demos/pc/app/crop/no-modal.spec.ts +10 -0
  180. package/demos/pc/app/crop/replace-image.spec.ts +17 -0
  181. package/demos/pc/app/crop/view-mode-composition-api.vue +8 -2
  182. package/demos/pc/app/crop/view-mode.spec.ts +31 -0
  183. package/demos/pc/app/crop/view-mode.vue +10 -2
  184. package/demos/pc/app/crop/wheel-zoom-ratio.spec.ts +15 -0
  185. package/demos/pc/app/crop/zoom-on-wheel.spec.ts +10 -0
  186. package/demos/pc/app/currency/webdoc/currency.js +1 -1
  187. package/demos/pc/app/date-picker/webdoc/date-picker.js +85 -54
  188. package/demos/pc/app/dept/webdoc/dept.js +1 -1
  189. package/demos/pc/app/detail-page/basic-usage-composition-api.vue +1 -1
  190. package/demos/pc/app/detail-page/basic-usage.vue +1 -1
  191. package/demos/pc/app/detail-page/custom-show-text-composition-api.vue +11 -12
  192. package/demos/pc/app/detail-page/custom-show-text.spec.ts +5 -7
  193. package/demos/pc/app/detail-page/custom-show-text.vue +11 -12
  194. package/demos/pc/app/detail-page/webdoc/detail-page.js +46 -22
  195. package/demos/pc/app/dialog-box/basic-usage.spec.ts +11 -38
  196. package/demos/pc/app/dialog-box/center.spec.ts +4 -14
  197. package/demos/pc/app/dialog-box/close-on-click-modal.spec.ts +3 -7
  198. package/demos/pc/app/dialog-box/close-on-press-escape.spec.ts +2 -5
  199. package/demos/pc/app/dialog-box/custom-dialog-content.spec.ts +6 -8
  200. package/demos/pc/app/dialog-box/custom-dialog-footer.spec.ts +3 -14
  201. package/demos/pc/app/dialog-box/custom-dialog-title.spec.ts +3 -12
  202. package/demos/pc/app/dialog-box/destroy-on-close.spec.ts +9 -7
  203. package/demos/pc/app/dialog-box/dialog-top-height.spec.ts +6 -12
  204. package/demos/pc/app/dialog-box/dialog-width.spec.ts +5 -16
  205. package/demos/pc/app/dialog-box/draggable.spec.ts +4 -5
  206. package/demos/pc/app/dialog-box/form-in-dialog.spec.ts +5 -4
  207. package/demos/pc/app/dialog-box/lock-scroll.spec.ts +7 -10
  208. package/demos/pc/app/dialog-box/open-close-events.spec.ts +0 -1
  209. package/demos/pc/app/dialog-box/right-dialog-composition-api.vue +1 -1
  210. package/demos/pc/app/dialog-box/right-dialog.vue +1 -1
  211. package/demos/pc/app/dialog-select/{grid-multi-composition-api.vue → nest-grid-multi-composition-api.vue} +7 -4
  212. package/demos/pc/app/dialog-select/{grid-multi.vue → nest-grid-multi.vue} +4 -2
  213. package/demos/pc/app/dialog-select/{grid-radio-composition-api.vue → nest-grid-single-composition-api.vue} +6 -3
  214. package/demos/pc/app/dialog-select/{grid-radio.vue → nest-grid-single.vue} +4 -2
  215. package/demos/pc/app/dialog-select/{tree-multi-composition-api.vue → nest-tree-multi-composition-api.vue} +22 -9
  216. package/demos/pc/app/dialog-select/{tree-multi.vue → nest-tree-multi.vue} +19 -8
  217. package/demos/pc/app/dialog-select/{tree-radio-composition-api.vue → nest-tree-single-composition-api.vue} +19 -7
  218. package/demos/pc/app/dialog-select/{tree-radio.vue → nest-tree-single.vue} +18 -6
  219. package/demos/pc/app/dialog-select/webdoc/dialog-select.js +282 -183
  220. package/demos/pc/app/divider/basic-usage.spec.ts +7 -0
  221. package/demos/pc/app/divider/content-position.spec.ts +12 -0
  222. package/demos/pc/app/divider/custom-style.spec.ts +19 -0
  223. package/demos/pc/app/divider/direction.spec.ts +12 -0
  224. package/demos/pc/app/drawer/basic-usage.vue +7 -0
  225. package/demos/pc/app/drawer/webdoc/drawer.js +1 -1
  226. package/demos/pc/app/drop-roles/webdoc/drop-roles.js +1 -1
  227. package/demos/pc/app/drop-times/webdoc/drop-times.js +1 -1
  228. package/demos/pc/app/dropdown/hide-on-click-composition-api.vue +1 -1
  229. package/demos/pc/app/dropdown/hide-on-click.vue +1 -1
  230. package/demos/pc/app/dropdown/inherit-width-composition-api.vue +2 -2
  231. package/demos/pc/app/dropdown/inherit-width.spec.ts +43 -0
  232. package/demos/pc/app/dropdown/inherit-width.vue +2 -2
  233. package/demos/pc/app/dropdown/options.spec.ts +1 -1
  234. package/demos/pc/app/dropdown/show-icon.spec.ts +34 -0
  235. package/demos/pc/app/dropdown/slots-composition-api.vue +1 -1
  236. package/demos/pc/app/dropdown/tip.spec.ts +49 -0
  237. package/demos/pc/app/dropdown/trigger-composition-api.vue +10 -10
  238. package/demos/pc/app/dropdown/visible-arrow.spec.ts +21 -0
  239. package/demos/pc/app/dropdown/webdoc/dropdown.cn.md +1 -1
  240. package/demos/pc/app/dropdown/webdoc/dropdown.en.md +1 -1
  241. package/demos/pc/app/dropdown/webdoc/dropdown.js +53 -36
  242. package/demos/pc/app/espace/webdoc/espace.js +1 -1
  243. package/demos/pc/app/file-upload/drag-upload.spec.ts +1 -1
  244. package/demos/pc/app/file-upload/picture-card.spec.ts +2 -2
  245. package/demos/pc/app/filter-panel/basic-usage-composition-api.vue +13 -2
  246. package/demos/pc/app/filter-panel/basic-usage.spec.ts +15 -6
  247. package/demos/pc/app/filter-panel/basic-usage.vue +15 -4
  248. package/demos/pc/app/filter-panel/event.spec.ts +12 -2
  249. package/demos/pc/app/filter-panel/manual-hide.spec.ts +2 -2
  250. package/demos/pc/app/filter-panel/popper-class-composition-api.vue +1 -0
  251. package/demos/pc/app/filter-panel/popper-class.spec.ts +2 -2
  252. package/demos/pc/app/filter-panel/popper-class.vue +1 -0
  253. package/demos/pc/app/filter-panel/tip.spec.ts +2 -2
  254. package/demos/pc/app/filter-panel/webdoc/filter-panel.cn.md +1 -1
  255. package/demos/pc/app/filter-panel/webdoc/filter-panel.en.md +3 -3
  256. package/demos/pc/app/filter-panel/webdoc/filter-panel.js +50 -56
  257. package/demos/pc/app/floatbar/webdoc/floatbar.js +1 -1
  258. package/demos/pc/app/flowchart/webdoc/flowchart.js +1 -1
  259. package/demos/pc/app/font/webdoc/font.js +1 -1
  260. package/demos/pc/app/form/events-composition-api.vue +46 -0
  261. package/demos/pc/app/form/events.spec.ts +12 -0
  262. package/demos/pc/app/form/events.vue +52 -0
  263. package/demos/pc/app/form/form-validate-field-composition-api.vue +13 -14
  264. package/demos/pc/app/form/form-validate-field.spec.ts +9 -2
  265. package/demos/pc/app/form/form-validate-field.vue +9 -12
  266. package/demos/pc/app/form/form-validation-composition-api.vue +6 -1
  267. package/demos/pc/app/form/form-validation.vue +5 -1
  268. package/demos/pc/app/form/label-position-composition-api.vue +1 -1
  269. package/demos/pc/app/form/label-position.vue +1 -1
  270. package/demos/pc/app/form/webdoc/form.js +18 -8
  271. package/demos/pc/app/fullscreen/example-api.spec.ts +14 -29
  272. package/demos/pc/app/fullscreen/example-component.spec.ts +12 -29
  273. package/demos/pc/app/fullscreen/webdoc/fullscreen.js +4 -4
  274. package/demos/pc/app/grid/custom/column-width-composition-api.vue +1 -1
  275. package/demos/pc/app/grid/custom/column-width.vue +1 -1
  276. package/demos/pc/app/grid/custom/prsonalized-drag.vue +11 -1
  277. package/demos/pc/app/grid/custom-style/footer-style-composition-api.vue +19 -16
  278. package/demos/pc/app/grid/custom-style/footer-style.spec.js +1 -0
  279. package/demos/pc/app/grid/custom-style/footer-style.vue +18 -16
  280. package/demos/pc/app/grid/custom-style/header-style-composition-api.vue +18 -13
  281. package/demos/pc/app/grid/custom-style/header-style.spec.js +1 -0
  282. package/demos/pc/app/grid/custom-style/header-style.vue +18 -14
  283. package/demos/pc/app/grid/edit/trigger-mode-hm-editing-composition-api.vue +12 -4
  284. package/demos/pc/app/grid/edit/trigger-mode-hm-editing.spec.js +6 -1
  285. package/demos/pc/app/grid/edit/trigger-mode-hm-editing.vue +12 -4
  286. package/demos/pc/app/grid/highlight/highlight-hover-row-composition-api.vue +1 -1
  287. package/demos/pc/app/grid/highlight/highlight-hover-row.vue +1 -1
  288. package/demos/pc/app/grid/validation/before-submit-validation-composition-api.vue +17 -0
  289. package/demos/pc/app/grid/validation/before-submit-validation.vue +17 -0
  290. package/demos/pc/app/grid/webdoc/grid-align.js +1 -1
  291. package/demos/pc/app/grid/webdoc/grid-appearance-settings.js +1 -1
  292. package/demos/pc/app/grid/webdoc/grid-context-menu.js +1 -1
  293. package/demos/pc/app/grid/webdoc/grid-custom-style.js +3 -3
  294. package/demos/pc/app/grid/webdoc/grid-custom.js +2 -2
  295. package/demos/pc/app/grid/webdoc/grid-data-source.js +1 -1
  296. package/demos/pc/app/grid/webdoc/grid-drag.js +1 -1
  297. package/demos/pc/app/grid/webdoc/grid-dynamically-columns.js +1 -1
  298. package/demos/pc/app/grid/webdoc/grid-edit.js +1 -1
  299. package/demos/pc/app/grid/webdoc/grid-editor.js +1 -1
  300. package/demos/pc/app/grid/webdoc/grid-empty.js +1 -1
  301. package/demos/pc/app/grid/webdoc/grid-event.js +1 -1
  302. package/demos/pc/app/grid/webdoc/grid-expand.js +1 -1
  303. package/demos/pc/app/grid/webdoc/grid-faq.js +1 -1
  304. package/demos/pc/app/grid/webdoc/grid-filter.js +1 -1
  305. package/demos/pc/app/grid/webdoc/grid-fixed.js +1 -1
  306. package/demos/pc/app/grid/webdoc/grid-footer.js +1 -1
  307. package/demos/pc/app/grid/webdoc/grid-header.js +1 -1
  308. package/demos/pc/app/grid/webdoc/grid-highlight.js +1 -1
  309. package/demos/pc/app/grid/webdoc/grid-import-export.js +1 -1
  310. package/demos/pc/app/grid/webdoc/grid-large-data.js +3 -2
  311. package/demos/pc/app/grid/webdoc/grid-loading.js +1 -1
  312. package/demos/pc/app/grid/webdoc/grid-mouse-keyboard.js +1 -1
  313. package/demos/pc/app/grid/webdoc/grid-operation-column.js +1 -1
  314. package/demos/pc/app/grid/webdoc/grid-pager.js +1 -1
  315. package/demos/pc/app/grid/webdoc/grid-renderer.js +1 -1
  316. package/demos/pc/app/grid/webdoc/grid-row-grouping.js +1 -1
  317. package/demos/pc/app/grid/webdoc/grid-serial-column.js +1 -1
  318. package/demos/pc/app/grid/webdoc/grid-size.js +1 -1
  319. package/demos/pc/app/grid/webdoc/grid-slot.js +1 -1
  320. package/demos/pc/app/grid/webdoc/grid-sort.js +1 -1
  321. package/demos/pc/app/grid/webdoc/grid-span.js +1 -1
  322. package/demos/pc/app/grid/webdoc/grid-tip.js +1 -1
  323. package/demos/pc/app/grid/webdoc/grid-toolbar.js +1 -1
  324. package/demos/pc/app/grid/webdoc/grid-tree-table.js +1 -1
  325. package/demos/pc/app/grid/webdoc/grid-validation.js +1 -1
  326. package/demos/pc/app/grid/webdoc/grid.js +27 -37
  327. package/demos/pc/app/hrapprover/webdoc/hrapprover.js +1 -1
  328. package/demos/pc/app/image/webdoc/image.js +2 -2
  329. package/demos/pc/app/infinite-scroll/basic-usage.spec.ts +11 -0
  330. package/demos/pc/app/infinite-scroll/disabled.spec.ts +10 -0
  331. package/demos/pc/app/infinite-scroll/webdoc/infinite-scroll.cn.md +1 -1
  332. package/demos/pc/app/infinite-scroll/webdoc/infinite-scroll.js +18 -18
  333. package/demos/pc/app/layout/webdoc/layout.js +1 -1
  334. package/demos/pc/app/link/webdoc/link.js +1 -1
  335. package/demos/pc/app/link-menu/custom-foot.spec.ts +1 -1
  336. package/demos/pc/app/link-menu/custom-icon.spec.ts +2 -17
  337. package/demos/pc/app/link-menu/data-resource.spec.ts +9 -18
  338. package/demos/pc/app/link-menu/get-menu-data-sync.spec.ts +1 -1
  339. package/demos/pc/app/link-menu/menu-items.spec.ts +1 -1
  340. package/demos/pc/app/link-menu/webdoc/link-menu.js +8 -28
  341. package/demos/pc/app/loading/webdoc/loading.js +6 -9
  342. package/demos/pc/app/locales/webdoc/locales.js +1 -1
  343. package/demos/pc/app/logon-user/webdoc/logon-user.js +1 -1
  344. package/demos/pc/app/logout/webdoc/logout.js +1 -1
  345. package/demos/pc/app/modal/footer-btn-props-composition-api.vue +1 -1
  346. package/demos/pc/app/modal/min-height.spec.ts +2 -3
  347. package/demos/pc/app/modal/min-width.spec.ts +2 -2
  348. package/demos/pc/app/modal/resize.spec.ts +1 -1
  349. package/demos/pc/app/modal/webdoc/modal.js +3 -3
  350. package/demos/pc/app/numeric/about-step.spec.ts +2 -2
  351. package/demos/pc/app/numeric/allow-empty.spec.ts +5 -7
  352. package/demos/pc/app/numeric/basic-usage.spec.ts +2 -2
  353. package/demos/pc/app/numeric/blur-event.spec.ts +1 -1
  354. package/demos/pc/app/numeric/controls.spec.ts +5 -21
  355. package/demos/pc/app/numeric/dynamic-disabled.spec.ts +1 -1
  356. package/demos/pc/app/numeric/max-min.spec.ts +3 -3
  357. package/demos/pc/app/numeric/mouse-wheel.spec.ts +1 -1
  358. package/demos/pc/app/numeric/numeric-size.spec.ts +3 -3
  359. package/demos/pc/app/numeric/unit.spec.ts +3 -5
  360. package/demos/pc/app/pager/webdoc/pager.js +2 -2
  361. package/demos/pc/app/pop-upload/basic-usage-composition-api.vue +4 -1
  362. package/demos/pc/app/pop-upload/basic-usage.spec.ts +25 -14
  363. package/demos/pc/app/pop-upload/basic-usage.vue +5 -2
  364. package/demos/pc/app/pop-upload/before-upload.spec.ts +6 -4
  365. package/demos/pc/app/pop-upload/custom-request-headers-composition-api.vue +1 -1
  366. package/demos/pc/app/pop-upload/custom-request-headers.spec.ts +2 -2
  367. package/demos/pc/app/pop-upload/custom-request-headers.vue +1 -1
  368. package/demos/pc/app/pop-upload/file-limit-composition-api.vue +1 -1
  369. package/demos/pc/app/pop-upload/file-limit.spec.ts +9 -11
  370. package/demos/pc/app/pop-upload/file-limit.vue +1 -1
  371. package/demos/pc/app/pop-upload/file-type-composition-api.vue +6 -1
  372. package/demos/pc/app/pop-upload/file-type.spec.ts +6 -3
  373. package/demos/pc/app/pop-upload/file-type.vue +6 -1
  374. package/demos/pc/app/pop-upload/fill-button-text.spec.ts +16 -36
  375. package/demos/pc/app/pop-upload/http-request.spec.ts +3 -5
  376. package/demos/pc/app/pop-upload/prevent-delete-file.spec.ts +2 -2
  377. package/demos/pc/app/pop-upload/size.spec.ts +1 -1
  378. package/demos/pc/app/pop-upload/upload-events-composition-api.vue +39 -0
  379. package/demos/pc/app/pop-upload/upload-events.spec.ts +39 -0
  380. package/demos/pc/app/pop-upload/upload-events.vue +44 -0
  381. package/demos/pc/app/pop-upload/webdoc/pop-upload.cn.md +1 -1
  382. package/demos/pc/app/pop-upload/webdoc/pop-upload.en.md +3 -3
  383. package/demos/pc/app/pop-upload/webdoc/pop-upload.js +192 -153
  384. package/demos/pc/app/popover/basic-usage-composition-api.vue +1 -1
  385. package/demos/pc/app/popover/basic-usage.spec.js +4 -1
  386. package/demos/pc/app/popover/basic-usage.vue +1 -1
  387. package/demos/pc/app/popover/content.spec.js +7 -3
  388. package/demos/pc/app/popover/custom-popper.spec.js +25 -4
  389. package/demos/pc/app/popover/disabled-composition-api.vue +2 -1
  390. package/demos/pc/app/popover/events-composition-api.vue +2 -2
  391. package/demos/pc/app/popover/events.spec.js +4 -0
  392. package/demos/pc/app/popover/offset-composition-api.vue +6 -6
  393. package/demos/pc/app/popover/offset.spec.js +31 -3
  394. package/demos/pc/app/popover/offset.vue +6 -6
  395. package/demos/pc/app/popover/trigger.spec.js +3 -3
  396. package/demos/pc/app/popover/webdoc/popover.js +11 -3
  397. package/demos/pc/app/qr-code/basic-usage.spec.ts +9 -0
  398. package/demos/pc/app/qr-code/icon.spec.ts +11 -0
  399. package/demos/pc/app/qr-code/level.spec.ts +15 -0
  400. package/demos/pc/app/qr-code/style.spec.ts +9 -0
  401. package/demos/pc/app/qr-code/webdoc/qr-code.js +13 -11
  402. package/demos/pc/app/rich-text-editor/webdoc/rich-text-editor.js +1 -1
  403. package/demos/pc/app/roles/webdoc/roles.js +1 -1
  404. package/demos/pc/app/scroll-text/basic-usage-composition-api.vue +1 -1
  405. package/demos/pc/app/scroll-text/basic-usage.spec.ts +1 -1
  406. package/demos/pc/app/scroll-text/basic-usage.vue +1 -1
  407. package/demos/pc/app/scroll-text/custom-text-style-composition-api.vue +1 -1
  408. package/demos/pc/app/scroll-text/custom-text-style.vue +1 -1
  409. package/demos/pc/app/scroll-text/hover-stop-composition-api.vue +1 -1
  410. package/demos/pc/app/scroll-text/hover-stop.spec.ts +1 -1
  411. package/demos/pc/app/scroll-text/hover-stop.vue +1 -1
  412. package/demos/pc/app/scroll-text/scroll-direction-composition-api.vue +1 -1
  413. package/demos/pc/app/scroll-text/scroll-direction.spec.ts +4 -4
  414. package/demos/pc/app/scroll-text/scroll-direction.vue +1 -1
  415. package/demos/pc/app/scroll-text/scroll-time-composition-api.vue +1 -1
  416. package/demos/pc/app/scroll-text/scroll-time.spec.ts +1 -1
  417. package/demos/pc/app/scroll-text/scroll-time.vue +1 -1
  418. package/demos/pc/app/scroll-text/slots-composition-api.vue +1 -1
  419. package/demos/pc/app/scroll-text/slots.vue +1 -1
  420. package/demos/pc/app/scroll-text/webdoc/scroll-text.js +27 -33
  421. package/demos/pc/app/select/clear-no-match-value-composition-api.vue +6 -2
  422. package/demos/pc/app/select/clear-no-match-value.spec.ts +22 -0
  423. package/demos/pc/app/select/clear-no-match-value.vue +6 -2
  424. package/demos/pc/app/select/copy-multi-composition-api.vue +3 -3
  425. package/demos/pc/app/select/copy-multi.spec.ts +3 -1
  426. package/demos/pc/app/select/copy-single-composition-api.vue +3 -3
  427. package/demos/pc/app/select/copy-single.spec.ts +16 -17
  428. package/demos/pc/app/select/copy-single.vue +1 -1
  429. package/demos/pc/app/select/events-composition-api.vue +1 -1
  430. package/demos/pc/app/select/filter-method-composition-api.vue +9 -2
  431. package/demos/pc/app/select/filter-method.spec.ts +3 -3
  432. package/demos/pc/app/select/is-drop-inherit-width.spec.ts +3 -4
  433. package/demos/pc/app/select/manual-focus-blur-composition-api.vue +1 -1
  434. package/demos/pc/app/select/manual-focus-blur.spec.ts +5 -4
  435. package/demos/pc/app/select/nest-grid-composition-api.vue +3 -3
  436. package/demos/pc/app/select/nest-tree-composition-api.vue +32 -2
  437. package/demos/pc/app/select/optimization.spec.ts +7 -8
  438. package/demos/pc/app/select/tag-type.spec.ts +12 -0
  439. package/demos/pc/app/select/webdoc/select.cn.md +1 -1
  440. package/demos/pc/app/select/webdoc/select.en.md +1 -1
  441. package/demos/pc/app/select/webdoc/select.js +19 -19
  442. package/demos/pc/app/slide-bar/basic-usage.spec.ts +3 -3
  443. package/demos/pc/app/slide-bar/custom-content.spec.ts +1 -2
  444. package/demos/pc/app/slide-bar/custom-tag.spec.ts +1 -2
  445. package/demos/pc/app/slide-bar/slide-bar-events.spec.ts +1 -2
  446. package/demos/pc/app/slide-bar/wheel-blocks.spec.ts +7 -8
  447. package/demos/pc/app/split/webdoc/split.js +1 -1
  448. package/demos/pc/app/steps/size.spec.ts +2 -1
  449. package/demos/pc/app/steps/slot-item.spec.ts +8 -2
  450. package/demos/pc/app/steps/slot-item.vue +4 -4
  451. package/demos/pc/app/steps/text-position.spec.ts +2 -1
  452. package/demos/pc/app/tabs/basic-usage-composition-api.vue +1 -1
  453. package/demos/pc/app/tabs/basic-usage.spec.ts +6 -0
  454. package/demos/pc/app/tabs/basic-usage.vue +1 -1
  455. package/demos/pc/app/tabs/tabs-events-close-composition-api.vue +9 -2
  456. package/demos/pc/app/tabs/tabs-events-close.vue +9 -2
  457. package/demos/pc/app/tabs/webdoc/tabs.js +79 -4
  458. package/demos/pc/app/text-popup/basic-usage.spec.ts +1 -1
  459. package/demos/pc/app/text-popup/clear-value.spec.ts +1 -1
  460. package/demos/pc/app/text-popup/placeholder.spec.ts +1 -1
  461. package/demos/pc/app/text-popup/readonly.spec.ts +1 -1
  462. package/demos/pc/app/text-popup/separtor.spec.ts +1 -1
  463. package/demos/pc/app/text-popup/value.spec.ts +1 -1
  464. package/demos/pc/app/text-popup/webdoc/text-popup.js +11 -11
  465. package/demos/pc/app/text-popup/width.spec.ts +1 -1
  466. package/demos/pc/app/time-line/basic-usage.spec.ts +1 -1
  467. package/demos/pc/app/time-line/custom-field.spec.ts +3 -3
  468. package/demos/pc/app/time-line/custom-horizontal-timeline.spec.ts +3 -3
  469. package/demos/pc/app/time-line/custom-vertical-timeline.spec.ts +6 -6
  470. package/demos/pc/app/time-line/set-node-width.spec.ts +6 -8
  471. package/demos/pc/app/time-line/set-start-value.spec.ts +4 -4
  472. package/demos/pc/app/time-line/shape.spec.ts +3 -3
  473. package/demos/pc/app/time-line/status.spec.ts +1 -1
  474. package/demos/pc/app/time-line/timeline-item.spec.ts +1 -1
  475. package/demos/pc/app/time-line/vertical-timeline.spec.ts +9 -5
  476. package/demos/pc/app/time-line/webdoc/time-line.js +2 -2
  477. package/demos/pc/app/time-picker/basic-usage.spec.ts +12 -33
  478. package/demos/pc/app/time-picker/clearable.spec.ts +23 -8
  479. package/demos/pc/app/time-picker/default-value.spec.ts +24 -9
  480. package/demos/pc/app/time-picker/disabled.spec.ts +10 -4
  481. package/demos/pc/app/time-picker/editable.spec.ts +3 -4
  482. package/demos/pc/app/time-picker/event-composition-api.vue +1 -1
  483. package/demos/pc/app/time-picker/event.spec.ts +6 -6
  484. package/demos/pc/app/time-picker/event.vue +1 -1
  485. package/demos/pc/app/time-picker/format.spec.ts +32 -16
  486. package/demos/pc/app/time-picker/is-range.spec.ts +8 -32
  487. package/demos/pc/app/time-picker/name.spec.ts +1 -3
  488. package/demos/pc/app/time-picker/placeholder.spec.ts +4 -0
  489. package/demos/pc/app/time-picker/popper-class.spec.ts +4 -4
  490. package/demos/pc/app/time-picker/size.spec.ts +22 -3
  491. package/demos/pc/app/time-picker/step.spec.ts +5 -0
  492. package/demos/pc/app/time-picker/suffix-icon.spec.ts +2 -8
  493. package/demos/pc/app/time-picker/webdoc/time-picker.js +52 -31
  494. package/demos/pc/app/time-select/webdoc/time-select.js +1 -1
  495. package/demos/pc/app/toggle-menu/automatic-filtering.spec.ts +4 -13
  496. package/demos/pc/app/toggle-menu/basic-usage.spec.ts +9 -40
  497. package/demos/pc/app/toggle-menu/custom-icon.spec.ts +2 -3
  498. package/demos/pc/app/toggle-menu/default-expand-all.spec.ts +5 -7
  499. package/demos/pc/app/toggle-menu/drag-events.spec.ts +9 -21
  500. package/demos/pc/app/toggle-menu/draggable.spec.ts +17 -13
  501. package/demos/pc/app/toggle-menu/node-click.spec.ts +2 -3
  502. package/demos/pc/app/toggle-menu/node-collapse.spec.ts +2 -3
  503. package/demos/pc/app/toggle-menu/node-drop.spec.ts +3 -4
  504. package/demos/pc/app/toggle-menu/node-expand.spec.ts +2 -3
  505. package/demos/pc/app/toggle-menu/show-filter.spec.ts +1 -2
  506. package/demos/pc/app/toggle-menu/slot-node.spec.ts +2 -3
  507. package/demos/pc/app/toggle-menu/toggle-props.spec.ts +2 -9
  508. package/demos/pc/app/tooltip/basic-usage.spec.js +6 -4
  509. package/demos/pc/app/tooltip/content.spec.js +16 -2
  510. package/demos/pc/app/tooltip/control.spec.js +19 -1
  511. package/demos/pc/app/tooltip/custom-popper.spec.js +30 -1
  512. package/demos/pc/app/tooltip/delay.spec.js +23 -1
  513. package/demos/pc/app/tooltip/offset.spec.js +23 -0
  514. package/demos/pc/app/tooltip/popper-options.spec.js +4 -1
  515. package/demos/pc/app/tooltip/theme.spec.js +1 -2
  516. package/demos/pc/app/tooltip/transition.spec.js +1 -0
  517. package/demos/pc/app/transfer/basic-usage.spec.ts +43 -48
  518. package/demos/pc/app/transfer/before-transfer.spec.ts +28 -0
  519. package/demos/pc/app/transfer/custom-btns.spec.ts +1 -1
  520. package/demos/pc/app/transfer/custom-filter-composition-api.vue +17 -8
  521. package/demos/pc/app/transfer/custom-filter.vue +18 -9
  522. package/demos/pc/app/transfer/custom-render-composition-api.vue +1 -1
  523. package/demos/pc/app/transfer/custom-render.spec.ts +2 -1
  524. package/demos/pc/app/transfer/custom-render.vue +1 -1
  525. package/demos/pc/app/transfer/custom-titles.spec.ts +7 -0
  526. package/demos/pc/app/transfer/drop-config.spec.ts +1 -1
  527. package/demos/pc/app/transfer/nested-table.spec.ts +1 -1
  528. package/demos/pc/app/transfer/webdoc/transfer.js +8 -15
  529. package/demos/pc/app/tree/filter-view-composition-api.vue +4 -2
  530. package/demos/pc/app/tree/filter-view.vue +2 -1
  531. package/demos/pc/app/tree/icons-composition-api.vue +4 -4
  532. package/demos/pc/app/tree/icons.vue +4 -4
  533. package/demos/pc/app/tree/lazy-composition-api.vue +5 -3
  534. package/demos/pc/app/tree/lazy.vue +5 -2
  535. package/demos/pc/app/tree/radio-composition-api.vue +7 -5
  536. package/demos/pc/app/tree/radio.vue +3 -3
  537. package/demos/pc/app/tree/webdoc/tree.js +13 -13
  538. package/demos/pc/app/user/webdoc/user.js +1 -1
  539. package/demos/pc/app/user-account/webdoc/user-account.js +1 -1
  540. package/demos/pc/app/user-contact/data-source.spec.ts +2 -5
  541. package/demos/pc/app/user-link/webdoc/user-link.js +1 -1
  542. package/demos/pc/app/watermark/basic-usage.spec.ts +9 -0
  543. package/demos/pc/app/watermark/image.spec.ts +9 -0
  544. package/demos/pc/app/watermark/webdoc/watermark.js +11 -11
  545. package/demos/pc/menus.js +9 -1
  546. package/demos/pc/webdoc/installation-en.md +6 -1
  547. package/demos/pc/webdoc/installation.md +4 -0
  548. package/package.json +6 -6
  549. package/playground.html +1 -1
  550. package/src/views/components/components.vue +2 -2
  551. package/demos/mobile/app/input/autofocus.vue +0 -37
  552. package/demos/mobile/app/input/autosize.vue +0 -41
  553. package/demos/mobile/app/input/blur-focus.vue +0 -40
  554. package/demos/mobile/app/input/cols-rows.vue +0 -28
  555. package/demos/mobile/app/input/form.vue +0 -45
  556. package/demos/mobile/app/input/input-event.vue +0 -39
  557. package/demos/mobile/app/input/method-select.vue +0 -36
  558. package/demos/mobile/app/input/prefix-suffix.vue +0 -39
  559. package/demos/mobile/app/input/props-step.vue +0 -28
  560. package/demos/mobile/app/input/props.vue +0 -28
  561. package/demos/mobile/app/input/slot-content.vue +0 -30
  562. package/demos/mobile/app/input/slots-append-prepend.vue +0 -34
  563. package/demos/mobile/app/input/suffix-icon.vue +0 -30
  564. package/demos/mobile/app/input/type-be-form-tips.vue +0 -55
  565. package/demos/mobile/app/input/type-be-form.vue +0 -47
  566. package/demos/pc/app/file-upload/accept-file-composition-api.vue +0 -14
  567. package/demos/pc/app/file-upload/accept-file.vue +0 -23
  568. package/demos/pc/app/file-upload/dynamic-disable-composition-api.vue +0 -20
  569. package/demos/pc/app/file-upload/dynamic-disable.vue +0 -29
  570. package/demos/pc/app/file-upload/jalor-request-composition-api.vue +0 -21
  571. package/demos/pc/app/file-upload/jalor-request.vue +0 -31
  572. package/demos/pc/app/file-upload/upload-file-filters-composition-api.vue +0 -34
  573. package/demos/pc/app/file-upload/upload-file-filters.vue +0 -43
  574. package/demos/pc/app/filter-panel/clearable-composition-api.vue +0 -33
  575. package/demos/pc/app/filter-panel/clearable.spec.ts +0 -18
  576. package/demos/pc/app/filter-panel/clearable.vue +0 -42
  577. package/demos/pc/app/filter-panel/disabled-composition-api.vue +0 -28
  578. package/demos/pc/app/filter-panel/disabled.spec.ts +0 -12
  579. package/demos/pc/app/filter-panel/disabled.vue +0 -37
  580. package/demos/pc/app/grid/validation/valid-config-composition-api.vue +0 -141
  581. package/demos/pc/app/grid/validation/valid-config.vue +0 -150
  582. package/demos/pc/app/pop-upload/data-composition-api.vue +0 -13
  583. package/demos/pc/app/pop-upload/data.spec.ts +0 -24
  584. package/demos/pc/app/pop-upload/data.vue +0 -21
  585. package/demos/pc/app/pop-upload/max-upload-file-size-composition-api.vue +0 -10
  586. package/demos/pc/app/pop-upload/max-upload-file-size.spec.ts +0 -24
  587. package/demos/pc/app/pop-upload/max-upload-file-size.vue +0 -18
  588. package/demos/pc/app/pop-upload/upload-name-composition-api.vue +0 -10
  589. package/demos/pc/app/pop-upload/upload-name.spec.ts +0 -46
  590. package/demos/pc/app/pop-upload/upload-name.vue +0 -18
  591. package/demos/pc/app/popover/dynamic-reference-composition-api.vue +0 -36
  592. package/demos/pc/app/popover/dynamic-reference.spec.js +0 -16
  593. package/demos/pc/app/popover/dynamic-reference.vue +0 -45
  594. package/demos/pc/app/scroll-text/custom-scroll-text-composition-api.vue +0 -7
  595. package/demos/pc/app/scroll-text/custom-scroll-text.spec.ts +0 -7
  596. package/demos/pc/app/scroll-text/custom-scroll-text.vue +0 -13
  597. package/demos/pc/app/tabs/custom-tab-content-composition-api.vue +0 -17
  598. package/demos/pc/app/tabs/custom-tab-content.vue +0 -26
  599. package/demos/pc/app/tabs/prevent-tab-switching-composition-api.vue +0 -25
  600. package/demos/pc/app/tabs/prevent-tab-switching.vue +0 -33
  601. package/demos/pc/app/tabs/show-echarts-composition-api.vue +0 -46
  602. package/demos/pc/app/tabs/show-echarts.vue +0 -52
  603. package/demos/pc/app/tabs/tabs-size-composition-api.vue +0 -17
  604. package/demos/pc/app/tabs/tabs-size.vue +0 -26
  605. package/demos/pc/app/transfer/manual-clear-query-composition-api.vue +0 -34
  606. package/demos/pc/app/transfer/manual-clear-query.spec.ts +0 -12
  607. package/demos/pc/app/transfer/manual-clear-query.vue +0 -43
  608. package/demos/pc/app/wizard/status-icon-composition-api.vue +0 -33
  609. package/demos/pc/app/wizard/status-icon.vue +0 -41
  610. /package/demos/pc/app/pager/{page-append-to-body-composition-api.vue → popper-append-to-body-composition-api.vue} +0 -0
  611. /package/demos/pc/app/pager/{page-append-to-body.spec.ts → popper-append-to-body.spec.ts} +0 -0
  612. /package/demos/pc/app/pager/{page-append-to-body.vue → popper-append-to-body.vue} +0 -0
@@ -3,265 +3,207 @@ export default {
3
3
  owner: '',
4
4
  demos: [
5
5
  {
6
- demoId: 'autofocus',
6
+ demoId: 'basic-usage',
7
7
  name: {
8
- 'zh-CN': '自动获取焦点',
9
- 'en-US': 'button type'
8
+ 'zh-CN': '基本用法',
9
+ 'en-US': 'basic usage'
10
10
  },
11
11
  desc: {
12
- 'zh-CN': '<p>自动获取焦点</p>',
13
- 'en-US': '<p>button type</p>'
12
+ 'zh-CN':
13
+ '<p>通过 <code>v-model/modelValue</code> 属性绑定输入值,<code>placeholder</code> 属性显示提示文本;使用原生属性 <code>type</code> 指定输入框类型,如取值为 <code>textarea</code> 时用作文本框。</p>',
14
+ 'en-US':
15
+ '<p>Bind the input value through the <code>v-model/modelValue</code> property, and use <code>placeholder</code> to bind placeholder.Specify the input box type with the native <code>type</code> attribute. When the value is set to <code>textarea</code>, it is used as a textarea.</p>'
14
16
  },
15
- codeFiles: ['autofocus.vue']
17
+ codeFiles: ['basic-usage.vue']
16
18
  },
17
19
  {
18
- demoId: 'autosize',
19
- name: {
20
- 'zh-CN': '自适应内容高度',
21
- 'en-US': 'button round'
22
- },
23
- desc: {
24
- 'zh-CN': '<p>自适应内容高度</p>',
25
- 'en-US': '<p>button round</p>'
26
- },
27
- codeFiles: ['autosize.vue']
20
+ 'demoId': 'clearable',
21
+ 'name': { 'zh-CN': '一键清空', 'en-US': 'Clearable' },
22
+ 'desc': {
23
+ 'zh-CN': '<p>可通过 <code>clearable</code> 属性设置输入框显示清空图标按钮。</p>',
24
+ 'en-US':
25
+ '<p>You can set the <code>clearable</code> attribute to display the clear icon button in the input.</p>'
26
+ },
27
+ 'codeFiles': ['clearable.vue']
28
28
  },
29
29
  {
30
- demoId: 'blur-focus',
30
+ demoId: 'type',
31
31
  name: {
32
- 'zh-CN': '获取/失去焦点',
33
- 'en-US': 'events'
32
+ 'zh-CN': '类型',
33
+ 'en-US': 'type'
34
34
  },
35
35
  desc: {
36
- 'zh-CN': '<p>获取/失去焦点</p>',
37
- 'en-US': '<p>bbutton click</p>'
36
+ 'zh-CN':
37
+ '<p>通过对应的 <code>type</code> 属性,可以设置为对应的类型。默认为 text,可选值为 text,textarea 和其他 原生 input 的 type 值</p>',
38
+ 'en-US':
39
+ '<p>You can set the corresponding type through the corresponding <code>type</code> attribute. The default value is text. The options are text, textarea, and other type values of the native input</p>'
38
40
  },
39
- codeFiles: ['blur-focus.vue']
41
+ codeFiles: ['type.vue']
40
42
  },
41
43
  {
42
- demoId: 'clearable',
44
+ demoId: 'textarea-rows-cols',
43
45
  name: {
44
- 'zh-CN': '可清空',
45
- 'en-US': 'events'
46
+ 'zh-CN': '文本框行数与列数',
47
+ 'en-US': 'Rows and Columns of Textarea'
46
48
  },
47
49
  desc: {
48
- 'zh-CN': '<p>可清空</p>'
50
+ 'zh-CN': '<p>通过原生属性 <code>rows</code> 与 <code>cols</code> 分别指定文本框的行数与列字符数。</p>',
51
+ 'en-US':
52
+ '<p>Specify the number of rows and columns of a text box using the native attributes <code>rows</code> and <code>cols</code> respectively.</p>'
49
53
  },
50
- codeFiles: ['clearable.vue']
54
+ codeFiles: ['textarea-rows-cols.vue']
51
55
  },
52
56
  {
53
- demoId: 'cols-rows',
57
+ demoId: 'textarea-scalable',
54
58
  name: {
55
- 'zh-CN': '原生属性',
56
- 'en-US': 'events'
57
- },
58
- desc: {
59
- 'zh-CN': '<p>宽度和高度</p>',
60
- 'en-US': '<p>bbutton click</p>'
61
- },
62
- codeFiles: ['cols-rows.vue']
63
- },
64
- {
65
- demoId: 'counter',
66
- name: {
67
- 'zh-CN': '计数与输入统计',
68
- 'en-US': 'events'
69
- },
70
- desc: {
71
- 'zh-CN': '<p>计数与输入统计</p>',
72
- 'en-US': '<p>bbutton click</p>'
73
- },
74
- codeFiles: ['counter.vue']
75
- },
76
- {
77
- demoId: 'events',
78
- name: {
79
- 'zh-CN': '事件',
80
- 'en-US': 'events'
81
- },
82
- desc: {
83
- 'zh-CN': '<p>事件</p>',
84
- 'en-US': '<p>bbutton click</p>'
85
- },
86
- codeFiles: ['events.vue']
87
- },
88
- {
89
- demoId: 'form',
90
- name: {
91
- 'zh-CN': 'form',
92
- 'en-US': 'events'
93
- },
94
- desc: {
95
- 'zh-CN': '<p>form</p>',
96
- 'en-US': '<p>bbutton click</p>'
97
- },
98
- codeFiles: ['form.vue']
99
- },
100
- {
101
- demoId: 'input-event',
102
- name: {
103
- 'zh-CN': '事件',
104
- 'en-US': 'events'
59
+ 'zh-CN': '文本框可缩放',
60
+ 'en-US': 'Scalable Textarea'
105
61
  },
106
62
  desc: {
107
- 'zh-CN': '<p>blur / focus / input 事件</p>',
108
- 'en-US': '<p>bbutton click</p>'
63
+ 'zh-CN': `<p>可通过 <code>resize</code> 属性设置文本框的缩放。可选值:<code>none | both | horizontal | vertical</code>。</p><p>可通过 <code>autosize</code> 属性设置文本框自适应内容高度。可传入对象,如 <code>{ minRows: 2, maxRows: 6 }</code>。`,
64
+ 'en-US': `<p>You can use the <code>resize</code> property to set the zoom of the text field. The value can be <code>none | both | horizontal | vertical</code> . Note: This parameter is valid only when <code>type="textarea"</code> is used. </p>
65
+ <p>You can use the <code>autosize</code> attribute to set the text field to adapt to the content height. You can transfer an object, for example, <code>{minRows: 2, maxRows: 6}</code> . Note: This parameter is valid only for <code>type="textarea"</code> . </p>`
109
66
  },
110
- codeFiles: ['input-event.vue']
67
+ codeFiles: ['textarea-scalable.vue']
111
68
  },
112
69
  {
113
- demoId: 'max-min-length',
70
+ demoId: 'show-password',
114
71
  name: {
115
- 'zh-CN': '输入长度限制',
116
- 'en-US': 'events'
72
+ 'zh-CN': '密码框',
73
+ 'en-US': 'Password Input'
117
74
  },
118
75
  desc: {
119
- 'zh-CN': '<p>输入长度限制</p>',
120
- 'en-US': '<p>bbutton click</p>'
76
+ 'zh-CN':
77
+ '<p>当 <code>type</code> 为 <code>password</code> 时,可通过 <code>show-password</code> 属性设置输入框显示密码显示/隐藏切换图标按钮。</p>',
78
+ 'en-US':
79
+ '<p>When <code>type</code> is set to <code>password</code>, you can set the <code>show-password</code> attribute to display or hide the password switch button in the text box.</p>'
121
80
  },
122
- codeFiles: ['max-min-length.vue']
81
+ codeFiles: ['show-password.vue']
123
82
  },
124
83
  {
125
- demoId: 'method-select',
84
+ demoId: 'disabled',
126
85
  name: {
127
- 'zh-CN': '选中输入框文本',
128
- 'en-US': 'events'
86
+ 'zh-CN': '禁用',
87
+ 'en-US': 'disabled'
129
88
  },
130
89
  desc: {
131
- 'zh-CN': '<p>选中输入框文本</p>',
132
- 'en-US': '<p>bbutton click</p>'
90
+ 'zh-CN': '<p>通过 <code>code</code> 属性禁用输入框。</p>',
91
+ 'en-US': '<p>To disabled input through <code>code</code> props.</p>'
133
92
  },
134
- codeFiles: ['method-select.vue']
93
+ codeFiles: ['disabled.vue']
135
94
  },
136
95
  {
137
- demoId: 'prefix-suffix',
96
+ demoId: 'counter',
138
97
  name: {
139
- 'zh-CN': '复合型输入框',
140
- 'en-US': 'events'
98
+ 'zh-CN': '输入长度限制与计数',
99
+ 'en-US': 'Input Limitation and Counting'
141
100
  },
142
101
  desc: {
143
- 'zh-CN': '<p>复合型输入框</p>',
144
- 'en-US': '<p>bbutton click</p>'
102
+ 'zh-CN':
103
+ '<p>通过 <code>maxlength</code> 属性限制输入字符数; <code>counter</code> 属性显示当前输入字符数;<code>show-word-limit</code> 显示当前字符数与输入限制长度(仅限文本框)</p>',
104
+ 'en-US':
105
+ '<p>Limit input character count with the <code>maxlength</code> attribute; display current input character count with the <code>counter</code> attribute; show current character count and input limit length with the <code>show-word-limit</code> attribute(for text boxes only)."</p>'
145
106
  },
146
- codeFiles: ['prefix-suffix.vue']
107
+ codeFiles: ['counter.vue']
147
108
  },
148
109
  {
149
- demoId: 'props-step',
150
- name: {
151
- 'zh-CN': '步长',
152
- 'en-US': 'events'
153
- },
110
+ demoId: 'prefix-suffix-icon',
111
+ name: { 'zh-CN': '图标', 'en-US': 'Icon' },
154
112
  desc: {
155
- 'zh-CN': '<p>通过<code>step</code>设置步长,需要结合 type="number" 一起使用</p>',
156
- 'en-US': '<p>bbutton click</p>'
113
+ 'zh-CN': '<p>可通过 <code>prefix-icon, suffix-icon</code> 属性设置输入框头部、尾部图标</p>',
114
+ 'en-US':
115
+ '<p>You can set the header icon or the end icon of the text box through the <code>prefix-icon, suffix-icon</code> attribute </p>'
157
116
  },
158
- codeFiles: ['props-step.vue']
117
+ codeFiles: ['prefix-suffix-icon.vue']
159
118
  },
160
119
  {
161
- demoId: 'props',
120
+ demoId: 'native-attributes',
162
121
  name: {
163
122
  'zh-CN': '原生属性',
164
- 'en-US': 'events'
123
+ 'en-US': 'Native Attributes'
165
124
  },
166
125
  desc: {
167
- 'zh-CN': '<p>是否只读</p>',
168
- 'en-US': '<p>bbutton click</p>'
126
+ 'zh-CN': '<p>可设置 <code>autofocus</code>、<code>readonly</code>、<code>name</code> 等原生属性。</p>',
127
+ 'en-US': '<p>Set native attributes such as autofocus, readonly, name, etc.</p>'
169
128
  },
170
- codeFiles: ['props.vue']
129
+ codeFiles: ['native-attributes.vue']
171
130
  },
172
131
  {
173
- demoId: 'show-password',
132
+ demoId: 'methods',
174
133
  name: {
175
- 'zh-CN': '密码框',
176
- 'en-US': 'events'
134
+ 'zh-CN': '实例方法',
135
+ 'en-US': 'Methods'
177
136
  },
178
137
  desc: {
179
- 'zh-CN': '<p>密码框</p>',
180
- 'en-US': '<p>bbutton click</p>'
138
+ 'zh-CN': '<p>可使用组件的实例方法:<code>focus | blur | select</code></p>',
139
+ 'en-US': '<p>Those instance methods available: <code>focus | blur | select</code></p>'
181
140
  },
182
- codeFiles: ['show-password.vue']
141
+ codeFiles: ['methods.vue']
183
142
  },
184
143
  {
185
- demoId: 'slot-content',
186
- name: {
187
- 'zh-CN': '插槽',
188
- 'en-US': 'events'
189
- },
190
- desc: {
191
- 'zh-CN': '<p>通过<code>content</code>自定义头部内容,只对 type="textarea" 有效</p>',
192
- 'en-US': '<p>bbutton click</p>'
193
- },
194
- codeFiles: ['slot-content.vue']
195
- },
196
- {
197
- demoId: 'slots-append-prepend',
198
- name: {
199
- 'zh-CN': '复合型输入框',
200
- 'en-US': 'events'
201
- },
202
- desc: {
203
- 'zh-CN': '<p>通过<code>append</code>自定义头部内容,通过 <code>prepend</code>自定义尾部内容,</p>',
204
- 'en-US': '<p>bbutton click</p>'
205
- },
206
- codeFiles: ['slots-append-prepend.vue']
207
- },
208
- {
209
- demoId: 'suffix-icon',
210
- name: {
211
- 'zh-CN': '自定义后置图标',
212
- 'en-US': 'events'
213
- },
214
- desc: {
215
- 'zh-CN': '<p>自定义后置图标</p>',
216
- 'en-US': '<p>bbutton click</p>'
217
- },
218
- codeFiles: ['suffix-icon.vue']
219
- },
220
- {
221
- demoId: 'type-be-form-select',
144
+ demoId: 'events',
222
145
  name: {
223
- 'zh-CN': '类型<code>type</code>为 form 时的下拉用法',
224
- 'en-US': 'events'
146
+ 'zh-CN': '事件',
147
+ 'en-US': 'Events'
225
148
  },
226
149
  desc: {
227
- 'zh-CN': '<p><code>is-select</code>与<code>select-menu</code>搭配让<code>type</code>为form的输入框变为下拉</p>',
228
- 'en-US': '<p>bbutton click</p>'
150
+ 'zh-CN': `
151
+ <p>输入框的事件,包括
152
+ <code>input</code>(输入值时触发),
153
+ <code>blur</code>(失去焦点时触发),
154
+ <code>focus</code>(获取焦点时触发),
155
+ <code>change</code>(值改变时触发),
156
+ <code>clear</code>(清除按钮时触发)
157
+ </p>
158
+ `,
159
+ 'en-US': `
160
+ <p>Event of the text box, including:
161
+ <code>input</code> (triggered when a value is entered)
162
+ <code>blur</code> (triggered when the focus is lost)
163
+ <code>focus</code> (triggered when the focus is obtained)
164
+ <code>change</code> (triggered when the value changes)
165
+ <code>clear</code> (triggered when the button is cleared)
166
+ </p>
167
+ `
229
168
  },
230
- codeFiles: ['type-be-form-select.vue']
169
+ codeFiles: ['events.vue']
231
170
  },
232
171
  {
233
- demoId: 'type-be-form-tips',
172
+ demoId: 'slots',
234
173
  name: {
235
- 'zh-CN': 'form类型的文字提示',
174
+ 'zh-CN': '插槽',
236
175
  'en-US': 'events'
237
176
  },
238
177
  desc: {
239
- 'zh-CN': '<p>类型<code>type<code>为 form 时的输入框下的提示</p>',
240
- 'en-US': '<p>bbutton click</p>'
178
+ 'zh-CN': '<p>Input 组件提供了丰富的插槽。</p>',
179
+ 'en-US': '<p>Input component provides a rich set of slots.</p>'
241
180
  },
242
- codeFiles: ['type-be-form-tips.vue']
181
+ codeFiles: ['slots.vue']
243
182
  },
244
183
  {
245
- demoId: 'type-be-form',
184
+ demoId: 'type-select',
246
185
  name: {
247
- 'zh-CN': 'type为form类型',
186
+ 'zh-CN': '下拉列表',
248
187
  'en-US': 'events'
249
188
  },
250
189
  desc: {
251
- 'zh-CN': '<p>类型<code>type</code>为 form 时的基本用法</p>',
252
- 'en-US': '<p>bbutton click</p>'
190
+ 'zh-CN': '<p>通过使用 <code>is-select</code> <code>select-menu</code> 搭配让输入框变为下拉列表。</p>',
191
+ 'en-US':
192
+ '<p>By using <code>is-select</code> with <code>select-menu</code>, the input field can be turned into a dropdown list.</p>'
253
193
  },
254
- codeFiles: ['type-be-form.vue']
194
+ codeFiles: ['type-select.vue']
255
195
  },
256
196
  {
257
197
  demoId: 'validate-event',
258
198
  name: {
259
- 'zh-CN': '表单校正',
260
- 'en-US': 'events'
199
+ 'zh-CN': '表单校验',
200
+ 'en-US': 'form validation'
261
201
  },
262
202
  desc: {
263
- 'zh-CN': '<p>通过<code>validate-event</code>属性设置输入时是否触发表单的校验,该属性默认为 true。</p>',
264
- 'en-US': '<p>bbutton click</p>'
203
+ 'zh-CN':
204
+ '<p>可通过 <code>validate-event</code> 属性设置输入时触发表单校验。通过 <code>trigger</code> 配置触发校验规则的方式,为 <code>change</code> 时,当输入框值改变即触发校验,为 <code>blur</code> 时则失焦后触发校验</p>',
205
+ 'en-US':
206
+ '<p>You can set the <code>validate-event</code> attribute to trigger form validation upon input. Use <code>trigger</code> to configure the mode of triggering the validation rule. If <code>change</code> is used, the validation is triggered when the value in the text box changes. If <code>blur</code> is used, the validation is triggered after the focus is lost</p>'
265
207
  },
266
208
  codeFiles: ['validate-event.vue']
267
209
  }
@@ -276,39 +218,40 @@ export default {
276
218
  type: 'String',
277
219
  defaultValue: 'off',
278
220
  desc: {
279
- 'zh-CN': '<p>原生属性,自动补全,该属性默认为off</p>',
280
- 'en-US': 'display different button'
221
+ 'zh-CN': '原生属性,自动补全',
222
+ 'en-US': 'Native autocomplete attribute'
281
223
  },
282
- demoId: ''
224
+ demoId: 'native-attributes'
283
225
  },
284
226
  {
285
227
  name: 'autofocus',
286
228
  type: 'Boolean',
287
229
  defaultValue: 'false',
288
230
  desc: {
289
- 'zh-CN': '<p>原生属性,自动获取焦点,该属性默认为false</p>',
290
- 'en-US': 'display different button'
231
+ 'zh-CN': '原生属性,自动获取焦点',
232
+ 'en-US': 'Native attribute. The focus is automatically obtained during page loading.'
291
233
  },
292
- demoId: 'autofocus'
234
+ demoId: 'native-attributes'
293
235
  },
294
236
  {
295
237
  name: 'autosize',
296
238
  type: 'Boolean | Object',
297
239
  defaultValue: 'false',
298
240
  desc: {
299
- 'zh-CN':
300
- '<p>自适应内容高度,只对 type="textarea"有效,可传入对象,如,{ minRows: 2, maxRows: 6 },该属性默认为false</p>',
301
- 'en-US': 'display different button'
241
+ 'zh-CN': '自适应内容高度,只对 type="textarea"有效。可传入对象,如,{ minRows: 2, maxRows: 6 }',
242
+ 'en-US':
243
+ 'Adaptive content height. This parameter is valid only for <code>type="textarea"</code>. Objects can be transferred, for example, { minRows: 2, maxRows: 6 }'
302
244
  },
303
- demoId: 'autosize'
245
+ demoId: 'textarea-scalable'
304
246
  },
305
247
  {
306
248
  name: 'clearable',
307
249
  type: 'Boolean',
308
250
  defaultValue: 'false',
309
251
  desc: {
310
- 'zh-CN': '<p>选中时的值</p>',
311
- 'en-US': 'display different button'
252
+ 'zh-CN': '是否显示清除按钮,该属性不适用于 <code>type="textarea"</code>',
253
+ 'en-US':
254
+ 'Whether to display the clear button. This attribute is not applicable to <code>type="textarea"</code>'
312
255
  },
313
256
  demoId: 'clearable'
314
257
  },
@@ -317,18 +260,20 @@ export default {
317
260
  type: 'Number',
318
261
  defaultValue: '',
319
262
  desc: {
320
- 'zh-CN': '<p>原生属性,设置宽度,在 type ="textarea"时有效</p>',
321
- 'en-US': 'display different button'
263
+ 'zh-CN': '原生属性,设置宽度,在 type ="textarea"时有效',
264
+ 'en-US':
265
+ 'Native attribute, which is used to set the width. This parameter is valid only when type is "textarea"'
322
266
  },
323
- demoId: 'cols-rows'
267
+ demoId: 'textarea-rows-cols'
324
268
  },
325
269
  {
326
270
  name: 'counter',
327
271
  type: 'Boolean',
328
272
  defaultValue: 'false',
329
273
  desc: {
330
- 'zh-CN': '<p>是否显示字数统计,只在 type = "text" 或 type = "textarea" 时有效</p>',
331
- 'en-US': 'display different button'
274
+ 'zh-CN': '是否显示字数统计,只在 type = "text" 或 type = "textarea" 时有效',
275
+ 'en-US':
276
+ 'Whether to display the word count statistics. This parameter is valid only when type is "text" or type is "textarea"'
332
277
  },
333
278
  demoId: 'counter'
334
279
  },
@@ -337,128 +282,148 @@ export default {
337
282
  type: 'Boolean',
338
283
  defaultValue: 'false',
339
284
  desc: {
340
- 'zh-CN': '<p>禁用,该属性默认为false性</p>',
341
- 'en-US': 'display different button'
342
- },
343
- demoId: 'autosize'
344
- },
345
- {
346
- name: 'form',
347
- type: 'String',
348
- defaultValue: '',
349
- desc: {
350
- 'zh-CN': '<p>原生属性</p>',
351
- 'en-US': 'display different button'
285
+ 'zh-CN': '是否禁用',
286
+ 'en-US': 'Disabled'
352
287
  },
353
- demoId: ''
288
+ demoId: 'disabled'
354
289
  },
355
290
  {
356
291
  name: 'is-select',
357
292
  type: 'Boolean',
358
293
  defaultValue: 'false',
359
294
  desc: {
360
- 'zh-CN': '<p>type为form时,设置输入框可下拉选择</p>',
295
+ 'zh-CN': '是否可下拉选择',
361
296
  'en-US': 'display different button'
362
297
  },
363
- demoId: 'type-be-form-select'
298
+ demoId: 'type-select'
364
299
  },
365
300
  {
366
301
  name: 'label',
367
302
  type: 'String',
368
303
  defaultValue: '',
369
304
  desc: {
370
- 'zh-CN': '<p>输入框关联的label文字</p>',
371
- 'en-US': 'display different button'
305
+ 'zh-CN': '等价于原生 aria-label 属性',
306
+ 'en-US': 'equal to aria-label attribute'
372
307
  },
373
- demoId: 'props'
308
+ demoId: ''
309
+ },
310
+ {
311
+ name: 'max',
312
+ type: 'number',
313
+ defaultValue: '',
314
+ desc: {
315
+ 'zh-CN': '原生属性,设置最大值',
316
+ 'en-US': 'Native attribute, set the maximum value'
317
+ },
318
+ demoId: 'native-attributes'
374
319
  },
375
320
  {
376
321
  name: 'maxlength',
377
322
  type: 'Number',
378
323
  defaultValue: '',
379
324
  desc: {
380
- 'zh-CN': '<p>原生属性,最大输入长度</p>',
381
- 'en-US': 'display different button'
325
+ 'zh-CN': '原生属性,最大输入长度',
326
+ 'en-US': 'Native attribute, maximum input length'
327
+ },
328
+ demoId: 'counter'
329
+ },
330
+ {
331
+ name: 'min',
332
+ type: 'number',
333
+ defaultValue: '',
334
+ desc: {
335
+ 'zh-CN': '原生属性,设置最小值',
336
+ 'en-US': 'Native attribute, which sets the minimum value'
382
337
  },
383
- demoId: 'max-min-length'
338
+ demoId: 'native-attributes'
384
339
  },
385
340
  {
386
341
  name: 'minlength',
387
342
  type: 'Number',
388
343
  defaultValue: '',
389
344
  desc: {
390
- 'zh-CN': '<p>原生属性,最小输入长度</p>',
391
- 'en-US': 'display different button'
345
+ 'zh-CN': '原生属性,最小输入长度',
346
+ 'en-US': 'Native attribute, minimum input length'
392
347
  },
393
- demoId: 'max-min-length'
348
+ demoId: 'counter'
394
349
  },
395
350
  {
396
- name: 'mobile-tips',
397
- type: 'String',
351
+ name: 'tips',
352
+ type: 'String | Slot',
398
353
  defaultValue: '',
399
354
  desc: {
400
- 'zh-CN': '<p>原生属性,设置最小值</p>',
401
- 'en-US': 'display different button'
355
+ 'zh-CN': '提示信息',
356
+ 'en-US': 'tips under input'
402
357
  },
403
- demoId: 'type-be-form-tips'
358
+ demoId: 'slots'
404
359
  },
405
360
  {
406
361
  name: 'name',
407
362
  type: 'String',
408
363
  defaultValue: '',
409
364
  desc: {
410
- 'zh-CN': '<p>原生属性</p>',
411
- 'en-US': 'display different button'
365
+ 'zh-CN': '原生 name 属性',
366
+ 'en-US': 'native name attribute'
412
367
  },
413
- demoId: 'props'
368
+ demoId: 'native-attributes'
414
369
  },
415
370
  {
416
- name: 'placeholde',
371
+ name: 'placeholder',
417
372
  type: 'String',
418
373
  defaultValue: '',
419
374
  desc: {
420
- 'zh-CN': '<p>输入框占位文本</p>',
421
- 'en-US': 'display different button'
375
+ 'zh-CN': '输入框占位文本',
376
+ 'en-US': 'placeholder text'
422
377
  },
423
- demoId: 'prefix-suffix'
378
+ demoId: 'basic-usage'
379
+ },
380
+ {
381
+ name: 'prefix-icon',
382
+ type: 'Component',
383
+ defaultValue: '',
384
+ desc: {
385
+ 'zh-CN': '输入框头部图标',
386
+ 'en-US': 'Icon at the head'
387
+ },
388
+ demoId: 'prefix-suffix-icon'
424
389
  },
425
390
  {
426
391
  name: 'readonly',
427
392
  type: 'Boolean',
428
393
  defaultValue: 'false',
429
394
  desc: {
430
- 'zh-CN': '<p>原生属性,是否只读,该属性默认为false</p>',
431
- 'en-US': 'display different button'
395
+ 'zh-CN': '原生属性,是否只读',
396
+ 'en-US': 'Native attribute, read-only'
432
397
  },
433
- demoId: 'props'
398
+ demoId: 'native-attributes'
434
399
  },
435
400
  {
436
401
  name: 'rows',
437
402
  type: 'Number',
438
403
  defaultValue: '2',
439
404
  desc: {
440
- 'zh-CN': '<p>输入框行数,只对 type="textarea"有效,该属性默认为2</p>',
441
- 'en-US': 'display different button'
405
+ 'zh-CN': '输入框行数,只对 type="textarea"有效',
406
+ 'en-US': 'Number of lines in the input box. This parameter is valid only for type="textarea"'
442
407
  },
443
- demoId: 'cols-rows'
408
+ demoId: 'textarea-rows-cols'
444
409
  },
445
410
  {
446
411
  name: 'select-menu',
447
412
  type: 'Array',
448
413
  defaultValue: '',
449
414
  desc: {
450
- 'zh-CN': '<p>type为form时,设置输入框可下拉选择,设置选择项</p>',
451
- 'en-US': 'display different button'
415
+ 'zh-CN': '下拉选择的选项',
416
+ 'en-US': 'options of select'
452
417
  },
453
- demoId: 'type-be-form-select'
418
+ demoId: 'type-select'
454
419
  },
455
420
  {
456
421
  name: 'show-password',
457
422
  type: 'Boolean',
458
423
  defaultValue: 'false',
459
424
  desc: {
460
- 'zh-CN': '<p>是否显示切换密码图标,该属性默认为false</p>',
461
- 'en-US': 'display different button'
425
+ 'zh-CN': '是否显示切换密码图标',
426
+ 'en-US': 'Whether to display the switchover password icon'
462
427
  },
463
428
  demoId: 'show-password'
464
429
  },
@@ -467,8 +432,9 @@ export default {
467
432
  type: 'Boolean',
468
433
  defaultValue: 'false',
469
434
  desc: {
470
- 'zh-CN': '<p>是否显示输入字数统计,只在 type = ‘text’ 或 type = ‘textarea’ 时有效,该属性默认为false</p>',
471
- 'en-US': 'display different button'
435
+ 'zh-CN': '是否显示输入字数统计,只在 type = ‘text’ 或 type = ‘textarea’ 时有效,该属性默认为false',
436
+ 'en-US':
437
+ 'Whether to display the number of input words. This parameter is valid only when type is "text" or type is "textarea"'
472
438
  },
473
439
  demoId: 'counter'
474
440
  },
@@ -477,70 +443,71 @@ export default {
477
443
  type: 'Number',
478
444
  defaultValue: '',
479
445
  desc: {
480
- 'zh-CN': '<p>原生属性,设置输入字段的合法数字间隔</p>',
481
- 'en-US': 'display different button'
446
+ 'zh-CN': '原生属性,设置输入字段的合法数字间隔',
447
+ 'en-US': 'Native attribute, which is used to set the valid digit interval of the input field'
482
448
  },
483
- demoId: 'props-step'
449
+ demoId: 'native-attributes'
484
450
  },
485
451
  {
486
452
  name: 'suffix-icon',
487
453
  type: 'String',
488
454
  defaultValue: '',
489
455
  desc: {
490
- 'zh-CN': '<p>输入框尾部图标</p>',
491
- 'en-US': 'display different button'
456
+ 'zh-CN': '输入框尾部图标',
457
+ 'en-US': 'Icon at the right'
492
458
  },
493
- demoId: 'suffix-icon'
459
+ demoId: 'prefix-suffix-icon'
494
460
  },
495
461
  {
496
- name: 'textarea-title',
497
- type: 'String',
498
- defaultValue: '标题',
462
+ name: 'title',
463
+ type: 'String | Slot',
464
+ defaultValue: '',
499
465
  desc: {
500
- 'zh-CN': '<p>textarea类型自定义标题,该属性默认为‘标题’</p>',
501
- 'en-US': 'display different button'
466
+ 'zh-CN': '自定义标题',
467
+ 'en-US': 'custom title'
502
468
  },
503
- demoId: 'autosize'
469
+ demoId: ''
504
470
  },
505
471
  {
506
- name: ' type',
472
+ name: 'type',
507
473
  type: 'String',
508
474
  defaultValue: 'text',
509
475
  desc: {
510
- 'zh-CN': '<p>input 元素的类型,该属性默认为"text"</p>',
511
- 'en-US': 'display different button'
476
+ 'zh-CN': '类型,同原生 input 标签的 type 属性',
477
+ 'en-US': 'the type of input'
512
478
  },
513
- demoId: 'autofocus'
479
+ demoId: 'type'
514
480
  },
515
481
  {
516
482
  name: 'validate-event',
517
483
  type: 'Boolean',
518
484
  defaultValue: 'true',
519
485
  desc: {
520
- 'zh-CN': '<p>输入时是否触发表单的校验,该属性默认为true</p>',
521
- 'en-US': 'display different button'
486
+ 'zh-CN': '输入时是否触发表单的校验',
487
+ 'en-US': ' Whether form validation is triggered when entering data'
522
488
  },
523
489
  demoId: 'validate-event'
524
490
  },
525
491
  {
526
- name: 'value / v-model',
492
+ name: 'v-model / modelValue',
527
493
  type: 'String',
528
494
  defaultValue: '',
529
495
  desc: {
530
- 'zh-CN': '<p>绑定值</p>',
531
- 'en-US': 'display different button'
496
+ 'zh-CN': '绑定值',
497
+ 'en-US': 'input value'
532
498
  },
533
- demoId: 'autofocus'
499
+ demoId: 'basic-usage'
534
500
  },
535
501
  {
536
- name: 'vertical',
537
- type: 'Number',
502
+ name: 'width',
503
+ type: 'Number | String',
538
504
  defaultValue: '',
539
505
  desc: {
540
- 'zh-CN': '<p>原生属性,设置最小值</p>',
541
- 'en-US': 'display different button'
506
+ 'zh-CN': '宽度,取值为数字或元素 width 属性有效值,如果是数字则以 px 为单位',
507
+ 'en-US':
508
+ 'width, accepts a numerical value or a valid value for the width property, and if it is a number, it is measured in pixels.'
542
509
  },
543
- demoId: 'autofocus'
510
+ demoId: ''
544
511
  }
545
512
  ],
546
513
  methods: [
@@ -549,30 +516,30 @@ export default {
549
516
  type: '',
550
517
  defaultValue: '',
551
518
  desc: {
552
- 'zh-CN': '<p>使 input 失去焦点</p>',
553
- 'en-US': 'display different button'
519
+ 'zh-CN': '使 input 失去焦点',
520
+ 'en-US': 'Make the input lose focus.'
554
521
  },
555
- demoId: 'blur-focus'
522
+ demoId: 'methods'
556
523
  },
557
524
  {
558
525
  name: 'focus',
559
526
  type: '',
560
527
  defaultValue: '',
561
528
  desc: {
562
- 'zh-CN': '<p>使 input 获取焦点</p>',
563
- 'en-US': 'display different button'
529
+ 'zh-CN': '使 input 获取焦点',
530
+ 'en-US': 'Focus the input'
564
531
  },
565
- demoId: 'blur-focus'
532
+ demoId: 'methods'
566
533
  },
567
534
  {
568
535
  name: 'select',
569
536
  type: '',
570
537
  defaultValue: '',
571
538
  desc: {
572
- 'zh-CN': '<p>选中 input 中的文字</p>',
573
- 'en-US': 'display different button'
539
+ 'zh-CN': '选中 input 中的文字',
540
+ 'en-US': 'Select the text in the input'
574
541
  },
575
- demoId: 'method-select'
542
+ demoId: 'methods'
576
543
  }
577
544
  ],
578
545
  events: [
@@ -581,8 +548,8 @@ export default {
581
548
  type: '',
582
549
  defaultValue: '',
583
550
  desc: {
584
- 'zh-CN': '<p>在 Input 值改变时触发</p>',
585
- 'en-US': 'Click'
551
+ 'zh-CN': ' Input 值改变时触发',
552
+ 'en-US': 'callback when value has changed'
586
553
  },
587
554
  demoId: 'events'
588
555
  },
@@ -591,40 +558,40 @@ export default {
591
558
  type: '',
592
559
  defaultValue: '',
593
560
  desc: {
594
- 'zh-CN': '<p>在 在 Input 失去焦点时触发</p>',
595
- 'en-US': 'Click'
561
+ 'zh-CN': '在 Input 失去焦点时触发',
562
+ 'en-US': 'callback when input lost focus'
596
563
  },
597
- demoId: 'blur-focus'
564
+ demoId: 'events'
598
565
  },
599
566
  {
600
567
  name: 'focus',
601
568
  type: '',
602
569
  defaultValue: '',
603
570
  desc: {
604
- 'zh-CN': '<p>在 Input 获得焦点时触发</p>',
605
- 'en-US': 'Click'
571
+ 'zh-CN': ' Input 获得焦点时触发',
572
+ 'en-US': 'callback when input gains focus'
606
573
  },
607
- demoId: 'blur-focus'
574
+ demoId: 'events'
608
575
  },
609
576
  {
610
577
  name: 'clear',
611
578
  type: '',
612
579
  defaultValue: '',
613
580
  desc: {
614
- 'zh-CN': '<p>在点击由 clearable 属性生成的清空按钮时触发</p>',
615
- 'en-US': 'Click'
581
+ 'zh-CN': '在点击由 clearable 属性生成的清空按钮时触发',
582
+ 'en-US': 'callback when click clear icon'
616
583
  },
617
- demoId: 'blur-focus'
584
+ demoId: 'events'
618
585
  },
619
586
  {
620
587
  name: 'input',
621
588
  type: '',
622
589
  defaultValue: '',
623
590
  desc: {
624
- 'zh-CN': '<p>输入值时触发事件</p>',
625
- 'en-US': 'Click'
591
+ 'zh-CN': '输入值时触发事件',
592
+ 'en-US': 'callback when user input'
626
593
  },
627
- demoId: 'input-event'
594
+ demoId: 'events'
628
595
  }
629
596
  ],
630
597
  slots: [
@@ -633,50 +600,52 @@ export default {
633
600
  type: '',
634
601
  defaultValue: '',
635
602
  desc: {
636
- 'zh-CN': '<p>输入框后置内容,只对 type="text"有效</p>',
637
- 'en-US': 'slots-append-prepend'
603
+ 'zh-CN': '输入框后置内容,只对 type="text"有效',
604
+ 'en-US': 'append content for input fields only works with type="text"'
638
605
  },
639
- demoId: ''
606
+ demoId: 'slots'
640
607
  },
641
608
  {
642
609
  name: 'prepend',
643
610
  type: '',
644
611
  defaultValue: '',
645
612
  desc: {
646
- 'zh-CN': '<p>输入框前置内容,只对 type="text"有效</p>',
647
- 'en-US': 'slots-append-prepend'
613
+ 'zh-CN': '输入框前置内容,只对 type="text"有效',
614
+ 'en-US': 'prepend content for input fields only works with type="text"'
648
615
  },
649
- demoId: ''
616
+ demoId: 'slots'
650
617
  },
651
618
  {
652
619
  name: 'prefix',
653
- type: '',
654
- defaultValue: '',
655
620
  desc: {
656
- 'zh-CN': '<p>输入框头部内容,只对 type="text"有效</p>',
657
- 'en-US': 'Click'
621
+ 'zh-CN': '输入框头部内容,只对 type="text"有效',
622
+ 'en-US': 'prefix content for input fields only works with type="text"'
658
623
  },
659
- demoId: 'prefix-suffix'
624
+ demoId: 'slots'
660
625
  },
661
626
  {
662
627
  name: 'suffix',
663
- type: '',
664
- defaultValue: '',
665
628
  desc: {
666
- 'zh-CN': '<p>输入框尾部内容,只对 type="text"有效</p>',
667
- 'en-US': 'Click'
629
+ 'zh-CN': '输入框尾部内容,只对 type="text"有效',
630
+ 'en-US': 'suffix content for input fields only works with type="text"'
668
631
  },
669
- demoId: 'prefix-suffix'
632
+ demoId: 'slots'
670
633
  },
671
634
  {
672
- name: 'content',
673
- type: '',
674
- defaultValue: '',
635
+ name: 'title',
636
+ desc: {
637
+ 'zh-CN': '标题插槽',
638
+ 'en-US': 'title slot'
639
+ },
640
+ demoId: 'slots'
641
+ },
642
+ {
643
+ name: 'tips',
675
644
  desc: {
676
- 'zh-CN': '<p>输入框头部内容插槽,只对 type="textarea"有效</p>',
677
- 'en-US': 'Click'
645
+ 'zh-CN': '提示信息插槽',
646
+ 'en-US': 'tips slot'
678
647
  },
679
- demoId: 'slot-content'
648
+ demoId: 'slots'
680
649
  }
681
650
  ]
682
651
  }