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,4 +1,4 @@
1
- export declare const Video: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Video: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  src: {
3
3
  type: import("vue").PropType<string>;
4
4
  default: string;
@@ -17,6 +17,7 @@ export declare const Video: import("../utils").WithInstall<import("vue").DefineC
17
17
  playsinline: boolean;
18
18
  touchPlay: boolean;
19
19
  preload: string;
20
+ controlsList: string[];
20
21
  };
21
22
  };
22
23
  errorTip: {
@@ -27,7 +28,7 @@ export declare const Video: import("../utils").WithInstall<import("vue").DefineC
27
28
  type: import("vue").PropType<string>;
28
29
  default: string;
29
30
  };
30
- }, () => 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<import("vue").ExtractPropTypes<{
31
+ }>, () => 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<import("vue").ExtractPropTypes<{
31
32
  src: {
32
33
  type: import("vue").PropType<string>;
33
34
  default: string;
@@ -46,6 +47,7 @@ export declare const Video: import("../utils").WithInstall<import("vue").DefineC
46
47
  playsinline: boolean;
47
48
  touchPlay: boolean;
48
49
  preload: string;
50
+ controlsList: string[];
49
51
  };
50
52
  };
51
53
  errorTip: {
@@ -56,18 +58,18 @@ export declare const Video: import("../utils").WithInstall<import("vue").DefineC
56
58
  type: import("vue").PropType<string>;
57
59
  default: string;
58
60
  };
59
- }>> & {
61
+ }>> & Readonly<{
60
62
  onPause?: ((...args: any[]) => any) | undefined;
61
63
  onPlay?: ((...args: any[]) => any) | undefined;
62
64
  onTime?: ((...args: any[]) => any) | undefined;
63
65
  "onPlay-end"?: ((...args: any[]) => any) | undefined;
64
- }, {
66
+ }>, {
65
67
  src: string;
66
68
  options: Partial<import("./types").VideoOptions>;
67
69
  showToolBox: boolean;
68
70
  errorTip: string;
69
71
  clickRetryTip: string;
70
- }, {}>>;
72
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
71
73
  export default Video;
72
74
  export type { VideoProps } from './Video';
73
75
  export type { VideoOptions } from './types';
@@ -9,4 +9,5 @@ export interface VideoOptions {
9
9
  playsinline: boolean;
10
10
  touchPlay: boolean;
11
11
  preload: string;
12
+ controlsList: string[];
12
13
  }
@@ -64,7 +64,7 @@ export declare const actionSheetProps: {
64
64
  };
65
65
  };
66
66
  export type ActionSheetProps = ExtractPropTypes<typeof actionSheetProps>;
