zartui 3.1.23-beta.1 → 3.1.23-beta.3

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 (689) hide show
  1. package/README.md +4 -0
  2. package/es/action-sheet/ActionSheet.d.ts +5 -5
  3. package/es/action-sheet/ActionSheet.mjs +1 -2
  4. package/es/action-sheet/index.d.ts +5 -5
  5. package/es/audio/Audio.d.ts +95 -0
  6. package/es/audio/Audio.mjs +226 -0
  7. package/es/audio/index.css +1 -0
  8. package/es/audio/index.d.ts +75 -0
  9. package/es/audio/index.mjs +10 -0
  10. package/es/audio/style/index.d.ts +1 -0
  11. package/es/audio/style/index.mjs +5 -0
  12. package/es/audio/types.d.ts +3 -0
  13. package/es/audio/types.mjs +4 -0
  14. package/es/avatar/Avatar.d.ts +4 -4
  15. package/es/avatar/Avatar.mjs +1 -2
  16. package/es/avatar/index.d.ts +4 -4
  17. package/es/badge/Badge.d.ts +4 -4
  18. package/es/badge/Badge.mjs +1 -2
  19. package/es/badge/index.d.ts +4 -4
  20. package/es/button/Button.d.ts +8 -5
  21. package/es/button/Button.mjs +1 -2
  22. package/es/button/index.d.ts +7 -5
  23. package/es/calendar/Calendar.d.ts +5 -5
  24. package/es/calendar/Calendar.mjs +1 -2
  25. package/es/calendar/CalendarDay.d.ts +5 -5
  26. package/es/calendar/CalendarDay.mjs +1 -2
  27. package/es/calendar/CalendarHeader.d.ts +5 -5
  28. package/es/calendar/CalendarHeader.mjs +1 -2
  29. package/es/calendar/CalendarMonth.d.ts +5 -5
  30. package/es/calendar/CalendarMonth.mjs +1 -2
  31. package/es/calendar/index.css +1 -1
  32. package/es/calendar/index.d.ts +5 -5
  33. package/es/cascader/Cascader.d.ts +5 -5
  34. package/es/cascader/Cascader.mjs +1 -2
  35. package/es/cascader/index.d.ts +5 -5
  36. package/es/cell/Cell.d.ts +8 -5
  37. package/es/cell/Cell.mjs +1 -2
  38. package/es/cell/index.d.ts +7 -5
  39. package/es/cell-group/CellGroup.d.ts +4 -4
  40. package/es/cell-group/CellGroup.mjs +1 -2
  41. package/es/cell-group/index.d.ts +4 -4
  42. package/es/checkbox/Checkbox.d.ts +5 -5
  43. package/es/checkbox/Checkbox.mjs +1 -2
  44. package/es/checkbox/Checker.d.ts +5 -5
  45. package/es/checkbox/Checker.mjs +1 -2
  46. package/es/checkbox/index.css +1 -1
  47. package/es/checkbox/index.d.ts +5 -5
  48. package/es/checkbox-group/CheckboxGroup.d.ts +5 -5
  49. package/es/checkbox-group/CheckboxGroup.mjs +1 -2
  50. package/es/checkbox-group/index.d.ts +5 -5
  51. package/es/col/Col.d.ts +4 -4
  52. package/es/col/Col.mjs +1 -2
  53. package/es/col/index.d.ts +4 -4
  54. package/es/collapse/Collapse.d.ts +5 -5
  55. package/es/collapse/Collapse.mjs +1 -2
  56. package/es/collapse/index.d.ts +5 -5
  57. package/es/collapse-item/CollapseItem.d.ts +4 -4
  58. package/es/collapse-item/CollapseItem.mjs +1 -2
  59. package/es/collapse-item/index.css +1 -1
  60. package/es/collapse-item/index.d.ts +4 -4
  61. package/es/composables/use-height.d.ts +1 -1
  62. package/es/composables/use-refs.d.ts +1 -1
  63. package/es/composables/use-route.d.ts +2 -0
  64. package/es/composables/use-route.mjs +2 -1
  65. package/es/composables/use-sync-prop-ref.d.ts +1 -1
  66. package/es/composables/use-touch.d.ts +8 -8
  67. package/es/config-provider/ConfigProvider.d.ts +4 -4
  68. package/es/config-provider/ConfigProvider.mjs +1 -2
  69. package/es/config-provider/index.d.ts +4 -4
  70. package/es/date-time-picker/DateTimePicker.d.ts +5 -5
  71. package/es/date-time-picker/DateTimePicker.mjs +1 -2
  72. package/es/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
  73. package/es/date-time-picker/DateTimePickerWrapper.mjs +1 -2
  74. package/es/date-time-picker/index.d.ts +5 -5
  75. package/es/dialog/Dialog.d.ts +5 -5
  76. package/es/dialog/Dialog.mjs +1 -2
  77. package/es/dialog/function-call.mjs +1 -1
  78. package/es/dialog/index.css +1 -1
  79. package/es/dialog/index.d.ts +5 -5
  80. package/es/divider/Divider.d.ts +4 -4
  81. package/es/divider/Divider.mjs +1 -2
  82. package/es/divider/index.d.ts +4 -4
  83. package/es/drawer-select/DrawerSelect.d.ts +5 -5
  84. package/es/drawer-select/DrawerSelect.mjs +1 -2
  85. package/es/drawer-select/index.d.ts +5 -5
  86. package/es/dropdown-item/DropdownItem.d.ts +6 -6
  87. package/es/dropdown-item/DropdownItem.mjs +1 -2
  88. package/es/dropdown-item/index.d.ts +6 -6
  89. package/es/dropdown-menu/DropdownMenu.d.ts +4 -4
  90. package/es/dropdown-menu/DropdownMenu.mjs +1 -2
  91. package/es/dropdown-menu/index.css +1 -1
  92. package/es/dropdown-menu/index.d.ts +4 -4
  93. package/es/empty/Empty.d.ts +4 -4
  94. package/es/empty/Empty.mjs +1 -2
  95. package/es/empty/index.d.ts +4 -4
  96. package/es/field/Field.d.ts +5 -5
  97. package/es/field/Field.mjs +1 -2
  98. package/es/field/index.css +1 -1
  99. package/es/field/index.d.ts +5 -5
  100. package/es/floating-bubble/FloatingBubble.d.ts +5 -5
  101. package/es/floating-bubble/FloatingBubble.mjs +1 -2
  102. package/es/floating-bubble/index.css +1 -1
  103. package/es/floating-bubble/index.d.ts +5 -5
  104. package/es/form/Form.d.ts +5 -5
  105. package/es/form/Form.mjs +1 -2
  106. package/es/form/index.d.ts +5 -5
  107. package/es/grid/Grid.d.ts +4 -4
  108. package/es/grid/Grid.mjs +1 -2
  109. package/es/grid/index.d.ts +4 -4
  110. package/es/grid-item/GridItem.d.ts +7 -4
  111. package/es/grid-item/GridItem.mjs +1 -2
  112. package/es/grid-item/index.d.ts +6 -4
  113. package/es/hierarchy-select/Breadcrumb.d.ts +5 -5
  114. package/es/hierarchy-select/Breadcrumb.mjs +1 -2
  115. package/es/hierarchy-select/HierarchySelect.d.ts +5 -5
  116. package/es/hierarchy-select/HierarchySelect.mjs +1 -2
  117. package/es/hierarchy-select/index.d.ts +5 -5
  118. package/es/icon/Icon.d.ts +4 -4
  119. package/es/icon/Icon.mjs +1 -2
  120. package/es/icon/config.mjs +1 -0
  121. package/es/icon/index.css +1 -1
  122. package/es/icon/index.d.ts +4 -4
  123. package/es/image/Image.d.ts +5 -5
  124. package/es/image/Image.mjs +1 -2
  125. package/es/image/index.d.ts +5 -5
  126. package/es/image-preview/ImagePreview.d.ts +5 -5
  127. package/es/image-preview/ImagePreview.mjs +1 -2
  128. package/es/image-preview/ImagePreviewItem.d.ts +5 -5
  129. package/es/image-preview/ImagePreviewItem.mjs +1 -2
  130. package/es/image-preview/function-call.mjs +1 -1
  131. package/es/image-preview/index.d.ts +5 -5
  132. package/es/index-anchor/IndexAnchor.d.ts +3 -3
  133. package/es/index-anchor/IndexAnchor.mjs +1 -2
  134. package/es/index-anchor/index.d.ts +3 -3
  135. package/es/index-bar/IndexBar.d.ts +5 -5
  136. package/es/index-bar/IndexBar.mjs +1 -2
  137. package/es/index-bar/index.css +1 -1
  138. package/es/index-bar/index.d.ts +5 -5
  139. package/es/index.d.ts +2 -1
  140. package/es/index.mjs +4 -1
  141. package/es/list/List.d.ts +5 -5
  142. package/es/list/List.mjs +1 -2
  143. package/es/list/index.d.ts +5 -5
  144. package/es/loading/Loading.d.ts +4 -4
  145. package/es/loading/Loading.mjs +1 -2
  146. package/es/loading/index.d.ts +4 -4
  147. package/es/media-picker/MediaPicker.d.ts +9 -5
  148. package/es/media-picker/MediaPicker.mjs +5 -4
  149. package/es/media-picker/image/DefaultAudioIcon.d.ts +1 -1
  150. package/es/media-picker/image/DefaultAudioIcon.mjs +1 -2
  151. package/es/media-picker/image/DefaultFileIcon.d.ts +1 -1
  152. package/es/media-picker/image/DefaultFileIcon.mjs +1 -2
  153. package/es/media-picker/image/DefaultVideoIcon.d.ts +1 -1
  154. package/es/media-picker/image/DefaultVideoIcon.mjs +1 -2
  155. package/es/media-picker/image/DeleteIcon.d.ts +1 -1
  156. package/es/media-picker/image/DeleteIcon.mjs +1 -2
  157. package/es/media-picker/image/PickFileIcon.d.ts +1 -1
  158. package/es/media-picker/image/PickFileIcon.mjs +1 -2
  159. package/es/media-picker/image/PickPhotoIcon.d.ts +1 -1
  160. package/es/media-picker/image/PickPhotoIcon.mjs +1 -2
  161. package/es/media-picker/image/TakeAudioIcon.d.ts +1 -1
  162. package/es/media-picker/image/TakeAudioIcon.mjs +1 -2
  163. package/es/media-picker/image/TakePhotoIcon.d.ts +1 -1
  164. package/es/media-picker/image/TakePhotoIcon.mjs +1 -2
  165. package/es/media-picker/image/TakeVideoIcon.d.ts +1 -1
  166. package/es/media-picker/image/TakeVideoIcon.mjs +1 -2
  167. package/es/media-picker/index.css +1 -1
  168. package/es/media-picker/index.d.ts +7 -5
  169. package/es/media-player/MediaPlayer.d.ts +21 -5
  170. package/es/media-player/MediaPlayer.mjs +7 -3
  171. package/es/media-player/index.d.ts +14 -5
  172. package/es/multiple-picker/MultiplePicker.d.ts +5 -5
  173. package/es/multiple-picker/MultiplePicker.mjs +1 -2
  174. package/es/multiple-picker/MultiplePickerOptions.d.ts +5 -5
  175. package/es/multiple-picker/MultiplePickerOptions.mjs +1 -2
  176. package/es/multiple-picker/index.css +1 -1
  177. package/es/multiple-picker/index.d.ts +5 -5
  178. package/es/nav-bar/NavBar.d.ts +5 -5
  179. package/es/nav-bar/NavBar.mjs +1 -2
  180. package/es/nav-bar/index.css +1 -1
  181. package/es/nav-bar/index.d.ts +5 -5
  182. package/es/notice-bar/NoticeBar.d.ts +5 -5
  183. package/es/notice-bar/NoticeBar.mjs +1 -2
  184. package/es/notice-bar/index.d.ts +5 -5
  185. package/es/notify/Notify.d.ts +5 -5
  186. package/es/notify/Notify.mjs +1 -2
  187. package/es/notify/function-call.mjs +1 -1
  188. package/es/notify/index.d.ts +5 -5
  189. package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
  190. package/es/number-keyboard/NumberKeyboard.mjs +1 -2
  191. package/es/number-keyboard/NumberKeyboardKey.d.ts +5 -5
  192. package/es/number-keyboard/NumberKeyboardKey.mjs +1 -2
  193. package/es/number-keyboard/index.css +1 -1
  194. package/es/number-keyboard/index.d.ts +6 -6
  195. package/es/overlay/Overlay.d.ts +4 -4
  196. package/es/overlay/Overlay.mjs +1 -2
  197. package/es/overlay/index.d.ts +4 -4
  198. package/es/password-input/PasswordInput.d.ts +5 -5
  199. package/es/password-input/PasswordInput.mjs +1 -2
  200. package/es/password-input/index.css +1 -1
  201. package/es/password-input/index.d.ts +5 -5
  202. package/es/picker/Picker.d.ts +5 -5
  203. package/es/picker/Picker.mjs +1 -2
  204. package/es/picker/PickerColumn.d.ts +5 -5
  205. package/es/picker/PickerColumn.mjs +1 -2
  206. package/es/picker/PickerOptions.d.ts +5 -5
  207. package/es/picker/PickerOptions.mjs +1 -2
  208. package/es/picker/PickerToolbar.d.ts +4 -4
  209. package/es/picker/PickerToolbar.mjs +1 -2
  210. package/es/picker/index.css +1 -1
  211. package/es/picker/index.d.ts +5 -5
  212. package/es/popover/Popover.d.ts +5 -5
  213. package/es/popover/Popover.mjs +1 -2
  214. package/es/popover/index.d.ts +5 -5
  215. package/es/popup/Popup.d.ts +6 -6
  216. package/es/popup/Popup.mjs +1 -2
  217. package/es/popup/index.css +1 -1
  218. package/es/popup/index.d.ts +6 -6
  219. package/es/pull-refresh/PullRefresh.d.ts +5 -5
  220. package/es/pull-refresh/PullRefresh.mjs +1 -2
  221. package/es/pull-refresh/index.d.ts +5 -5
  222. package/es/radio/Radio.d.ts +5 -5
  223. package/es/radio/Radio.mjs +1 -2
  224. package/es/radio/index.css +1 -1
  225. package/es/radio/index.d.ts +5 -5
  226. package/es/radio-group/RadioGroup.d.ts +5 -5
  227. package/es/radio-group/RadioGroup.mjs +1 -2
  228. package/es/radio-group/index.d.ts +5 -5
  229. package/es/radio-picker/RadioPicker.d.ts +5 -5
  230. package/es/radio-picker/RadioPicker.mjs +1 -2
  231. package/es/radio-picker/RadioPickerColumn.d.ts +5 -5
  232. package/es/radio-picker/RadioPickerColumn.mjs +1 -2
  233. package/es/radio-picker/RadioPickerToolbar.d.ts +4 -4
  234. package/es/radio-picker/RadioPickerToolbar.mjs +1 -2
  235. package/es/radio-picker/index.css +1 -1
  236. package/es/radio-picker/index.d.ts +5 -5
  237. package/es/rate/Rate.d.ts +5 -5
  238. package/es/rate/Rate.mjs +1 -2
  239. package/es/rate/index.css +1 -1
  240. package/es/rate/index.d.ts +5 -5
  241. package/es/row/Row.d.ts +4 -4
  242. package/es/row/Row.mjs +1 -2
  243. package/es/row/index.d.ts +4 -4
  244. package/es/search/Search.d.ts +5 -5
  245. package/es/search/Search.mjs +1 -2
  246. package/es/search/index.css +1 -1
  247. package/es/search/index.d.ts +5 -5
  248. package/es/signature/Signature.d.ts +5 -5
  249. package/es/signature/Signature.mjs +1 -2
  250. package/es/signature/index.d.ts +5 -5
  251. package/es/skeleton/Skeleton.d.ts +5 -5
  252. package/es/skeleton/Skeleton.mjs +1 -2
  253. package/es/skeleton/index.d.ts +5 -5
  254. package/es/slider/Slider.d.ts +33 -7
  255. package/es/slider/Slider.mjs +16 -7
  256. package/es/slider/index.css +1 -1
  257. package/es/slider/index.d.ts +25 -7
  258. package/es/step/Step.d.ts +3 -3
  259. package/es/step/Step.mjs +1 -2
  260. package/es/step/index.css +1 -1
  261. package/es/step/index.d.ts +3 -3
  262. package/es/stepper/Stepper.d.ts +7 -7
  263. package/es/stepper/Stepper.mjs +1 -2
  264. package/es/stepper/index.css +1 -1
  265. package/es/stepper/index.d.ts +7 -7
  266. package/es/steps/Steps.d.ts +5 -5
  267. package/es/steps/Steps.mjs +1 -2
  268. package/es/steps/index.d.ts +5 -5
  269. package/es/sticky/Sticky.d.ts +5 -5
  270. package/es/sticky/Sticky.mjs +1 -2
  271. package/es/sticky/index.d.ts +5 -5
  272. package/es/swipe/Swipe.d.ts +6 -6
  273. package/es/swipe/Swipe.mjs +1 -2
  274. package/es/swipe/index.css +1 -1
  275. package/es/swipe/index.d.ts +6 -6
  276. package/es/swipe-cell/SwipeCell.d.ts +6 -6
  277. package/es/swipe-cell/SwipeCell.mjs +1 -2
  278. package/es/swipe-cell/index.css +1 -1
  279. package/es/swipe-cell/index.d.ts +6 -6
  280. package/es/swipe-item/SwipeItem.d.ts +1 -1
  281. package/es/swipe-item/SwipeItem.mjs +1 -2
  282. package/es/swipe-item/index.d.ts +1 -1
  283. package/es/switch/Switch.d.ts +5 -5
  284. package/es/switch/Switch.mjs +1 -2
  285. package/es/switch/index.d.ts +5 -5
  286. package/es/tab/Tab.d.ts +7 -4
  287. package/es/tab/Tab.mjs +1 -2
  288. package/es/tab/index.d.ts +6 -4
  289. package/es/tabbar/Tabbar.d.ts +5 -5
  290. package/es/tabbar/Tabbar.mjs +1 -2
  291. package/es/tabbar/index.d.ts +5 -5
  292. package/es/tabbar-item/TabbarItem.d.ts +8 -5
  293. package/es/tabbar-item/TabbarItem.mjs +1 -2
  294. package/es/tabbar-item/index.css +1 -1
  295. package/es/tabbar-item/index.d.ts +7 -5
  296. package/es/table/Table.d.ts +5 -5
  297. package/es/table/Table.mjs +14 -4
  298. package/es/table/index.css +1 -1
  299. package/es/table/index.d.ts +5 -5
  300. package/es/tabs/Tabs.d.ts +5 -5
  301. package/es/tabs/Tabs.mjs +1 -2
  302. package/es/tabs/TabsContent.d.ts +5 -5
  303. package/es/tabs/TabsContent.mjs +1 -2
  304. package/es/tabs/TabsTitle.d.ts +4 -4
  305. package/es/tabs/TabsTitle.mjs +1 -2
  306. package/es/tabs/index.css +1 -1
  307. package/es/tabs/index.d.ts +5 -5
  308. package/es/tag/Tag.d.ts +5 -5
  309. package/es/tag/Tag.mjs +1 -2
  310. package/es/tag/index.d.ts +5 -5
  311. package/es/text-ellipsis/TextEllipsis.d.ts +5 -5
  312. package/es/text-ellipsis/TextEllipsis.mjs +1 -2
  313. package/es/text-ellipsis/index.d.ts +5 -5
  314. package/es/time-picker/Arrow.d.ts +2 -2
  315. package/es/time-picker/Arrow.mjs +1 -2
  316. package/es/time-picker/TimePicker.d.ts +5 -5
  317. package/es/time-picker/TimePicker.mjs +1 -2
  318. package/es/time-picker/TimePickerColumn.d.ts +5 -5
  319. package/es/time-picker/TimePickerColumn.mjs +1 -2
  320. package/es/time-picker/index.css +1 -1
  321. package/es/time-picker/index.d.ts +5 -5
  322. package/es/timeline/Timeline.d.ts +4 -4
  323. package/es/timeline/Timeline.mjs +1 -2
  324. package/es/timeline/index.d.ts +4 -4
  325. package/es/toast/Toast.d.ts +5 -5
  326. package/es/toast/Toast.mjs +1 -2
  327. package/es/toast/function-call.mjs +1 -2
  328. package/es/toast/index.css +1 -1
  329. package/es/toast/index.d.ts +5 -5
  330. package/es/uploader/Uploader.d.ts +5 -5
  331. package/es/uploader/Uploader.mjs +1 -2
  332. package/es/uploader/UploaderPreviewItem.d.ts +5 -5
  333. package/es/uploader/UploaderPreviewItem.mjs +1 -2
  334. package/es/uploader/index.d.ts +5 -5
  335. package/es/utils/dom.d.ts +1 -1
  336. package/es/utils/format.d.ts +1 -0
  337. package/es/utils/format.mjs +15 -0
  338. package/es/utils/mount-component.d.ts +1 -1
  339. package/es/video/Video.d.ts +8 -5
  340. package/es/video/Video.mjs +9 -28
  341. package/es/video/index.css +1 -1
  342. package/es/video/index.d.ts +7 -5
  343. package/es/video/types.d.ts +1 -0
  344. package/lib/action-sheet/ActionSheet.d.ts +5 -5
  345. package/lib/action-sheet/ActionSheet.js +2 -3
  346. package/lib/action-sheet/index.d.ts +5 -5
  347. package/lib/audio/Audio.d.ts +95 -0
  348. package/lib/audio/Audio.js +255 -0
  349. package/lib/audio/index.css +1 -0
  350. package/lib/audio/index.d.ts +75 -0
  351. package/lib/audio/index.js +39 -0
  352. package/lib/audio/style/index.d.ts +1 -0
  353. package/lib/audio/style/index.js +5 -0
  354. package/lib/audio/types.d.ts +3 -0
  355. package/lib/audio/types.js +23 -0
  356. package/lib/avatar/Avatar.d.ts +4 -4
  357. package/lib/avatar/Avatar.js +4 -5
  358. package/lib/avatar/index.d.ts +4 -4
  359. package/lib/badge/Badge.d.ts +4 -4
  360. package/lib/badge/Badge.js +2 -3
  361. package/lib/badge/index.d.ts +4 -4
  362. package/lib/button/Button.d.ts +8 -5
  363. package/lib/button/Button.js +1 -2
  364. package/lib/button/index.d.ts +7 -5
  365. package/lib/calendar/Calendar.d.ts +5 -5
  366. package/lib/calendar/Calendar.js +19 -20
  367. package/lib/calendar/CalendarDay.d.ts +5 -5
  368. package/lib/calendar/CalendarDay.js +2 -3
  369. package/lib/calendar/CalendarHeader.d.ts +5 -5
  370. package/lib/calendar/CalendarHeader.js +1 -2
  371. package/lib/calendar/CalendarMonth.d.ts +5 -5
  372. package/lib/calendar/CalendarMonth.js +11 -12
  373. package/lib/calendar/index.css +1 -1
  374. package/lib/calendar/index.d.ts +5 -5
  375. package/lib/cascader/Cascader.d.ts +5 -5
  376. package/lib/cascader/Cascader.js +11 -12
  377. package/lib/cascader/index.d.ts +5 -5
  378. package/lib/cell/Cell.d.ts +8 -5
  379. package/lib/cell/Cell.js +5 -6
  380. package/lib/cell/index.d.ts +7 -5
  381. package/lib/cell-group/CellGroup.d.ts +4 -4
  382. package/lib/cell-group/CellGroup.js +1 -2
  383. package/lib/cell-group/index.d.ts +4 -4
  384. package/lib/checkbox/Checkbox.d.ts +5 -5
  385. package/lib/checkbox/Checkbox.js +3 -4
  386. package/lib/checkbox/Checker.d.ts +5 -5
  387. package/lib/checkbox/Checker.js +5 -6
  388. package/lib/checkbox/index.css +1 -1
  389. package/lib/checkbox/index.d.ts +5 -5
  390. package/lib/checkbox-group/CheckboxGroup.d.ts +5 -5
  391. package/lib/checkbox-group/CheckboxGroup.js +2 -3
  392. package/lib/checkbox-group/index.d.ts +5 -5
  393. package/lib/col/Col.d.ts +4 -4
  394. package/lib/col/Col.js +2 -3
  395. package/lib/col/index.d.ts +4 -4
  396. package/lib/collapse/Collapse.d.ts +5 -5
  397. package/lib/collapse/Collapse.js +1 -2
  398. package/lib/collapse/index.d.ts +5 -5
  399. package/lib/collapse-item/CollapseItem.d.ts +4 -4
  400. package/lib/collapse-item/CollapseItem.js +8 -9
  401. package/lib/collapse-item/index.css +1 -1
  402. package/lib/collapse-item/index.d.ts +4 -4
  403. package/lib/composables/use-height.d.ts +1 -1
  404. package/lib/composables/use-refs.d.ts +1 -1
  405. package/lib/composables/use-route.d.ts +2 -0
  406. package/lib/composables/use-route.js +2 -1
  407. package/lib/composables/use-sync-prop-ref.d.ts +1 -1
  408. package/lib/composables/use-touch.d.ts +8 -8
  409. package/lib/config-provider/ConfigProvider.d.ts +4 -4
  410. package/lib/config-provider/ConfigProvider.js +10 -11
  411. package/lib/config-provider/index.d.ts +4 -4
  412. package/lib/date-time-picker/DateTimePicker.d.ts +5 -5
  413. package/lib/date-time-picker/DateTimePicker.js +17 -18
  414. package/lib/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
  415. package/lib/date-time-picker/DateTimePickerWrapper.js +12 -13
  416. package/lib/date-time-picker/index.d.ts +5 -5
  417. package/lib/dialog/Dialog.d.ts +5 -5
  418. package/lib/dialog/Dialog.js +4 -5
  419. package/lib/dialog/index.css +1 -1
  420. package/lib/dialog/index.d.ts +5 -5
  421. package/lib/divider/Divider.d.ts +4 -4
  422. package/lib/divider/Divider.js +1 -2
  423. package/lib/divider/index.d.ts +4 -4
  424. package/lib/drawer-select/DrawerSelect.d.ts +5 -5
  425. package/lib/drawer-select/DrawerSelect.js +13 -14
  426. package/lib/drawer-select/index.d.ts +5 -5
  427. package/lib/dropdown-item/DropdownItem.d.ts +6 -6
  428. package/lib/dropdown-item/DropdownItem.js +5 -6
  429. package/lib/dropdown-item/index.d.ts +6 -6
  430. package/lib/dropdown-menu/DropdownMenu.d.ts +4 -4
  431. package/lib/dropdown-menu/DropdownMenu.js +6 -7
  432. package/lib/dropdown-menu/index.css +1 -1
  433. package/lib/dropdown-menu/index.d.ts +4 -4
  434. package/lib/empty/Empty.d.ts +4 -4
  435. package/lib/empty/Empty.js +1 -2
  436. package/lib/empty/index.d.ts +4 -4
  437. package/lib/field/Field.d.ts +5 -5
  438. package/lib/field/Field.js +18 -19
  439. package/lib/field/index.css +1 -1
  440. package/lib/field/index.d.ts +5 -5
  441. package/lib/floating-bubble/FloatingBubble.d.ts +5 -5
  442. package/lib/floating-bubble/FloatingBubble.js +14 -15
  443. package/lib/floating-bubble/index.css +1 -1
  444. package/lib/floating-bubble/index.d.ts +5 -5
  445. package/lib/form/Form.d.ts +5 -5
  446. package/lib/form/Form.js +1 -2
  447. package/lib/form/index.d.ts +5 -5
  448. package/lib/grid/Grid.d.ts +4 -4
  449. package/lib/grid/Grid.js +1 -2
  450. package/lib/grid/index.d.ts +4 -4
  451. package/lib/grid-item/GridItem.d.ts +7 -4
  452. package/lib/grid-item/GridItem.js +3 -4
  453. package/lib/grid-item/index.d.ts +6 -4
  454. package/lib/hierarchy-select/Breadcrumb.d.ts +5 -5
  455. package/lib/hierarchy-select/Breadcrumb.js +1 -2
  456. package/lib/hierarchy-select/HierarchySelect.d.ts +5 -5
  457. package/lib/hierarchy-select/HierarchySelect.js +6 -7
  458. package/lib/hierarchy-select/index.d.ts +5 -5
  459. package/lib/icon/Icon.d.ts +4 -4
  460. package/lib/icon/Icon.js +3 -4
  461. package/lib/icon/config.js +1 -0
  462. package/lib/icon/index.css +1 -1
  463. package/lib/icon/index.d.ts +4 -4
  464. package/lib/image/Image.d.ts +5 -5
  465. package/lib/image/Image.js +9 -10
  466. package/lib/image/index.d.ts +5 -5
  467. package/lib/image-preview/ImagePreview.d.ts +5 -5
  468. package/lib/image-preview/ImagePreview.js +8 -9
  469. package/lib/image-preview/ImagePreviewItem.d.ts +5 -5
  470. package/lib/image-preview/ImagePreviewItem.js +10 -11
  471. package/lib/image-preview/index.d.ts +5 -5
  472. package/lib/index-anchor/IndexAnchor.d.ts +3 -3
  473. package/lib/index-anchor/IndexAnchor.js +4 -5
  474. package/lib/index-anchor/index.d.ts +3 -3
  475. package/lib/index-bar/IndexBar.d.ts +5 -5
  476. package/lib/index-bar/IndexBar.js +12 -13
  477. package/lib/index-bar/index.css +1 -1
  478. package/lib/index-bar/index.d.ts +5 -5
  479. package/lib/index.css +1 -1
  480. package/lib/index.d.ts +2 -1
  481. package/lib/index.js +4 -1
  482. package/lib/list/List.d.ts +5 -5
  483. package/lib/list/List.js +10 -11
  484. package/lib/list/index.d.ts +5 -5
  485. package/lib/loading/Loading.d.ts +4 -4
  486. package/lib/loading/Loading.js +2 -3
  487. package/lib/loading/index.d.ts +4 -4
  488. package/lib/media-picker/MediaPicker.d.ts +9 -5
  489. package/lib/media-picker/MediaPicker.js +4 -3
  490. package/lib/media-picker/image/DefaultAudioIcon.d.ts +1 -1
  491. package/lib/media-picker/image/DefaultAudioIcon.js +1 -2
  492. package/lib/media-picker/image/DefaultFileIcon.d.ts +1 -1
  493. package/lib/media-picker/image/DefaultFileIcon.js +1 -2
  494. package/lib/media-picker/image/DefaultVideoIcon.d.ts +1 -1
  495. package/lib/media-picker/image/DefaultVideoIcon.js +1 -2
  496. package/lib/media-picker/image/DeleteIcon.d.ts +1 -1
  497. package/lib/media-picker/image/DeleteIcon.js +1 -2
  498. package/lib/media-picker/image/PickFileIcon.d.ts +1 -1
  499. package/lib/media-picker/image/PickFileIcon.js +1 -2
  500. package/lib/media-picker/image/PickPhotoIcon.d.ts +1 -1
  501. package/lib/media-picker/image/PickPhotoIcon.js +1 -2
  502. package/lib/media-picker/image/TakeAudioIcon.d.ts +1 -1
  503. package/lib/media-picker/image/TakeAudioIcon.js +1 -2
  504. package/lib/media-picker/image/TakePhotoIcon.d.ts +1 -1
  505. package/lib/media-picker/image/TakePhotoIcon.js +1 -2
  506. package/lib/media-picker/image/TakeVideoIcon.d.ts +1 -1
  507. package/lib/media-picker/image/TakeVideoIcon.js +1 -2
  508. package/lib/media-picker/index.css +1 -1
  509. package/lib/media-picker/index.d.ts +7 -5
  510. package/lib/media-player/MediaPlayer.d.ts +21 -5
  511. package/lib/media-player/MediaPlayer.js +5 -1
  512. package/lib/media-player/index.d.ts +14 -5
  513. package/lib/multiple-picker/MultiplePicker.d.ts +5 -5
  514. package/lib/multiple-picker/MultiplePicker.js +9 -10
  515. package/lib/multiple-picker/MultiplePickerOptions.d.ts +5 -5
  516. package/lib/multiple-picker/MultiplePickerOptions.js +4 -5
  517. package/lib/multiple-picker/index.css +1 -1
  518. package/lib/multiple-picker/index.d.ts +5 -5
  519. package/lib/nav-bar/NavBar.d.ts +5 -5
  520. package/lib/nav-bar/NavBar.js +2 -3
  521. package/lib/nav-bar/index.css +1 -1
  522. package/lib/nav-bar/index.d.ts +5 -5
  523. package/lib/notice-bar/NoticeBar.d.ts +5 -5
  524. package/lib/notice-bar/NoticeBar.js +5 -6
  525. package/lib/notice-bar/index.d.ts +5 -5
  526. package/lib/notify/Notify.d.ts +5 -5
  527. package/lib/notify/Notify.js +1 -2
  528. package/lib/notify/index.d.ts +5 -5
  529. package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
  530. package/lib/number-keyboard/NumberKeyboard.js +6 -7
  531. package/lib/number-keyboard/NumberKeyboardKey.d.ts +5 -5
  532. package/lib/number-keyboard/NumberKeyboardKey.js +2 -3
  533. package/lib/number-keyboard/index.css +1 -1
  534. package/lib/number-keyboard/index.d.ts +6 -6
  535. package/lib/overlay/Overlay.d.ts +4 -4
  536. package/lib/overlay/Overlay.js +2 -3
  537. package/lib/overlay/index.d.ts +4 -4
  538. package/lib/password-input/PasswordInput.d.ts +5 -5
  539. package/lib/password-input/PasswordInput.js +1 -2
  540. package/lib/password-input/index.css +1 -1
  541. package/lib/password-input/index.d.ts +5 -5
  542. package/lib/picker/Picker.d.ts +5 -5
  543. package/lib/picker/Picker.js +18 -19
  544. package/lib/picker/PickerColumn.d.ts +5 -5
  545. package/lib/picker/PickerColumn.js +6 -7
  546. package/lib/picker/PickerOptions.d.ts +5 -5
  547. package/lib/picker/PickerOptions.js +5 -6
  548. package/lib/picker/PickerToolbar.d.ts +4 -4
  549. package/lib/picker/PickerToolbar.js +1 -2
  550. package/lib/picker/index.css +1 -1
  551. package/lib/picker/index.d.ts +5 -5
  552. package/lib/popover/Popover.d.ts +5 -5
  553. package/lib/popover/Popover.js +16 -17
  554. package/lib/popover/index.d.ts +5 -5
  555. package/lib/popup/Popup.d.ts +6 -6
  556. package/lib/popup/Popup.js +15 -16
  557. package/lib/popup/index.css +1 -1
  558. package/lib/popup/index.d.ts +6 -6
  559. package/lib/pull-refresh/PullRefresh.d.ts +5 -5
  560. package/lib/pull-refresh/PullRefresh.js +7 -8
  561. package/lib/pull-refresh/index.d.ts +5 -5
  562. package/lib/radio/Radio.d.ts +5 -5
  563. package/lib/radio/Radio.js +1 -2
  564. package/lib/radio/index.css +1 -1
  565. package/lib/radio/index.d.ts +5 -5
  566. package/lib/radio-group/RadioGroup.d.ts +5 -5
  567. package/lib/radio-group/RadioGroup.js +2 -3
  568. package/lib/radio-group/index.d.ts +5 -5
  569. package/lib/radio-picker/RadioPicker.d.ts +5 -5
  570. package/lib/radio-picker/RadioPicker.js +18 -19
  571. package/lib/radio-picker/RadioPickerColumn.d.ts +5 -5
  572. package/lib/radio-picker/RadioPickerColumn.js +7 -8
  573. package/lib/radio-picker/RadioPickerToolbar.d.ts +4 -4
  574. package/lib/radio-picker/RadioPickerToolbar.js +1 -2
  575. package/lib/radio-picker/index.css +1 -1
  576. package/lib/radio-picker/index.d.ts +5 -5
  577. package/lib/rate/Rate.d.ts +5 -5
  578. package/lib/rate/Rate.js +3 -4
  579. package/lib/rate/index.css +1 -1
  580. package/lib/rate/index.d.ts +5 -5
  581. package/lib/row/Row.d.ts +4 -4
  582. package/lib/row/Row.js +3 -4
  583. package/lib/row/index.d.ts +4 -4
  584. package/lib/search/Search.d.ts +5 -5
  585. package/lib/search/Search.js +2 -3
  586. package/lib/search/index.css +1 -1
  587. package/lib/search/index.d.ts +5 -5
  588. package/lib/signature/Signature.d.ts +5 -5
  589. package/lib/signature/Signature.js +12 -13
  590. package/lib/signature/index.d.ts +5 -5
  591. package/lib/skeleton/Skeleton.d.ts +5 -5
  592. package/lib/skeleton/Skeleton.js +1 -2
  593. package/lib/skeleton/index.d.ts +5 -5
  594. package/lib/slider/Slider.d.ts +33 -7
  595. package/lib/slider/Slider.js +22 -13
  596. package/lib/slider/index.css +1 -1
  597. package/lib/slider/index.d.ts +25 -7
  598. package/lib/step/Step.d.ts +3 -3
  599. package/lib/step/Step.js +2 -3
  600. package/lib/step/index.css +1 -1
  601. package/lib/step/index.d.ts +3 -3
  602. package/lib/stepper/Stepper.d.ts +7 -7
  603. package/lib/stepper/Stepper.js +11 -12
  604. package/lib/stepper/index.css +1 -1
  605. package/lib/stepper/index.d.ts +7 -7
  606. package/lib/steps/Steps.d.ts +5 -5
  607. package/lib/steps/Steps.js +1 -2
  608. package/lib/steps/index.d.ts +5 -5
  609. package/lib/sticky/Sticky.d.ts +5 -5
  610. package/lib/sticky/Sticky.js +7 -8
  611. package/lib/sticky/index.d.ts +5 -5
  612. package/lib/swipe/Swipe.d.ts +6 -6
  613. package/lib/swipe/Swipe.js +22 -23
  614. package/lib/swipe/index.css +1 -1
  615. package/lib/swipe/index.d.ts +6 -6
  616. package/lib/swipe-cell/SwipeCell.d.ts +6 -6
  617. package/lib/swipe-cell/SwipeCell.js +7 -8
  618. package/lib/swipe-cell/index.css +1 -1
  619. package/lib/swipe-cell/index.d.ts +6 -6
  620. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  621. package/lib/swipe-item/SwipeItem.js +6 -7
  622. package/lib/swipe-item/index.d.ts +1 -1
  623. package/lib/switch/Switch.d.ts +5 -5
  624. package/lib/switch/Switch.js +1 -2
  625. package/lib/switch/index.d.ts +5 -5
  626. package/lib/tab/Tab.d.ts +7 -4
  627. package/lib/tab/Tab.js +6 -7
  628. package/lib/tab/index.d.ts +6 -4
  629. package/lib/tabbar/Tabbar.d.ts +5 -5
  630. package/lib/tabbar/Tabbar.js +2 -3
  631. package/lib/tabbar/index.d.ts +5 -5
  632. package/lib/tabbar-item/TabbarItem.d.ts +8 -5
  633. package/lib/tabbar-item/TabbarItem.js +3 -4
  634. package/lib/tabbar-item/index.css +1 -1
  635. package/lib/tabbar-item/index.d.ts +7 -5
  636. package/lib/table/Table.d.ts +5 -5
  637. package/lib/table/Table.js +21 -11
  638. package/lib/table/index.css +1 -1
  639. package/lib/table/index.d.ts +5 -5
  640. package/lib/tabs/Tabs.d.ts +5 -5
  641. package/lib/tabs/Tabs.js +20 -21
  642. package/lib/tabs/TabsContent.d.ts +5 -5
  643. package/lib/tabs/TabsContent.js +4 -5
  644. package/lib/tabs/TabsTitle.d.ts +4 -4
  645. package/lib/tabs/TabsTitle.js +6 -7
  646. package/lib/tabs/index.css +1 -1
  647. package/lib/tabs/index.d.ts +5 -5
  648. package/lib/tag/Tag.d.ts +5 -5
  649. package/lib/tag/Tag.js +2 -3
  650. package/lib/tag/index.d.ts +5 -5
  651. package/lib/text-ellipsis/TextEllipsis.d.ts +5 -5
  652. package/lib/text-ellipsis/TextEllipsis.js +8 -9
  653. package/lib/text-ellipsis/index.d.ts +5 -5
  654. package/lib/time-picker/Arrow.d.ts +2 -2
  655. package/lib/time-picker/Arrow.js +1 -2
  656. package/lib/time-picker/TimePicker.d.ts +5 -5
  657. package/lib/time-picker/TimePicker.js +12 -13
  658. package/lib/time-picker/TimePickerColumn.d.ts +5 -5
  659. package/lib/time-picker/TimePickerColumn.js +6 -7
  660. package/lib/time-picker/index.css +1 -1
  661. package/lib/time-picker/index.d.ts +5 -5
  662. package/lib/timeline/Timeline.d.ts +4 -4
  663. package/lib/timeline/Timeline.js +3 -4
  664. package/lib/timeline/index.d.ts +4 -4
  665. package/lib/toast/Toast.d.ts +5 -5
  666. package/lib/toast/Toast.js +5 -6
  667. package/lib/toast/function-call.js +3 -4
  668. package/lib/toast/index.css +1 -1
  669. package/lib/toast/index.d.ts +5 -5
  670. package/lib/uploader/Uploader.d.ts +5 -5
  671. package/lib/uploader/Uploader.js +4 -5
  672. package/lib/uploader/UploaderPreviewItem.d.ts +5 -5
  673. package/lib/uploader/UploaderPreviewItem.js +1 -2
  674. package/lib/uploader/index.d.ts +5 -5
  675. package/lib/utils/dom.d.ts +1 -1
  676. package/lib/utils/format.d.ts +1 -0
  677. package/lib/utils/format.js +15 -0
  678. package/lib/utils/mount-component.d.ts +1 -1
  679. package/lib/video/Video.d.ts +8 -5
  680. package/lib/video/Video.js +16 -35
  681. package/lib/video/index.css +1 -1
  682. package/lib/video/index.d.ts +7 -5
  683. package/lib/video/types.d.ts +1 -0
  684. package/lib/web-types.json +1 -1
  685. package/lib/zartui.cjs.js +2366 -2119
  686. package/lib/zartui.es.js +2367 -2120
  687. package/lib/zartui.js +18194 -17944
  688. package/lib/zartui.min.js +1 -1
  689. package/package.json +81 -81
