@nutui/nutui 4.0.0-beta.1 → 4.0.0-beta.10

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 (367) hide show
  1. package/README.md +1 -1
  2. package/dist/nutui.es.js +227 -103
  3. package/dist/nutui.umd.cjs +7 -20061
  4. package/dist/packages/_es/ActionSheet.js +3 -8
  5. package/dist/packages/_es/Address.js +4 -9
  6. package/dist/packages/_es/AddressList.js +6 -8
  7. package/dist/packages/_es/Animate.js +2 -7
  8. package/dist/packages/_es/Audio.js +4 -9
  9. package/dist/packages/_es/AudioOperate.js +2 -7
  10. package/dist/packages/_es/Avatar.js +2 -7
  11. package/dist/packages/_es/AvatarGroup.js +2 -7
  12. package/dist/packages/_es/Backtop.js +3 -8
  13. package/dist/packages/_es/Badge.js +2 -7
  14. package/dist/packages/_es/Barrage.js +17 -34
  15. package/dist/packages/_es/Button.js +2 -7
  16. package/dist/packages/_es/Calendar.js +6 -11
  17. package/dist/packages/_es/CalendarItem.js +5 -10
  18. package/dist/packages/_es/Card.js +2 -7
  19. package/dist/packages/_es/Cascader.js +14 -9
  20. package/dist/packages/_es/Category.js +2 -7
  21. package/dist/packages/_es/CategoryPane.js +2 -7
  22. package/dist/packages/_es/Cell.js +4 -9
  23. package/dist/packages/_es/CellGroup.js +2 -7
  24. package/dist/packages/_es/Checkbox.js +2 -7
  25. package/dist/packages/_es/CheckboxGroup.js +2 -7
  26. package/dist/packages/_es/CircleProgress.js +2 -7
  27. package/dist/packages/_es/Col.js +2 -7
  28. package/dist/packages/_es/Collapse.js +9 -14
  29. package/dist/packages/_es/CollapseItem.js +5 -10
  30. package/dist/packages/_es/Comment.js +5 -10
  31. package/dist/packages/_es/ConfigProvider.js +38 -11
  32. package/dist/packages/_es/Countdown.js +2 -7
  33. package/dist/packages/_es/Countup.js +2 -7
  34. package/dist/packages/_es/DatePicker.js +4 -9
  35. package/dist/packages/_es/Dialog.js +16 -28
  36. package/dist/packages/_es/Divider.js +2 -7
  37. package/dist/packages/_es/Drag.js +3 -8
  38. package/dist/packages/_es/Ecard.js +3 -8
  39. package/dist/packages/_es/Elevator.js +3 -8
  40. package/dist/packages/_es/Ellipsis.js +2 -7
  41. package/dist/packages/_es/Empty.js +2 -7
  42. package/dist/packages/_es/FixedNav.js +2 -7
  43. package/dist/packages/_es/Form.js +2 -7
  44. package/dist/packages/_es/FormItem.js +4 -9
  45. package/dist/packages/_es/Grid.js +3 -8
  46. package/dist/packages/_es/GridItem.js +5 -10
  47. package/dist/packages/_es/Image.js +3 -8
  48. package/dist/packages/_es/ImagePreview.js +22 -32
  49. package/dist/packages/_es/Indicator.js +2 -7
  50. package/dist/packages/_es/InfiniteLoading.js +4 -9
  51. package/dist/packages/_es/Input.js +2 -7
  52. package/dist/packages/_es/InputNumber.js +3 -8
  53. package/dist/packages/_es/Invoice.js +6 -11
  54. package/dist/packages/_es/Layout.js +1 -6
  55. package/dist/packages/_es/List.js +2 -7
  56. package/dist/packages/_es/Menu.js +3 -8
  57. package/dist/packages/_es/MenuItem.js +3 -8
  58. package/dist/packages/_es/Navbar.js +2 -7
  59. package/dist/packages/_es/Noticebar.js +12 -16
  60. package/dist/packages/_es/Notify.js +8 -13
  61. package/dist/packages/_es/NumberKeyboard.js +3 -8
  62. package/dist/packages/_es/Overlay.js +2 -7
  63. package/dist/packages/_es/Pagination.js +2 -7
  64. package/dist/packages/_es/Picker.js +4 -9
  65. package/dist/packages/_es/Popover.js +5 -10
  66. package/dist/packages/_es/Popup.js +3 -8
  67. package/dist/packages/_es/Price.js +3 -8
  68. package/dist/packages/_es/Progress.js +2 -7
  69. package/dist/packages/_es/PullRefresh.js +5 -10
  70. package/dist/packages/_es/Radio.js +3 -8
  71. package/dist/packages/_es/RadioGroup.js +2 -7
  72. package/dist/packages/_es/Range.js +4 -9
  73. package/dist/packages/_es/Rate.js +5 -10
  74. package/dist/packages/_es/Row.js +2 -7
  75. package/dist/packages/_es/Searchbar.js +3 -8
  76. package/dist/packages/_es/ShortPassword.js +3 -8
  77. package/dist/packages/_es/SideNavbar.js +2 -7
  78. package/dist/packages/_es/SideNavbarItem.js +2 -7
  79. package/dist/packages/_es/Signature.js +2 -7
  80. package/dist/packages/_es/Skeleton.js +2 -7
  81. package/dist/packages/_es/Sku.js +10 -9
  82. package/dist/packages/_es/Step.js +2 -7
  83. package/dist/packages/_es/Steps.js +1 -6
  84. package/dist/packages/_es/Sticky.js +3 -8
  85. package/dist/packages/_es/SubSideNavbar.js +7 -10
  86. package/dist/packages/_es/Swipe.js +5 -10
  87. package/dist/packages/_es/Swiper.js +58 -121
  88. package/dist/packages/_es/SwiperItem.js +3 -8
  89. package/dist/packages/_es/Switch.js +3 -8
  90. package/dist/packages/_es/TabPane.js +4 -9
  91. package/dist/packages/_es/Tabbar.js +2 -7
  92. package/dist/packages/_es/TabbarItem.js +12 -32
  93. package/dist/packages/_es/Table.js +2 -7
  94. package/dist/packages/_es/Tabs.js +18 -23
  95. package/dist/packages/_es/Tag.js +2 -7
  96. package/dist/packages/_es/Textarea.js +2 -7
  97. package/dist/packages/_es/TimeDetail.js +2 -7
  98. package/dist/packages/_es/TimePannel.js +2 -7
  99. package/dist/packages/_es/TimeSelect.js +3 -8
  100. package/dist/packages/_es/Toast.js +9 -16
  101. package/dist/packages/_es/Tour.js +5 -10
  102. package/dist/packages/_es/TrendArrow.js +2 -7
  103. package/dist/packages/_es/Uploader.js +3 -8
  104. package/dist/packages/_es/Video.js +2 -7
  105. package/dist/packages/_es/Watermark.js +2 -7
  106. package/dist/packages/_es/{_plugin-vue_export-helper-73a3d722.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -5
  107. package/dist/packages/_es/{common-d5c1f4b1.js → common-ceb98554.js} +2 -7
  108. package/dist/packages/_es/{component-48526d37.js → component-81a4c1d0.js} +0 -5
  109. package/dist/packages/_es/{index-b05fa625.js → index-1006915b.js} +13 -8
  110. package/dist/packages/_es/{index-281c4c2c.js → index-1bf0d8ef.js} +5 -10
  111. package/dist/packages/_es/{index-c70386a5.js → index-29892cda.js} +0 -5
  112. package/dist/packages/_es/{index-95a5249b.js → index-43c34ac6.js} +0 -5
  113. package/dist/packages/_es/{index-fe4c328e.js → index-54d03fc1.js} +0 -5
  114. package/dist/packages/_es/{index-efc0d9e4.js → index-79c5dc33.js} +0 -5
  115. package/dist/packages/_es/{index-c3e2c58b.js → index-7a7385e4.js} +0 -5
  116. package/dist/packages/_es/{index.vue_vue_type_script_lang-959515e8.js → index.vue_vue_type_script_lang-1291fceb.js} +1 -6
  117. package/dist/packages/_es/{index.vue_vue_type_script_lang-5d693346.js → index.vue_vue_type_script_lang-cc5c4086.js} +2 -7
  118. package/dist/packages/_es/{index.vue_vue_type_script_lang-84b793e8.js → index.vue_vue_type_script_lang-d4c88f85.js} +2 -7
  119. package/dist/packages/_es/{interceptor-da627865.js → interceptor-956b24fc.js} +1 -6
  120. package/dist/packages/_es/{mountComponent-75cf7cfe.js → mountComponent-1ece4110.js} +1 -6
  121. package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
  122. package/dist/packages/_es/{raf-e90b8c4d.js → raf-729dad54.js} +0 -5
  123. package/dist/packages/_es/{renderIcon-d470170e.js → renderIcon-3d0fd47c.js} +0 -5
  124. package/dist/packages/actionsheet/index.mjs +3 -1
  125. package/dist/packages/actionsheet/style.cjs +2 -2
  126. package/dist/packages/actionsheet/style.mjs +2 -2
  127. package/dist/packages/address/index.mjs +3 -1
  128. package/dist/packages/address/style.cjs +3 -3
  129. package/dist/packages/address/style.mjs +3 -3
  130. package/dist/packages/addresslist/index.mjs +3 -1
  131. package/dist/packages/addresslist/style.cjs +2 -1
  132. package/dist/packages/addresslist/style.mjs +2 -1
  133. package/dist/packages/animate/index.mjs +3 -1
  134. package/dist/packages/audio/index.mjs +3 -1
  135. package/dist/packages/audio/index.scss +1 -1
  136. package/dist/packages/audio/style.cjs +1 -1
  137. package/dist/packages/audio/style.mjs +1 -1
  138. package/dist/packages/audiooperate/index.mjs +3 -1
  139. package/dist/packages/audiooperate/style.cjs +1 -1
  140. package/dist/packages/audiooperate/style.mjs +1 -1
  141. package/dist/packages/avatar/index.mjs +3 -1
  142. package/dist/packages/avatargroup/index.mjs +3 -1
  143. package/dist/packages/backtop/index.mjs +3 -1
  144. package/dist/packages/badge/index.mjs +3 -1
  145. package/dist/packages/barrage/index.mjs +3 -1
  146. package/dist/packages/barrage/index.scss +17 -1
  147. package/dist/packages/button/index.mjs +3 -1
  148. package/dist/packages/calendar/index.mjs +3 -1
  149. package/dist/packages/calendar/index.scss +11 -2
  150. package/dist/packages/calendar/style.cjs +3 -3
  151. package/dist/packages/calendar/style.mjs +3 -3
  152. package/dist/packages/calendaritem/index.mjs +3 -1
  153. package/dist/packages/card/index.mjs +3 -1
  154. package/dist/packages/card/style.cjs +2 -2
  155. package/dist/packages/card/style.mjs +2 -2
  156. package/dist/packages/cascader/index.mjs +3 -1
  157. package/dist/packages/cascader/style.cjs +5 -5
  158. package/dist/packages/cascader/style.mjs +5 -5
  159. package/dist/packages/category/index.mjs +3 -1
  160. package/dist/packages/categorypane/index.mjs +3 -1
  161. package/dist/packages/cell/index.mjs +3 -1
  162. package/dist/packages/cell/index.scss +3 -1
  163. package/dist/packages/cellgroup/index.mjs +3 -1
  164. package/dist/packages/checkbox/index.mjs +3 -1
  165. package/dist/packages/checkboxgroup/index.mjs +3 -1
  166. package/dist/packages/circleprogress/index.mjs +3 -1
  167. package/dist/packages/col/index.mjs +3 -1
  168. package/dist/packages/collapse/index.mjs +3 -1
  169. package/dist/packages/collapseitem/index.mjs +3 -1
  170. package/dist/packages/comment/index.mjs +3 -1
  171. package/dist/packages/comment/style.cjs +1 -1
  172. package/dist/packages/comment/style.mjs +1 -1
  173. package/dist/packages/configprovider/index.mjs +3 -1
  174. package/dist/packages/countdown/index.mjs +3 -1
  175. package/dist/packages/countup/index.mjs +3 -1
  176. package/dist/packages/datepicker/index.mjs +3 -1
  177. package/dist/packages/datepicker/style.cjs +3 -3
  178. package/dist/packages/datepicker/style.mjs +3 -3
  179. package/dist/packages/dialog/index.mjs +5 -2
  180. package/dist/packages/dialog/style.cjs +3 -3
  181. package/dist/packages/dialog/style.mjs +3 -3
  182. package/dist/packages/divider/index.mjs +3 -1
  183. package/dist/packages/drag/index.mjs +3 -1
  184. package/dist/packages/ecard/index.mjs +3 -1
  185. package/dist/packages/ecard/style.cjs +1 -1
  186. package/dist/packages/ecard/style.mjs +1 -1
  187. package/dist/packages/elevator/index.mjs +3 -1
  188. package/dist/packages/ellipsis/index.mjs +3 -1
  189. package/dist/packages/empty/index.mjs +3 -1
  190. package/dist/packages/fixednav/index.mjs +3 -1
  191. package/dist/packages/fixednav/style.cjs +1 -1
  192. package/dist/packages/fixednav/style.mjs +1 -1
  193. package/dist/packages/form/index.mjs +3 -1
  194. package/dist/packages/form/style.cjs +1 -1
  195. package/dist/packages/form/style.mjs +1 -1
  196. package/dist/packages/formitem/index.mjs +3 -1
  197. package/dist/packages/formitem/style.cjs +1 -1
  198. package/dist/packages/formitem/style.mjs +1 -1
  199. package/dist/packages/grid/index.mjs +3 -1
  200. package/dist/packages/griditem/index.mjs +3 -1
  201. package/dist/packages/image/index.mjs +3 -1
  202. package/dist/packages/imagepreview/index.mjs +5 -2
  203. package/dist/packages/imagepreview/style.cjs +5 -5
  204. package/dist/packages/imagepreview/style.mjs +5 -5
  205. package/dist/packages/indicator/index.mjs +3 -1
  206. package/dist/packages/infiniteloading/index.mjs +3 -1
  207. package/dist/packages/input/index.mjs +3 -1
  208. package/dist/packages/inputnumber/index.mjs +3 -1
  209. package/dist/packages/invoice/index.mjs +3 -1
  210. package/dist/packages/invoice/style.cjs +7 -7
  211. package/dist/packages/invoice/style.mjs +7 -7
  212. package/dist/packages/layout/index.mjs +3 -1
  213. package/dist/packages/list/index.mjs +3 -1
  214. package/dist/packages/locale/lang/baseLang-0bdc6353.js +5 -0
  215. package/dist/packages/locale/lang/en-US.js +1 -6
  216. package/dist/packages/locale/lang/id-ID.js +1 -6
  217. package/dist/packages/locale/lang/index.js +1 -6
  218. package/dist/packages/locale/lang/zh-CN.js +1 -6
  219. package/dist/packages/locale/lang/zh-TW.js +1 -6
  220. package/dist/packages/menu/index.mjs +3 -1
  221. package/dist/packages/menuitem/index.mjs +3 -1
  222. package/dist/packages/menuitem/style.cjs +2 -2
  223. package/dist/packages/menuitem/style.mjs +2 -2
  224. package/dist/packages/navbar/index.mjs +3 -1
  225. package/dist/packages/noticebar/index.mjs +3 -1
  226. package/dist/packages/noticebar/index.scss +2 -1
  227. package/dist/packages/notify/index.mjs +5 -2
  228. package/dist/packages/notify/style.cjs +2 -2
  229. package/dist/packages/notify/style.mjs +2 -2
  230. package/dist/packages/numberkeyboard/index.mjs +3 -1
  231. package/dist/packages/numberkeyboard/index.scss +3 -0
  232. package/dist/packages/numberkeyboard/style.cjs +2 -2
  233. package/dist/packages/numberkeyboard/style.mjs +2 -2
  234. package/dist/packages/overlay/index.mjs +3 -1
  235. package/dist/packages/pagination/index.mjs +3 -1
  236. package/dist/packages/picker/index.mjs +3 -1
  237. package/dist/packages/picker/style.cjs +2 -2
  238. package/dist/packages/picker/style.mjs +2 -2
  239. package/dist/packages/popover/index.mjs +3 -1
  240. package/dist/packages/popover/index.scss +1 -1
  241. package/dist/packages/popover/style.cjs +2 -2
  242. package/dist/packages/popover/style.mjs +2 -2
  243. package/dist/packages/popup/index.mjs +3 -1
  244. package/dist/packages/popup/style.cjs +1 -1
  245. package/dist/packages/popup/style.mjs +1 -1
  246. package/dist/packages/price/index.mjs +3 -1
  247. package/dist/packages/progress/index.mjs +3 -1
  248. package/dist/packages/pullrefresh/index.mjs +3 -1
  249. package/dist/packages/pullrefresh/index.scss +3 -2
  250. package/dist/packages/radio/index.mjs +3 -1
  251. package/dist/packages/radio/index.scss +14 -1
  252. package/dist/packages/radiogroup/index.mjs +3 -1
  253. package/dist/packages/range/index.mjs +3 -1
  254. package/dist/packages/range/index.scss +6 -3
  255. package/dist/packages/rate/index.mjs +3 -1
  256. package/dist/packages/row/index.mjs +3 -1
  257. package/dist/packages/searchbar/index.mjs +3 -1
  258. package/dist/packages/shortpassword/index.mjs +3 -1
  259. package/dist/packages/shortpassword/style.cjs +2 -2
  260. package/dist/packages/shortpassword/style.mjs +2 -2
  261. package/dist/packages/sidenavbar/index.mjs +3 -1
  262. package/dist/packages/sidenavbaritem/index.mjs +3 -1
  263. package/dist/packages/signature/index.mjs +3 -1
  264. package/dist/packages/signature/style.cjs +1 -1
  265. package/dist/packages/signature/style.mjs +1 -1
  266. package/dist/packages/skeleton/index.mjs +3 -1
  267. package/dist/packages/skeleton/style.cjs +1 -1
  268. package/dist/packages/skeleton/style.mjs +1 -1
  269. package/dist/packages/sku/index.mjs +3 -1
  270. package/dist/packages/sku/index.scss +16 -2
  271. package/dist/packages/sku/style.cjs +4 -4
  272. package/dist/packages/sku/style.mjs +4 -4
  273. package/dist/packages/step/index.mjs +3 -1
  274. package/dist/packages/steps/index.mjs +3 -1
  275. package/dist/packages/sticky/index.mjs +3 -1
  276. package/dist/packages/sticky/index.scss +1 -0
  277. package/dist/packages/subsidenavbar/index.mjs +3 -1
  278. package/dist/packages/swipe/index.mjs +3 -1
  279. package/dist/packages/swiper/index.mjs +3 -1
  280. package/dist/packages/swiperitem/index.mjs +3 -1
  281. package/dist/packages/switch/index.mjs +3 -1
  282. package/dist/packages/tabbar/index.mjs +3 -1
  283. package/dist/packages/tabbaritem/index.mjs +3 -1
  284. package/dist/packages/tabbaritem/style.cjs +1 -1
  285. package/dist/packages/tabbaritem/style.mjs +1 -1
  286. package/dist/packages/table/index.mjs +3 -1
  287. package/dist/packages/tabpane/index.mjs +3 -1
  288. package/dist/packages/tabs/index.mjs +3 -1
  289. package/dist/packages/tabs/style.cjs +1 -1
  290. package/dist/packages/tabs/style.mjs +1 -1
  291. package/dist/packages/tag/index.mjs +3 -1
  292. package/dist/packages/textarea/index.mjs +3 -1
  293. package/dist/packages/timedetail/index.mjs +3 -1
  294. package/dist/packages/timedetail/index.scss +14 -1
  295. package/dist/packages/timepannel/index.mjs +3 -1
  296. package/dist/packages/timeselect/index.mjs +3 -1
  297. package/dist/packages/timeselect/style.cjs +2 -2
  298. package/dist/packages/timeselect/style.mjs +2 -2
  299. package/dist/packages/toast/index.mjs +5 -2
  300. package/dist/packages/tour/index.mjs +3 -1
  301. package/dist/packages/tour/style.cjs +3 -3
  302. package/dist/packages/tour/style.mjs +3 -3
  303. package/dist/packages/trendarrow/index.mjs +3 -1
  304. package/dist/packages/uploader/index.mjs +3 -1
  305. package/dist/packages/uploader/style.cjs +2 -2
  306. package/dist/packages/uploader/style.mjs +2 -2
  307. package/dist/packages/video/index.mjs +3 -1
  308. package/dist/packages/watermark/index.mjs +3 -1
  309. package/dist/smartips/attributes.json +289 -293
  310. package/dist/smartips/tags.json +11 -12
  311. package/dist/smartips/web-types.json +336 -345
  312. package/dist/style.css +1 -19
  313. package/dist/style.js +4 -0
  314. package/dist/styles/theme-deafult.scss +14 -16
  315. package/dist/styles/theme-jdt.scss +1 -7
  316. package/dist/styles/themes/default.scss +54 -54
  317. package/dist/styles/themes/jdb.scss +53 -54
  318. package/dist/styles/themes/jddkh.scss +53 -54
  319. package/dist/styles/themes/jdt.scss +54 -54
  320. package/dist/styles/variables.scss +8 -11
  321. package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -0
  322. package/dist/types/__VUE/address/index.vue.d.ts +18 -0
  323. package/dist/types/__VUE/barrage/index.vue.d.ts +0 -1
  324. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +2 -2
  325. package/dist/types/__VUE/cascader/index.vue.d.ts +18 -0
  326. package/dist/types/__VUE/cascader/types.d.ts +1 -1
  327. package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
  328. package/dist/types/__VUE/collapse/index.vue.d.ts +5 -5
  329. package/dist/types/__VUE/configprovider/index.vue.d.ts +3 -2
  330. package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
  331. package/dist/types/__VUE/dialog/index.d.ts +9 -9
  332. package/dist/types/__VUE/dialog/index.vue.d.ts +18 -0
  333. package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
  334. package/dist/types/__VUE/ellipsis/index.vue.d.ts +1 -1
  335. package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
  336. package/dist/types/__VUE/icon/index.vue.d.ts +1 -0
  337. package/dist/types/__VUE/imagepreview/index.d.ts +12 -12
  338. package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
  339. package/dist/types/__VUE/input/index.vue.d.ts +2 -2
  340. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  341. package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -12
  342. package/dist/types/__VUE/notify/index.d.ts +3 -3
  343. package/dist/types/__VUE/popover/index.vue.d.ts +1 -1
  344. package/dist/types/__VUE/popup/common.d.ts +8 -0
  345. package/dist/types/__VUE/popup/index.vue.d.ts +18 -0
  346. package/dist/types/__VUE/popup/props.d.ts +8 -0
  347. package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
  348. package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
  349. package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
  350. package/dist/types/__VUE/sku/index.vue.d.ts +18 -0
  351. package/dist/types/__VUE/steps/index.vue.d.ts +1 -1
  352. package/dist/types/__VUE/swiper/index.vue.d.ts +9 -8
  353. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +0 -1
  354. package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
  355. package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
  356. package/dist/types/__VUE/toast/index.d.ts +3 -3
  357. package/dist/types/__VUE/tour/index.vue.d.ts +1 -1
  358. package/dist/types/index.d.ts +10 -7
  359. package/package.json +20 -47
  360. package/dist/packages/_es/Icon.js +0 -12
  361. package/dist/packages/_es/index.vue_vue_type_script_lang-6a7b6f54.js +0 -12
  362. package/dist/packages/_es/pxCheck-524650ac.js +0 -11
  363. package/dist/packages/_es/style.css +0 -16
  364. package/dist/packages/icon/index.mjs +0 -2
  365. package/dist/packages/locale/lang/baseLang-d9df8b94.js +0 -10
  366. package/dist/types/__VUE/configprovider/common.d.ts +0 -20
  367. package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
@@ -41,55 +41,55 @@
41
41
  },
