zartui 0.1.112 → 3.0.2

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 (594) hide show
  1. package/README.md +6 -2
  2. package/es/badge/Badge.d.ts +66 -0
  3. package/es/badge/Badge.mjs +95 -0
  4. package/es/badge/index.css +1 -0
  5. package/es/badge/index.d.ts +49 -0
  6. package/es/badge/index.mjs +8 -0
  7. package/es/badge/style/index.d.ts +1 -0
  8. package/es/badge/style/index.mjs +2 -0
  9. package/es/button/Button.d.ts +154 -0
  10. package/es/button/Button.mjs +166 -0
  11. package/es/button/index.css +1 -0
  12. package/es/button/index.d.ts +113 -0
  13. package/es/button/index.mjs +8 -0
  14. package/es/button/style/index.d.ts +1 -0
  15. package/es/button/style/index.mjs +5 -0
  16. package/es/button/types.d.ts +5 -0
  17. package/es/button/types.mjs +0 -0
  18. package/es/cell/Cell.d.ts +128 -0
  19. package/es/cell/Cell.mjs +132 -0
  20. package/es/cell/index.css +1 -0
  21. package/es/cell/index.d.ts +74 -0
  22. package/es/cell/index.mjs +8 -0
  23. package/es/cell/style/index.d.ts +1 -0
  24. package/es/cell/style/index.mjs +4 -0
  25. package/es/col/Col.d.ts +38 -0
  26. package/es/col/Col.mjs +63 -0
  27. package/es/col/index.css +1 -0
  28. package/es/col/index.d.ts +31 -0
  29. package/es/col/index.mjs +8 -0
  30. package/es/col/style/index.d.ts +1 -0
  31. package/es/col/style/index.mjs +3 -0
  32. package/es/composables/on-popup-reopen.d.ts +3 -0
  33. package/es/composables/on-popup-reopen.mjs +16 -0
  34. package/es/composables/use-expose.d.ts +1 -0
  35. package/es/composables/use-expose.mjs +11 -0
  36. package/es/composables/use-height.d.ts +2 -0
  37. package/es/composables/use-height.mjs +20 -0
  38. package/es/composables/use-id.d.ts +1 -0
  39. package/es/composables/use-id.mjs +13 -0
  40. package/es/composables/use-lazy-render.d.ts +2 -0
  41. package/es/composables/use-lazy-render.mjs +17 -0
  42. package/es/composables/use-lock-scroll.d.ts +2 -0
  43. package/es/composables/use-lock-scroll.mjs +56 -0
  44. package/es/composables/use-placeholder.d.ts +3 -0
  45. package/es/composables/use-placeholder.mjs +14 -0
  46. package/es/composables/use-refs.d.ts +2 -0
  47. package/es/composables/use-refs.mjs +20 -0
  48. package/es/composables/use-route.d.ts +13 -0
  49. package/es/composables/use-route.mjs +29 -0
  50. package/es/composables/use-tab-status.d.ts +3 -0
  51. package/es/composables/use-tab-status.mjs +7 -0
  52. package/es/composables/use-touch.d.ts +16 -0
  53. package/es/composables/use-touch.mjs +61 -0
  54. package/es/composables/use-visibility-change.d.ts +2 -0
  55. package/es/composables/use-visibility-change.mjs +30 -0
  56. package/es/config-provider/ConfigProvider.d.ts +47 -0
  57. package/es/config-provider/ConfigProvider.mjs +64 -0
  58. package/es/config-provider/index.d.ts +33 -0
  59. package/es/config-provider/index.mjs +8 -0
  60. package/es/config-provider/style/index.d.ts +1 -0
  61. package/es/config-provider/style/index.mjs +1 -0
  62. package/es/divider/Divider.d.ts +40 -0
  63. package/es/divider/Divider.mjs +31 -0
  64. package/es/divider/index.css +1 -0
  65. package/es/divider/index.d.ts +32 -0
  66. package/es/divider/index.mjs +8 -0
  67. package/es/divider/style/index.d.ts +1 -0
  68. package/es/divider/style/index.mjs +2 -0
  69. package/es/empty/Empty.d.ts +29 -0
  70. package/es/empty/Empty.mjs +58 -0
  71. package/es/empty/Images.d.ts +4 -0
  72. package/es/empty/Images.mjs +2104 -0
  73. package/es/empty/index.css +1 -0
  74. package/es/empty/index.d.ts +24 -0
  75. package/es/empty/index.mjs +8 -0
  76. package/es/empty/style/index.d.ts +1 -0
  77. package/es/empty/style/index.mjs +2 -0
  78. package/es/icon/Icon.d.ts +45 -0
  79. package/es/icon/Icon.mjs +59 -0
  80. package/es/icon/config.d.ts +41 -0
  81. package/es/icon/config.mjs +139 -0
  82. package/es/icon/index.css +1 -0
  83. package/es/icon/index.d.ts +35 -0
  84. package/es/icon/index.mjs +8 -0
  85. package/es/icon/style/index.d.ts +1 -0
  86. package/es/icon/style/index.mjs +3 -0
  87. package/es/index.d.ts +35 -0
  88. package/es/index.mjs +105 -0
  89. package/es/list/List.d.ts +74 -0
  90. package/es/list/List.mjs +147 -0
  91. package/es/list/index.css +1 -0
  92. package/es/list/index.d.ts +59 -0
  93. package/es/list/index.mjs +8 -0
  94. package/es/list/style/index.d.ts +1 -0
  95. package/es/list/style/index.mjs +4 -0
  96. package/es/list/types.d.ts +7 -0
  97. package/es/list/types.mjs +0 -0
  98. package/es/loading/Loading.d.ts +39 -0
  99. package/es/loading/Loading.mjs +114 -0
  100. package/es/loading/index.css +1 -0
  101. package/es/loading/index.d.ts +31 -0
  102. package/es/loading/index.mjs +8 -0
  103. package/es/loading/style/index.d.ts +1 -0
  104. package/es/loading/style/index.mjs +2 -0
  105. package/es/locale/index.d.ts +7 -0
  106. package/es/locale/index.mjs +24 -0
  107. package/es/locale/lang/en-US.d.ts +62 -0
  108. package/es/locale/lang/en-US.mjs +64 -0
  109. package/es/locale/lang/zh-CN.d.ts +62 -0
  110. package/es/locale/lang/zh-CN.mjs +64 -0
  111. package/es/locale/style/index.d.ts +1 -0
  112. package/es/locale/style/index.mjs +1 -0
  113. package/es/notice-bar/NoticeBar.d.ts +71 -0
  114. package/es/notice-bar/NoticeBar.mjs +165 -0
  115. package/es/notice-bar/index.css +1 -0
  116. package/es/notice-bar/index.d.ts +56 -0
  117. package/es/notice-bar/index.mjs +8 -0
  118. package/es/notice-bar/style/index.d.ts +1 -0
  119. package/es/notice-bar/style/index.mjs +4 -0
  120. package/es/notice-bar/types.d.ts +7 -0
  121. package/es/notice-bar/types.mjs +0 -0
  122. package/es/notify/Notify.d.ts +134 -0
  123. package/es/notify/Notify.mjs +44 -0
  124. package/es/notify/function-call.d.ts +6 -0
  125. package/es/notify/function-call.mjs +68 -0
  126. package/es/notify/index.css +1 -0
  127. package/es/notify/index.d.ts +99 -0
  128. package/es/notify/index.mjs +18 -0
  129. package/es/notify/style/index.d.ts +1 -0
  130. package/es/notify/style/index.mjs +6 -0
  131. package/es/notify/types.d.ts +17 -0
  132. package/es/notify/types.mjs +0 -0
  133. package/es/number-keyboard/NumberKeyboard.d.ts +162 -0
  134. package/es/number-keyboard/NumberKeyboard.mjs +243 -0
  135. package/es/number-keyboard/NumberKeyboardKey.d.ts +24 -0
  136. package/es/number-keyboard/NumberKeyboardKey.mjs +89 -0
  137. package/es/number-keyboard/index.css +1 -0
  138. package/es/number-keyboard/index.d.ts +119 -0
  139. package/es/number-keyboard/index.mjs +8 -0
  140. package/es/number-keyboard/style/index.d.ts +1 -0
  141. package/es/number-keyboard/style/index.mjs +9 -0
  142. package/es/overlay/Overlay.d.ts +51 -0
  143. package/es/overlay/Overlay.mjs +47 -0
  144. package/es/overlay/index.css +1 -0
  145. package/es/overlay/index.d.ts +40 -0
  146. package/es/overlay/index.mjs +8 -0
  147. package/es/overlay/style/index.d.ts +1 -0
  148. package/es/overlay/style/index.mjs +2 -0
  149. package/es/password-input/PasswordInput.d.ts +63 -0
  150. package/es/password-input/PasswordInput.mjs +78 -0
  151. package/es/password-input/index.css +1 -0
  152. package/es/password-input/index.d.ts +49 -0
  153. package/es/password-input/index.mjs +8 -0
  154. package/es/password-input/style/index.d.ts +1 -0
  155. package/es/password-input/style/index.mjs +2 -0
  156. package/es/popup/Popup.d.ts +165 -0
  157. package/es/popup/Popup.mjs +205 -0
  158. package/es/popup/index.css +1 -0
  159. package/es/popup/index.d.ts +123 -0
  160. package/es/popup/index.mjs +8 -0
  161. package/es/popup/shared.d.ts +30 -0
  162. package/es/popup/shared.mjs +22 -0
  163. package/es/popup/style/index.d.ts +1 -0
  164. package/es/popup/style/index.mjs +5 -0
  165. package/es/popup/types.d.ts +8 -0
  166. package/es/popup/types.mjs +0 -0
  167. package/es/pull-refresh/PullRefresh.d.ts +75 -0
  168. package/es/pull-refresh/PullRefresh.mjs +191 -0
  169. package/es/pull-refresh/index.css +1 -0
  170. package/es/pull-refresh/index.d.ts +58 -0
  171. package/es/pull-refresh/index.mjs +8 -0
  172. package/es/pull-refresh/style/index.d.ts +1 -0
  173. package/es/pull-refresh/style/index.mjs +3 -0
  174. package/es/rate/Rate.d.ts +107 -0
  175. package/es/rate/Rate.mjs +217 -0
  176. package/es/rate/index.css +1 -0
  177. package/es/rate/index.d.ts +80 -0
  178. package/es/rate/index.mjs +8 -0
  179. package/es/rate/style/index.d.ts +1 -0
  180. package/es/rate/style/index.mjs +4 -0
  181. package/es/row/Row.d.ts +64 -0
  182. package/es/row/Row.mjs +91 -0
  183. package/es/row/index.css +1 -0
  184. package/es/row/index.d.ts +42 -0
  185. package/es/row/index.mjs +8 -0
  186. package/es/row/style/index.d.ts +1 -0
  187. package/es/row/style/index.mjs +2 -0
  188. package/es/stepper/Stepper.d.ts +181 -0
  189. package/es/stepper/Stepper.mjs +258 -0
  190. package/es/stepper/index.css +1 -0
  191. package/es/stepper/index.d.ts +132 -0
  192. package/es/stepper/index.mjs +8 -0
  193. package/es/stepper/style/index.d.ts +1 -0
  194. package/es/stepper/style/index.mjs +4 -0
  195. package/es/sticky/Sticky.d.ts +58 -0
  196. package/es/sticky/Sticky.mjs +119 -0
  197. package/es/sticky/index.css +1 -0
  198. package/es/sticky/index.d.ts +45 -0
  199. package/es/sticky/index.mjs +8 -0
  200. package/es/sticky/style/index.d.ts +1 -0
  201. package/es/sticky/style/index.mjs +2 -0
  202. package/es/style/animation.css +1 -0
  203. package/es/style/base.css +1 -0
  204. package/es/style/css-variables.css +1 -0
  205. package/es/style/mixins/clearfix.css +0 -0
  206. package/es/style/mixins/ellipsis.css +0 -0
  207. package/es/style/mixins/hairline.css +0 -0
  208. package/es/style/normalize.css +1 -0
  209. package/es/swipe/Swipe.d.ts +121 -0
  210. package/es/swipe/Swipe.mjs +353 -0
  211. package/es/swipe/index.css +1 -0
  212. package/es/swipe/index.d.ts +90 -0
  213. package/es/swipe/index.mjs +8 -0
  214. package/es/swipe/style/index.d.ts +1 -0
  215. package/es/swipe/style/index.mjs +2 -0
  216. package/es/swipe/types.d.ts +31 -0
  217. package/es/swipe/types.mjs +0 -0
  218. package/es/swipe-item/SwipeItem.d.ts +2 -0
  219. package/es/swipe-item/SwipeItem.mjs +82 -0
  220. package/es/swipe-item/index.css +1 -0
  221. package/es/swipe-item/index.d.ts +7 -0
  222. package/es/swipe-item/index.mjs +8 -0
  223. package/es/swipe-item/style/index.d.ts +1 -0
  224. package/es/swipe-item/style/index.mjs +3 -0
  225. package/es/switch/Switch.d.ts +58 -0
  226. package/es/switch/Switch.mjs +85 -0
  227. package/es/switch/index.css +1 -0
  228. package/es/switch/index.d.ts +46 -0
  229. package/es/switch/index.mjs +8 -0
  230. package/es/switch/style/index.d.ts +1 -0
  231. package/es/switch/style/index.mjs +3 -0
  232. package/es/tab/Tab.d.ts +58 -0
  233. package/es/tab/Tab.mjs +113 -0
  234. package/es/tab/index.css +1 -0
  235. package/es/tab/index.d.ts +45 -0
  236. package/es/tab/index.mjs +8 -0
  237. package/es/tab/style/index.d.ts +1 -0
  238. package/es/tab/style/index.mjs +7 -0
  239. package/es/tabs/Tabs.d.ts +154 -0
  240. package/es/tabs/Tabs.mjs +352 -0
  241. package/es/tabs/TabsContent.d.ts +43 -0
  242. package/es/tabs/TabsContent.mjs +64 -0
  243. package/es/tabs/TabsTitle.d.ts +45 -0
  244. package/es/tabs/TabsTitle.mjs +90 -0
  245. package/es/tabs/index.css +1 -0
  246. package/es/tabs/index.d.ts +114 -0
  247. package/es/tabs/index.mjs +8 -0
  248. package/es/tabs/style/index.d.ts +1 -0
  249. package/es/tabs/style/index.mjs +5 -0
  250. package/es/tabs/types.d.ts +23 -0
  251. package/es/tabs/types.mjs +0 -0
  252. package/es/tabs/utils.d.ts +3 -0
  253. package/es/tabs/utils.mjs +37 -0
  254. package/es/toast/Toast.d.ts +112 -0
  255. package/es/toast/Toast.mjs +119 -0
  256. package/es/toast/function-call.d.ts +10 -0
  257. package/es/toast/function-call.mjs +142 -0
  258. package/es/toast/index.css +1 -0
  259. package/es/toast/index.d.ts +79 -0
  260. package/es/toast/index.mjs +26 -0
  261. package/es/toast/lock-click.d.ts +1 -0
  262. package/es/toast/lock-click.mjs +17 -0
  263. package/es/toast/style/index.d.ts +1 -0
  264. package/es/toast/style/index.mjs +7 -0
  265. package/es/toast/types.d.ts +36 -0
  266. package/es/toast/types.mjs +0 -0
  267. package/es/utils/basic.d.ts +18 -0
  268. package/es/utils/basic.mjs +32 -0
  269. package/es/utils/constant.d.ts +8 -0
  270. package/es/utils/constant.mjs +18 -0
  271. package/es/utils/create.d.ts +17 -0
  272. package/es/utils/create.mjs +50 -0
  273. package/es/utils/deep-assign.d.ts +3 -0
  274. package/es/utils/deep-assign.mjs +22 -0
  275. package/es/utils/deep-clone.d.ts +1 -0
  276. package/es/utils/deep-clone.mjs +20 -0
  277. package/es/utils/dom.d.ts +12 -0
  278. package/es/utils/dom.mjs +67 -0
  279. package/es/utils/format.d.ts +13 -0
  280. package/es/utils/format.mjs +120 -0
  281. package/es/utils/index.d.ts +9 -0
  282. package/es/utils/index.mjs +9 -0
  283. package/es/utils/interceptor.d.ts +6 -0
  284. package/es/utils/interceptor.mjs +29 -0
  285. package/es/utils/mount-component.d.ts +14 -0
  286. package/es/utils/mount-component.mjs +39 -0
  287. package/es/utils/props.d.ts +31 -0
  288. package/es/utils/props.mjs +36 -0
  289. package/es/utils/validate.d.ts +9 -0
  290. package/es/utils/validate.mjs +22 -0
  291. package/es/utils/with-install.d.ts +13 -0
  292. package/es/utils/with-install.mjs +12 -0
  293. package/es/vue-sfc-shim.d.ts +6 -0
  294. package/es/vue-tsx-shim.d.ts +16 -0
  295. package/lib/badge/Badge.d.ts +66 -0
  296. package/lib/badge/Badge.js +114 -0
  297. package/lib/badge/index.css +1 -0
  298. package/lib/badge/index.d.ts +49 -0
  299. package/lib/badge/index.js +33 -0
  300. package/lib/badge/style/index.d.ts +1 -0
  301. package/lib/badge/style/index.js +2 -0
  302. package/lib/button/Button.d.ts +154 -0
  303. package/lib/button/Button.js +185 -0
  304. package/lib/button/index.css +1 -0
  305. package/lib/button/index.d.ts +113 -0
  306. package/lib/button/index.js +33 -0
  307. package/lib/button/style/index.d.ts +1 -0
  308. package/lib/button/style/index.js +5 -0
  309. package/lib/button/types.d.ts +5 -0
  310. package/lib/button/types.js +15 -0
  311. package/lib/cell/Cell.d.ts +128 -0
  312. package/lib/cell/Cell.js +151 -0
  313. package/lib/cell/index.css +1 -0
  314. package/lib/cell/index.d.ts +74 -0
  315. package/lib/cell/index.js +33 -0
  316. package/lib/cell/style/index.d.ts +1 -0
  317. package/lib/cell/style/index.js +4 -0
  318. package/lib/col/Col.d.ts +38 -0
  319. package/lib/col/Col.js +82 -0
  320. package/lib/col/index.css +1 -0
  321. package/lib/col/index.d.ts +31 -0
  322. package/lib/col/index.js +33 -0
  323. package/lib/col/style/index.d.ts +1 -0
  324. package/lib/col/style/index.js +3 -0
  325. package/lib/composables/on-popup-reopen.d.ts +3 -0
  326. package/lib/composables/on-popup-reopen.js +35 -0
  327. package/lib/composables/use-expose.d.ts +1 -0
  328. package/lib/composables/use-expose.js +30 -0
  329. package/lib/composables/use-height.d.ts +2 -0
  330. package/lib/composables/use-height.js +39 -0
  331. package/lib/composables/use-id.d.ts +1 -0
  332. package/lib/composables/use-id.js +32 -0
  333. package/lib/composables/use-lazy-render.d.ts +2 -0
  334. package/lib/composables/use-lazy-render.js +36 -0
  335. package/lib/composables/use-lock-scroll.d.ts +2 -0
  336. package/lib/composables/use-lock-scroll.js +75 -0
  337. package/lib/composables/use-placeholder.d.ts +3 -0
  338. package/lib/composables/use-placeholder.js +33 -0
  339. package/lib/composables/use-refs.d.ts +2 -0
  340. package/lib/composables/use-refs.js +39 -0
  341. package/lib/composables/use-route.d.ts +13 -0
  342. package/lib/composables/use-route.js +46 -0
  343. package/lib/composables/use-tab-status.d.ts +3 -0
  344. package/lib/composables/use-tab-status.js +26 -0
  345. package/lib/composables/use-touch.d.ts +16 -0
  346. package/lib/composables/use-touch.js +80 -0
  347. package/lib/composables/use-visibility-change.d.ts +2 -0
  348. package/lib/composables/use-visibility-change.js +49 -0
  349. package/lib/config-provider/ConfigProvider.d.ts +47 -0
  350. package/lib/config-provider/ConfigProvider.js +83 -0
  351. package/lib/config-provider/index.d.ts +33 -0
  352. package/lib/config-provider/index.js +33 -0
  353. package/lib/config-provider/style/index.d.ts +1 -0
  354. package/lib/config-provider/style/index.js +1 -0
  355. package/lib/divider/Divider.d.ts +40 -0
  356. package/lib/divider/Divider.js +50 -0
  357. package/lib/divider/index.css +1 -0
  358. package/lib/divider/index.d.ts +32 -0
  359. package/lib/divider/index.js +33 -0
  360. package/lib/divider/style/index.d.ts +1 -0
  361. package/lib/divider/style/index.js +2 -0
  362. package/lib/empty/Empty.d.ts +29 -0
  363. package/lib/empty/Empty.js +77 -0
  364. package/lib/empty/Images.d.ts +4 -0
  365. package/lib/empty/Images.js +2123 -0
  366. package/lib/empty/index.css +1 -0
  367. package/lib/empty/index.d.ts +24 -0
  368. package/lib/empty/index.js +33 -0
  369. package/lib/empty/style/index.d.ts +1 -0
  370. package/lib/empty/style/index.js +2 -0
  371. package/lib/icon/Icon.d.ts +45 -0
  372. package/lib/icon/Icon.js +78 -0
  373. package/lib/icon/config.d.ts +41 -0
  374. package/lib/icon/config.js +158 -0
  375. package/lib/icon/index.css +1 -0
  376. package/lib/icon/index.d.ts +35 -0
  377. package/lib/icon/index.js +33 -0
  378. package/lib/icon/style/index.d.ts +1 -0
  379. package/lib/icon/style/index.js +3 -0
  380. package/lib/index.css +1 -0
  381. package/lib/index.d.ts +35 -0
  382. package/lib/index.js +125 -0
  383. package/lib/list/List.d.ts +74 -0
  384. package/lib/list/List.js +166 -0
  385. package/lib/list/index.css +1 -0
  386. package/lib/list/index.d.ts +59 -0
  387. package/lib/list/index.js +33 -0
  388. package/lib/list/style/index.d.ts +1 -0
  389. package/lib/list/style/index.js +4 -0
  390. package/lib/list/types.d.ts +7 -0
  391. package/lib/list/types.js +15 -0
  392. package/lib/loading/Loading.d.ts +39 -0
  393. package/lib/loading/Loading.js +133 -0
  394. package/lib/loading/index.css +1 -0
  395. package/lib/loading/index.d.ts +31 -0
  396. package/lib/loading/index.js +33 -0
  397. package/lib/loading/style/index.d.ts +1 -0
  398. package/lib/loading/style/index.js +2 -0
  399. package/lib/locale/index.d.ts +7 -0
  400. package/lib/locale/index.js +49 -0
  401. package/lib/locale/lang/en-US.d.ts +62 -0
  402. package/lib/locale/lang/en-US.js +83 -0
  403. package/lib/locale/lang/zh-CN.d.ts +62 -0
  404. package/lib/locale/lang/zh-CN.js +83 -0
  405. package/lib/locale/style/index.d.ts +1 -0
  406. package/lib/locale/style/index.js +1 -0
  407. package/lib/notice-bar/NoticeBar.d.ts +71 -0
  408. package/lib/notice-bar/NoticeBar.js +190 -0
  409. package/lib/notice-bar/index.css +1 -0
  410. package/lib/notice-bar/index.d.ts +56 -0
  411. package/lib/notice-bar/index.js +33 -0
  412. package/lib/notice-bar/style/index.d.ts +1 -0
  413. package/lib/notice-bar/style/index.js +4 -0
  414. package/lib/notice-bar/types.d.ts +7 -0
  415. package/lib/notice-bar/types.js +15 -0
  416. package/lib/notify/Notify.d.ts +134 -0
  417. package/lib/notify/Notify.js +63 -0
  418. package/lib/notify/function-call.d.ts +6 -0
  419. package/lib/notify/function-call.js +93 -0
  420. package/lib/notify/index.css +1 -0
  421. package/lib/notify/index.d.ts +99 -0
  422. package/lib/notify/index.js +38 -0
  423. package/lib/notify/style/index.d.ts +1 -0
  424. package/lib/notify/style/index.js +6 -0
  425. package/lib/notify/types.d.ts +17 -0
  426. package/lib/notify/types.js +15 -0
  427. package/lib/number-keyboard/NumberKeyboard.d.ts +162 -0
  428. package/lib/number-keyboard/NumberKeyboard.js +268 -0
  429. package/lib/number-keyboard/NumberKeyboardKey.d.ts +24 -0
  430. package/lib/number-keyboard/NumberKeyboardKey.js +114 -0
  431. package/lib/number-keyboard/index.css +1 -0
  432. package/lib/number-keyboard/index.d.ts +119 -0
  433. package/lib/number-keyboard/index.js +33 -0
  434. package/lib/number-keyboard/style/index.d.ts +1 -0
  435. package/lib/number-keyboard/style/index.js +9 -0
  436. package/lib/overlay/Overlay.d.ts +51 -0
  437. package/lib/overlay/Overlay.js +66 -0
  438. package/lib/overlay/index.css +1 -0
  439. package/lib/overlay/index.d.ts +40 -0
  440. package/lib/overlay/index.js +33 -0
  441. package/lib/overlay/style/index.d.ts +1 -0
  442. package/lib/overlay/style/index.js +2 -0
  443. package/lib/password-input/PasswordInput.d.ts +63 -0
  444. package/lib/password-input/PasswordInput.js +97 -0
  445. package/lib/password-input/index.css +1 -0
  446. package/lib/password-input/index.d.ts +49 -0
  447. package/lib/password-input/index.js +33 -0
  448. package/lib/password-input/style/index.d.ts +1 -0
  449. package/lib/password-input/style/index.js +2 -0
  450. package/lib/popup/Popup.d.ts +165 -0
  451. package/lib/popup/Popup.js +224 -0
  452. package/lib/popup/index.css +1 -0
  453. package/lib/popup/index.d.ts +123 -0
  454. package/lib/popup/index.js +33 -0
  455. package/lib/popup/shared.d.ts +30 -0
  456. package/lib/popup/shared.js +41 -0
  457. package/lib/popup/style/index.d.ts +1 -0
  458. package/lib/popup/style/index.js +5 -0
  459. package/lib/popup/types.d.ts +8 -0
  460. package/lib/popup/types.js +15 -0
  461. package/lib/pull-refresh/PullRefresh.d.ts +75 -0
  462. package/lib/pull-refresh/PullRefresh.js +210 -0
  463. package/lib/pull-refresh/index.css +1 -0
  464. package/lib/pull-refresh/index.d.ts +58 -0
  465. package/lib/pull-refresh/index.js +33 -0
  466. package/lib/pull-refresh/style/index.d.ts +1 -0
  467. package/lib/pull-refresh/style/index.js +3 -0
  468. package/lib/rate/Rate.d.ts +107 -0
  469. package/lib/rate/Rate.js +236 -0
  470. package/lib/rate/index.css +1 -0
  471. package/lib/rate/index.d.ts +80 -0
  472. package/lib/rate/index.js +33 -0
  473. package/lib/rate/style/index.d.ts +1 -0
  474. package/lib/rate/style/index.js +4 -0
  475. package/lib/row/Row.d.ts +64 -0
  476. package/lib/row/Row.js +110 -0
  477. package/lib/row/index.css +1 -0
  478. package/lib/row/index.d.ts +42 -0
  479. package/lib/row/index.js +33 -0
  480. package/lib/row/style/index.d.ts +1 -0
  481. package/lib/row/style/index.js +2 -0
  482. package/lib/stepper/Stepper.d.ts +181 -0
  483. package/lib/stepper/Stepper.js +283 -0
  484. package/lib/stepper/index.css +1 -0
  485. package/lib/stepper/index.d.ts +132 -0
  486. package/lib/stepper/index.js +33 -0
  487. package/lib/stepper/style/index.d.ts +1 -0
  488. package/lib/stepper/style/index.js +4 -0
  489. package/lib/sticky/Sticky.d.ts +58 -0
  490. package/lib/sticky/Sticky.js +138 -0
  491. package/lib/sticky/index.css +1 -0
  492. package/lib/sticky/index.d.ts +45 -0
  493. package/lib/sticky/index.js +33 -0
  494. package/lib/sticky/style/index.d.ts +1 -0
  495. package/lib/sticky/style/index.js +2 -0
  496. package/lib/style/animation.css +1 -0
  497. package/lib/style/base.css +1 -0
  498. package/lib/style/css-variables.css +1 -0
  499. package/lib/style/mixins/clearfix.css +0 -0
  500. package/lib/style/mixins/ellipsis.css +0 -0
  501. package/lib/style/mixins/hairline.css +0 -0
  502. package/lib/style/normalize.css +1 -0
  503. package/lib/swipe/Swipe.d.ts +121 -0
  504. package/lib/swipe/Swipe.js +372 -0
  505. package/lib/swipe/index.css +1 -0
  506. package/lib/swipe/index.d.ts +90 -0
  507. package/lib/swipe/index.js +33 -0
  508. package/lib/swipe/style/index.d.ts +1 -0
  509. package/lib/swipe/style/index.js +2 -0
  510. package/lib/swipe/types.d.ts +31 -0
  511. package/lib/swipe/types.js +15 -0
  512. package/lib/swipe-item/SwipeItem.d.ts +2 -0
  513. package/lib/swipe-item/SwipeItem.js +101 -0
  514. package/lib/swipe-item/index.css +1 -0
  515. package/lib/swipe-item/index.d.ts +7 -0
  516. package/lib/swipe-item/index.js +33 -0
  517. package/lib/swipe-item/style/index.d.ts +1 -0
  518. package/lib/swipe-item/style/index.js +3 -0
  519. package/lib/switch/Switch.d.ts +58 -0
  520. package/lib/switch/Switch.js +104 -0
  521. package/lib/switch/index.css +1 -0
  522. package/lib/switch/index.d.ts +46 -0
  523. package/lib/switch/index.js +33 -0
  524. package/lib/switch/style/index.d.ts +1 -0
  525. package/lib/switch/style/index.js +3 -0
  526. package/lib/tab/Tab.d.ts +58 -0
  527. package/lib/tab/Tab.js +132 -0
  528. package/lib/tab/index.css +1 -0
  529. package/lib/tab/index.d.ts +45 -0
  530. package/lib/tab/index.js +33 -0
  531. package/lib/tab/style/index.d.ts +1 -0
  532. package/lib/tab/style/index.js +7 -0
  533. package/lib/tabs/Tabs.d.ts +154 -0
  534. package/lib/tabs/Tabs.js +377 -0
  535. package/lib/tabs/TabsContent.d.ts +43 -0
  536. package/lib/tabs/TabsContent.js +83 -0
  537. package/lib/tabs/TabsTitle.d.ts +45 -0
  538. package/lib/tabs/TabsTitle.js +109 -0
  539. package/lib/tabs/index.css +1 -0
  540. package/lib/tabs/index.d.ts +114 -0
  541. package/lib/tabs/index.js +33 -0
  542. package/lib/tabs/style/index.d.ts +1 -0
  543. package/lib/tabs/style/index.js +5 -0
  544. package/lib/tabs/types.d.ts +23 -0
  545. package/lib/tabs/types.js +15 -0
  546. package/lib/tabs/utils.d.ts +3 -0
  547. package/lib/tabs/utils.js +56 -0
  548. package/lib/toast/Toast.d.ts +112 -0
  549. package/lib/toast/Toast.js +138 -0
  550. package/lib/toast/function-call.d.ts +10 -0
  551. package/lib/toast/function-call.js +167 -0
  552. package/lib/toast/index.css +1 -0
  553. package/lib/toast/index.d.ts +79 -0
  554. package/lib/toast/index.js +42 -0
  555. package/lib/toast/lock-click.d.ts +1 -0
  556. package/lib/toast/lock-click.js +36 -0
  557. package/lib/toast/style/index.d.ts +1 -0
  558. package/lib/toast/style/index.js +7 -0
  559. package/lib/toast/types.d.ts +36 -0
  560. package/lib/toast/types.js +15 -0
  561. package/lib/utils/basic.d.ts +18 -0
  562. package/lib/utils/basic.js +51 -0
  563. package/lib/utils/constant.d.ts +8 -0
  564. package/lib/utils/constant.js +37 -0
  565. package/lib/utils/create.d.ts +17 -0
  566. package/lib/utils/create.js +75 -0
  567. package/lib/utils/deep-assign.d.ts +3 -0
  568. package/lib/utils/deep-assign.js +41 -0
  569. package/lib/utils/deep-clone.d.ts +1 -0
  570. package/lib/utils/deep-clone.js +39 -0
  571. package/lib/utils/dom.d.ts +12 -0
  572. package/lib/utils/dom.js +86 -0
  573. package/lib/utils/format.d.ts +13 -0
  574. package/lib/utils/format.js +139 -0
  575. package/lib/utils/index.d.ts +9 -0
  576. package/lib/utils/index.js +25 -0
  577. package/lib/utils/interceptor.d.ts +6 -0
  578. package/lib/utils/interceptor.js +48 -0
  579. package/lib/utils/mount-component.d.ts +14 -0
  580. package/lib/utils/mount-component.js +58 -0
  581. package/lib/utils/props.d.ts +31 -0
  582. package/lib/utils/props.js +55 -0
  583. package/lib/utils/validate.d.ts +9 -0
  584. package/lib/utils/validate.js +41 -0
  585. package/lib/utils/with-install.d.ts +13 -0
  586. package/lib/utils/with-install.js +31 -0
  587. package/lib/vue-sfc-shim.d.ts +6 -0
  588. package/lib/vue-tsx-shim.d.ts +16 -0
  589. package/lib/web-types.json +3197 -0
  590. package/lib/zartui.cjs.js +6740 -0
  591. package/lib/zartui.es.js +6740 -0
  592. package/lib/zartui.js +6974 -0
  593. package/lib/zartui.min.js +1 -0
  594. package/package.json +50 -61