@@ -1 +1 @@
1
- :root{--zt-time-picker-cancel-margin: 8px 4px 8px 16px;--zt-time-picker-confirm-margin: 8px 16px 8px 4px;--zt-time-picker-title-height: 44px;--zt-time-picker-title-border-radius: 16px 16px 0 0;--zt-time-picker-frame-background-color: var(--zt-gray-a04);--zt-time-picker-cancel-background-color: var(--zt-white);--zt-time-picker-title-text-color: var(--zt-gray-a4);--zt-time-picker-background: var(--zt-background-popup);--zt-time-picker-toolbar-height: 60px;--zt-time-picker-action-padding: 0 var(--zt-padding-md);--zt-time-picker-confirm-action-color: var(--zt-white);--zt-time-picker-cancel-action-color: var(--zt-text-color);--zt-time-picker-option-radius: 8px;--zt-time-picker-option-padding: 0 var(--zt-padding-base);--zt-time-picker-option-text-color: var(--zt-text-color);--zt-time-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-time-picker-loading-icon-color: var(--zt-primary-color);--zt-time-picker-loading-mask-color: rgba(255, 255, 255, .9);--zt-time-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4));--zt-time-picker-unit-background: var(--zt-white);--zt-time-picker-unit-font-size: 24px}:root[zt-theme-size=large]{--zt-time-picker-unit-font-size: 30px}.zt-theme-dark{--zt-time-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1));--zt-time-picker-unit-background: rgba(255, 255, 255, .04)}.zt-time-picker{position:relative;background:var(--zt-time-picker-background);-webkit-user-select:none;user-select:none}.zt-time-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--zt-time-picker-toolbar-height)}.zt-time-picker__cancel,.zt-time-picker__confirm{width:50%}.zt-time-picker__cancel{background:#ffffff;margin:var(--zt-time-picker-cancel-margin)}.zt-time-picker__confirm{margin:var(--zt-time-picker-confirm-margin)}.zt-time-picker__title{display:flex;justify-content:center;align-items:center;width:100%;height:var(--zt-time-picker-title-height);border-radius:var(--zt-time-picker-title-border-radius);font-size:var(--zt-font-size-md);background:#ffffff;color:var(--zt-time-picker-title-text-color)}.zt-time-picker__columns{background:var(--zt-time-picker-background);position:relative;display:flex;cursor:-webkit-grab;cursor:grab;padding:16px 0;justify-content:space-evenly}.zt-time-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--zt-time-picker-loading-icon-color);background:var(--zt-time-picker-loading-mask-color)}.zt-time-picker__frame{position:absolute;top:50%;z-index:2;transform:translateY(-50%);pointer-events:none;width:100%;background:var(--zt-time-picker-frame-background-color)}.zt-time-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--zt-time-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.zt-time-picker__separator{position:absolute;display:flex;align-items:center;width:100%;height:100%;top:0}.zt-time-picker__colon{position:relative}.zt-time-picker__colon:only-child{left:50%}.zt-time-picker__colon:not(:only-child):first-child{left:35%}.zt-time-picker__colon:not(:only-child):last-child{left:65%}.zt-time-picker__colon:before{position:absolute;content:" ";width:6px;height:6px;border-radius:50%;background:var(--zt-gray);left:calc(50% - 3px);top:calc(50% - 9px)}.zt-time-picker__colon:after{position:absolute;content:" ";width:6px;height:6px;border-radius:50%;background:var(--zt-gray);left:calc(50% - 3px);top:calc(50% + 3px)}.zt-time-picker-column{position:relative;overflow:hidden;font-size:var(--zt-time-picker-unit-font-size);background:var(--zt-gray-a04);border-radius:var(--zt-time-picker-option-radius)}.zt-time-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.zt-time-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--zt-time-picker-option-padding);color:var(--zt-time-picker-option-text-color)}.zt-time-picker-column__item--disabled{cursor:not-allowed;opacity:var(--zt-time-picker-option-disabled-opacity)}.zt-time-picker-column__unit{position:absolute;display:flex;align-items:center;justify-content:center;background:var(--zt-time-picker-unit-background);color:var(--zt-time-picker-option-text-color);font-size:var(--zt-time-picker-unit-font-size);width:100%;height:100%}.zt-time-picker-column__unit-text{margin:0 4px;font-size:var(--zt-font-size-md);font-weight:700}.zt-time-picker-column__arrow-top{width:16px;height:6px;position:absolute;top:8px;left:calc(50% - 8px)}.zt-time-picker-column__arrow-bottom{width:16px;height:6px;transform:rotate(180deg);position:absolute;bottom:8px;left:calc(50% - 8px)}
1
+ :root{--zt-time-picker-cancel-margin: 8px 4px 8px 16px;--zt-time-picker-confirm-margin: 8px 16px 8px 4px;--zt-time-picker-title-height: 44px;--zt-time-picker-title-border-radius: 16px 16px 0 0;--zt-time-picker-frame-background-color: var(--zt-gray-a04);--zt-time-picker-cancel-background-color: var(--zt-white);--zt-time-picker-title-text-color: var(--zt-gray-a4);--zt-time-picker-background: var(--zt-background-popup);--zt-time-picker-toolbar-height: 60px;--zt-time-picker-action-padding: 0 var(--zt-padding-md);--zt-time-picker-confirm-action-color: var(--zt-white);--zt-time-picker-cancel-action-color: var(--zt-text-color);--zt-time-picker-option-radius: 8px;--zt-time-picker-option-padding: 0 var(--zt-padding-base);--zt-time-picker-option-text-color: var(--zt-text-color);--zt-time-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-time-picker-loading-icon-color: var(--zt-primary-color);--zt-time-picker-loading-mask-color: rgba(255, 255, 255, .9);--zt-time-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4));--zt-time-picker-unit-background: var(--zt-white);--zt-time-picker-unit-font-size: 24px}:root[zt-theme-size=large]{--zt-time-picker-unit-font-size: 30px}.zt-theme-dark{--zt-time-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1));--zt-time-picker-unit-background: rgba(255, 255, 255, .04)}.zt-time-picker{position:relative;background:var(--zt-time-picker-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.zt-time-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--zt-time-picker-toolbar-height)}.zt-time-picker__cancel,.zt-time-picker__confirm{width:50%}.zt-time-picker__cancel{background:#ffffff;margin:var(--zt-time-picker-cancel-margin)}.zt-time-picker__confirm{margin:var(--zt-time-picker-confirm-margin)}.zt-time-picker__title{display:flex;justify-content:center;align-items:center;width:100%;height:var(--zt-time-picker-title-height);border-radius:var(--zt-time-picker-title-border-radius);font-size:var(--zt-font-size-md);background:#ffffff;color:var(--zt-time-picker-title-text-color)}.zt-time-picker__columns{background:var(--zt-time-picker-background);position:relative;display:flex;cursor:grab;padding:16px 0;justify-content:space-evenly}.zt-time-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--zt-time-picker-loading-icon-color);background:var(--zt-time-picker-loading-mask-color)}.zt-time-picker__frame{position:absolute;top:50%;z-index:2;transform:translateY(-50%);pointer-events:none;width:100%;background:var(--zt-time-picker-frame-background-color)}.zt-time-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--zt-time-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.zt-time-picker__separator{position:absolute;display:flex;align-items:center;width:100%;height:100%;top:0}.zt-time-picker__colon{position:relative}.zt-time-picker__colon:only-child{left:50%}.zt-time-picker__colon:not(:only-child):first-child{left:35%}.zt-time-picker__colon:not(:only-child):last-child{left:65%}.zt-time-picker__colon:before{position:absolute;content:" ";width:6px;height:6px;border-radius:50%;background:var(--zt-gray);left:calc(50% - 3px);top:calc(50% - 9px)}.zt-time-picker__colon:after{position:absolute;content:" ";width:6px;height:6px;border-radius:50%;background:var(--zt-gray);left:calc(50% - 3px);top:calc(50% + 3px)}.zt-time-picker-column{position:relative;overflow:hidden;font-size:var(--zt-time-picker-unit-font-size);background:var(--zt-gray-a04);border-radius:var(--zt-time-picker-option-radius)}.zt-time-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.zt-time-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--zt-time-picker-option-padding);color:var(--zt-time-picker-option-text-color)}.zt-time-picker-column__item--disabled{cursor:not-allowed;opacity:var(--zt-time-picker-option-disabled-opacity)}.zt-time-picker-column__unit{position:absolute;display:flex;align-items:center;justify-content:center;background:var(--zt-time-picker-unit-background);color:var(--zt-time-picker-option-text-color);font-size:var(--zt-time-picker-unit-font-size);width:100%;height:100%}.zt-time-picker-column__unit-text{margin:0 4px;font-size:var(--zt-font-size-md);font-weight:700}.zt-time-picker-column__arrow-top{width:16px;height:6px;position:absolute;top:8px;left:calc(50% - 8px)}.zt-time-picker-column__arrow-bottom{width:16px;height:6px;transform:rotate(180deg);position:absolute;bottom:8px;left:calc(50% - 8px)}
@@ -1,5 +1,5 @@
1
1
  import { TimePickerProps } from './TimePicker';
2
- export declare const TimePicker: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const TimePicker: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  loading: BooleanConstructor;
4
4
  readonly: BooleanConstructor;
5
5
  allowHtml: BooleanConstructor;
@@ -84,7 +84,7 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
84
84
  type: import("vue").PropType<import("./TimePicker").TimePickerColumnType[]>;
85
85
  default: () => string[];
86
86
  };