42
42
  "nut-address/v-model:visible": {
43
43
  "type": "string",
44
- "description": "属性说明:是否打开地址选择,默认值:''"
44
+ "description": "属性说明:是否打开地址选择,默认值:`''`"
45
45
  },
46
46
  "nut-address/type": {
47
47
  "type": "string",
48
- "description": "属性说明:地址选择类型 exist/custom/custom2,默认值:'custom'"
48
+ "description": "属性说明:地址选择类型 exist/custom/custom2,默认值:`custom`"
49
49
  },
50
50
  "nut-address/province": {
51
51
  "type": "array",
52
- "description": "属性说明:省,每个省的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:[]"
52
+ "description": "属性说明:省,每个省的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:`[]`"
53
53
  },
54
54
  "nut-address/city": {
55
55
  "type": "array",
56
- "description": "属性说明:市,每个市的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:[]"
56
+ "description": "属性说明:市,每个市的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:`[]`"
57
57
  },
58
58
  "nut-address/country": {
59
59
  "type": "array",
60
- "description": "属性说明:县,每个县的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:[]"
60
+ "description": "属性说明:县,每个县的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:`[]`"
61
61
  },
62
62
  "nut-address/town": {
63
63
  "type": "array",
64
- "description": "属性说明:乡/镇,每个乡/镇的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:[]"
64
+ "description": "属性说明:乡/镇,每个乡/镇的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:`[]`"
65
65
  },
66
66
  "nut-address/height": {
67
- "type": "stringnumber",
68
- "description": "属性说明:弹层中内容容器的高度,仅在type=\"custom2\"时有效,默认值:'200px'"
67
+ "type": "string | number",
68
+ "description": "属性说明:弹层中内容容器的高度,仅在type=\"custom2\"时有效,默认值:`200px`"
69
69
  },
