zartui 3.1.23-beta.2 → 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 (671) 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 +18 -5
  6. package/es/audio/Audio.mjs +7 -5
  7. package/es/audio/index.d.ts +14 -5
  8. package/es/avatar/Avatar.d.ts +4 -4
  9. package/es/avatar/Avatar.mjs +1 -2
  10. package/es/avatar/index.d.ts +4 -4
  11. package/es/badge/Badge.d.ts +4 -4
  12. package/es/badge/Badge.mjs +1 -2
  13. package/es/badge/index.d.ts +4 -4
  14. package/es/button/Button.d.ts +8 -5
  15. package/es/button/Button.mjs +1 -2
  16. package/es/button/index.d.ts +7 -5
  17. package/es/calendar/Calendar.d.ts +5 -5
  18. package/es/calendar/Calendar.mjs +1 -2
  19. package/es/calendar/CalendarDay.d.ts +5 -5
  20. package/es/calendar/CalendarDay.mjs +1 -2
  21. package/es/calendar/CalendarHeader.d.ts +5 -5
  22. package/es/calendar/CalendarHeader.mjs +1 -2
  23. package/es/calendar/CalendarMonth.d.ts +5 -5
  24. package/es/calendar/CalendarMonth.mjs +1 -2
  25. package/es/calendar/index.css +1 -1
  26. package/es/calendar/index.d.ts +5 -5
  27. package/es/cascader/Cascader.d.ts +5 -5
  28. package/es/cascader/Cascader.mjs +1 -2
  29. package/es/cascader/index.d.ts +5 -5
  30. package/es/cell/Cell.d.ts +8 -5
  31. package/es/cell/Cell.mjs +1 -2
  32. package/es/cell/index.d.ts +7 -5
  33. package/es/cell-group/CellGroup.d.ts +4 -4
  34. package/es/cell-group/CellGroup.mjs +1 -2
  35. package/es/cell-group/index.d.ts +4 -4
  36. package/es/checkbox/Checkbox.d.ts +5 -5
  37. package/es/checkbox/Checkbox.mjs +1 -2
  38. package/es/checkbox/Checker.d.ts +5 -5
  39. package/es/checkbox/Checker.mjs +1 -2
  40. package/es/checkbox/index.css +1 -1
  41. package/es/checkbox/index.d.ts +5 -5
  42. package/es/checkbox-group/CheckboxGroup.d.ts +5 -5
  43. package/es/checkbox-group/CheckboxGroup.mjs +1 -2
  44. package/es/checkbox-group/index.d.ts +5 -5
  45. package/es/col/Col.d.ts +4 -4
  46. package/es/col/Col.mjs +1 -2
  47. package/es/col/index.d.ts +4 -4
  48. package/es/collapse/Collapse.d.ts +5 -5
  49. package/es/collapse/Collapse.mjs +1 -2
  50. package/es/collapse/index.d.ts +5 -5
  51. package/es/collapse-item/CollapseItem.d.ts +4 -4
  52. package/es/collapse-item/CollapseItem.mjs +1 -2
  53. package/es/collapse-item/index.css +1 -1
  54. package/es/collapse-item/index.d.ts +4 -4
  55. package/es/composables/use-height.d.ts +1 -1
  56. package/es/composables/use-refs.d.ts +1 -1
  57. package/es/composables/use-route.d.ts +2 -0
  58. package/es/composables/use-route.mjs +2 -1
  59. package/es/composables/use-sync-prop-ref.d.ts +1 -1
  60. package/es/composables/use-touch.d.ts +8 -8
  61. package/es/config-provider/ConfigProvider.d.ts +4 -4
  62. package/es/config-provider/ConfigProvider.mjs +1 -2
  63. package/es/config-provider/index.d.ts +4 -4
  64. package/es/date-time-picker/DateTimePicker.d.ts +5 -5
  65. package/es/date-time-picker/DateTimePicker.mjs +1 -2
  66. package/es/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
  67. package/es/date-time-picker/DateTimePickerWrapper.mjs +1 -2
  68. package/es/date-time-picker/index.d.ts +5 -5
  69. package/es/dialog/Dialog.d.ts +5 -5
  70. package/es/dialog/Dialog.mjs +1 -2
  71. package/es/dialog/function-call.mjs +1 -1
  72. package/es/dialog/index.css +1 -1
  73. package/es/dialog/index.d.ts +5 -5
  74. package/es/divider/Divider.d.ts +4 -4
  75. package/es/divider/Divider.mjs +1 -2
  76. package/es/divider/index.d.ts +4 -4
  77. package/es/drawer-select/DrawerSelect.d.ts +5 -5
  78. package/es/drawer-select/DrawerSelect.mjs +1 -2
  79. package/es/drawer-select/index.d.ts +5 -5
  80. package/es/dropdown-item/DropdownItem.d.ts +6 -6
  81. package/es/dropdown-item/DropdownItem.mjs +1 -2
  82. package/es/dropdown-item/index.d.ts +6 -6
  83. package/es/dropdown-menu/DropdownMenu.d.ts +4 -4
  84. package/es/dropdown-menu/DropdownMenu.mjs +1 -2
  85. package/es/dropdown-menu/index.css +1 -1
  86. package/es/dropdown-menu/index.d.ts +4 -4
  87. package/es/empty/Empty.d.ts +4 -4
  88. package/es/empty/Empty.mjs +1 -2
  89. package/es/empty/index.d.ts +4 -4
  90. package/es/field/Field.d.ts +5 -5
  91. package/es/field/Field.mjs +1 -2
  92. package/es/field/index.css +1 -1
  93. package/es/field/index.d.ts +5 -5
  94. package/es/floating-bubble/FloatingBubble.d.ts +5 -5
  95. package/es/floating-bubble/FloatingBubble.mjs +1 -2
  96. package/es/floating-bubble/index.css +1 -1
  97. package/es/floating-bubble/index.d.ts +5 -5
  98. package/es/form/Form.d.ts +5 -5
  99. package/es/form/Form.mjs +1 -2
  100. package/es/form/index.d.ts +5 -5
  101. package/es/grid/Grid.d.ts +4 -4
  102. package/es/grid/Grid.mjs +1 -2
  103. package/es/grid/index.d.ts +4 -4
  104. package/es/grid-item/GridItem.d.ts +7 -4
  105. package/es/grid-item/GridItem.mjs +1 -2
  106. package/es/grid-item/index.d.ts +6 -4
  107. package/es/hierarchy-select/Breadcrumb.d.ts +5 -5
  108. package/es/hierarchy-select/Breadcrumb.mjs +1 -2
  109. package/es/hierarchy-select/HierarchySelect.d.ts +5 -5
  110. package/es/hierarchy-select/HierarchySelect.mjs +1 -2
  111. package/es/hierarchy-select/index.d.ts +5 -5
  112. package/es/icon/Icon.d.ts +4 -4
  113. package/es/icon/Icon.mjs +1 -2
  114. package/es/icon/index.css +1 -1
  115. package/es/icon/index.d.ts +4 -4
  116. package/es/image/Image.d.ts +5 -5
  117. package/es/image/Image.mjs +1 -2
  118. package/es/image/index.d.ts +5 -5
  119. package/es/image-preview/ImagePreview.d.ts +5 -5
  120. package/es/image-preview/ImagePreview.mjs +1 -2
  121. package/es/image-preview/ImagePreviewItem.d.ts +5 -5
  122. package/es/image-preview/ImagePreviewItem.mjs +1 -2
  123. package/es/image-preview/function-call.mjs +1 -1
  124. package/es/image-preview/index.d.ts +5 -5
  125. package/es/index-anchor/IndexAnchor.d.ts +3 -3
  126. package/es/index-anchor/IndexAnchor.mjs +1 -2
  127. package/es/index-anchor/index.d.ts +3 -3
  128. package/es/index-bar/IndexBar.d.ts +5 -5
  129. package/es/index-bar/IndexBar.mjs +1 -2
  130. package/es/index-bar/index.css +1 -1
  131. package/es/index-bar/index.d.ts +5 -5
  132. package/es/index.d.ts +1 -1
  133. package/es/index.mjs +1 -1
  134. package/es/list/List.d.ts +5 -5
  135. package/es/list/List.mjs +1 -2
  136. package/es/list/index.d.ts +5 -5
  137. package/es/loading/Loading.d.ts +4 -4
  138. package/es/loading/Loading.mjs +1 -2
  139. package/es/loading/index.d.ts +4 -4
  140. package/es/media-picker/MediaPicker.d.ts +9 -5
  141. package/es/media-picker/MediaPicker.mjs +5 -4
  142. package/es/media-picker/image/DefaultAudioIcon.d.ts +1 -1
  143. package/es/media-picker/image/DefaultAudioIcon.mjs +1 -2
  144. package/es/media-picker/image/DefaultFileIcon.d.ts +1 -1
  145. package/es/media-picker/image/DefaultFileIcon.mjs +1 -2
  146. package/es/media-picker/image/DefaultVideoIcon.d.ts +1 -1
  147. package/es/media-picker/image/DefaultVideoIcon.mjs +1 -2
  148. package/es/media-picker/image/DeleteIcon.d.ts +1 -1
  149. package/es/media-picker/image/DeleteIcon.mjs +1 -2
  150. package/es/media-picker/image/PickFileIcon.d.ts +1 -1
  151. package/es/media-picker/image/PickFileIcon.mjs +1 -2
  152. package/es/media-picker/image/PickPhotoIcon.d.ts +1 -1
  153. package/es/media-picker/image/PickPhotoIcon.mjs +1 -2
  154. package/es/media-picker/image/TakeAudioIcon.d.ts +1 -1
  155. package/es/media-picker/image/TakeAudioIcon.mjs +1 -2
  156. package/es/media-picker/image/TakePhotoIcon.d.ts +1 -1
  157. package/es/media-picker/image/TakePhotoIcon.mjs +1 -2
  158. package/es/media-picker/image/TakeVideoIcon.d.ts +1 -1
  159. package/es/media-picker/image/TakeVideoIcon.mjs +1 -2
  160. package/es/media-picker/index.css +1 -1
  161. package/es/media-picker/index.d.ts +7 -5
  162. package/es/media-player/MediaPlayer.d.ts +21 -5
  163. package/es/media-player/MediaPlayer.mjs +7 -3
  164. package/es/media-player/index.d.ts +14 -5
  165. package/es/multiple-picker/MultiplePicker.d.ts +5 -5
  166. package/es/multiple-picker/MultiplePicker.mjs +1 -2
  167. package/es/multiple-picker/MultiplePickerOptions.d.ts +5 -5
  168. package/es/multiple-picker/MultiplePickerOptions.mjs +1 -2
  169. package/es/multiple-picker/index.css +1 -1
  170. package/es/multiple-picker/index.d.ts +5 -5
  171. package/es/nav-bar/NavBar.d.ts +5 -5
  172. package/es/nav-bar/NavBar.mjs +1 -2
  173. package/es/nav-bar/index.css +1 -1
  174. package/es/nav-bar/index.d.ts +5 -5
  175. package/es/notice-bar/NoticeBar.d.ts +5 -5
  176. package/es/notice-bar/NoticeBar.mjs +1 -2
  177. package/es/notice-bar/index.d.ts +5 -5
  178. package/es/notify/Notify.d.ts +5 -5
  179. package/es/notify/Notify.mjs +1 -2
  180. package/es/notify/function-call.mjs +1 -1
  181. package/es/notify/index.d.ts +5 -5
  182. package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
  183. package/es/number-keyboard/NumberKeyboard.mjs +1 -2
  184. package/es/number-keyboard/NumberKeyboardKey.d.ts +5 -5
  185. package/es/number-keyboard/NumberKeyboardKey.mjs +1 -2
  186. package/es/number-keyboard/index.css +1 -1
  187. package/es/number-keyboard/index.d.ts +6 -6
  188. package/es/overlay/Overlay.d.ts +4 -4
  189. package/es/overlay/Overlay.mjs +1 -2
  190. package/es/overlay/index.d.ts +4 -4
  191. package/es/password-input/PasswordInput.d.ts +5 -5
  192. package/es/password-input/PasswordInput.mjs +1 -2
  193. package/es/password-input/index.css +1 -1
  194. package/es/password-input/index.d.ts +5 -5
  195. package/es/picker/Picker.d.ts +5 -5
  196. package/es/picker/Picker.mjs +1 -2
  197. package/es/picker/PickerColumn.d.ts +5 -5
  198. package/es/picker/PickerColumn.mjs +1 -2
  199. package/es/picker/PickerOptions.d.ts +5 -5
  200. package/es/picker/PickerOptions.mjs +1 -2
  201. package/es/picker/PickerToolbar.d.ts +4 -4
  202. package/es/picker/PickerToolbar.mjs +1 -2
  203. package/es/picker/index.css +1 -1
  204. package/es/picker/index.d.ts +5 -5
  205. package/es/popover/Popover.d.ts +5 -5
  206. package/es/popover/Popover.mjs +1 -2
  207. package/es/popover/index.d.ts +5 -5
  208. package/es/popup/Popup.d.ts +6 -6
  209. package/es/popup/Popup.mjs +1 -2
  210. package/es/popup/index.css +1 -1
  211. package/es/popup/index.d.ts +6 -6
  212. package/es/pull-refresh/PullRefresh.d.ts +5 -5
  213. package/es/pull-refresh/PullRefresh.mjs +1 -2
  214. package/es/pull-refresh/index.d.ts +5 -5
  215. package/es/radio/Radio.d.ts +5 -5
  216. package/es/radio/Radio.mjs +1 -2
  217. package/es/radio/index.css +1 -1
  218. package/es/radio/index.d.ts +5 -5
  219. package/es/radio-group/RadioGroup.d.ts +5 -5
  220. package/es/radio-group/RadioGroup.mjs +1 -2
  221. package/es/radio-group/index.d.ts +5 -5
  222. package/es/radio-picker/RadioPicker.d.ts +5 -5
  223. package/es/radio-picker/RadioPicker.mjs +1 -2
  224. package/es/radio-picker/RadioPickerColumn.d.ts +5 -5
  225. package/es/radio-picker/RadioPickerColumn.mjs +1 -2
  226. package/es/radio-picker/RadioPickerToolbar.d.ts +4 -4
  227. package/es/radio-picker/RadioPickerToolbar.mjs +1 -2
  228. package/es/radio-picker/index.css +1 -1
  229. package/es/radio-picker/index.d.ts +5 -5
  230. package/es/rate/Rate.d.ts +5 -5
  231. package/es/rate/Rate.mjs +1 -2
  232. package/es/rate/index.css +1 -1
  233. package/es/rate/index.d.ts +5 -5
  234. package/es/row/Row.d.ts +4 -4
  235. package/es/row/Row.mjs +1 -2
  236. package/es/row/index.d.ts +4 -4
  237. package/es/search/Search.d.ts +5 -5
  238. package/es/search/Search.mjs +1 -2
  239. package/es/search/index.css +1 -1
  240. package/es/search/index.d.ts +5 -5
  241. package/es/signature/Signature.d.ts +5 -5
  242. package/es/signature/Signature.mjs +1 -2
  243. package/es/signature/index.d.ts +5 -5
  244. package/es/skeleton/Skeleton.d.ts +5 -5
  245. package/es/skeleton/Skeleton.mjs +1 -2
  246. package/es/skeleton/index.d.ts +5 -5
  247. package/es/slider/Slider.d.ts +5 -5
  248. package/es/slider/Slider.mjs +1 -2
  249. package/es/slider/index.css +1 -1
  250. package/es/slider/index.d.ts +5 -5
  251. package/es/step/Step.d.ts +3 -3
  252. package/es/step/Step.mjs +1 -2
  253. package/es/step/index.css +1 -1
  254. package/es/step/index.d.ts +3 -3
  255. package/es/stepper/Stepper.d.ts +5 -5
  256. package/es/stepper/Stepper.mjs +1 -2
  257. package/es/stepper/index.css +1 -1
  258. package/es/stepper/index.d.ts +5 -5
  259. package/es/steps/Steps.d.ts +5 -5
  260. package/es/steps/Steps.mjs +1 -2
  261. package/es/steps/index.d.ts +5 -5
  262. package/es/sticky/Sticky.d.ts +5 -5
  263. package/es/sticky/Sticky.mjs +1 -2
  264. package/es/sticky/index.d.ts +5 -5
  265. package/es/swipe/Swipe.d.ts +5 -5
  266. package/es/swipe/Swipe.mjs +1 -2
  267. package/es/swipe/index.css +1 -1
  268. package/es/swipe/index.d.ts +5 -5
  269. package/es/swipe-cell/SwipeCell.d.ts +6 -6
  270. package/es/swipe-cell/SwipeCell.mjs +1 -2
  271. package/es/swipe-cell/index.css +1 -1
  272. package/es/swipe-cell/index.d.ts +6 -6
  273. package/es/swipe-item/SwipeItem.d.ts +1 -1
  274. package/es/swipe-item/SwipeItem.mjs +1 -2
  275. package/es/swipe-item/index.d.ts +1 -1
  276. package/es/switch/Switch.d.ts +5 -5
  277. package/es/switch/Switch.mjs +1 -2
  278. package/es/switch/index.d.ts +5 -5
  279. package/es/tab/Tab.d.ts +7 -4
  280. package/es/tab/Tab.mjs +1 -2
  281. package/es/tab/index.d.ts +6 -4
  282. package/es/tabbar/Tabbar.d.ts +5 -5
  283. package/es/tabbar/Tabbar.mjs +1 -2
  284. package/es/tabbar/index.d.ts +5 -5
  285. package/es/tabbar-item/TabbarItem.d.ts +8 -5
  286. package/es/tabbar-item/TabbarItem.mjs +1 -2
  287. package/es/tabbar-item/index.css +1 -1
  288. package/es/tabbar-item/index.d.ts +7 -5
  289. package/es/table/Table.d.ts +5 -5
  290. package/es/table/Table.mjs +1 -2
  291. package/es/table/index.css +1 -1
  292. package/es/table/index.d.ts +5 -5
  293. package/es/tabs/Tabs.d.ts +5 -5
  294. package/es/tabs/Tabs.mjs +1 -2
  295. package/es/tabs/TabsContent.d.ts +5 -5
  296. package/es/tabs/TabsContent.mjs +1 -2
  297. package/es/tabs/TabsTitle.d.ts +4 -4
  298. package/es/tabs/TabsTitle.mjs +1 -2
  299. package/es/tabs/index.css +1 -1
  300. package/es/tabs/index.d.ts +5 -5
  301. package/es/tag/Tag.d.ts +5 -5
  302. package/es/tag/Tag.mjs +1 -2
  303. package/es/tag/index.d.ts +5 -5
  304. package/es/text-ellipsis/TextEllipsis.d.ts +5 -5
  305. package/es/text-ellipsis/TextEllipsis.mjs +1 -2
  306. package/es/text-ellipsis/index.d.ts +5 -5
  307. package/es/time-picker/Arrow.d.ts +2 -2
  308. package/es/time-picker/Arrow.mjs +1 -2
  309. package/es/time-picker/TimePicker.d.ts +5 -5
  310. package/es/time-picker/TimePicker.mjs +1 -2
  311. package/es/time-picker/TimePickerColumn.d.ts +5 -5
  312. package/es/time-picker/TimePickerColumn.mjs +1 -2
  313. package/es/time-picker/index.css +1 -1
  314. package/es/time-picker/index.d.ts +5 -5
  315. package/es/timeline/Timeline.d.ts +4 -4
  316. package/es/timeline/Timeline.mjs +1 -2
  317. package/es/timeline/index.d.ts +4 -4
  318. package/es/toast/Toast.d.ts +5 -5
  319. package/es/toast/Toast.mjs +1 -2
  320. package/es/toast/function-call.mjs +1 -2
  321. package/es/toast/index.css +1 -1
  322. package/es/toast/index.d.ts +5 -5
  323. package/es/uploader/Uploader.d.ts +5 -5
  324. package/es/uploader/Uploader.mjs +1 -2
  325. package/es/uploader/UploaderPreviewItem.d.ts +5 -5
  326. package/es/uploader/UploaderPreviewItem.mjs +1 -2
  327. package/es/uploader/index.d.ts +5 -5
  328. package/es/utils/dom.d.ts +1 -1
  329. package/es/utils/mount-component.d.ts +1 -1
  330. package/es/video/Video.d.ts +8 -5
  331. package/es/video/Video.mjs +5 -3
  332. package/es/video/index.css +1 -1
  333. package/es/video/index.d.ts +7 -5
  334. package/es/video/types.d.ts +1 -0
  335. package/lib/action-sheet/ActionSheet.d.ts +5 -5
  336. package/lib/action-sheet/ActionSheet.js +2 -3
  337. package/lib/action-sheet/index.d.ts +5 -5
  338. package/lib/audio/Audio.d.ts +18 -5
  339. package/lib/audio/Audio.js +11 -9
  340. package/lib/audio/index.d.ts +14 -5
  341. package/lib/avatar/Avatar.d.ts +4 -4
  342. package/lib/avatar/Avatar.js +4 -5
  343. package/lib/avatar/index.d.ts +4 -4
  344. package/lib/badge/Badge.d.ts +4 -4
  345. package/lib/badge/Badge.js +2 -3
  346. package/lib/badge/index.d.ts +4 -4
  347. package/lib/button/Button.d.ts +8 -5
  348. package/lib/button/Button.js +1 -2
  349. package/lib/button/index.d.ts +7 -5
  350. package/lib/calendar/Calendar.d.ts +5 -5
  351. package/lib/calendar/Calendar.js +19 -20
  352. package/lib/calendar/CalendarDay.d.ts +5 -5
  353. package/lib/calendar/CalendarDay.js +2 -3
  354. package/lib/calendar/CalendarHeader.d.ts +5 -5
  355. package/lib/calendar/CalendarHeader.js +1 -2
  356. package/lib/calendar/CalendarMonth.d.ts +5 -5
  357. package/lib/calendar/CalendarMonth.js +11 -12
  358. package/lib/calendar/index.css +1 -1
  359. package/lib/calendar/index.d.ts +5 -5
  360. package/lib/cascader/Cascader.d.ts +5 -5
  361. package/lib/cascader/Cascader.js +11 -12
  362. package/lib/cascader/index.d.ts +5 -5
  363. package/lib/cell/Cell.d.ts +8 -5
  364. package/lib/cell/Cell.js +5 -6
  365. package/lib/cell/index.d.ts +7 -5
  366. package/lib/cell-group/CellGroup.d.ts +4 -4
  367. package/lib/cell-group/CellGroup.js +1 -2
  368. package/lib/cell-group/index.d.ts +4 -4
  369. package/lib/checkbox/Checkbox.d.ts +5 -5
  370. package/lib/checkbox/Checkbox.js +3 -4
  371. package/lib/checkbox/Checker.d.ts +5 -5
  372. package/lib/checkbox/Checker.js +5 -6
  373. package/lib/checkbox/index.css +1 -1
  374. package/lib/checkbox/index.d.ts +5 -5
  375. package/lib/checkbox-group/CheckboxGroup.d.ts +5 -5
  376. package/lib/checkbox-group/CheckboxGroup.js +2 -3
  377. package/lib/checkbox-group/index.d.ts +5 -5
  378. package/lib/col/Col.d.ts +4 -4
  379. package/lib/col/Col.js +2 -3
  380. package/lib/col/index.d.ts +4 -4
  381. package/lib/collapse/Collapse.d.ts +5 -5
  382. package/lib/collapse/Collapse.js +1 -2
  383. package/lib/collapse/index.d.ts +5 -5
  384. package/lib/collapse-item/CollapseItem.d.ts +4 -4
  385. package/lib/collapse-item/CollapseItem.js +8 -9
  386. package/lib/collapse-item/index.css +1 -1
  387. package/lib/collapse-item/index.d.ts +4 -4
  388. package/lib/composables/use-height.d.ts +1 -1
  389. package/lib/composables/use-refs.d.ts +1 -1
  390. package/lib/composables/use-route.d.ts +2 -0
  391. package/lib/composables/use-route.js +2 -1
  392. package/lib/composables/use-sync-prop-ref.d.ts +1 -1
  393. package/lib/composables/use-touch.d.ts +8 -8
  394. package/lib/config-provider/ConfigProvider.d.ts +4 -4
  395. package/lib/config-provider/ConfigProvider.js +10 -11
  396. package/lib/config-provider/index.d.ts +4 -4
  397. package/lib/date-time-picker/DateTimePicker.d.ts +5 -5
  398. package/lib/date-time-picker/DateTimePicker.js +17 -18
  399. package/lib/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
  400. package/lib/date-time-picker/DateTimePickerWrapper.js +12 -13
  401. package/lib/date-time-picker/index.d.ts +5 -5
  402. package/lib/dialog/Dialog.d.ts +5 -5
  403. package/lib/dialog/Dialog.js +4 -5
  404. package/lib/dialog/index.css +1 -1
  405. package/lib/dialog/index.d.ts +5 -5
  406. package/lib/divider/Divider.d.ts +4 -4
  407. package/lib/divider/Divider.js +1 -2
  408. package/lib/divider/index.d.ts +4 -4
  409. package/lib/drawer-select/DrawerSelect.d.ts +5 -5
  410. package/lib/drawer-select/DrawerSelect.js +13 -14
  411. package/lib/drawer-select/index.d.ts +5 -5
  412. package/lib/dropdown-item/DropdownItem.d.ts +6 -6
  413. package/lib/dropdown-item/DropdownItem.js +5 -6
  414. package/lib/dropdown-item/index.d.ts +6 -6
  415. package/lib/dropdown-menu/DropdownMenu.d.ts +4 -4
  416. package/lib/dropdown-menu/DropdownMenu.js +6 -7
  417. package/lib/dropdown-menu/index.css +1 -1
  418. package/lib/dropdown-menu/index.d.ts +4 -4
  419. package/lib/empty/Empty.d.ts +4 -4
  420. package/lib/empty/Empty.js +1 -2
  421. package/lib/empty/index.d.ts +4 -4
  422. package/lib/field/Field.d.ts +5 -5
  423. package/lib/field/Field.js +18 -19
  424. package/lib/field/index.css +1 -1
  425. package/lib/field/index.d.ts +5 -5
  426. package/lib/floating-bubble/FloatingBubble.d.ts +5 -5
  427. package/lib/floating-bubble/FloatingBubble.js +14 -15
  428. package/lib/floating-bubble/index.css +1 -1
  429. package/lib/floating-bubble/index.d.ts +5 -5
  430. package/lib/form/Form.d.ts +5 -5
  431. package/lib/form/Form.js +1 -2
  432. package/lib/form/index.d.ts +5 -5
  433. package/lib/grid/Grid.d.ts +4 -4
  434. package/lib/grid/Grid.js +1 -2
  435. package/lib/grid/index.d.ts +4 -4
  436. package/lib/grid-item/GridItem.d.ts +7 -4
  437. package/lib/grid-item/GridItem.js +3 -4
  438. package/lib/grid-item/index.d.ts +6 -4
  439. package/lib/hierarchy-select/Breadcrumb.d.ts +5 -5
  440. package/lib/hierarchy-select/Breadcrumb.js +1 -2
  441. package/lib/hierarchy-select/HierarchySelect.d.ts +5 -5
  442. package/lib/hierarchy-select/HierarchySelect.js +6 -7
  443. package/lib/hierarchy-select/index.d.ts +5 -5
  444. package/lib/icon/Icon.d.ts +4 -4
  445. package/lib/icon/Icon.js +3 -4
  446. package/lib/icon/index.css +1 -1
  447. package/lib/icon/index.d.ts +4 -4
  448. package/lib/image/Image.d.ts +5 -5
  449. package/lib/image/Image.js +9 -10
  450. package/lib/image/index.d.ts +5 -5
  451. package/lib/image-preview/ImagePreview.d.ts +5 -5
  452. package/lib/image-preview/ImagePreview.js +8 -9
  453. package/lib/image-preview/ImagePreviewItem.d.ts +5 -5
  454. package/lib/image-preview/ImagePreviewItem.js +10 -11
  455. package/lib/image-preview/index.d.ts +5 -5
  456. package/lib/index-anchor/IndexAnchor.d.ts +3 -3
  457. package/lib/index-anchor/IndexAnchor.js +4 -5
  458. package/lib/index-anchor/index.d.ts +3 -3
  459. package/lib/index-bar/IndexBar.d.ts +5 -5
  460. package/lib/index-bar/IndexBar.js +12 -13
  461. package/lib/index-bar/index.css +1 -1
  462. package/lib/index-bar/index.d.ts +5 -5
  463. package/lib/index.css +1 -1
  464. package/lib/index.d.ts +1 -1
  465. package/lib/index.js +1 -1
  466. package/lib/list/List.d.ts +5 -5
  467. package/lib/list/List.js +10 -11
  468. package/lib/list/index.d.ts +5 -5
  469. package/lib/loading/Loading.d.ts +4 -4
  470. package/lib/loading/Loading.js +2 -3
  471. package/lib/loading/index.d.ts +4 -4
  472. package/lib/media-picker/MediaPicker.d.ts +9 -5
  473. package/lib/media-picker/MediaPicker.js +4 -3
  474. package/lib/media-picker/image/DefaultAudioIcon.d.ts +1 -1
  475. package/lib/media-picker/image/DefaultAudioIcon.js +1 -2
  476. package/lib/media-picker/image/DefaultFileIcon.d.ts +1 -1
  477. package/lib/media-picker/image/DefaultFileIcon.js +1 -2
  478. package/lib/media-picker/image/DefaultVideoIcon.d.ts +1 -1
  479. package/lib/media-picker/image/DefaultVideoIcon.js +1 -2
  480. package/lib/media-picker/image/DeleteIcon.d.ts +1 -1
  481. package/lib/media-picker/image/DeleteIcon.js +1 -2
  482. package/lib/media-picker/image/PickFileIcon.d.ts +1 -1
  483. package/lib/media-picker/image/PickFileIcon.js +1 -2
  484. package/lib/media-picker/image/PickPhotoIcon.d.ts +1 -1
  485. package/lib/media-picker/image/PickPhotoIcon.js +1 -2
  486. package/lib/media-picker/image/TakeAudioIcon.d.ts +1 -1
  487. package/lib/media-picker/image/TakeAudioIcon.js +1 -2
  488. package/lib/media-picker/image/TakePhotoIcon.d.ts +1 -1
  489. package/lib/media-picker/image/TakePhotoIcon.js +1 -2
  490. package/lib/media-picker/image/TakeVideoIcon.d.ts +1 -1
  491. package/lib/media-picker/image/TakeVideoIcon.js +1 -2
  492. package/lib/media-picker/index.css +1 -1
  493. package/lib/media-picker/index.d.ts +7 -5
  494. package/lib/media-player/MediaPlayer.d.ts +21 -5
  495. package/lib/media-player/MediaPlayer.js +5 -1
  496. package/lib/media-player/index.d.ts +14 -5
  497. package/lib/multiple-picker/MultiplePicker.d.ts +5 -5
  498. package/lib/multiple-picker/MultiplePicker.js +9 -10
  499. package/lib/multiple-picker/MultiplePickerOptions.d.ts +5 -5
  500. package/lib/multiple-picker/MultiplePickerOptions.js +4 -5
  501. package/lib/multiple-picker/index.css +1 -1
  502. package/lib/multiple-picker/index.d.ts +5 -5
  503. package/lib/nav-bar/NavBar.d.ts +5 -5
  504. package/lib/nav-bar/NavBar.js +2 -3
  505. package/lib/nav-bar/index.css +1 -1
  506. package/lib/nav-bar/index.d.ts +5 -5
  507. package/lib/notice-bar/NoticeBar.d.ts +5 -5
  508. package/lib/notice-bar/NoticeBar.js +5 -6
  509. package/lib/notice-bar/index.d.ts +5 -5
  510. package/lib/notify/Notify.d.ts +5 -5
  511. package/lib/notify/Notify.js +1 -2
  512. package/lib/notify/index.d.ts +5 -5
  513. package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
  514. package/lib/number-keyboard/NumberKeyboard.js +6 -7
  515. package/lib/number-keyboard/NumberKeyboardKey.d.ts +5 -5
  516. package/lib/number-keyboard/NumberKeyboardKey.js +2 -3
  517. package/lib/number-keyboard/index.css +1 -1
  518. package/lib/number-keyboard/index.d.ts +6 -6
  519. package/lib/overlay/Overlay.d.ts +4 -4
  520. package/lib/overlay/Overlay.js +2 -3
  521. package/lib/overlay/index.d.ts +4 -4
  522. package/lib/password-input/PasswordInput.d.ts +5 -5
  523. package/lib/password-input/PasswordInput.js +1 -2
  524. package/lib/password-input/index.css +1 -1
  525. package/lib/password-input/index.d.ts +5 -5
  526. package/lib/picker/Picker.d.ts +5 -5
  527. package/lib/picker/Picker.js +18 -19
  528. package/lib/picker/PickerColumn.d.ts +5 -5
  529. package/lib/picker/PickerColumn.js +6 -7
  530. package/lib/picker/PickerOptions.d.ts +5 -5
  531. package/lib/picker/PickerOptions.js +5 -6
  532. package/lib/picker/PickerToolbar.d.ts +4 -4
  533. package/lib/picker/PickerToolbar.js +1 -2
  534. package/lib/picker/index.css +1 -1
  535. package/lib/picker/index.d.ts +5 -5
  536. package/lib/popover/Popover.d.ts +5 -5
  537. package/lib/popover/Popover.js +16 -17
  538. package/lib/popover/index.d.ts +5 -5
  539. package/lib/popup/Popup.d.ts +6 -6
  540. package/lib/popup/Popup.js +15 -16
  541. package/lib/popup/index.css +1 -1
  542. package/lib/popup/index.d.ts +6 -6
  543. package/lib/pull-refresh/PullRefresh.d.ts +5 -5
  544. package/lib/pull-refresh/PullRefresh.js +7 -8
  545. package/lib/pull-refresh/index.d.ts +5 -5
  546. package/lib/radio/Radio.d.ts +5 -5
  547. package/lib/radio/Radio.js +1 -2
  548. package/lib/radio/index.css +1 -1
  549. package/lib/radio/index.d.ts +5 -5
  550. package/lib/radio-group/RadioGroup.d.ts +5 -5
  551. package/lib/radio-group/RadioGroup.js +2 -3
  552. package/lib/radio-group/index.d.ts +5 -5
  553. package/lib/radio-picker/RadioPicker.d.ts +5 -5
  554. package/lib/radio-picker/RadioPicker.js +18 -19
  555. package/lib/radio-picker/RadioPickerColumn.d.ts +5 -5
  556. package/lib/radio-picker/RadioPickerColumn.js +7 -8
  557. package/lib/radio-picker/RadioPickerToolbar.d.ts +4 -4
  558. package/lib/radio-picker/RadioPickerToolbar.js +1 -2
  559. package/lib/radio-picker/index.css +1 -1
  560. package/lib/radio-picker/index.d.ts +5 -5
  561. package/lib/rate/Rate.d.ts +5 -5
  562. package/lib/rate/Rate.js +3 -4
  563. package/lib/rate/index.css +1 -1
  564. package/lib/rate/index.d.ts +5 -5
  565. package/lib/row/Row.d.ts +4 -4
  566. package/lib/row/Row.js +3 -4
  567. package/lib/row/index.d.ts +4 -4
  568. package/lib/search/Search.d.ts +5 -5
  569. package/lib/search/Search.js +2 -3
  570. package/lib/search/index.css +1 -1
  571. package/lib/search/index.d.ts +5 -5
  572. package/lib/signature/Signature.d.ts +5 -5
  573. package/lib/signature/Signature.js +12 -13
  574. package/lib/signature/index.d.ts +5 -5
  575. package/lib/skeleton/Skeleton.d.ts +5 -5
  576. package/lib/skeleton/Skeleton.js +1 -2
  577. package/lib/skeleton/index.d.ts +5 -5
  578. package/lib/slider/Slider.d.ts +5 -5
  579. package/lib/slider/Slider.js +8 -9
  580. package/lib/slider/index.css +1 -1
  581. package/lib/slider/index.d.ts +5 -5
  582. package/lib/step/Step.d.ts +3 -3
  583. package/lib/step/Step.js +2 -3
  584. package/lib/step/index.css +1 -1
  585. package/lib/step/index.d.ts +3 -3
  586. package/lib/stepper/Stepper.d.ts +5 -5
  587. package/lib/stepper/Stepper.js +11 -12
  588. package/lib/stepper/index.css +1 -1
  589. package/lib/stepper/index.d.ts +5 -5
  590. package/lib/steps/Steps.d.ts +5 -5
  591. package/lib/steps/Steps.js +1 -2
  592. package/lib/steps/index.d.ts +5 -5
  593. package/lib/sticky/Sticky.d.ts +5 -5
  594. package/lib/sticky/Sticky.js +7 -8
  595. package/lib/sticky/index.d.ts +5 -5
  596. package/lib/swipe/Swipe.d.ts +5 -5
  597. package/lib/swipe/Swipe.js +22 -23
  598. package/lib/swipe/index.css +1 -1
  599. package/lib/swipe/index.d.ts +5 -5
  600. package/lib/swipe-cell/SwipeCell.d.ts +6 -6
  601. package/lib/swipe-cell/SwipeCell.js +7 -8
  602. package/lib/swipe-cell/index.css +1 -1
  603. package/lib/swipe-cell/index.d.ts +6 -6
  604. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  605. package/lib/swipe-item/SwipeItem.js +6 -7
  606. package/lib/swipe-item/index.d.ts +1 -1
  607. package/lib/switch/Switch.d.ts +5 -5
  608. package/lib/switch/Switch.js +1 -2
  609. package/lib/switch/index.d.ts +5 -5
  610. package/lib/tab/Tab.d.ts +7 -4
  611. package/lib/tab/Tab.js +6 -7
  612. package/lib/tab/index.d.ts +6 -4
  613. package/lib/tabbar/Tabbar.d.ts +5 -5
  614. package/lib/tabbar/Tabbar.js +2 -3
  615. package/lib/tabbar/index.d.ts +5 -5
  616. package/lib/tabbar-item/TabbarItem.d.ts +8 -5
  617. package/lib/tabbar-item/TabbarItem.js +3 -4
  618. package/lib/tabbar-item/index.css +1 -1
  619. package/lib/tabbar-item/index.d.ts +7 -5
  620. package/lib/table/Table.d.ts +5 -5
  621. package/lib/table/Table.js +8 -9
  622. package/lib/table/index.css +1 -1
  623. package/lib/table/index.d.ts +5 -5
  624. package/lib/tabs/Tabs.d.ts +5 -5
  625. package/lib/tabs/Tabs.js +20 -21
  626. package/lib/tabs/TabsContent.d.ts +5 -5
  627. package/lib/tabs/TabsContent.js +4 -5
  628. package/lib/tabs/TabsTitle.d.ts +4 -4
  629. package/lib/tabs/TabsTitle.js +6 -7
  630. package/lib/tabs/index.css +1 -1
  631. package/lib/tabs/index.d.ts +5 -5
  632. package/lib/tag/Tag.d.ts +5 -5
  633. package/lib/tag/Tag.js +2 -3
  634. package/lib/tag/index.d.ts +5 -5
  635. package/lib/text-ellipsis/TextEllipsis.d.ts +5 -5
  636. package/lib/text-ellipsis/TextEllipsis.js +8 -9
  637. package/lib/text-ellipsis/index.d.ts +5 -5
  638. package/lib/time-picker/Arrow.d.ts +2 -2
  639. package/lib/time-picker/Arrow.js +1 -2
  640. package/lib/time-picker/TimePicker.d.ts +5 -5
  641. package/lib/time-picker/TimePicker.js +12 -13
  642. package/lib/time-picker/TimePickerColumn.d.ts +5 -5
  643. package/lib/time-picker/TimePickerColumn.js +6 -7
  644. package/lib/time-picker/index.css +1 -1
  645. package/lib/time-picker/index.d.ts +5 -5
  646. package/lib/timeline/Timeline.d.ts +4 -4
  647. package/lib/timeline/Timeline.js +3 -4
  648. package/lib/timeline/index.d.ts +4 -4
  649. package/lib/toast/Toast.d.ts +5 -5
  650. package/lib/toast/Toast.js +5 -6
  651. package/lib/toast/function-call.js +3 -4
  652. package/lib/toast/index.css +1 -1
  653. package/lib/toast/index.d.ts +5 -5
  654. package/lib/uploader/Uploader.d.ts +5 -5
  655. package/lib/uploader/Uploader.js +4 -5
  656. package/lib/uploader/UploaderPreviewItem.d.ts +5 -5
  657. package/lib/uploader/UploaderPreviewItem.js +1 -2
  658. package/lib/uploader/index.d.ts +5 -5
  659. package/lib/utils/dom.d.ts +1 -1
  660. package/lib/utils/mount-component.d.ts +1 -1
  661. package/lib/video/Video.d.ts +8 -5
  662. package/lib/video/Video.js +13 -11
  663. package/lib/video/index.css +1 -1
  664. package/lib/video/index.d.ts +7 -5
  665. package/lib/video/types.d.ts +1 -0
  666. package/lib/web-types.json +1 -1
  667. package/lib/zartui.cjs.js +21 -9
  668. package/lib/zartui.es.js +21 -9
  669. package/lib/zartui.js +34 -19
  670. package/lib/zartui.min.js +1 -1
  671. package/package.json +3 -3