@@ -0,0 +1,3197 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
+ "framework": "vue",
4
+ "name": "zartui",
5
+ "version": "3.0.2",
6
+ "contributions": {
7
+ "html": {
8
+ "tags": [
9
+ {
10
+ "name": "badge",
11
+ "slots": [
12
+ {
13
+ "name": "default",
14
+ "description": "徽标包裹的子元素"
15
+ },
16
+ {
17
+ "name": "content",
18
+ "description": "自定义徽标内容"
19
+ }
20
+ ],
21
+ "events": [],
22
+ "attributes": [
23
+ {
24
+ "name": "content",
25
+ "default": "-",
26
+ "description": "徽标内容",
27
+ "options": [],
28
+ "value": {
29
+ "type": "number | string",
30
+ "kind": "expression"
31
+ }
32
+ },
33
+ {
34
+ "name": "color",
35
+ "default": "`#ee0a24`",
36
+ "description": "徽标背景颜色",
37
+ "options": [],
38
+ "value": {
39
+ "type": "string",
40
+ "kind": "expression"
41
+ }
42
+ },
43
+ {
44
+ "name": "dot",
45
+ "default": "`false`",
46
+ "description": "是否展示为小红点",
47
+ "options": [],
48
+ "value": {
49
+ "type": "boolean",
50
+ "kind": "expression"
51
+ }
52
+ },
53
+ {
54
+ "name": "max",
55
+ "default": "-",
56
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
57
+ "options": [],
58
+ "value": {
59
+ "type": "number | string",
60
+ "kind": "expression"
61
+ }
62
+ },
63
+ {
64
+ "name": "offset",
65
+ "default": "-",
66
+ "description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`",
67
+ "options": [],
68
+ "value": {
69
+ "type": "[number | string, number | string]",
70
+ "kind": "expression"
71
+ }
72
+ },
73
+ {
74
+ "name": "show-zero",
75
+ "default": "`true`",
76
+ "description": "当 content 为数字 0 时,是否展示徽标",
77
+ "options": [],
78
+ "value": {
79
+ "type": "boolean",
80
+ "kind": "expression"
81
+ }
82
+ },
83
+ {
84
+ "name": "position",
85
+ "default": "`top-right`",
86
+ "description": "徽标位置,可选值为 `top-left` `bottom-left` `bottom-right`",
87
+ "options": [],
88
+ "value": {
89
+ "type": "string",
90
+ "kind": "expression"
91
+ }
92
+ }
93
+ ]
94
+ },
95
+ {
96
+ "name": "cell",
97
+ "slots": [
98
+ {
99
+ "name": "title",
100
+ "description": "自定义左侧标题"
101
+ },
102
+ {
103
+ "name": "value",
104
+ "description": "自定义右侧内容"
105
+ },
106
+ {
107
+ "name": "label",
108
+ "description": "自定义标题下方的描述信息"
109
+ },
110
+ {
111
+ "name": "icon",
112
+ "description": "自定义左侧图标"
113
+ },
114
+ {
115
+ "name": "right-icon",
116
+ "description": "自定义右侧图标"
117
+ },
118
+ {
119
+ "name": "extra",
120
+ "description": "自定义单元格最右侧的额外内容"
121
+ }
122
+ ],
123
+ "events": [
124
+ {
125
+ "name": "click",
126
+ "description": "点击单元格时触发",
127
+ "arguments": [
128
+ {
129
+ "name": "event",
130
+ "type": "MouseEvent"
131
+ }
132
+ ]
133
+ }
134
+ ],
135
+ "attributes": [
136
+ {
137
+ "name": "title",
138
+ "default": "-",
139
+ "description": "左侧标题",
140
+ "options": [],
141
+ "value": {
142
+ "type": "number | string",
143
+ "kind": "expression"
144
+ }
145
+ },
146
+ {
147
+ "name": "value",
148
+ "default": "-",
149
+ "description": "右侧内容",
150
+ "options": [],
151
+ "value": {
152
+ "type": "number | string",
153
+ "kind": "expression"
154
+ }
155
+ },
156
+ {
157
+ "name": "label",
158
+ "default": "-",
159
+ "description": "标题下方的描述信息",
160
+ "options": [],
161
+ "value": {
162
+ "type": "string",
163
+ "kind": "expression"
164
+ }
165
+ },
166
+ {
167
+ "name": "size",
168
+ "default": "-",
169
+ "description": "单元格大小,可选值为 `large`",
170
+ "options": [],
171
+ "value": {
172
+ "type": "string",
173
+ "kind": "expression"
174
+ }
175
+ },
176
+ {
177
+ "name": "direction",
178
+ "default": "column",
179
+ "description": "标题与内容的排列方向,默认为竖直排列,可选值为 `row`或 `column`",
180
+ "options": [],
181
+ "value": {
182
+ "type": "string",
183
+ "kind": "expression"
184
+ }
185
+ },
186
+ {
187
+ "name": "icon",
188
+ "default": "-",
189
+ "description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/icon#props)",
190
+ "options": [],
191
+ "value": {
192
+ "type": "string",
193
+ "kind": "expression"
194
+ }
195
+ },
196
+ {
197
+ "name": "icon-prefix",
198
+ "default": "`zt-icon`",
199
+ "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/icon#props)",
200
+ "options": [],
201
+ "value": {
202
+ "type": "string",
203
+ "kind": "expression"
204
+ }
205
+ },
206
+ {
207
+ "name": "url",
208
+ "default": "-",
209
+ "description": "点击后跳转的链接地址",
210
+ "options": [],
211
+ "value": {
212
+ "type": "string",
213
+ "kind": "expression"
214
+ }
215
+ },
216
+ {
217
+ "name": "to",
218
+ "default": "-",
219
+ "description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
220
+ "options": [],
221
+ "value": {
222
+ "type": "string | object",
223
+ "kind": "expression"
224
+ }
225
+ },
226
+ {
227
+ "name": "border",
228
+ "default": "`true`",
229
+ "description": "是否显示内边框",
230
+ "options": [],
231
+ "value": {
232
+ "type": "boolean",
233
+ "kind": "expression"
234
+ }
235
+ },
236
+ {
237
+ "name": "replace",
238
+ "default": "`false`",
239
+ "description": "是否在跳转时替换当前页面历史",
240
+ "options": [],
241
+ "value": {
242
+ "type": "boolean",
243
+ "kind": "expression"
244
+ }
245
+ },
246
+ {
247
+ "name": "clickable",
248
+ "default": "`null`",
249
+ "description": "是否开启点击反馈",
250
+ "options": [],
251
+ "value": {
252
+ "type": "boolean",
253
+ "kind": "expression"
254
+ }
255
+ },
256
+ {
257
+ "name": "is-link",
258
+ "default": "`false`",
259
+ "description": "是否展示右侧箭头并开启点击反馈",
260
+ "options": [],
261
+ "value": {
262
+ "type": "boolean",
263
+ "kind": "expression"
264
+ }
265
+ },
266
+ {
267
+ "name": "required",
268
+ "default": "`false`",
269
+ "description": "是否显示表单必填星号",
270
+ "options": [],
271
+ "value": {
272
+ "type": "boolean",
273
+ "kind": "expression"
274
+ }
275
+ },
276
+ {
277
+ "name": "center",
278
+ "default": "`false`",
279
+ "description": "是否使内容垂直居中",
280
+ "options": [],
281
+ "value": {
282
+ "type": "boolean",
283
+ "kind": "expression"
284
+ }
285
+ },
286
+ {
287
+ "name": "arrow-direction",
288
+ "default": "`right`",
289
+ "description": "箭头方向,可选值为 `left` `up` `down`",
290
+ "options": [],
291
+ "value": {
292
+ "type": "string",
293
+ "kind": "expression"
294
+ }
295
+ },
296
+ {
297
+ "name": "title-style",
298
+ "default": "-",
299
+ "description": "左侧标题额外样式",
300
+ "options": [],
301
+ "value": {
302
+ "type": "string | Array | object",
303
+ "kind": "expression"
304
+ }
305
+ },
306
+ {
307
+ "name": "title-class",
308
+ "default": "-",
309
+ "description": "左侧标题额外类名",
310
+ "options": [],
311
+ "value": {
312
+ "type": "string | Array | object",
313
+ "kind": "expression"
314
+ }
315
+ },
316
+ {
317
+ "name": "value-class",
318
+ "default": "-",
319
+ "description": "右侧内容额外类名",
320
+ "options": [],
321
+ "value": {
322
+ "type": "string | Array | object",
323
+ "kind": "expression"
324
+ }
325
+ },
326
+ {
327
+ "name": "label-class",
328
+ "default": "-",
329
+ "description": "描述信息额外类名",
330
+ "options": [],
331
+ "value": {
332
+ "type": "string | Array | object",
333
+ "kind": "expression"
334
+ }
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "name": "button",
340
+ "slots": [
341
+ {
342
+ "name": "default",
343
+ "description": "按钮内容"
344
+ },
345
+ {
346
+ "name": "icon",
347
+ "description": "自定义图标"
348
+ },
349
+ {
350
+ "name": "loading",
351
+ "description": "自定义加载图标"
352
+ }
353
+ ],
354
+ "events": [
355
+ {
356
+ "name": "click",
357
+ "description": "点击按钮,且按钮状态不为加载或禁用时触发",
358
+ "arguments": [
359
+ {
360
+ "name": "event",
361
+ "type": "MouseEvent"
362
+ }
363
+ ]
364
+ },
365
+ {
366
+ "name": "touchstart",
367
+ "description": "开始触摸按钮时触发",
368
+ "arguments": [
369
+ {
370
+ "name": "event",
371
+ "type": "TouchEvent"
372
+ }
373
+ ]
374
+ }
375
+ ],
376
+ "attributes": [
377
+ {
378
+ "name": "type",
379
+ "default": "`default`",
380
+ "description": "类型,可选值为 `primary` `success` `warning` `danger`",
381
+ "options": [],
382
+ "value": {
383
+ "type": "string",
384
+ "kind": "expression"
385
+ }
386
+ },
387
+ {
388
+ "name": "size",
389
+ "default": "`normal`",
390
+ "description": "尺寸,可选值为 `normal` `medium` `small` `mini`",
391
+ "options": [],
392
+ "value": {
393
+ "type": "string",
394
+ "kind": "expression"
395
+ }
396
+ },
397
+ {
398
+ "name": "text",
399
+ "default": "-",
400
+ "description": "按钮文字",
401
+ "options": [],
402
+ "value": {
403
+ "type": "string",
404
+ "kind": "expression"
405
+ }
406
+ },
407
+ {
408
+ "name": "color",
409
+ "default": "-",
410
+ "description": "按钮文字颜色",
411
+ "options": [],
412
+ "value": {
413
+ "type": "string",
414
+ "kind": "expression"
415
+ }
416
+ },
417
+ {
418
+ "name": "background-color",
419
+ "default": "-",
420
+ "description": "按钮背景颜色",
421
+ "options": [],
422
+ "value": {
423
+ "type": "string",
424
+ "kind": "expression"
425
+ }
426
+ },
427
+ {
428
+ "name": "icon",
429
+ "default": "-",
430
+ "description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/icon#props)",
431
+ "options": [],
432
+ "value": {
433
+ "type": "string",
434
+ "kind": "expression"
435
+ }
436
+ },
437
+ {
438
+ "name": "icon-prefix",
439
+ "default": "`zt-icon`",
440
+ "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/icon#props)",
441
+ "options": [],
442
+ "value": {
443
+ "type": "string",
444
+ "kind": "expression"
445
+ }
446
+ },
447
+ {
448
+ "name": "block",
449
+ "default": "`false`",
450
+ "description": "是否为块级元素",
451
+ "options": [],
452
+ "value": {
453
+ "type": "boolean",
454
+ "kind": "expression"
455
+ }
456
+ },
457
+ {
458
+ "name": "plain",
459
+ "default": "`false`",
460
+ "description": "是否为朴素按钮",
461
+ "options": [],
462
+ "value": {
463
+ "type": "boolean",
464
+ "kind": "expression"
465
+ }
466
+ },
467
+ {
468
+ "name": "square",
469
+ "default": "`false`",
470
+ "description": "是否为方形按钮",
471
+ "options": [],
472
+ "value": {
473
+ "type": "boolean",
474
+ "kind": "expression"
475
+ }
476
+ },
477
+ {
478
+ "name": "round",
479
+ "default": "`false`",
480
+ "description": "是否为圆形按钮,只支持显示 Icon",
481
+ "options": [],
482
+ "value": {
483
+ "type": "boolean",
484
+ "kind": "expression"
485
+ }
486
+ },
487
+ {
488
+ "name": "disabled",
489
+ "default": "`false`",
490
+ "description": "是否禁用按钮",
491
+ "options": [],
492
+ "value": {
493
+ "type": "boolean",
494
+ "kind": "expression"
495
+ }
496
+ }
497
+ ]
498
+ },
499
+ {
500
+ "name": "row",
501
+ "slots": [],
502
+ "events": [
503
+ {
504
+ "name": "click",
505
+ "description": "点击时触发",
506
+ "arguments": [
507
+ {
508
+ "name": "event",
509
+ "type": "MouseEvent"
510
+ }
511
+ ]
512
+ }
513
+ ],
514
+ "attributes": [
515
+ {
516
+ "name": "gutter",
517
+ "default": "-",
518
+ "description": "列元素之间的间距(单位为 px)",
519
+ "options": [],
520
+ "value": {
521
+ "type": "number | string",
522
+ "kind": "expression"
523
+ }
524
+ },
525
+ {
526
+ "name": "tag",
527
+ "default": "`div`",
528
+ "description": "自定义元素标签",
529
+ "options": [],
530
+ "value": {
531
+ "type": "string",
532
+ "kind": "expression"
533
+ }
534
+ },
535
+ {
536
+ "name": "justify",
537
+ "default": "`start`",
538
+ "description": "主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`",
539
+ "options": [],
540
+ "value": {
541
+ "type": "string",
542
+ "kind": "expression"
543
+ }
544
+ },
545
+ {
546
+ "name": "align",
547
+ "default": "`top`",
548
+ "description": "交叉轴对齐方式,可选值为 `center` `bottom`",
549
+ "options": [],
550
+ "value": {
551
+ "type": "string",
552
+ "kind": "expression"
553
+ }
554
+ },
555
+ {
556
+ "name": "wrap",
557
+ "default": "`true`",
558
+ "description": "是否自动换行",
559
+ "options": [],
560
+ "value": {
561
+ "type": "boolean",
562
+ "kind": "expression"
563
+ }
564
+ }
565
+ ]
566
+ },
567
+ {
568
+ "name": "col",
569
+ "slots": [],
570
+ "events": [
571
+ {
572
+ "name": "click",
573
+ "description": "点击时触发",
574
+ "arguments": [
575
+ {
576
+ "name": "event",
577
+ "type": "MouseEvent"
578
+ }
579
+ ]
580
+ }
581
+ ],
582
+ "attributes": [
583
+ {
584
+ "name": "span",
585
+ "default": "-",
586
+ "description": "列元素宽度",
587
+ "options": [],
588
+ "value": {
589
+ "type": "number | string",
590
+ "kind": "expression"
591
+ }
592
+ },
593
+ {
594
+ "name": "offset",
595
+ "default": "-",
596
+ "description": "列元素偏移距离",
597
+ "options": [],
598
+ "value": {
599
+ "type": "number | string",
600
+ "kind": "expression"
601
+ }
602
+ },
603
+ {
604
+ "name": "tag",
605
+ "default": "`div`",
606
+ "description": "自定义元素标签",
607
+ "options": [],
608
+ "value": {
609
+ "type": "string",
610
+ "kind": "expression"
611
+ }
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ "name": "config-provider",
617
+ "slots": [],
618
+ "events": [],
619
+ "attributes": [
620
+ {
621
+ "name": "theme",
622
+ "default": "`light`",
623
+ "description": "主题风格,设置为 `dark` 来开启深色模式,全局生效",
624
+ "options": [],
625
+ "value": {
626
+ "type": "ConfigProviderTheme",
627
+ "kind": "expression"
628
+ }
629
+ },
630
+ {
631
+ "name": "theme-vars",
632
+ "default": "-",
633
+ "description": "自定义主题变量,局部生效",
634
+ "options": [],
635
+ "value": {
636
+ "type": "object",
637
+ "kind": "expression"
638
+ }
639
+ },
640
+ {
641
+ "name": "tag",
642
+ "default": "`div`",
643
+ "description": "根节点对应的 HTML 标签名",
644
+ "options": [],
645
+ "value": {
646
+ "type": "string",
647
+ "kind": "expression"
648
+ }
649
+ },
650
+ {
651
+ "name": "icon-prefix",
652
+ "default": "`zt-icon`",
653
+ "description": "所有图标的类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
654
+ "options": [],
655
+ "value": {
656
+ "type": "string",
657
+ "kind": "expression"
658
+ }
659
+ }
660
+ ]
661
+ },
662
+ {
663
+ "name": "divider",
664
+ "slots": [
665
+ {
666
+ "name": "default",
667
+ "description": "内容"
668
+ }
669
+ ],
670
+ "events": [],
671
+ "attributes": [
672
+ {
673
+ "name": "dashed",
674
+ "default": "`false`",
675
+ "description": "是否使用虚线",
676
+ "options": [],
677
+ "value": {
678
+ "type": "boolean",
679
+ "kind": "expression"
680
+ }
681
+ },
682
+ {
683
+ "name": "hairline",
684
+ "default": "`true`",
685
+ "description": "是否使用 0.5px 线",
686
+ "options": [],
687
+ "value": {
688
+ "type": "boolean",
689
+ "kind": "expression"
690
+ }
691
+ },
692
+ {
693
+ "name": "content-position",
694
+ "default": "`center`",
695
+ "description": "内容位置,可选值为 `left` `right`",
696
+ "options": [],
697
+ "value": {
698
+ "type": "string",
699
+ "kind": "expression"
700
+ }
701
+ }
702
+ ]
703
+ },
704
+ {
705
+ "name": "empty",
706
+ "slots": [
707
+ {
708
+ "name": "default",
709
+ "description": "自定义底部内容"
710
+ },
711
+ {
712
+ "name": "image",
713
+ "description": "自定义图标"
714
+ },
715
+ {
716
+ "name": "description",
717
+ "description": "自定义描述文字"
718
+ }
719
+ ],
720
+ "events": [],
721
+ "attributes": [
722
+ {
723
+ "name": "image",
724
+ "default": "`default`",
725
+ "description": "图片类型,可选值为 `default` `error` `developing` `not-found` `no-search-result`,支持传入图片 URL",
726
+ "options": [],
727
+ "value": {
728
+ "type": "string",
729
+ "kind": "expression"
730
+ }
731
+ },
732
+ {
733
+ "name": "image-size",
734
+ "default": "-",
735
+ "description": "图片大小,默认单位为 `px`",
736
+ "options": [],
737
+ "value": {
738
+ "type": "number | string | Array",
739
+ "kind": "expression"
740
+ }
741
+ },
742
+ {
743
+ "name": "description",
744
+ "default": "-",
745
+ "description": "图片下方的描述文字",
746
+ "options": [],
747
+ "value": {
748
+ "type": "string",
749
+ "kind": "expression"
750
+ }
751
+ }
752
+ ]
753
+ },
754
+ {
755
+ "name": "icon",
756
+ "slots": [],
757
+ "events": [
758
+ {
759
+ "name": "click",
760
+ "description": "点击图标时触发",
761
+ "arguments": [
762
+ {
763
+ "name": "event",
764
+ "type": "MouseEvent"
765
+ }
766
+ ]
767
+ }
768
+ ],
769
+ "attributes": [
770
+ {
771
+ "name": "name",
772
+ "default": "-",
773
+ "description": "图标名称或图片链接",
774
+ "options": [],
775
+ "value": {
776
+ "type": "string",
777
+ "kind": "expression"
778
+ }
779
+ },
780
+ {
781
+ "name": "dot",
782
+ "default": "`false`",
783
+ "description": "是否显示图标右上角小红点",
784
+ "options": [],
785
+ "value": {
786
+ "type": "boolean",
787
+ "kind": "expression"
788
+ }
789
+ },
790
+ {
791
+ "name": "badge",
792
+ "default": "-",
793
+ "description": "图标右上角徽标的内容",
794
+ "options": [],
795
+ "value": {
796
+ "type": "number | string",
797
+ "kind": "expression"
798
+ }
799
+ },
800
+ {
801
+ "name": "badge-props",
802
+ "default": "-",
803
+ "description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/badge#props)",
804
+ "options": [],
805
+ "value": {
806
+ "type": "BadgeProps",
807
+ "kind": "expression"
808
+ }
809
+ },
810
+ {
811
+ "name": "color",
812
+ "default": "`inherit`",
813
+ "description": "图标颜色",
814
+ "options": [],
815
+ "value": {
816
+ "type": "string",
817
+ "kind": "expression"
818
+ }
819
+ },
820
+ {
821
+ "name": "size",
822
+ "default": "`inherit`",
823
+ "description": "图标大小,如 `20px` `2em`,默认单位为 `px`",
824
+ "options": [],
825
+ "value": {
826
+ "type": "number | string",
827
+ "kind": "expression"
828
+ }
829
+ },
830
+ {
831
+ "name": "class-prefix",
832
+ "default": "`zt-icon`",
833
+ "description": "类名前缀,用于使用自定义图标",
834
+ "options": [],
835
+ "value": {
836
+ "type": "string",
837
+ "kind": "expression"
838
+ }
839
+ },
840
+ {
841
+ "name": "tag",
842
+ "default": "`i`",
843
+ "description": "根节点对应的 HTML 标签名",
844
+ "options": [],
845
+ "value": {
846
+ "type": "string",
847
+ "kind": "expression"
848
+ }
849
+ }
850
+ ]
851
+ },
852
+ {
853
+ "name": "list",
854
+ "slots": [
855
+ {
856
+ "name": "default",
857
+ "description": "列表内容"
858
+ },
859
+ {
860
+ "name": "loading",
861
+ "description": "自定义底部加载中提示"
862
+ },
863
+ {
864
+ "name": "finished",
865
+ "description": "自定义加载完成后的提示文案"
866
+ },
867
+ {
868
+ "name": "error",
869
+ "description": "自定义加载失败后的提示文案"
870
+ }
871
+ ],
872
+ "events": [
873
+ {
874
+ "name": "load",
875
+ "description": "滚动条与底部距离小于 offset 时触发",
876
+ "arguments": []
877
+ }
878
+ ],
879
+ "attributes": [
880
+ {
881
+ "name": "v-model:loading",
882
+ "default": "`false`",
883
+ "description": "是否处于加载状态,加载过程中不触发 `load` 事件",
884
+ "options": [],
885
+ "value": {
886
+ "type": "boolean",
887
+ "kind": "expression"
888
+ }
889
+ },
890
+ {
891
+ "name": "v-model:error",
892
+ "default": "`false`",
893
+ "description": "是否加载失败,加载失败后点击错误提示可以重新触发 `load` 事件",
894
+ "options": [],
895
+ "value": {
896
+ "type": "boolean",
897
+ "kind": "expression"
898
+ }
899
+ },
900
+ {
901
+ "name": "finished",
902
+ "default": "`false`",
903
+ "description": "是否已加载完成,加载完成后不再触发 `load` 事件",
904
+ "options": [],
905
+ "value": {
906
+ "type": "boolean",
907
+ "kind": "expression"
908
+ }
909
+ },
910
+ {
911
+ "name": "offset",
912
+ "default": "`300`",
913
+ "description": "滚动条与底部距离小于 offset 时触发 `load` 事件",
914
+ "options": [],
915
+ "value": {
916
+ "type": "number | string",
917
+ "kind": "expression"
918
+ }
919
+ },
920
+ {
921
+ "name": "loading-text",
922
+ "default": "`加载中...`",
923
+ "description": "加载过程中的提示文案",
924
+ "options": [],
925
+ "value": {
926
+ "type": "string",
927
+ "kind": "expression"
928
+ }
929
+ },
930
+ {
931
+ "name": "finished-text",
932
+ "default": "-",
933
+ "description": "加载完成后的提示文案",
934
+ "options": [],
935
+ "value": {
936
+ "type": "string",
937
+ "kind": "expression"
938
+ }
939
+ },
940
+ {
941
+ "name": "error-text",
942
+ "default": "-",
943
+ "description": "加载失败后的提示文案",
944
+ "options": [],
945
+ "value": {
946
+ "type": "string",
947
+ "kind": "expression"
948
+ }
949
+ },
950
+ {
951
+ "name": "immediate-check",
952
+ "default": "`true`",
953
+ "description": "是否在初始化时立即执行滚动位置检查",
954
+ "options": [],
955
+ "value": {
956
+ "type": "boolean",
957
+ "kind": "expression"
958
+ }
959
+ },
960
+ {
961
+ "name": "direction",
962
+ "default": "`down`",
963
+ "description": "滚动触发加载的方向,可选值为 `up`",
964
+ "options": [],
965
+ "value": {
966
+ "type": "string",
967
+ "kind": "expression"
968
+ }
969
+ }
970
+ ]
971
+ },
972
+ {
973
+ "name": "loading",
974
+ "slots": [
975
+ {
976
+ "name": "default",
977
+ "description": "加载文案"
978
+ }
979
+ ],
980
+ "events": [],
981
+ "attributes": [
982
+ {
983
+ "name": "color",
984
+ "default": "`rgba(45, 75, 115, 0.6)`",
985
+ "description": "颜色",
986
+ "options": [],
987
+ "value": {
988
+ "type": "string",
989
+ "kind": "expression"
990
+ }
991
+ },
992
+ {
993
+ "name": "type",
994
+ "default": "`snake`",
995
+ "description": "类型,可选值为 `spinner`和`circular`",
996
+ "options": [],
997
+ "value": {
998
+ "type": "string",
999
+ "kind": "expression"
1000
+ }
1001
+ },
1002
+ {
1003
+ "name": "size",
1004
+ "default": "`36px`",
1005
+ "description": "加载图标大小,默认单位为 `px`",
1006
+ "options": [],
1007
+ "value": {
1008
+ "type": "number | string",
1009
+ "kind": "expression"
1010
+ }
1011
+ },
1012
+ {
1013
+ "name": "text-size",
1014
+ "default": "`14px`",
1015
+ "description": "文字大小,默认单位为 `px`",
1016
+ "options": [],
1017
+ "value": {
1018
+ "type": "number | string",
1019
+ "kind": "expression"
1020
+ }
1021
+ },
1022
+ {
1023
+ "name": "text-color",
1024
+ "default": "`rgba(45, 75, 115, 0.4)`",
1025
+ "description": "文字颜色",
1026
+ "options": [],
1027
+ "value": {
1028
+ "type": "string",
1029
+ "kind": "expression"
1030
+ }
1031
+ },
1032
+ {
1033
+ "name": "vertical",
1034
+ "default": "`false`",
1035
+ "description": "是否垂直排列图标和文字内容",
1036
+ "options": [],
1037
+ "value": {
1038
+ "type": "boolean",
1039
+ "kind": "expression"
1040
+ }
1041
+ }
1042
+ ]
1043
+ },
1044
+ {
1045
+ "name": "notice-bar",
1046
+ "slots": [
1047
+ {
1048
+ "name": "default",
1049
+ "description": "通知文本内容"
1050
+ },
1051
+ {
1052
+ "name": "left-icon",
1053
+ "description": "自定义左侧图标"
1054
+ },
1055
+ {
1056
+ "name": "right-icon",
1057
+ "description": "自定义右侧图标"
1058
+ }
1059
+ ],
1060
+ "events": [
1061
+ {
1062
+ "name": "click",
1063
+ "description": "点击通知栏时触发",
1064
+ "arguments": [
1065
+ {
1066
+ "name": "event",
1067
+ "type": "MouseEvent"
1068
+ }
1069
+ ]
1070
+ },
1071
+ {
1072
+ "name": "close",
1073
+ "description": "关闭通知栏时触发",
1074
+ "arguments": [
1075
+ {
1076
+ "name": "event",
1077
+ "type": "MouseEvent"
1078
+ }
1079
+ ]
1080
+ },
1081
+ {
1082
+ "name": "replay",
1083
+ "description": "每当滚动栏重新开始滚动时触发",
1084
+ "arguments": []
1085
+ }
1086
+ ],
1087
+ "attributes": [
1088
+ {
1089
+ "name": "mode",
1090
+ "default": "`''`",
1091
+ "description": "通知栏模式,可选值为 `closeable` `link`",
1092
+ "options": [],
1093
+ "value": {
1094
+ "type": "string",
1095
+ "kind": "expression"
1096
+ }
1097
+ },
1098
+ {
1099
+ "name": "text",
1100
+ "default": "`''`",
1101
+ "description": "通知文本内容",
1102
+ "options": [],
1103
+ "value": {
1104
+ "type": "string",
1105
+ "kind": "expression"
1106
+ }
1107
+ },
1108
+ {
1109
+ "name": "color",
1110
+ "default": "`#FF8700`",
1111
+ "description": "通知文本颜色",
1112
+ "options": [],
1113
+ "value": {
1114
+ "type": "string",
1115
+ "kind": "expression"
1116
+ }
1117
+ },
1118
+ {
1119
+ "name": "background",
1120
+ "default": "`rgba(255,205,35,0.20)`",
1121
+ "description": "滚动条背景",
1122
+ "options": [],
1123
+ "value": {
1124
+ "type": "string",
1125
+ "kind": "expression"
1126
+ }
1127
+ },
1128
+ {
1129
+ "name": "left-icon",
1130
+ "default": "-",
1131
+ "description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/icon#props)",
1132
+ "options": [],
1133
+ "value": {
1134
+ "type": "string",
1135
+ "kind": "expression"
1136
+ }
1137
+ },
1138
+ {
1139
+ "name": "delay",
1140
+ "default": "`1`",
1141
+ "description": "动画延迟时间 (s)",
1142
+ "options": [],
1143
+ "value": {
1144
+ "type": "number | string",
1145
+ "kind": "expression"
1146
+ }
1147
+ },
1148
+ {
1149
+ "name": "speed",
1150
+ "default": "`60`",
1151
+ "description": "滚动速率 (px/s)",
1152
+ "options": [],
1153
+ "value": {
1154
+ "type": "number | string",
1155
+ "kind": "expression"
1156
+ }
1157
+ },
1158
+ {
1159
+ "name": "scrollable",
1160
+ "default": "-",
1161
+ "description": "是否开启滚动播放,内容长度溢出时默认开启",
1162
+ "options": [],
1163
+ "value": {
1164
+ "type": "boolean",
1165
+ "kind": "expression"
1166
+ }
1167
+ },
1168
+ {
1169
+ "name": "wrapable",
1170
+ "default": "`false`",
1171
+ "description": "是否开启文本换行,只在禁用滚动时生效",
1172
+ "options": [],
1173
+ "value": {
1174
+ "type": "boolean",
1175
+ "kind": "expression"
1176
+ }
1177
+ }
1178
+ ]
1179
+ },
1180
+ {
1181
+ "name": "number-keyboard",
1182
+ "slots": [
1183
+ {
1184
+ "name": "delete",
1185
+ "description": "自定义删除按键内容"
1186
+ },
1187
+ {
1188
+ "name": "extra-key",
1189
+ "description": "自定义左下角按键内容"
1190
+ },
1191
+ {
1192
+ "name": "title-left",
1193
+ "description": "自定义标题栏左侧内容"
1194
+ }
1195
+ ],
1196
+ "events": [
1197
+ {
1198
+ "name": "input",
1199
+ "description": "点击按键时触发",
1200
+ "arguments": [
1201
+ {
1202
+ "name": "key",
1203
+ "type": "string"
1204
+ }
1205
+ ]
1206
+ },
1207
+ {
1208
+ "name": "delete",
1209
+ "description": "点击删除键时触发",
1210
+ "arguments": []
1211
+ },
1212
+ {
1213
+ "name": "close",
1214
+ "description": "点击关闭按钮时触发",
1215
+ "arguments": []
1216
+ },
1217
+ {
1218
+ "name": "blur",
1219
+ "description": "点击关闭按钮或非键盘区域时触发",
1220
+ "arguments": []
1221
+ },
1222
+ {
1223
+ "name": "show",
1224
+ "description": "键盘完全弹出时触发",
1225
+ "arguments": []
1226
+ },
1227
+ {
1228
+ "name": "hide",
1229
+ "description": "键盘完全收起时触发",
1230
+ "arguments": []
1231
+ }
1232
+ ],
1233
+ "attributes": [
1234
+ {
1235
+ "name": "v-model",
1236
+ "default": "-",
1237
+ "description": "当前输入值",
1238
+ "options": [],
1239
+ "value": {
1240
+ "type": "string",
1241
+ "kind": "expression"
1242
+ }
1243
+ },
1244
+ {
1245
+ "name": "show",
1246
+ "default": "-",
1247
+ "description": "是否显示键盘",
1248
+ "options": [],
1249
+ "value": {
1250
+ "type": "boolean",
1251
+ "kind": "expression"
1252
+ }
1253
+ },
1254
+ {
1255
+ "name": "title",
1256
+ "default": "-",
1257
+ "description": "键盘标题",
1258
+ "options": [],
1259
+ "value": {
1260
+ "type": "string",
1261
+ "kind": "expression"
1262
+ }
1263
+ },
1264
+ {
1265
+ "name": "theme",
1266
+ "default": "`default`",
1267
+ "description": "样式风格,可选值为 `custom`",
1268
+ "options": [],
1269
+ "value": {
1270
+ "type": "string",
1271
+ "kind": "expression"
1272
+ }
1273
+ },
1274
+ {
1275
+ "name": "maxlength",
1276
+ "default": "`Infinity`",
1277
+ "description": "输入值最大长度",
1278
+ "options": [],
1279
+ "value": {
1280
+ "type": "number | string",
1281
+ "kind": "expression"
1282
+ }
1283
+ },
1284
+ {
1285
+ "name": "transition",
1286
+ "default": "`true`",
1287
+ "description": "是否开启过场动画",
1288
+ "options": [],
1289
+ "value": {
1290
+ "type": "boolean",
1291
+ "kind": "expression"
1292
+ }
1293
+ },
1294
+ {
1295
+ "name": "z-index",
1296
+ "default": "`100`",
1297
+ "description": "键盘 z-index 层级",
1298
+ "options": [],
1299
+ "value": {
1300
+ "type": "number | string",
1301
+ "kind": "expression"
1302
+ }
1303
+ },
1304
+ {
1305
+ "name": "extra-key",
1306
+ "default": "`''`",
1307
+ "description": "底部额外按键的内容",
1308
+ "options": [],
1309
+ "value": {
1310
+ "type": "string | string[]",
1311
+ "kind": "expression"
1312
+ }
1313
+ },
1314
+ {
1315
+ "name": "close-button-text",
1316
+ "default": "-",
1317
+ "description": "关闭按钮文字,空则不展示",
1318
+ "options": [],
1319
+ "value": {
1320
+ "type": "string",
1321
+ "kind": "expression"
1322
+ }
1323
+ },
1324
+ {
1325
+ "name": "delete-button-text",
1326
+ "default": "-",
1327
+ "description": "删除按钮文字,空则展示删除图标",
1328
+ "options": [],
1329
+ "value": {
1330
+ "type": "string",
1331
+ "kind": "expression"
1332
+ }
1333
+ },
1334
+ {
1335
+ "name": "close-button-loading",
1336
+ "default": "`false`",
1337
+ "description": "是否将关闭按钮设置为加载中状态,仅在 `theme=\"custom\"` 时有效",
1338
+ "options": [],
1339
+ "value": {
1340
+ "type": "boolean",
1341
+ "kind": "expression"
1342
+ }
1343
+ },
1344
+ {
1345
+ "name": "show-delete-key",
1346
+ "default": "`true`",
1347
+ "description": "是否展示删除图标",
1348
+ "options": [],
1349
+ "value": {
1350
+ "type": "boolean",
1351
+ "kind": "expression"
1352
+ }
1353
+ },
1354
+ {
1355
+ "name": "blur-on-close",
1356
+ "default": "`true`",
1357
+ "description": "是否在点击关闭按钮时触发 blur 事件",
1358
+ "options": [],
1359
+ "value": {
1360
+ "type": "boolean",
1361
+ "kind": "expression"
1362
+ }
1363
+ },
1364
+ {
1365
+ "name": "hide-on-click-outside",
1366
+ "default": "`true`",
1367
+ "description": "是否在点击外部时收起键盘",
1368
+ "options": [],
1369
+ "value": {
1370
+ "type": "boolean",
1371
+ "kind": "expression"
1372
+ }
1373
+ },
1374
+ {
1375
+ "name": "teleport",
1376
+ "default": "-",
1377
+ "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
1378
+ "options": [],
1379
+ "value": {
1380
+ "type": "string | Element",
1381
+ "kind": "expression"
1382
+ }
1383
+ },
1384
+ {
1385
+ "name": "safe-area-inset-bottom",
1386
+ "default": "`true`",
1387
+ "description": "是否开启[底部安全区适配](#/adztced-usage#di-bu-an-quan-qu-gua-pei)",
1388
+ "options": [],
1389
+ "value": {
1390
+ "type": "boolean",
1391
+ "kind": "expression"
1392
+ }
1393
+ },
1394
+ {
1395
+ "name": "random-key-order",
1396
+ "default": "`false`",
1397
+ "description": "是否将通过随机顺序展示按键",
1398
+ "options": [],
1399
+ "value": {
1400
+ "type": "boolean",
1401
+ "kind": "expression"
1402
+ }
1403
+ }
1404
+ ]
1405
+ },
1406
+ {
1407
+ "name": "overlay",
1408
+ "slots": [
1409
+ {
1410
+ "name": "default",
1411
+ "description": "默认插槽,用于在遮罩层上方嵌入内容"
1412
+ }
1413
+ ],
1414
+ "events": [
1415
+ {
1416
+ "name": "click",
1417
+ "description": "点击时触发",
1418
+ "arguments": [
1419
+ {
1420
+ "name": "event",
1421
+ "type": "MouseEvent"
1422
+ }
1423
+ ]
1424
+ }
1425
+ ],
1426
+ "attributes": [
1427
+ {
1428
+ "name": "show",
1429
+ "default": "`false`",
1430
+ "description": "是否展示遮罩层",
1431
+ "options": [],
1432
+ "value": {
1433
+ "type": "boolean",
1434
+ "kind": "expression"
1435
+ }
1436
+ },
1437
+ {
1438
+ "name": "z-index",
1439
+ "default": "`1`",
1440
+ "description": "z-index 层级",
1441
+ "options": [],
1442
+ "value": {
1443
+ "type": "number | string",
1444
+ "kind": "expression"
1445
+ }
1446
+ },
1447
+ {
1448
+ "name": "duration",
1449
+ "default": "`0.3`",
1450
+ "description": "动画时长,单位秒,设置为 0 可以禁用动画",
1451
+ "options": [],
1452
+ "value": {
1453
+ "type": "number | string",
1454
+ "kind": "expression"
1455
+ }
1456
+ },
1457
+ {
1458
+ "name": "class-name",
1459
+ "default": "-",
1460
+ "description": "自定义类名",
1461
+ "options": [],
1462
+ "value": {
1463
+ "type": "string",
1464
+ "kind": "expression"
1465
+ }
1466
+ },
1467
+ {
1468
+ "name": "custom-style",
1469
+ "default": "-",
1470
+ "description": "自定义样式",
1471
+ "options": [],
1472
+ "value": {
1473
+ "type": "object",
1474
+ "kind": "expression"
1475
+ }
1476
+ },
1477
+ {
1478
+ "name": "lock-scroll",
1479
+ "default": "`true`",
1480
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
1481
+ "options": [],
1482
+ "value": {
1483
+ "type": "boolean",
1484
+ "kind": "expression"
1485
+ }
1486
+ },
1487
+ {
1488
+ "name": "lazy-render",
1489
+ "default": "`true`",
1490
+ "description": "是否在显示时才渲染节点",
1491
+ "options": [],
1492
+ "value": {
1493
+ "type": "boolean",
1494
+ "kind": "expression"
1495
+ }
1496
+ }
1497
+ ]
1498
+ },
1499
+ {
1500
+ "name": "password-input",
1501
+ "slots": [],
1502
+ "events": [
1503
+ {
1504
+ "name": "focus",
1505
+ "description": "输入框聚焦时触发",
1506
+ "arguments": []
1507
+ }
1508
+ ],
1509
+ "attributes": [
1510
+ {
1511
+ "name": "value",
1512
+ "default": "`''`",
1513
+ "description": "密码值",
1514
+ "options": [],
1515
+ "value": {
1516
+ "type": "string",
1517
+ "kind": "expression"
1518
+ }
1519
+ },
1520
+ {
1521
+ "name": "info",
1522
+ "default": "-",
1523
+ "description": "输入框下方文字提示",
1524
+ "options": [],
1525
+ "value": {
1526
+ "type": "string",
1527
+ "kind": "expression"
1528
+ }
1529
+ },
1530
+ {
1531
+ "name": "error-info",
1532
+ "default": "-",
1533
+ "description": "输入框下方错误提示",
1534
+ "options": [],
1535
+ "value": {
1536
+ "type": "string",
1537
+ "kind": "expression"
1538
+ }
1539
+ },
1540
+ {
1541
+ "name": "length",
1542
+ "default": "`6`",
1543
+ "description": "密码最大长度",
1544
+ "options": [],
1545
+ "value": {
1546
+ "type": "number | string",
1547
+ "kind": "expression"
1548
+ }
1549
+ },
1550
+ {
1551
+ "name": "gutter",
1552
+ "default": "`0`",
1553
+ "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`",
1554
+ "options": [],
1555
+ "value": {
1556
+ "type": "number | string",
1557
+ "kind": "expression"
1558
+ }
1559
+ },
1560
+ {
1561
+ "name": "mask",
1562
+ "default": "`true`",
1563
+ "description": "是否隐藏密码内容",
1564
+ "options": [],
1565
+ "value": {
1566
+ "type": "boolean",
1567
+ "kind": "expression"
1568
+ }
1569
+ },
1570
+ {
1571
+ "name": "focused",
1572
+ "default": "`false`",
1573
+ "description": "是否已聚焦,聚焦时会显示光标",
1574
+ "options": [],
1575
+ "value": {
1576
+ "type": "boolean",
1577
+ "kind": "expression"
1578
+ }
1579
+ }
1580
+ ]
1581
+ },
1582
+ {
1583
+ "name": "popup",
1584
+ "slots": [
1585
+ {
1586
+ "name": "default",
1587
+ "description": "弹窗内容"
1588
+ },
1589
+ {
1590
+ "name": "overlay-content",
1591
+ "description": "遮罩层的内容"
1592
+ }
1593
+ ],
1594
+ "events": [
1595
+ {
1596
+ "name": "click",
1597
+ "description": "点击弹出层时触发",
1598
+ "arguments": [
1599
+ {
1600
+ "name": "event",
1601
+ "type": "MouseEvent"
1602
+ }
1603
+ ]
1604
+ },
1605
+ {
1606
+ "name": "click-overlay",
1607
+ "description": "点击遮罩层时触发",
1608
+ "arguments": [
1609
+ {
1610
+ "name": "event",
1611
+ "type": "MouseEvent"
1612
+ }
1613
+ ]
1614
+ },
1615
+ {
1616
+ "name": "click-close-icon",
1617
+ "description": "点击关闭图标时触发",
1618
+ "arguments": [
1619
+ {
1620
+ "name": "event",
1621
+ "type": "MouseEvent"
1622
+ }
1623
+ ]
1624
+ },
1625
+ {
1626
+ "name": "open",
1627
+ "description": "打开弹出层时触发",
1628
+ "arguments": []
1629
+ },
1630
+ {
1631
+ "name": "close",
1632
+ "description": "关闭弹出层时触发",
1633
+ "arguments": []
1634
+ },
1635
+ {
1636
+ "name": "opened",
1637
+ "description": "打开弹出层且动画结束后触发",
1638
+ "arguments": []
1639
+ },
1640
+ {
1641
+ "name": "closed",
1642
+ "description": "关闭弹出层且动画结束后触发",
1643
+ "arguments": []
1644
+ }
1645
+ ],
1646
+ "attributes": [
1647
+ {
1648
+ "name": "v-model:show",
1649
+ "default": "`false`",
1650
+ "description": "是否显示弹出层",
1651
+ "options": [],
1652
+ "value": {
1653
+ "type": "boolean",
1654
+ "kind": "expression"
1655
+ }
1656
+ },
1657
+ {
1658
+ "name": "overlay",
1659
+ "default": "`true`",
1660
+ "description": "是否显示遮罩层",
1661
+ "options": [],
1662
+ "value": {
1663
+ "type": "boolean",
1664
+ "kind": "expression"
1665
+ }
1666
+ },
1667
+ {
1668
+ "name": "position",
1669
+ "default": "`center`",
1670
+ "description": "弹出位置,可选值为 `top` `bottom` `right` `left`",
1671
+ "options": [],
1672
+ "value": {
1673
+ "type": "string",
1674
+ "kind": "expression"
1675
+ }
1676
+ },
1677
+ {
1678
+ "name": "overlay-class",
1679
+ "default": "-",
1680
+ "description": "自定义遮罩层类名",
1681
+ "options": [],
1682
+ "value": {
1683
+ "type": "string | Array | object",
1684
+ "kind": "expression"
1685
+ }
1686
+ },
1687
+ {
1688
+ "name": "overlay-style",
1689
+ "default": "-",
1690
+ "description": "自定义遮罩层样式",
1691
+ "options": [],
1692
+ "value": {
1693
+ "type": "object",
1694
+ "kind": "expression"
1695
+ }
1696
+ },
1697
+ {
1698
+ "name": "duration",
1699
+ "default": "`0.3`",
1700
+ "description": "动画时长,单位秒,设置为 0 可以禁用动画",
1701
+ "options": [],
1702
+ "value": {
1703
+ "type": "number | string",
1704
+ "kind": "expression"
1705
+ }
1706
+ },
1707
+ {
1708
+ "name": "round",
1709
+ "default": "`false`",
1710
+ "description": "是否显示圆角",
1711
+ "options": [],
1712
+ "value": {
1713
+ "type": "boolean",
1714
+ "kind": "expression"
1715
+ }
1716
+ },
1717
+ {
1718
+ "name": "lock-scroll",
1719
+ "default": "`true`",
1720
+ "description": "是否锁定背景滚动",
1721
+ "options": [],
1722
+ "value": {
1723
+ "type": "boolean",
1724
+ "kind": "expression"
1725
+ }
1726
+ },
1727
+ {
1728
+ "name": "lazy-render",
1729
+ "default": "`true`",
1730
+ "description": "是否在显示弹层时才渲染节点",
1731
+ "options": [],
1732
+ "value": {
1733
+ "type": "boolean",
1734
+ "kind": "expression"
1735
+ }
1736
+ },
1737
+ {
1738
+ "name": "close-on-popstate",
1739
+ "default": "`false`",
1740
+ "description": "是否在页面回退时自动关闭",
1741
+ "options": [],
1742
+ "value": {
1743
+ "type": "boolean",
1744
+ "kind": "expression"
1745
+ }
1746
+ },
1747
+ {
1748
+ "name": "close-on-click-overlay",
1749
+ "default": "`true`",
1750
+ "description": "是否在点击遮罩层后关闭",
1751
+ "options": [],
1752
+ "value": {
1753
+ "type": "boolean",
1754
+ "kind": "expression"
1755
+ }
1756
+ },
1757
+ {
1758
+ "name": "closeable",
1759
+ "default": "`false`",
1760
+ "description": "是否显示关闭图标",
1761
+ "options": [],
1762
+ "value": {
1763
+ "type": "boolean",
1764
+ "kind": "expression"
1765
+ }
1766
+ },
1767
+ {
1768
+ "name": "close-icon",
1769
+ "default": "`cross`",
1770
+ "description": "关闭图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
1771
+ "options": [],
1772
+ "value": {
1773
+ "type": "string",
1774
+ "kind": "expression"
1775
+ }
1776
+ },
1777
+ {
1778
+ "name": "close-icon-position",
1779
+ "default": "`top-right`",
1780
+ "description": "关闭图标位置,可选值为 `top-left`<br>`bottom-left` `bottom-right`",
1781
+ "options": [],
1782
+ "value": {
1783
+ "type": "string",
1784
+ "kind": "expression"
1785
+ }
1786
+ },
1787
+ {
1788
+ "name": "before-close",
1789
+ "default": "-",
1790
+ "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
1791
+ "options": [],
1792
+ "value": {
1793
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
1794
+ "kind": "expression"
1795
+ }
1796
+ },
1797
+ {
1798
+ "name": "icon-prefix",
1799
+ "default": "`zt-icon`",
1800
+ "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
1801
+ "options": [],
1802
+ "value": {
1803
+ "type": "string",
1804
+ "kind": "expression"
1805
+ }
1806
+ },
1807
+ {
1808
+ "name": "transition",
1809
+ "default": "-",
1810
+ "description": "动画类名,等价于 [transition](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的 `name` 属性",
1811
+ "options": [],
1812
+ "value": {
1813
+ "type": "string",
1814
+ "kind": "expression"
1815
+ }
1816
+ },
1817
+ {
1818
+ "name": "transition-appear",
1819
+ "default": "`false`",
1820
+ "description": "是否在初始渲染时启用过渡动画",
1821
+ "options": [],
1822
+ "value": {
1823
+ "type": "boolean",
1824
+ "kind": "expression"
1825
+ }
1826
+ },
1827
+ {
1828
+ "name": "teleport",
1829
+ "default": "-",
1830
+ "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
1831
+ "options": [],
1832
+ "value": {
1833
+ "type": "string | Element",
1834
+ "kind": "expression"
1835
+ }
1836
+ },
1837
+ {
1838
+ "name": "safe-area-inset-top",
1839
+ "default": "`false`",
1840
+ "description": "是否开启[顶部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
1841
+ "options": [],
1842
+ "value": {
1843
+ "type": "boolean",
1844
+ "kind": "expression"
1845
+ }
1846
+ },
1847
+ {
1848
+ "name": "safe-area-inset-bottom",
1849
+ "default": "`false`",
1850
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
1851
+ "options": [],
1852
+ "value": {
1853
+ "type": "boolean",
1854
+ "kind": "expression"
1855
+ }
1856
+ }
1857
+ ]
1858
+ },
1859
+ {
1860
+ "name": "pull-refresh",
1861
+ "slots": [
1862
+ {
1863
+ "name": "default",
1864
+ "description": "自定义内容"
1865
+ },
1866
+ {
1867
+ "name": "normal",
1868
+ "description": "非下拉状态时顶部内容"
1869
+ },
1870
+ {
1871
+ "name": "pulling",
1872
+ "description": "下拉过程中顶部内容"
1873
+ },
1874
+ {
1875
+ "name": "loosing",
1876
+ "description": "释放过程中顶部内容"
1877
+ },
1878
+ {
1879
+ "name": "loading",
1880
+ "description": "加载过程中顶部内容"
1881
+ },
1882
+ {
1883
+ "name": "success",
1884
+ "description": "刷新成功提示内容"
1885
+ }
1886
+ ],
1887
+ "events": [
1888
+ {
1889
+ "name": "refresh",
1890
+ "description": "下拉刷新时触发",
1891
+ "arguments": []
1892
+ },
1893
+ {
1894
+ "name": "change",
1895
+ "description": "拖动时或状态改变时触发",
1896
+ "arguments": [
1897
+ {
1898
+ "name": "{ status: string, distance: number }"
1899
+ }
1900
+ ]
1901
+ }
1902
+ ],
1903
+ "attributes": [
1904
+ {
1905
+ "name": "v-model",
1906
+ "default": "-",
1907
+ "description": "是否处于加载中状态",
1908
+ "options": [],
1909
+ "value": {
1910
+ "type": "boolean",
1911
+ "kind": "expression"
1912
+ }
1913
+ },
1914
+ {
1915
+ "name": "pulling-text",
1916
+ "default": "`下拉即可刷新...`",
1917
+ "description": "下拉过程提示文案",
1918
+ "options": [],
1919
+ "value": {
1920
+ "type": "string",
1921
+ "kind": "expression"
1922
+ }
1923
+ },
1924
+ {
1925
+ "name": "loosing-text",
1926
+ "default": "`释放即可刷新...`",
1927
+ "description": "释放过程提示文案",
1928
+ "options": [],
1929
+ "value": {
1930
+ "type": "string",
1931
+ "kind": "expression"
1932
+ }
1933
+ },
1934
+ {
1935
+ "name": "loading-text",
1936
+ "default": "`加载中...`",
1937
+ "description": "加载过程提示文案",
1938
+ "options": [],
1939
+ "value": {
1940
+ "type": "string",
1941
+ "kind": "expression"
1942
+ }
1943
+ },
1944
+ {
1945
+ "name": "success-text",
1946
+ "default": "-",
1947
+ "description": "刷新成功提示文案",
1948
+ "options": [],
1949
+ "value": {
1950
+ "type": "string",
1951
+ "kind": "expression"
1952
+ }
1953
+ },
1954
+ {
1955
+ "name": "success-duration",
1956
+ "default": "`500`",
1957
+ "description": "刷新成功提示展示时长(ms)",
1958
+ "options": [],
1959
+ "value": {
1960
+ "type": "number | string",
1961
+ "kind": "expression"
1962
+ }
1963
+ },
1964
+ {
1965
+ "name": "animation-duration",
1966
+ "default": "`300`",
1967
+ "description": "动画时长",
1968
+ "options": [],
1969
+ "value": {
1970
+ "type": "number | string",
1971
+ "kind": "expression"
1972
+ }
1973
+ },
1974
+ {
1975
+ "name": "head-height",
1976
+ "default": "`50`",
1977
+ "description": "顶部内容高度",
1978
+ "options": [],
1979
+ "value": {
1980
+ "type": "number | string",
1981
+ "kind": "expression"
1982
+ }
1983
+ },
1984
+ {
1985
+ "name": "pull-distance",
1986
+ "default": "与 `head-height` 一致",
1987
+ "description": "触发下拉刷新的距离",
1988
+ "options": [],
1989
+ "value": {
1990
+ "type": "number | string",
1991
+ "kind": "expression"
1992
+ }
1993
+ },
1994
+ {
1995
+ "name": "disabled",
1996
+ "default": "`false`",
1997
+ "description": "是否禁用下拉刷新",
1998
+ "options": [],
1999
+ "value": {
2000
+ "type": "boolean",
2001
+ "kind": "expression"
2002
+ }
2003
+ }
2004
+ ]
2005
+ },
2006
+ {
2007
+ "name": "rate",
2008
+ "slots": [],
2009
+ "events": [
2010
+ {
2011
+ "name": "change",
2012
+ "description": "当前分值变化时触发的事件",
2013
+ "arguments": [
2014
+ {
2015
+ "name": "currentValue",
2016
+ "type": "number"
2017
+ }
2018
+ ]
2019
+ }
2020
+ ],
2021
+ "attributes": [
2022
+ {
2023
+ "name": "v-model",
2024
+ "default": "-",
2025
+ "description": "当前分值",
2026
+ "options": [],
2027
+ "value": {
2028
+ "type": "number",
2029
+ "kind": "expression"
2030
+ }
2031
+ },
2032
+ {
2033
+ "name": "count",
2034
+ "default": "`5`",
2035
+ "description": "图标总数",
2036
+ "options": [],
2037
+ "value": {
2038
+ "type": "number | string",
2039
+ "kind": "expression"
2040
+ }
2041
+ },
2042
+ {
2043
+ "name": "size",
2044
+ "default": "`20px`",
2045
+ "description": "图标大小,默认单位为`px`",
2046
+ "options": [],
2047
+ "value": {
2048
+ "type": "number | string",
2049
+ "kind": "expression"
2050
+ }
2051
+ },
2052
+ {
2053
+ "name": "gutter",
2054
+ "default": "`4px`",
2055
+ "description": "图标间距,默认单位为`px`",
2056
+ "options": [],
2057
+ "value": {
2058
+ "type": "number | string",
2059
+ "kind": "expression"
2060
+ }
2061
+ },
2062
+ {
2063
+ "name": "color",
2064
+ "default": "`#ee0a24`",
2065
+ "description": "选中时的颜色",
2066
+ "options": [],
2067
+ "value": {
2068
+ "type": "string",
2069
+ "kind": "expression"
2070
+ }
2071
+ },
2072
+ {
2073
+ "name": "void-color",
2074
+ "default": "`#c8c9cc`",
2075
+ "description": "未选中时的颜色",
2076
+ "options": [],
2077
+ "value": {
2078
+ "type": "string",
2079
+ "kind": "expression"
2080
+ }
2081
+ },
2082
+ {
2083
+ "name": "disabled-color",
2084
+ "default": "`#c8c9cc`",
2085
+ "description": "禁用时的颜色",
2086
+ "options": [],
2087
+ "value": {
2088
+ "type": "string",
2089
+ "kind": "expression"
2090
+ }
2091
+ },
2092
+ {
2093
+ "name": "icon",
2094
+ "default": "`star`",
2095
+ "description": "选中时的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/icon#props)",
2096
+ "options": [],
2097
+ "value": {
2098
+ "type": "string",
2099
+ "kind": "expression"
2100
+ }
2101
+ },
2102
+ {
2103
+ "name": "void-icon",
2104
+ "default": "`star-o`",
2105
+ "description": "未选中时的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/icon#props)",
2106
+ "options": [],
2107
+ "value": {
2108
+ "type": "string",
2109
+ "kind": "expression"
2110
+ }
2111
+ },
2112
+ {
2113
+ "name": "icon-prefix",
2114
+ "default": "`zt-icon`",
2115
+ "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/icon#props)",
2116
+ "options": [],
2117
+ "value": {
2118
+ "type": "string",
2119
+ "kind": "expression"
2120
+ }
2121
+ },
2122
+ {
2123
+ "name": "allow-half",
2124
+ "default": "`false`",
2125
+ "description": "是否允许半选",
2126
+ "options": [],
2127
+ "value": {
2128
+ "type": "boolean",
2129
+ "kind": "expression"
2130
+ }
2131
+ },
2132
+ {
2133
+ "name": "readonly",
2134
+ "default": "`false`",
2135
+ "description": "是否为只读状态,只读状态下无法修改评分",
2136
+ "options": [],
2137
+ "value": {
2138
+ "type": "boolean",
2139
+ "kind": "expression"
2140
+ }
2141
+ },
2142
+ {
2143
+ "name": "disabled",
2144
+ "default": "`false`",
2145
+ "description": "是否禁用评分",
2146
+ "options": [],
2147
+ "value": {
2148
+ "type": "boolean",
2149
+ "kind": "expression"
2150
+ }
2151
+ },
2152
+ {
2153
+ "name": "touchable",
2154
+ "default": "`true`",
2155
+ "description": "是否可以通过滑动手势选择评分",
2156
+ "options": [],
2157
+ "value": {
2158
+ "type": "boolean",
2159
+ "kind": "expression"
2160
+ }
2161
+ }
2162
+ ]
2163
+ },
2164
+ {
2165
+ "name": "stepper",
2166
+ "slots": [],
2167
+ "events": [
2168
+ {
2169
+ "name": "change",
2170
+ "description": "当绑定值变化时触发的事件",
2171
+ "arguments": [
2172
+ {
2173
+ "name": "value",
2174
+ "type": "string"
2175
+ },
2176
+ {
2177
+ "name": "detail",
2178
+ "type": "{ name: string }"
2179
+ }
2180
+ ]
2181
+ },
2182
+ {
2183
+ "name": "overlimit",
2184
+ "description": "点击不可用的按钮时触发",
2185
+ "arguments": []
2186
+ },
2187
+ {
2188
+ "name": "plus",
2189
+ "description": "点击增加按钮时触发",
2190
+ "arguments": []
2191
+ },
2192
+ {
2193
+ "name": "minus",
2194
+ "description": "点击减少按钮时触发",
2195
+ "arguments": []
2196
+ },
2197
+ {
2198
+ "name": "focus",
2199
+ "description": "输入框聚焦时触发",
2200
+ "arguments": [
2201
+ {
2202
+ "name": "event",
2203
+ "type": "Event"
2204
+ }
2205
+ ]
2206
+ },
2207
+ {
2208
+ "name": "blur",
2209
+ "description": "输入框失焦时触发",
2210
+ "arguments": [
2211
+ {
2212
+ "name": "event",
2213
+ "type": "Event"
2214
+ }
2215
+ ]
2216
+ }
2217
+ ],
2218
+ "attributes": [
2219
+ {
2220
+ "name": "v-model",
2221
+ "default": "-",
2222
+ "description": "当前输入的值",
2223
+ "options": [],
2224
+ "value": {
2225
+ "type": "number | string",
2226
+ "kind": "expression"
2227
+ }
2228
+ },
2229
+ {
2230
+ "name": "min",
2231
+ "default": "`1`",
2232
+ "description": "最小值",
2233
+ "options": [],
2234
+ "value": {
2235
+ "type": "number | string",
2236
+ "kind": "expression"
2237
+ }
2238
+ },
2239
+ {
2240
+ "name": "max",
2241
+ "default": "-",
2242
+ "description": "最大值",
2243
+ "options": [],
2244
+ "value": {
2245
+ "type": "number | string",
2246
+ "kind": "expression"
2247
+ }
2248
+ },
2249
+ {
2250
+ "name": "default-value",
2251
+ "default": "`1`",
2252
+ "description": "初始值,当 v-model 为空时生效",
2253
+ "options": [],
2254
+ "value": {
2255
+ "type": "number | string",
2256
+ "kind": "expression"
2257
+ }
2258
+ },
2259
+ {
2260
+ "name": "step",
2261
+ "default": "`1`",
2262
+ "description": "步长,每次点击时改变的值",
2263
+ "options": [],
2264
+ "value": {
2265
+ "type": "number | string",
2266
+ "kind": "expression"
2267
+ }
2268
+ },
2269
+ {
2270
+ "name": "name",
2271
+ "default": "-",
2272
+ "description": "标识符,通常为一个唯一的字符串或数字,可以在 `change` 事件回调参数中获取",
2273
+ "options": [],
2274
+ "value": {
2275
+ "type": "number | string",
2276
+ "kind": "expression"
2277
+ }
2278
+ },
2279
+ {
2280
+ "name": "input-width",
2281
+ "default": "`60px`",
2282
+ "description": "输入框宽度,默认单位为 `px`",
2283
+ "options": [],
2284
+ "value": {
2285
+ "type": "number | string",
2286
+ "kind": "expression"
2287
+ }
2288
+ },
2289
+ {
2290
+ "name": "button-size",
2291
+ "default": "`32px`",
2292
+ "description": "按钮大小以及输入框高度,默认单位为 `px`",
2293
+ "options": [],
2294
+ "value": {
2295
+ "type": "number | string",
2296
+ "kind": "expression"
2297
+ }
2298
+ },
2299
+ {
2300
+ "name": "decimal-length",
2301
+ "default": "-",
2302
+ "description": "固定显示的小数位数",
2303
+ "options": [],
2304
+ "value": {
2305
+ "type": "number | string",
2306
+ "kind": "expression"
2307
+ }
2308
+ },
2309
+ {
2310
+ "name": "theme",
2311
+ "default": "-",
2312
+ "description": "样式风格,可选值为 `round`",
2313
+ "options": [],
2314
+ "value": {
2315
+ "type": "string",
2316
+ "kind": "expression"
2317
+ }
2318
+ },
2319
+ {
2320
+ "name": "placeholder",
2321
+ "default": "-",
2322
+ "description": "输入框占位提示文字",
2323
+ "options": [],
2324
+ "value": {
2325
+ "type": "string",
2326
+ "kind": "expression"
2327
+ }
2328
+ },
2329
+ {
2330
+ "name": "integer",
2331
+ "default": "`false`",
2332
+ "description": "是否只允许输入整数",
2333
+ "options": [],
2334
+ "value": {
2335
+ "type": "boolean",
2336
+ "kind": "expression"
2337
+ }
2338
+ },
2339
+ {
2340
+ "name": "disabled",
2341
+ "default": "`false`",
2342
+ "description": "是否禁用步进器",
2343
+ "options": [],
2344
+ "value": {
2345
+ "type": "boolean",
2346
+ "kind": "expression"
2347
+ }
2348
+ },
2349
+ {
2350
+ "name": "disable-plus",
2351
+ "default": "`false`",
2352
+ "description": "是否禁用增加按钮",
2353
+ "options": [],
2354
+ "value": {
2355
+ "type": "boolean",
2356
+ "kind": "expression"
2357
+ }
2358
+ },
2359
+ {
2360
+ "name": "disable-minus",
2361
+ "default": "`false`",
2362
+ "description": "是否禁用减少按钮",
2363
+ "options": [],
2364
+ "value": {
2365
+ "type": "boolean",
2366
+ "kind": "expression"
2367
+ }
2368
+ },
2369
+ {
2370
+ "name": "disable-input",
2371
+ "default": "`false`",
2372
+ "description": "是否禁用输入框",
2373
+ "options": [],
2374
+ "value": {
2375
+ "type": "boolean",
2376
+ "kind": "expression"
2377
+ }
2378
+ },
2379
+ {
2380
+ "name": "before-change",
2381
+ "default": "`false`",
2382
+ "description": "输入值变化前的回调函数,返回 `false` 可阻止输入,支持返回 Promise",
2383
+ "options": [],
2384
+ "value": {
2385
+ "type": "(value: number | string) => boolean | Promise\\<boolean\\>",
2386
+ "kind": "expression"
2387
+ }
2388
+ },
2389
+ {
2390
+ "name": "show-plus",
2391
+ "default": "`true`",
2392
+ "description": "是否显示增加按钮",
2393
+ "options": [],
2394
+ "value": {
2395
+ "type": "boolean",
2396
+ "kind": "expression"
2397
+ }
2398
+ },
2399
+ {
2400
+ "name": "show-minus",
2401
+ "default": "`true`",
2402
+ "description": "是否显示减少按钮",
2403
+ "options": [],
2404
+ "value": {
2405
+ "type": "boolean",
2406
+ "kind": "expression"
2407
+ }
2408
+ },
2409
+ {
2410
+ "name": "show-input",
2411
+ "default": "`true`",
2412
+ "description": "是否显示输入框",
2413
+ "options": [],
2414
+ "value": {
2415
+ "type": "boolean",
2416
+ "kind": "expression"
2417
+ }
2418
+ },
2419
+ {
2420
+ "name": "long-press",
2421
+ "default": "`true`",
2422
+ "description": "是否开启长按手势,开启后可以长按增加和减少按钮",
2423
+ "options": [],
2424
+ "value": {
2425
+ "type": "boolean",
2426
+ "kind": "expression"
2427
+ }
2428
+ },
2429
+ {
2430
+ "name": "allow-empty",
2431
+ "default": "`false`",
2432
+ "description": "是否允许输入的值为空,设置为 `true` 后允许传入空字符串",
2433
+ "options": [],
2434
+ "value": {
2435
+ "type": "boolean",
2436
+ "kind": "expression"
2437
+ }
2438
+ }
2439
+ ]
2440
+ },
2441
+ {
2442
+ "name": "sticky",
2443
+ "slots": [],
2444
+ "events": [
2445
+ {
2446
+ "name": "change",
2447
+ "description": "当吸顶状态改变时触发",
2448
+ "arguments": [
2449
+ {
2450
+ "name": "isFixed",
2451
+ "type": "boolean"
2452
+ }
2453
+ ]
2454
+ },
2455
+ {
2456
+ "name": "scroll",
2457
+ "description": "滚动时触发",
2458
+ "arguments": [
2459
+ {
2460
+ "name": "{ scrollTop: number, isFixed: boolean }"
2461
+ }
2462
+ ]
2463
+ }
2464
+ ],
2465
+ "attributes": [
2466
+ {
2467
+ "name": "position",
2468
+ "default": "`top`",
2469
+ "description": "吸附位置,可选值为 `bottom`",
2470
+ "options": [],
2471
+ "value": {
2472
+ "type": "string",
2473
+ "kind": "expression"
2474
+ }
2475
+ },
2476
+ {
2477
+ "name": "offset-top",
2478
+ "default": "`0`",
2479
+ "description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
2480
+ "options": [],
2481
+ "value": {
2482
+ "type": "number | string",
2483
+ "kind": "expression"
2484
+ }
2485
+ },
2486
+ {
2487
+ "name": "offset-bottom",
2488
+ "default": "`0`",
2489
+ "description": "吸底时与底部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
2490
+ "options": [],
2491
+ "value": {
2492
+ "type": "number | string",
2493
+ "kind": "expression"
2494
+ }
2495
+ },
2496
+ {
2497
+ "name": "z-index",
2498
+ "default": "`99`",
2499
+ "description": "吸顶时的 z-index",
2500
+ "options": [],
2501
+ "value": {
2502
+ "type": "number | string",
2503
+ "kind": "expression"
2504
+ }
2505
+ },
2506
+ {
2507
+ "name": "container",
2508
+ "default": "-",
2509
+ "description": "容器对应的 HTML 节点",
2510
+ "options": [],
2511
+ "value": {
2512
+ "type": "Element",
2513
+ "kind": "expression"
2514
+ }
2515
+ }
2516
+ ]
2517
+ },
2518
+ {
2519
+ "name": "swipe",
2520
+ "slots": [
2521
+ {
2522
+ "name": "default",
2523
+ "description": "轮播内容"
2524
+ },
2525
+ {
2526
+ "name": "indicator",
2527
+ "description": "自定义指示器"
2528
+ }
2529
+ ],
2530
+ "events": [
2531
+ {
2532
+ "name": "change",
2533
+ "description": "每一页轮播结束后触发",
2534
+ "arguments": [
2535
+ {
2536
+ "name": "index",
2537
+ "type": "index of current swipe"
2538
+ }
2539
+ ]
2540
+ }
2541
+ ],
2542
+ "attributes": [
2543
+ {
2544
+ "name": "autoplay",
2545
+ "default": "-",
2546
+ "description": "自动轮播间隔,单位为 ms",
2547
+ "options": [],
2548
+ "value": {
2549
+ "type": "number | string",
2550
+ "kind": "expression"
2551
+ }
2552
+ },
2553
+ {
2554
+ "name": "duration",
2555
+ "default": "`500`",
2556
+ "description": "动画时长,单位为 ms",
2557
+ "options": [],
2558
+ "value": {
2559
+ "type": "number | string",
2560
+ "kind": "expression"
2561
+ }
2562
+ },
2563
+ {
2564
+ "name": "initial-swipe",
2565
+ "default": "`0`",
2566
+ "description": "初始位置索引值",
2567
+ "options": [],
2568
+ "value": {
2569
+ "type": "number | string",
2570
+ "kind": "expression"
2571
+ }
2572
+ },
2573
+ {
2574
+ "name": "width",
2575
+ "default": "`auto`",
2576
+ "description": "滑块宽度,单位为 `px`",
2577
+ "options": [],
2578
+ "value": {
2579
+ "type": "number | string",
2580
+ "kind": "expression"
2581
+ }
2582
+ },
2583
+ {
2584
+ "name": "height",
2585
+ "default": "`auto`",
2586
+ "description": "滑块高度,单位为 `px`",
2587
+ "options": [],
2588
+ "value": {
2589
+ "type": "number | string",
2590
+ "kind": "expression"
2591
+ }
2592
+ },
2593
+ {
2594
+ "name": "loop",
2595
+ "default": "`true`",
2596
+ "description": "是否开启循环播放",
2597
+ "options": [],
2598
+ "value": {
2599
+ "type": "boolean",
2600
+ "kind": "expression"
2601
+ }
2602
+ },
2603
+ {
2604
+ "name": "show-indicators",
2605
+ "default": "`true`",
2606
+ "description": "是否显示指示器",
2607
+ "options": [],
2608
+ "value": {
2609
+ "type": "boolean",
2610
+ "kind": "expression"
2611
+ }
2612
+ },
2613
+ {
2614
+ "name": "vertical",
2615
+ "default": "`false`",
2616
+ "description": "是否为纵向滚动",
2617
+ "options": [],
2618
+ "value": {
2619
+ "type": "boolean",
2620
+ "kind": "expression"
2621
+ }
2622
+ },
2623
+ {
2624
+ "name": "touchable",
2625
+ "default": "`true`",
2626
+ "description": "是否可以通过手势滑动",
2627
+ "options": [],
2628
+ "value": {
2629
+ "type": "boolean",
2630
+ "kind": "expression"
2631
+ }
2632
+ },
2633
+ {
2634
+ "name": "stop-propagation",
2635
+ "default": "`true`",
2636
+ "description": "是否阻止滑动事件冒泡",
2637
+ "options": [],
2638
+ "value": {
2639
+ "type": "boolean",
2640
+ "kind": "expression"
2641
+ }
2642
+ },
2643
+ {
2644
+ "name": "lazy-render",
2645
+ "default": "`false`",
2646
+ "description": "是否延迟渲染未展示的轮播",
2647
+ "options": [],
2648
+ "value": {
2649
+ "type": "boolean",
2650
+ "kind": "expression"
2651
+ }
2652
+ },
2653
+ {
2654
+ "name": "indicator-color",
2655
+ "default": "`#1989fa`",
2656
+ "description": "指示器颜色",
2657
+ "options": [],
2658
+ "value": {
2659
+ "type": "string",
2660
+ "kind": "expression"
2661
+ }
2662
+ }
2663
+ ]
2664
+ },
2665
+ {
2666
+ "name": "swipe-item",
2667
+ "slots": [],
2668
+ "events": [
2669
+ {
2670
+ "name": "click",
2671
+ "description": "点击时触发",
2672
+ "arguments": [
2673
+ {
2674
+ "name": "event",
2675
+ "type": "MouseEvent"
2676
+ }
2677
+ ]
2678
+ }
2679
+ ],
2680
+ "attributes": []
2681
+ },
2682
+ {
2683
+ "name": "switch",
2684
+ "slots": [
2685
+ {
2686
+ "name": "node",
2687
+ "description": "自定义按钮的内容"
2688
+ },
2689
+ {
2690
+ "name": "background",
2691
+ "description": "自定义开关的背景内容"
2692
+ }
2693
+ ],
2694
+ "events": [
2695
+ {
2696
+ "name": "change",
2697
+ "description": "开关状态切换时触发",
2698
+ "arguments": [
2699
+ {
2700
+ "name": "value",
2701
+ "type": "any"
2702
+ }
2703
+ ]
2704
+ },
2705
+ {
2706
+ "name": "click",
2707
+ "description": "点击时触发",
2708
+ "arguments": [
2709
+ {
2710
+ "name": "event",
2711
+ "type": "MouseEvent"
2712
+ }
2713
+ ]
2714
+ }
2715
+ ],
2716
+ "attributes": [
2717
+ {
2718
+ "name": "v-model",
2719
+ "default": "`false`",
2720
+ "description": "开关选中状态",
2721
+ "options": [],
2722
+ "value": {
2723
+ "type": "any",
2724
+ "kind": "expression"
2725
+ }
2726
+ },
2727
+ {
2728
+ "name": "loading",
2729
+ "default": "`false`",
2730
+ "description": "是否为加载状态",
2731
+ "options": [],
2732
+ "value": {
2733
+ "type": "boolean",
2734
+ "kind": "expression"
2735
+ }
2736
+ },
2737
+ {
2738
+ "name": "disabled",
2739
+ "default": "`false`",
2740
+ "description": "是否为禁用状态",
2741
+ "options": [],
2742
+ "value": {
2743
+ "type": "boolean",
2744
+ "kind": "expression"
2745
+ }
2746
+ },
2747
+ {
2748
+ "name": "size",
2749
+ "default": "`26px`",
2750
+ "description": "开关按钮的尺寸,默认单位为 `px`",
2751
+ "options": [],
2752
+ "value": {
2753
+ "type": "number | string",
2754
+ "kind": "expression"
2755
+ }
2756
+ },
2757
+ {
2758
+ "name": "active-color",
2759
+ "default": "`#1989fa`",
2760
+ "description": "打开时的背景色",
2761
+ "options": [],
2762
+ "value": {
2763
+ "type": "string",
2764
+ "kind": "expression"
2765
+ }
2766
+ },
2767
+ {
2768
+ "name": "inactive-color",
2769
+ "default": "`rgba(120, 120, 128, 0.16)`",
2770
+ "description": "关闭时的背景色",
2771
+ "options": [],
2772
+ "value": {
2773
+ "type": "string",
2774
+ "kind": "expression"
2775
+ }
2776
+ },
2777
+ {
2778
+ "name": "active-value",
2779
+ "default": "`true`",
2780
+ "description": "打开时对应的值",
2781
+ "options": [],
2782
+ "value": {
2783
+ "type": "any",
2784
+ "kind": "expression"
2785
+ }
2786
+ },
2787
+ {
2788
+ "name": "inactive-value",
2789
+ "default": "`false`",
2790
+ "description": "关闭时对应的值",
2791
+ "options": [],
2792
+ "value": {
2793
+ "type": "any",
2794
+ "kind": "expression"
2795
+ }
2796
+ }
2797
+ ]
2798
+ },
2799
+ {
2800
+ "name": "tabs",
2801
+ "slots": [
2802
+ {
2803
+ "name": "nav-left",
2804
+ "description": "标签栏左侧内容"
2805
+ },
2806
+ {
2807
+ "name": "nav-right",
2808
+ "description": "标签栏右侧内容"
2809
+ },
2810
+ {
2811
+ "name": "nav-bottom",
2812
+ "description": "标签栏下方内容"
2813
+ }
2814
+ ],
2815
+ "events": [
2816
+ {
2817
+ "name": "click-tab",
2818
+ "description": "点击标签时触发",
2819
+ "arguments": [
2820
+ {
2821
+ "name": "{ name: string | number, title: string, event: MouseEvent, disabled: boolean }"
2822
+ }
2823
+ ]
2824
+ },
2825
+ {
2826
+ "name": "change",
2827
+ "description": "当前激活的标签改变时触发",
2828
+ "arguments": [
2829
+ {
2830
+ "name": "name",
2831
+ "type": "string | number"
2832
+ },
2833
+ {
2834
+ "name": "title",
2835
+ "type": "string"
2836
+ }
2837
+ ]
2838
+ },
2839
+ {
2840
+ "name": "rendered",
2841
+ "description": "标签内容首次渲染时触发(仅在开启延迟渲染后触发)",
2842
+ "arguments": [
2843
+ {
2844
+ "name": "name",
2845
+ "type": "string | number"
2846
+ },
2847
+ {
2848
+ "name": "title",
2849
+ "type": "string"
2850
+ }
2851
+ ]
2852
+ },
2853
+ {
2854
+ "name": "scroll",
2855
+ "description": "滚动时触发,仅在 sticky 模式下生效",
2856
+ "arguments": [
2857
+ {
2858
+ "name": "{ scrollTop: number, isFixed: boolean }"
2859
+ }
2860
+ ]
2861
+ }
2862
+ ],
2863
+ "attributes": [
2864
+ {
2865
+ "name": "v-model:active",
2866
+ "default": "`0`",
2867
+ "description": "绑定当前选中标签的标识符",
2868
+ "options": [],
2869
+ "value": {
2870
+ "type": "number | string",
2871
+ "kind": "expression"
2872
+ }
2873
+ },
2874
+ {
2875
+ "name": "type",
2876
+ "default": "`line`",
2877
+ "description": "样式风格类型,可选值为 `card`",
2878
+ "options": [],
2879
+ "value": {
2880
+ "type": "string",
2881
+ "kind": "expression"
2882
+ }
2883
+ },
2884
+ {
2885
+ "name": "color",
2886
+ "default": "`#1989fa`",
2887
+ "description": "标签主题色",
2888
+ "options": [],
2889
+ "value": {
2890
+ "type": "string",
2891
+ "kind": "expression"
2892
+ }
2893
+ },
2894
+ {
2895
+ "name": "background",
2896
+ "default": "`white`",
2897
+ "description": "标签栏背景色",
2898
+ "options": [],
2899
+ "value": {
2900
+ "type": "string",
2901
+ "kind": "expression"
2902
+ }
2903
+ },
2904
+ {
2905
+ "name": "duration",
2906
+ "default": "`0.3`",
2907
+ "description": "动画时间,单位秒,设置为 0 可以禁用动画",
2908
+ "options": [],
2909
+ "value": {
2910
+ "type": "number | string",
2911
+ "kind": "expression"
2912
+ }
2913
+ },
2914
+ {
2915
+ "name": "line-width",
2916
+ "default": "`40px`",
2917
+ "description": "底部条宽度,默认单位 `px`",
2918
+ "options": [],
2919
+ "value": {
2920
+ "type": "number | string",
2921
+ "kind": "expression"
2922
+ }
2923
+ },
2924
+ {
2925
+ "name": "line-height",
2926
+ "default": "`3px`",
2927
+ "description": "底部条高度,默认单位 `px`",
2928
+ "options": [],
2929
+ "value": {
2930
+ "type": "number | string",
2931
+ "kind": "expression"
2932
+ }
2933
+ },
2934
+ {
2935
+ "name": "animated",
2936
+ "default": "`false`",
2937
+ "description": "是否开启切换标签内容时的转场动画",
2938
+ "options": [],
2939
+ "value": {
2940
+ "type": "boolean",
2941
+ "kind": "expression"
2942
+ }
2943
+ },
2944
+ {
2945
+ "name": "border",
2946
+ "default": "`false`",
2947
+ "description": "是否显示标签栏外边框,仅在 `type=\"line\"` 时有效",
2948
+ "options": [],
2949
+ "value": {
2950
+ "type": "boolean",
2951
+ "kind": "expression"
2952
+ }
2953
+ },
2954
+ {
2955
+ "name": "ellipsis",
2956
+ "default": "`true`",
2957
+ "description": "是否省略过长的标题文字",
2958
+ "options": [],
2959
+ "value": {
2960
+ "type": "boolean",
2961
+ "kind": "expression"
2962
+ }
2963
+ },
2964
+ {
2965
+ "name": "sticky",
2966
+ "default": "`false`",
2967
+ "description": "是否使用粘性布局",
2968
+ "options": [],
2969
+ "value": {
2970
+ "type": "boolean",
2971
+ "kind": "expression"
2972
+ }
2973
+ },
2974
+ {
2975
+ "name": "shrink",
2976
+ "default": "`false`",
2977
+ "description": "是否开启左侧收缩布局",
2978
+ "options": [],
2979
+ "value": {
2980
+ "type": "boolean",
2981
+ "kind": "expression"
2982
+ }
2983
+ },
2984
+ {
2985
+ "name": "swipeable",
2986
+ "default": "`false`",
2987
+ "description": "是否开启手势左右滑动切换",
2988
+ "options": [],
2989
+ "value": {
2990
+ "type": "boolean",
2991
+ "kind": "expression"
2992
+ }
2993
+ },
2994
+ {
2995
+ "name": "lazy-render",
2996
+ "default": "`true`",
2997
+ "description": "是否开启延迟渲染(首次切换到标签时才触发内容渲染)",
2998
+ "options": [],
2999
+ "value": {
3000
+ "type": "boolean",
3001
+ "kind": "expression"
3002
+ }
3003
+ },
3004
+ {
3005
+ "name": "scrollspy",
3006
+ "default": "`false`",
3007
+ "description": "是否开启滚动导航",
3008
+ "options": [],
3009
+ "value": {
3010
+ "type": "boolean",
3011
+ "kind": "expression"
3012
+ }
3013
+ },
3014
+ {
3015
+ "name": "offset-top",
3016
+ "default": "`0`",
3017
+ "description": "粘性布局下吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
3018
+ "options": [],
3019
+ "value": {
3020
+ "type": "number | string",
3021
+ "kind": "expression"
3022
+ }
3023
+ },
3024
+ {
3025
+ "name": "swipe-threshold",
3026
+ "default": "`5`",
3027
+ "description": "滚动阈值,标签数量超过阈值且总宽度超过标签栏宽度时开始横向滚动",
3028
+ "options": [],
3029
+ "value": {
3030
+ "type": "number | string",
3031
+ "kind": "expression"
3032
+ }
3033
+ },
3034
+ {
3035
+ "name": "title-active-color",
3036
+ "default": "-",
3037
+ "description": "标题选中态颜色",
3038
+ "options": [],
3039
+ "value": {
3040
+ "type": "string",
3041
+ "kind": "expression"
3042
+ }
3043
+ },
3044
+ {
3045
+ "name": "title-inactive-color",
3046
+ "default": "-",
3047
+ "description": "标题默认态颜色",
3048
+ "options": [],
3049
+ "value": {
3050
+ "type": "string",
3051
+ "kind": "expression"
3052
+ }
3053
+ },
3054
+ {
3055
+ "name": "before-change",
3056
+ "default": "-",
3057
+ "description": "切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise",
3058
+ "options": [],
3059
+ "value": {
3060
+ "type": "(name: number | string) => boolean | Promise\\<boolean\\>",
3061
+ "kind": "expression"
3062
+ }
3063
+ }
3064
+ ]
3065
+ },
3066
+ {
3067
+ "name": "tab",
3068
+ "slots": [
3069
+ {
3070
+ "name": "default",
3071
+ "description": "标签页内容"
3072
+ },
3073
+ {
3074
+ "name": "title",
3075
+ "description": "自定义标题"
3076
+ }
3077
+ ],
3078
+ "events": [],
3079
+ "attributes": [
3080
+ {
3081
+ "name": "title",
3082
+ "default": "-",
3083
+ "description": "标题",
3084
+ "options": [],
3085
+ "value": {
3086
+ "type": "string",
3087
+ "kind": "expression"
3088
+ }
3089
+ },
3090
+ {
3091
+ "name": "disabled",
3092
+ "default": "`false`",
3093
+ "description": "是否禁用标签",
3094
+ "options": [],
3095
+ "value": {
3096
+ "type": "boolean",
3097
+ "kind": "expression"
3098
+ }
3099
+ },
3100
+ {
3101
+ "name": "dot",
3102
+ "default": "`false`",
3103
+ "description": "是否在标题右上角显示小红点",
3104
+ "options": [],
3105
+ "value": {
3106
+ "type": "boolean",
3107
+ "kind": "expression"
3108
+ }
3109
+ },
3110
+ {
3111
+ "name": "badge",
3112
+ "default": "-",
3113
+ "description": "图标右上角徽标的内容",
3114
+ "options": [],
3115
+ "value": {
3116
+ "type": "number | string",
3117
+ "kind": "expression"
3118
+ }
3119
+ },
3120
+ {
3121
+ "name": "name",
3122
+ "default": "标签的索引值",
3123
+ "description": "标签名称,作为匹配的标识符",
3124
+ "options": [],
3125
+ "value": {
3126
+ "type": "number | string",
3127
+ "kind": "expression"
3128
+ }
3129
+ },
3130
+ {
3131
+ "name": "url",
3132
+ "default": "-",
3133
+ "description": "点击后跳转的链接地址",
3134
+ "options": [],
3135
+ "value": {
3136
+ "type": "string",
3137
+ "kind": "expression"
3138
+ }
3139
+ },
3140
+ {
3141
+ "name": "to",
3142
+ "default": "-",
3143
+ "description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
3144
+ "options": [],
3145
+ "value": {
3146
+ "type": "string | object",
3147
+ "kind": "expression"
3148
+ }
3149
+ },
3150
+ {
3151
+ "name": "replace",
3152
+ "default": "`false`",
3153
+ "description": "是否在跳转时替换当前页面历史",
3154
+ "options": [],
3155
+ "value": {
3156
+ "type": "boolean",
3157
+ "kind": "expression"
3158
+ }
3159
+ },
3160
+ {
3161
+ "name": "title-style",
3162
+ "default": "-",
3163
+ "description": "自定义标题样式",
3164
+ "options": [],
3165
+ "value": {
3166
+ "type": "string | Array | object",
3167
+ "kind": "expression"
3168
+ }
3169
+ },
3170
+ {
3171
+ "name": "title-class",
3172
+ "default": "-",
3173
+ "description": "自定义标题类名",
3174
+ "options": [],
3175
+ "value": {
3176
+ "type": "string | Array | object",
3177
+ "kind": "expression"
3178
+ }
3179
+ },
3180
+ {
3181
+ "name": "show-zero-badge",
3182
+ "default": "`true`",
3183
+ "description": "当 badge 为数字 0 时,是否展示徽标",
3184
+ "options": [],
3185
+ "value": {
3186
+ "type": "boolean",
3187
+ "kind": "expression"
3188
+ }
3189
+ }
3190
+ ]
3191
+ }
3192
+ ],
3193
+ "attributes": [],
3194
+ "types-syntax": "typescript"
3195
+ }
3196
+ }
3197
+ }