70
70
  "nut-address/exist-address": {
71
71
  "type": "array",
72
- "description": "属性说明:已存在地址列表,每个地址对象中,必传值provinceName、cityName、countyName、townName、addressDetail、selectedAddress(字段解释见下),默认值:[]"
72
+ "description": "属性说明:已存在地址列表,每个地址对象中,必传值provinceName、cityName、countyName、townName、addressDetail、selectedAddress(字段解释见下),默认值:`[]`"
73
73
  },
74
74
  "nut-address/is-show-custom-address": {
75
75
  "type": "boolean",
76
- "description": "属性说明:是否可以切换自定义地址选择,type=‘exist’ 时生效,默认值:true"
76
+ "description": "属性说明:是否可以切换自定义地址选择,type=‘exist’ 时生效,默认值:`true`"
77
77
  },
78
78
  "nut-address/custom-address-title": {
79
79
  "type": "string",
80
- "description": "属性说明:自定义地址选择文案,type='custom' 时生效,默认值:'请选择所在地区'"
80
+ "description": "属性说明:自定义地址选择文案,type='custom' 时生效,默认值:`请选择所在地区`"
81
81
  },
82
82
  "nut-address/exist-address-title": {
83
83
  "type": "string",
84
- "description": "属性说明:已有地址文案 ,type=‘exist’ 时生效,默认值:'配送至'"
84
+ "description": "属性说明:已有地址文案 ,type=‘exist’ 时生效,默认值:`配送至`"
85
85
  },
86
86
  "nut-address/custom-and-exist-title": {
87
87
  "type": "string",
88
- "description": "属性说明:自定义地址与已有地址切换按钮文案 ,type=‘exist’ 时生效,默认值:'选择其他地址'"
88
+ "description": "属性说明:自定义地址与已有地址切换按钮文案 ,type=‘exist’ 时生效,默认值:`选择其他地址`"
89
89
  },
90
90
  "nut-address/columns-placeholder": {
91
- "type": "string",
92
- "description": "属性说明:列提示文字,默认值:Array"
91
+ "type": "string | array",
92
+ "description": "属性说明:列提示文字,默认值:`请选择`"
93
93
  },
94
94
  "nut-address/lock-scroll": {
95
95
  "type": "boolean",
@@ -113,39 +113,39 @@
113
113
  },
114
114
  "nut-animate/type": {
115
115
  "type": "string",
116
- "description": "属性说明:动画类型,见下方type值说明,默认值:-"
116
+ "description": "属性说明:动画类型,见下方 `type` 值说明,默认值:`-`"
117
117
  },
118
118
  "nut-animate/action": {
119
119
  "type": "string",
120
- "description": "属性说明:触发方式,'initial'--初始化执行; 'click'--点击执行,默认值:'initial'"
120
+ "description": "属性说明:触发方式,`initial`-初始化执行; `click`-点击执行,默认值:`initial`"
121
121
  },
122
122
  "nut-animate/loop": {
123
123
  "type": "boolean",
124
- "description": "属性说明:是否循环执行。true-循环执行;false-执行一次,默认值:false"
124
+ "description": "属性说明:是否循环执行。`true`-循环执行; `false`-执行一次,默认值:`false`"
125
125
  },
126
126
  "nut-audio/url": {
127
127
  "type": "string",
128
- "description": "属性说明:语音播放的连接,默认值:''"
128
+ "description": "属性说明:语音播放的连接,默认值:`''`"
129
129
  },
130
130
  "nut-audio/muted": {
131
131
  "type": "boolean",
132
- "description": "属性说明:是否静音,默认值:false"
132
+ "description": "属性说明:是否静音,默认值:`false`"
133
133
  },
134
134
  "nut-audio/autoplay": {
135
135
  "type": "boolean",
136
- "description": "属性说明:是否自动播放,默认值:false"
136
+ "description": "属性说明:是否自动播放,默认值:`false`"
137
137
  },
138
138
  "nut-audio/loop": {
139
139
  "type": "boolean",
140
- "description": "属性说明:是否循环播放,默认值:false"
140
+ "description": "属性说明:是否循环播放,默认值:`false`"
141
141
  },
142
142
  "nut-audio/preload": {
143
143
  "type": "string",
144
- "description": "属性说明:是否预加载语音,默认值:'auto'"
144
+ "description": "属性说明:是否预加载语音,默认值:`auto`"
145
145
  },
146
146
  "nut-audio/type": {
147
147
  "type": "string",
148
- "description": "属性说明:展示形式,可选值:controls 控制面板 progress 进度条 icon 图标 none 自定义,默认值:'progress'"
148
+ "description": "属性说明:展示形式,可选值:controls 控制面板 progress 进度条 icon 图标 none 自定义,默认值:`progress`"
149
149
  },
150
150
  "nut-audiooperate/type": {
151
151
  "type": "string",
@@ -197,7 +197,7 @@
197
197
  },
198
198
  "nut-badge/value": {
199
199
  "type": "string",
200
- "description": "属性说明:显示的内容,默认值:-"
200
+ "description": "属性说明:显示的内容,默认值:`-`"
201
201
  },
202
202
  "nut-badge/max": {
203
203
  "type": "number",
@@ -229,39 +229,39 @@
229
229
  },
230
230
  "nut-barrage/danmu": {
231
231
  "type": "array",
232
- "description": "属性说明:弹幕列表数据,默认值:[]"
232
+ "description": "属性说明:弹幕列表数据,默认值:`[]`"
233
233
  },
234
234
  "nut-barrage/frequency": {
235
235
  "type": "number",
236
- "description": "属性说明:可视区域内每个弹幕出现的时间间隔,默认值:500"
236
+ "description": "属性说明:可视区域内每个弹幕出现的时间间隔,默认值:`500`"
237
237
  },
238
238
  "nut-barrage/speeds": {
239
239
  "type": "number",
240
- "description": "属性说明:每个弹幕的滚动时间,默认值:2000"
240
+ "description": "属性说明:每个弹幕的滚动时间,默认值:`2000`"
241
241
  },
242
242
  "nut-barrage/rows": {
243
243
  "type": "number",
244
- "description": "属性说明:弹幕行数,分几行展示,默认值:1"
244
+ "description": "属性说明:弹幕行数,分几行展示,默认值:`1`"
245
245
  },
246
246
  "nut-barrage/top": {
247
247
  "type": "number",
248
- "description": "属性说明:弹幕垂直距离,默认值:10"
248
+ "description": "属性说明:弹幕垂直距离,默认值:`10`"
249
249
  },
250
250
  "nut-barrage/loop": {
251
251
  "type": "boolean",
252
- "description": "属性说明:是否循环播放,默认值:true"
252
+ "description": "属性说明:是否循环播放,默认值:`true`"
253
253
  },
254
254
  "nut-button/type": {
255
255
  "type": "string",
256
- "description": "属性说明:类型,可选值为 `primary` `info` `warning` `danger` `success`,默认值:`default`"
256
+ "description": "属性说明:类型,可选值为 `primary` `info` `warning` `danger` `success` `default`,默认值:`default`"
257
257
  },
258
258
  "nut-button/size": {
259
259
  "type": "string",
260
- "description": "属性说明:尺寸,可选值为 `large` `small` `mini`,默认值:`normal`"
260
+ "description": "属性说明:尺寸,可选值为 `large` `small` `mini` `normal`,默认值:`normal`"
261
261
  },
262
262
  "nut-button/shape": {
263
263
  "type": "string",
264
- "description": "属性说明:形状,可选值为 `square`,默认值:`round`"
264
+ "description": "属性说明:形状,可选值为 `square` `round`,默认值:`round`"
265
265
  },
266
266
  "nut-button/color": {
267
267
  "type": "string",
@@ -285,67 +285,67 @@
285
285
  },
286
286
  "nut-calendar/v-model:visible": {
287
287
  "type": "boolean",
288
- "description": "属性说明:是否可见,默认值:false"
288
+ "description": "属性说明:是否可见,默认值:`false`"
289
289
  },
290
290
  "nut-calendar/type": {
291
291
  "type": "string",
292
- "description": "属性说明:类型,日期单择'one',区间选择'range',日期多选'multiple',默认值:'one'"
292
+ "description": "属性说明:类型,日期单择`one`,区间选择`range`,日期多选`multiple`,默认值:'`one`'"
293
293
  },
294
294
  "nut-calendar/poppable": {
295
295
  "type": "boolean",
296
- "description": "属性说明:是否弹窗状态展示,默认值:true"
296
+ "description": "属性说明:是否弹窗状态展示,默认值:`true`"
297
297
  },
298
298
  "nut-calendar/is-auto-back-fill": {
299
299
  "type": "boolean",
300
- "description": "属性说明:自动回填,默认值:false"
300
+ "description": "属性说明:自动回填,默认值:`false`"
301
301
  },
302
302
  "nut-calendar/title": {
303
303
  "type": "string",
304
- "description": "属性说明:显示标题,默认值:‘日期选择’"
304
+ "description": "属性说明:显示标题,默认值:`日期选择`"
305
305
  },
306
306
  "nut-calendar/default-value": {
307
- "type": "string array",
308
- "description": "属性说明:默认值,单个日期选择 String,其他为 Array,默认值:null"
307
+ "type": "string | string[]",
308
+ "description": "属性说明:默认值,单个日期选择 `string`,其他为 `string[]`,默认值:`null`"
309
309
  },
310
310
  "nut-calendar/start-date": {
311
311
  "type": "string",
312
- "description": "属性说明:开始日期,默认值:今天"
312
+ "description": "属性说明:开始日期,默认值:`今天`"
313
313
  },
314
314
  "nut-calendar/end-date": {
315
315
  "type": "string",
316
- "description": "属性说明:结束日期,默认值:距离今天 365 "
316
+ "description": "属性说明:结束日期,默认值:`距离今天 365 天`"
317
317
  },
318
318
  "nut-calendar/show-today": {
319
319
  "type": "boolean",
320
- "description": "属性说明:是否展示今天标记,默认值:true"
320
+ "description": "属性说明:是否展示今天标记,默认值:`true`"
321
321
  },
322
322
  "nut-calendar/start-text": {
323
323
  "type": "string",
324
- "description": "属性说明:范围选择,开始信息文案,默认值:’开始‘"
324
+ "description": "属性说明:范围选择,开始信息文案,默认值:`开始`"
325
325
  },
326
326
  "nut-calendar/end-text": {
327
327
  "type": "string",
328
- "description": "属性说明:范围选择,结束信息文案,默认值:‘结束’"
328
+ "description": "属性说明:范围选择,结束信息文案,默认值:`结束`"
329
329
  },
330
330
  "nut-calendar/confirm-text": {
331
331
  "type": "string",
332
- "description": "属性说明:底部确认按钮文案,默认值:’确认‘"
332
+ "description": "属性说明:底部确认按钮文案,默认值:`确认`"
333
333
  },
334
334
  "nut-calendar/show-title": {
335
335
  "type": "boolean",
336
- "description": "属性说明:是否在展示日历标题,默认值:true"
336
+ "description": "属性说明:是否在展示日历标题,默认值:`true`"
337
337
  },
338
338
  "nut-calendar/show-sub-title": {
339
339
  "type": "boolean",
340
- "description": "属性说明:是否展示日期标题,默认值:true"
340
+ "description": "属性说明:是否展示日期标题,默认值:`true`"
341
341
  },
342
342
  "nut-calendar/to-date-animation": {
343
343
  "type": "boolean",
344
- "description": "属性说明:是否启动滚动动画,默认值:true"
344
+ "description": "属性说明:是否启动滚动动画,默认值:`true`"
345
345
  },
346
346
  "nut-calendar/first-day-of-week": {
347
347
  "type": "0-6",
348
- "description": "属性说明:设置周起始日,默认值:0"
348
+ "description": "属性说明:设置周起始日,默认值:`0`"
349
349
  },
350
350
  "nut-card/img-url": {
351
351
  "type": "string",
@@ -501,155 +501,159 @@
501
501
  },
502
502
  "nut-collapse/v-model": {
503
503
  "type": "手风琴模式:string | number<br>非手风琴模式:(string | number)[]",
504
- "description": "属性说明:当前展开面板的 name,默认值:-"
504
+ "description": "属性说明:当前展开面板的 `name`,默认值:`-`"
505
505
  },
506
506
  "nut-collapse/accordion": {
507
- "type": "_boolean_",
507
+ "type": "boolean",
508
508
  "description": "属性说明:是否开启手风琴模式,默认值:`false`"
509
509
  },
510
510
  "nut-comment/header-type": {
511
511
  "type": "string",
512
- "description": "属性说明:头部样式展示类型,可选: default,complex,默认值:default"
512
+ "description": "属性说明:头部样式展示类型,可选: default,complex,默认值:`default`"
513
513
  },
514
514
  "nut-comment/images-rows": {
515
515
  "type": "string",
516
- "description": "属性说明:评论图片展示行数,可选: one,multi,默认值:one"
516
+ "description": "属性说明:评论图片展示行数,可选: one,multi,默认值:`one`"
517
517
  },