87
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "clickOption")[], "update:modelValue" | "change" | "clickOption", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
87
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "clickOption")[], "update:modelValue" | "change" | "clickOption", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
88
88
  loading: BooleanConstructor;
89
89
  readonly: BooleanConstructor;
90
90
  allowHtml: BooleanConstructor;
@@ -169,11 +169,11 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
169
169
  type: import("vue").PropType<import("./TimePicker").TimePickerColumnType[]>;
170
170
  default: () => string[];
171
171
  };
172
- }>> & {
172
+ }>> & Readonly<{
173
173
  onChange?: ((...args: any[]) => any) | undefined;
174
174
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
175
175
  onClickOption?: ((...args: any[]) => any) | undefined;
176
- }, {
176
+ }>, {
177
177
  title: string;
178
178
  formatter: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
179
179
  modelValue: string[];
@@ -193,7 +193,7 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
193
193
  minSecond: string | number;
194
194
  maxSecond: string | number;
195
195
  columnsType: import("./TimePicker").TimePickerColumnType[];
196
- }, {}>>;
196
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
197
197
  export default TimePicker;
198
198
  export { timePickerProps } from './TimePicker';
199
199
  export type { TimePickerProps };
@@ -43,7 +43,7 @@ export declare const timelineProps: {
43
43
  };