@@ -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;
@@ -21,7 +21,6 @@ __export(stdin_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(stdin_exports);
23
23
  var import_vue = require("vue");
24
- var import_vue2 = require("vue");
25
24
  var import_utils = require("../utils");
26
25
  var import_use_route = require("../composables/use-route");
27
26
  var import_icon = require("../icon");
@@ -53,7 +52,7 @@ const buttonProps = (0, import_utils.extend)({}, import_use_route.routeProps, {
53
52
  loadingType: String,
54
53
  iconPosition: (0, import_utils.makeStringProp)("left")
55
54
  });
56
- var stdin_default = (0, import_vue2.defineComponent)({
55
+ var stdin_default = (0, import_vue.defineComponent)({
57
56
  name,
58
57
  props: buttonProps,
59
58
  emits: ["click"],
@@ -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;
@@ -32,7 +32,6 @@ __export(stdin_exports, {
32
32
  });
33
33
  module.exports = __toCommonJS(stdin_exports);
34
34
  var import_vue = require("vue");
35
- var import_vue2 = require("vue");
36
35
  var import_utils = require("../utils");
37
36
  var import_utils2 = require("./utils");
38
37
  var import_use = require("@zartui/use");
@@ -82,7 +81,7 @@ const calendarProps = {
82
81
  },
83
82
  disabledDate: Function
84
83
  };
85
- var stdin_default = (0, import_vue2.defineComponent)({
84
+ var stdin_default = (0, import_vue.defineComponent)({
86
85
  name: import_utils2.name,
87
86
  props: calendarProps,
88
87
  emits: ["select", "confirm", "cancel", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
@@ -90,11 +89,11 @@ var stdin_default = (0, import_vue2.defineComponent)({
90
89
  emit,
91
90
  slots
92
91
  }) {
93
- const lastMinDate = (0, import_vue2.computed)(() => {
92
+ const lastMinDate = (0, import_vue.computed)(() => {
94
93
  const now = /* @__PURE__ */ new Date();
95
94
  return props.showType !== "inline" && !props.minDate ? new Date(now.getFullYear(), now.getMonth() - 3, now.getDate()) : props.minDate;
96
95
  });
97
- const lastMaxDate = (0, import_vue2.computed)(() => {
96
+ const lastMaxDate = (0, import_vue.computed)(() => {
98
97
  const now = /* @__PURE__ */ new Date();
99
98
  return props.showType !== "inline" && !props.maxDate ? new Date(now.getFullYear(), now.getMonth() + 6, now.getDate()) : props.maxDate;
100
99
  });
@@ -147,13 +146,13 @@ var stdin_default = (0, import_vue2.defineComponent)({
147
146
  }
148
147
  };
149
148
  let bodyHeight;
150
- const bodyRef = (0, import_vue2.ref)();
151
- const subtitle = (0, import_vue2.ref)("");
152
- const currentDate = (0, import_vue2.ref)(getInitialDate());
153
- const titleDate = (0, import_vue2.ref)(getInitialTitleDate());
149
+ const bodyRef = (0, import_vue.ref)();
150
+ const subtitle = (0, import_vue.ref)("");
151
+ const currentDate = (0, import_vue.ref)(getInitialDate());
152
+ const titleDate = (0, import_vue.ref)(getInitialTitleDate());
154
153
  const [monthRefs, setMonthRefs] = (0, import_use_refs.useRefs)();
155
- const dayOffset = (0, import_vue2.computed)(() => props.firstDayOfWeek ? +props.firstDayOfWeek % 7 : 0);
156
- const months = (0, import_vue2.computed)(() => {
154
+ const dayOffset = (0, import_vue.computed)(() => props.firstDayOfWeek ? +props.firstDayOfWeek % 7 : 0);
155
+ const months = (0, import_vue.computed)(() => {
157
156
  var _a;
158
157
  const months2 = [];
159
158
  if (props.showType !== "inline" && lastMinDate.value && lastMaxDate.value) {
@@ -173,7 +172,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
173
172
  }
174
173
  return months2;
175
174
  });
176
- const buttonDisabled = (0, import_vue2.computed)(() => {
175
+ const buttonDisabled = (0, import_vue.computed)(() => {
177
176
  if (currentDate.value) {
178
177
  if (props.type === "range") {
179
178
  return !currentDate.value[0] || !currentDate.value[1];
@@ -309,7 +308,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
309
308
  var _a;
310
309
  return (_a = disabledDays2.find((day) => (0, import_utils2.compareDay)(startDay, day.date) === -1 && (0, import_utils2.compareDay)(day.date, date) === -1)) == null ? void 0 : _a.date;
311
310
  };
312
- const disabledDays = (0, import_vue2.computed)(() => monthRefs.value.reduce((arr, ref2) => {
311
+ const disabledDays = (0, import_vue.computed)(() => monthRefs.value.reduce((arr, ref2) => {
313
312
  var _a, _b;
314
313
  arr.push(...(_b = (_a = ref2.disabledDays) == null ? void 0 : _a.value) != null ? _b : []);
315
314
  return arr;
@@ -374,13 +373,13 @@ var stdin_default = (0, import_vue2.defineComponent)({
374
373
  select(date, true);
375
374
  }
376
375
  };
377
- const yearPreEnable = (0, import_vue2.computed)(() => {
376
+ const yearPreEnable = (0, import_vue.computed)(() => {
378
377
  if (!lastMinDate.value) {
379
378
  return true;
380
379
  }
381
380
  return titleDate.value.getFullYear() > lastMinDate.value.getFullYear();
382
381
  });
383
- const monthPreEnable = (0, import_vue2.computed)(() => {
382
+ const monthPreEnable = (0, import_vue.computed)(() => {
384
383
  if (!lastMinDate.value) {
385
384
  return true;
386
385
  }
@@ -389,13 +388,13 @@ var stdin_default = (0, import_vue2.defineComponent)({
389
388
  const minDateYearMonth = (0, import_utils2.getFirstDate)(lastMinDate.value);
390
389
  return (0, import_utils2.compareDay)(targetYearMonth, minDateYearMonth) === 1;
391
390
  });
392
- const yearNextEnable = (0, import_vue2.computed)(() => {
391
+ const yearNextEnable = (0, import_vue.computed)(() => {
393
392
  if (!lastMaxDate.value) {
394
393
  return true;
395
394
  }
396
395
  return titleDate.value.getFullYear() < lastMaxDate.value.getFullYear();
397
396
  });
398
- const monthNextEnable = (0, import_vue2.computed)(() => {
397
+ const monthNextEnable = (0, import_vue.computed)(() => {
399
398
  if (!lastMaxDate.value) {
400
399
  return true;
401
400
  }
@@ -504,12 +503,12 @@ var stdin_default = (0, import_vue2.defineComponent)({
504
503
  "class": (0, import_utils2.bem)("body"),
505
504
  "onScroll": onScroll
506
505
  }, [months.value.map(renderMonth)]), props.popup ? renderFooter() : ""]);
507
- (0, import_vue2.watch)(() => props.show, init);
508
- (0, import_vue2.watch)(() => [props.type, props.minDate, props.maxDate], () => reset(getInitialDate(currentDate.value)));
509
- (0, import_vue2.watch)(() => props.defaultDate, (value = null) => {
506
+ (0, import_vue.watch)(() => props.show, init);
507
+ (0, import_vue.watch)(() => [props.type, props.minDate, props.maxDate], () => reset(getInitialDate(currentDate.value)));
508
+ (0, import_vue.watch)(() => props.defaultDate, (value = null) => {
510
509
  reset(value);
511
510
  });
512
- (0, import_vue2.watch)(titleDate, (newValue) => {
511
+ (0, import_vue.watch)(titleDate, (newValue) => {
513
512
  if (props.showType === "inline" && newValue) {
514
513
  subtitle.value = (0, import_utils2.formatMonthTitle)(newValue);
515
514
  }
@@ -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;
@@ -21,11 +21,10 @@ __export(stdin_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(stdin_exports);
23
23
  var import_vue = require("vue");
24
- var import_vue2 = require("vue");
25
24
  var import_utils = require("../utils");
26
25
  var import_utils2 = require("./utils");
27
26
  const [name] = (0, import_utils.createNamespace)("calendar-day");
28
- var stdin_default = (0, import_vue2.defineComponent)({
27
+ var stdin_default = (0, import_vue.defineComponent)({
29
28
  name,
30
29
  props: {
31
30
  item: (0, import_utils.makeRequiredProp)(Object),
@@ -43,7 +42,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
43
42
  return "";
44
43
  return `0 0 0 3px ${color}1a`;
45
44
  };
46
- const style = (0, import_vue2.computed)(() => {
45
+ const style = (0, import_vue.computed)(() => {
47
46
  var _a;
48
47
  const {
49
48
  item,
@@ -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;
@@ -21,11 +21,10 @@ __export(stdin_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(stdin_exports);
23
23
  var import_vue = require("vue");
24
- var import_vue2 = require("vue");
25
24
  var import_utils = require("../utils");
26
25
  var import_utils2 = require("./utils");
27
26
  const [name] = (0, import_utils.createNamespace)("calendar-header");
28
- var stdin_default = (0, import_vue2.defineComponent)({
27
+ var stdin_default = (0, import_vue.defineComponent)({
29
28
  name,
30
29
  props: {
31
30
  title: String,
@@ -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;
@@ -31,7 +31,6 @@ __export(stdin_exports, {
31
31
  });
32
32
  module.exports = __toCommonJS(stdin_exports);
33
33
  var import_vue = require("vue");
34
- var import_vue2 = require("vue");
35
34
  var import_utils = require("../utils");
36
35
  var import_utils2 = require("./utils");
37
36
  var import_use = require("@zartui/use");
@@ -57,7 +56,7 @@ const calendarMonthProps = {
57
56
  firstDayOfWeek: Number,
58
57
  disabledDate: Function
59
58
  };
60
- var stdin_default = (0, import_vue2.defineComponent)({
59
+ var stdin_default = (0, import_vue.defineComponent)({
61
60
  name,
62
61
  props: calendarMonthProps,
63
62
  emits: ["click"],
@@ -66,12 +65,12 @@ var stdin_default = (0, import_vue2.defineComponent)({
66
65
  slots
67
66
  }) {
68
67
  const [visible, setVisible] = (0, import_use.useToggle)();
69
- const daysRef = (0, import_vue2.ref)();
70
- const monthRef = (0, import_vue2.ref)();
68
+ const daysRef = (0, import_vue.ref)();
69
+ const monthRef = (0, import_vue.ref)();
71
70
  const height = (0, import_use_height.useHeight)(monthRef);
72
- const title = (0, import_vue2.computed)(() => (0, import_utils2.formatMonthTitle)(props.date));
73
- const rowHeight = (0, import_vue2.computed)(() => (0, import_utils.addUnit)(props.rowHeight));
74
- const offset = (0, import_vue2.computed)(() => {
71
+ const title = (0, import_vue.computed)(() => (0, import_utils2.formatMonthTitle)(props.date));
72
+ const rowHeight = (0, import_vue.computed)(() => (0, import_utils.addUnit)(props.rowHeight));
73
+ const offset = (0, import_vue.computed)(() => {
75
74
  const realDay = props.date.getDay();
76
75
  if (props.firstDayOfWeek) {
77
76
  return (realDay + 7 - props.firstDayOfWeek) % 7;
@@ -79,8 +78,8 @@ var stdin_default = (0, import_vue2.defineComponent)({
79
78
  return realDay;
80
79
  });
81
80
  const getMonthEndDay = (year, month) => 32 - new Date(year, month - 1, 32).getDate();
82
- const totalDay = (0, import_vue2.computed)(() => getMonthEndDay(props.date.getFullYear(), props.date.getMonth() + 1));
83
- const shouldRender = (0, import_vue2.computed)(() => visible.value || !props.lazyRender);
81
+ const totalDay = (0, import_vue.computed)(() => getMonthEndDay(props.date.getFullYear(), props.date.getMonth() + 1));
82
+ const shouldRender = (0, import_vue.computed)(() => visible.value || !props.lazyRender);
84
83
  const getTitle = () => title.value;
85
84
  const getDate = () => props.date;
86
85
  const getMultipleDayType = (day) => {
@@ -173,13 +172,13 @@ var stdin_default = (0, import_vue2.defineComponent)({
173
172
  }, [title.value]);
174
173
  }
175
174
  };
176
- const placeholders = (0, import_vue2.computed)(() => {
175
+ const placeholders = (0, import_vue.computed)(() => {
177
176
  const count = Math.ceil((totalDay.value + offset.value) / 7);
178
177
  return Array(count).fill({
179
178
  type: "placeholder"
180
179
  });
181
180
  });
182
- const days = (0, import_vue2.computed)(() => {
181
+ const days = (0, import_vue.computed)(() => {
183
182
  const days2 = [];
184
183
  const year = props.date.getFullYear();
185
184
  const month = props.date.getMonth();
@@ -232,7 +231,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
232
231
  }
233
232
  return days2;
234
233
  });
235
- const disabledDays = (0, import_vue2.computed)(() => days.value.filter((day) => day.type === "disabled"));
234
+ const disabledDays = (0, import_vue.computed)(() => days.value.filter((day) => day.type === "disabled"));
236
235
  const scrollToDate = (body, targetDate) => {
237
236
  if (daysRef.value) {
238
237
  const daysRect = (0, import_use.useRect)(daysRef.value);
@@ -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;