518
518
  "nut-comment/ellipsis": {
519
- "type": "[string,number]",
520
- "description": "属性说明:设置评论内容省略行数,默认值:2"
519
+ "type": "string | number",
520
+ "description": "属性说明:设置评论内容省略行数,默认值:`2`"
521
521
  },
522
522
  "nut-comment/videos": {
523
523
  "type": "array",
524
- "description": "属性说明:视频信息,默认值:[]"
524
+ "description": "属性说明:视频信息,默认值:`[]`"
525
525
  },
526
526
  "nut-comment/images": {
527
527
  "type": "array",
528
- "description": "属性说明:图片信息,默认值:[]"
528
+ "description": "属性说明:图片信息,默认值:`[]`"
529
529
  },
530
530
  "nut-comment/info": {
531
531
  "type": "object",
532
- "description": "属性说明:评论详情,默认值:{}"
532
+ "description": "属性说明:评论详情,默认值:`{}`"
533
533
  },
534
534
  "nut-comment/follow": {
535
535
  "type": "object",
536
- "description": "属性说明:追评内容,默认值:{}"
536
+ "description": "属性说明:追评内容,默认值:`{}`"
537
537
  },
538
538
  "nut-comment/operation": {
539
539
  "type": "array",
540
- "description": "属性说明:配置底部按钮,默认值:[\"replay\", \"like\", \"more\"]"
540
+ "description": "属性说明:配置底部按钮,默认值:`[\"replay\", \"like\", \"more\"]`"
541
541
  },
542
542
  "nut-configprovider/theme": {
543
543
  "type": "string",
544
544
  "description": "属性说明:主题风格,设置为 `dark` 来开启深色模式,全局生效,默认值:-"
545
545
  },
546
+ "nut-configprovider/theme-vars": {
547
+ "type": "object",
548
+ "description": "属性说明:自定义主题变量,局部生效,默认值:-"
549
+ },
546
550
  "nut-configprovider/tag": {
547
551
  "type": "string",
548
552
  "description": "属性说明:根节点对应的 HTML 标签名,默认值:div"
549
553
  },
550
554
  "nut-countdown/v-model": {
551
555
  "type": "object",
552
- "description": "属性说明:当前时间,自定义展示内容时生效,默认值:{}"
556
+ "description": "属性说明:当前时间,自定义展示内容时生效,默认值:`{}`"
553
557
  },
554
558
  "nut-countdown/start-time": {
555
- "type": "string, number",
556
- "description": "属性说明:开始时间,默认值:Date.now()"
559
+ "type": "string | number",
560
+ "description": "属性说明:开始时间,默认值:`Date.now()`"
557
561
  },
558
562
  "nut-countdown/end-time": {
559
- "type": "string, number",
560
- "description": "属性说明:结束时间,默认值:Date.now()"
563
+ "type": "string | number",
564
+ "description": "属性说明:结束时间,默认值:`Date.now()`"
561
565
  },
562
566
  "nut-countdown/format": {
563
567
  "type": "string",
564
- "description": "属性说明:时间格式,默认值:HH:mm:ss"
568
+ "description": "属性说明:时间格式,默认值:`HH:mm:ss`"
565
569
  },
566
570
  "nut-countdown/millisecond": {
567
571
  "type": "boolean",
568
- "description": "属性说明:是否开启毫秒级渲染,默认值:false"
572
+ "description": "属性说明:是否开启毫秒级渲染,默认值:`false`"
569
573
  },
570
574
  "nut-countdown/auto-start": {
571
575
  "type": "boolean",
572
- "description": "属性说明:是否自动开始倒计时,默认值:true"
576
+ "description": "属性说明:是否自动开始倒计时,默认值:`true`"
573
577
  },
574
578
  "nut-countdown/time": {
575
- "type": "stringnumber",
576
- "description": "属性说明:倒计时显示时间,单位是毫秒。autoStart 为 false 时生效,默认值:0"
579
+ "type": "string | number",
580
+ "description": "属性说明:倒计时显示时间,单位是毫秒。autoStart 为 false 时生效,默认值:`0`"
577
581
  },
578
582
  "nut-countdown/paused": {
579
583
  "type": "boolean",
580
- "description": "属性说明:是否暂停,默认值:false"
584
+ "description": "属性说明:是否暂停,默认值:`false`"
581
585
  },
582
586
  "nut-countup/init-num": {
583
587
  "type": "number",
584
- "description": "属性说明:初始数字,默认值:0"
588
+ "description": "属性说明:初始数字,默认值:`0`"
585
589
  },
586
590
  "nut-countup/end-num": {
587
591
  "type": "number",
588
- "description": "属性说明:结束数字,默认值:0"
592
+ "description": "属性说明:结束数字,默认值:`0`"
589
593
  },
590
594
  "nut-countup/speed": {
591
595
  "type": "number",
592
- "description": "属性说明:间隔数字,目前仅支持基本用法,默认值:1"
596
+ "description": "属性说明:间隔数字,目前仅支持基本用法,默认值:`1`"
593
597
  },
594
598
  "nut-countup/to-fixed": {
595
599
  "type": "number",
596
- "description": "属性说明:保留小数点后几位,默认值:以传入的数字为准"
600
+ "description": "属性说明:保留小数点后几位,默认值:`以传入的数字为准`"
597
601
  },
598
602
  "nut-countup/start-flag": {
599
603
  "type": "boolean",
600
- "description": "属性说明:触发数字滚动的标识,默认值:true"
604
+ "description": "属性说明:触发数字滚动的标识,默认值:`true`"
601
605
  },
602
606
  "nut-countup/during": {
603
607
  "type": "number",
604
- "description": "属性说明:滚动一次运行时间,默认值:1000"
608
+ "description": "属性说明:滚动一次运行时间,默认值:`1000`"
605
609
  },
606
610
  "nut-countup/num-width": {
607
611
  "type": "number",
608
- "description": "属性说明:数字宽度,常用于自定义无缝滚动,默认值:20"
612
+ "description": "属性说明:数字宽度,常用于自定义无缝滚动,默认值:`20`"
609
613
  },
610
614
  "nut-countup/num-height": {
611
615
  "type": "number",
612
- "description": "属性说明:数字高度,常用于自定义无缝滚动(抽奖功能必传),默认值:20"
616
+ "description": "属性说明:数字高度,常用于自定义无缝滚动(抽奖功能必传),默认值:`20`"
613
617
  },
614
618
  "nut-countup/scrolling": {
615
619
  "type": "boolean",
616
- "description": "属性说明:用于数字滚动展示,默认值:false"
620
+ "description": "属性说明:用于数字滚动展示,默认值:`false`"
617
621
  },
618
622
  "nut-countup/custom": {
619
623
  "type": "boolean",
620
- "description": "属性说明:用于自定义图片数字滚动,默认值:false"
624
+ "description": "属性说明:用于自定义图片数字滚动,默认值:`false`"
621
625
  },
622
626
  "nut-countup/custom-change-num": {
623
627
  "type": "number",
624
- "description": "属性说明:要变化的数字(用于自定义图片,initNum\\endNum在此无效),默认值:1"
628
+ "description": "属性说明:要变化的数字(用于自定义图片,initNumendNum在此无效),默认值:`1`"
625
629
  },
626
630
  "nut-countup/custom-bg-img": {
627
631
  "type": "-",
628
- "description": "属性说明:自定义图片(建议使用雪碧图实现,使用抽奖功能必须使用雪碧图),默认值:-"
632
+ "description": "属性说明:自定义图片(建议使用雪碧图实现,使用抽奖功能必须使用雪碧图),默认值:`-`"
629
633
  },
630
634
  "nut-countup/custom-spac-num": {
631
635
  "type": "number",
632
- "description": "属性说明:图片中数字之间可能会存在间距,默认值:0"
636
+ "description": "属性说明:图片中数字之间可能会存在间距,默认值:`0`"
633
637
  },
634
638
  "nut-countup/type": {
635
639
  "type": "string",
636
- "description": "属性说明:使用抽奖功能必传“machine”,默认值:''"
640
+ "description": "属性说明:使用抽奖功能必传\"machine\",默认值:`''`"
637
641
  },
638
642
  "nut-countup/machine-prize-num": {
639
643
  "type": "number",
640
- "description": "属性说明:奖品个数,一共多少个奖品,必传,默认值:4"
644
+ "description": "属性说明:奖品个数,一共多少个奖品,必传,默认值:`4`"
641
645
  },
642
646
  "nut-countup/machine-num": {
643
647
  "type": "number",
644
- "description": "属性说明:抽奖位,即滚动几个,必传,默认值:3"
648
+ "description": "属性说明:抽奖位,即滚动几个,必传,默认值:`3`"
645
649
  },
646
650
  "nut-countup/machine-prize-level": {
647
651
  "type": "number",
648
- "description": "属性说明:中奖图标,图标在雪碧图中的位置,默认值:0"
652
+ "description": "属性说明:中奖图标,图标在雪碧图中的位置,默认值:`0`"
649
653
  },
650
654
  "nut-countup/machine-turn-more": {
651
655
  "type": "number",
652
- "description": "属性说明:滚动圈数,默认值:0"
656
+ "description": "属性说明:滚动圈数,默认值:`0`"
653
657
  },
654
658
  "nut-datepicker/v-model": {
655
659
  "type": "date",
@@ -689,42 +693,42 @@
689
693
  },
690
694
  "nut-datepicker/ok-text": {
691
695
  "type": "string",
692
- "description": "属性说明:确定按钮文案,默认值:确定"
696
+ "description": "属性说明:确定按钮文案,默认值:`确定`"
693
697
  },
694
698
  "nut-datepicker/cancel-text": {
695
699
  "type": "string",
696
- "description": "属性说明:取消按钮文案,默认值:取消"
700
+ "description": "属性说明:取消按钮文案,默认值:`取消`"
697
701
  },
698
702
  "nut-datepicker/three-dimensional": {
699
703
  "type": "boolean",
700
- "description": "属性说明:是否开启3D效果,默认值:true"
704
+ "description": "属性说明:是否开启3D效果,默认值:`true`"
701
705
  },
702
706
  "nut-datepicker/swipe-duration": {
703
- "type": "numberstring",
704
- "description": "属性说明:惯性滚动时长,默认值:1000"
707
+ "type": "number | string",
708
+ "description": "属性说明:惯性滚动时长,默认值:`1000`"
705
709
  },
706
710
  "nut-datepicker/visible-option-num": {
707
711
  "type": "number | string",
708
- "description": "属性说明:可见的选项个数,默认值:7"
712
+ "description": "属性说明:可见的选项个数,默认值:`7`"
709
713
  },
710
714
  "nut-datepicker/option-height": {
711
715
  "type": "number | string",
712
- "description": "属性说明:选项高度,默认值:36"
716
+ "description": "属性说明:选项高度,默认值:`36`"
713
717
  },
714
718
  "nut-datepicker/show-toolbar": {
715
719
  "type": "boolean",
716
- "description": "属性说明:是否显示顶部导航,默认值:true"
720
+ "description": "属性说明:是否显示顶部导航,默认值:`true`"
717
721
  },
718
722
  "nut-dialog/title": {
719
723
  "type": "string",
720
724
  "description": "属性说明:标题,默认值:-"
721
725
  },
722
726
  "nut-dialog/id": {
723
- "type": "string/number",
727
+ "type": "string | number",
724
728
  "description": "属性说明:标识符,相同时共用一个实例,默认为多个实例,默认值:new Date().getTime()"
725
729
  },
726
730
  "nut-dialog/content": {
727
- "type": "string/vnode",
731
+ "type": "string | vnode",
728
732
  "description": "属性说明:内容,支持HTML和组件,默认值:-"
729
733
  },
730
734
  "nut-dialog/teleport": {
@@ -908,40 +912,40 @@
908
912
  "description": "属性说明:文本内容,默认值:-"
909
913
  },
910
914
  "nut-ellipsis/direction": {
911
- "type": "'start'",
912
- "description": "属性说明:省略位置,默认值:'end'"
915
+ "type": "'start' | 'end' | 'middle'",
916
+ "description": "属性说明:省略位置,默认值:`end`"
913
917
  },
914
918
  "nut-ellipsis/rows": {
915
919
  "type": "number",
916
- "description": "属性说明:展示几行,默认值:1"
920
+ "description": "属性说明:展示几行,默认值:`1`"
917
921
  },
918
922
  "nut-ellipsis/expand-text": {
919
923
  "type": "string",
920
- "description": "属性说明:展开操作的文案,默认值:''"
924
+ "description": "属性说明:展开操作的文案,默认值:`''`"
921
925
  },
922
926
  "nut-ellipsis/collapse-text": {
923
927
  "type": "string",
924
- "description": "属性说明:收起操作的文案,默认值:''"
928
+ "description": "属性说明:收起操作的文案,默认值:`''`"
925
929
  },