44
44
  };
45
45
  export type TimelineProps = ExtractPropTypes<typeof timelineProps>;
46
- declare const _default: import("vue").DefineComponent<{
46
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
47
47
  title: {
48
48
  type: import("vue").PropType<string>;
49
49
  default: string;
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<{
72
72
  type: BooleanConstructor;
73
73
  default: boolean;
74
74
  };
75
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
75
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
76
76
  title: {
77
77
  type: import("vue").PropType<string>;
78
78
  default: string;
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
101
101
  type: BooleanConstructor;
102
102
  default: boolean;
103
103
  };
104
- }>>, {
104
+ }>> & Readonly<{}>, {
105
105
  title: string;
106
106
  dot: boolean;
107
107
  defaultFold: boolean;
@@ -109,5 +109,5 @@ declare const _default: import("vue").DefineComponent<{
109
109
  processes: TimelineProcessOption[];
110
110
  opinionKey: string;
111
111
  enableSingleFold: boolean;
112
- }, {}>;
112
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
113
113
  export default _default;
@@ -1,5 +1,4 @@
1
- import { createTextVNode as _createTextVNode, createVNode as _createVNode } from "vue";
2
- import { defineComponent, computed, ref } from "vue";
1
+ import { defineComponent, computed, ref, createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
3
2
  import Switch from "../switch/index.mjs";
4
3
  import { BORDER_BOTTOM, createNamespace, makeArrayProp, makeNumberProp, makeStringProp, truthProp } from "../utils/index.mjs";
5
4
  const [name, bem] = createNamespace("timeline");
@@ -1,4 +1,4 @@
1
- export declare const Timeline: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Timeline: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  title: {
3
3
  type: import("vue").PropType<string>;
4
4
  default: string;
@@ -27,7 +27,7 @@ export declare const Timeline: import("../utils").WithInstall<import("vue").Defi
27
27
  type: BooleanConstructor;
28
28
  default: boolean;
29
29
  };
30
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
31
  title: {
32
32
  type: import("vue").PropType<string>;
33
33
  default: string;
@@ -56,7 +56,7 @@ export declare const Timeline: import("../utils").WithInstall<import("vue").Defi
56
56
  type: BooleanConstructor;
57
57
  default: boolean;
58
58
  };
59
- }>>, {
59
+ }>> & Readonly<{}>, {
60
60
  title: string;
61
61
  dot: boolean;
62
62
  defaultFold: boolean;
@@ -64,7 +64,7 @@ export declare const Timeline: import("../utils").WithInstall<import("vue").Defi
64
64
  processes: import("./Timeline").TimelineProcessOption[];
65
65
  opinionKey: string;
66
66
  enableSingleFold: boolean;
67
- }, {}>>;
67
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
68
68
  export default Timeline;
69
69
  export { timelineProps } from './Timeline';
70
70
  export type { TimelineProcessOption, TimelineProps } from './Timeline';
@@ -35,7 +35,7 @@ declare const toastProps: {
35
35
  closeOnClickOverlay: BooleanConstructor;
36
36
  };
37
37
  export type ToastProps = ExtractPropTypes<typeof toastProps>;
38
- declare const _default: import("vue").DefineComponent<{
38
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
39
39
  icon: StringConstructor;
40
40
  show: BooleanConstructor;
41
41
  type: {
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<{
67
67
  overlayStyle: PropType<CSSProperties>;
68
68
  closeOnClick: BooleanConstructor;
69
69
  closeOnClickOverlay: BooleanConstructor;
70
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").PublicProps, Readonly<ExtractPropTypes<{
70
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").PublicProps, Readonly<ExtractPropTypes<{
71
71
  icon: StringConstructor;
72
72
  show: BooleanConstructor;
73
73
  type: {
@@ -99,9 +99,9 @@ declare const _default: import("vue").DefineComponent<{
99
99
  overlayStyle: PropType<CSSProperties>;
100
100
  closeOnClick: BooleanConstructor;
101
101
  closeOnClickOverlay: BooleanConstructor;
102
- }>> & {
102
+ }>> & Readonly<{
103
103
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
104
- }, {
104
+ }>, {
105
105
  type: ToastType;
106
106
  position: ToastPosition;
107
107
  overlay: boolean;
@@ -111,5 +111,5 @@ declare const _default: import("vue").DefineComponent<{
111
111
  transition: string;
112
112
  forbidClick: boolean;
113
113
  closeOnClick: boolean;
114
- }, {}>;
114
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
115
115
  export default _default;
@@ -1,5 +1,4 @@
1
- import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
2
- import { watch, onMounted, onUnmounted, defineComponent } from "vue";
1
+ import { watch, onMounted, onUnmounted, defineComponent, createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
3
2
  import { pick, isDef, unknownProp, numericProp, makeStringProp, makeNumberProp, createNamespace } from "../utils/index.mjs";
4
3
  import { lockClick } from "./lock-click.mjs";
5
4
  import { Icon } from "../icon/index.mjs";
@@ -1,5 +1,4 @@
1
- import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
2
- import { ref, watch, getCurrentInstance } from "vue";
1
+ import { ref, watch, getCurrentInstance, mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
3
2
  import { extend, isObject, inBrowser } from "../utils/index.mjs";
4
3
  import { mountComponent, usePopupState } from "../utils/mount-component.mjs";
5
4
  import ZtToast from "./Toast.mjs";
@@ -1 +1 @@
1
- :root{--zt-toast-max-width: 70%;--zt-toast-text-color: var(--zt-white);--zt-toast-loading-icon-color: var(--zt-white);--zt-toast-radius: var(--zt-radius-lg);--zt-toast-background: var(--zt-gray-a8);--zt-toast-text-min-width: 96px;--zt-toast-text-padding: var(--zt-padding-xs) var(--zt-padding-sm);--zt-toast-default-padding: var(--zt-padding-md);--zt-toast-default-width: 88px;--zt-toast-default-min-height: 84px;--zt-toast-default-max-height: 80%;--zt-toast-position-top-distance: 20%;--zt-toast-position-bottom-distance: 20%;--zt-toast-icon-font-size: 36px}:root[zt-theme-size=large]{--zt-toast-icon-font-size: 42px}.zt-toast{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:content-box;transition:all var(--zt-duration-fast);width:var(--zt-toast-default-width);max-width:var(--zt-toast-max-width);min-height:var(--zt-toast-default-min-height);max-height:var(--zt-toast-default-max-height);padding:var(--zt-toast-default-padding);color:var(--zt-toast-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);white-space:pre-wrap;text-align:center;word-break:break-all;background:var(--zt-toast-background);border-radius:var(--zt-toast-radius)}.zt-toast--break-normal{word-break:normal;word-wrap:normal}.zt-toast--break-word{word-break:normal;word-wrap:break-word}.zt-toast--unclickable{overflow:hidden;cursor:not-allowed}.zt-toast--unclickable *{pointer-events:none}.zt-toast--text,.zt-toast--html{width:-webkit-fit-content;width:fit-content;min-width:var(--zt-toast-text-min-width);min-height:0;padding:var(--zt-toast-text-padding)}.zt-toast--text .zt-toast__text,.zt-toast--html .zt-toast__text{margin-top:0}.zt-toast--top{top:var(--zt-toast-position-top-distance)}.zt-toast--bottom{top:auto;bottom:var(--zt-toast-position-bottom-distance)}.zt-toast__icon{font-size:var(--zt-toast-icon-font-size)}.zt-toast__loading{padding:var(--zt-padding-base);color:var(--zt-toast-loading-icon-color)}.zt-toast__text{margin-top:var(--zt-padding-xs)}.zt-theme-dark{--zt-toast-background: var(--zt-gray-a1)}
1
+ :root{--zt-toast-max-width: 70%;--zt-toast-text-color: var(--zt-white);--zt-toast-loading-icon-color: var(--zt-white);--zt-toast-radius: var(--zt-radius-lg);--zt-toast-background: var(--zt-gray-a8);--zt-toast-text-min-width: 96px;--zt-toast-text-padding: var(--zt-padding-xs) var(--zt-padding-sm);--zt-toast-default-padding: var(--zt-padding-md);--zt-toast-default-width: 88px;--zt-toast-default-min-height: 84px;--zt-toast-default-max-height: 80%;--zt-toast-position-top-distance: 20%;--zt-toast-position-bottom-distance: 20%;--zt-toast-icon-font-size: 36px}:root[zt-theme-size=large]{--zt-toast-icon-font-size: 42px}.zt-toast{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:content-box;transition:all var(--zt-duration-fast);width:var(--zt-toast-default-width);max-width:var(--zt-toast-max-width);min-height:var(--zt-toast-default-min-height);max-height:var(--zt-toast-default-max-height);padding:var(--zt-toast-default-padding);color:var(--zt-toast-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);white-space:pre-wrap;text-align:center;word-break:break-all;background:var(--zt-toast-background);border-radius:var(--zt-toast-radius)}.zt-toast--break-normal{word-break:normal;word-wrap:normal}.zt-toast--break-word{word-break:normal;word-wrap:break-word}.zt-toast--unclickable{overflow:hidden;cursor:not-allowed}.zt-toast--unclickable *{pointer-events:none}.zt-toast--text,.zt-toast--html{width:-moz-fit-content;width:fit-content;min-width:var(--zt-toast-text-min-width);min-height:0;padding:var(--zt-toast-text-padding)}.zt-toast--text .zt-toast__text,.zt-toast--html .zt-toast__text{margin-top:0}.zt-toast--top{top:var(--zt-toast-position-top-distance)}.zt-toast--bottom{top:auto;bottom:var(--zt-toast-position-bottom-distance)}.zt-toast__icon{font-size:var(--zt-toast-icon-font-size)}.zt-toast__loading{padding:var(--zt-padding-base);color:var(--zt-toast-loading-icon-color)}.zt-toast__text{margin-top:var(--zt-padding-xs)}.zt-theme-dark{--zt-toast-background: var(--zt-gray-a1)}
@@ -1,4 +1,4 @@
1
- export declare const Toast: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Toast: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  icon: StringConstructor;
3
3
  show: BooleanConstructor;
4
4
  type: {
@@ -30,7 +30,7 @@ export declare const Toast: import("../utils").WithInstall<import("vue").DefineC
30
30
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
31
31
  closeOnClick: BooleanConstructor;
32
32
  closeOnClickOverlay: BooleanConstructor;
33
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
34
  icon: StringConstructor;
35
35
  show: BooleanConstructor;
36
36
  type: {
@@ -62,9 +62,9 @@ export declare const Toast: import("../utils").WithInstall<import("vue").DefineC
62
62
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
63
63
  closeOnClick: BooleanConstructor;
64
64
  closeOnClickOverlay: BooleanConstructor;
65
- }>> & {
65
+ }>> & Readonly<{
66
66
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
67
- }, {
67
+ }>, {
68
68
  type: import("./types").ToastType;
69
69
  position: import("./types").ToastPosition;
70
70
  overlay: boolean;
@@ -74,7 +74,7 @@ export declare const Toast: import("../utils").WithInstall<import("vue").DefineC
74
74
  transition: string;
75
75
  forbidClick: boolean;
76
76
  closeOnClick: boolean;
77
- }, {}>>;
77
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
78
78
  export default Toast;
79
79
  export { showToast, closeToast, showFailToast, showLoadingToast, showSuccessToast, allowMultipleToast, setToastDefaultOptions, resetToastDefaultOptions, } from './function-call';
80
80
  export type { ToastProps } from './Toast';
@@ -66,7 +66,7 @@ export declare const uploaderProps: {
66
66
  };
67
67
  };
68
68
  export type UploaderProps = ExtractPropTypes<typeof uploaderProps>;
69
- declare const _default: import("vue").DefineComponent<{
69
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
70
70
  name: {
71
71
  type: (NumberConstructor | StringConstructor)[];
72
72
  default: string;
@@ -126,7 +126,7 @@ declare const _default: import("vue").DefineComponent<{
126
126
  type: PropType<UploaderMaxSize>;
127
127
  default: number;
128
128
  };
129
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "update:modelValue" | "oversize" | "clickUpload" | "closePreview" | "clickPreview")[], "delete" | "update:modelValue" | "oversize" | "clickUpload" | "closePreview" | "clickPreview", import("vue").PublicProps, Readonly<ExtractPropTypes<{
129
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "update:modelValue" | "oversize" | "clickUpload" | "closePreview" | "clickPreview")[], "delete" | "update:modelValue" | "oversize" | "clickUpload" | "closePreview" | "clickPreview", import("vue").PublicProps, Readonly<ExtractPropTypes<{
130
130
  name: {
131
131
  type: (NumberConstructor | StringConstructor)[];
132
132
  default: string;
@@ -186,14 +186,14 @@ declare const _default: import("vue").DefineComponent<{
186
186
  type: PropType<UploaderMaxSize>;
187
187
  default: number;
188
188
  };
189
- }>> & {
189
+ }>> & Readonly<{
190
190
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
191
191
  onDelete?: ((...args: any[]) => any) | undefined;
192
192
  onOversize?: ((...args: any[]) => any) | undefined;
193
193
  onClickUpload?: ((...args: any[]) => any) | undefined;
194
194
  onClosePreview?: ((...args: any[]) => any) | undefined;
195
195
  onClickPreview?: ((...args: any[]) => any) | undefined;
196
- }, {
196
+ }>, {
197
197
  name: string | number;
198
198
  disabled: boolean;
199
199
  accept: string;
@@ -210,5 +210,5 @@ declare const _default: import("vue").DefineComponent<{
210
210
  previewImage: boolean;
211
211
  previewFullImage: boolean;
212
212
  maxSize: UploaderMaxSize;
213
- }, {}>;
213
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
214
214
  export default _default;
@@ -1,5 +1,4 @@
1
- import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
2
- import { ref, reactive, defineComponent, onBeforeUnmount } from "vue";
1
+ import { ref, reactive, defineComponent, onBeforeUnmount, mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
3
2
  import { pick, extend, toArray, isPromise, truthProp, getSizeStyle, makeArrayProp, makeStringProp, makeNumericProp } from "../utils/index.mjs";
4
3
  import { bem, name, isOversize, filterFiles, isImageFile, readFileContent } from "./utils.mjs";
5
4
  import { useCustomFieldValue } from "@zartui/use";
@@ -2,7 +2,7 @@ import type { PropType } from 'vue';
2
2
  import type { Numeric, Interceptor } from '../utils';
3
3
  import { ImageFit } from '../image';
4
4
  import type { UploaderFileListItem } from './types';
5
- declare const _default: import("vue").DefineComponent<{
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  name: (NumberConstructor | StringConstructor)[];
7
7
  item: {
8
8
  type: PropType<UploaderFileListItem>;
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
14
14
  deletable: BooleanConstructor;
15
15
  previewSize: PropType<Numeric | [Numeric, Numeric]>;
16
16
  beforeDelete: PropType<Interceptor>;
17
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "preview")[], "delete" | "preview", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "preview")[], "delete" | "preview", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
18
  name: (NumberConstructor | StringConstructor)[];
19
19
  item: {
20
20
  type: PropType<UploaderFileListItem>;
@@ -26,11 +26,11 @@ declare const _default: import("vue").DefineComponent<{
26
26
  deletable: BooleanConstructor;
27
27
  previewSize: PropType<Numeric | [Numeric, Numeric]>;
28
28
  beforeDelete: PropType<Interceptor>;
29
- }>> & {
29
+ }>> & Readonly<{
30
30
  onDelete?: ((...args: any[]) => any) | undefined;
31
31
  onPreview?: ((...args: any[]) => any) | undefined;
32
- }, {
32
+ }>, {
33
33
  lazyLoad: boolean;
34
34
  deletable: boolean;
35
- }, {}>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
36
  export default _default;
@@ -1,5 +1,4 @@
1
- import { createVNode as _createVNode } from "vue";
2
- import { defineComponent } from "vue";
1
+ import { defineComponent, createVNode as _createVNode } from "vue";
3
2
  import { t, bem, isImageFile } from "./utils.mjs";
4
3
  import { isDef, extend, numericProp, getSizeStyle, callInterceptor, makeRequiredProp } from "../utils/index.mjs";
5
4
  import { Icon } from "../icon/index.mjs";
@@ -1,5 +1,5 @@
1
1
  import { UploaderProps } from './Uploader';
2
- export declare const Uploader: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const Uploader: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  name: {
4
4
  type: (NumberConstructor | StringConstructor)[];
5
5
  default: string;
@@ -59,7 +59,7 @@ export declare const Uploader: import("../utils").WithInstall<import("vue").Defi
59
59
  type: import("vue").PropType<import("./types").UploaderMaxSize>;
60
60
  default: number;
61
61
  };
62
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "update:modelValue" | "oversize" | "clickUpload" | "closePreview" | "clickPreview")[], "delete" | "update:modelValue" | "oversize" | "clickUpload" | "closePreview" | "clickPreview", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "update:modelValue" | "oversize" | "clickUpload" | "closePreview" | "clickPreview")[], "delete" | "update:modelValue" | "oversize" | "clickUpload" | "closePreview" | "clickPreview", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
63
  name: {
64
64
  type: (NumberConstructor | StringConstructor)[];
65
65
  default: string;
@@ -119,14 +119,14 @@ export declare const Uploader: import("../utils").WithInstall<import("vue").Defi
119
119
  type: import("vue").PropType<import("./types").UploaderMaxSize>;
120
120
  default: number;
121
121
  };
122
- }>> & {
122
+ }>> & Readonly<{
123
123
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
124
124
  onDelete?: ((...args: any[]) => any) | undefined;
125
125
  onOversize?: ((...args: any[]) => any) | undefined;
126
126
  onClickUpload?: ((...args: any[]) => any) | undefined;
127
127
  onClosePreview?: ((...args: any[]) => any) | undefined;
128
128
  onClickPreview?: ((...args: any[]) => any) | undefined;
129
- }, {
129
+ }>, {
130
130
  name: string | number;
131
131
  disabled: boolean;
132
132
  accept: string;
@@ -143,7 +143,7 @@ export declare const Uploader: import("../utils").WithInstall<import("vue").Defi
143
143
  previewImage: boolean;
144
144
  previewFullImage: boolean;
145
145
  maxSize: import("./types").UploaderMaxSize;
146
- }, {}>>;
146
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
147
147
  export default Uploader;
148
148
  export { uploaderProps } from './Uploader';
149
149
  export type { UploaderProps };
package/es/utils/dom.d.ts CHANGED
@@ -12,4 +12,4 @@ export declare function preventDefault(event: Event, isStopPropagation?: boolean
12
12
  export declare function isHidden(elementRef: HTMLElement | Ref<HTMLElement | undefined>): boolean;
13
13
  export declare function colorFromCSSClass(className: string, defaultColor: string): string;
14
14
  export declare const getTargetDom: (target: TargetContainer) => HTMLElement;
15
- export declare const windowWidth: Ref<number>, windowHeight: Ref<number>;
15
+ export declare const windowWidth: Ref<number, number>, windowHeight: Ref<number, number>;
@@ -11,3 +11,4 @@ export declare function padZero(num: Numeric, targetLength?: number): string;
11
11
  export declare const clamp: (num: number, min: number, max: number) => number;
12
12
  export declare function formatNumber(value: string, allowDot?: boolean, allowMinus?: boolean): string;
13
13
  export declare function addNumber(num1: number, num2: number): number;
14
+ export declare function formatSeconds(value?: string | number): string;
@@ -106,12 +106,27 @@ function addNumber(num1, num2) {
106
106
  const cardinal = 10 ** 10;
107
107
  return Math.round((num1 + num2) * cardinal) / cardinal;
108
108
  }
109
+ function formatSeconds(value = 0) {
110
+ if (!value) {
111
+ return "00:00:00";
112
+ }
113
+ const time = typeof value === "number" ? value : parseInt(value);
114
+ const hours = Math.floor(time / 3600);
115
+ const minutes = Math.floor((time - hours * 3600) / 60);
116
+ const seconds = time - hours * 3600 - minutes * 60;
117
+ let result = "";
118
+ result += ("0" + hours.toString()).slice(-2) + ":";
119
+ result += ("0" + minutes.toString()).slice(-2) + ":";
120
+ result += ("0" + seconds.toString()).slice(-2);
121
+ return result;
122
+ }
109
123
  export {
110
124
  addNumber,
111
125
  addUnit,
112
126
  camelize,
113
127
  clamp,
114
128
  formatNumber,
129
+ formatSeconds,
115
130
  getSizeStyle,
116
131
  getZIndexStyle,
117
132
  kebabCase,
@@ -9,6 +9,6 @@ export declare function usePopupState(): {
9
9
  toggle: (show: boolean) => void;
10
10
  };
11
11
  export declare function mountComponent(RootComponent: Component): {
12
- instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
12
+ instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>;
13
13
  unmount(): void;
14
14
  };
@@ -19,6 +19,7 @@ declare const videoProps: {
19
19
  playsinline: boolean;
20
20
  touchPlay: boolean;
21
21
  preload: string;
22
+ controlsList: string[];
22
23
  };
23
24
  };
24
25
  errorTip: {
@@ -31,7 +32,7 @@ declare const videoProps: {
31
32
  };
32
33
  };
33
34
  export type VideoProps = ExtractPropTypes<typeof videoProps>;
34
- declare const _default: import("vue").DefineComponent<{
35
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
35
36
  src: {
36
37
  type: PropType<string>;
37
38
  default: string;
@@ -50,6 +51,7 @@ declare const _default: import("vue").DefineComponent<{
50
51
  playsinline: boolean;
51
52
  touchPlay: boolean;
52
53
  preload: string;
54
+ controlsList: string[];
53
55
  };
54
56
  };
55
57
  errorTip: {
@@ -60,7 +62,7 @@ declare const _default: import("vue").DefineComponent<{
60
62
  type: PropType<string>;
61
63
  default: string;
62
64
  };
63
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("time" | "pause" | "play" | "play-end")[], "time" | "pause" | "play" | "play-end", import("vue").PublicProps, Readonly<ExtractPropTypes<{
65
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("time" | "pause" | "play" | "play-end")[], "time" | "pause" | "play" | "play-end", import("vue").PublicProps, Readonly<ExtractPropTypes<{
64
66
  src: {
65
67
  type: PropType<string>;
66
68
  default: string;
@@ -79,6 +81,7 @@ declare const _default: import("vue").DefineComponent<{
79
81
  playsinline: boolean;
80
82
  touchPlay: boolean;
81
83
  preload: string;
84
+ controlsList: string[];
82
85
  };
83
86
  };
84
87
  errorTip: {
@@ -89,16 +92,16 @@ declare const _default: import("vue").DefineComponent<{
89
92
  type: PropType<string>;
90
93
  default: string;
91
94
  };
92
- }>> & {
95
+ }>> & Readonly<{
93
96
  onPause?: ((...args: any[]) => any) | undefined;
94
97
  onPlay?: ((...args: any[]) => any) | undefined;
95
98
  onTime?: ((...args: any[]) => any) | undefined;
96
99
  "onPlay-end"?: ((...args: any[]) => any) | undefined;
97
- }, {
100
+ }>, {
98
101
  src: string;
99
102
  options: Partial<VideoOptions>;
100
103
  showToolBox: boolean;
101
104
  errorTip: string;
102
105
  clickRetryTip: string;
103
- }, {}>;
106
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
104
107
  export default _default;
@@ -1,13 +1,12 @@
1
- import { createVNode as _createVNode, Fragment as _Fragment } from "vue";
2
- import { computed, defineComponent, nextTick, onMounted, reactive, ref, watch } from "vue";
1
+ import { computed, defineComponent, nextTick, onMounted, reactive, ref, watch, Fragment as _Fragment, createVNode as _createVNode } from "vue";
3
2
  import { useExpose } from "../composables/use-expose.mjs";
4
3
  import { useGlobalZIndex } from "../composables/use-global-z-index.mjs";
5
4
  import Icon from "../icon/index.mjs";
6
5
  import { throttle } from "../lazyload/vue-lazyload/util.mjs";
7
- import { createNamespace, makeStringProp } from "../utils/index.mjs";
6
+ import { createNamespace, makeStringProp, formatSeconds } from "../utils/index.mjs";
8
7
  const [name, bem] = createNamespace("video");
9
8
  const videoProps = {
10
- src: makeStringProp("star"),
9
+ src: makeStringProp(""),
11
10
  // 控制控制器和标题的显示
12
11
  showToolBox: Boolean,
13
12
  options: {
@@ -26,7 +25,8 @@ const videoProps = {
26
25
  playsinline: false,
27
26
  // 行内展示
28
27
  touchPlay: false,
29
- preload: ""
28
+ preload: "",
29
+ controlsList: ["nodownload"]
30
30
  }
31
31
  },
32
32
  errorTip: makeStringProp("\u64AD\u653E\u5668\u53D1\u751F\u9519\u8BEF"),
@@ -174,27 +174,6 @@ var stdin_default = defineComponent({
174
174
  }
175
175
  }
176
176
  };
177
- const timeFormat = (t = 0) => {
178
- let h = Math.floor(t / 3600);
179
- if (+h < 10) {
180
- h = "0" + h;
181
- }
182
- let m = Math.floor(t % 3600 / 60);
183
- if (+m < 10) {
184
- m = "0" + m;
185
- }
186
- let s = Math.round(t % 3600 % 60);
187
- if (+s < 10) {
188
- s = "0" + s;
189
- }
190
- let str = "";
191
- if (h != 0) {
192
- str = h + ":" + m + ":" + s;
193
- } else {
194
- str = m + ":" + s;
195
- }
196
- return str;
197
- };
198
177
  const getLoadTime = () => {
199
178
  var _a, _b;
200
179
  state.videoSet.loaded = (((_a = root.value) == null ? void 0 : _a.buffered.end(0)) || 0) / (((_b = root.value) == null ? void 0 : _b.duration) || 1) * 100;
@@ -205,8 +184,8 @@ var stdin_default = defineComponent({
205
184
  const currentTime = Number.isNaN((_c = root.value) == null ? void 0 : _c.currentTime) ? 0 : (_d = root.value) == null ? void 0 : _d.currentTime;
206
185
  const percent = (currentTime || 0) / (durationTime || 1);
207
186
  state.videoSet.progress.current = Math.round(state.videoSet.progress.width * percent);
208
- state.videoSet.totalTime = timeFormat(durationTime);
209
- state.videoSet.displayTime = timeFormat((_e = root.value) == null ? void 0 : _e.currentTime);
187
+ state.videoSet.totalTime = formatSeconds(durationTime);
188
+ state.videoSet.displayTime = formatSeconds((_e = root.value) == null ? void 0 : _e.currentTime);
210
189
  emit("time", currentTime, durationTime, state.videoSet.displayTime, state.videoSet.totalTime);
211
190
  };
212
191
  const playEnded = () => {
@@ -389,6 +368,7 @@ var stdin_default = defineComponent({
389
368
  src,
390
369
  options
391
370
  } = props;
371
+ const controlsList = options.controlsList || ["nodownload"];
392
372
  return _createVNode("div", {
393
373
  "class": bem()
394
374
  }, [_createVNode("video", {
@@ -399,6 +379,7 @@ var stdin_default = defineComponent({
399
379
  "loop": options.loop,
400
380
  "poster": options.poster,
401
381
  "controls": options.controls,
382
+ "controlslist": controlsList.join(" "),
402
383
  "preload": options.preload,
403
384
  "src": src,
404
385
  "onError": handleError
@@ -1 +1 @@
1
- :root{--zt-video-player-background: var(--zt-black);--zt-video-player-btn-color: var(--zt-white);--zt-video-player-btn-background: rgba(0, 0, 0, .5);--zt-video-player-controller-background: rgba(0, 0, 0, .5);--zt-video-player-controller-font-size: var(--zt-font-size-sm);--zt-video-player-error-color: var(--zt-white);--zt-video-player-time-color: var(--zt-white);--zt-video-player-progress-height: 4px;--zt-video-player-progress-background: rgba(255, 255, 255, .5);--zt-video-player-progress-buffered-color: rgba(255, 255, 255, .8);--zt-video-player-progress-ball-color: var(--zt-primary-color);--zt-video-player-progress-ball-border: 2px solid var(--zt-white)}.zt-video{width:100%;height:100%;position:relative;display:flex}.zt-video>video{width:100%;height:100%;object-fit:fill}.zt-video__player{width:100%;background:var(--zt-video-player-background)}.zt-video__player:focus{outline:none}.zt-video__mask{width:100%;position:absolute;left:0;top:0;right:0;bottom:60px}.zt-video__mask.custom-touch{bottom:0}.zt-video__play-btn{width:80px;height:50px;margin-top:-25px;display:flex;align-items:center;justify-content:center;border:0;color:var(--zt-video-player-btn-color);transition:border-color .4s,outline .4s,background-color .4s;position:absolute;top:50%;left:50%;margin-left:-40px;padding:0;font-size:80px;border-radius:20%}.zt-video__controller{position:absolute;display:flex;left:0;bottom:0;background-color:var(--zt-video-player-controller-background);height:35px;width:100%;align-items:center;opacity:0;transition:all 1s;font-size:var(--zt-video-player-controller-font-size)}.zt-video__controller.zt-video__controller--show{opacity:1}.zt-video__controller.zt-video__controller--hide{opacity:0}.zt-video__controller--play-btn{width:18px;height:18px;margin:0 10px}.zt-video__controller-total,.zt-video__controller-now{color:var(--zt-video-player-time-color);padding:0 5px}.zt-video__controller-progress{position:relative;display:inline-block;height:100%;width:100%;margin:0 6px;transition:all .2s ease-in;flex:1}.zt-video__controller-progress-value{position:absolute;top:50%;width:100%;height:var(--zt-video-player-progress-height);margin-top:-.05rem;background:var(--zt-video-player-progress-background);border-radius:2px}.zt-video__controller-progress .buffered{background:var(--zt-video-player-progress-buffered-color);height:var(--zt-video-player-progress-height);border-radius:2px}.zt-video__controller-progress-ball{width:14px;height:14px;position:absolute;top:50%;left:0;border-radius:50%;box-sizing:content-box}.zt-video__controller-progress-ball div{width:10px;height:10px;background:var(--zt-video-player-progress-ball-color);box-shadow:0 2px 4px rgba(32,0,0,.2);margin:0 -5px;border-radius:50%;border:var(--zt-video-player-progress-ball-border)}.zt-video__controller-volume,.zt-video__controller-full{width:26px;height:30px;display:flex;align-items:center;justify-content:center}.zt-video__controller-volume>i,.zt-video__controller-full>i{color:var(--zt-video-player-btn-color);font-size:22px}.zt-video__controller-full{width:40px}.zt-video__error{position:absolute;width:100%;height:100%;background:var(--zt-video-player-background);color:var(--zt-video-player-error-color);display:flex;flex-direction:column;align-items:center;justify-content:center}
1
+ :root{--zt-video-player-background: var(--zt-black);--zt-video-player-btn-color: var(--zt-white);--zt-video-player-btn-background: rgba(0, 0, 0, .5);--zt-video-player-controller-background: rgba(0, 0, 0, .5);--zt-video-player-controller-font-size: var(--zt-font-size-sm);--zt-video-player-error-color: var(--zt-white);--zt-video-player-time-color: var(--zt-white);--zt-video-player-progress-height: 4px;--zt-video-player-progress-background: rgba(255, 255, 255, .5);--zt-video-player-progress-buffered-color: rgba(255, 255, 255, .8);--zt-video-player-progress-ball-color: var(--zt-primary-color);--zt-video-player-progress-ball-border: 2px solid var(--zt-white)}.zt-video{width:100%;height:100%;position:relative;display:flex}.zt-video>video{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.zt-video__player{width:100%;background:var(--zt-video-player-background)}.zt-video__player:focus{outline:none}.zt-video__mask{width:100%;position:absolute;left:0;top:0;right:0;bottom:60px}.zt-video__mask.custom-touch{bottom:0}.zt-video__play-btn{width:80px;height:50px;margin-top:-25px;display:flex;align-items:center;justify-content:center;border:0;color:var(--zt-video-player-btn-color);transition:border-color .4s,outline .4s,background-color .4s;position:absolute;top:50%;left:50%;margin-left:-40px;padding:0;font-size:80px;border-radius:20%}.zt-video__controller{position:absolute;display:flex;left:0;bottom:0;background-color:var(--zt-video-player-controller-background);height:35px;width:100%;align-items:center;opacity:0;transition:all 1s;font-size:var(--zt-video-player-controller-font-size)}.zt-video__controller.zt-video__controller--show{opacity:1}.zt-video__controller.zt-video__controller--hide{opacity:0}.zt-video__controller--play-btn{width:18px;height:18px;margin:0 10px}.zt-video__controller-total,.zt-video__controller-now{color:var(--zt-video-player-time-color);padding:0 5px}.zt-video__controller-progress{position:relative;display:inline-block;height:100%;width:100%;margin:0 6px;transition:all .2s ease-in;flex:1}.zt-video__controller-progress-value{position:absolute;top:50%;width:100%;height:var(--zt-video-player-progress-height);margin-top:-.05rem;background:var(--zt-video-player-progress-background);border-radius:2px}.zt-video__controller-progress .buffered{background:var(--zt-video-player-progress-buffered-color);height:var(--zt-video-player-progress-height);border-radius:2px}.zt-video__controller-progress-ball{width:14px;height:14px;position:absolute;top:50%;left:0;border-radius:50%;box-sizing:content-box}.zt-video__controller-progress-ball div{width:10px;height:10px;background:var(--zt-video-player-progress-ball-color);box-shadow:0 2px 4px rgba(32,0,0,.2);margin:0 -5px;border-radius:50%;border:var(--zt-video-player-progress-ball-border)}.zt-video__controller-volume,.zt-video__controller-full{width:26px;height:30px;display:flex;align-items:center;justify-content:center}.zt-video__controller-volume>i,.zt-video__controller-full>i{color:var(--zt-video-player-btn-color);font-size:22px}.zt-video__controller-full{width:40px}.zt-video__error{position:absolute;width:100%;height:100%;background:var(--zt-video-player-background);color:var(--zt-video-player-error-color);display:flex;flex-direction:column;align-items:center;justify-content:center}