zartui 3.0.2 → 3.0.4

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 (1013) hide show
  1. package/es/action-sheet/ActionSheet.d.ts +194 -0
  2. package/es/action-sheet/ActionSheet.mjs +142 -0
  3. package/es/action-sheet/index.css +1 -0
  4. package/es/action-sheet/index.d.ts +135 -0
  5. package/es/action-sheet/index.mjs +10 -0
  6. package/es/action-sheet/style/index.d.ts +1 -0
  7. package/es/action-sheet/style/index.mjs +7 -0
  8. package/es/avatar/Avatar.d.ts +59 -0
  9. package/es/avatar/Avatar.mjs +70 -0
  10. package/es/avatar/index.css +1 -0
  11. package/es/avatar/index.d.ts +46 -0
  12. package/es/avatar/index.mjs +8 -0
  13. package/es/avatar/style/index.d.ts +1 -0
  14. package/es/avatar/style/index.mjs +5 -0
  15. package/es/avatar/types.d.ts +2 -0
  16. package/es/avatar/types.mjs +0 -0
  17. package/es/badge/Badge.d.ts +12 -6
  18. package/es/badge/Badge.mjs +13 -6
  19. package/es/badge/index.css +1 -1
  20. package/es/badge/index.d.ts +8 -4
  21. package/es/button/Button.d.ts +1 -1
  22. package/es/button/index.css +1 -1
  23. package/es/button/index.d.ts +1 -1
  24. package/es/calendar/Calendar.d.ts +302 -0
  25. package/es/calendar/Calendar.mjs +419 -0
  26. package/es/calendar/CalendarDay.d.ts +32 -0
  27. package/es/calendar/CalendarDay.mjs +108 -0
  28. package/es/calendar/CalendarHeader.d.ts +26 -0
  29. package/es/calendar/CalendarHeader.mjs +58 -0
  30. package/es/calendar/CalendarMonth.d.ts +86 -0
  31. package/es/calendar/CalendarMonth.mjs +201 -0
  32. package/es/calendar/index.css +1 -0
  33. package/es/calendar/index.d.ts +217 -0
  34. package/es/calendar/index.mjs +10 -0
  35. package/es/calendar/style/index.d.ts +1 -0
  36. package/es/calendar/style/index.mjs +9 -0
  37. package/es/calendar/types.d.ts +28 -0
  38. package/es/calendar/types.mjs +0 -0
  39. package/es/calendar/utils.d.ts +12 -0
  40. package/es/calendar/utils.mjs +56 -0
  41. package/es/cascader/Cascader.d.ts +171 -0
  42. package/es/cascader/Cascader.mjs +284 -0
  43. package/es/cascader/index.css +1 -0
  44. package/es/cascader/index.d.ts +126 -0
  45. package/es/cascader/index.mjs +10 -0
  46. package/es/cascader/style/index.d.ts +1 -0
  47. package/es/cascader/style/index.mjs +14 -0
  48. package/es/cascader/types.d.ts +19 -0
  49. package/es/cascader/types.mjs +0 -0
  50. package/es/cell/Cell.d.ts +49 -26
  51. package/es/cell/Cell.mjs +71 -31
  52. package/es/cell/index.css +1 -1
  53. package/es/cell/index.d.ts +29 -15
  54. package/es/cell/types.d.ts +1 -0
  55. package/es/cell/types.mjs +0 -0
  56. package/es/cell-group/CellGroup.d.ts +29 -0
  57. package/es/cell-group/CellGroup.mjs +43 -0
  58. package/es/cell-group/index.css +1 -0
  59. package/es/cell-group/index.d.ts +25 -0
  60. package/es/cell-group/index.mjs +8 -0
  61. package/es/cell-group/style/index.d.ts +1 -0
  62. package/es/cell-group/style/index.mjs +2 -0
  63. package/es/checkbox/Checkbox.d.ts +64 -0
  64. package/es/checkbox/Checkbox.mjs +81 -0
  65. package/es/checkbox/Checker.d.ts +85 -0
  66. package/es/checkbox/Checker.mjs +113 -0
  67. package/es/checkbox/index.css +1 -0
  68. package/es/checkbox/index.d.ts +51 -0
  69. package/es/checkbox/index.mjs +8 -0
  70. package/es/checkbox/style/index.d.ts +1 -0
  71. package/es/checkbox/style/index.mjs +5 -0
  72. package/es/checkbox/types.d.ts +13 -0
  73. package/es/checkbox/types.mjs +0 -0
  74. package/es/checkbox-group/CheckboxGroup.d.ts +54 -0
  75. package/es/checkbox-group/CheckboxGroup.mjs +71 -0
  76. package/es/checkbox-group/index.css +1 -0
  77. package/es/checkbox-group/index.d.ts +42 -0
  78. package/es/checkbox-group/index.mjs +8 -0
  79. package/es/checkbox-group/style/index.d.ts +1 -0
  80. package/es/checkbox-group/style/index.mjs +2 -0
  81. package/es/checkbox-group/types.d.ts +16 -0
  82. package/es/checkbox-group/types.mjs +0 -0
  83. package/es/col/Col.d.ts +2 -2
  84. package/es/col/index.d.ts +1 -1
  85. package/es/collapse/Collapse.d.ts +55 -0
  86. package/es/collapse/Collapse.mjs +109 -0
  87. package/es/collapse/index.d.ts +36 -0
  88. package/es/collapse/index.mjs +10 -0
  89. package/es/collapse/style/index.d.ts +1 -0
  90. package/es/collapse/style/index.mjs +1 -0
  91. package/es/collapse-item/CollapseItem.d.ts +34 -0
  92. package/es/collapse-item/CollapseItem.mjs +135 -0
  93. package/es/collapse-item/index.css +1 -0
  94. package/es/collapse-item/index.d.ts +30 -0
  95. package/es/collapse-item/index.mjs +10 -0
  96. package/es/collapse-item/style/index.d.ts +1 -0
  97. package/es/collapse-item/style/index.mjs +4 -0
  98. package/es/collapse-item/types.d.ts +6 -0
  99. package/es/collapse-item/types.mjs +0 -0
  100. package/es/composables/use-route.d.ts +1 -4
  101. package/es/composables/use-route.mjs +1 -3
  102. package/es/config-provider/ConfigProvider.d.ts +1 -1
  103. package/es/config-provider/ConfigProvider.mjs +2 -2
  104. package/es/config-provider/index.d.ts +2 -2
  105. package/es/date-time-picker/DateTimePicker.d.ts +242 -0
  106. package/es/date-time-picker/DateTimePicker.mjs +248 -0
  107. package/es/date-time-picker/DateTimePickerWrapper.d.ts +334 -0
  108. package/es/date-time-picker/DateTimePickerWrapper.mjs +254 -0
  109. package/es/date-time-picker/index.css +1 -0
  110. package/es/date-time-picker/index.d.ts +247 -0
  111. package/es/date-time-picker/index.mjs +10 -0
  112. package/es/date-time-picker/style/index.d.ts +1 -0
  113. package/es/date-time-picker/style/index.mjs +12 -0
  114. package/es/date-time-picker/types.d.ts +5 -0
  115. package/es/date-time-picker/types.mjs +0 -0
  116. package/es/date-time-picker/utils.d.ts +53 -0
  117. package/es/date-time-picker/utils.mjs +42 -0
  118. package/es/dialog/Dialog.d.ts +187 -0
  119. package/es/dialog/Dialog.mjs +197 -0
  120. package/es/dialog/function-call.d.ts +6 -0
  121. package/es/dialog/function-call.mjs +85 -0
  122. package/es/dialog/index.css +1 -0
  123. package/es/dialog/index.d.ts +138 -0
  124. package/es/dialog/index.mjs +22 -0
  125. package/es/dialog/style/index.d.ts +1 -0
  126. package/es/dialog/style/index.mjs +8 -0
  127. package/es/dialog/types.d.ts +32 -0
  128. package/es/dialog/types.mjs +0 -0
  129. package/es/divider/Divider.d.ts +2 -2
  130. package/es/divider/index.css +1 -1
  131. package/es/divider/index.d.ts +1 -1
  132. package/es/dropdown-item/DropdownItem.d.ts +78 -0
  133. package/es/dropdown-item/DropdownItem.mjs +302 -0
  134. package/es/dropdown-item/index.css +1 -0
  135. package/es/dropdown-item/index.d.ts +64 -0
  136. package/es/dropdown-item/index.mjs +10 -0
  137. package/es/dropdown-item/style/index.d.ts +1 -0
  138. package/es/dropdown-item/style/index.mjs +12 -0
  139. package/es/dropdown-item/types.d.ts +23 -0
  140. package/es/dropdown-item/types.mjs +0 -0
  141. package/es/dropdown-menu/DropdownMenu.d.ts +82 -0
  142. package/es/dropdown-menu/DropdownMenu.mjs +142 -0
  143. package/es/dropdown-menu/index.css +1 -0
  144. package/es/dropdown-menu/index.d.ts +63 -0
  145. package/es/dropdown-menu/index.mjs +10 -0
  146. package/es/dropdown-menu/style/index.d.ts +1 -0
  147. package/es/dropdown-menu/style/index.mjs +4 -0
  148. package/es/dropdown-menu/types.d.ts +8 -0
  149. package/es/dropdown-menu/types.mjs +0 -0
  150. package/es/empty/Empty.d.ts +3 -2
  151. package/es/empty/Empty.mjs +10 -5
  152. package/es/empty/Images.d.ts +7 -2
  153. package/es/empty/Images.mjs +855 -2004
  154. package/es/empty/index.css +1 -1
  155. package/es/empty/index.d.ts +1 -1
  156. package/es/field/Field.d.ts +364 -0
  157. package/es/field/Field.mjs +510 -0
  158. package/es/field/index.css +1 -0
  159. package/es/field/index.d.ts +230 -0
  160. package/es/field/index.mjs +8 -0
  161. package/es/field/style/index.d.ts +1 -0
  162. package/es/field/style/index.mjs +5 -0
  163. package/es/field/types.d.ts +44 -0
  164. package/es/field/types.mjs +0 -0
  165. package/es/field/utils.d.ts +15 -0
  166. package/es/field/utils.mjs +107 -0
  167. package/es/form/Form.d.ts +88 -0
  168. package/es/form/Form.mjs +158 -0
  169. package/es/form/index.d.ts +69 -0
  170. package/es/form/index.mjs +8 -0
  171. package/es/form/style/index.d.ts +1 -0
  172. package/es/form/style/index.mjs +1 -0
  173. package/es/form/types.d.ts +15 -0
  174. package/es/form/types.mjs +0 -0
  175. package/es/grid/Grid.d.ts +74 -0
  176. package/es/grid/Grid.mjs +48 -0
  177. package/es/grid/index.css +1 -0
  178. package/es/grid/index.d.ts +54 -0
  179. package/es/grid/index.mjs +10 -0
  180. package/es/grid/style/index.d.ts +1 -0
  181. package/es/grid/style/index.mjs +2 -0
  182. package/es/grid-item/GridItem.d.ts +45 -0
  183. package/es/grid-item/GridItem.mjs +146 -0
  184. package/es/grid-item/index.css +1 -0
  185. package/es/grid-item/index.d.ts +36 -0
  186. package/es/grid-item/index.mjs +10 -0
  187. package/es/grid-item/style/index.d.ts +1 -0
  188. package/es/grid-item/style/index.mjs +5 -0
  189. package/es/icon/Icon.d.ts +1 -1
  190. package/es/icon/config.mjs +10 -2
  191. package/es/icon/index.css +1 -1
  192. package/es/icon/index.d.ts +1 -1
  193. package/es/image/Image.d.ts +105 -0
  194. package/es/image/Image.mjs +151 -0
  195. package/es/image/index.css +1 -0
  196. package/es/image/index.d.ts +77 -0
  197. package/es/image/index.mjs +8 -0
  198. package/es/image/style/index.d.ts +1 -0
  199. package/es/image/style/index.mjs +4 -0
  200. package/es/image-preview/ImagePreview.d.ts +189 -0
  201. package/es/image-preview/ImagePreview.mjs +183 -0
  202. package/es/image-preview/ImagePreviewItem.d.ts +48 -0
  203. package/es/image-preview/ImagePreviewItem.mjs +266 -0
  204. package/es/image-preview/function-call.d.ts +3 -0
  205. package/es/image-preview/function-call.mjs +76 -0
  206. package/es/image-preview/index.css +1 -0
  207. package/es/image-preview/index.d.ts +140 -0
  208. package/es/image-preview/index.mjs +12 -0
  209. package/es/image-preview/style/index.d.ts +1 -0
  210. package/es/image-preview/style/index.mjs +10 -0
  211. package/es/image-preview/types.d.ts +43 -0
  212. package/es/image-preview/types.mjs +0 -0
  213. package/es/index.d.ts +39 -1
  214. package/es/index.mjs +114 -2
  215. package/es/lazyload/index.d.ts +3 -0
  216. package/es/lazyload/index.mjs +6 -0
  217. package/es/lazyload/style/index.d.ts +1 -0
  218. package/es/lazyload/style/index.mjs +1 -0
  219. package/es/lazyload/vue-lazyload/index.d.ts +55 -0
  220. package/es/lazyload/vue-lazyload/index.mjs +31 -0
  221. package/es/lazyload/vue-lazyload/lazy-component.mjs +51 -0
  222. package/es/lazyload/vue-lazyload/lazy-container.mjs +74 -0
  223. package/es/lazyload/vue-lazyload/lazy-image.mjs +100 -0
  224. package/es/lazyload/vue-lazyload/lazy.mjs +364 -0
  225. package/es/lazyload/vue-lazyload/listener.mjs +173 -0
  226. package/es/lazyload/vue-lazyload/util.mjs +166 -0
  227. package/es/list/List.d.ts +2 -2
  228. package/es/list/List.mjs +2 -1
  229. package/es/list/index.css +1 -1
  230. package/es/list/index.d.ts +1 -1
  231. package/es/loading/Loading.d.ts +1 -1
  232. package/es/loading/index.css +1 -1
  233. package/es/loading/index.d.ts +1 -1
  234. package/es/locale/lang/zh-CN.mjs +1 -1
  235. package/es/media-picker/MediaPicker.d.ts +242 -0
  236. package/es/media-picker/MediaPicker.mjs +649 -0
  237. package/es/media-picker/image/DefaultAudioIcon.d.ts +2 -0
  238. package/es/media-picker/image/DefaultAudioIcon.mjs +98 -0
  239. package/es/media-picker/image/DefaultFileIcon.d.ts +2 -0
  240. package/es/media-picker/image/DefaultFileIcon.mjs +87 -0
  241. package/es/media-picker/image/DefaultVideoIcon.d.ts +2 -0
  242. package/es/media-picker/image/DefaultVideoIcon.mjs +119 -0
  243. package/es/media-picker/image/DeleteIcon.d.ts +2 -0
  244. package/es/media-picker/image/DeleteIcon.mjs +30 -0
  245. package/es/media-picker/image/PickFileIcon.d.ts +2 -0
  246. package/es/media-picker/image/PickFileIcon.mjs +27 -0
  247. package/es/media-picker/image/PickPhotoIcon.d.ts +2 -0
  248. package/es/media-picker/image/PickPhotoIcon.mjs +27 -0
  249. package/es/media-picker/image/TakeAudioIcon.d.ts +2 -0
  250. package/es/media-picker/image/TakeAudioIcon.mjs +27 -0
  251. package/es/media-picker/image/TakePhotoIcon.d.ts +2 -0
  252. package/es/media-picker/image/TakePhotoIcon.mjs +27 -0
  253. package/es/media-picker/image/TakeVideoIcon.d.ts +2 -0
  254. package/es/media-picker/image/TakeVideoIcon.mjs +27 -0
  255. package/es/media-picker/index.css +1 -0
  256. package/es/media-picker/index.d.ts +153 -0
  257. package/es/media-picker/index.mjs +8 -0
  258. package/es/media-picker/style/index.d.ts +1 -0
  259. package/es/media-picker/style/index.mjs +16 -0
  260. package/es/media-picker/type.d.ts +22 -0
  261. package/es/media-picker/type.mjs +0 -0
  262. package/es/media-picker/util/media-util.d.ts +86 -0
  263. package/es/media-picker/util/media-util.mjs +266 -0
  264. package/es/media-picker/watermark/compress-options.d.ts +5 -0
  265. package/es/media-picker/watermark/compress-options.mjs +15 -0
  266. package/es/media-picker/watermark/image-processor.d.ts +12 -0
  267. package/es/media-picker/watermark/image-processor.mjs +80 -0
  268. package/es/media-picker/watermark/resize-options.d.ts +4 -0
  269. package/es/media-picker/watermark/resize-options.mjs +19 -0
  270. package/es/media-picker/watermark/watermark.d.ts +42 -0
  271. package/es/media-picker/watermark/watermark.mjs +641 -0
  272. package/es/media-player/MediaPlayer.d.ts +42 -0
  273. package/es/media-player/MediaPlayer.mjs +105 -0
  274. package/es/media-player/index.css +1 -0
  275. package/es/media-player/index.d.ts +34 -0
  276. package/es/media-player/index.mjs +8 -0
  277. package/es/media-player/style/index.d.ts +1 -0
  278. package/es/media-player/style/index.mjs +6 -0
  279. package/es/multiple-picker/MultiplePicker.d.ts +167 -0
  280. package/es/multiple-picker/MultiplePicker.mjs +169 -0
  281. package/es/multiple-picker/MultiplePickerOptions.d.ts +85 -0
  282. package/es/multiple-picker/MultiplePickerOptions.mjs +106 -0
  283. package/es/multiple-picker/index.css +1 -0
  284. package/es/multiple-picker/index.d.ts +123 -0
  285. package/es/multiple-picker/index.mjs +8 -0
  286. package/es/multiple-picker/style/index.d.ts +1 -0
  287. package/es/multiple-picker/style/index.mjs +8 -0
  288. package/es/multiple-picker/types.d.ts +15 -0
  289. package/es/multiple-picker/types.mjs +0 -0
  290. package/es/nav-bar/NavBar.d.ts +72 -0
  291. package/es/nav-bar/NavBar.mjs +114 -0
  292. package/es/nav-bar/index.css +1 -0
  293. package/es/nav-bar/index.d.ts +56 -0
  294. package/es/nav-bar/index.mjs +8 -0
  295. package/es/nav-bar/style/index.d.ts +1 -0
  296. package/es/nav-bar/style/index.mjs +4 -0
  297. package/es/notice-bar/NoticeBar.d.ts +1 -1
  298. package/es/notice-bar/index.css +1 -1
  299. package/es/notice-bar/index.d.ts +1 -1
  300. package/es/notify/Notify.d.ts +1 -1
  301. package/es/notify/index.css +1 -1
  302. package/es/notify/index.d.ts +2 -2
  303. package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
  304. package/es/number-keyboard/NumberKeyboard.mjs +1 -2
  305. package/es/number-keyboard/NumberKeyboardKey.mjs +2 -2
  306. package/es/number-keyboard/index.css +1 -1
  307. package/es/number-keyboard/index.d.ts +5 -5
  308. package/es/number-keyboard/style/index.mjs +2 -2
  309. package/es/overlay/Overlay.d.ts +1 -1
  310. package/es/overlay/index.css +1 -1
  311. package/es/overlay/index.d.ts +1 -1
  312. package/es/password-input/PasswordInput.d.ts +1 -1
  313. package/es/password-input/PasswordInput.mjs +1 -1
  314. package/es/password-input/index.css +1 -1
  315. package/es/picker/Picker.d.ts +224 -0
  316. package/es/picker/Picker.mjs +244 -0
  317. package/es/picker/PickerColumn.d.ts +69 -0
  318. package/es/picker/PickerColumn.mjs +212 -0
  319. package/es/picker/PickerToolbar.d.ts +18 -0
  320. package/es/picker/PickerToolbar.mjs +54 -0
  321. package/es/picker/index.css +1 -0
  322. package/es/picker/index.d.ts +142 -0
  323. package/es/picker/index.mjs +10 -0
  324. package/es/picker/style/index.d.ts +1 -0
  325. package/es/picker/style/index.mjs +9 -0
  326. package/es/picker/types.d.ts +44 -0
  327. package/es/picker/types.mjs +0 -0
  328. package/es/picker/utils.d.ts +13 -0
  329. package/es/picker/utils.mjs +80 -0
  330. package/es/popover/Popover.d.ts +164 -0
  331. package/es/popover/Popover.mjs +186 -0
  332. package/es/popover/index.css +1 -0
  333. package/es/popover/index.d.ts +121 -0
  334. package/es/popover/index.mjs +10 -0
  335. package/es/popover/style/index.d.ts +1 -0
  336. package/es/popover/style/index.mjs +6 -0
  337. package/es/popover/types.d.ts +11 -0
  338. package/es/popover/types.mjs +0 -0
  339. package/es/popup/Popup.d.ts +48 -5
  340. package/es/popup/Popup.mjs +87 -3
  341. package/es/popup/index.css +1 -1
  342. package/es/popup/index.d.ts +34 -4
  343. package/es/pull-refresh/PullRefresh.d.ts +3 -3
  344. package/es/pull-refresh/PullRefresh.mjs +7 -2
  345. package/es/pull-refresh/index.css +1 -1
  346. package/es/pull-refresh/index.d.ts +2 -2
  347. package/es/radio/Radio.d.ts +37 -0
  348. package/es/radio/Radio.mjs +41 -0
  349. package/es/radio/index.css +1 -0
  350. package/es/radio/index.d.ts +38 -0
  351. package/es/radio/index.mjs +8 -0
  352. package/es/radio/style/index.d.ts +1 -0
  353. package/es/radio/style/index.mjs +6 -0
  354. package/es/radio-group/RadioGroup.d.ts +45 -0
  355. package/es/radio-group/RadioGroup.mjs +44 -0
  356. package/es/radio-group/index.css +1 -0
  357. package/es/radio-group/index.d.ts +32 -0
  358. package/es/radio-group/index.mjs +8 -0
  359. package/es/radio-group/style/index.d.ts +1 -0
  360. package/es/radio-group/style/index.mjs +2 -0
  361. package/es/rate/Rate.d.ts +4 -4
  362. package/es/rate/Rate.mjs +1 -1
  363. package/es/rate/index.css +1 -1
  364. package/es/rate/index.d.ts +3 -3
  365. package/es/row/Row.d.ts +2 -2
  366. package/es/row/index.d.ts +1 -1
  367. package/es/search/Search.d.ts +217 -0
  368. package/es/search/Search.mjs +136 -0
  369. package/es/search/index.css +1 -0
  370. package/es/search/index.d.ts +159 -0
  371. package/es/search/index.mjs +10 -0
  372. package/es/search/style/index.d.ts +1 -0
  373. package/es/search/style/index.mjs +6 -0
  374. package/es/search/types.d.ts +8 -0
  375. package/es/search/types.mjs +0 -0
  376. package/es/signature/Signature.d.ts +109 -0
  377. package/es/signature/Signature.mjs +232 -0
  378. package/es/signature/force-landscape.d.ts +16 -0
  379. package/es/signature/force-landscape.mjs +72 -0
  380. package/es/signature/index.css +1 -0
  381. package/es/signature/index.d.ts +83 -0
  382. package/es/signature/index.mjs +10 -0
  383. package/es/signature/style/index.d.ts +1 -0
  384. package/es/signature/style/index.mjs +10 -0
  385. package/es/signature/types.d.ts +1 -0
  386. package/es/signature/types.mjs +0 -0
  387. package/es/skeleton/Skeleton.d.ts +104 -0
  388. package/es/skeleton/Skeleton.mjs +116 -0
  389. package/es/skeleton/index.css +1 -0
  390. package/es/skeleton/index.d.ts +78 -0
  391. package/es/skeleton/index.mjs +10 -0
  392. package/es/skeleton/style/index.d.ts +1 -0
  393. package/es/skeleton/style/index.mjs +2 -0
  394. package/es/step/Step.d.ts +15 -0
  395. package/es/step/Step.mjs +137 -0
  396. package/es/step/index.css +1 -0
  397. package/es/step/index.d.ts +15 -0
  398. package/es/step/index.mjs +8 -0
  399. package/es/step/style/index.d.ts +1 -0
  400. package/es/step/style/index.mjs +5 -0
  401. package/es/stepper/Stepper.d.ts +4 -4
  402. package/es/stepper/Stepper.mjs +1 -2
  403. package/es/stepper/index.css +1 -1
  404. package/es/stepper/index.d.ts +3 -3
  405. package/es/steps/Steps.d.ts +67 -0
  406. package/es/steps/Steps.mjs +49 -0
  407. package/es/steps/index.css +1 -0
  408. package/es/steps/index.d.ts +48 -0
  409. package/es/steps/index.mjs +10 -0
  410. package/es/steps/style/index.d.ts +1 -0
  411. package/es/steps/style/index.mjs +2 -0
  412. package/es/sticky/Sticky.d.ts +2 -2
  413. package/es/sticky/Sticky.mjs +2 -1
  414. package/es/sticky/index.css +1 -1
  415. package/es/sticky/index.d.ts +1 -1
  416. package/es/style/base.css +1 -1
  417. package/es/style/css-variables.css +1 -1
  418. package/es/style/normalize.css +1 -1
  419. package/es/swipe/Swipe.d.ts +4 -1
  420. package/es/swipe/Swipe.mjs +28 -11
  421. package/es/swipe/index.css +1 -1
  422. package/es/swipe/index.d.ts +2 -0
  423. package/es/swipe-item/SwipeItem.d.ts +1 -1
  424. package/es/swipe-item/SwipeItem.mjs +1 -1
  425. package/es/swipe-item/index.d.ts +1 -1
  426. package/es/switch/Switch.d.ts +2 -2
  427. package/es/switch/index.css +1 -1
  428. package/es/switch/index.d.ts +1 -1
  429. package/es/tab/Tab.d.ts +2 -2
  430. package/es/tab/Tab.mjs +1 -1
  431. package/es/tab/index.d.ts +1 -1
  432. package/es/tab/style/index.mjs +1 -1
  433. package/es/tabbar/Tabbar.d.ts +90 -0
  434. package/es/tabbar/Tabbar.mjs +84 -0
  435. package/es/tabbar/image/common-selected.png +0 -0
  436. package/es/tabbar/index.css +1 -0
  437. package/es/tabbar/index.d.ts +64 -0
  438. package/es/tabbar/index.mjs +8 -0
  439. package/es/tabbar/style/index.d.ts +1 -0
  440. package/es/tabbar/style/index.mjs +2 -0
  441. package/es/tabbar-item/TabbarItem.d.ts +44 -0
  442. package/es/tabbar-item/TabbarItem.mjs +122 -0
  443. package/es/tabbar-item/index.css +1 -0
  444. package/es/tabbar-item/index.d.ts +35 -0
  445. package/es/tabbar-item/index.mjs +8 -0
  446. package/es/tabbar-item/style/index.d.ts +1 -0
  447. package/es/tabbar-item/style/index.mjs +5 -0
  448. package/es/tabs/Tabs.d.ts +6 -6
  449. package/es/tabs/Tabs.mjs +35 -4
  450. package/es/tabs/TabsTitle.d.ts +11 -2
  451. package/es/tabs/TabsTitle.mjs +8 -2
  452. package/es/tabs/index.css +1 -1
  453. package/es/tabs/index.d.ts +4 -4
  454. package/es/tag/Tag.d.ts +102 -0
  455. package/es/tag/Tag.mjs +101 -0
  456. package/es/tag/index.css +1 -0
  457. package/es/tag/index.d.ts +77 -0
  458. package/es/tag/index.mjs +10 -0
  459. package/es/tag/style/index.d.ts +1 -0
  460. package/es/tag/style/index.mjs +4 -0
  461. package/es/time-picker/Arrow.d.ts +4 -0
  462. package/es/time-picker/Arrow.mjs +27 -0
  463. package/es/time-picker/TimePicker.d.ts +286 -0
  464. package/es/time-picker/TimePicker.mjs +172 -0
  465. package/es/time-picker/TimePickerColumn.d.ts +71 -0
  466. package/es/time-picker/TimePickerColumn.mjs +233 -0
  467. package/es/time-picker/index.css +1 -0
  468. package/es/time-picker/index.d.ts +205 -0
  469. package/es/time-picker/index.mjs +10 -0
  470. package/es/time-picker/style/index.d.ts +1 -0
  471. package/es/time-picker/style/index.mjs +11 -0
  472. package/es/toast/Toast.d.ts +2 -2
  473. package/es/toast/index.css +1 -1
  474. package/es/toast/index.d.ts +6 -1
  475. package/es/toast/style/index.mjs +1 -1
  476. package/es/uploader/Uploader.d.ts +214 -0
  477. package/es/uploader/Uploader.mjs +249 -0
  478. package/es/uploader/UploaderPreviewItem.d.ts +36 -0
  479. package/es/uploader/UploaderPreviewItem.mjs +128 -0
  480. package/es/uploader/index.css +1 -0
  481. package/es/uploader/index.d.ts +155 -0
  482. package/es/uploader/index.mjs +10 -0
  483. package/es/uploader/style/index.d.ts +1 -0
  484. package/es/uploader/style/index.mjs +11 -0
  485. package/es/uploader/types.d.ts +31 -0
  486. package/es/uploader/types.mjs +0 -0
  487. package/es/uploader/utils.d.ts +11 -0
  488. package/es/uploader/utils.mjs +69 -0
  489. package/es/utils/basic.mjs +2 -1
  490. package/es/utils/constant.d.ts +5 -0
  491. package/es/utils/constant.mjs +7 -1
  492. package/es/utils/create.mjs +4 -1
  493. package/es/utils/format.d.ts +1 -1
  494. package/es/utils/mount-component.d.ts +1 -1
  495. package/es/utils/parse.d.ts +12 -0
  496. package/es/utils/parse.mjs +18 -0
  497. package/es/utils/props.d.ts +2 -2
  498. package/es/utils/props.mjs +2 -2
  499. package/es/utils/validate.d.ts +6 -1
  500. package/es/utils/validate.mjs +11 -1
  501. package/es/utils/with-install.d.ts +2 -2
  502. package/es/utils/with-install.mjs +4 -2
  503. package/es/vue-tsx-shim.d.ts +7 -0
  504. package/lib/action-sheet/ActionSheet.d.ts +194 -0
  505. package/lib/action-sheet/ActionSheet.js +161 -0
  506. package/lib/action-sheet/index.css +1 -0
  507. package/lib/action-sheet/index.d.ts +135 -0
  508. package/lib/action-sheet/index.js +35 -0
  509. package/lib/action-sheet/style/index.d.ts +1 -0
  510. package/lib/action-sheet/style/index.js +7 -0
  511. package/lib/avatar/Avatar.d.ts +59 -0
  512. package/lib/avatar/Avatar.js +95 -0
  513. package/lib/avatar/index.css +1 -0
  514. package/lib/avatar/index.d.ts +46 -0
  515. package/lib/avatar/index.js +33 -0
  516. package/lib/avatar/style/index.d.ts +1 -0
  517. package/lib/avatar/style/index.js +5 -0
  518. package/lib/avatar/types.d.ts +2 -0
  519. package/lib/avatar/types.js +15 -0
  520. package/lib/badge/Badge.d.ts +12 -6
  521. package/lib/badge/Badge.js +13 -6
  522. package/lib/badge/index.css +1 -1
  523. package/lib/badge/index.d.ts +8 -4
  524. package/lib/button/Button.d.ts +1 -1
  525. package/lib/button/index.css +1 -1
  526. package/lib/button/index.d.ts +1 -1
  527. package/lib/calendar/Calendar.d.ts +302 -0
  528. package/lib/calendar/Calendar.js +444 -0
  529. package/lib/calendar/CalendarDay.d.ts +32 -0
  530. package/lib/calendar/CalendarDay.js +127 -0
  531. package/lib/calendar/CalendarHeader.d.ts +26 -0
  532. package/lib/calendar/CalendarHeader.js +77 -0
  533. package/lib/calendar/CalendarMonth.d.ts +86 -0
  534. package/lib/calendar/CalendarMonth.js +226 -0
  535. package/lib/calendar/index.css +1 -0
  536. package/lib/calendar/index.d.ts +217 -0
  537. package/lib/calendar/index.js +35 -0
  538. package/lib/calendar/style/index.d.ts +1 -0
  539. package/lib/calendar/style/index.js +9 -0
  540. package/lib/calendar/types.d.ts +28 -0
  541. package/lib/calendar/types.js +15 -0
  542. package/lib/calendar/utils.d.ts +12 -0
  543. package/lib/calendar/utils.js +75 -0
  544. package/lib/cascader/Cascader.d.ts +171 -0
  545. package/lib/cascader/Cascader.js +309 -0
  546. package/lib/cascader/index.css +1 -0
  547. package/lib/cascader/index.d.ts +126 -0
  548. package/lib/cascader/index.js +35 -0
  549. package/lib/cascader/style/index.d.ts +1 -0
  550. package/lib/cascader/style/index.js +14 -0
  551. package/lib/cascader/types.d.ts +19 -0
  552. package/lib/cascader/types.js +15 -0
  553. package/lib/cell/Cell.d.ts +49 -26
  554. package/lib/cell/Cell.js +70 -30
  555. package/lib/cell/index.css +1 -1
  556. package/lib/cell/index.d.ts +29 -15
  557. package/lib/cell/types.d.ts +1 -0
  558. package/lib/cell/types.js +15 -0
  559. package/lib/cell-group/CellGroup.d.ts +29 -0
  560. package/lib/cell-group/CellGroup.js +62 -0
  561. package/lib/cell-group/index.css +1 -0
  562. package/lib/cell-group/index.d.ts +25 -0
  563. package/lib/cell-group/index.js +33 -0
  564. package/lib/cell-group/style/index.d.ts +1 -0
  565. package/lib/cell-group/style/index.js +2 -0
  566. package/lib/checkbox/Checkbox.d.ts +64 -0
  567. package/lib/checkbox/Checkbox.js +106 -0
  568. package/lib/checkbox/Checker.d.ts +85 -0
  569. package/lib/checkbox/Checker.js +132 -0
  570. package/lib/checkbox/index.css +1 -0
  571. package/lib/checkbox/index.d.ts +51 -0
  572. package/lib/checkbox/index.js +33 -0
  573. package/lib/checkbox/style/index.d.ts +1 -0
  574. package/lib/checkbox/style/index.js +5 -0
  575. package/lib/checkbox/types.d.ts +13 -0
  576. package/lib/checkbox/types.js +15 -0
  577. package/lib/checkbox-group/CheckboxGroup.d.ts +54 -0
  578. package/lib/checkbox-group/CheckboxGroup.js +90 -0
  579. package/lib/checkbox-group/index.css +1 -0
  580. package/lib/checkbox-group/index.d.ts +42 -0
  581. package/lib/checkbox-group/index.js +33 -0
  582. package/lib/checkbox-group/style/index.d.ts +1 -0
  583. package/lib/checkbox-group/style/index.js +2 -0
  584. package/lib/checkbox-group/types.d.ts +16 -0
  585. package/lib/checkbox-group/types.js +15 -0
  586. package/lib/col/Col.d.ts +2 -2
  587. package/lib/col/index.d.ts +1 -1
  588. package/lib/collapse/Collapse.d.ts +55 -0
  589. package/lib/collapse/Collapse.js +128 -0
  590. package/lib/collapse/index.d.ts +36 -0
  591. package/lib/collapse/index.js +35 -0
  592. package/lib/collapse/style/index.d.ts +1 -0
  593. package/lib/collapse/style/index.js +1 -0
  594. package/lib/collapse-item/CollapseItem.d.ts +34 -0
  595. package/lib/collapse-item/CollapseItem.js +160 -0
  596. package/lib/collapse-item/index.css +1 -0
  597. package/lib/collapse-item/index.d.ts +30 -0
  598. package/lib/collapse-item/index.js +35 -0
  599. package/lib/collapse-item/style/index.d.ts +1 -0
  600. package/lib/collapse-item/style/index.js +4 -0
  601. package/lib/collapse-item/types.d.ts +6 -0
  602. package/lib/collapse-item/types.js +15 -0
  603. package/lib/composables/use-route.d.ts +1 -4
  604. package/lib/config-provider/ConfigProvider.d.ts +1 -1
  605. package/lib/config-provider/ConfigProvider.js +2 -2
  606. package/lib/config-provider/index.d.ts +2 -2
  607. package/lib/date-time-picker/DateTimePicker.d.ts +242 -0
  608. package/lib/date-time-picker/DateTimePicker.js +273 -0
  609. package/lib/date-time-picker/DateTimePickerWrapper.d.ts +334 -0
  610. package/lib/date-time-picker/DateTimePickerWrapper.js +279 -0
  611. package/lib/date-time-picker/index.css +1 -0
  612. package/lib/date-time-picker/index.d.ts +247 -0
  613. package/lib/date-time-picker/index.js +35 -0
  614. package/lib/date-time-picker/style/index.d.ts +1 -0
  615. package/lib/date-time-picker/style/index.js +12 -0
  616. package/lib/date-time-picker/types.d.ts +5 -0
  617. package/lib/date-time-picker/types.js +15 -0
  618. package/lib/date-time-picker/utils.d.ts +53 -0
  619. package/lib/date-time-picker/utils.js +61 -0
  620. package/lib/dialog/Dialog.d.ts +187 -0
  621. package/lib/dialog/Dialog.js +216 -0
  622. package/lib/dialog/function-call.d.ts +6 -0
  623. package/lib/dialog/function-call.js +110 -0
  624. package/lib/dialog/index.css +1 -0
  625. package/lib/dialog/index.d.ts +138 -0
  626. package/lib/dialog/index.js +41 -0
  627. package/lib/dialog/style/index.d.ts +1 -0
  628. package/lib/dialog/style/index.js +8 -0
  629. package/lib/dialog/types.d.ts +32 -0
  630. package/lib/dialog/types.js +15 -0
  631. package/lib/divider/Divider.d.ts +2 -2
  632. package/lib/divider/index.css +1 -1
  633. package/lib/divider/index.d.ts +1 -1
  634. package/lib/dropdown-item/DropdownItem.d.ts +78 -0
  635. package/lib/dropdown-item/DropdownItem.js +321 -0
  636. package/lib/dropdown-item/index.css +1 -0
  637. package/lib/dropdown-item/index.d.ts +64 -0
  638. package/lib/dropdown-item/index.js +35 -0
  639. package/lib/dropdown-item/style/index.d.ts +1 -0
  640. package/lib/dropdown-item/style/index.js +12 -0
  641. package/lib/dropdown-item/types.d.ts +23 -0
  642. package/lib/dropdown-item/types.js +15 -0
  643. package/lib/dropdown-menu/DropdownMenu.d.ts +82 -0
  644. package/lib/dropdown-menu/DropdownMenu.js +167 -0
  645. package/lib/dropdown-menu/index.css +1 -0
  646. package/lib/dropdown-menu/index.d.ts +63 -0
  647. package/lib/dropdown-menu/index.js +35 -0
  648. package/lib/dropdown-menu/style/index.d.ts +1 -0
  649. package/lib/dropdown-menu/style/index.js +4 -0
  650. package/lib/dropdown-menu/types.d.ts +8 -0
  651. package/lib/dropdown-menu/types.js +15 -0
  652. package/lib/empty/Empty.d.ts +3 -2
  653. package/lib/empty/Empty.js +9 -4
  654. package/lib/empty/Images.d.ts +7 -2
  655. package/lib/empty/Images.js +854 -2003
  656. package/lib/empty/index.css +1 -1
  657. package/lib/empty/index.d.ts +1 -1
  658. package/lib/field/Field.d.ts +364 -0
  659. package/lib/field/Field.js +529 -0
  660. package/lib/field/index.css +1 -0
  661. package/lib/field/index.d.ts +230 -0
  662. package/lib/field/index.js +33 -0
  663. package/lib/field/style/index.d.ts +1 -0
  664. package/lib/field/style/index.js +5 -0
  665. package/lib/field/types.d.ts +44 -0
  666. package/lib/field/types.js +15 -0
  667. package/lib/field/utils.d.ts +15 -0
  668. package/lib/field/utils.js +120 -0
  669. package/lib/form/Form.d.ts +88 -0
  670. package/lib/form/Form.js +177 -0
  671. package/lib/form/index.d.ts +69 -0
  672. package/lib/form/index.js +33 -0
  673. package/lib/form/style/index.d.ts +1 -0
  674. package/lib/form/style/index.js +1 -0
  675. package/lib/form/types.d.ts +15 -0
  676. package/lib/form/types.js +15 -0
  677. package/lib/grid/Grid.d.ts +74 -0
  678. package/lib/grid/Grid.js +67 -0
  679. package/lib/grid/index.css +1 -0
  680. package/lib/grid/index.d.ts +54 -0
  681. package/lib/grid/index.js +35 -0
  682. package/lib/grid/style/index.d.ts +1 -0
  683. package/lib/grid/style/index.js +2 -0
  684. package/lib/grid-item/GridItem.d.ts +45 -0
  685. package/lib/grid-item/GridItem.js +165 -0
  686. package/lib/grid-item/index.css +1 -0
  687. package/lib/grid-item/index.d.ts +36 -0
  688. package/lib/grid-item/index.js +35 -0
  689. package/lib/grid-item/style/index.d.ts +1 -0
  690. package/lib/grid-item/style/index.js +5 -0
  691. package/lib/icon/Icon.d.ts +1 -1
  692. package/lib/icon/config.js +10 -2
  693. package/lib/icon/index.css +1 -1
  694. package/lib/icon/index.d.ts +1 -1
  695. package/lib/image/Image.d.ts +105 -0
  696. package/lib/image/Image.js +170 -0
  697. package/lib/image/index.css +1 -0
  698. package/lib/image/index.d.ts +77 -0
  699. package/lib/image/index.js +33 -0
  700. package/lib/image/style/index.d.ts +1 -0
  701. package/lib/image/style/index.js +4 -0
  702. package/lib/image-preview/ImagePreview.d.ts +189 -0
  703. package/lib/image-preview/ImagePreview.js +208 -0
  704. package/lib/image-preview/ImagePreviewItem.d.ts +48 -0
  705. package/lib/image-preview/ImagePreviewItem.js +285 -0
  706. package/lib/image-preview/function-call.d.ts +3 -0
  707. package/lib/image-preview/function-call.js +101 -0
  708. package/lib/image-preview/index.css +1 -0
  709. package/lib/image-preview/index.d.ts +140 -0
  710. package/lib/image-preview/index.js +37 -0
  711. package/lib/image-preview/style/index.d.ts +1 -0
  712. package/lib/image-preview/style/index.js +10 -0
  713. package/lib/image-preview/types.d.ts +43 -0
  714. package/lib/image-preview/types.js +15 -0
  715. package/lib/index.css +1 -1
  716. package/lib/index.d.ts +39 -1
  717. package/lib/index.js +114 -2
  718. package/lib/lazyload/index.d.ts +3 -0
  719. package/lib/lazyload/index.js +25 -0
  720. package/lib/lazyload/style/index.d.ts +1 -0
  721. package/lib/lazyload/style/index.js +1 -0
  722. package/lib/lazyload/vue-lazyload/index.d.ts +55 -0
  723. package/lib/lazyload/vue-lazyload/index.js +56 -0
  724. package/lib/lazyload/vue-lazyload/lazy-component.js +70 -0
  725. package/lib/lazyload/vue-lazyload/lazy-container.js +93 -0
  726. package/lib/lazyload/vue-lazyload/lazy-image.js +119 -0
  727. package/lib/lazyload/vue-lazyload/lazy.js +378 -0
  728. package/lib/lazyload/vue-lazyload/listener.js +192 -0
  729. package/lib/lazyload/vue-lazyload/util.js +185 -0
  730. package/lib/list/List.d.ts +2 -2
  731. package/lib/list/List.js +2 -1
  732. package/lib/list/index.css +1 -1
  733. package/lib/list/index.d.ts +1 -1
  734. package/lib/loading/Loading.d.ts +1 -1
  735. package/lib/loading/index.css +1 -1
  736. package/lib/loading/index.d.ts +1 -1
  737. package/lib/locale/lang/zh-CN.js +1 -1
  738. package/lib/media-picker/MediaPicker.d.ts +242 -0
  739. package/lib/media-picker/MediaPicker.js +674 -0
  740. package/lib/media-picker/image/DefaultAudioIcon.d.ts +2 -0
  741. package/lib/media-picker/image/DefaultAudioIcon.js +117 -0
  742. package/lib/media-picker/image/DefaultFileIcon.d.ts +2 -0
  743. package/lib/media-picker/image/DefaultFileIcon.js +106 -0
  744. package/lib/media-picker/image/DefaultVideoIcon.d.ts +2 -0
  745. package/lib/media-picker/image/DefaultVideoIcon.js +138 -0
  746. package/lib/media-picker/image/DeleteIcon.d.ts +2 -0
  747. package/lib/media-picker/image/DeleteIcon.js +49 -0
  748. package/lib/media-picker/image/PickFileIcon.d.ts +2 -0
  749. package/lib/media-picker/image/PickFileIcon.js +46 -0
  750. package/lib/media-picker/image/PickPhotoIcon.d.ts +2 -0
  751. package/lib/media-picker/image/PickPhotoIcon.js +46 -0
  752. package/lib/media-picker/image/TakeAudioIcon.d.ts +2 -0
  753. package/lib/media-picker/image/TakeAudioIcon.js +46 -0
  754. package/lib/media-picker/image/TakePhotoIcon.d.ts +2 -0
  755. package/lib/media-picker/image/TakePhotoIcon.js +46 -0
  756. package/lib/media-picker/image/TakeVideoIcon.d.ts +2 -0
  757. package/lib/media-picker/image/TakeVideoIcon.js +46 -0
  758. package/lib/media-picker/index.css +1 -0
  759. package/lib/media-picker/index.d.ts +153 -0
  760. package/lib/media-picker/index.js +33 -0
  761. package/lib/media-picker/style/index.d.ts +1 -0
  762. package/lib/media-picker/style/index.js +16 -0
  763. package/lib/media-picker/type.d.ts +22 -0
  764. package/lib/media-picker/type.js +15 -0
  765. package/lib/media-picker/util/media-util.d.ts +86 -0
  766. package/lib/media-picker/util/media-util.js +285 -0
  767. package/lib/media-picker/watermark/compress-options.d.ts +5 -0
  768. package/lib/media-picker/watermark/compress-options.js +34 -0
  769. package/lib/media-picker/watermark/image-processor.d.ts +12 -0
  770. package/lib/media-picker/watermark/image-processor.js +94 -0
  771. package/lib/media-picker/watermark/resize-options.d.ts +4 -0
  772. package/lib/media-picker/watermark/resize-options.js +38 -0
  773. package/lib/media-picker/watermark/watermark.d.ts +42 -0
  774. package/lib/media-picker/watermark/watermark.js +653 -0
  775. package/lib/media-player/MediaPlayer.d.ts +42 -0
  776. package/lib/media-player/MediaPlayer.js +130 -0
  777. package/lib/media-player/index.css +1 -0
  778. package/lib/media-player/index.d.ts +34 -0
  779. package/lib/media-player/index.js +33 -0
  780. package/lib/media-player/style/index.d.ts +1 -0
  781. package/lib/media-player/style/index.js +6 -0
  782. package/lib/multiple-picker/MultiplePicker.d.ts +167 -0
  783. package/lib/multiple-picker/MultiplePicker.js +194 -0
  784. package/lib/multiple-picker/MultiplePickerOptions.d.ts +85 -0
  785. package/lib/multiple-picker/MultiplePickerOptions.js +125 -0
  786. package/lib/multiple-picker/index.css +1 -0
  787. package/lib/multiple-picker/index.d.ts +123 -0
  788. package/lib/multiple-picker/index.js +33 -0
  789. package/lib/multiple-picker/style/index.d.ts +1 -0
  790. package/lib/multiple-picker/style/index.js +8 -0
  791. package/lib/multiple-picker/types.d.ts +15 -0
  792. package/lib/multiple-picker/types.js +15 -0
  793. package/lib/nav-bar/NavBar.d.ts +72 -0
  794. package/lib/nav-bar/NavBar.js +133 -0
  795. package/lib/nav-bar/index.css +1 -0
  796. package/lib/nav-bar/index.d.ts +56 -0
  797. package/lib/nav-bar/index.js +33 -0
  798. package/lib/nav-bar/style/index.d.ts +1 -0
  799. package/lib/nav-bar/style/index.js +4 -0
  800. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  801. package/lib/notice-bar/index.css +1 -1
  802. package/lib/notice-bar/index.d.ts +1 -1
  803. package/lib/notify/Notify.d.ts +1 -1
  804. package/lib/notify/index.css +1 -1
  805. package/lib/notify/index.d.ts +2 -2
  806. package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
  807. package/lib/number-keyboard/NumberKeyboard.js +1 -2
  808. package/lib/number-keyboard/NumberKeyboardKey.js +2 -2
  809. package/lib/number-keyboard/index.css +1 -1
  810. package/lib/number-keyboard/index.d.ts +5 -5
  811. package/lib/number-keyboard/style/index.js +2 -2
  812. package/lib/overlay/Overlay.d.ts +1 -1
  813. package/lib/overlay/index.css +1 -1
  814. package/lib/overlay/index.d.ts +1 -1
  815. package/lib/password-input/PasswordInput.d.ts +1 -1
  816. package/lib/password-input/PasswordInput.js +1 -1
  817. package/lib/password-input/index.css +1 -1
  818. package/lib/picker/Picker.d.ts +224 -0
  819. package/lib/picker/Picker.js +269 -0
  820. package/lib/picker/PickerColumn.d.ts +69 -0
  821. package/lib/picker/PickerColumn.js +231 -0
  822. package/lib/picker/PickerToolbar.d.ts +18 -0
  823. package/lib/picker/PickerToolbar.js +73 -0
  824. package/lib/picker/index.css +1 -0
  825. package/lib/picker/index.d.ts +142 -0
  826. package/lib/picker/index.js +35 -0
  827. package/lib/picker/style/index.d.ts +1 -0
  828. package/lib/picker/style/index.js +9 -0
  829. package/lib/picker/types.d.ts +44 -0
  830. package/lib/picker/types.js +15 -0
  831. package/lib/picker/utils.d.ts +13 -0
  832. package/lib/picker/utils.js +99 -0
  833. package/lib/popover/Popover.d.ts +164 -0
  834. package/lib/popover/Popover.js +205 -0
  835. package/lib/popover/index.css +1 -0
  836. package/lib/popover/index.d.ts +121 -0
  837. package/lib/popover/index.js +35 -0
  838. package/lib/popover/style/index.d.ts +1 -0
  839. package/lib/popover/style/index.js +6 -0
  840. package/lib/popover/types.d.ts +11 -0
  841. package/lib/popover/types.js +15 -0
  842. package/lib/popup/Popup.d.ts +48 -5
  843. package/lib/popup/Popup.js +86 -2
  844. package/lib/popup/index.css +1 -1
  845. package/lib/popup/index.d.ts +34 -4
  846. package/lib/pull-refresh/PullRefresh.d.ts +3 -3
  847. package/lib/pull-refresh/PullRefresh.js +6 -1
  848. package/lib/pull-refresh/index.css +1 -1
  849. package/lib/pull-refresh/index.d.ts +2 -2
  850. package/lib/radio/Radio.d.ts +37 -0
  851. package/lib/radio/Radio.js +66 -0
  852. package/lib/radio/index.css +1 -0
  853. package/lib/radio/index.d.ts +38 -0
  854. package/lib/radio/index.js +33 -0
  855. package/lib/radio/style/index.d.ts +1 -0
  856. package/lib/radio/style/index.js +6 -0
  857. package/lib/radio-group/RadioGroup.d.ts +45 -0
  858. package/lib/radio-group/RadioGroup.js +63 -0
  859. package/lib/radio-group/index.css +1 -0
  860. package/lib/radio-group/index.d.ts +32 -0
  861. package/lib/radio-group/index.js +33 -0
  862. package/lib/radio-group/style/index.d.ts +1 -0
  863. package/lib/radio-group/style/index.js +2 -0
  864. package/lib/rate/Rate.d.ts +4 -4
  865. package/lib/rate/Rate.js +1 -1
  866. package/lib/rate/index.css +1 -1
  867. package/lib/rate/index.d.ts +3 -3
  868. package/lib/row/Row.d.ts +2 -2
  869. package/lib/row/index.d.ts +1 -1
  870. package/lib/search/Search.d.ts +217 -0
  871. package/lib/search/Search.js +155 -0
  872. package/lib/search/index.css +1 -0
  873. package/lib/search/index.d.ts +159 -0
  874. package/lib/search/index.js +35 -0
  875. package/lib/search/style/index.d.ts +1 -0
  876. package/lib/search/style/index.js +6 -0
  877. package/lib/search/types.d.ts +8 -0
  878. package/lib/search/types.js +15 -0
  879. package/lib/signature/Signature.d.ts +109 -0
  880. package/lib/signature/Signature.js +257 -0
  881. package/lib/signature/force-landscape.d.ts +16 -0
  882. package/lib/signature/force-landscape.js +91 -0
  883. package/lib/signature/index.css +1 -0
  884. package/lib/signature/index.d.ts +83 -0
  885. package/lib/signature/index.js +35 -0
  886. package/lib/signature/style/index.d.ts +1 -0
  887. package/lib/signature/style/index.js +10 -0
  888. package/lib/signature/types.d.ts +1 -0
  889. package/lib/signature/types.js +15 -0
  890. package/lib/skeleton/Skeleton.d.ts +104 -0
  891. package/lib/skeleton/Skeleton.js +135 -0
  892. package/lib/skeleton/index.css +1 -0
  893. package/lib/skeleton/index.d.ts +78 -0
  894. package/lib/skeleton/index.js +35 -0
  895. package/lib/skeleton/style/index.d.ts +1 -0
  896. package/lib/skeleton/style/index.js +2 -0
  897. package/lib/step/Step.d.ts +15 -0
  898. package/lib/step/Step.js +156 -0
  899. package/lib/step/index.css +1 -0
  900. package/lib/step/index.d.ts +15 -0
  901. package/lib/step/index.js +33 -0
  902. package/lib/step/style/index.d.ts +1 -0
  903. package/lib/step/style/index.js +5 -0
  904. package/lib/stepper/Stepper.d.ts +4 -4
  905. package/lib/stepper/Stepper.js +1 -2
  906. package/lib/stepper/index.css +1 -1
  907. package/lib/stepper/index.d.ts +3 -3
  908. package/lib/steps/Steps.d.ts +67 -0
  909. package/lib/steps/Steps.js +68 -0
  910. package/lib/steps/index.css +1 -0
  911. package/lib/steps/index.d.ts +48 -0
  912. package/lib/steps/index.js +35 -0
  913. package/lib/steps/style/index.d.ts +1 -0
  914. package/lib/steps/style/index.js +2 -0
  915. package/lib/sticky/Sticky.d.ts +2 -2
  916. package/lib/sticky/Sticky.js +2 -1
  917. package/lib/sticky/index.css +1 -1
  918. package/lib/sticky/index.d.ts +1 -1
  919. package/lib/style/base.css +1 -1
  920. package/lib/style/css-variables.css +1 -1
  921. package/lib/style/normalize.css +1 -1
  922. package/lib/swipe/Swipe.d.ts +4 -1
  923. package/lib/swipe/Swipe.js +28 -11
  924. package/lib/swipe/index.css +1 -1
  925. package/lib/swipe/index.d.ts +2 -0
  926. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  927. package/lib/swipe-item/SwipeItem.js +1 -1
  928. package/lib/swipe-item/index.d.ts +1 -1
  929. package/lib/switch/Switch.d.ts +2 -2
  930. package/lib/switch/index.css +1 -1
  931. package/lib/switch/index.d.ts +1 -1
  932. package/lib/tab/Tab.d.ts +2 -2
  933. package/lib/tab/Tab.js +1 -1
  934. package/lib/tab/index.d.ts +1 -1
  935. package/lib/tab/style/index.js +1 -1
  936. package/lib/tabbar/Tabbar.d.ts +90 -0
  937. package/lib/tabbar/Tabbar.js +103 -0
  938. package/lib/tabbar/image/common-selected.png +0 -0
  939. package/lib/tabbar/index.css +1 -0
  940. package/lib/tabbar/index.d.ts +64 -0
  941. package/lib/tabbar/index.js +33 -0
  942. package/lib/tabbar/style/index.d.ts +1 -0
  943. package/lib/tabbar/style/index.js +2 -0
  944. package/lib/tabbar-item/TabbarItem.d.ts +44 -0
  945. package/lib/tabbar-item/TabbarItem.js +141 -0
  946. package/lib/tabbar-item/index.css +1 -0
  947. package/lib/tabbar-item/index.d.ts +35 -0
  948. package/lib/tabbar-item/index.js +33 -0
  949. package/lib/tabbar-item/style/index.d.ts +1 -0
  950. package/lib/tabbar-item/style/index.js +5 -0
  951. package/lib/tabs/Tabs.d.ts +6 -6
  952. package/lib/tabs/Tabs.js +35 -4
  953. package/lib/tabs/TabsTitle.d.ts +11 -2
  954. package/lib/tabs/TabsTitle.js +8 -2
  955. package/lib/tabs/index.css +1 -1
  956. package/lib/tabs/index.d.ts +4 -4
  957. package/lib/tag/Tag.d.ts +102 -0
  958. package/lib/tag/Tag.js +120 -0
  959. package/lib/tag/index.css +1 -0
  960. package/lib/tag/index.d.ts +77 -0
  961. package/lib/tag/index.js +35 -0
  962. package/lib/tag/style/index.d.ts +1 -0
  963. package/lib/tag/style/index.js +4 -0
  964. package/lib/time-picker/Arrow.d.ts +4 -0
  965. package/lib/time-picker/Arrow.js +46 -0
  966. package/lib/time-picker/TimePicker.d.ts +286 -0
  967. package/lib/time-picker/TimePicker.js +197 -0
  968. package/lib/time-picker/TimePickerColumn.d.ts +71 -0
  969. package/lib/time-picker/TimePickerColumn.js +258 -0
  970. package/lib/time-picker/index.css +1 -0
  971. package/lib/time-picker/index.d.ts +205 -0
  972. package/lib/time-picker/index.js +35 -0
  973. package/lib/time-picker/style/index.d.ts +1 -0
  974. package/lib/time-picker/style/index.js +11 -0
  975. package/lib/toast/Toast.d.ts +2 -2
  976. package/lib/toast/index.css +1 -1
  977. package/lib/toast/index.d.ts +6 -1
  978. package/lib/toast/style/index.js +1 -1
  979. package/lib/uploader/Uploader.d.ts +214 -0
  980. package/lib/uploader/Uploader.js +274 -0
  981. package/lib/uploader/UploaderPreviewItem.d.ts +36 -0
  982. package/lib/uploader/UploaderPreviewItem.js +147 -0
  983. package/lib/uploader/index.css +1 -0
  984. package/lib/uploader/index.d.ts +155 -0
  985. package/lib/uploader/index.js +35 -0
  986. package/lib/uploader/style/index.d.ts +1 -0
  987. package/lib/uploader/style/index.js +11 -0
  988. package/lib/uploader/types.d.ts +31 -0
  989. package/lib/uploader/types.js +15 -0
  990. package/lib/uploader/utils.d.ts +11 -0
  991. package/lib/uploader/utils.js +88 -0
  992. package/lib/utils/basic.js +2 -1
  993. package/lib/utils/constant.d.ts +5 -0
  994. package/lib/utils/constant.js +7 -1
  995. package/lib/utils/create.js +4 -1
  996. package/lib/utils/format.d.ts +1 -1
  997. package/lib/utils/mount-component.d.ts +1 -1
  998. package/lib/utils/parse.d.ts +12 -0
  999. package/lib/utils/parse.js +37 -0
  1000. package/lib/utils/props.d.ts +2 -2
  1001. package/lib/utils/props.js +2 -2
  1002. package/lib/utils/validate.d.ts +6 -1
  1003. package/lib/utils/validate.js +11 -1
  1004. package/lib/utils/with-install.d.ts +2 -2
  1005. package/lib/utils/with-install.js +4 -2
  1006. package/lib/vue-tsx-shim.d.ts +7 -0
  1007. package/lib/web-types.json +1 -3197
  1008. package/lib/zartui.cjs.js +14689 -4998
  1009. package/lib/zartui.es.js +14691 -5000
  1010. package/lib/zartui.js +15878 -5306
  1011. package/lib/zartui.min.js +1 -1
  1012. package/package.json +28 -27
  1013. package/README.md +0 -25