926
930
  "nut-ellipsis/symbol": {
927
931
  "type": "string",
928
- "description": "属性说明:省略的符号,默认值:'...'"
932
+ "description": "属性说明:省略的符号,默认值:`...`"
929
933
  },
930
934
  "nut-ellipsis/line-height": {
931
- "type": "stringnumber",
932
- "description": "属性说明:容器的行高,默认值:20"
935
+ "type": "string | number",
936
+ "description": "属性说明:容器的行高,默认值:`20`"
933
937
  },
934
938
  "nut-empty/image": {
935
939
  "type": "string",
936
- "description": "属性说明:图片类型,可选值为 error network search,支持传入图片 URL,默认值:empty"
940
+ "description": "属性说明:图片类型,可选值为 `empty`、`error`、`network`,支持传入图片 URL,默认值:`empty`"
937
941
  },
938
942
  "nut-empty/image-size": {
939
943
  "type": "number | string",
940
- "description": "属性说明:图片大小,Number 类型单位为 px,默认值:-"
944
+ "description": "属性说明:图片大小,number 类型单位为 px,默认值:`-`"
941
945
  },
942
946
  "nut-empty/description": {
943
947
  "type": "string",
944
- "description": "属性说明:图片下方的描述文字,默认值:无内容"
948
+ "description": "属性说明:图片下方的描述文字,默认值:`-`"
945
949
  },
946
950
  "nut-fixednav/visible": {
947
951
  "type": "boolean",
@@ -1024,11 +1028,11 @@
1024
1028
  "description": "属性说明:图标颜色,默认值:-"
1025
1029
  },
1026
1030
  "nut-icon/width": {
1027
- "type": "string or number",
1031
+ "type": "string | object",
1028
1032
  "description": "属性说明:图标大小,如 `20px` `2em` `2rem`,默认值:-"
1029
1033
  },
1030
1034
  "nut-icon/height": {
1031
- "type": "string or number",
1035
+ "type": "string | object",
1032
1036
  "description": "属性说明:图标大小,如 `20px` `2em` `2rem`,默认值:-"
1033
1037
  },
1034
1038
  "nut-image/src": {
@@ -1037,11 +1041,11 @@
1037
1041
  },
1038
1042
  "nut-image/fit": {
1039
1043
  "type": "imagefit",
1040
- "description": "属性说明:图片填充模式,等同于原生的 object-fit 属性,默认值:'fill'"
1044
+ "description": "属性说明:图片填充模式,等同于原生的 `object-fit` 属性,默认值:`fill`"
1041
1045
  },
1042
1046
  "nut-image/position": {
1043
1047
  "type": "imageposition",
1044
- "description": "属性说明:图片位置,等同于原生的 object-position 属性,默认值:'center'"
1048
+ "description": "属性说明:图片位置,等同于原生的 `object-position` 属性,默认值:`center`"
1045
1049
  },
1046
1050
  "nut-image/alt": {
1047
1051
  "type": "string",
@@ -1057,63 +1061,63 @@
1057
1061
  },
1058
1062
  "nut-image/round": {
1059
1063
  "type": "boolean",
1060
- "description": "属性说明:是否显示为圆角,默认值:false"
1064
+ "description": "属性说明:是否显示为圆角,默认值:`false`"
1061
1065
  },
1062
1066
  "nut-image/radius": {
1063
- "type": "string | numer",
1067
+ "type": "string | number",
1064
1068
  "description": "属性说明:圆角大小,默认值:-"
1065
1069
  },
1066
1070
  "nut-image/show-error": {
1067
1071
  "type": "boolean",
1068
- "description": "属性说明:是否展示图片加载失败,默认值:false"
1072
+ "description": "属性说明:是否展示图片加载失败,默认值:`false`"
1069
1073
  },
1070
1074
  "nut-image/show-loading": {
1071
1075
  "type": "boolean",
1072
- "description": "属性说明:是否展示加载中图片,默认值:true"
1076
+ "description": "属性说明:是否展示加载中图片,默认值:`true`"
1073
1077
  },
1074
1078
  "nut-imagepreview/show": {
1075
1079
  "type": "boolean",
1076
- "description": "属性说明:是否展示预览图片,默认值:false"
1080
+ "description": "属性说明:是否展示预览图片,默认值:`false`"
1077
1081
  },
1078
1082
  "nut-imagepreview/videos": {
1079
1083
  "type": "videoarray[]",
1080
- "description": "属性说明:预览的视频数组(视频自动放到图片之前、taro场景暂不支持),默认值:[]"
1084
+ "description": "属性说明:预览的视频数组(视频自动放到图片之前),默认值:`[]`"
1081
1085
  },
1082
1086
  "nut-imagepreview/images": {
1083
1087
  "type": "imagearray[]",
1084
- "description": "属性说明:预览图片数组,默认值:[]"
1088
+ "description": "属性说明:预览图片数组,默认值:`[]`"
1085
1089
  },
1086
1090
  "nut-imagepreview/autoplay": {
1087
- "type": "numberstring",
1088
- "description": "属性说明:自动轮播时长,0表示不会自动轮播,默认值:3000"
1091
+ "type": "number | string",
1092
+ "description": "属性说明:自动轮播时长,0表示不会自动轮播,默认值:`3000`"
1089
1093
  },
1090
1094
  "nut-imagepreview/init-no": {
1091
1095
  "type": "number",
1092
- "description": "属性说明:初始页码,默认值:1"
1096
+ "description": "属性说明:初始页码,默认值:`1`"
1093
1097
  },
1094
1098
  "nut-imagepreview/pagination-visible": {
1095
1099
  "type": "boolean",
1096
- "description": "属性说明:分页指示器是否展示,默认值:false"
1100
+ "description": "属性说明:分页指示器是否展示,默认值:`false`"
1097
1101
  },
1098
1102
  "nut-imagepreview/pagination-color": {
1099
1103
  "type": "string",
1100
- "description": "属性说明:分页指示器选中的颜色,默认值:'#fff'"
1104
+ "description": "属性说明:分页指示器选中的颜色,默认值:`#fff`"
1101
1105
  },
1102
1106
  "nut-imagepreview/content-close": {
1103
1107
  "type": "boolean",
1104
- "description": "属性说明:点击图片可以退出预览,默认值:false"
1108
+ "description": "属性说明:点击图片可以退出预览,默认值:`false`"
1105
1109
  },
1106
1110
  "nut-imagepreview/show-index": {
1107
1111
  "type": "boolean",
1108
- "description": "属性说明:是否显示页码,默认值:true"
1112
+ "description": "属性说明:是否显示页码,默认值:`true`"
1109
1113
  },
1110
1114
  "nut-imagepreview/closeable": {
1111
1115
  "type": "boolean",
1112
- "description": "属性说明:是否显示关闭图标,默认值:false"
1116
+ "description": "属性说明:是否显示关闭图标,默认值:`false`"
1113
1117
  },
1114
1118
  "nut-imagepreview/close-icon-position": {
1115
1119
  "type": "string",
1116
- "description": "属性说明:关闭图标位置,可选值:top-left,默认值:‘top-right"
1120
+ "description": "属性说明:关闭图标位置,可选值:top-left,默认值:`top-right`"
1117
1121
  },
1118
1122
  "nut-imagepreview/before-close": {
1119
1123
  "type": "(active: number) => boolean",
@@ -1121,23 +1125,23 @@
1121
1125
  },
1122
1126
  "nut-imagepreview/max-zoom": {
1123
1127
  "type": "number",
1124
- "description": "属性说明:手势缩放时,最大缩放比例`小程序暂不支持`,默认值:3"
1128
+ "description": "属性说明:手势缩放时,最大缩放比例,默认值:`3`"
1125
1129
  },
1126
1130
  "nut-imagepreview/min-zoom": {
1127
1131
  "type": "number",
1128
- "description": "属性说明:手势缩放时,最小缩放比例`小程序暂不支持`,默认值:1/3"
1132
+ "description": "属性说明:手势缩放时,最小缩放比例,默认值:`1/3`"
1129
1133
  },