67
- declare const _default: import("vue").DefineComponent<{
67
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
68
68
  show: BooleanConstructor;
69
69
  zIndex: (NumberConstructor | StringConstructor)[];
70
70
  overlay: {
@@ -118,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
118
118
  type: BooleanConstructor;
119
119
  default: true;
120
120
  };
121
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show")[], "select" | "cancel" | "update:show", import("vue").PublicProps, Readonly<ExtractPropTypes<{
121
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show")[], "select" | "cancel" | "update:show", import("vue").PublicProps, Readonly<ExtractPropTypes<{
122
122
  show: BooleanConstructor;
123
123
  zIndex: (NumberConstructor | StringConstructor)[];
124
124
  overlay: {
@@ -172,11 +172,11 @@ declare const _default: import("vue").DefineComponent<{
172
172
  type: BooleanConstructor;
173
173
  default: true;
174
174
  };
175
- }>> & {
175
+ }>> & Readonly<{
176
176
  onSelect?: ((...args: any[]) => any) | undefined;
177
177
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
178
178
  onCancel?: ((...args: any[]) => any) | undefined;
179
- }, {
179
+ }>, {
180
180
  overlay: boolean;
181
181
  round: boolean;
182
182
  show: boolean;
@@ -190,5 +190,5 @@ declare const _default: import("vue").DefineComponent<{
190
190
  safeAreaInsetBottom: boolean;
191
191
  actions: ActionSheetAction[];
192
192
  closeOnClickAction: boolean;
193
- }, {}>;
193
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
194
194
  export default _default;
@@ -22,7 +22,6 @@ __export(stdin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(stdin_exports);
24
24
  var import_vue = require("vue");
25
- var import_vue2 = require("vue");
26
25
  var import_utils = require("../utils");
27
26
  var import_icon = require("../icon");
28
27
  var import_popup = require("../popup");
@@ -42,7 +41,7 @@ const actionSheetProps = (0, import_utils.extend)({}, import_shared.popupSharedP
42
41
  safeAreaInsetBottom: import_utils.truthProp
43
42
  });
44
43
  const popupInheritKeys = [...import_shared.popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
45
- var stdin_default = (0, import_vue2.defineComponent)({
44
+ var stdin_default = (0, import_vue.defineComponent)({
46
45
  name,
47
46
  props: actionSheetProps,
48
47
  emits: ["select", "cancel", "update:show"],
@@ -113,7 +112,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
113
112
  if (props.closeOnClickAction) {
114
113
  updateShow(false);
115
114
  }
116
- (0, import_vue2.nextTick)(() => emit("select", action, index));
115
+ (0, import_vue.nextTick)(() => emit("select", action, index));
117
116
  };
118
117
  let showBorder = true;
119
118
  const hasCancelBtn = slots.cancel || props.cancelText;
@@ -1,4 +1,4 @@
1
- export declare const ActionSheet: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const ActionSheet: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  show: BooleanConstructor;
3
3
  zIndex: (NumberConstructor | StringConstructor)[];
4
4
  overlay: {
@@ -52,7 +52,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
52
52
  type: BooleanConstructor;
53
53
  default: true;
54
54
  };
55
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show")[], "select" | "cancel" | "update:show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show")[], "select" | "cancel" | "update:show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
56
  show: BooleanConstructor;
57
57
  zIndex: (NumberConstructor | StringConstructor)[];
58
58
  overlay: {
@@ -106,11 +106,11 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
106
106
  type: BooleanConstructor;
107
107
  default: true;
108
108
  };
109
- }>> & {
109
+ }>> & Readonly<{
110
110
  onSelect?: ((...args: any[]) => any) | undefined;
111
111
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
112
112
  onCancel?: ((...args: any[]) => any) | undefined;
113
- }, {
113
+ }>, {
114
114
  overlay: boolean;
115
115
  round: boolean;
116
116
  show: boolean;
@@ -124,7 +124,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
124
124
  safeAreaInsetBottom: boolean;
125
125
  actions: import("./ActionSheet").ActionSheetAction[];
126
126
  closeOnClickAction: boolean;
127
- }, {}>>;
127
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
128
128
  export default ActionSheet;
129
129
  export { actionSheetProps } from './ActionSheet';
130
130
  export type { ActionSheetProps, ActionSheetAction } from './ActionSheet';
@@ -0,0 +1,95 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ import { AudioType } from './types';
3
+ declare const audioProps: {
4
+ src: {
5
+ type: import("vue").PropType<string>;
6
+ default: string;
7
+ };
8
+ muted: BooleanConstructor;
9
+ autoplay: BooleanConstructor;
10
+ loop: BooleanConstructor;
11
+ preload: {
12
+ type: import("vue").PropType<string>;
13
+ default: string;
14
+ };
15
+ second: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ };
19
+ type: {
20
+ type: import("vue").PropType<AudioType>;
21
+ default: AudioType;
22
+ };
23
+ controlsList: {
24
+ type: import("vue").PropType<string[]>;
25
+ default: () => string[];
26
+ };
27
+ };
28
+ export type AudioProps = ExtractPropTypes<typeof audioProps>;
29
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
30
+ src: {
31
+ type: import("vue").PropType<string>;
32
+ default: string;
33
+ };
34
+ muted: BooleanConstructor;
35
+ autoplay: BooleanConstructor;
36
+ loop: BooleanConstructor;
37
+ preload: {
38
+ type: import("vue").PropType<string>;
39
+ default: string;
40
+ };
41
+ second: {
42
+ type: NumberConstructor;
43
+ default: number;
44
+ };
45
+ type: {
46
+ type: import("vue").PropType<AudioType>;
47
+ default: AudioType;
48
+ };
49
+ controlsList: {
50
+ type: import("vue").PropType<string[]>;
51
+ default: () => string[];
52
+ };
53
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ended" | "play" | "forward" | "mute" | "fastBack" | "changeProgress" | "canPlay")[], "ended" | "play" | "forward" | "mute" | "fastBack" | "changeProgress" | "canPlay", import("vue").PublicProps, Readonly<ExtractPropTypes<{
54
+ src: {
55
+ type: import("vue").PropType<string>;
56
+ default: string;
57
+ };
58
+ muted: BooleanConstructor;
59
+ autoplay: BooleanConstructor;
60
+ loop: BooleanConstructor;
61
+ preload: {
62
+ type: import("vue").PropType<string>;
63
+ default: string;
64
+ };
65
+ second: {
66
+ type: NumberConstructor;
67
+ default: number;
68
+ };
69
+ type: {
70
+ type: import("vue").PropType<AudioType>;
71
+ default: AudioType;
72
+ };
73
+ controlsList: {
74
+ type: import("vue").PropType<string[]>;
75
+ default: () => string[];
76
+ };
77
+ }>> & Readonly<{
78
+ onEnded?: ((...args: any[]) => any) | undefined;
79
+ onPlay?: ((...args: any[]) => any) | undefined;
80
+ onForward?: ((...args: any[]) => any) | undefined;
81
+ onMute?: ((...args: any[]) => any) | undefined;
82
+ onFastBack?: ((...args: any[]) => any) | undefined;
83
+ onChangeProgress?: ((...args: any[]) => any) | undefined;
84
+ onCanPlay?: ((...args: any[]) => any) | undefined;
85
+ }>, {
86
+ type: AudioType;
87
+ autoplay: boolean;
88
+ loop: boolean;
89
+ muted: boolean;
90
+ preload: string;
91
+ src: string;
92
+ second: number;
93
+ controlsList: string[];
94
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
95
+ export default _default;
@@ -0,0 +1,255 @@
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_icon = __toESM(require("../icon"));
35
+ var import_slider = __toESM(require("../slider"));
36
+ var import_utils = require("../utils");
37
+ var import_types = require("./types");
38
+ const [name, bem] = (0, import_utils.createNamespace)("audio");
39
+ const audioProps = {
40
+ src: (0, import_utils.makeStringProp)(""),
41
+ muted: Boolean,
42
+ autoplay: Boolean,
43
+ loop: Boolean,
44
+ preload: (0, import_utils.makeStringProp)("auto"),
45
+ second: (0, import_utils.makeNumberProp)(0),
46
+ type: (0, import_utils.makeStringProp)("progress"),
47
+ controlsList: (0, import_utils.makeArrayProp)(["nodownload"])
48
+ };
49
+ var stdin_default = (0, import_vue.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_vue.ref)();
59
+ const audioData = (0, import_vue.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_vue.watch)(() => audioData.currentTime, (value) => {
187
+ handle(value);
188
+ });
189
+ (0, import_vue.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_vue.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
+ controlsList
236
+ } = props;
237
+ return (0, import_vue.createVNode)("div", {
238
+ "class": bem()
239
+ }, [renderProgress(), renderIcon(), renderSlots(), (0, import_vue.createVNode)("audio", {
240
+ "ref": audioRef,
241
+ "class": bem("audio-main"),
242
+ "controls": type === "controls",
243
+ "controlslist": controlsList.join(" "),
244
+ "src": src,
245
+ "preload": preload,
246
+ "autoplay": autoplay,
247
+ "loop": loop,
248
+ "muted": audioData.hanMuted,
249
+ "onTimeupdate": onTimeupdate,
250
+ "onCanplay": onCanplay,
251
+ "onEnded": audioEnd
252
+ }, null)]);
253
+ };
254
+ }
255
+ });
@@ -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,75 @@
1
+ export declare const Audio: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
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
+ controlsList: {
22
+ type: import("vue").PropType<string[]>;
23
+ default: () => string[];
24
+ };
25
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, 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<{
26
+ src: {
27
+ type: import("vue").PropType<string>;
28
+ default: string;
29
+ };
30
+ muted: BooleanConstructor;
31
+ autoplay: BooleanConstructor;
32
+ loop: BooleanConstructor;
33
+ preload: {
34
+ type: import("vue").PropType<string>;
35
+ default: string;
36
+ };
37
+ second: {
38
+ type: NumberConstructor;
39
+ default: number;
40
+ };
41
+ type: {
42
+ type: import("vue").PropType<import("./types").AudioType>;
43
+ default: import("./types").AudioType;
44
+ };
45
+ controlsList: {
46
+ type: import("vue").PropType<string[]>;
47
+ default: () => string[];
48
+ };
49
+ }>> & Readonly<{
50
+ onEnded?: ((...args: any[]) => any) | undefined;
51
+ onPlay?: ((...args: any[]) => any) | undefined;
52
+ onForward?: ((...args: any[]) => any) | undefined;
53
+ onMute?: ((...args: any[]) => any) | undefined;
54
+ onFastBack?: ((...args: any[]) => any) | undefined;
55
+ onChangeProgress?: ((...args: any[]) => any) | undefined;
56
+ onCanPlay?: ((...args: any[]) => any) | undefined;
57
+ }>, {
58
+ type: import("./types").AudioType;
59
+ autoplay: boolean;
60
+ loop: boolean;
61
+ muted: boolean;
62
+ preload: string;
63
+ src: string;
64
+ second: number;
65
+ controlsList: string[];
66
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
67
+ export default Audio;
68
+ export type { AudioProps } from './Audio';
69
+ export type { AudioType, AudioOperateType } from './types';
70
+ export { ZT_AUDIO_KEY } from './types';
71
+ declare module 'vue' {
72
+ interface GlobalComponents {
73
+ ZtAudio: typeof Audio;
74
+ }
75
+ }
@@ -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");