zartui 3.1.22 → 3.1.23-beta.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 (438) hide show
  1. package/README.md +23 -23
  2. package/es/action-sheet/ActionSheet.d.ts +1 -1
  3. package/es/action-sheet/index.d.ts +1 -1
  4. package/es/audio/Audio.d.ts +82 -0
  5. package/es/audio/Audio.mjs +224 -0
  6. package/es/audio/index.css +1 -0
  7. package/es/audio/index.d.ts +66 -0
  8. package/es/audio/index.mjs +10 -0
  9. package/es/audio/style/index.d.ts +1 -0
  10. package/es/audio/style/index.mjs +5 -0
  11. package/es/audio/types.d.ts +3 -0
  12. package/es/audio/types.mjs +4 -0
  13. package/es/avatar/Avatar.d.ts +2 -2
  14. package/es/avatar/index.d.ts +2 -2
  15. package/es/badge/Badge.d.ts +1 -1
  16. package/es/badge/index.d.ts +1 -1
  17. package/es/button/Button.d.ts +5 -5
  18. package/es/button/index.d.ts +4 -4
  19. package/es/calendar/Calendar.d.ts +1 -1
  20. package/es/calendar/CalendarDay.d.ts +1 -1
  21. package/es/calendar/CalendarHeader.d.ts +1 -1
  22. package/es/calendar/CalendarMonth.d.ts +1 -1
  23. package/es/calendar/index.d.ts +1 -1
  24. package/es/cascader/Cascader.d.ts +1 -1
  25. package/es/cascader/index.d.ts +1 -1
  26. package/es/cell/Cell.d.ts +4 -4
  27. package/es/cell/index.d.ts +3 -3
  28. package/es/cell-group/CellGroup.d.ts +1 -1
  29. package/es/cell-group/index.d.ts +1 -1
  30. package/es/checkbox/Checkbox.d.ts +1 -1
  31. package/es/checkbox/Checker.d.ts +1 -1
  32. package/es/checkbox/index.d.ts +1 -1
  33. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  34. package/es/checkbox-group/index.d.ts +1 -1
  35. package/es/col/Col.d.ts +1 -1
  36. package/es/col/index.d.ts +1 -1
  37. package/es/collapse/Collapse.d.ts +1 -1
  38. package/es/collapse/index.d.ts +1 -1
  39. package/es/collapse-item/CollapseItem.d.ts +1 -1
  40. package/es/collapse-item/index.d.ts +1 -1
  41. package/es/composables/use-lazy-render.d.ts +1 -0
  42. package/es/composables/use-placeholder.d.ts +2 -1
  43. package/es/composables/use-route.d.ts +1 -2
  44. package/es/config-provider/ConfigProvider.d.ts +1 -1
  45. package/es/config-provider/index.d.ts +1 -1
  46. package/es/date-time-picker/DateTimePicker.d.ts +1 -1
  47. package/es/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
  48. package/es/date-time-picker/index.d.ts +1 -1
  49. package/es/dialog/Dialog.d.ts +1 -1
  50. package/es/dialog/index.d.ts +1 -1
  51. package/es/dialog/types.d.ts +1 -0
  52. package/es/divider/Divider.d.ts +1 -1
  53. package/es/divider/index.d.ts +1 -1
  54. package/es/drawer-select/DrawerSelect.d.ts +1 -1
  55. package/es/drawer-select/index.d.ts +1 -1
  56. package/es/dropdown-item/DropdownItem.d.ts +1 -1
  57. package/es/dropdown-item/index.d.ts +1 -1
  58. package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
  59. package/es/dropdown-menu/index.d.ts +1 -1
  60. package/es/empty/Empty.d.ts +1 -1
  61. package/es/empty/Images.d.ts +11 -11
  62. package/es/empty/index.d.ts +1 -1
  63. package/es/field/Field.d.ts +1 -1
  64. package/es/field/index.d.ts +1 -1
  65. package/es/floating-bubble/FloatingBubble.d.ts +1 -1
  66. package/es/floating-bubble/index.d.ts +1 -1
  67. package/es/form/Form.d.ts +1 -1
  68. package/es/form/index.d.ts +1 -1
  69. package/es/grid/Grid.d.ts +1 -1
  70. package/es/grid/index.d.ts +1 -1
  71. package/es/grid-item/GridItem.d.ts +4 -4
  72. package/es/grid-item/index.d.ts +3 -3
  73. package/es/hierarchy-select/Breadcrumb.d.ts +1 -1
  74. package/es/hierarchy-select/HierarchySelect.d.ts +1 -1
  75. package/es/hierarchy-select/index.d.ts +1 -1
  76. package/es/hierarchy-select/svg/SubIcon.d.ts +1 -1
  77. package/es/icon/Icon.d.ts +1 -1
  78. package/es/icon/config.mjs +1 -0
  79. package/es/icon/index.css +1 -1
  80. package/es/icon/index.d.ts +1 -1
  81. package/es/image/Image.d.ts +1 -1
  82. package/es/image/index.d.ts +1 -1
  83. package/es/image-preview/ImagePreview.d.ts +1 -1
  84. package/es/image-preview/ImagePreviewItem.d.ts +1 -1
  85. package/es/image-preview/index.d.ts +1 -1
  86. package/es/index-anchor/IndexAnchor.d.ts +1 -1
  87. package/es/index-anchor/index.d.ts +1 -1
  88. package/es/index-bar/IndexBar.d.ts +1 -1
  89. package/es/index-bar/index.d.ts +1 -1
  90. package/es/index.d.ts +3 -1
  91. package/es/index.mjs +8 -2
  92. package/es/lazyload/vue-lazyload/index.d.ts +55 -55
  93. package/es/lazyload/vue-lazyload/util.d.ts +25 -0
  94. package/es/list/List.d.ts +1 -1
  95. package/es/list/index.d.ts +1 -1
  96. package/es/loading/Loading.d.ts +1 -1
  97. package/es/loading/index.d.ts +1 -1
  98. package/es/media-picker/MediaPicker.d.ts +2 -2
  99. package/es/media-picker/image/DefaultAudioIcon.d.ts +1 -1
  100. package/es/media-picker/image/DefaultFileIcon.d.ts +1 -1
  101. package/es/media-picker/image/DefaultVideoIcon.d.ts +1 -1
  102. package/es/media-picker/image/DeleteIcon.d.ts +1 -1
  103. package/es/media-picker/image/PickFileIcon.d.ts +1 -1
  104. package/es/media-picker/image/PickPhotoIcon.d.ts +1 -1
  105. package/es/media-picker/image/TakeAudioIcon.d.ts +1 -1
  106. package/es/media-picker/image/TakePhotoIcon.d.ts +1 -1
  107. package/es/media-picker/image/TakeVideoIcon.d.ts +1 -1
  108. package/es/media-picker/index.d.ts +2 -2
  109. package/es/media-player/MediaPlayer.d.ts +1 -1
  110. package/es/media-player/index.d.ts +1 -1
  111. package/es/multiple-picker/MultiplePicker.d.ts +1 -1
  112. package/es/multiple-picker/MultiplePickerOptions.d.ts +1 -1
  113. package/es/multiple-picker/index.d.ts +1 -1
  114. package/es/nav-bar/NavBar.d.ts +1 -1
  115. package/es/nav-bar/index.d.ts +1 -1
  116. package/es/notice-bar/NoticeBar.d.ts +1 -1
  117. package/es/notice-bar/index.d.ts +1 -1
  118. package/es/notify/Notify.d.ts +1 -1
  119. package/es/notify/index.d.ts +1 -1
  120. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  121. package/es/number-keyboard/NumberKeyboardKey.d.ts +1 -1
  122. package/es/number-keyboard/index.d.ts +1 -1
  123. package/es/overlay/Overlay.d.ts +1 -1
  124. package/es/overlay/index.d.ts +1 -1
  125. package/es/password-input/PasswordInput.d.ts +1 -1
  126. package/es/password-input/index.d.ts +1 -1
  127. package/es/picker/Picker.d.ts +1 -1
  128. package/es/picker/PickerColumn.d.ts +1 -1
  129. package/es/picker/PickerOptions.d.ts +1 -1
  130. package/es/picker/PickerToolbar.d.ts +1 -1
  131. package/es/picker/index.d.ts +1 -1
  132. package/es/popover/Popover.d.ts +1 -1
  133. package/es/popover/index.d.ts +1 -1
  134. package/es/popup/Popup.d.ts +1 -1
  135. package/es/popup/index.d.ts +1 -1
  136. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  137. package/es/pull-refresh/index.d.ts +1 -1
  138. package/es/radio/Radio.d.ts +1 -1
  139. package/es/radio/index.d.ts +1 -1
  140. package/es/radio-group/RadioGroup.d.ts +1 -1
  141. package/es/radio-group/index.d.ts +1 -1
  142. package/es/radio-picker/RadioPicker.d.ts +1 -1
  143. package/es/radio-picker/RadioPickerColumn.d.ts +1 -1
  144. package/es/radio-picker/RadioPickerToolbar.d.ts +1 -1
  145. package/es/radio-picker/index.d.ts +1 -1
  146. package/es/rate/Rate.d.ts +1 -1
  147. package/es/rate/index.d.ts +1 -1
  148. package/es/row/Row.d.ts +1 -1
  149. package/es/row/index.d.ts +1 -1
  150. package/es/search/Search.d.ts +1 -1
  151. package/es/search/index.d.ts +1 -1
  152. package/es/signature/Signature.d.ts +1 -1
  153. package/es/signature/index.d.ts +1 -1
  154. package/es/skeleton/Skeleton.d.ts +2 -2
  155. package/es/skeleton/index.d.ts +2 -2
  156. package/es/slider/Slider.d.ts +29 -3
  157. package/es/slider/Slider.mjs +15 -5
  158. package/es/slider/index.d.ts +21 -3
  159. package/es/step/Step.d.ts +1 -1
  160. package/es/step/index.d.ts +1 -1
  161. package/es/stepper/Stepper.d.ts +3 -3
  162. package/es/stepper/index.d.ts +3 -3
  163. package/es/steps/Steps.d.ts +1 -1
  164. package/es/steps/index.d.ts +1 -1
  165. package/es/sticky/Sticky.d.ts +1 -1
  166. package/es/sticky/index.d.ts +1 -1
  167. package/es/swipe/Swipe.d.ts +2 -2
  168. package/es/swipe/index.d.ts +2 -2
  169. package/es/swipe-cell/SwipeCell.d.ts +1 -1
  170. package/es/swipe-cell/index.d.ts +1 -1
  171. package/es/swipe-item/SwipeItem.d.ts +1 -1
  172. package/es/swipe-item/index.d.ts +1 -1
  173. package/es/switch/Switch.d.ts +1 -1
  174. package/es/switch/index.d.ts +1 -1
  175. package/es/tab/Tab.d.ts +4 -4
  176. package/es/tab/index.d.ts +3 -3
  177. package/es/tabbar/Tabbar.d.ts +1 -1
  178. package/es/tabbar/index.d.ts +1 -1
  179. package/es/tabbar-item/TabbarItem.d.ts +4 -4
  180. package/es/tabbar-item/index.d.ts +3 -3
  181. package/es/table/Table.d.ts +1 -1
  182. package/es/table/Table.mjs +13 -2
  183. package/es/table/index.d.ts +1 -1
  184. package/es/tabs/Tabs.d.ts +1 -1
  185. package/es/tabs/TabsContent.d.ts +1 -1
  186. package/es/tabs/TabsTitle.d.ts +1 -1
  187. package/es/tabs/index.d.ts +1 -1
  188. package/es/tag/Tag.d.ts +1 -1
  189. package/es/tag/index.d.ts +1 -1
  190. package/es/text-ellipsis/TextEllipsis.d.ts +1 -1
  191. package/es/text-ellipsis/index.d.ts +1 -1
  192. package/es/time-picker/Arrow.d.ts +1 -1
  193. package/es/time-picker/TimePicker.d.ts +1 -1
  194. package/es/time-picker/TimePickerColumn.d.ts +1 -1
  195. package/es/time-picker/index.d.ts +1 -1
  196. package/es/timeline/Timeline.d.ts +1 -1
  197. package/es/timeline/index.d.ts +1 -1
  198. package/es/toast/Toast.d.ts +1 -1
  199. package/es/toast/index.d.ts +1 -1
  200. package/es/uploader/Uploader.d.ts +1 -1
  201. package/es/uploader/UploaderPreviewItem.d.ts +1 -1
  202. package/es/uploader/index.d.ts +1 -1
  203. package/es/utils/constant.d.ts +5 -5
  204. package/es/utils/format.d.ts +1 -0
  205. package/es/utils/format.mjs +15 -0
  206. package/es/video/Video.d.ts +104 -0
  207. package/es/video/Video.mjs +390 -0
  208. package/es/video/index.css +1 -0
  209. package/es/video/index.d.ts +78 -0
  210. package/es/video/index.mjs +8 -0
  211. package/es/video/style/index.d.ts +1 -0
  212. package/es/video/style/index.mjs +4 -0
  213. package/es/video/types.d.ts +12 -0
  214. package/es/video/types.mjs +0 -0
  215. package/es/vue-sfc-shim.d.ts +6 -6
  216. package/es/vue-tsx-shim.d.ts +23 -23
  217. package/lib/action-sheet/ActionSheet.d.ts +1 -1
  218. package/lib/action-sheet/index.d.ts +1 -1
  219. package/lib/audio/Audio.d.ts +82 -0
  220. package/lib/audio/Audio.js +253 -0
  221. package/lib/audio/index.css +1 -0
  222. package/lib/audio/index.d.ts +66 -0
  223. package/lib/audio/index.js +39 -0
  224. package/lib/audio/style/index.d.ts +1 -0
  225. package/lib/audio/style/index.js +5 -0
  226. package/lib/audio/types.d.ts +3 -0
  227. package/lib/audio/types.js +23 -0
  228. package/lib/avatar/Avatar.d.ts +2 -2
  229. package/lib/avatar/index.d.ts +2 -2
  230. package/lib/badge/Badge.d.ts +1 -1
  231. package/lib/badge/index.d.ts +1 -1
  232. package/lib/button/Button.d.ts +5 -5
  233. package/lib/button/index.d.ts +4 -4
  234. package/lib/calendar/Calendar.d.ts +1 -1
  235. package/lib/calendar/CalendarDay.d.ts +1 -1
  236. package/lib/calendar/CalendarHeader.d.ts +1 -1
  237. package/lib/calendar/CalendarMonth.d.ts +1 -1
  238. package/lib/calendar/index.d.ts +1 -1
  239. package/lib/cascader/Cascader.d.ts +1 -1
  240. package/lib/cascader/index.d.ts +1 -1
  241. package/lib/cell/Cell.d.ts +4 -4
  242. package/lib/cell/index.d.ts +3 -3
  243. package/lib/cell-group/CellGroup.d.ts +1 -1
  244. package/lib/cell-group/index.d.ts +1 -1
  245. package/lib/checkbox/Checkbox.d.ts +1 -1
  246. package/lib/checkbox/Checker.d.ts +1 -1
  247. package/lib/checkbox/index.d.ts +1 -1
  248. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  249. package/lib/checkbox-group/index.d.ts +1 -1
  250. package/lib/col/Col.d.ts +1 -1
  251. package/lib/col/index.d.ts +1 -1
  252. package/lib/collapse/Collapse.d.ts +1 -1
  253. package/lib/collapse/index.d.ts +1 -1
  254. package/lib/collapse-item/CollapseItem.d.ts +1 -1
  255. package/lib/collapse-item/index.d.ts +1 -1
  256. package/lib/composables/use-lazy-render.d.ts +1 -0
  257. package/lib/composables/use-placeholder.d.ts +2 -1
  258. package/lib/composables/use-route.d.ts +1 -2
  259. package/lib/config-provider/ConfigProvider.d.ts +1 -1
  260. package/lib/config-provider/index.d.ts +1 -1
  261. package/lib/date-time-picker/DateTimePicker.d.ts +1 -1
  262. package/lib/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
  263. package/lib/date-time-picker/index.d.ts +1 -1
  264. package/lib/dialog/Dialog.d.ts +1 -1
  265. package/lib/dialog/index.d.ts +1 -1
  266. package/lib/dialog/types.d.ts +1 -0
  267. package/lib/divider/Divider.d.ts +1 -1
  268. package/lib/divider/index.d.ts +1 -1
  269. package/lib/drawer-select/DrawerSelect.d.ts +1 -1
  270. package/lib/drawer-select/index.d.ts +1 -1
  271. package/lib/dropdown-item/DropdownItem.d.ts +1 -1
  272. package/lib/dropdown-item/index.d.ts +1 -1
  273. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  274. package/lib/dropdown-menu/index.d.ts +1 -1
  275. package/lib/empty/Empty.d.ts +1 -1
  276. package/lib/empty/Images.d.ts +11 -11
  277. package/lib/empty/index.d.ts +1 -1
  278. package/lib/field/Field.d.ts +1 -1
  279. package/lib/field/index.d.ts +1 -1
  280. package/lib/floating-bubble/FloatingBubble.d.ts +1 -1
  281. package/lib/floating-bubble/index.d.ts +1 -1
  282. package/lib/form/Form.d.ts +1 -1
  283. package/lib/form/index.d.ts +1 -1
  284. package/lib/grid/Grid.d.ts +1 -1
  285. package/lib/grid/index.d.ts +1 -1
  286. package/lib/grid-item/GridItem.d.ts +4 -4
  287. package/lib/grid-item/index.d.ts +3 -3
  288. package/lib/hierarchy-select/Breadcrumb.d.ts +1 -1
  289. package/lib/hierarchy-select/HierarchySelect.d.ts +1 -1
  290. package/lib/hierarchy-select/index.d.ts +1 -1
  291. package/lib/hierarchy-select/svg/SubIcon.d.ts +1 -1
  292. package/lib/icon/Icon.d.ts +1 -1
  293. package/lib/icon/config.js +1 -0
  294. package/lib/icon/index.css +1 -1
  295. package/lib/icon/index.d.ts +1 -1
  296. package/lib/image/Image.d.ts +1 -1
  297. package/lib/image/index.d.ts +1 -1
  298. package/lib/image-preview/ImagePreview.d.ts +1 -1
  299. package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
  300. package/lib/image-preview/index.d.ts +1 -1
  301. package/lib/index-anchor/IndexAnchor.d.ts +1 -1
  302. package/lib/index-anchor/index.d.ts +1 -1
  303. package/lib/index-bar/IndexBar.d.ts +1 -1
  304. package/lib/index-bar/index.d.ts +1 -1
  305. package/lib/index.css +1 -1
  306. package/lib/index.d.ts +3 -1
  307. package/lib/index.js +8 -2
  308. package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
  309. package/lib/lazyload/vue-lazyload/util.d.ts +25 -0
  310. package/lib/list/List.d.ts +1 -1
  311. package/lib/list/index.d.ts +1 -1
  312. package/lib/loading/Loading.d.ts +1 -1
  313. package/lib/loading/index.d.ts +1 -1
  314. package/lib/media-picker/MediaPicker.d.ts +2 -2
  315. package/lib/media-picker/image/DefaultAudioIcon.d.ts +1 -1
  316. package/lib/media-picker/image/DefaultFileIcon.d.ts +1 -1
  317. package/lib/media-picker/image/DefaultVideoIcon.d.ts +1 -1
  318. package/lib/media-picker/image/DeleteIcon.d.ts +1 -1
  319. package/lib/media-picker/image/PickFileIcon.d.ts +1 -1
  320. package/lib/media-picker/image/PickPhotoIcon.d.ts +1 -1
  321. package/lib/media-picker/image/TakeAudioIcon.d.ts +1 -1
  322. package/lib/media-picker/image/TakePhotoIcon.d.ts +1 -1
  323. package/lib/media-picker/image/TakeVideoIcon.d.ts +1 -1
  324. package/lib/media-picker/index.d.ts +2 -2
  325. package/lib/media-player/MediaPlayer.d.ts +1 -1
  326. package/lib/media-player/index.d.ts +1 -1
  327. package/lib/multiple-picker/MultiplePicker.d.ts +1 -1
  328. package/lib/multiple-picker/MultiplePickerOptions.d.ts +1 -1
  329. package/lib/multiple-picker/index.d.ts +1 -1
  330. package/lib/nav-bar/NavBar.d.ts +1 -1
  331. package/lib/nav-bar/index.d.ts +1 -1
  332. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  333. package/lib/notice-bar/index.d.ts +1 -1
  334. package/lib/notify/Notify.d.ts +1 -1
  335. package/lib/notify/index.d.ts +1 -1
  336. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  337. package/lib/number-keyboard/NumberKeyboardKey.d.ts +1 -1
  338. package/lib/number-keyboard/index.d.ts +1 -1
  339. package/lib/overlay/Overlay.d.ts +1 -1
  340. package/lib/overlay/index.d.ts +1 -1
  341. package/lib/password-input/PasswordInput.d.ts +1 -1
  342. package/lib/password-input/index.d.ts +1 -1
  343. package/lib/picker/Picker.d.ts +1 -1
  344. package/lib/picker/PickerColumn.d.ts +1 -1
  345. package/lib/picker/PickerOptions.d.ts +1 -1
  346. package/lib/picker/PickerToolbar.d.ts +1 -1
  347. package/lib/picker/index.d.ts +1 -1
  348. package/lib/popover/Popover.d.ts +1 -1
  349. package/lib/popover/index.d.ts +1 -1
  350. package/lib/popup/Popup.d.ts +1 -1
  351. package/lib/popup/index.d.ts +1 -1
  352. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  353. package/lib/pull-refresh/index.d.ts +1 -1
  354. package/lib/radio/Radio.d.ts +1 -1
  355. package/lib/radio/index.d.ts +1 -1
  356. package/lib/radio-group/RadioGroup.d.ts +1 -1
  357. package/lib/radio-group/index.d.ts +1 -1
  358. package/lib/radio-picker/RadioPicker.d.ts +1 -1
  359. package/lib/radio-picker/RadioPickerColumn.d.ts +1 -1
  360. package/lib/radio-picker/RadioPickerToolbar.d.ts +1 -1
  361. package/lib/radio-picker/index.d.ts +1 -1
  362. package/lib/rate/Rate.d.ts +1 -1
  363. package/lib/rate/index.d.ts +1 -1
  364. package/lib/row/Row.d.ts +1 -1
  365. package/lib/row/index.d.ts +1 -1
  366. package/lib/search/Search.d.ts +1 -1
  367. package/lib/search/index.d.ts +1 -1
  368. package/lib/signature/Signature.d.ts +1 -1
  369. package/lib/signature/index.d.ts +1 -1
  370. package/lib/skeleton/Skeleton.d.ts +2 -2
  371. package/lib/skeleton/index.d.ts +2 -2
  372. package/lib/slider/Slider.d.ts +29 -3
  373. package/lib/slider/Slider.js +14 -4
  374. package/lib/slider/index.d.ts +21 -3
  375. package/lib/step/Step.d.ts +1 -1
  376. package/lib/step/index.d.ts +1 -1
  377. package/lib/stepper/Stepper.d.ts +3 -3
  378. package/lib/stepper/index.d.ts +3 -3
  379. package/lib/steps/Steps.d.ts +1 -1
  380. package/lib/steps/index.d.ts +1 -1
  381. package/lib/sticky/Sticky.d.ts +1 -1
  382. package/lib/sticky/index.d.ts +1 -1
  383. package/lib/swipe/Swipe.d.ts +2 -2
  384. package/lib/swipe/index.d.ts +2 -2
  385. package/lib/swipe-cell/SwipeCell.d.ts +1 -1
  386. package/lib/swipe-cell/index.d.ts +1 -1
  387. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  388. package/lib/swipe-item/index.d.ts +1 -1
  389. package/lib/switch/Switch.d.ts +1 -1
  390. package/lib/switch/index.d.ts +1 -1
  391. package/lib/tab/Tab.d.ts +4 -4
  392. package/lib/tab/index.d.ts +3 -3
  393. package/lib/tabbar/Tabbar.d.ts +1 -1
  394. package/lib/tabbar/index.d.ts +1 -1
  395. package/lib/tabbar-item/TabbarItem.d.ts +4 -4
  396. package/lib/tabbar-item/index.d.ts +3 -3
  397. package/lib/table/Table.d.ts +1 -1
  398. package/lib/table/Table.js +13 -2
  399. package/lib/table/index.d.ts +1 -1
  400. package/lib/tabs/Tabs.d.ts +1 -1
  401. package/lib/tabs/TabsContent.d.ts +1 -1
  402. package/lib/tabs/TabsTitle.d.ts +1 -1
  403. package/lib/tabs/index.d.ts +1 -1
  404. package/lib/tag/Tag.d.ts +1 -1
  405. package/lib/tag/index.d.ts +1 -1
  406. package/lib/text-ellipsis/TextEllipsis.d.ts +1 -1
  407. package/lib/text-ellipsis/index.d.ts +1 -1
  408. package/lib/time-picker/Arrow.d.ts +1 -1
  409. package/lib/time-picker/TimePicker.d.ts +1 -1
  410. package/lib/time-picker/TimePickerColumn.d.ts +1 -1
  411. package/lib/time-picker/index.d.ts +1 -1
  412. package/lib/timeline/Timeline.d.ts +1 -1
  413. package/lib/timeline/index.d.ts +1 -1
  414. package/lib/toast/Toast.d.ts +1 -1
  415. package/lib/toast/index.d.ts +1 -1
  416. package/lib/uploader/Uploader.d.ts +1 -1
  417. package/lib/uploader/UploaderPreviewItem.d.ts +1 -1
  418. package/lib/uploader/index.d.ts +1 -1
  419. package/lib/utils/constant.d.ts +5 -5
  420. package/lib/utils/format.d.ts +1 -0
  421. package/lib/utils/format.js +15 -0
  422. package/lib/video/Video.d.ts +104 -0
  423. package/lib/video/Video.js +419 -0
  424. package/lib/video/index.css +1 -0
  425. package/lib/video/index.d.ts +78 -0
  426. package/lib/video/index.js +37 -0
  427. package/lib/video/style/index.d.ts +1 -0
  428. package/lib/video/style/index.js +4 -0
  429. package/lib/video/types.d.ts +12 -0
  430. package/lib/video/types.js +15 -0
  431. package/lib/vue-sfc-shim.d.ts +6 -6
  432. package/lib/vue-tsx-shim.d.ts +23 -23
  433. package/lib/web-types.json +1 -1
  434. package/lib/zartui.cjs.js +15155 -14516
  435. package/lib/zartui.es.js +15156 -14517
  436. package/lib/zartui.js +5601 -4013
  437. package/lib/zartui.min.js +1 -1
  438. package/package.json +6 -6