@@ -0,0 +1,64 @@
1
+ export declare const Tabbar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ route: BooleanConstructor;
3
+ fixed: {
4
+ type: BooleanConstructor;
5
+ default: true;
6
+ };
7
+ border: {
8
+ type: BooleanConstructor;
9
+ default: true;
10
+ };
11
+ zIndex: (NumberConstructor | StringConstructor)[];
12
+ placeholder: BooleanConstructor;
13
+ activeColor: StringConstructor;
14
+ beforeChange: import("vue").PropType<import("../utils").Interceptor>;
15
+ inactiveColor: StringConstructor;
16
+ modelValue: {
17
+ type: (NumberConstructor | StringConstructor)[];
18
+ default: number;
19
+ };
20
+ safeAreaInsetBottom: {
21
+ type: import("vue").PropType<boolean | null>;
22
+ default: null;
23
+ };
24
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ route: BooleanConstructor;
26
+ fixed: {
27
+ type: BooleanConstructor;
28
+ default: true;
29
+ };
30
+ border: {
31
+ type: BooleanConstructor;
32
+ default: true;
33
+ };
34
+ zIndex: (NumberConstructor | StringConstructor)[];
35
+ placeholder: BooleanConstructor;
36
+ activeColor: StringConstructor;
37
+ beforeChange: import("vue").PropType<import("../utils").Interceptor>;
38
+ inactiveColor: StringConstructor;
39
+ modelValue: {
40
+ type: (NumberConstructor | StringConstructor)[];
41
+ default: number;
42
+ };
43
+ safeAreaInsetBottom: {
44
+ type: import("vue").PropType<boolean | null>;
45
+ default: null;
46
+ };
47
+ }>> & {
48
+ onChange?: ((...args: any[]) => any) | undefined;
49
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
50
+ }, {
51
+ fixed: boolean;
52
+ border: boolean;
53
+ modelValue: string | number;
54
+ placeholder: boolean;
55
+ safeAreaInsetBottom: boolean | null;
56
+ route: boolean;
57
+ }>>;
58
+ export default Tabbar;
59
+ export type { TabbarProps } from './Tabbar';
60
+ declare module 'vue' {
61
+ interface GlobalComponents {
62
+ ZtTabbar: typeof Tabbar;
63
+ }
64
+ }
@@ -0,0 +1,8 @@
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _Tabbar from "./Tabbar.mjs";
3
+ const Tabbar = withInstall(_Tabbar);
4
+ var stdin_default = Tabbar;
5
+ export {
6
+ Tabbar,
7
+ stdin_default as default
8
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import "../../style/base.css";
2
+ import "../index.css";
@@ -0,0 +1,44 @@
1
+ import type { PropType, ExtractPropTypes } from 'vue';
2
+ import { BadgeProps } from '../badge';
3
+ declare const tabbarItemProps: {
4
+ to: PropType<import("vue-router").RouteLocationRaw>;
5
+ url: StringConstructor;
6
+ replace: BooleanConstructor;
7
+ } & {
8
+ dot: BooleanConstructor;
9
+ icon: StringConstructor;
10
+ name: (NumberConstructor | StringConstructor)[];
11
+ badge: (NumberConstructor | StringConstructor)[];
12
+ badgeProps: PropType<Partial<BadgeProps>>;
13
+ iconPrefix: StringConstructor;
14
+ };
15
+ export declare type TabbarItemProps = ExtractPropTypes<typeof tabbarItemProps>;
16
+ declare const _default: import("vue").DefineComponent<{
17
+ to: PropType<import("vue-router").RouteLocationRaw>;
18
+ url: StringConstructor;
19
+ replace: BooleanConstructor;
20
+ } & {
21
+ dot: BooleanConstructor;
22
+ icon: StringConstructor;
23
+ name: (NumberConstructor | StringConstructor)[];
24
+ badge: (NumberConstructor | StringConstructor)[];
25
+ badgeProps: PropType<Partial<BadgeProps>>;
26
+ iconPrefix: StringConstructor;
27
+ }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
28
+ to: PropType<import("vue-router").RouteLocationRaw>;
29
+ url: StringConstructor;
30
+ replace: BooleanConstructor;
31
+ } & {
32
+ dot: BooleanConstructor;
33
+ icon: StringConstructor;
34
+ name: (NumberConstructor | StringConstructor)[];
35
+ badge: (NumberConstructor | StringConstructor)[];
36
+ badgeProps: PropType<Partial<BadgeProps>>;
37
+ iconPrefix: StringConstructor;
38
+ }>> & {
39
+ onClick?: ((...args: any[]) => any) | undefined;
40
+ }, {
41
+ replace: boolean;
42
+ dot: boolean;
43
+ }>;
44
+ export default _default;
@@ -0,0 +1,122 @@
1
+ import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
2
+ import { computed, defineComponent, getCurrentInstance } from "vue";
3
+ import { createNamespace, extend, isObject, numericProp } from "../utils/index.mjs";
4
+ import { TABBAR_KEY } from "../tabbar/Tabbar.mjs";
5
+ import { useParent } from "@zartui/use";
6
+ import { routeProps, useRoute } from "../composables/use-route.mjs";
7
+ import { Icon } from "../icon/index.mjs";
8
+ import { Badge } from "../badge/index.mjs";
9
+ const [name, bem] = createNamespace("tabbar-item");
10
+ const tabbarItemProps = extend({}, routeProps, {
11
+ dot: Boolean,
12
+ icon: String,
13
+ name: numericProp,
14
+ badge: numericProp,
15
+ badgeProps: Object,
16
+ iconPrefix: String
17
+ });
18
+ var stdin_default = defineComponent({
19
+ name,
20
+ props: tabbarItemProps,
21
+ emits: ["click"],
22
+ setup(props, {
23
+ emit,
24
+ slots
25
+ }) {
26
+ const route = useRoute();
27
+ const vm = getCurrentInstance().proxy;
28
+ const {
29
+ parent,
30
+ index
31
+ } = useParent(TABBAR_KEY);
32
+ if (!parent) {
33
+ if (process.env.NODE_ENV !== "production") {
34
+ console.error("[ZartUI] <TabbarItem> must be a child component of <Tabbar>.");
35
+ }
36
+ return;
37
+ }
38
+ const active = computed(() => {
39
+ var _a;
40
+ const {
41
+ route: route2,
42
+ modelValue
43
+ } = parent.props;
44
+ if (route2 && "$route" in vm) {
45
+ const {
46
+ $route
47
+ } = vm;
48
+ const {
49
+ to
50
+ } = props;
51
+ const config = isObject(to) ? to : {
52
+ path: to
53
+ };
54
+ return !!$route.matched.find((val) => {
55
+ const pathMatched = "path" in config && config.path === val.path;
56
+ const nameMatched = "name" in config && config.name === val.name;
57
+ return pathMatched || nameMatched;
58
+ });
59
+ }
60
+ return ((_a = props.name) != null ? _a : index.value) === modelValue;
61
+ });
62
+ const onClick = (event) => {
63
+ var _a;
64
+ if (!active.value) {
65
+ parent.setActive((_a = props.name) != null ? _a : index.value, route);
66
+ }
67
+ emit("click", event);
68
+ };
69
+ const renderIcon = () => {
70
+ if (slots.icon) {
71
+ return slots.icon({
72
+ active: active.value
73
+ });
74
+ }
75
+ if (props.icon) {
76
+ return _createVNode(Icon, {
77
+ "name": props.icon,
78
+ "classPrefix": props.iconPrefix
79
+ }, null);
80
+ }
81
+ };
82
+ return () => {
83
+ var _a;
84
+ const {
85
+ dot,
86
+ badge
87
+ } = props;
88
+ const {
89
+ activeColor,
90
+ inactiveColor
91
+ } = parent.props;
92
+ const color = active.value ? activeColor : inactiveColor;
93
+ return _createVNode("div", {
94
+ "role": "tab",
95
+ "class": bem({
96
+ active: active.value
97
+ }),
98
+ "style": {
99
+ color
100
+ },
101
+ "tabindex": 0,
102
+ "aria-selected": active.value,
103
+ "onClick": onClick
104
+ }, [_createVNode(Badge, _mergeProps({
105
+ "dot": dot,
106
+ "class": bem("icon", {
107
+ active: active.value
108
+ }),
109
+ "content": badge
110
+ }, props.badgeProps), {
111
+ default: renderIcon
112
+ }), _createVNode("div", {
113
+ "class": bem("text")
114
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots, {
115
+ active: active.value
116
+ })])]);
117
+ };
118
+ }
119
+ });
120
+ export {
121
+ stdin_default as default
122
+ };
@@ -0,0 +1 @@
1
+ :root{--zt-tabbar-item-font-size: var(--zt-font-size-sm);--zt-tabbar-item-text-color: var(--zt-gray-a6);--zt-tabbar-item-active-color: var(--zt-primary-color);--zt-tabbar-item-active-background: var(--zt-background-2);--zt-tabbar-item-margin: 8px auto 6px;--zt-tabbar-item-icon-size: 24px;--zt-tabbar-item-icon-box-shadow: -4px -4px 8px 0 #ffffff, 4px 4px 8px 0 rgba(45, 75, 115, .1);--zt-tabbar-item-icon-margin-bottom: var(--zt-padding-base);--zt-tabbar-item-box-width: 36px;--zt-tabbar-item-box-height: 36px;--zt-tabbar-item-box-border-radius: var(--zt-radius-lg);--zt-tabbar-item-icon-border: 0;--zt-tabbar-item-text-padding-top: 4px;--zt-tabbar-item-text-height: 12px;--zt-tabbar-item-icon-background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%)}.zt-tabbar-item{color:var(--zt-tabbar-item-text-color);margin:var(--zt-tabbar-item-margin);-webkit-text-size-adjust:100%;cursor:pointer;-webkit-user-select:none;user-select:none}.zt-tabbar-item__icon{font-size:var(--zt-tabbar-item-icon-size);border:var(--zt-tabbar-item-icon-border);display:flex;justify-content:center;align-items:center;width:var(--zt-tabbar-item-box-width);height:var(--zt-tabbar-item-box-height);box-shadow:var(--zt-tabbar-item-icon-box-shadow);background:var(--zt-tabbar-item-icon-background);border-radius:var(--zt-tabbar-item-box-border-radius)}.zt-tabbar-item__icon--active{border:var(--zt-tabbar-item-icon-border);background:rgba(45,75,115,.02);box-shadow:inset 4px 4px 8px rgba(45,75,115,.1)}.zt-tabbar-item__text{font-size:var(--zt-tabbar-item-font-size);padding-top:var(--zt-tabbar-item-text-padding-top);transform:scale(.83333);text-align:center;height:var(--zt-tabbar-item-text-height);line-height:var(--zt-tabbar-item-text-height)}.zt-tabbar-item--active{color:var(--zt-tabbar-item-active-color);background-color:var(--zt-tabbar-item-active-background);font-weight:var(--zt-font-bold)}.zt-theme-dark{--zt-tabbar-item-text-color: var(--zt-gray-default);--zt-tabbar-item-active-background: linear-gradient(135deg, #0a1420 0%, #1d2b3d 100%);--zt-tabbar-item-icon-border: 1px solid rgba(151, 151, 151, .12);--zt-tabbar-item-icon-box-shadow: -4px -4px 8px 0 rgba(255, 255, 255, .12), 4px 4px 8px 0 rgba(0, 12, 24, .8);--zt-tabbar-item-icon-background: linear-gradient(135deg, #121d2a 0%, #1d2c3d 100%)}
@@ -0,0 +1,35 @@
1
+ export declare const TabbarItem: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
3
+ url: StringConstructor;
4
+ replace: BooleanConstructor;
5
+ } & {
6
+ dot: BooleanConstructor;
7
+ icon: StringConstructor;
8
+ name: (NumberConstructor | StringConstructor)[];
9
+ badge: (NumberConstructor | StringConstructor)[];
10
+ badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
11
+ iconPrefix: StringConstructor;
12
+ }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
14
+ url: StringConstructor;
15
+ replace: BooleanConstructor;
16
+ } & {
17
+ dot: BooleanConstructor;
18
+ icon: StringConstructor;
19
+ name: (NumberConstructor | StringConstructor)[];
20
+ badge: (NumberConstructor | StringConstructor)[];
21
+ badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
22
+ iconPrefix: StringConstructor;
23
+ }>> & {
24
+ onClick?: ((...args: any[]) => any) | undefined;
25
+ }, {
26
+ replace: boolean;
27
+ dot: boolean;
28
+ }>>;
29
+ export default TabbarItem;
30
+ export type { TabbarItemProps } from './TabbarItem';
31
+ declare module 'vue' {
32
+ interface GlobalComponents {
33
+ ZtTabbarItem: typeof TabbarItem;
34
+ }
35
+ }
@@ -0,0 +1,8 @@
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _TabbarItem from "./TabbarItem.mjs";
3
+ const TabbarItem = withInstall(_TabbarItem);
4
+ var stdin_default = TabbarItem;
5
+ export {
6
+ TabbarItem,
7
+ stdin_default as default
8
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import "../../style/base.css";
2
+ import "../../badge/index.css";
3
+ import "../../icon/index.css";
4
+ import "../../tabbar/index.css";
5
+ import "../index.css";
package/es/tabs/Tabs.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { PropType, InjectionKey, ExtractPropTypes } from 'vue';
2
- import { Interceptor } from '../utils';
1
+ import type { PropType, InjectionKey, ExtractPropTypes } from 'vue';
2
+ import type { Interceptor } from '../utils';
3
3
  import type { TabsProvide, TabsType } from './types';
4
4
  declare const tabsProps: {
5
5
  type: {
@@ -88,7 +88,7 @@ declare const _default: import("vue").DefineComponent<{
88
88
  };
89
89
  titleActiveColor: StringConstructor;
90
90
  titleInactiveColor: StringConstructor;
91
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change" | "rendered" | "clickTab" | "update:active")[], "scroll" | "change" | "rendered" | "clickTab" | "update:active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
91
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "scroll" | "rendered" | "clickTab" | "update:active")[], "change" | "scroll" | "rendered" | "clickTab" | "update:active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
92
92
  type: {
93
93
  type: PropType<TabsType>;
94
94
  default: TabsType;
@@ -138,12 +138,12 @@ declare const _default: import("vue").DefineComponent<{
138
138
  "onUpdate:active"?: ((...args: any[]) => any) | undefined;
139
139
  }, {
140
140
  type: TabsType;
141
- ellipsis: boolean;
142
- sticky: boolean;
143
141
  border: boolean;
144
- active: string | number;
145
142
  duration: string | number;
146
143
  lazyRender: boolean;
144
+ ellipsis: boolean;
145
+ sticky: boolean;
146
+ active: string | number;
147
147
  offsetTop: string | number;
148
148
  shrink: boolean;
149
149
  animated: boolean;
package/es/tabs/Tabs.mjs CHANGED
@@ -60,7 +60,9 @@ var stdin_default = defineComponent({
60
60
  inited: false,
61
61
  position: "",
62
62
  lineStyle: {},
63
- currentIndex: -1
63
+ currentIndex: -1,
64
+ showLeftOverlay: false,
65
+ showRightOverlay: false
64
66
  });
65
67
  const scrollable = computed(() => children.length > props.swipeThreshold || !props.ellipsis || props.shrink);
66
68
  const navStyle = computed(() => ({
@@ -215,6 +217,15 @@ var stdin_default = defineComponent({
215
217
  setCurrentIndex(index);
216
218
  }
217
219
  };
220
+ const hasScrollToEnd = (element) => Math.floor(element.scrollWidth - element.clientWidth - element.scrollLeft) > 0;
221
+ const onScrollHeader = (event) => {
222
+ const target = event.target;
223
+ if (!target) {
224
+ return;
225
+ }
226
+ state.showLeftOverlay = Math.floor(target.scrollLeft) > 0;
227
+ state.showRightOverlay = hasScrollToEnd(target);
228
+ };
218
229
  const renderNav = () => children.map((item, index) => _createVNode(TabsTitle, _mergeProps({
219
230
  "key": item.id,
220
231
  "id": `${id}-${index}`,
@@ -241,6 +252,20 @@ var stdin_default = defineComponent({
241
252
  }, null);
242
253
  }
243
254
  };
255
+ const renderOverlayLeft = () => {
256
+ if (state.showLeftOverlay) {
257
+ return _createVNode("div", {
258
+ "class": bem("overlay-left")
259
+ }, null);
260
+ }
261
+ };
262
+ const renderOverlayRight = () => {
263
+ if (state.showRightOverlay) {
264
+ return _createVNode("div", {
265
+ "class": bem("overlay-right")
266
+ }, null);
267
+ }
268
+ };
244
269
  const renderHeader = () => {
245
270
  var _a, _b;
246
271
  const {
@@ -260,8 +285,9 @@ var stdin_default = defineComponent({
260
285
  complete: scrollable.value
261
286
  }]),
262
287
  "style": navStyle.value,
263
- "aria-orientation": "horizontal"
264
- }, [(_a = slots["nav-left"]) == null ? void 0 : _a.call(slots), renderNav(), renderLine(), (_b = slots["nav-right"]) == null ? void 0 : _b.call(slots)])]);
288
+ "aria-orientation": "horizontal",
289
+ "onScroll": onScrollHeader
290
+ }, [(_a = slots["nav-left"]) == null ? void 0 : _a.call(slots), renderNav(), renderLine(), (_b = slots["nav-right"]) == null ? void 0 : _b.call(slots)]), scrollable.value ? renderOverlayLeft() : null, scrollable.value ? renderOverlayRight() : null]);
265
291
  };
266
292
  watch([() => props.color, windowWidth], setLine);
267
293
  watch(() => props.active, (value) => {
@@ -293,6 +319,10 @@ var stdin_default = defineComponent({
293
319
  tabHeight = useRect(wrapRef.value).height;
294
320
  }
295
321
  scrollIntoView(true);
322
+ if (navRef.value && scrollable.value) {
323
+ state.showLeftOverlay = Math.floor(navRef.value.scrollLeft) > 0;
324
+ state.showRightOverlay = hasScrollToEnd(navRef.value);
325
+ }
296
326
  });
297
327
  };
298
328
  const onRendered = (name2, title) => emit("rendered", name2, title);
@@ -304,7 +334,8 @@ var stdin_default = defineComponent({
304
334
  onPopupReopen(setLine);
305
335
  onMountedOrActivated(init);
306
336
  useEventListener("scroll", onScroll, {
307
- target: scroller
337
+ target: scroller,
338
+ passive: true
308
339
  });
309
340
  linkChildren({
310
341
  id,
@@ -16,7 +16,11 @@ declare const _default: import("vue").DefineComponent<{
16
16
  type: BooleanConstructor;
17
17
  default: true;
18
18
  };
19
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ maxWidth: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
24
  id: StringConstructor;
21
25
  dot: BooleanConstructor;
22
26
  type: StringConstructor;
@@ -34,12 +38,17 @@ declare const _default: import("vue").DefineComponent<{
34
38
  type: BooleanConstructor;
35
39
  default: true;
36
40
  };
41
+ maxWidth: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
37
45
  }>>, {
38
46
  dot: boolean;
39
47
  disabled: boolean;
40
- scrollable: boolean;
41
48
  shrink: boolean;
42
49
  isActive: boolean;
50
+ scrollable: boolean;
43
51
  showZeroBadge: boolean;
52
+ maxWidth: string;
44
53
  }>;
45
54
  export default _default;
@@ -19,7 +19,11 @@ var stdin_default = defineComponent({
19
19
  scrollable: Boolean,
20
20
  activeColor: String,
21
21
  inactiveColor: String,
22
- showZeroBadge: truthProp
22
+ showZeroBadge: truthProp,
23
+ maxWidth: {
24
+ type: String,
25
+ default: "144px"
26
+ }
23
27
  },
24
28
  setup(props, {
25
29
  slots
@@ -32,7 +36,8 @@ var stdin_default = defineComponent({
32
36
  disabled,
33
37
  isActive,
34
38
  activeColor,
35
- inactiveColor
39
+ inactiveColor,
40
+ maxWidth
36
41
  } = props;
37
42
  const isCard = type === "card";
38
43
  if (color && isCard) {
@@ -49,6 +54,7 @@ var stdin_default = defineComponent({
49
54
  if (titleColor) {
50
55
  style2.color = titleColor;
51
56
  }
57
+ style2.maxWidth = maxWidth;
52
58
  return style2;
53
59
  });
54
60
  const renderText = () => {
package/es/tabs/index.css CHANGED
@@ -1 +1 @@
1
- body{--zt-tab-text-color: var(--zt-gray-7);--zt-tab-active-text-color: var(--zt-text-color);--zt-tab-disabled-text-color: var(--zt-text-color-3);--zt-tab-font-size: var(--zt-font-size-md);--zt-tab-active-font-size: var(--zt-font-size-lg);--zt-tab-disabled-font-size: var(--zt-font-size-md);--zt-tab-line-height: var(--zt-line-height-md);--zt-tabs-default-color: var(--zt-primary-color);--zt-tabs-line-height: 44px;--zt-tabs-card-height: 30px;--zt-tabs-nav-background: var(--zt-background);--zt-tabs-bottom-bar-width: 12px;--zt-tabs-bottom-bar-height: 4px;--zt-tabs-bottom-bar-color: var(--zt-primary-color);--zt-tabs-bottom-bar-radius: 2px}.zt-tab{position:relative;display:flex;flex:1;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--zt-padding-base);color:var(--zt-tab-text-color);font-size:var(--zt-tab-font-size);line-height:var(--zt-tab-line-height);cursor:pointer}.zt-tab--active{color:var(--zt-tab-active-text-color);font-weight:var(--zt-font-bold);font-size:var(--zt-tab-active-font-size)}.zt-tab--disabled{color:var(--zt-tab-disabled-text-color);cursor:not-allowed;font-size:var(--zt-tab-disabled-font-size)}.zt-tab--grow{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tab--shrink{flex:none;padding:0 var(--zt-padding-xs)}.zt-tab--card{color:var(--zt-tabs-default-color);border-right:var(--zt-border-width) solid var(--zt-tabs-default-color)}.zt-tab--card:last-child{border-right:none}.zt-tab--card.zt-tab--active{color:var(--zt-white);background-color:var(--zt-tabs-default-color)}.zt-tab--card--disabled{color:var(--zt-tab-disabled-text-color)}.zt-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.zt-tabs{position:relative}.zt-tabs__wrap{overflow:hidden}.zt-tabs__wrap--page-top{position:fixed}.zt-tabs__wrap--content-bottom{top:auto;bottom:0}.zt-tabs__nav{position:relative;display:flex;background:var(--zt-tabs-nav-background);-webkit-user-select:none;user-select:none}.zt-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--complete::-webkit-scrollbar{display:none}.zt-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:15px}.zt-tabs__nav--line.zt-tabs__nav--shrink,.zt-tabs__nav--line.zt-tabs__nav--complete{padding-right:var(--zt-padding-xs);padding-left:var(--zt-padding-xs)}.zt-tabs__nav--card{box-sizing:border-box;height:var(--zt-tabs-card-height);margin:0 var(--zt-padding-md);border:var(--zt-border-width) solid var(--zt-tabs-default-color);border-radius:var(--zt-border-radius-sm)}.zt-tabs__nav--card.zt-tabs__nav--shrink{display:inline-flex}.zt-tabs__line{position:absolute;bottom:15px;left:0;z-index:1;width:var(--zt-tabs-bottom-bar-width);height:var(--zt-tabs-bottom-bar-height);background:var(--zt-tabs-bottom-bar-color);border-radius:var(--zt-tabs-bottom-bar-radius)}.zt-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.zt-tabs__content--animated{overflow:hidden}.zt-tabs--line .zt-tabs__wrap{height:var(--zt-tabs-line-height)}.zt-tabs--card>.zt-tabs__wrap{height:var(--zt-tabs-card-height)}
1
+ :root{--zt-tab-active-text-color: var(--zt-text-color);--zt-tab-disabled-text-color: var(--zt-text-color-3);--zt-tab-font-size: var(--zt-font-size-md);--zt-tab-active-font-size: var(--zt-font-size-lg);--zt-tab-active-opacity: .2;--zt-tab-disabled-font-size: var(--zt-font-size-md);--zt-tab-line-height: var(--zt-line-height-md);--zt-tabs-default-color: var(--zt-primary-color);--zt-tabs-line-height: 44px;--zt-tabs-line-bottom: 16px;--zt-tabs-card-height: 32px;--zt-tabs-bottom-bar-width: 12px;--zt-tabs-bottom-bar-height: 4px;--zt-tabs-bottom-bar-color: var(--zt-primary-color);--zt-tabs-bottom-bar-radius: 2px;--zt-tabs-nav-background: var(--zt-background);--zt-tab-text-color: var(--zt-gray-a6);--zt-tabs-overlay-left-background: linear-gradient(90deg, #ffffff 0%, rgba(245, 250, 255, 0) 100%);--zt-tabs-overlay-right-background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%)}.zt-tab{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--zt-padding-md);color:var(--zt-tab-text-color);font-size:var(--zt-tab-font-size);line-height:var(--zt-tab-line-height);cursor:pointer}.zt-tab--active{color:var(--zt-tab-active-text-color);font-size:var(--zt-tab-active-font-size);font-weight:var(--zt-font-bold)}.zt-tab--active:active{opacity:var(--zt-tab-active-opacity)}.zt-tab--disabled{color:var(--zt-tab-disabled-text-color);cursor:not-allowed;font-size:var(--zt-tab-disabled-font-size)}.zt-tab--grow{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tab--shrink{flex:none;padding:0 var(--zt-padding-xs)}.zt-tab--card{color:var(--zt-tabs-default-color)}.zt-tab--card.zt-tab--active{color:var(--zt-white);background-color:var(--zt-tabs-default-color)}.zt-tab--card--disabled{color:var(--zt-tab-disabled-text-color)}.zt-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.zt-tab__text-wrapper,.zt-tabs{position:relative}.zt-tabs__wrap{overflow:hidden;position:relative}.zt-tabs__wrap--page-top{position:fixed}.zt-tabs__wrap--content-bottom{top:auto;bottom:0}.zt-tabs__overlay-left,.zt-tabs__overlay-right{position:absolute;top:0;width:var(--zt-tabs-line-height);height:var(--zt-tabs-line-height);pointer-events:none}.zt-tabs__overlay-left{left:0;background:var(--zt-tabs-overlay-left-background)}.zt-tabs__overlay-right{right:0;background:var(--zt-tabs-overlay-right-background)}.zt-tabs__nav{position:relative;display:flex;justify-content:flex-start;background-color:var(--zt-tabs-nav-background);-webkit-user-select:none;user-select:none}.zt-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--complete::-webkit-scrollbar{display:none}.zt-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:var(--zt-tabs-line-bottom)}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tab,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tab{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tabs__nav,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tabs__nav{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tabs__nav::-webkit-scrollbar,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tabs__nav::-webkit-scrollbar{display:none}.zt-tabs__nav--card.zt-tabs__nav--shrink{display:inline-flex}.zt-tabs__line{position:absolute;bottom:var(--zt-tabs-line-bottom);left:0;z-index:1;width:var(--zt-tabs-bottom-bar-width);height:var(--zt-tabs-bottom-bar-height);background:var(--zt-tabs-bottom-bar-color);border-radius:var(--zt-tabs-bottom-bar-radius)}.zt-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.zt-tabs__content--animated{overflow:hidden}.zt-tabs--line .zt-tabs__wrap{height:var(--zt-tabs-line-height)}.zt-tabs--card>.zt-tabs__wrap{height:var(--zt-tabs-card-height)}.zt-theme-dark{--zt-tabs-nav-background: var(--zt-background-2);--zt-tabs-overlay-left-background: linear-gradient(90deg, #0f1923 0%, rgba(15, 25, 35, 0) 100%);--zt-tabs-overlay-right-background: linear-gradient(90deg, rgba(15, 25, 35, 0) 3%, #0f1923 100%)}
@@ -41,7 +41,7 @@ export declare const Tabs: import("../utils").WithInstall<import("vue").DefineCo
41
41
  };
42
42
  titleActiveColor: StringConstructor;
43
43
  titleInactiveColor: StringConstructor;
44
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change" | "rendered" | "clickTab" | "update:active")[], "scroll" | "change" | "rendered" | "clickTab" | "update:active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "scroll" | "rendered" | "clickTab" | "update:active")[], "change" | "scroll" | "rendered" | "clickTab" | "update:active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
45
  type: {
46
46
  type: import("vue").PropType<import("./types").TabsType>;
47
47
  default: import("./types").TabsType;
@@ -91,12 +91,12 @@ export declare const Tabs: import("../utils").WithInstall<import("vue").DefineCo
91
91
  "onUpdate:active"?: ((...args: any[]) => any) | undefined;
92
92
  }, {
93
93
  type: import("./types").TabsType;
94
- ellipsis: boolean;
95
- sticky: boolean;
96
94
  border: boolean;
97
- active: string | number;
98
95
  duration: string | number;
99
96
  lazyRender: boolean;
97
+ ellipsis: boolean;
98
+ sticky: boolean;
99
+ active: string | number;
100
100
  offsetTop: string | number;
101
101
  shrink: boolean;
102
102
  animated: boolean;
@@ -0,0 +1,102 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ export declare type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
3
+ export declare const tagProps: {
4
+ mark: BooleanConstructor;
5
+ show: {
6
+ type: BooleanConstructor;
7
+ default: true;
8
+ };
9
+ type: {
10
+ type: import("vue").PropType<TagType>;
11
+ default: TagType;
12
+ };
13
+ color: StringConstructor;
14
+ plain: BooleanConstructor;
15
+ round: BooleanConstructor;
16
+ textColor: StringConstructor;
17
+ borderColor: StringConstructor;
18
+ closeable: BooleanConstructor;
19
+ icon: StringConstructor;
20
+ iconPrefix: StringConstructor;
21
+ iconColor: StringConstructor;
22
+ badge: BooleanConstructor;
23
+ badgeWidth: {
24
+ type: NumberConstructor;
25
+ default: number;
26
+ };
27
+ badgeHeight: {
28
+ type: NumberConstructor;
29
+ default: number;
30
+ };
31
+ };
32
+ export declare type TagProps = ExtractPropTypes<typeof tagProps>;
33
+ declare const _default: import("vue").DefineComponent<{
34
+ mark: BooleanConstructor;
35
+ show: {
36
+ type: BooleanConstructor;
37
+ default: true;
38
+ };
39
+ type: {
40
+ type: import("vue").PropType<TagType>;
41
+ default: TagType;
42
+ };
43
+ color: StringConstructor;
44
+ plain: BooleanConstructor;
45
+ round: BooleanConstructor;
46
+ textColor: StringConstructor;
47
+ borderColor: StringConstructor;
48
+ closeable: BooleanConstructor;
49
+ icon: StringConstructor;
50
+ iconPrefix: StringConstructor;
51
+ iconColor: StringConstructor;
52
+ badge: BooleanConstructor;
53
+ badgeWidth: {
54
+ type: NumberConstructor;
55
+ default: number;
56
+ };
57
+ badgeHeight: {
58
+ type: NumberConstructor;
59
+ default: number;
60
+ };
61
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
62
+ mark: BooleanConstructor;
63
+ show: {
64
+ type: BooleanConstructor;
65
+ default: true;
66
+ };
67
+ type: {
68
+ type: import("vue").PropType<TagType>;
69
+ default: TagType;
70
+ };
71
+ color: StringConstructor;
72
+ plain: BooleanConstructor;
73
+ round: BooleanConstructor;
74
+ textColor: StringConstructor;
75
+ borderColor: StringConstructor;
76
+ closeable: BooleanConstructor;
77
+ icon: StringConstructor;
78
+ iconPrefix: StringConstructor;
79
+ iconColor: StringConstructor;
80
+ badge: BooleanConstructor;
81
+ badgeWidth: {
82
+ type: NumberConstructor;
83
+ default: number;
84
+ };
85
+ badgeHeight: {
86
+ type: NumberConstructor;
87
+ default: number;
88
+ };
89
+ }>> & {
90
+ onClose?: ((...args: any[]) => any) | undefined;
91
+ }, {
92
+ type: TagType;
93
+ badge: boolean;
94
+ mark: boolean;
95
+ show: boolean;
96
+ round: boolean;
97
+ closeable: boolean;
98
+ plain: boolean;
99
+ badgeWidth: number;
100
+ badgeHeight: number;
101
+ }>;
102
+ export default _default;