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
@@ -5,6 +5,7 @@ declare const buttonProps: {
5
5
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
6
6
  url: StringConstructor;
7
7
  replace: BooleanConstructor;
8
+ $router: PropType<import("vue-router").Router>;
8
9
  } & {
9
10
  tag: {
10
11
  type: PropType<keyof HTMLElementTagNameMap>;
@@ -47,10 +48,11 @@ declare const buttonProps: {
47
48
  };
48
49
  };
49
50
  export type ButtonProps = ExtractPropTypes<typeof buttonProps>;
50
- declare const _default: import("vue").DefineComponent<{
51
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
51
52
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
52
53
  url: StringConstructor;
53
54
  replace: BooleanConstructor;
55
+ $router: PropType<import("vue-router").Router>;
54
56
  } & {
55
57
  tag: {
56
58
  type: PropType<keyof HTMLElementTagNameMap>;
@@ -91,10 +93,11 @@ declare const _default: import("vue").DefineComponent<{
91
93
  type: PropType<ButtonIconPosition>;
92
94
  default: ButtonIconPosition;
93
95
  };
94
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
96
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
95
97
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
96
98
  url: StringConstructor;
97
99
  replace: BooleanConstructor;
100
+ $router: PropType<import("vue-router").Router>;
98
101
  } & {
99
102
  tag: {
100
103
  type: PropType<keyof HTMLElementTagNameMap>;
@@ -135,9 +138,9 @@ declare const _default: import("vue").DefineComponent<{
135
138
  type: PropType<ButtonIconPosition>;
136
139
  default: ButtonIconPosition;
137
140
  };
138
- }>> & {
141
+ }>> & Readonly<{
139
142
  onClick?: ((...args: any[]) => any) | undefined;
140
- }, {
143
+ }>, {
141
144
  replace: boolean;
142
145
  type: ButtonType;
143
146
  tag: keyof HTMLElementTagNameMap;
@@ -153,5 +156,5 @@ declare const _default: import("vue").DefineComponent<{
153
156
  hairline: boolean;
154
157
  nativeType: ButtonNativeType;
155
158
  iconPosition: ButtonIconPosition;
156
- }, {}>;
159
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
157
160
  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 { extend, numericProp, preventDefault, makeStringProp, createNamespace, BORDER_SURROUND } from "../utils/index.mjs";
4
3
  import { useRoute, routeProps } from "../composables/use-route.mjs";
5
4
  import { Icon } from "../icon/index.mjs";
@@ -1,7 +1,8 @@
1
- export declare const Button: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Button: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
3
3
  url: StringConstructor;
4
4
  replace: BooleanConstructor;
5
+ $router: import("vue").PropType<import("vue-router").Router>;
5
6
  } & {
6
7
  tag: {
7
8
  type: import("vue").PropType<keyof HTMLElementTagNameMap>;
@@ -42,10 +43,11 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
42
43
  type: import("vue").PropType<import("./types").ButtonIconPosition>;
43
44
  default: import("./types").ButtonIconPosition;
44
45
  };
45
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
47
  to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
47
48
  url: StringConstructor;
48
49
  replace: BooleanConstructor;
50
+ $router: import("vue").PropType<import("vue-router").Router>;
49
51
  } & {
50
52
  tag: {
51
53
  type: import("vue").PropType<keyof HTMLElementTagNameMap>;
@@ -86,9 +88,9 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
86
88
  type: import("vue").PropType<import("./types").ButtonIconPosition>;
87
89
  default: import("./types").ButtonIconPosition;
88
90
  };
89
- }>> & {
91
+ }>> & Readonly<{
90
92
  onClick?: ((...args: any[]) => any) | undefined;
91
- }, {
93
+ }>, {
92
94
  replace: boolean;
93
95
  type: import("./types").ButtonType;
94
96
  tag: keyof HTMLElementTagNameMap;
@@ -104,7 +106,7 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
104
106
  hairline: boolean;
105
107
  nativeType: import("./types").ButtonNativeType;
106
108
  iconPosition: import("./types").ButtonIconPosition;
107
- }, {}>>;
109
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
108
110
  export default Button;
109
111
  export type { ButtonProps } from './Button';
110
112
  export type { ButtonType, ButtonSize, ButtonNativeType, ButtonIconPosition, ButtonThemeVars, } from './types';
@@ -92,7 +92,7 @@ export declare const calendarProps: {
92
92
  disabledDate: PropType<(date: Date) => boolean>;
93
93
  };
94
94
  export type CalendarProps = ExtractPropTypes<typeof calendarProps>;
95
- declare const _default: import("vue").DefineComponent<{
95
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
96
96
  show: BooleanConstructor;
97
97
  showType: {
98
98
  type: PropType<CalendarShowType>;
@@ -181,7 +181,7 @@ declare const _default: import("vue").DefineComponent<{
181
181
  validator: (val: number) => boolean;
182
182
  };
183
183
  disabledDate: PropType<(date: Date) => boolean>;
184
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange")[], "select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
184
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange")[], "select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
185
185
  show: BooleanConstructor;
186
186
  showType: {
187
187
  type: PropType<CalendarShowType>;
@@ -270,7 +270,7 @@ declare const _default: import("vue").DefineComponent<{
270
270
  validator: (val: number) => boolean;
271
271
  };
272
272
  disabledDate: PropType<(date: Date) => boolean>;
273
- }>> & {
273
+ }>> & Readonly<{
274
274
  onSelect?: ((...args: any[]) => any) | undefined;
275
275
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
276
276
  onCancel?: ((...args: any[]) => any) | undefined;
@@ -279,7 +279,7 @@ declare const _default: import("vue").DefineComponent<{
279
279
  onUnselect?: ((...args: any[]) => any) | undefined;
280
280
  onMonthShow?: ((...args: any[]) => any) | undefined;
281
281
  onOverRange?: ((...args: any[]) => any) | undefined;
282
- }, {
282
+ }>, {
283
283
  type: CalendarType;
284
284
  position: PopupPosition;
285
285
  round: boolean;
@@ -301,5 +301,5 @@ declare const _default: import("vue").DefineComponent<{
301
301
  showWeekDays: boolean;
302
302
  showRangePrompt: boolean;
303
303
  firstDayOfWeek: string | number;
304
- }, {}>;
304
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
305
305
  export default _default;
@@ -1,5 +1,4 @@
1
- import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
2
- import { ref, watch, computed, defineComponent } from "vue";
1
+ import { ref, watch, computed, defineComponent, mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
3
2
  import { pick, isDate, truthProp, numericProp, getScrollTop, makeStringProp, makeNumericProp } from "../utils/index.mjs";
4
3
  import { t, bem, name, getToday, cloneDate, cloneDates, getPrevDay, getNextDay, getPrevDate, getNextDate, compareDay, calcDateNum, compareMonth, getDayByOffset, getFirstDate, formatMonthTitle } from "./utils.mjs";
5
4
  import { raf, useRect, onMountedOrActivated } from "@zartui/use";
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { CalendarDayItem } from './types';
3
- declare const _default: import("vue").DefineComponent<{
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  item: {
5
5
  type: PropType<CalendarDayItem>;
6
6
  required: true;
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  default: number;
13
13
  };
14
14
  rowHeight: StringConstructor;
15
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  item: {
17
17
  type: PropType<CalendarDayItem>;
18
18
  required: true;
@@ -24,9 +24,9 @@ declare const _default: import("vue").DefineComponent<{
24
24
  default: number;
25
25
  };
26
26
  rowHeight: StringConstructor;
27
- }>> & {
27
+ }>> & Readonly<{
28
28
  onClick?: ((...args: any[]) => any) | undefined;
29
- }, {
29
+ }>, {
30
30
  offset: number;
31
- }, {}>;
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
32
  export default _default;
@@ -1,5 +1,4 @@
1
- import { createVNode as _createVNode } from "vue";
2
- import { computed, defineComponent } from "vue";
1
+ import { computed, defineComponent, createVNode as _createVNode } from "vue";
3
2
  import { makeNumberProp, createNamespace, makeRequiredProp } from "../utils/index.mjs";
4
3
  import { bem } from "./utils.mjs";
5
4
  const [name] = createNamespace("calendar-day");
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  title: StringConstructor;
3
3
  subtitle: StringConstructor;
4
4
  showTitle: BooleanConstructor;
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  monthPreEnable: BooleanConstructor;
13
13
  yearNextEnable: BooleanConstructor;
14
14
  monthNextEnable: BooleanConstructor;
15
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickSubtitle" | "clickPreIcon" | "clickNextIcon")[], "clickSubtitle" | "clickPreIcon" | "clickNextIcon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickSubtitle" | "clickPreIcon" | "clickNextIcon")[], "clickSubtitle" | "clickPreIcon" | "clickNextIcon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  title: StringConstructor;
17
17
  subtitle: StringConstructor;
18
18
  showTitle: BooleanConstructor;
@@ -26,11 +26,11 @@ declare const _default: import("vue").DefineComponent<{
26
26
  monthPreEnable: BooleanConstructor;
27
27
  yearNextEnable: BooleanConstructor;
28
28
  monthNextEnable: BooleanConstructor;
29
- }>> & {
29
+ }>> & Readonly<{
30
30
  onClickSubtitle?: ((...args: any[]) => any) | undefined;
31
31
  onClickPreIcon?: ((...args: any[]) => any) | undefined;
32
32
  onClickNextIcon?: ((...args: any[]) => any) | undefined;
33
- }, {
33
+ }>, {
34
34
  showTitle: boolean;
35
35
  showSubtitle: boolean;
36
36
  showWeekDays: boolean;
@@ -39,5 +39,5 @@ declare const _default: import("vue").DefineComponent<{
39
39
  monthPreEnable: boolean;
40
40
  yearNextEnable: boolean;
41
41
  monthNextEnable: boolean;
42
- }, {}>;
42
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
43
  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 { createNamespace, makeNumberProp } from "../utils/index.mjs";
4
3
  import { bem } from "./utils.mjs";
5
4
  const [name] = createNamespace("calendar-header");
@@ -26,7 +26,7 @@ declare const calendarMonthProps: {
26
26
  disabledDate: PropType<(date: Date) => boolean>;
27
27
  };
28
28
  export type CalendarMonthProps = ExtractPropTypes<typeof calendarMonthProps>;
29
- declare const _default: import("vue").DefineComponent<{
29
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
30
30
  date: {
31
31
  type: DateConstructor;
32
32
  required: true;
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
49
49
  showMonthTitle: BooleanConstructor;
50
50
  firstDayOfWeek: NumberConstructor;
51
51
  disabledDate: PropType<(date: Date) => boolean>;
52
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
52
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
53
53
  date: {
54
54
  type: DateConstructor;
55
55
  required: true;
@@ -72,14 +72,14 @@ declare const _default: import("vue").DefineComponent<{
72
72
  showMonthTitle: BooleanConstructor;
73
73
  firstDayOfWeek: NumberConstructor;
74
74
  disabledDate: PropType<(date: Date) => boolean>;
75
- }>> & {
75
+ }>> & Readonly<{
76
76
  onClick?: ((...args: any[]) => any) | undefined;
77
- }, {
77
+ }>, {
78
78
  lazyRender: boolean;
79
79
  showType: CalendarShowType;
80
80
  showMark: boolean;
81
81
  allowSameDay: boolean;
82
82
  showSubtitle: boolean;
83
83
  showMonthTitle: boolean;
84
- }, {}>;
84
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
85
85
  export default _default;
@@ -1,5 +1,4 @@
1
- import { createVNode as _createVNode } from "vue";
2
- import { ref, computed, defineComponent } from "vue";
1
+ import { ref, computed, defineComponent, createVNode as _createVNode } from "vue";
3
2
  import { pick, addUnit, numericProp, setScrollTop, createNamespace, makeRequiredProp, makeStringProp } from "../utils/index.mjs";
4
3
  import { t, bem, compareDay, getPrevDay, getNextDay, formatMonthTitle } from "./utils.mjs";
5
4
  import { useRect, useToggle } from "@zartui/use";
@@ -1 +1 @@
1
- :root{--zt-calendar-background: var(--zt-background-popup);--zt-calendar-popup-height: 80%;--zt-calendar-body-box-shadow: inset 0 4px 8px 0 var(--zt-gray-a1);--zt-calendar-header-title-height: 44px;--zt-calendar-weekdays-font-color: var(--zt-gray-a8);--zt-calendar-weekdays-background: var(--zt-calendar-background);--zt-calendar-day-height: 14.285vw;--zt-calendar-day-height-half: 7.143vw;--zt-calendar-day-margin-bottom: 4px;--zt-calendar-range-edge-color: var(--zt-white);--zt-calendar-range-edge-background: var(--zt-primary-color);--zt-calendar-range-middle-color: var(--zt-primary-color);--zt-calendar-range-middle-background-opacity: .1;--zt-calendar-selected-day-size: var(--zt-calendar-day-height);--zt-calendar-selected-day-color: var(--zt-white);--zt-calendar-selected-day-background: var(--zt-primary-color);--zt-calendar-day-disabled-color: var(--zt-gray-a2);--zt-calendar-confirm-button-height: 36px;--zt-calendar-confirm-button-margin: 7px 0;--zt-calendar-header-title-color: var(--zt-gray-a4);--zt-calendar-weekday-line-height: 30px;--zt-calendar-header-height: 32px;--zt-calendar-header-subtitle-line-height: 44px}:root[zt-theme-size=large]{--zt-calendar-weekday-line-height: 42px;--zt-calendar-header-height: 44px;--zt-calendar-header-subtitle-line-height: 56px}.zt-calendar{display:flex;flex-direction:column;height:100%;background:var(--zt-calendar-background);color:var(--zt-text-color)}.zt-calendar__popup.zt-popup--top,.zt-calendar__popup.zt-popup--bottom{height:var(--zt-calendar-popup-height)}.zt-calendar__popup.zt-popup--left,.zt-calendar__popup.zt-popup--right{height:100%}.zt-calendar__header{flex-shrink:0}.zt-calendar__svg-defs-path-fill{fill:var(--zt-primary-color)}.zt-calendar__month-title,.zt-calendar__header-title,.zt-calendar__header-subtitle{display:flex;padding:0 16px;color:var(--zt-text-color);height:var(--zt-calendar-header-title-height);line-height:var(--zt-calendar-header-subtitle-line-height);text-align:center;align-items:center;justify-content:center}.zt-calendar__month-title--opt,.zt-calendar__header-title--opt,.zt-calendar__header-subtitle--opt{width:32px;height:32px;line-height:var(--zt-calendar-header-height);border-radius:50%;padding:0;margin:0 8px}.zt-calendar__month-title--right,.zt-calendar__header-title--right,.zt-calendar__header-subtitle--right{transform:rotate(180deg)}.zt-calendar__month-title--unenable,.zt-calendar__header-title--unenable,.zt-calendar__header-subtitle--unenable{opacity:.2}.zt-calendar__month-title--enable,.zt-calendar__header-title--enable,.zt-calendar__header-subtitle--enable{opacity:1}.zt-calendar__month-title--enable:active,.zt-calendar__header-title--enable:active,.zt-calendar__header-subtitle--enable:active{border-radius:50%;background-color:var(--zt-gray-a1);opacity:.6}.zt-calendar__month-title-text,.zt-calendar__header-title-text,.zt-calendar__header-subtitle-text{flex-grow:1}.zt-calendar__header-title{font-size:var(--zt-font-size-md);color:var(--zt-calendar-header-title-color);position:relative;display:flex;justify-content:center;align-items:center}.zt-calendar__header-title:after{top:var(--zt-calendar-header-title-height);content:"";position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-calendar__header-subtitle,.zt-calendar__month-title{font-size:var(--zt-font-size-md)}.zt-calendar__weekdays{display:flex;background-color:rgba(0,0,0,.02)}.zt-calendar__weekday{flex:1;font-size:var(--zt-font-size-sm);line-height:var(--zt-calendar-weekday-line-height);font-weight:var(--zt-font-bold);text-align:center;background:var(--zt-calendar-weekdays-background);color:var(--zt-calendar-weekdays-font-color)}.zt-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;background-color:var(--zt-calendar-background);box-shadow:var(--zt-calendar-body-box-shadow)}.zt-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.zt-calendar__day,.zt-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.zt-calendar__day{position:relative;width:14.285%;height:var(--zt-calendar-day-height);margin-bottom:var(--zt-calendar-day-margin-bottom);font-size:var(--zt-font-size-lg);cursor:pointer;outline:none}.zt-calendar__day--end,.zt-calendar__day--start,.zt-calendar__day--start-end,.zt-calendar__day--multiple-middle,.zt-calendar__day--multiple-selected{color:var(--zt-calendar-range-edge-color);background:var(--zt-calendar-range-edge-background);box-shadow:0 0 0 3px var(--zt-primary-color-a1)}.zt-calendar__day--start{border-radius:var(--zt-calendar-day-height-half) 0 0 var(--zt-calendar-day-height-half);border-right:none}.zt-calendar__day--end{border-radius:0 var(--zt-calendar-day-height-half) var(--zt-calendar-day-height-half) 0;border-left:none}.zt-calendar__day--start-end,.zt-calendar__day--multiple-selected{border-radius:var(--zt-calendar-day-height-half)}.zt-calendar__day--middle{color:var(--zt-calendar-range-middle-color)}.zt-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--zt-calendar-range-middle-background-opacity);content:""}.zt-calendar__day--disabled,.zt-calendar__day--preview{color:var(--zt-calendar-day-disabled-color);cursor:default}.zt-calendar__selected-day{font-weight:var(--zt-font-bold);width:var(--zt-calendar-selected-day-size);height:var(--zt-calendar-selected-day-size);color:var(--zt-calendar-selected-day-color);background:var(--zt-calendar-selected-day-background);border-radius:calc(var(--zt-calendar-selected-day-size) / 2);box-shadow:0 0 0 3px var(--zt-primary-color-a1)}.zt-calendar__footer{flex-shrink:0;display:flex;padding:8px 16px;border-top:1px solid rgba(45,75,115,.1)}.zt-calendar__footer--unfit{padding-bottom:0}.zt-theme-dark{--zt-calendar-range-middle-color: var(--zt-white)}
1
+ :root{--zt-calendar-background: var(--zt-background-popup);--zt-calendar-popup-height: 80%;--zt-calendar-body-box-shadow: inset 0 4px 8px 0 var(--zt-gray-a1);--zt-calendar-header-title-height: 44px;--zt-calendar-weekdays-font-color: var(--zt-gray-a8);--zt-calendar-weekdays-background: var(--zt-calendar-background);--zt-calendar-day-height: 14.285vw;--zt-calendar-day-height-half: 7.143vw;--zt-calendar-day-margin-bottom: 4px;--zt-calendar-range-edge-color: var(--zt-white);--zt-calendar-range-edge-background: var(--zt-primary-color);--zt-calendar-range-middle-color: var(--zt-primary-color);--zt-calendar-range-middle-background-opacity: .1;--zt-calendar-selected-day-size: var(--zt-calendar-day-height);--zt-calendar-selected-day-color: var(--zt-white);--zt-calendar-selected-day-background: var(--zt-primary-color);--zt-calendar-day-disabled-color: var(--zt-gray-a2);--zt-calendar-confirm-button-height: 36px;--zt-calendar-confirm-button-margin: 7px 0;--zt-calendar-header-title-color: var(--zt-gray-a4);--zt-calendar-weekday-line-height: 30px;--zt-calendar-header-height: 32px;--zt-calendar-header-subtitle-line-height: 44px}:root[zt-theme-size=large]{--zt-calendar-weekday-line-height: 42px;--zt-calendar-header-height: 44px;--zt-calendar-header-subtitle-line-height: 56px}.zt-calendar{display:flex;flex-direction:column;height:100%;background:var(--zt-calendar-background);color:var(--zt-text-color)}.zt-calendar__popup.zt-popup--top,.zt-calendar__popup.zt-popup--bottom{height:var(--zt-calendar-popup-height)}.zt-calendar__popup.zt-popup--left,.zt-calendar__popup.zt-popup--right{height:100%}.zt-calendar__header{flex-shrink:0}.zt-calendar__svg-defs-path-fill{fill:var(--zt-primary-color)}.zt-calendar__month-title,.zt-calendar__header-title,.zt-calendar__header-subtitle{display:flex;padding:0 16px;color:var(--zt-text-color);height:var(--zt-calendar-header-title-height);line-height:var(--zt-calendar-header-subtitle-line-height);text-align:center;align-items:center;justify-content:center}.zt-calendar__month-title--opt,.zt-calendar__header-title--opt,.zt-calendar__header-subtitle--opt{width:32px;height:32px;line-height:var(--zt-calendar-header-height);border-radius:50%;padding:0;margin:0 8px}.zt-calendar__month-title--right,.zt-calendar__header-title--right,.zt-calendar__header-subtitle--right{transform:rotate(180deg)}.zt-calendar__month-title--unenable,.zt-calendar__header-title--unenable,.zt-calendar__header-subtitle--unenable{opacity:.2}.zt-calendar__month-title--enable,.zt-calendar__header-title--enable,.zt-calendar__header-subtitle--enable{opacity:1}.zt-calendar__month-title--enable:active,.zt-calendar__header-title--enable:active,.zt-calendar__header-subtitle--enable:active{border-radius:50%;background-color:var(--zt-gray-a1);opacity:.6}.zt-calendar__month-title-text,.zt-calendar__header-title-text,.zt-calendar__header-subtitle-text{flex-grow:1}.zt-calendar__header-title{font-size:var(--zt-font-size-md);color:var(--zt-calendar-header-title-color);position:relative;display:flex;justify-content:center;align-items:center}.zt-calendar__header-title:after{top:var(--zt-calendar-header-title-height);content:"";position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-calendar__header-subtitle,.zt-calendar__month-title{font-size:var(--zt-font-size-md)}.zt-calendar__weekdays{display:flex;background-color:rgba(0,0,0,.02)}.zt-calendar__weekday{flex:1;font-size:var(--zt-font-size-sm);line-height:var(--zt-calendar-weekday-line-height);font-weight:var(--zt-font-bold);text-align:center;background:var(--zt-calendar-weekdays-background);color:var(--zt-calendar-weekdays-font-color)}.zt-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;background-color:var(--zt-calendar-background);box-shadow:var(--zt-calendar-body-box-shadow)}.zt-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.zt-calendar__day,.zt-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.zt-calendar__day{position:relative;width:14.285%;height:var(--zt-calendar-day-height);margin-bottom:var(--zt-calendar-day-margin-bottom);font-size:var(--zt-font-size-lg);cursor:pointer;outline:none}.zt-calendar__day--end,.zt-calendar__day--start,.zt-calendar__day--start-end,.zt-calendar__day--multiple-middle,.zt-calendar__day--multiple-selected{color:var(--zt-calendar-range-edge-color);background:var(--zt-calendar-range-edge-background);box-shadow:0 0 0 3px var(--zt-primary-color-a1)}.zt-calendar__day--start{border-radius:var(--zt-calendar-day-height-half) 0 0 var(--zt-calendar-day-height-half);border-right:none}.zt-calendar__day--end{border-radius:0 var(--zt-calendar-day-height-half) var(--zt-calendar-day-height-half) 0;border-left:none}.zt-calendar__day--start-end,.zt-calendar__day--multiple-selected{border-radius:var(--zt-calendar-day-height-half)}.zt-calendar__day--middle{color:var(--zt-calendar-range-middle-color)}.zt-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--zt-calendar-range-middle-background-opacity);content:""}.zt-calendar__day--disabled,.zt-calendar__day--preview{color:var(--zt-calendar-day-disabled-color);cursor:default}.zt-calendar__selected-day{font-weight:var(--zt-font-bold);width:var(--zt-calendar-selected-day-size);height:var(--zt-calendar-selected-day-size);color:var(--zt-calendar-selected-day-color);background:var(--zt-calendar-selected-day-background);border-radius:calc(var(--zt-calendar-selected-day-size) / 2);box-shadow:0 0 0 3px var(--zt-primary-color-a1)}.zt-calendar__footer{flex-shrink:0;display:flex;padding:8px 16px;border-top:1px solid rgba(45,75,115,.1)}.zt-calendar__footer--unfit{padding-bottom:0}.zt-theme-dark{--zt-calendar-range-middle-color: var(--zt-white)}
@@ -1,4 +1,4 @@
1
- export declare const Calendar: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Calendar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  show: BooleanConstructor;
3
3
  showType: {
4
4
  type: import("vue").PropType<import("./types").CalendarShowType>;
@@ -87,7 +87,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
87
87
  validator: (val: number) => boolean;
88
88
  };
89
89
  disabledDate: import("vue").PropType<(date: Date) => boolean>;
90
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange")[], "select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
90
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange")[], "select" | "cancel" | "update:show" | "clickSubtitle" | "confirm" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
91
91
  show: BooleanConstructor;
92
92
  showType: {
93
93
  type: import("vue").PropType<import("./types").CalendarShowType>;
@@ -176,7 +176,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
176
176
  validator: (val: number) => boolean;
177
177
  };
178
178
  disabledDate: import("vue").PropType<(date: Date) => boolean>;
179
- }>> & {
179
+ }>> & Readonly<{
180
180
  onSelect?: ((...args: any[]) => any) | undefined;
181
181
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
182
182
  onCancel?: ((...args: any[]) => any) | undefined;
@@ -185,7 +185,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
185
185
  onUnselect?: ((...args: any[]) => any) | undefined;
186
186
  onMonthShow?: ((...args: any[]) => any) | undefined;
187
187
  onOverRange?: ((...args: any[]) => any) | undefined;
188
- }, {
188
+ }>, {
189
189
  type: import("./types").CalendarType;
190
190
  position: import("..").PopupPosition;
191
191
  round: boolean;
@@ -207,7 +207,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
207
207
  showWeekDays: boolean;
208
208
  showRangePrompt: boolean;
209
209
  firstDayOfWeek: string | number;
210
- }, {}>>;
210
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
211
211
  export default Calendar;
212
212
  export { calendarProps } from './Calendar';
213
213
  export type { CalendarProps } from './Calendar';
@@ -51,7 +51,7 @@ export declare const cascaderProps: {
51
51
  };
52
52
  };
53
53
  export type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
54
- declare const _default: import("vue").DefineComponent<{
54
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
55
55
  title: StringConstructor;
56
56
  show: BooleanConstructor;
57
57
  round: {
@@ -99,7 +99,7 @@ declare const _default: import("vue").DefineComponent<{
99
99
  type: BooleanConstructor;
100
100
  default: true;
101
101
  };
102
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").PublicProps, Readonly<ExtractPropTypes<{
102
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").PublicProps, Readonly<ExtractPropTypes<{
103
103
  title: StringConstructor;
104
104
  show: BooleanConstructor;
105
105
  round: {
@@ -147,14 +147,14 @@ declare const _default: import("vue").DefineComponent<{
147
147
  type: BooleanConstructor;
148
148
  default: true;
149
149
  };
150
- }>> & {
150
+ }>> & Readonly<{
151
151
  onChange?: ((...args: any[]) => any) | undefined;
152
152
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
153
153
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
154
154
  onCancel?: ((...args: any[]) => any) | undefined;
155
155
  onClickTab?: ((...args: any[]) => any) | undefined;
156
156
  onFinish?: ((...args: any[]) => any) | undefined;
157
- }, {
157
+ }>, {
158
158
  position: PopupPosition;
159
159
  round: boolean;
160
160
  show: boolean;
@@ -167,5 +167,5 @@ declare const _default: import("vue").DefineComponent<{
167
167
  swipeable: boolean;
168
168
  options: CascaderOption[];
169
169
  showHeader: boolean;
170
- }, {}>;
170
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
171
171
  export default _default;
@@ -1,5 +1,4 @@
1
- import { createTextVNode as _createTextVNode, createVNode as _createVNode } from "vue";
2
- import { ref, watch, nextTick, defineComponent } from "vue";
1
+ import { ref, watch, nextTick, defineComponent, createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
3
2
  import { extend, truthProp, numericProp, makeArrayProp, makeStringProp, createNamespace, isSameValue } from "../utils/index.mjs";
4
3
  import { Tab } from "../tab/index.mjs";
5
4
  import { Tabs } from "../tabs/index.mjs";
@@ -1,4 +1,4 @@
1
- export declare const Cascader: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Cascader: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  title: StringConstructor;
3
3
  show: BooleanConstructor;
4
4
  round: {
@@ -46,7 +46,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
46
46
  type: BooleanConstructor;
47
47
  default: true;
48
48
  };
49
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
50
  title: StringConstructor;
51
51
  show: BooleanConstructor;
52
52
  round: {
@@ -94,14 +94,14 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
94
94
  type: BooleanConstructor;
95
95
  default: true;
96
96
  };
97
- }>> & {
97
+ }>> & Readonly<{
98
98
  onChange?: ((...args: any[]) => any) | undefined;
99
99
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
100
100
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
101
101
  onCancel?: ((...args: any[]) => any) | undefined;
102
102
  onClickTab?: ((...args: any[]) => any) | undefined;
103
103
  onFinish?: ((...args: any[]) => any) | undefined;
104
- }, {
104
+ }>, {
105
105
  position: import("..").PopupPosition;
106
106
  round: boolean;
107
107
  show: boolean;
@@ -114,7 +114,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
114
114
  swipeable: boolean;
115
115
  options: import("./types").CascaderOption[];
116
116
  showHeader: boolean;
117
- }, {}>>;
117
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
118
118
  export default Cascader;
119
119
  export { cascaderProps } from './Cascader';
120
120
  export type { CascaderProps } from './Cascader';
package/es/cell/Cell.d.ts CHANGED
@@ -93,9 +93,10 @@ declare const cellProps: {
93
93
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
94
94
  url: StringConstructor;
95
95
  replace: BooleanConstructor;
96
+ $router: PropType<import("vue-router").Router>;
96
97
  };
97
98
  export type CellProps = ExtractPropTypes<typeof cellProps>;
98
- declare const _default: import("vue").DefineComponent<{
99
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
99
100
  leftIcon: StringConstructor;
100
101
  titleIcon: StringConstructor;
101
102
  title: (NumberConstructor | StringConstructor)[];
@@ -142,7 +143,8 @@ declare const _default: import("vue").DefineComponent<{
142
143
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
143
144
  url: StringConstructor;
144
145
  replace: BooleanConstructor;
145
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
146
+ $router: PropType<import("vue-router").Router>;
147
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
146
148
  leftIcon: StringConstructor;
147
149
  titleIcon: StringConstructor;
148
150
  title: (NumberConstructor | StringConstructor)[];
@@ -189,10 +191,11 @@ declare const _default: import("vue").DefineComponent<{
189
191
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
190
192
  url: StringConstructor;
191
193
  replace: BooleanConstructor;
192
- }>> & {
194
+ $router: PropType<import("vue-router").Router>;
195
+ }>> & Readonly<{
193
196
  onClick?: ((...args: any[]) => any) | undefined;
194
197
  onClear?: ((...args: any[]) => any) | undefined;
195
- }, {
198
+ }>, {
196
199
  replace: boolean;
197
200
  center: boolean;
198
201
  value: string;
@@ -204,5 +207,5 @@ declare const _default: import("vue").DefineComponent<{
204
207
  clearable: boolean;
205
208
  clearIcon: string;
206
209
  description: string;
207
- }, {}>;
210
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
208
211
  export default _default;
package/es/cell/Cell.mjs CHANGED
@@ -1,5 +1,4 @@
1
- import { createVNode as _createVNode } from "vue";
2
- import { computed, defineComponent, ref } from "vue";
1
+ import { computed, defineComponent, ref, createVNode as _createVNode } from "vue";
3
2
  import { isDef, extend, truthProp, unknownProp, numericProp, createNamespace, makeStringProp, preventDefault } from "../utils/index.mjs";
4
3
  import { useRoute, routeProps } from "../composables/use-route.mjs";
5
4
  import { useEventListener } from "@zartui/use";
@@ -1,4 +1,4 @@
1
- export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  leftIcon: StringConstructor;
3
3
  titleIcon: StringConstructor;
4
4
  title: (NumberConstructor | StringConstructor)[];
@@ -45,7 +45,8 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
45
45
  to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
46
46
  url: StringConstructor;
47
47
  replace: BooleanConstructor;
48
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
48
+ $router: import("vue").PropType<import("vue-router").Router>;
49
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
50
  leftIcon: StringConstructor;
50
51
  titleIcon: StringConstructor;
51
52
  title: (NumberConstructor | StringConstructor)[];
@@ -92,10 +93,11 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
92
93
  to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
93
94
  url: StringConstructor;
94
95
  replace: BooleanConstructor;
95
- }>> & {
96
+ $router: import("vue").PropType<import("vue-router").Router>;
97
+ }>> & Readonly<{
96
98
  onClick?: ((...args: any[]) => any) | undefined;
97
99
  onClear?: ((...args: any[]) => any) | undefined;
98
- }, {
100
+ }>, {
99
101
  replace: boolean;
100
102
  center: boolean;
101
103
  value: string;
@@ -107,7 +109,7 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
107
109
  clearable: boolean;
108
110
  clearIcon: string;
109
111
  description: string;
110
- }, {}>>;
112
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
111
113
  export default Cell;
112
114
  export type { CellProps, CellArrowDirection } from './Cell';
113
115
  export type { CellDirection, CellThemeVars } from './types';
@@ -8,22 +8,22 @@ declare const cellGroupProps: {
8
8
  };
9
9
  };
10
10
  export type CellGroupProps = ExtractPropTypes<typeof cellGroupProps>;
11
- declare const _default: import("vue").DefineComponent<{
11
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
12
12
  title: StringConstructor;
13
13
  inset: BooleanConstructor;
14
14
  border: {
15
15
  type: BooleanConstructor;
16
16
  default: true;
17
17
  };
18
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
18
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
19
19
  title: StringConstructor;
20
20
  inset: BooleanConstructor;
21
21
  border: {
22
22
  type: BooleanConstructor;
23
23
  default: true;
24
24
  };
25
- }>>, {
25
+ }>> & Readonly<{}>, {
26
26
  inset: boolean;
27
27
  border: boolean;
28
- }, {}>;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
29
  export default _default;
@@ -1,5 +1,4 @@
1
- import { Fragment as _Fragment, createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
2
- import { defineComponent } from "vue";
1
+ import { defineComponent, mergeProps as _mergeProps, createVNode as _createVNode, Fragment as _Fragment } from "vue";
3
2
  import { truthProp, createNamespace, BORDER_TOP_BOTTOM } from "../utils/index.mjs";
4
3
  import { useScopeId } from "../composables/use-scope-id.mjs";
5
4
  const [name, bem] = createNamespace("cell-group");
@@ -1,21 +1,21 @@
1
- export declare const CellGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const CellGroup: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  title: StringConstructor;
3
3
  inset: BooleanConstructor;
4
4
  border: {
5
5
  type: BooleanConstructor;
6
6
  default: true;
7
7
  };
8
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
9
  title: StringConstructor;
10
10
  inset: BooleanConstructor;
11
11
  border: {
12
12
  type: BooleanConstructor;
13
13
  default: true;
14
14
  };
15
- }>>, {
15
+ }>> & Readonly<{}>, {
16
16
  inset: boolean;
17
17
  border: boolean;
18
- }, {}>>;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
19
19
  export default CellGroup;
20
20
  export type { CellGroupProps } from './CellGroup';
21
21
  declare module 'vue' {