@@ -0,0 +1,253 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name2 in all)
9
+ __defProp(target, name2, { get: all[name2], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var stdin_exports = {};
29
+ __export(stdin_exports, {
30
+ default: () => stdin_default
31
+ });
32
+ module.exports = __toCommonJS(stdin_exports);
33
+ var import_vue = require("vue");
34
+ var import_vue2 = require("vue");
35
+ var import_icon = __toESM(require("../icon"));
36
+ var import_slider = __toESM(require("../slider"));
37
+ var import_utils = require("../utils");
38
+ var import_types = require("./types");
39
+ const [name, bem] = (0, import_utils.createNamespace)("audio");
40
+ const audioProps = {
41
+ src: (0, import_utils.makeStringProp)(""),
42
+ muted: Boolean,
43
+ autoplay: Boolean,
44
+ loop: Boolean,
45
+ preload: (0, import_utils.makeStringProp)("auto"),
46
+ second: (0, import_utils.makeNumberProp)(0),
47
+ type: (0, import_utils.makeStringProp)("progress")
48
+ };
49
+ var stdin_default = (0, import_vue2.defineComponent)({
50
+ name,
51
+ props: audioProps,
52
+ emits: ["fastBack", "play", "forward", "ended", "changeProgress", "mute", "canPlay"],
53
+ setup(props, {
54
+ emit,
55
+ slots,
56
+ expose
57
+ }) {
58
+ const audioRef = (0, import_vue2.ref)();
59
+ const audioData = (0, import_vue2.reactive)({
60
+ currentTime: 0,
61
+ currentDuration: "00:00:00",
62
+ percent: 0,
63
+ duration: "00:00:00",
64
+ second: 0,
65
+ hanMuted: props.muted,
66
+ playing: props.autoplay,
67
+ handPlaying: false
68
+ });
69
+ const onCanplay = (e) => {
70
+ var _a, _b, _c;
71
+ if (props.autoplay) {
72
+ if (audioRef.value && audioRef.value.paused) {
73
+ audioRef.value.play();
74
+ }
75
+ }
76
+ audioData.second = ((_a = audioRef.value) == null ? void 0 : _a.duration) || 0;
77
+ audioData.duration = (0, import_utils.formatSeconds)(((_c = (_b = audioRef.value) == null ? void 0 : _b.duration) == null ? void 0 : _c.toString()) || "");
78
+ emit("canPlay", e);
79
+ };
80
+ const onTimeupdate = (e) => {
81
+ audioData.currentTime = parseInt(e.target.currentTime);
82
+ };
83
+ const fastBack = (val) => {
84
+ if (audioData.currentTime > 0) {
85
+ if (val) {
86
+ audioData.currentTime = (0, import_utils.clamp)(audioData.currentTime - val, 0, audioData.second);
87
+ } else {
88
+ audioData.currentTime--;
89
+ }
90
+ }
91
+ if (audioRef.value) {
92
+ audioRef.value.currentTime = audioData.currentTime;
93
+ }
94
+ emit("fastBack", audioData.currentTime);
95
+ };
96
+ const changeStatus = () => {
97
+ if (audioRef.value) {
98
+ if (audioData.playing) {
99
+ audioRef.value.pause();
100
+ audioData.handPlaying = false;
101
+ } else {
102
+ audioRef.value.play();
103
+ audioData.handPlaying = true;
104
+ }
105
+ }
106
+ audioData.playing = !audioData.playing;
107
+ emit("play", audioData.playing);
108
+ };
109
+ const forward = (val) => {
110
+ if (val) {
111
+ audioData.currentTime = (0, import_utils.clamp)(audioData.currentTime + val, 0, audioData.second);
112
+ } else {
113
+ audioData.currentTime++;
114
+ }
115
+ if (audioRef.value) {
116
+ audioRef.value.currentTime = audioData.currentTime;
117
+ }
118
+ emit("forward", audioData.currentTime);
119
+ };
120
+ const handle = (val) => {
121
+ audioData.currentDuration = (0, import_utils.formatSeconds)(val);
122
+ audioData.percent = val / audioData.second * 100;
123
+ };
124
+ const audioEnd = () => {
125
+ audioData.playing = false;
126
+ emit("ended");
127
+ };
128
+ const progressChange = (val) => {
129
+ var _a;
130
+ audioData.percent = val;
131
+ if (audioRef.value) {
132
+ audioRef.value.currentTime = audioData.second * val / 100;
133
+ }
134
+ emit("changeProgress", ((_a = audioRef.value) == null ? void 0 : _a.currentTime) || 0);
135
+ };
136
+ const handleMute = () => {
137
+ audioData.hanMuted = !audioData.hanMuted;
138
+ emit("mute", audioData.hanMuted);
139
+ };
140
+ function renderProgress() {
141
+ if (props.type === "progress") {
142
+ return (0, import_vue.createVNode)("div", {
143
+ "class": bem("progress")
144
+ }, [(0, import_vue.createVNode)("div", {
145
+ "class": bem("time")
146
+ }, [audioData.currentDuration]), (0, import_vue.createVNode)("div", {
147
+ "class": bem("bar")
148
+ }, [(0, import_vue.createVNode)(import_slider.default, {
149
+ "modelValue": audioData.percent,
150
+ "showPercent": false,
151
+ "readonly": false,
152
+ "onUpdate:modelValue": progressChange
153
+ }, null)]), (0, import_vue.createVNode)("div", {
154
+ "class": bem("time")
155
+ }, [audioData.duration])]);
156
+ }
157
+ }
158
+ function renderIcon() {
159
+ if (props.type === "icon") {
160
+ return (0, import_vue.createVNode)("div", {
161
+ "class": bem("icon")
162
+ }, [(0, import_vue.createVNode)("div", {
163
+ "class": bem("icon-box", {
164
+ play: audioData.playing,
165
+ stop: !audioData.playing
166
+ }),
167
+ "onClick": () => changeStatus()
168
+ }, [(0, import_vue.createVNode)(import_icon.default, {
169
+ "name": "audio",
170
+ "class": bem("", {
171
+ rotate: audioData.playing
172
+ })
173
+ }, null)])]);
174
+ }
175
+ }
176
+ function renderSlots() {
177
+ var _a, _b;
178
+ if (props.type === "none") {
179
+ return (0, import_vue.createVNode)("div", {
180
+ "onClick": () => changeStatus()
181
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
182
+ } else {
183
+ return (_b = slots.default) == null ? void 0 : _b.call(slots);
184
+ }
185
+ }
186
+ (0, import_vue2.watch)(() => audioData.currentTime, (value) => {
187
+ handle(value);
188
+ });
189
+ (0, import_vue2.onMounted)(() => {
190
+ const arr = ["webkitVisibilityState", "visibilitychange"];
191
+ try {
192
+ for (let i = 0; i < arr.length; i++) {
193
+ document.addEventListener(arr[i], () => {
194
+ var _a;
195
+ if (document.hidden) {
196
+ (_a = audioRef.value) == null ? void 0 : _a.pause();
197
+ } else {
198
+ if (audioData.playing) {
199
+ setTimeout(() => {
200
+ var _a2;
201
+ (_a2 = audioRef.value) == null ? void 0 : _a2.play();
202
+ }, 200);
203
+ }
204
+ }
205
+ });
206
+ }
207
+ } catch (e) {
208
+ console.log(e.message);
209
+ }
210
+ });
211
+ (0, import_vue2.provide)(import_types.ZT_AUDIO_KEY, {
212
+ children: [],
213
+ props,
214
+ audioData,
215
+ handleMute,
216
+ forward,
217
+ fastBack,
218
+ changeStatus
219
+ });
220
+ expose({
221
+ audioData,
222
+ audioRef,
223
+ handleMute,
224
+ forward,
225
+ fastBack,
226
+ changeStatus
227
+ });
228
+ return () => {
229
+ const {
230
+ src,
231
+ type,
232
+ preload,
233
+ autoplay,
234
+ loop
235
+ } = props;
236
+ return (0, import_vue.createVNode)("div", {
237
+ "class": bem()
238
+ }, [renderProgress(), renderIcon(), renderSlots(), (0, import_vue.createVNode)("audio", {
239
+ "ref": audioRef,
240
+ "class": bem("audio-main"),
241
+ "controls": type === "controls",
242
+ "src": src,
243
+ "preload": preload,
244
+ "autoplay": autoplay,
245
+ "loop": loop,
246
+ "muted": audioData.hanMuted,
247
+ "onTimeupdate": onTimeupdate,
248
+ "onCanplay": onCanplay,
249
+ "onEnded": audioEnd
250
+ }, null)]);
251
+ };
252
+ }
253
+ });
@@ -0,0 +1 @@
1
+ :root{--zt-audio-icon-disabled-background: var(--zt-gray-a4);--zt-audio-icon-size: var(--zt-font-size-xl);--zt-audio-icon-box-shadow: 0 0 8px var(--zt-gray-a4);--zt-audio-icon-playing-duration: 2s;--zt-audio-icon-box-size: 30px}.zt-audio{padding:0}.zt-audio .zt-audio__progress{display:flex;align-items:center;width:100%;margin:0 auto;padding:10px 0}.zt-audio .zt-audio__progress .zt-audio__bar{flex:1;margin:0 10px}.zt-audio .zt-audio__progress .zt-audio__time{min-width:50px;font-size:12px;text-align:center}.zt-audio .zt-audio__icon{position:relative;display:inline-block}.zt-audio .zt-audio__icon-box{display:flex;align-items:center;justify-content:center;width:var(--zt-audio-icon-box-size);height:var(--zt-audio-icon-box-size);background:#fff;border-radius:50%;box-shadow:var(--zt-audio-icon-box-shadow)}.zt-audio .zt-audio__icon-box>i{font-size:var(--zt-audio-icon-size)}.zt-audio .zt-audio__icon-box--play>i{animation:rotation var(--zt-audio-icon-playing-duration) linear infinite}.zt-audio .zt-audio__icon-box--stop:after{position:absolute;left:50%;top:50%;content:"";height:2px;width:var(--zt-audio-icon-box-size);background:var(--zt-audio-icon-disabled-background);transform:translate(-50%,-50%) rotate(45deg)}@keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}
@@ -0,0 +1,66 @@
1
+ export declare const Audio: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ src: {
3
+ type: import("vue").PropType<string>;
4
+ default: string;
5
+ };
6
+ muted: BooleanConstructor;
7
+ autoplay: BooleanConstructor;
8
+ loop: BooleanConstructor;
9
+ preload: {
10
+ type: import("vue").PropType<string>;
11
+ default: string;
12
+ };
13
+ second: {
14
+ type: NumberConstructor;
15
+ default: number;
16
+ };
17
+ type: {
18
+ type: import("vue").PropType<import("./types").AudioType>;
19
+ default: import("./types").AudioType;
20
+ };
21
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ended" | "play" | "forward" | "mute" | "fastBack" | "changeProgress" | "canPlay")[], "ended" | "play" | "forward" | "mute" | "fastBack" | "changeProgress" | "canPlay", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ src: {
23
+ type: import("vue").PropType<string>;
24
+ default: string;
25
+ };
26
+ muted: BooleanConstructor;
27
+ autoplay: BooleanConstructor;
28
+ loop: BooleanConstructor;
29
+ preload: {
30
+ type: import("vue").PropType<string>;
31
+ default: string;
32
+ };
33
+ second: {
34
+ type: NumberConstructor;
35
+ default: number;
36
+ };
37
+ type: {
38
+ type: import("vue").PropType<import("./types").AudioType>;
39
+ default: import("./types").AudioType;
40
+ };
41
+ }>> & {
42
+ onEnded?: ((...args: any[]) => any) | undefined;
43
+ onPlay?: ((...args: any[]) => any) | undefined;
44
+ onForward?: ((...args: any[]) => any) | undefined;
45
+ onMute?: ((...args: any[]) => any) | undefined;
46
+ onFastBack?: ((...args: any[]) => any) | undefined;
47
+ onChangeProgress?: ((...args: any[]) => any) | undefined;
48
+ onCanPlay?: ((...args: any[]) => any) | undefined;
49
+ }, {
50
+ type: import("./types").AudioType;
51
+ autoplay: boolean;
52
+ loop: boolean;
53
+ muted: boolean;
54
+ preload: string;
55
+ src: string;
56
+ second: number;
57
+ }, {}>>;
58
+ export default Audio;
59
+ export type { AudioProps } from './Audio';
60
+ export type { AudioType, AudioOperateType } from './types';
61
+ export { ZT_AUDIO_KEY } from './types';
62
+ declare module 'vue' {
63
+ interface GlobalComponents {
64
+ ZtAudio: typeof Audio;
65
+ }
66
+ }
@@ -0,0 +1,39 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var stdin_exports = {};
29
+ __export(stdin_exports, {
30
+ Audio: () => Audio,
31
+ ZT_AUDIO_KEY: () => import_types.ZT_AUDIO_KEY,
32
+ default: () => stdin_default
33
+ });
34
+ module.exports = __toCommonJS(stdin_exports);
35
+ var import_utils = require("../utils");
36
+ var import_Audio = __toESM(require("./Audio"));
37
+ var import_types = require("./types");
38
+ const Audio = (0, import_utils.withInstall)(import_Audio.default);
39
+ var stdin_default = Audio;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ require("../../style/base.css");
2
+ require("../../badge/index.css");
3
+ require("../../icon/index.css");
4
+ require("../../slider/index.css");
5
+ require("../index.css");
@@ -0,0 +1,3 @@
1
+ export type AudioType = 'progress' | 'icon' | 'controls' | 'none';
2
+ export type AudioOperateType = 'play' | 'back' | 'forward' | 'mute';
3
+ export declare const ZT_AUDIO_KEY: unique symbol;
@@ -0,0 +1,23 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var stdin_exports = {};
19
+ __export(stdin_exports, {
20
+ ZT_AUDIO_KEY: () => ZT_AUDIO_KEY
21
+ });
22
+ module.exports = __toCommonJS(stdin_exports);
23
+ const ZT_AUDIO_KEY = Symbol("zt-audio");
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
34
34
  text: StringConstructor;
35
35
  textBgColor: StringConstructor;
36
36
  border: BooleanConstructor;
37
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
37
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
38
38
  src: {
39
39
  type: import("vue").PropType<string>;
40
40
  default: string;
@@ -51,9 +51,9 @@ declare const _default: import("vue").DefineComponent<{
51
51
  textBgColor: StringConstructor;
52
52
  border: BooleanConstructor;
53
53
  }>>, {
54
+ size: AvatarSize;
54
55
  shape: AvatarShape;
55
56
  src: string;
56
- size: AvatarSize;
57
57
  border: boolean;
58
58
  }, {}>;
59
59
  export default _default;
@@ -14,7 +14,7 @@ export declare const Avatar: import("../utils").WithInstall<import("vue").Define
14
14
  text: StringConstructor;
15
15
  textBgColor: StringConstructor;
16
16
  border: BooleanConstructor;
17
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
18
  src: {
19
19
  type: import("vue").PropType<string>;
20
20
  default: string;
@@ -31,9 +31,9 @@ export declare const Avatar: import("../utils").WithInstall<import("vue").Define
31
31
  textBgColor: StringConstructor;
32
32
  border: BooleanConstructor;
33
33
  }>>, {
34
+ size: import("./types").AvatarSize;
34
35
  shape: import("./types").AvatarShape;
35
36
  src: string;
36
- size: import("./types").AvatarSize;
37
37
  border: boolean;
38
38
  }, {}>>;
39
39
  export default Avatar;
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<{
43
43
  type: PropType<BadgePosition>;
44
44
  default: BadgePosition;
45
45
  };
46
- }, () => JSX.Element | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
46
+ }, () => import("vue/jsx-runtime").JSX.Element | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
47
47
  dot: BooleanConstructor;
48
48
  max: (NumberConstructor | StringConstructor)[];
49
49
  tag: {
@@ -18,7 +18,7 @@ export declare const Badge: import("../utils").WithInstall<import("vue").DefineC
18
18
  type: import("vue").PropType<import("./Badge").BadgePosition>;
19
19
  default: import("./Badge").BadgePosition;
20
20
  };
21
- }, () => JSX.Element | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
+ }, () => import("vue/jsx-runtime").JSX.Element | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
22
  dot: BooleanConstructor;