1130
- "nut-imagepreview/is-Loop": {
1134
+ "nut-imagepreview/is-loop": {
1131
1135
  "type": "boolean",
1132
1136
  "description": "属性说明:是否循环播放,默认值:`true`"
1133
1137
  },
1134
1138
  "nut-indicator/current": {
1135
1139
  "type": "number",
1136
- "description": "属性说明:当前步骤,默认值:1"
1140
+ "description": "属性说明:当前步骤,默认值:`1`"
1137
1141
  },
1138
1142
  "nut-indicator/size": {
1139
1143
  "type": "number",
1140
- "description": "属性说明:步骤长度,默认值:3"
1144
+ "description": "属性说明:步骤长度,默认值:`3`"
1141
1145
  },
1142
1146
  "nut-indicator/block": {
1143
1147
  "type": "boolean",
@@ -1145,11 +1149,11 @@
1145
1149
  },
1146
1150
  "nut-indicator/align": {
1147
1151
  "type": "string",
1148
- "description": "属性说明:对齐方式,仅在block为true时生效, 可选值 'left', 'right', 'center',默认值:left"
1152
+ "description": "属性说明:对齐方式,仅在 `block` `true` 时生效, 可选值 `left`, `right`, `center`,默认值:`left`"
1149
1153
  },
1150
1154
  "nut-indicator/fill-zero": {
1151
1155
  "type": "boolean",
1152
- "description": "属性说明:单数前面是否补0,默认值:true"
1156
+ "description": "属性说明:单数前面是否补 0,默认值:`true`"
1153
1157
  },
1154
1158
  "nut-infiniteloading/v-model": {
1155
1159
  "type": "boolean",
@@ -1208,7 +1212,7 @@
1208
1212
  "description": "属性说明:是否自动获得焦点,iOS 系统不支持该属性,默认值:`false`"
1209
1213
  },
1210
1214
  "nut-input/max-length": {
1211
- "type": "stringnumber",
1215
+ "type": "stringnumber",
1212
1216
  "description": "属性说明:限制最长输入字符,默认值:-"
1213
1217
  },
1214
1218
  "nut-input/clearable": {
@@ -1289,23 +1293,23 @@
1289
1293
  },
1290
1294
  "nut-layout/type": {
1291
1295
  "type": "string",
1292
- "description": "属性说明:布局方式,可选值为flex,默认值:-"
1296
+ "description": "属性说明:布局方式,可选值为 `flex`,默认值:`-`"
1293
1297
  },
1294
1298
  "nut-layout/gutter": {
1295
- "type": "stringnumber",
1296
- "description": "属性说明:列元素之间的间距(单位为px),默认值:-"
1299
+ "type": "string | number",
1300
+ "description": "属性说明:列元素之间的间距(单位为`px`),默认值:`-`"
1297
1301
  },
1298
1302
  "nut-layout/justify": {
1299
1303
  "type": "string",
1300
- "description": "属性说明:Flex 主轴对齐方式,可选值为 start end center space-around space-between space-evenly,默认值:start"
1304
+ "description": "属性说明:Flex 主轴对齐方式,可选值为 `start` `end` `center` `space-around` `space-between` `space-evenly`,默认值:`start`"
1301
1305
  },
1302
1306
  "nut-layout/align": {
1303
1307
  "type": "string",
1304
- "description": "属性说明:Flex 交叉轴对齐方式,可选值为 flex-start center flex-end,默认值:flex-start"
1308
+ "description": "属性说明:Flex 交叉轴对齐方式,可选值为 `flex-start` `center` `flex-end`,默认值:`flex-start`"
1305
1309
  },
1306
1310
  "nut-layout/flex-wrap": {
1307
1311
  "type": "string",
1308
- "description": "属性说明:Flex是否换行,可选值为 nowrap wrap reverse,默认值:nowrap"
1312
+ "description": "属性说明:Flex 是否换行,可选值为 `nowrap` `wrap` `reverse`,默认值:`nowrap`"
1309
1313
  },
1310
1314
  "nut-list/height": {
1311
1315
  "type": "number",
@@ -1381,75 +1385,71 @@
1381
1385
  },
1382
1386
  "nut-noticebar/direction": {
1383
1387
  "type": "string",
1384
- "description": "属性说明:滚动的方向,可选 across、vertical,默认值:across"
1388
+ "description": "属性说明:滚动的方向,可选 across、vertical,默认值:`across`"
1385
1389
  },
1386
1390
  "nut-noticebar/text": {
1387
1391
  "type": "string",
1388
- "description": "属性说明:提示的信息,默认值:空"
1392
+ "description": "属性说明:提示的信息,默认值:-"
1389
1393
  },
1390
1394
  "nut-noticebar/close-mode": {
1391
1395
  "type": "boolean",
1392
- "description": "属性说明:是否启用关闭模式,默认值:false"
1396
+ "description": "属性说明:是否启用关闭模式,默认值:`false`"
1393
1397
  },
1394
1398
  "nut-noticebar/left-icon": {
1395
1399
  "type": "string",
1396
- "description": "属性说明:close为没有左边icon,其他为自定义的图片链接,没有为默认图片,默认值:空"
1397
- },
1398
- "nut-noticebar/right-icon": {
1399
- "type": "string",
1400
- "description": "属性说明:closeMode 模式下,默认为 ‘close’,其他模式下,没有为默认图片,默认值:空"
1400
+ "description": "属性说明:close为没有左边icon,其他为自定义的图片链接,没有为默认图片,默认值:-"
1401
1401
  },
1402
1402
  "nut-noticebar/color": {
1403
1403
  "type": "string",
1404
- "description": "属性说明:导航栏的文字颜色,默认值:空"
1404
+ "description": "属性说明:导航栏的文字颜色,默认值:-"
1405
1405
  },
1406
1406
  "nut-noticebar/background": {
1407
1407
  "type": "string",
1408
- "description": "属性说明:导航栏的背景颜色,默认值:空"
1408
+ "description": "属性说明:导航栏的背景颜色,默认值:-"
1409
1409
  },
1410
1410
  "nut-noticebar/delay": {
1411
- "type": "string/number",
1412
- "description": "属性说明:延时多少秒,默认值:1"
1411
+ "type": "string | number",
1412
+ "description": "属性说明:延时多少秒,默认值:`1`"
1413
1413
  },
1414
1414
  "nut-noticebar/scrollable": {
1415
1415
  "type": "boolean",
1416
- "description": "属性说明:是否可以滚动,默认值:true"
1416
+ "description": "属性说明:是否可以滚动,默认值:`true`"
1417
1417
  },
1418
1418
  "nut-noticebar/speed": {
1419
1419
  "type": "number",
1420
- "description": "属性说明:滚动速率 (px/s),默认值:50"
1420
+ "description": "属性说明:滚动速率 (px/s),默认值:`50`"
1421
1421
  },
1422
1422
  "nut-noticebar/wrapable": {
1423
1423
  "type": "boolean",
1424
- "description": "属性说明:是否开启文本换行,默认值:false"
1424
+ "description": "属性说明:是否开启文本换行,默认值:`false`"
1425
1425
  },
1426
1426
  "nut-notify/type": {
1427
1427
  "type": "string",
1428
- "description": "属性说明:提示的信息类型(primarysuccessdangerwarning),默认值:'danger'"
1428
+ "description": "属性说明:提示的信息类型,可选值为`primary` `success` `danger` `warning`,默认值:`danger`"
1429
1429
  },
1430
1430
  "nut-notify/message": {
1431
1431
  "type": "boolean",
1432
- "description": "属性说明:展示文案,支持通过\\n换行,默认值:false"
1432
+ "description": "属性说明:展示文案,支持通过\\n换行,默认值:`false`"
1433
1433
  },
1434
1434
  "nut-notify/duration": {
1435
1435
  "type": "number",
1436
- "description": "属性说明:展示时长(ms),值为 0 时,notify 不会消失,默认值:3000"
1436
+ "description": "属性说明:展示时长(ms),值为 0 时,`notify` 不会消失,默认值:`3000`"
1437
1437
  },
1438
1438
  "nut-notify/color": {
1439
1439
  "type": "string",
1440
- "description": "属性说明:字体颜色,默认值:空"
1440
+ "description": "属性说明:字体颜色,默认值:`''`"
1441
1441
  },
1442
1442
  "nut-notify/background": {
1443
1443
  "type": "string",
1444
- "description": "属性说明:背景颜色,默认值:空"
1444
+ "description": "属性说明:背景颜色,默认值:`''`"
1445
1445
  },
1446
1446
  "nut-notify/class-name": {
1447
- "type": "string/number",
1448
- "description": "属性说明:自定义类名,默认值:1"
1447
+ "type": "string | number",
1448
+ "description": "属性说明:自定义类名,默认值:`1`"
1449
1449
  },
1450
1450
  "nut-notify/position": {
1451
1451
  "type": "string",
1452
- "description": "属性说明:自定义位置,默认值:'top'"
1452
+ "description": "属性说明:自定义位置,可选值为 `top` `bottom` `left` `right` `center`,默认值:`top`"
1453
1453
  },
1454
1454
  "nut-numberkeyboard/v-model:visible": {
1455
1455
  "type": "boolean",
@@ -1475,10 +1475,6 @@
1475
1475
  "type": "string []",
1476
1476
  "description": "属性说明:自定义键盘额外的键,默认值:数组形式最多支持添加2个,超出默认取前2项"
1477
1477
  },
1478
- "nut-numberkeyboard/overlay": {
1479
- "type": "boolean",
1480
- "description": "属性说明:是否显示遮罩,默认值:true"
1481
- },
1482
1478
  "nut-numberkeyboard/maxlength": {
1483
1479
  "type": "number | string",
1484
1480
  "description": "属性说明:输入值最大长度,结合 v-model 使用,默认值:6"
@@ -1500,7 +1496,7 @@
1500
1496
  "description": "属性说明:自定义遮罩层级,默认值:`2000`"
1501
1497
  },
1502
1498
  "nut-overlay/duration": {
1503
- "type": "string, string",
1499
+ "type": "string, number",
1504
1500
  "description": "属性说明:显示/隐藏的动画时长,单位秒,默认值:`0.3`"
1505
1501
  },
1506
1502
  "nut-overlay/overlay-class": {
@@ -1557,7 +1553,7 @@
1557
1553
  },
1558
1554
  "nut-picker/v-model:value": {
1559
1555
  "type": "array",
1560
- "description": "属性说明:默认选中项,默认值:[]"
1556
+ "description": "属性说明:默认选中项,默认值:`[]`"
1561
1557
  },
1562
1558
  "nut-picker/columns": {
1563
1559
  "type": "array",
@@ -1569,19 +1565,19 @@
1569
1565
  },
1570
1566
  "nut-picker/cancel-text": {
1571
1567
  "type": "string",
1572
- "description": "属性说明:取消按钮文案,默认值:取消"
1568
+ "description": "属性说明:取消按钮文案,默认值:`取消`"
1573
1569
  },
1574
1570
  "nut-picker/ok-text": {
1575
1571
  "type": "string",
1576
- "description": "属性说明:确定按钮文案,默认值:确定"
1572
+ "description": "属性说明:确定按钮文案,默认值:`确定`"
1577
1573
  },
1578
1574
  "nut-picker/three-dimensional": {
1579
1575
  "type": "boolean",
1580
- "description": "属性说明:是否开启3D效果,默认值:true"
1576
+ "description": "属性说明:是否开启3D效果,默认值:`true`"
1581
1577
  },
1582
1578
  "nut-picker/swipe-duration": {
1583
- "type": "numberstring",
1584
- "description": "属性说明:惯性滚动时长,默认值:1000"
1579
+ "type": "number | string",
1580
+ "description": "属性说明:惯性滚动时长,默认值:`1000`"
1585
1581
  },
1586
1582
  "nut-picker/safe-area-inset-bottom": {
1587
1583
  "type": "boolean",
@@ -1589,27 +1585,27 @@
1589
1585
  },
1590
1586
  "nut-picker/visible-option-num": {
1591
1587
  "type": "number | string",
1592
- "description": "属性说明:可见的选项个数,默认值:7"
1588
+ "description": "属性说明:可见的选项个数,默认值:`7`"
1593
1589
  },
1594
1590
  "nut-picker/option-height": {
1595
1591
  "type": "number | string",
1596
- "description": "属性说明:选项高度,默认值:36"
1592
+ "description": "属性说明:选项高度,默认值:`36`"
1597
1593
  },
1598
1594
  "nut-picker/show-toolbar": {
1599
1595
  "type": "boolean",
1600
- "description": "属性说明:是否显示顶部导航,默认值:true"
1596
+ "description": "属性说明:是否显示顶部导航,默认值:`true`"
1601
1597
  },
1602
1598
  "nut-popover/list": {
1603
1599
  "type": "list[]",
1604
- "description": "属性说明:选项列表,默认值:[]"
1600
+ "description": "属性说明:选项列表,默认值:`[]`"
1605
1601
  },
1606
1602
  "nut-popover/visible": {
1607
1603
  "type": "boolean",
1608
- "description": "属性说明:是否展示气泡弹出层,默认值:false"
1604
+ "description": "属性说明:是否展示气泡弹出层,默认值:`false`"
1609
1605
  },
1610
1606
  "nut-popover/theme": {
1611
1607
  "type": "string",
1612
- "description": "属性说明:主题风格,可选值为 dark,默认值:`light`"
1608
+ "description": "属性说明:主题风格,可选值为 `dark`,默认值:`light`"
1613
1609
  },
1614
1610
  "nut-popover/location": {
1615
1611
  "type": "string",
@@ -1617,59 +1613,59 @@
1617
1613
  },
1618
1614
  "nut-popover/offset": {
1619
1615
  "type": "[number, number]",
1620
- "description": "属性说明:出现位置的偏移量,默认值:[0, 12]"
1616
+ "description": "属性说明:出现位置的偏移量,默认值:`[0, 12]`"
1621
1617
  },
1622
1618
  "nut-popover/show-arrow": {
1623
1619
  "type": "boolean",
1624
- "description": "属性说明:是否显示小箭头,默认值:true"
1620
+ "description": "属性说明:是否显示小箭头,默认值:`true`"
1625
1621
  },
1626
1622
  "nut-popover/custom-class": {
1627
1623
  "type": "string",
1628
- "description": "属性说明:自定义 class 值,默认值:''"
1624
+ "description": "属性说明:自定义 class 值,默认值:`''`"
1629
1625
  },
1630
1626
  "nut-popover/duration": {
1631
1627
  "type": "[number, number]",
1632
- "description": "属性说明:动画时长,默认值:0.3"
1628
+ "description": "属性说明:动画时长,默认值:`0.3`"
1633
1629
  },
1634
1630
  "nut-popover/iconPrefix": {
1635
1631
  "type": "string",
1636
- "description": "属性说明:图标自定义类值,等同于 Icon 组件的[ class-prefix 属性](https://nutui.jd.com/#/zh-CN/component/icon),默认值:'nut-icon''"
1632
+ "description": "属性说明:图标自定义类值,等同于 Icon 组件的[ class-prefix 属性](https://nutui.jd.com/#/zh-CN/component/icon),默认值:`nut-icon`"
1637
1633
  },
1638
1634
  "nut-popover/overlay": {
1639
1635
  "type": "boolean",
1640
- "description": "属性说明:是否显示遮罩层,默认值:false"
1636
+ "description": "属性说明:是否显示遮罩层,默认值:`false`"
1641
1637
  },
1642
1638
  "nut-popover/overlay-class": {
1643
1639
  "type": "string",
1644
- "description": "属性说明:自定义遮罩层类名,默认值:''"
1640
+ "description": "属性说明:自定义遮罩层类名,默认值:`''`"
1645
1641
  },
1646
1642
  "nut-popover/overlay-style": {
1647
1643
  "type": "string",
1648
- "description": "属性说明:自定义遮罩层样式,默认值:''"
1644
+ "description": "属性说明:自定义遮罩层样式,默认值:`''`"
1649
1645
  },
1650
1646
  "nut-popover/close-on-click-overlay": {
1651
1647
  "type": "boolean",
1652
- "description": "属性说明:是否在点击遮罩层后关闭菜单,默认值:true"
1648
+ "description": "属性说明:是否在点击遮罩层后关闭菜单,默认值:`true`"
1653
1649
  },
1654
1650
  "nut-popover/close-on-click-action": {
1655
1651
  "type": "boolean",
1656
- "description": "属性说明:是否在点击选项后关闭,默认值:true"
1652
+ "description": "属性说明:是否在点击选项后关闭,默认值:`true`"
1657
1653
  },
1658
1654
  "nut-popover/close-on-click-outside": {
1659
1655
  "type": "boolean",
1660
- "description": "属性说明:是否在点击外部元素后关闭菜单,默认值:true"
1656
+ "description": "属性说明:是否在点击外部元素后关闭菜单,默认值:`true`"
1661
1657
  },
1662
1658
  "nut-popover/bg-color": {
1663
1659
  "type": "string",
1664
- "description": "属性说明:自定义背景色,默认值:-"
1660
+ "description": "属性说明:自定义背景色,默认值:`-`"
1665
1661
  },
1666
1662
  "nut-popover/target-id": {
1667
1663
  "type": "string",
1668
- "description": "属性说明:自定义目标元素 id,默认值:-"
1664
+ "description": "属性说明:自定义目标元素 id,默认值:`-`"
1669
1665
  },
1670
1666
  "nut-popover/arrow-offset": {
1671
1667
  "type": "number",
1672
- "description": "属性说明:小箭头的偏移量,默认值:0"
1668
+ "description": "属性说明:小箭头的偏移量,默认值:`0`"
1673
1669
  },
1674
1670
  "nut-popup/v-model:visible": {
1675
1671
  "type": "boolean",
@@ -1735,6 +1731,14 @@
1735
1731
  "type": "boolean",
1736
1732
  "description": "属性说明:是否允许挂载节点,默认值:`false`"
1737
1733
  },
1734
+ "nut-popup/overlay-class": {
1735
+ "type": "string",
1736
+ "description": "属性说明:自定义遮罩层类名,默认值:''"
1737
+ },
1738
+ "nut-popup/overlay-style": {
1739
+ "type": "string",
1740
+ "description": "属性说明:自定义遮罩层样式,默认值:''"
1741
+ },
1738
1742
  "nut-popup/safe-area-inset-bottom": {
1739
1743
  "type": "boolean",
1740
1744
  "description": "属性说明:是否开启 iphone 系列全面屏底部安全区适配,仅当 `position` 为 `bottom` 时有效,默认值:`false`"
@@ -1761,11 +1765,11 @@
1761
1765
  },
1762
1766
  "nut-price/position": {
1763
1767
  "type": "string",
1764
- "description": "属性说明:符号显示在价格前或者后,`before`、`after`,默认值:before"
1768
+ "description": "属性说明:符号显示在价格前或者后,`before`、`after`,默认值:`before`"
1765
1769
  },
1766
1770
  "nut-price/size": {
1767
1771
  "type": "string",
1768
- "description": "属性说明:价格尺寸,`large`、`normal`、`small`,默认值:large"
1772
+ "description": "属性说明:价格尺寸,`small`、`normal`、`large`,默认值:`large`"
1769
1773
  },
1770
1774
  "nut-progress/percentage": {
1771
1775
  "type": "number",
@@ -1909,7 +1913,7 @@
1909
1913
  },
1910
1914
  "nut-range/marks": {
1911
1915
  "type": "object{key:number}",
1912
- "description": "属性说明:刻度标示,默认值:{}"
1916
+ "description": "属性说明:刻度标示,默认值:`{}`"
1913
1917
  },
1914
1918
  "nut-rate/v-model": {
1915
1919
  "type": "number",
@@ -1948,64 +1952,64 @@
1948
1952
  "description": "属性说明:是否可以通过滑动手势选择评分,默认值:true"
1949
1953
  },
1950
1954
  "nut-searchbar/v-model": {
1951
- "type": "number / string",
1952
- "description": "属性说明:当前输入的值,默认值:''"
1955
+ "type": "number /",
1956
+ "description": "属性说明:当前输入的值,默认值:string"
1953
1957
  },
1954
1958
  "nut-searchbar/label": {
1955
1959
  "type": "string",
1956
- "description": "属性说明:搜索框左侧文本,默认值:''"
1960
+ "description": "属性说明:搜索框左侧文本,默认值:`''`"
1957
1961
  },
1958
1962
  "nut-searchbar/shape": {
1959
1963
  "type": "string",
1960
- "description": "属性说明:搜索框形状,可选值为 round,默认值:square"
1964
+ "description": "属性说明:搜索框形状,可选值为 `square` `round`,默认值:`square`"
1961
1965
  },
1962
1966
  "nut-searchbar/max-length": {
1963
- "type": "[number,string]",
1964
- "description": "属性说明:最大输入长度,默认值:'9999'"
1967
+ "type": "number | string",
1968
+ "description": "属性说明:最大输入长度,默认值:`9999`"
1965
1969
  },
1966
1970
  "nut-searchbar/input-type": {
1967
1971
  "type": "string",
1968
- "description": "属性说明:输入框类型,默认值:'text'"
1972
+ "description": "属性说明:输入框类型,默认值:`text`"
1969
1973
  },
1970
1974
  "nut-searchbar/placeholder": {
1971
1975
  "type": "string",
1972
- "description": "属性说明:输入框默认暗纹,默认值:'请输入'"
1976
+ "description": "属性说明:输入框默认暗纹,默认值:`请输入`"
1973
1977
  },
1974
1978
  "nut-searchbar/clearable": {
1975
1979
  "type": "boolean",
1976
- "description": "属性说明:是否展示清除按钮,默认值:true"
1980
+ "description": "属性说明:是否展示清除按钮,默认值:`true`"
1977
1981
  },
1978
1982
  "nut-searchbar/clear-icon": {
1979
- "type": "string",
1980
- "description": "属性说明:自定义清除按钮图标,默认值:\"circle-close\""
1983
+ "type": "object",
1984
+ "description": "属性说明:自定义清除按钮图标(默认使用 `@nutui/nutui-icons`),默认值:`CircleClose`"
1981
1985
  },
1982
1986
  "nut-searchbar/background": {
1983
1987
  "type": "string",
1984
- "description": "属性说明:输入框外部背景,默认值:'#fff'"
1988
+ "description": "属性说明:输入框外部背景,默认值:`#fff`"
1985
1989
  },
1986
1990
  "nut-searchbar/input-background": {
1987
1991
  "type": "string",
1988
- "description": "属性说明:输入框内部背景,默认值:'#f7f7f7'"
1992
+ "description": "属性说明:输入框内部背景,默认值:`#f7f7f7`"
1989
1993
  },
1990
1994
  "nut-searchbar/autofocus": {
1991
1995
  "type": "boolean",
1992
- "description": "属性说明:是否自动聚焦,默认值:false"
1996
+ "description": "属性说明:是否自动聚焦,默认值:`false`"
1993
1997
  },
1994
1998
  "nut-searchbar/focus-style": {
1995
1999
  "type": "object",
1996
- "description": "属性说明:聚焦时搜索框样式,默认值:-"
2000
+ "description": "属性说明:聚焦时搜索框样式,默认值:`-`"
1997
2001
  },
1998
2002
  "nut-searchbar/disabled": {
1999
2003
  "type": "boolean",
2000
- "description": "属性说明:是否禁用输入框,默认值:false"
2004
+ "description": "属性说明:是否禁用输入框,默认值:`false`"
2001
2005
  },
2002
2006
  "nut-searchbar/readonly": {
2003
2007
  "type": "boolean",
2004
- "description": "属性说明:输入框只读,默认值:false"
2008
+ "description": "属性说明:输入框只读,默认值:`false`"
2005
2009
  },
2006
2010
  "nut-searchbar/input-align": {
2007
2011
  "type": "string",
2008
- "description": "属性说明:对齐方式,可选`center` `right`,默认值:`left`"
2012
+ "description": "属性说明:对齐方式,可选`left` `center` `right`,默认值:`left`"
2009
2013
  },
2010
2014
  "nut-shortpassword/v-model": {
2011
2015
  "type": "string",
@@ -2105,27 +2109,27 @@
2105
2109
  },
2106
2110
  "nut-sku/v-model:visible": {
2107
2111
  "type": "boolean",
2108
- "description": "属性说明:是否显示商品规格弹框,默认值:false"
2112
+ "description": "属性说明:是否显示商品规格弹框,默认值:`false`"
2109
2113
  },
2110
2114
  "nut-sku/sku": {
2111
2115
  "type": "array",
2112
- "description": "属性说明:商品 sku 数据,默认值:[]"
2116
+ "description": "属性说明:商品 sku 数据,默认值:`[]`"
2113
2117
  },
2114
2118
  "nut-sku/goods": {
2115
2119
  "type": "object",
2116
2120
  "description": "属性说明:商品信息,默认值:-"
2117
2121
  },
2118
2122
  "nut-sku/stepper-max": {
2119
- "type": "[string, number]",
2120
- "description": "属性说明:设置 inputNumber 最大值,默认值:99999"
2123
+ "type": "string | number",
2124
+ "description": "属性说明:设置 inputNumber 最大值,默认值:`99999`"
2121
2125
  },
2122
2126
  "nut-sku/stepper-min": {
2123
- "type": "[string, number]",
2124
- "description": "属性说明:设置 inputNumber 最小值,默认值:1"
2127
+ "type": "string | number",
2128
+ "description": "属性说明:设置 inputNumber 最小值,默认值:`1`"
2125
2129
  },
2126
2130
  "nut-sku/btn-options": {
2127
2131
  "type": "array",
2128
- "description": "属性说明:底部按钮设置。['confirm','buy','cart' ] 分别对应确定、立即购买、加入购物车,默认值:['confirm']"
2132
+ "description": "属性说明:底部按钮设置。['confirm','buy','cart' ] 分别对应确定、立即购买、加入购物车,默认值:`['confirm']`"
2129
2133
  },
2130
2134
  "nut-sku/btn-extra-text": {
2131
2135
  "type": "string",
@@ -2133,23 +2137,23 @@
2133
2137
  },
2134
2138
  "nut-sku/stepper-title": {
2135
2139
  "type": "string",
2136
- "description": "属性说明:数量选择组件左侧文案,默认值:'购买数量'"
2140
+ "description": "属性说明:数量选择组件左侧文案,默认值:`购买数量`"
2137
2141
  },
2138
2142
  "nut-sku/stepper-extra-text": {
2139
- "type": "[function, false]",
2140
- "description": "属性说明:inputNumber 与标题之间的文案,默认值:false"
2143
+ "type": "function | false",
2144
+ "description": "属性说明:inputNumber 与标题之间的文案,默认值:`false`"
2141
2145
  },
2142
2146
  "nut-sku/buy-text": {
2143
2147
  "type": "string",
2144
- "description": "属性说明:立即购买按钮文案,默认值:立即购买"
2148
+ "description": "属性说明:立即购买按钮文案,默认值:`立即购买`"
2145
2149
  },
2146
2150
  "nut-sku/add-cart-text": {
2147
2151
  "type": "string",
2148
- "description": "属性说明:加入购物车按钮文案,默认值:加入购物车"
2152
+ "description": "属性说明:加入购物车按钮文案,默认值:`加入购物车 `"
2149
2153
  },
2150
2154
  "nut-sku/confirm-text": {
2151
2155
  "type": "string",
2152
- "description": "属性说明:确定按钮文案,默认值:确定"
2156
+ "description": "属性说明:确定按钮文案,默认值:`确定`"
2153
2157
  },
2154
2158
  "nut-steps/direction": {
2155
2159
  "type": "string",
@@ -2247,10 +2251,6 @@
2247
2251
  "type": "boolean",
2248
2252
  "description": "属性说明:滑动过程中是否禁止冒泡,默认值:true"
2249
2253
  },
2250
- "nut-swiper/is-center": {
2251
- "type": "boolean",
2252
- "description": "属性说明:是否居中展示,必须传对应的`width` 和 `height`,默认值:false"
2253
- },
2254
2254
  "nut-switch/v-model": {
2255
2255
  "type": "boolean | string | number",
2256
2256
  "description": "属性说明:开关状态,默认值:`false`"
@@ -2332,7 +2332,7 @@
2332
2332
  "description": "属性说明:条纹是否明暗交替,默认值:`false`"
2333
2333
  },
2334
2334
  "nut-tabs/v-model": {
2335
- "type": "number,string",
2335
+ "type": "number | string",
2336
2336
  "description": "属性说明:绑定当前选中标签的标识符,默认值:0"
2337
2337
  },
2338
2338
  "nut-tabs/color": {
@@ -2360,11 +2360,11 @@
2360
2360
  "description": "属性说明:是否省略过长的标题文字,默认值:true"
2361
2361
  },
2362
2362
  "nut-tabs/animated-time": {
2363
- "type": "number,string",
2363
+ "type": "number | string",
2364
2364
  "description": "属性说明:切换动画时长,单位 ms 0 代表无动画,默认值:300"
2365
2365
  },
2366
2366
  "nut-tabs/title-gutter": {
2367
- "type": "number,string",
2367
+ "type": "number | string",
2368
2368
  "description": "属性说明:标签间隙,默认值:0"
2369
2369
  },
2370
2370
  "nut-tabs/size": {
@@ -2385,15 +2385,15 @@
2385
2385
  },
2386
2386
  "nut-tag/type": {
2387
2387
  "type": "string",
2388
- "description": "属性说明:标签类型,可选值为primary success danger warning,默认值:`default`"
2388
+ "description": "属性说明:标签类型,可选值为 `primary`、`success`、`danger`、`warning`,默认值:`default`"
2389
2389
  },
2390
2390
  "nut-tag/color": {
2391
2391
  "type": "string",
2392
- "description": "属性说明:标签颜色,默认值:-"
2392
+ "description": "属性说明:标签颜色,默认值:`-`"
2393
2393
  },
2394
2394
  "nut-tag/text-color": {
2395
2395
  "type": "string",
2396
- "description": "属性说明:文本颜色,优先级高于color属性,默认值:`white`"
2396
+ "description": "属性说明:文本颜色,优先级高于 `color` 属性,默认值:`white`"
2397
2397
  },
2398
2398
  "nut-tag/plain": {
2399
2399
  "type": "boolean",
@@ -2413,43 +2413,43 @@
2413
2413
  },
2414
2414
  "nut-textarea/v-model": {
2415
2415
  "type": "string",
2416
- "description": "属性说明:输入值,支持双向绑定,默认值:-"
2416
+ "description": "属性说明:input value, supports two-way binding,默认值:`-`"
2417
2417
  },
2418
2418
  "nut-textarea/placeholder": {
2419
2419
  "type": "string",
2420
- "description": "属性说明:设置占位提示文字,默认值:`'请输入内容'`"
2420
+ "description": "属性说明:Set placeholder prompt text,默认值:`Please enter content`"
2421
2421
  },
2422
2422
  "nut-textarea/max-length": {
2423
- "type": "stringnumber",
2424
- "description": "属性说明:限制最长输入字符,默认值:-"
2423
+ "type": "string | number",
2424
+ "description": "属性说明:limit the longest input characters,默认值:`-`"
2425
2425
  },
2426
2426
  "nut-textarea/rows": {
2427
- "type": "stringnumber",
2428
- "description": "属性说明:textarea的高度,优先级高于autosize属性 `仅支持 H5`,默认值:`2`"
2427
+ "type": "string | number",
2428
+ "description": "属性说明:height of textarea, priority is higher than autosize attribute `only supports H5`,默认值:`2`"
2429
2429
  },
2430
2430
  "nut-textarea/limit-show": {
2431
2431
  "type": "boolean",
2432
- "description": "属性说明:textarea是否展示输入字符。须配合`max-length`使用,默认值:`false`"
2432
+ "description": "属性说明:Whether textarea displays input characters. Must be used with `max-length`,默认值:`false`"
2433
2433
  },
2434
2434
  "nut-textarea/autosize": {
2435
- "type": "boolean {maxheight?: number; minheight?: number}",
2436
- "description": "属性说明:是否自适应内容高度,也可传入对象, { maxHeight: 200, minHeight: 100 },单位为px,默认值:`false`"
2435
+ "type": "boolean | {maxheight?: number; minheight?: number}",
2436
+ "description": "属性说明:whether to adapt to the height of the content, or to pass in an object, such as `{ maxHeight: 200, minHeight: 100 }`, the unit is `px`,默认值:`false`"
2437
2437
  },
2438
2438
  "nut-textarea/text-align": {
2439
2439
  "type": "string",
2440
- "description": "属性说明:文本位置,可选值`left`,`center`,`right`,默认值:`left`"
2440
+ "description": "属性说明:text position, optional values `left`, `center`, `right`,默认值:`left`"
2441
2441
  },
2442
2442
  "nut-textarea/readonly": {
2443
2443
  "type": "boolean",
2444
- "description": "属性说明:只读属性,默认值:`false`"
2444
+ "description": "属性说明:read-only property,默认值:`false`"
2445
2445
  },
2446
2446
  "nut-textarea/disabled": {
2447
2447
  "type": "boolean",
2448
- "description": "属性说明:禁用属性,默认值:`false`"
2448
+ "description": "属性说明:disabled attribute,默认值:`false`"
2449
2449
  },
2450
2450
  "nut-textarea/autofocus": {
2451
2451
  "type": "boolean",
2452
- "description": "属性说明:自动获取焦点,默认值:`false`"
2452
+ "description": "属性说明:get focus automatically,默认值:`false`"
2453
2453
  },
2454
2454
  "nut-timedetail/height": {
2455
2455
  "type": "number、string",
@@ -2483,27 +2483,27 @@
2483
2483
  "type": "boolean",
2484
2484
  "description": "属性说明:背景是否锁定,默认值:`false`"
2485
2485
  },
2486
- "nut-toast/Toast.text": {
2486
+ "nut-toast/showToast.text": {
2487
2487
  "type": "message| options",
2488
2488
  "description": "属性说明:展示文字提示,默认值:toast 实例(message支持传入HTML)"
2489
2489
  },
2490
- "nut-toast/Toast.success": {
2490
+ "nut-toast/showToast.success": {
2491
2491
  "type": "message| options",
2492
2492
  "description": "属性说明:展示成功提示,默认值:toast 实例"
2493
2493
  },
2494
- "nut-toast/Toast.fail": {
2494
+ "nut-toast/showToast.fail": {
2495
2495
  "type": "message| options",
2496
2496
  "description": "属性说明:展示失败提示,默认值:toast 实例"
2497
2497
  },
2498
- "nut-toast/Toast.warn": {
2498
+ "nut-toast/showToast.warn": {
2499
2499
  "type": "message| options",
2500
2500
  "description": "属性说明:展示警告提示,默认值:toast 实例"
2501
2501
  },
2502
- "nut-toast/Toast.hide": {
2502
+ "nut-toast/showToast.hide": {
2503
2503
  "type": "默认关闭所有实例,可传id关闭指定实例",
2504
2504
  "description": "属性说明:关闭提示,默认值:void"
2505
2505
  },
2506
- "nut-toast/Toast.loading": {
2506
+ "nut-toast/showToast.loading": {
2507
2507
  "type": "message| options",
2508
2508
  "description": "属性说明:展示加载提示,默认值:toast 实例"
2509
2509
  },
@@ -2585,35 +2585,35 @@
2585
2585
  },
2586
2586
  "nut-trendarrow/digits": {
2587
2587
  "type": "number",
2588
- "description": "属性说明:小数位精度,默认值:2"
2588
+ "description": "属性说明:小数位精度,默认值:`2`"
2589
2589
  },
2590
2590
  "nut-trendarrow/show-sign": {
2591
2591
  "type": "boolean",
2592
- "description": "属性说明:是否显示加减号,默认值:false"
2592
+ "description": "属性说明:是否显示加减号,默认值:`false`"
2593
2593
  },
2594
2594
  "nut-trendarrow/show-zero": {
2595
2595
  "type": "boolean",
2596
- "description": "属性说明:是否显示 0,默认值:false"
2596
+ "description": "属性说明:是否显示 0,默认值:`false`"
2597
2597
  },
2598
2598
  "nut-trendarrow/arrow-left": {
2599
2599
  "type": "boolean",
2600
- "description": "属性说明:是否在数字左侧显示箭头,默认值:false"
2600
+ "description": "属性说明:是否在数字左侧显示箭头,默认值:`false`"
2601
2601
  },
2602
2602
  "nut-trendarrow/sync-text-color": {
2603
2603
  "type": "boolean",
2604
- "description": "属性说明:文字颜色是否与箭头同步,默认值:true"
2604
+ "description": "属性说明:文字颜色是否与箭头同步,默认值:`true`"
2605
2605
  },
2606
2606
  "nut-trendarrow/text-color": {
2607
2607
  "type": "string",
2608
- "description": "属性说明:文字颜色,默认值:'#333333'"
2608
+ "description": "属性说明:文字颜色,默认值:`#333333`"
2609
2609
  },
2610
2610
  "nut-trendarrow/rise-color": {
2611
2611
  "type": "string",
2612
- "description": "属性说明:向上箭头颜色,默认值:'#fa2c19'"
2612
+ "description": "属性说明:向上箭头颜色,默认值:`#fa2c19`"
2613
2613
  },
2614
2614
  "nut-trendarrow/drop-color": {
2615
2615
  "type": "string",
2616
- "description": "属性说明:向下箭头颜色,默认值:‘#64b578"
2616
+ "description": "属性说明:向下箭头颜色,默认值:`#64b578`"
2617
2617
  },
2618
2618
  "nut-uploader/auto-upload": {
2619
2619
  "type": "boolean",
@@ -2652,11 +2652,11 @@
2652
2652
  "description": "属性说明:图片[选取模式](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/input#htmlattrdefcapture),直接调起摄像头,默认值:false"
2653
2653
  },
2654
2654
  "nut-uploader/maximize": {
2655
- "type": "numberstring",
2655
+ "type": "number | string",
2656
2656
  "description": "属性说明:可以设定最大上传文件的大小(字节),默认值:Number.MAX_VALUE"
2657
2657
  },
2658
2658
  "nut-uploader/maximum": {
2659
- "type": "numberstring",
2659
+ "type": "number | string",
2660
2660
  "description": "属性说明:文件上传数量限制,默认值:1"
2661
2661
  },
2662
2662
  "nut-uploader/clear-input": {
@@ -2665,7 +2665,7 @@
2665
2665
  },
2666
2666
  "nut-uploader/accept": {
2667
2667
  "type": "string",
2668
- "description": "属性说明:允许上传的文件类型,[详细说明](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input/file#%E9%99%90%E5%88%B6%E5%85%81%E8%AE%B8%E7%9A%84%E6%96%87%E4%BB%B6%E7%B1%BB%E5%9E%8B),默认值:*"
2668
+ "description": "属性说明:允许上传的文件类型,[详细说明](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input/file),默认值:*"
2669
2669
  },
2670
2670
  "nut-uploader/headers": {
2671
2671
  "type": "object",
@@ -2675,10 +2675,6 @@
2675
2675
  "type": "object",
2676
2676
  "description": "属性说明:附加上传的信息 formData,默认值:{}"
2677
2677
  },
2678
- "nut-uploader/upload-icon": {
2679
- "type": "string",
2680
- "description": "属性说明:上传区域[图标名称](#/zh-CN/component/icon)或图片链接,默认值:\"photograph\""
2681
- },
2682
2678
  "nut-uploader/xhr-state": {
2683
2679
  "type": "number",
2684
2680
  "description": "属性说明:接口响应的成功状态(status)值,默认值:200"
@@ -2696,7 +2692,7 @@
2696
2692
  "description": "属性说明:是否禁用文件上传,默认值:false"
2697
2693
  },
2698
2694
  "nut-uploader/timeout": {
2699
- "type": "numberstring",
2695
+ "type": "number | string",
2700
2696
  "description": "属性说明:超时时间,单位为毫秒,默认值:1000 * 30"
2701
2697
  },
2702
2698
  "nut-uploader/before-upload": {
@@ -2752,59 +2748,59 @@
2752
2748
  "description": "属性说明:是否设置为行内播放元素(解决安卓兼容问题),默认值:false"
2753
2749
  },
2754
2750
  "nut-watermark/width": {
2755
- "type": "`number`",
2751
+ "type": "number",
2756
2752
  "description": "属性说明:水印的宽度,默认值:`120`"
2757
2753
  },
2758
2754
  "nut-watermark/height": {
2759
- "type": "`number`",
2755
+ "type": "number",
2760
2756
  "description": "属性说明:水印的高度,默认值:`64`"
2761
2757
  },
2762
2758
  "nut-watermark/rotate": {
2763
- "type": "`number`",
2759
+ "type": "number",
2764
2760
  "description": "属性说明:水印绘制时,旋转的角度,默认值:`-22`"
2765
2761
  },
2766
2762
  "nut-watermark/image": {
2767
- "type": "`string`",
2763
+ "type": "string",
2768
2764
  "description": "属性说明:图片源,建议导出 2 倍或 3 倍图,优先使用图片渲染水印,默认值:-"
2769
2765
  },
2770
2766
  "nut-watermark/image-width": {
2771
- "type": "`number`",
2767
+ "type": "number",
2772
2768
  "description": "属性说明:图片宽度,默认值:`120`"
2773
2769
  },
2774
2770
  "nut-watermark/image-height": {
2775
- "type": "`number`",
2771
+ "type": "number",
2776
2772
  "description": "属性说明:图片高度,默认值:`64`"
2777
2773
  },
2778
2774
  "nut-watermark/z-index": {
2779
- "type": "`number`",
2775
+ "type": "number",
2780
2776
  "description": "属性说明:追加的水印元素的 z-index,默认值:`2000`"
2781
2777
  },
2782
2778
  "nut-watermark/content": {
2783
- "type": "`string`",
2779
+ "type": "string",
2784
2780
  "description": "属性说明:水印文字内容,默认值:-"
2785
2781
  },
2786
2782
  "nut-watermark/font-color": {
2787
- "type": "`string`",
2783
+ "type": "string",
2788
2784
  "description": "属性说明:水印文字颜色,默认值:`rgba(0, 0, 0, .15)`"
2789
2785
  },
2790
2786
  "nut-watermark/font-size": {
2791
- "type": "`string | number`",
2787
+ "type": "string | number",
2792
2788
  "description": "属性说明:文字大小,默认值:`16`"
2793
2789
  },
2794
2790
  "nut-watermark/gap-x": {
2795
- "type": "`number`",
2791
+ "type": "number",
2796
2792
  "description": "属性说明:水印之间的水平间距,默认值:`24`"
2797
2793
  },
2798
2794
  "nut-watermark/gap-y": {
2799
- "type": "`number`",
2795
+ "type": "number",
2800
2796
  "description": "属性说明:水印之间的垂直间距,默认值:`48`"
2801
2797
  },
2802
2798
  "nut-watermark/full-page": {
2803
- "type": "`boolean`",
2799
+ "type": "boolean",
2804
2800
  "description": "属性说明:是否覆盖整个页面,默认值:`true`"
2805
2801
  },
2806
2802
  "nut-watermark/font-family": {
2807
- "type": "`boolean`",
2803
+ "type": "boolean",
2808
2804
  "description": "属性说明:水印文字字体,默认值:`true`"
2809
2805
  }
2810
2806
  }