23
23
  max: (NumberConstructor | StringConstructor)[];
24
24
  tag: {
@@ -2,7 +2,7 @@ import { PropType, ExtractPropTypes } from 'vue';
2
2
  import { LoadingType } from '../loading';
3
3
  import { ButtonSize, ButtonType, ButtonNativeType, ButtonIconPosition } from './types';
4
4
  declare const buttonProps: {
5
- to: PropType<import("vue-router").RouteLocationRaw>;
5
+ to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
6
6
  url: StringConstructor;
7
7
  replace: BooleanConstructor;
8
8
  } & {
@@ -48,7 +48,7 @@ declare const buttonProps: {
48
48
  };
49
49
  export type ButtonProps = ExtractPropTypes<typeof buttonProps>;
50
50
  declare const _default: import("vue").DefineComponent<{
51
- to: PropType<import("vue-router").RouteLocationRaw>;
51
+ to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
52
52
  url: StringConstructor;
53
53
  replace: BooleanConstructor;
54
54
  } & {
@@ -91,8 +91,8 @@ declare const _default: import("vue").DefineComponent<{
91
91
  type: PropType<ButtonIconPosition>;
92
92
  default: ButtonIconPosition;
93
93
  };
94
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
95
- to: PropType<import("vue-router").RouteLocationRaw>;
94
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
95
+ to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
96
96
  url: StringConstructor;
97
97
  replace: BooleanConstructor;
98
98
  } & {
@@ -141,10 +141,10 @@ declare const _default: import("vue").DefineComponent<{
141
141
  replace: boolean;
142
142
  type: ButtonType;
143
143
  tag: keyof HTMLElementTagNameMap;
144
+ size: ButtonSize;
144
145
  disabled: boolean;
145
146
  round: boolean;
146
147
  block: boolean;
147
- size: ButtonSize;
148
148
  square: boolean;
149
149
  loading: boolean;
150
150
  borderLess: boolean;
@@ -1,5 +1,5 @@
1
1
  export declare const Button: import("../utils").WithInstall<import("vue").DefineComponent<{
2
- to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
2
+ to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
3
3
  url: StringConstructor;
4
4
  replace: BooleanConstructor;
5
5
  } & {
@@ -42,8 +42,8 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
42
42
  type: import("vue").PropType<import("./types").ButtonIconPosition>;
43
43
  default: import("./types").ButtonIconPosition;
44
44
  };
45
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
- to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
45
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
+ to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
47
47
  url: StringConstructor;
48
48
  replace: BooleanConstructor;
49
49
  } & {
@@ -92,10 +92,10 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
92
92
  replace: boolean;
93
93
  type: import("./types").ButtonType;
94
94
  tag: keyof HTMLElementTagNameMap;
95
+ size: import("./types").ButtonSize;
95
96
  disabled: boolean;
96
97
  round: boolean;
97
98
  block: boolean;
98
- size: import("./types").ButtonSize;
99
99
  square: boolean;
100
100
  loading: boolean;
101
101
  borderLess: boolean;
@@ -181,7 +181,7 @@ declare const _default: import("vue").DefineComponent<{
181
181
  validator: (val: number) => boolean;
182
182
  };
183
183
  disabledDate: PropType<(date: Date) => boolean>;
184
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange")[], "select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
184
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange")[], "select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
185
185
  show: BooleanConstructor;
186
186
  showType: {
187
187
  type: PropType<CalendarShowType>;
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  default: number;
13
13
  };
14
14
  rowHeight: StringConstructor;
15
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  item: {
17
17
  type: PropType<CalendarDayItem>;
18
18
  required: true;
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  monthPreEnable: BooleanConstructor;
13
13
  yearNextEnable: BooleanConstructor;
14
14
  monthNextEnable: BooleanConstructor;
15
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickSubtitle" | "clickPreIcon" | "clickNextIcon")[], "clickSubtitle" | "clickPreIcon" | "clickNextIcon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickSubtitle" | "clickPreIcon" | "clickNextIcon")[], "clickSubtitle" | "clickPreIcon" | "clickNextIcon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  title: StringConstructor;
17
17
  subtitle: StringConstructor;
18
18
  showTitle: BooleanConstructor;
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
49
49
  showMonthTitle: BooleanConstructor;
50
50
  firstDayOfWeek: NumberConstructor;
51
51
  disabledDate: PropType<(date: Date) => boolean>;
52
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
52
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
53
53
  date: {
54
54
  type: DateConstructor;
55
55
  required: true;
@@ -87,7 +87,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
87
87
  validator: (val: number) => boolean;
88
88
  };
89
89
  disabledDate: import("vue").PropType<(date: Date) => boolean>;
90
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange")[], "select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
90
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange")[], "select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
91
91
  show: BooleanConstructor;
92
92
  showType: {
93
93
  type: import("vue").PropType<import("./types").CalendarShowType>;
@@ -99,7 +99,7 @@ declare const _default: import("vue").DefineComponent<{
99
99
  type: BooleanConstructor;
100
100
  default: true;
101
101
  };
102
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
102
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").PublicProps, Readonly<ExtractPropTypes<{
103
103
  title: StringConstructor;
104
104
  show: BooleanConstructor;
105
105
  round: {
@@ -46,7 +46,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
46
46
  type: BooleanConstructor;
47
47
  default: true;
48
48
  };
49
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
49
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
50
  title: StringConstructor;
51
51
  show: BooleanConstructor;
52
52
  round: {
@@ -90,7 +90,7 @@ declare const cellProps: {
90
90
  default: string;
91
91
  };
92
92
  } & {
93
- to: PropType<import("vue-router").RouteLocationRaw>;
93
+ to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
94
94
  url: StringConstructor;
95
95
  replace: BooleanConstructor;
96
96
  };
@@ -139,10 +139,10 @@ declare const _default: import("vue").DefineComponent<{
139
139
  default: string;
140
140
  };
141
141
  } & {
142
- to: PropType<import("vue-router").RouteLocationRaw>;
142
+ to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
143
143
  url: StringConstructor;
144
144
  replace: BooleanConstructor;
145
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
145
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
146
146
  leftIcon: StringConstructor;
147
147
  titleIcon: StringConstructor;
148
148
  title: (NumberConstructor | StringConstructor)[];
@@ -186,7 +186,7 @@ declare const _default: import("vue").DefineComponent<{
186
186
  default: string;
187
187
  };
188
188
  } & {
189
- to: PropType<import("vue-router").RouteLocationRaw>;
189
+ to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
190
190
  url: StringConstructor;
191
191
  replace: BooleanConstructor;
192
192
  }>> & {