zartui 3.1.23 → 3.1.24

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 (677) hide show
  1. package/README.md +27 -27
  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/lazyload/vue-lazyload/index.d.ts +55 -55
  135. package/es/list/List.d.ts +5 -5
  136. package/es/list/List.mjs +1 -2
  137. package/es/list/index.d.ts +5 -5
  138. package/es/loading/Loading.d.ts +4 -4
  139. package/es/loading/Loading.mjs +1 -2
  140. package/es/loading/index.d.ts +4 -4
  141. package/es/media-picker/MediaPicker.d.ts +9 -5
  142. package/es/media-picker/MediaPicker.mjs +7 -5
  143. package/es/media-picker/image/DefaultAudioIcon.d.ts +1 -1
  144. package/es/media-picker/image/DefaultAudioIcon.mjs +1 -2
  145. package/es/media-picker/image/DefaultFileIcon.d.ts +1 -1
  146. package/es/media-picker/image/DefaultFileIcon.mjs +1 -2
  147. package/es/media-picker/image/DefaultVideoIcon.d.ts +1 -1
  148. package/es/media-picker/image/DefaultVideoIcon.mjs +1 -2
  149. package/es/media-picker/image/DeleteIcon.d.ts +1 -1
  150. package/es/media-picker/image/DeleteIcon.mjs +1 -2
  151. package/es/media-picker/image/PickFileIcon.d.ts +1 -1
  152. package/es/media-picker/image/PickFileIcon.mjs +1 -2
  153. package/es/media-picker/image/PickPhotoIcon.d.ts +1 -1
  154. package/es/media-picker/image/PickPhotoIcon.mjs +1 -2
  155. package/es/media-picker/image/TakeAudioIcon.d.ts +1 -1
  156. package/es/media-picker/image/TakeAudioIcon.mjs +1 -2
  157. package/es/media-picker/image/TakePhotoIcon.d.ts +1 -1
  158. package/es/media-picker/image/TakePhotoIcon.mjs +1 -2
  159. package/es/media-picker/image/TakeVideoIcon.d.ts +1 -1
  160. package/es/media-picker/image/TakeVideoIcon.mjs +1 -2
  161. package/es/media-picker/index.css +1 -1
  162. package/es/media-picker/index.d.ts +7 -5
  163. package/es/media-player/MediaPlayer.d.ts +21 -5
  164. package/es/media-player/MediaPlayer.mjs +7 -3
  165. package/es/media-player/index.d.ts +14 -5
  166. package/es/multiple-picker/MultiplePicker.d.ts +5 -5
  167. package/es/multiple-picker/MultiplePicker.mjs +1 -2
  168. package/es/multiple-picker/MultiplePickerOptions.d.ts +5 -5
  169. package/es/multiple-picker/MultiplePickerOptions.mjs +1 -2
  170. package/es/multiple-picker/index.css +1 -1
  171. package/es/multiple-picker/index.d.ts +5 -5
  172. package/es/nav-bar/NavBar.d.ts +5 -5
  173. package/es/nav-bar/NavBar.mjs +1 -2
  174. package/es/nav-bar/index.css +1 -1
  175. package/es/nav-bar/index.d.ts +5 -5
  176. package/es/notice-bar/NoticeBar.d.ts +5 -5
  177. package/es/notice-bar/NoticeBar.mjs +1 -2
  178. package/es/notice-bar/index.d.ts +5 -5
  179. package/es/notify/Notify.d.ts +5 -5
  180. package/es/notify/Notify.mjs +1 -2
  181. package/es/notify/function-call.mjs +1 -1
  182. package/es/notify/index.d.ts +5 -5
  183. package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
  184. package/es/number-keyboard/NumberKeyboard.mjs +1 -2
  185. package/es/number-keyboard/NumberKeyboardKey.d.ts +5 -5
  186. package/es/number-keyboard/NumberKeyboardKey.mjs +1 -2
  187. package/es/number-keyboard/index.css +1 -1
  188. package/es/number-keyboard/index.d.ts +6 -6
  189. package/es/overlay/Overlay.d.ts +4 -4
  190. package/es/overlay/Overlay.mjs +1 -2
  191. package/es/overlay/index.d.ts +4 -4
  192. package/es/password-input/PasswordInput.d.ts +5 -5
  193. package/es/password-input/PasswordInput.mjs +1 -2
  194. package/es/password-input/index.css +1 -1
  195. package/es/password-input/index.d.ts +5 -5
  196. package/es/picker/Picker.d.ts +5 -5
  197. package/es/picker/Picker.mjs +1 -2
  198. package/es/picker/PickerColumn.d.ts +5 -5
  199. package/es/picker/PickerColumn.mjs +1 -2
  200. package/es/picker/PickerOptions.d.ts +5 -5
  201. package/es/picker/PickerOptions.mjs +1 -2
  202. package/es/picker/PickerToolbar.d.ts +4 -4
  203. package/es/picker/PickerToolbar.mjs +1 -2
  204. package/es/picker/index.css +1 -1
  205. package/es/picker/index.d.ts +5 -5
  206. package/es/popover/Popover.d.ts +5 -5
  207. package/es/popover/Popover.mjs +1 -2
  208. package/es/popover/index.d.ts +5 -5
  209. package/es/popup/Popup.d.ts +6 -6
  210. package/es/popup/Popup.mjs +1 -2
  211. package/es/popup/index.css +1 -1
  212. package/es/popup/index.d.ts +6 -6
  213. package/es/pull-refresh/PullRefresh.d.ts +5 -5
  214. package/es/pull-refresh/PullRefresh.mjs +1 -2
  215. package/es/pull-refresh/index.d.ts +5 -5
  216. package/es/radio/Radio.d.ts +5 -5
  217. package/es/radio/Radio.mjs +1 -2
  218. package/es/radio/index.css +1 -1
  219. package/es/radio/index.d.ts +5 -5
  220. package/es/radio-group/RadioGroup.d.ts +5 -5
  221. package/es/radio-group/RadioGroup.mjs +1 -2
  222. package/es/radio-group/index.d.ts +5 -5
  223. package/es/radio-picker/RadioPicker.d.ts +5 -5
  224. package/es/radio-picker/RadioPicker.mjs +1 -2
  225. package/es/radio-picker/RadioPickerColumn.d.ts +5 -5
  226. package/es/radio-picker/RadioPickerColumn.mjs +1 -2
  227. package/es/radio-picker/RadioPickerToolbar.d.ts +4 -4
  228. package/es/radio-picker/RadioPickerToolbar.mjs +1 -2
  229. package/es/radio-picker/index.css +1 -1
  230. package/es/radio-picker/index.d.ts +5 -5
  231. package/es/rate/Rate.d.ts +5 -5
  232. package/es/rate/Rate.mjs +1 -2
  233. package/es/rate/index.css +1 -1
  234. package/es/rate/index.d.ts +5 -5
  235. package/es/row/Row.d.ts +4 -4
  236. package/es/row/Row.mjs +1 -2
  237. package/es/row/index.d.ts +4 -4
  238. package/es/search/Search.d.ts +5 -5
  239. package/es/search/Search.mjs +1 -2
  240. package/es/search/index.css +1 -1
  241. package/es/search/index.d.ts +5 -5
  242. package/es/signature/Signature.d.ts +5 -5
  243. package/es/signature/Signature.mjs +1 -2
  244. package/es/signature/index.d.ts +5 -5
  245. package/es/skeleton/Skeleton.d.ts +5 -5
  246. package/es/skeleton/Skeleton.mjs +1 -2
  247. package/es/skeleton/index.d.ts +5 -5
  248. package/es/slider/Slider.d.ts +5 -5
  249. package/es/slider/Slider.mjs +1 -2
  250. package/es/slider/index.css +1 -1
  251. package/es/slider/index.d.ts +5 -5
  252. package/es/step/Step.d.ts +3 -3
  253. package/es/step/Step.mjs +1 -2
  254. package/es/step/index.css +1 -1
  255. package/es/step/index.d.ts +3 -3
  256. package/es/stepper/Stepper.d.ts +5 -5
  257. package/es/stepper/Stepper.mjs +1 -2
  258. package/es/stepper/index.css +1 -1
  259. package/es/stepper/index.d.ts +5 -5
  260. package/es/steps/Steps.d.ts +5 -5
  261. package/es/steps/Steps.mjs +1 -2
  262. package/es/steps/index.d.ts +5 -5
  263. package/es/sticky/Sticky.d.ts +5 -5
  264. package/es/sticky/Sticky.mjs +1 -2
  265. package/es/sticky/index.d.ts +5 -5
  266. package/es/swipe/Swipe.d.ts +5 -5
  267. package/es/swipe/Swipe.mjs +1 -2
  268. package/es/swipe/index.css +1 -1
  269. package/es/swipe/index.d.ts +5 -5
  270. package/es/swipe-cell/SwipeCell.d.ts +6 -6
  271. package/es/swipe-cell/SwipeCell.mjs +1 -2
  272. package/es/swipe-cell/index.css +1 -1
  273. package/es/swipe-cell/index.d.ts +6 -6
  274. package/es/swipe-item/SwipeItem.d.ts +1 -1
  275. package/es/swipe-item/SwipeItem.mjs +1 -2
  276. package/es/swipe-item/index.d.ts +1 -1
  277. package/es/switch/Switch.d.ts +5 -5
  278. package/es/switch/Switch.mjs +1 -2
  279. package/es/switch/index.d.ts +5 -5
  280. package/es/tab/Tab.d.ts +7 -4
  281. package/es/tab/Tab.mjs +1 -2
  282. package/es/tab/index.d.ts +6 -4
  283. package/es/tabbar/Tabbar.d.ts +5 -5
  284. package/es/tabbar/Tabbar.mjs +1 -2
  285. package/es/tabbar/index.d.ts +5 -5
  286. package/es/tabbar-item/TabbarItem.d.ts +8 -5
  287. package/es/tabbar-item/TabbarItem.mjs +1 -2
  288. package/es/tabbar-item/index.css +1 -1
  289. package/es/tabbar-item/index.d.ts +7 -5
  290. package/es/table/Table.d.ts +5 -5
  291. package/es/table/Table.mjs +1 -2
  292. package/es/table/index.css +1 -1
  293. package/es/table/index.d.ts +5 -5
  294. package/es/tabs/Tabs.d.ts +5 -5
  295. package/es/tabs/Tabs.mjs +1 -2
  296. package/es/tabs/TabsContent.d.ts +5 -5
  297. package/es/tabs/TabsContent.mjs +1 -2
  298. package/es/tabs/TabsTitle.d.ts +4 -4
  299. package/es/tabs/TabsTitle.mjs +1 -2
  300. package/es/tabs/index.css +1 -1
  301. package/es/tabs/index.d.ts +5 -5
  302. package/es/tag/Tag.d.ts +5 -5
  303. package/es/tag/Tag.mjs +1 -2
  304. package/es/tag/index.d.ts +5 -5
  305. package/es/text-ellipsis/TextEllipsis.d.ts +5 -5
  306. package/es/text-ellipsis/TextEllipsis.mjs +1 -2
  307. package/es/text-ellipsis/index.d.ts +5 -5
  308. package/es/time-picker/Arrow.d.ts +2 -2
  309. package/es/time-picker/Arrow.mjs +1 -2
  310. package/es/time-picker/TimePicker.d.ts +5 -5
  311. package/es/time-picker/TimePicker.mjs +1 -2
  312. package/es/time-picker/TimePickerColumn.d.ts +5 -5
  313. package/es/time-picker/TimePickerColumn.mjs +1 -2
  314. package/es/time-picker/index.css +1 -1
  315. package/es/time-picker/index.d.ts +5 -5
  316. package/es/timeline/Timeline.d.ts +4 -4
  317. package/es/timeline/Timeline.mjs +1 -2
  318. package/es/timeline/index.d.ts +4 -4
  319. package/es/toast/Toast.d.ts +5 -5
  320. package/es/toast/Toast.mjs +1 -2
  321. package/es/toast/function-call.mjs +1 -2
  322. package/es/toast/index.css +1 -1
  323. package/es/toast/index.d.ts +5 -5
  324. package/es/uploader/Uploader.d.ts +5 -5
  325. package/es/uploader/Uploader.mjs +2 -2
  326. package/es/uploader/UploaderPreviewItem.d.ts +5 -5
  327. package/es/uploader/UploaderPreviewItem.mjs +1 -2
  328. package/es/uploader/index.d.ts +5 -5
  329. package/es/utils/dom.d.ts +1 -1
  330. package/es/utils/mount-component.d.ts +1 -1
  331. package/es/video/Video.d.ts +8 -5
  332. package/es/video/Video.mjs +5 -3
  333. package/es/video/index.css +1 -1
  334. package/es/video/index.d.ts +7 -5
  335. package/es/video/types.d.ts +1 -0
  336. package/es/vue-sfc-shim.d.ts +6 -6
  337. package/es/vue-tsx-shim.d.ts +23 -23
  338. package/lib/action-sheet/ActionSheet.d.ts +5 -5
  339. package/lib/action-sheet/ActionSheet.js +2 -3
  340. package/lib/action-sheet/index.d.ts +5 -5
  341. package/lib/audio/Audio.d.ts +18 -5
  342. package/lib/audio/Audio.js +11 -9
  343. package/lib/audio/index.d.ts +14 -5
  344. package/lib/avatar/Avatar.d.ts +4 -4
  345. package/lib/avatar/Avatar.js +4 -5
  346. package/lib/avatar/index.d.ts +4 -4
  347. package/lib/badge/Badge.d.ts +4 -4
  348. package/lib/badge/Badge.js +2 -3
  349. package/lib/badge/index.d.ts +4 -4
  350. package/lib/button/Button.d.ts +8 -5
  351. package/lib/button/Button.js +1 -2
  352. package/lib/button/index.d.ts +7 -5
  353. package/lib/calendar/Calendar.d.ts +5 -5
  354. package/lib/calendar/Calendar.js +19 -20
  355. package/lib/calendar/CalendarDay.d.ts +5 -5
  356. package/lib/calendar/CalendarDay.js +2 -3
  357. package/lib/calendar/CalendarHeader.d.ts +5 -5
  358. package/lib/calendar/CalendarHeader.js +1 -2
  359. package/lib/calendar/CalendarMonth.d.ts +5 -5
  360. package/lib/calendar/CalendarMonth.js +11 -12
  361. package/lib/calendar/index.css +1 -1
  362. package/lib/calendar/index.d.ts +5 -5
  363. package/lib/cascader/Cascader.d.ts +5 -5
  364. package/lib/cascader/Cascader.js +11 -12
  365. package/lib/cascader/index.d.ts +5 -5
  366. package/lib/cell/Cell.d.ts +8 -5
  367. package/lib/cell/Cell.js +5 -6
  368. package/lib/cell/index.d.ts +7 -5
  369. package/lib/cell-group/CellGroup.d.ts +4 -4
  370. package/lib/cell-group/CellGroup.js +1 -2
  371. package/lib/cell-group/index.d.ts +4 -4
  372. package/lib/checkbox/Checkbox.d.ts +5 -5
  373. package/lib/checkbox/Checkbox.js +3 -4
  374. package/lib/checkbox/Checker.d.ts +5 -5
  375. package/lib/checkbox/Checker.js +5 -6
  376. package/lib/checkbox/index.css +1 -1
  377. package/lib/checkbox/index.d.ts +5 -5
  378. package/lib/checkbox-group/CheckboxGroup.d.ts +5 -5
  379. package/lib/checkbox-group/CheckboxGroup.js +2 -3
  380. package/lib/checkbox-group/index.d.ts +5 -5
  381. package/lib/col/Col.d.ts +4 -4
  382. package/lib/col/Col.js +2 -3
  383. package/lib/col/index.d.ts +4 -4
  384. package/lib/collapse/Collapse.d.ts +5 -5
  385. package/lib/collapse/Collapse.js +1 -2
  386. package/lib/collapse/index.d.ts +5 -5
  387. package/lib/collapse-item/CollapseItem.d.ts +4 -4
  388. package/lib/collapse-item/CollapseItem.js +8 -9
  389. package/lib/collapse-item/index.css +1 -1
  390. package/lib/collapse-item/index.d.ts +4 -4
  391. package/lib/composables/use-height.d.ts +1 -1
  392. package/lib/composables/use-refs.d.ts +1 -1
  393. package/lib/composables/use-route.d.ts +2 -0
  394. package/lib/composables/use-route.js +2 -1
  395. package/lib/composables/use-sync-prop-ref.d.ts +1 -1
  396. package/lib/composables/use-touch.d.ts +8 -8
  397. package/lib/config-provider/ConfigProvider.d.ts +4 -4
  398. package/lib/config-provider/ConfigProvider.js +10 -11
  399. package/lib/config-provider/index.d.ts +4 -4
  400. package/lib/date-time-picker/DateTimePicker.d.ts +5 -5
  401. package/lib/date-time-picker/DateTimePicker.js +17 -18
  402. package/lib/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
  403. package/lib/date-time-picker/DateTimePickerWrapper.js +12 -13
  404. package/lib/date-time-picker/index.d.ts +5 -5
  405. package/lib/dialog/Dialog.d.ts +5 -5
  406. package/lib/dialog/Dialog.js +4 -5
  407. package/lib/dialog/index.css +1 -1
  408. package/lib/dialog/index.d.ts +5 -5
  409. package/lib/divider/Divider.d.ts +4 -4
  410. package/lib/divider/Divider.js +1 -2
  411. package/lib/divider/index.d.ts +4 -4
  412. package/lib/drawer-select/DrawerSelect.d.ts +5 -5
  413. package/lib/drawer-select/DrawerSelect.js +13 -14
  414. package/lib/drawer-select/index.d.ts +5 -5
  415. package/lib/dropdown-item/DropdownItem.d.ts +6 -6
  416. package/lib/dropdown-item/DropdownItem.js +5 -6
  417. package/lib/dropdown-item/index.d.ts +6 -6
  418. package/lib/dropdown-menu/DropdownMenu.d.ts +4 -4
  419. package/lib/dropdown-menu/DropdownMenu.js +6 -7
  420. package/lib/dropdown-menu/index.css +1 -1
  421. package/lib/dropdown-menu/index.d.ts +4 -4
  422. package/lib/empty/Empty.d.ts +4 -4
  423. package/lib/empty/Empty.js +1 -2
  424. package/lib/empty/index.d.ts +4 -4
  425. package/lib/field/Field.d.ts +5 -5
  426. package/lib/field/Field.js +18 -19
  427. package/lib/field/index.css +1 -1
  428. package/lib/field/index.d.ts +5 -5
  429. package/lib/floating-bubble/FloatingBubble.d.ts +5 -5
  430. package/lib/floating-bubble/FloatingBubble.js +14 -15
  431. package/lib/floating-bubble/index.css +1 -1
  432. package/lib/floating-bubble/index.d.ts +5 -5
  433. package/lib/form/Form.d.ts +5 -5
  434. package/lib/form/Form.js +1 -2
  435. package/lib/form/index.d.ts +5 -5
  436. package/lib/grid/Grid.d.ts +4 -4
  437. package/lib/grid/Grid.js +1 -2
  438. package/lib/grid/index.d.ts +4 -4
  439. package/lib/grid-item/GridItem.d.ts +7 -4
  440. package/lib/grid-item/GridItem.js +3 -4
  441. package/lib/grid-item/index.d.ts +6 -4
  442. package/lib/hierarchy-select/Breadcrumb.d.ts +5 -5
  443. package/lib/hierarchy-select/Breadcrumb.js +1 -2
  444. package/lib/hierarchy-select/HierarchySelect.d.ts +5 -5
  445. package/lib/hierarchy-select/HierarchySelect.js +6 -7
  446. package/lib/hierarchy-select/index.d.ts +5 -5
  447. package/lib/icon/Icon.d.ts +4 -4
  448. package/lib/icon/Icon.js +3 -4
  449. package/lib/icon/index.css +1 -1
  450. package/lib/icon/index.d.ts +4 -4
  451. package/lib/image/Image.d.ts +5 -5
  452. package/lib/image/Image.js +9 -10
  453. package/lib/image/index.d.ts +5 -5
  454. package/lib/image-preview/ImagePreview.d.ts +5 -5
  455. package/lib/image-preview/ImagePreview.js +8 -9
  456. package/lib/image-preview/ImagePreviewItem.d.ts +5 -5
  457. package/lib/image-preview/ImagePreviewItem.js +10 -11
  458. package/lib/image-preview/index.d.ts +5 -5
  459. package/lib/index-anchor/IndexAnchor.d.ts +3 -3
  460. package/lib/index-anchor/IndexAnchor.js +4 -5
  461. package/lib/index-anchor/index.d.ts +3 -3
  462. package/lib/index-bar/IndexBar.d.ts +5 -5
  463. package/lib/index-bar/IndexBar.js +12 -13
  464. package/lib/index-bar/index.css +1 -1
  465. package/lib/index-bar/index.d.ts +5 -5
  466. package/lib/index.css +1 -1
  467. package/lib/index.d.ts +1 -1
  468. package/lib/index.js +1 -1
  469. package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
  470. package/lib/list/List.d.ts +5 -5
  471. package/lib/list/List.js +10 -11
  472. package/lib/list/index.d.ts +5 -5
  473. package/lib/loading/Loading.d.ts +4 -4
  474. package/lib/loading/Loading.js +2 -3
  475. package/lib/loading/index.d.ts +4 -4
  476. package/lib/media-picker/MediaPicker.d.ts +9 -5
  477. package/lib/media-picker/MediaPicker.js +6 -4
  478. package/lib/media-picker/image/DefaultAudioIcon.d.ts +1 -1
  479. package/lib/media-picker/image/DefaultAudioIcon.js +1 -2
  480. package/lib/media-picker/image/DefaultFileIcon.d.ts +1 -1
  481. package/lib/media-picker/image/DefaultFileIcon.js +1 -2
  482. package/lib/media-picker/image/DefaultVideoIcon.d.ts +1 -1
  483. package/lib/media-picker/image/DefaultVideoIcon.js +1 -2
  484. package/lib/media-picker/image/DeleteIcon.d.ts +1 -1
  485. package/lib/media-picker/image/DeleteIcon.js +1 -2
  486. package/lib/media-picker/image/PickFileIcon.d.ts +1 -1
  487. package/lib/media-picker/image/PickFileIcon.js +1 -2
  488. package/lib/media-picker/image/PickPhotoIcon.d.ts +1 -1
  489. package/lib/media-picker/image/PickPhotoIcon.js +1 -2
  490. package/lib/media-picker/image/TakeAudioIcon.d.ts +1 -1
  491. package/lib/media-picker/image/TakeAudioIcon.js +1 -2
  492. package/lib/media-picker/image/TakePhotoIcon.d.ts +1 -1
  493. package/lib/media-picker/image/TakePhotoIcon.js +1 -2
  494. package/lib/media-picker/image/TakeVideoIcon.d.ts +1 -1
  495. package/lib/media-picker/image/TakeVideoIcon.js +1 -2
  496. package/lib/media-picker/index.css +1 -1
  497. package/lib/media-picker/index.d.ts +7 -5
  498. package/lib/media-player/MediaPlayer.d.ts +21 -5
  499. package/lib/media-player/MediaPlayer.js +5 -1
  500. package/lib/media-player/index.d.ts +14 -5
  501. package/lib/multiple-picker/MultiplePicker.d.ts +5 -5
  502. package/lib/multiple-picker/MultiplePicker.js +9 -10
  503. package/lib/multiple-picker/MultiplePickerOptions.d.ts +5 -5
  504. package/lib/multiple-picker/MultiplePickerOptions.js +4 -5
  505. package/lib/multiple-picker/index.css +1 -1
  506. package/lib/multiple-picker/index.d.ts +5 -5
  507. package/lib/nav-bar/NavBar.d.ts +5 -5
  508. package/lib/nav-bar/NavBar.js +2 -3
  509. package/lib/nav-bar/index.css +1 -1
  510. package/lib/nav-bar/index.d.ts +5 -5
  511. package/lib/notice-bar/NoticeBar.d.ts +5 -5
  512. package/lib/notice-bar/NoticeBar.js +5 -6
  513. package/lib/notice-bar/index.d.ts +5 -5
  514. package/lib/notify/Notify.d.ts +5 -5
  515. package/lib/notify/Notify.js +1 -2
  516. package/lib/notify/index.d.ts +5 -5
  517. package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
  518. package/lib/number-keyboard/NumberKeyboard.js +6 -7
  519. package/lib/number-keyboard/NumberKeyboardKey.d.ts +5 -5
  520. package/lib/number-keyboard/NumberKeyboardKey.js +2 -3
  521. package/lib/number-keyboard/index.css +1 -1
  522. package/lib/number-keyboard/index.d.ts +6 -6
  523. package/lib/overlay/Overlay.d.ts +4 -4
  524. package/lib/overlay/Overlay.js +2 -3
  525. package/lib/overlay/index.d.ts +4 -4
  526. package/lib/password-input/PasswordInput.d.ts +5 -5
  527. package/lib/password-input/PasswordInput.js +1 -2
  528. package/lib/password-input/index.css +1 -1
  529. package/lib/password-input/index.d.ts +5 -5
  530. package/lib/picker/Picker.d.ts +5 -5
  531. package/lib/picker/Picker.js +18 -19
  532. package/lib/picker/PickerColumn.d.ts +5 -5
  533. package/lib/picker/PickerColumn.js +6 -7
  534. package/lib/picker/PickerOptions.d.ts +5 -5
  535. package/lib/picker/PickerOptions.js +5 -6
  536. package/lib/picker/PickerToolbar.d.ts +4 -4
  537. package/lib/picker/PickerToolbar.js +1 -2
  538. package/lib/picker/index.css +1 -1
  539. package/lib/picker/index.d.ts +5 -5
  540. package/lib/popover/Popover.d.ts +5 -5
  541. package/lib/popover/Popover.js +16 -17
  542. package/lib/popover/index.d.ts +5 -5
  543. package/lib/popup/Popup.d.ts +6 -6
  544. package/lib/popup/Popup.js +15 -16
  545. package/lib/popup/index.css +1 -1
  546. package/lib/popup/index.d.ts +6 -6
  547. package/lib/pull-refresh/PullRefresh.d.ts +5 -5
  548. package/lib/pull-refresh/PullRefresh.js +7 -8
  549. package/lib/pull-refresh/index.d.ts +5 -5
  550. package/lib/radio/Radio.d.ts +5 -5
  551. package/lib/radio/Radio.js +1 -2
  552. package/lib/radio/index.css +1 -1
  553. package/lib/radio/index.d.ts +5 -5
  554. package/lib/radio-group/RadioGroup.d.ts +5 -5
  555. package/lib/radio-group/RadioGroup.js +2 -3
  556. package/lib/radio-group/index.d.ts +5 -5
  557. package/lib/radio-picker/RadioPicker.d.ts +5 -5
  558. package/lib/radio-picker/RadioPicker.js +18 -19
  559. package/lib/radio-picker/RadioPickerColumn.d.ts +5 -5
  560. package/lib/radio-picker/RadioPickerColumn.js +7 -8
  561. package/lib/radio-picker/RadioPickerToolbar.d.ts +4 -4
  562. package/lib/radio-picker/RadioPickerToolbar.js +1 -2
  563. package/lib/radio-picker/index.css +1 -1
  564. package/lib/radio-picker/index.d.ts +5 -5
  565. package/lib/rate/Rate.d.ts +5 -5
  566. package/lib/rate/Rate.js +3 -4
  567. package/lib/rate/index.css +1 -1
  568. package/lib/rate/index.d.ts +5 -5
  569. package/lib/row/Row.d.ts +4 -4
  570. package/lib/row/Row.js +3 -4
  571. package/lib/row/index.d.ts +4 -4
  572. package/lib/search/Search.d.ts +5 -5
  573. package/lib/search/Search.js +2 -3
  574. package/lib/search/index.css +1 -1
  575. package/lib/search/index.d.ts +5 -5
  576. package/lib/signature/Signature.d.ts +5 -5
  577. package/lib/signature/Signature.js +12 -13
  578. package/lib/signature/index.d.ts +5 -5
  579. package/lib/skeleton/Skeleton.d.ts +5 -5
  580. package/lib/skeleton/Skeleton.js +1 -2
  581. package/lib/skeleton/index.d.ts +5 -5
  582. package/lib/slider/Slider.d.ts +5 -5
  583. package/lib/slider/Slider.js +8 -9
  584. package/lib/slider/index.css +1 -1
  585. package/lib/slider/index.d.ts +5 -5
  586. package/lib/step/Step.d.ts +3 -3
  587. package/lib/step/Step.js +2 -3
  588. package/lib/step/index.css +1 -1
  589. package/lib/step/index.d.ts +3 -3
  590. package/lib/stepper/Stepper.d.ts +5 -5
  591. package/lib/stepper/Stepper.js +11 -12
  592. package/lib/stepper/index.css +1 -1
  593. package/lib/stepper/index.d.ts +5 -5
  594. package/lib/steps/Steps.d.ts +5 -5
  595. package/lib/steps/Steps.js +1 -2
  596. package/lib/steps/index.d.ts +5 -5
  597. package/lib/sticky/Sticky.d.ts +5 -5
  598. package/lib/sticky/Sticky.js +7 -8
  599. package/lib/sticky/index.d.ts +5 -5
  600. package/lib/swipe/Swipe.d.ts +5 -5
  601. package/lib/swipe/Swipe.js +22 -23
  602. package/lib/swipe/index.css +1 -1
  603. package/lib/swipe/index.d.ts +5 -5
  604. package/lib/swipe-cell/SwipeCell.d.ts +6 -6
  605. package/lib/swipe-cell/SwipeCell.js +7 -8
  606. package/lib/swipe-cell/index.css +1 -1
  607. package/lib/swipe-cell/index.d.ts +6 -6
  608. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  609. package/lib/swipe-item/SwipeItem.js +6 -7
  610. package/lib/swipe-item/index.d.ts +1 -1
  611. package/lib/switch/Switch.d.ts +5 -5
  612. package/lib/switch/Switch.js +1 -2
  613. package/lib/switch/index.d.ts +5 -5
  614. package/lib/tab/Tab.d.ts +7 -4
  615. package/lib/tab/Tab.js +6 -7
  616. package/lib/tab/index.d.ts +6 -4
  617. package/lib/tabbar/Tabbar.d.ts +5 -5
  618. package/lib/tabbar/Tabbar.js +2 -3
  619. package/lib/tabbar/index.d.ts +5 -5
  620. package/lib/tabbar-item/TabbarItem.d.ts +8 -5
  621. package/lib/tabbar-item/TabbarItem.js +3 -4
  622. package/lib/tabbar-item/index.css +1 -1
  623. package/lib/tabbar-item/index.d.ts +7 -5
  624. package/lib/table/Table.d.ts +5 -5
  625. package/lib/table/Table.js +8 -9
  626. package/lib/table/index.css +1 -1
  627. package/lib/table/index.d.ts +5 -5
  628. package/lib/tabs/Tabs.d.ts +5 -5
  629. package/lib/tabs/Tabs.js +20 -21
  630. package/lib/tabs/TabsContent.d.ts +5 -5
  631. package/lib/tabs/TabsContent.js +4 -5
  632. package/lib/tabs/TabsTitle.d.ts +4 -4
  633. package/lib/tabs/TabsTitle.js +6 -7
  634. package/lib/tabs/index.css +1 -1
  635. package/lib/tabs/index.d.ts +5 -5
  636. package/lib/tag/Tag.d.ts +5 -5
  637. package/lib/tag/Tag.js +2 -3
  638. package/lib/tag/index.d.ts +5 -5
  639. package/lib/text-ellipsis/TextEllipsis.d.ts +5 -5
  640. package/lib/text-ellipsis/TextEllipsis.js +8 -9
  641. package/lib/text-ellipsis/index.d.ts +5 -5
  642. package/lib/time-picker/Arrow.d.ts +2 -2
  643. package/lib/time-picker/Arrow.js +1 -2
  644. package/lib/time-picker/TimePicker.d.ts +5 -5
  645. package/lib/time-picker/TimePicker.js +12 -13
  646. package/lib/time-picker/TimePickerColumn.d.ts +5 -5
  647. package/lib/time-picker/TimePickerColumn.js +6 -7
  648. package/lib/time-picker/index.css +1 -1
  649. package/lib/time-picker/index.d.ts +5 -5
  650. package/lib/timeline/Timeline.d.ts +4 -4
  651. package/lib/timeline/Timeline.js +3 -4
  652. package/lib/timeline/index.d.ts +4 -4
  653. package/lib/toast/Toast.d.ts +5 -5
  654. package/lib/toast/Toast.js +5 -6
  655. package/lib/toast/function-call.js +3 -4
  656. package/lib/toast/index.css +1 -1
  657. package/lib/toast/index.d.ts +5 -5
  658. package/lib/uploader/Uploader.d.ts +5 -5
  659. package/lib/uploader/Uploader.js +5 -5
  660. package/lib/uploader/UploaderPreviewItem.d.ts +5 -5
  661. package/lib/uploader/UploaderPreviewItem.js +1 -2
  662. package/lib/uploader/index.d.ts +5 -5
  663. package/lib/utils/dom.d.ts +1 -1
  664. package/lib/utils/mount-component.d.ts +1 -1
  665. package/lib/video/Video.d.ts +8 -5
  666. package/lib/video/Video.js +13 -11
  667. package/lib/video/index.css +1 -1
  668. package/lib/video/index.d.ts +7 -5
  669. package/lib/video/types.d.ts +1 -0
  670. package/lib/vue-sfc-shim.d.ts +6 -6
  671. package/lib/vue-tsx-shim.d.ts +23 -23
  672. package/lib/web-types.json +1 -1
  673. package/lib/zartui.cjs.js +24 -10
  674. package/lib/zartui.es.js +24 -10
  675. package/lib/zartui.js +37 -20
  676. package/lib/zartui.min.js +1 -1
  677. package/package.json +27 -27
@@ -1,4 +1,4 @@
1
- export declare const Tabbar: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Tabbar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  route: BooleanConstructor;
3
3
  fixed: {
4
4
  type: BooleanConstructor;
@@ -21,7 +21,7 @@ export declare const Tabbar: import("../utils").WithInstall<import("vue").Define
21
21
  type: import("vue").PropType<boolean | null>;
22
22
  default: null;
23
23
  };
24
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
25
  route: BooleanConstructor;
26
26
  fixed: {
27
27
  type: BooleanConstructor;
@@ -44,17 +44,17 @@ export declare const Tabbar: import("../utils").WithInstall<import("vue").Define
44
44
  type: import("vue").PropType<boolean | null>;
45
45
  default: null;
46
46
  };
47
- }>> & {
47
+ }>> & Readonly<{
48
48
  onChange?: ((...args: any[]) => any) | undefined;
49
49
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
50
- }, {
50
+ }>, {
51
51
  fixed: boolean;
52
52
  border: boolean;
53
53
  placeholder: boolean;
54
54
  modelValue: string | number;
55
55
  safeAreaInsetBottom: boolean | null;
56
56
  route: boolean;
57
- }, {}>>;
57
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
58
58
  export default Tabbar;
59
59
  export type { TabbarProps } from './Tabbar';
60
60
  export type { TabbarThemeVars } from './types';
@@ -4,6 +4,7 @@ declare const tabbarItemProps: {
4
4
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
5
5
  url: StringConstructor;
6
6
  replace: BooleanConstructor;
7
+ $router: PropType<import("vue-router").Router>;
7
8
  } & {
8
9
  dot: BooleanConstructor;
9
10
  icon: StringConstructor;
@@ -13,10 +14,11 @@ declare const tabbarItemProps: {
13
14
  iconPrefix: StringConstructor;
14
15
  };
15
16
  export type TabbarItemProps = ExtractPropTypes<typeof tabbarItemProps>;
16
- declare const _default: import("vue").DefineComponent<{
17
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
17
18
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
18
19
  url: StringConstructor;
19
20
  replace: BooleanConstructor;
21
+ $router: PropType<import("vue-router").Router>;
20
22
  } & {
21
23
  dot: BooleanConstructor;
22
24
  icon: StringConstructor;
@@ -24,10 +26,11 @@ declare const _default: import("vue").DefineComponent<{
24
26
  badge: (NumberConstructor | StringConstructor)[];
25
27
  badgeProps: PropType<Partial<BadgeProps>>;
26
28
  iconPrefix: StringConstructor;
27
- }, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
29
+ }>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
28
30
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
29
31
  url: StringConstructor;
30
32
  replace: BooleanConstructor;
33
+ $router: PropType<import("vue-router").Router>;
31
34
  } & {
32
35
  dot: BooleanConstructor;
33
36
  icon: StringConstructor;
@@ -35,10 +38,10 @@ declare const _default: import("vue").DefineComponent<{
35
38
  badge: (NumberConstructor | StringConstructor)[];
36
39
  badgeProps: PropType<Partial<BadgeProps>>;
37
40
  iconPrefix: StringConstructor;
38
- }>> & {
41
+ }>> & Readonly<{
39
42
  onClick?: ((...args: any[]) => any) | undefined;
40
- }, {
43
+ }>, {
41
44
  replace: boolean;
42
45
  dot: boolean;
43
- }, {}>;
46
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
47
  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_Tabbar = require("../tabbar/Tabbar");
27
26
  var import_use = require("@zartui/use");
@@ -37,7 +36,7 @@ const tabbarItemProps = (0, import_utils.extend)({}, import_use_route.routeProps
37
36
  badgeProps: Object,
38
37
  iconPrefix: String
39
38
  });
40
- var stdin_default = (0, import_vue2.defineComponent)({
39
+ var stdin_default = (0, import_vue.defineComponent)({
41
40
  name,
42
41
  props: tabbarItemProps,
43
42
  emits: ["click"],
@@ -46,7 +45,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
46
45
  slots
47
46
  }) {
48
47
  const route = (0, import_use_route.useRoute)();
49
- const vm = (0, import_vue2.getCurrentInstance)().proxy;
48
+ const vm = (0, import_vue.getCurrentInstance)().proxy;
50
49
  const {
51
50
  parent,
52
51
  index
@@ -57,7 +56,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
57
56
  }
58
57
  return;
59
58
  }
60
- const active = (0, import_vue2.computed)(() => {
59
+ const active = (0, import_vue.computed)(() => {
61
60
  var _a;
62
61
  const {
63
62
  route: route2,
@@ -1 +1 @@
1
- :root{--zt-tabbar-item-text-color: var(--zt-gray-a6);--zt-tabbar-item-active-color: var(--zt-primary-color);--zt-tabbar-item-margin: 8px auto 6px;--zt-tabbar-item-icon-box-shadow: -4px -4px 8px 0 #ffffff, 4px 4px 8px 0 rgba(45, 75, 115, .1);--zt-tabbar-item-box-width: 36px;--zt-tabbar-item-box-height: 36px;--zt-tabbar-item-box-border-radius: var(--zt-radius-lg);--zt-tabbar-item-icon-border: 0;--zt-tabbar-item-text-padding-top: 4px;--zt-tabbar-item-text-height: 12px;--zt-tabbar-item-icon-background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);--zt-tabbar-item-icon-active-background: var(--zt-gray-a04);--zt-tabbar-item-icon-active-box-shadow: inset 4px 4px 8px 0 var(--zt-gray-a2);--zt-tabbar-item-icon-font-size: 24px}:root[zt-theme-size=large]{--zt-tabbar-item-icon-font-size: 30px}.zt-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--zt-tabbar-item-text-color);margin:var(--zt-tabbar-item-margin);-webkit-text-size-adjust:100%;cursor:pointer;-webkit-user-select:none;user-select:none}.zt-tabbar-item__icon{font-size:var(--zt-tabbar-item-icon-font-size);border:var(--zt-tabbar-item-icon-border);display:flex;justify-content:center;align-items:center;width:var(--zt-tabbar-item-box-width);height:var(--zt-tabbar-item-box-height);box-shadow:var(--zt-tabbar-item-icon-box-shadow);background:var(--zt-tabbar-item-icon-background);border-radius:var(--zt-tabbar-item-box-border-radius);box-sizing:border-box}.zt-tabbar-item__icon:active{background:var(--zt-tabbar-item-icon-active-background);box-shadow:var(--zt-tabbar-item-icon-active-box-shadow)}.zt-tabbar-item__text{font-size:var(--zt-font-size-sm);padding-top:var(--zt-tabbar-item-text-padding-top);transform:scale(.83333);text-align:center;height:var(--zt-tabbar-item-text-height);line-height:var(--zt-tabbar-item-text-height)}.zt-tabbar-item--active{color:var(--zt-tabbar-item-active-color);font-weight:var(--zt-font-bold)}.zt-theme-dark{--zt-tabbar-item-text-color: var(--zt-gray);--zt-tabbar-item-icon-border: 1px solid rgba(151, 151, 151, .12);--zt-tabbar-item-icon-box-shadow: -4px -4px 8px 0 rgba(255, 255, 255, .12), 4px 4px 8px 0 rgba(0, 12, 24, .8);--zt-tabbar-item-icon-background: linear-gradient(135deg, #121d2a 0%, #1d2c3d 100%);--zt-tabbar-item-icon-active-box-shadow: inset 6px 6px 6px 0 #000d1b}
1
+ :root{--zt-tabbar-item-text-color: var(--zt-gray-a6);--zt-tabbar-item-active-color: var(--zt-primary-color);--zt-tabbar-item-margin: 8px auto 6px;--zt-tabbar-item-icon-box-shadow: -4px -4px 8px 0 #ffffff, 4px 4px 8px 0 rgba(45, 75, 115, .1);--zt-tabbar-item-box-width: 36px;--zt-tabbar-item-box-height: 36px;--zt-tabbar-item-box-border-radius: var(--zt-radius-lg);--zt-tabbar-item-icon-border: 0;--zt-tabbar-item-text-padding-top: 4px;--zt-tabbar-item-text-height: 12px;--zt-tabbar-item-icon-background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);--zt-tabbar-item-icon-active-background: var(--zt-gray-a04);--zt-tabbar-item-icon-active-box-shadow: inset 4px 4px 8px 0 var(--zt-gray-a2);--zt-tabbar-item-icon-font-size: 24px}:root[zt-theme-size=large]{--zt-tabbar-item-icon-font-size: 30px}.zt-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--zt-tabbar-item-text-color);margin:var(--zt-tabbar-item-margin);-webkit-text-size-adjust:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.zt-tabbar-item__icon{font-size:var(--zt-tabbar-item-icon-font-size);border:var(--zt-tabbar-item-icon-border);display:flex;justify-content:center;align-items:center;width:var(--zt-tabbar-item-box-width);height:var(--zt-tabbar-item-box-height);box-shadow:var(--zt-tabbar-item-icon-box-shadow);background:var(--zt-tabbar-item-icon-background);border-radius:var(--zt-tabbar-item-box-border-radius);box-sizing:border-box}.zt-tabbar-item__icon:active{background:var(--zt-tabbar-item-icon-active-background);box-shadow:var(--zt-tabbar-item-icon-active-box-shadow)}.zt-tabbar-item__text{font-size:var(--zt-font-size-sm);padding-top:var(--zt-tabbar-item-text-padding-top);transform:scale(.83333);text-align:center;height:var(--zt-tabbar-item-text-height);line-height:var(--zt-tabbar-item-text-height)}.zt-tabbar-item--active{color:var(--zt-tabbar-item-active-color);font-weight:var(--zt-font-bold)}.zt-theme-dark{--zt-tabbar-item-text-color: var(--zt-gray);--zt-tabbar-item-icon-border: 1px solid rgba(151, 151, 151, .12);--zt-tabbar-item-icon-box-shadow: -4px -4px 8px 0 rgba(255, 255, 255, .12), 4px 4px 8px 0 rgba(0, 12, 24, .8);--zt-tabbar-item-icon-background: linear-gradient(135deg, #121d2a 0%, #1d2c3d 100%);--zt-tabbar-item-icon-active-box-shadow: inset 6px 6px 6px 0 #000d1b}
@@ -1,7 +1,8 @@
1
- export declare const TabbarItem: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const TabbarItem: 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
  dot: BooleanConstructor;
7
8
  icon: StringConstructor;
@@ -9,10 +10,11 @@ export declare const TabbarItem: import("../utils").WithInstall<import("vue").De
9
10
  badge: (NumberConstructor | StringConstructor)[];
10
11
  badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
11
12
  iconPrefix: StringConstructor;
12
- }, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ }>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
14
  to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
14
15
  url: StringConstructor;
15
16
  replace: BooleanConstructor;
17
+ $router: import("vue").PropType<import("vue-router").Router>;
16
18
  } & {
17
19
  dot: BooleanConstructor;
18
20
  icon: StringConstructor;
@@ -20,12 +22,12 @@ export declare const TabbarItem: import("../utils").WithInstall<import("vue").De
20
22
  badge: (NumberConstructor | StringConstructor)[];
21
23
  badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
22
24
  iconPrefix: StringConstructor;
23
- }>> & {
25
+ }>> & Readonly<{
24
26
  onClick?: ((...args: any[]) => any) | undefined;
25
- }, {
27
+ }>, {
26
28
  replace: boolean;
27
29
  dot: boolean;
28
- }, {}>>;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
29
31
  export default TabbarItem;
30
32
  export type { TabbarItemProps } from './TabbarItem';
31
33
  export type { TabbarItemThemeVars } from './types';
@@ -50,7 +50,7 @@ export declare const tableProps: {
50
50
  };
51
51
  };
52
52
  export type TableProps = ExtractPropTypes<typeof tableProps>;
53
- declare const _default: import("vue").DefineComponent<{
53
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
54
54
  headList: {
55
55
  type: import("vue").PropType<TableHeaderOption[]>;
56
56
  default: () => TableHeaderOption[];
@@ -83,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
83
83
  type: BooleanConstructor;
84
84
  default: boolean;
85
85
  };
86
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "sort"[], "sort", import("vue").PublicProps, Readonly<ExtractPropTypes<{
86
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "sort"[], "sort", import("vue").PublicProps, Readonly<ExtractPropTypes<{
87
87
  headList: {
88
88
  type: import("vue").PropType<TableHeaderOption[]>;
89
89
  default: () => TableHeaderOption[];
@@ -116,9 +116,9 @@ declare const _default: import("vue").DefineComponent<{
116
116
  type: BooleanConstructor;
117
117
  default: boolean;
118
118
  };
119
- }>> & {
119
+ }>> & Readonly<{
120
120
  onSort?: ((...args: any[]) => any) | undefined;
121
- }, {
121
+ }>, {
122
122
  border: boolean;
123
123
  loading: boolean;
124
124
  headList: TableHeaderOption[];
@@ -127,5 +127,5 @@ declare const _default: import("vue").DefineComponent<{
127
127
  emptyValue: string;
128
128
  skeletonRow: number;
129
129
  hideTableHead: boolean;
130
- }, {}>;
130
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
131
131
  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_icon = require("../icon");
38
37
  var import_types = require("./types");
@@ -61,7 +60,7 @@ const tableProps = {
61
60
  default: false
62
61
  }
63
62
  };
64
- var stdin_default = (0, import_vue2.defineComponent)({
63
+ var stdin_default = (0, import_vue.defineComponent)({
65
64
  name,
66
65
  props: tableProps,
67
66
  emits: ["sort"],
@@ -69,10 +68,10 @@ var stdin_default = (0, import_vue2.defineComponent)({
69
68
  emit,
70
69
  slots
71
70
  }) {
72
- const sortOrder = (0, import_vue2.ref)("");
73
- const sortKey = (0, import_vue2.ref)("");
74
- const fixedColumn = (0, import_vue2.computed)(() => props.headList.filter((v) => v.fixed));
75
- const formatColumns = (0, import_vue2.computed)(() => {
71
+ const sortOrder = (0, import_vue.ref)("");
72
+ const sortKey = (0, import_vue.ref)("");
73
+ const fixedColumn = (0, import_vue.computed)(() => props.headList.filter((v) => v.fixed));
74
+ const formatColumns = (0, import_vue.computed)(() => {
76
75
  const columns = [];
77
76
  let left = 0;
78
77
  props.headList.forEach((element, index) => {
@@ -93,9 +92,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
93
92
  });
94
93
  return columns;
95
94
  });
96
- const pingedLeft = (0, import_vue2.ref)(false);
97
- const resortHeadList = (0, import_vue2.computed)(() => fixedColumn.value.concat(props.headList.filter((v) => !v.fixed)));
98
- (0, import_vue2.onMounted)(() => {
95
+ const pingedLeft = (0, import_vue.ref)(false);
96
+ const resortHeadList = (0, import_vue.computed)(() => fixedColumn.value.concat(props.headList.filter((v) => !v.fixed)));
97
+ (0, import_vue.onMounted)(() => {
99
98
  const fixedIndexList = props.headList.map((v, i) => {
100
99
  if (v.sorter && v.defaultSortOrder) {
101
100
  sortOrder.value = v.defaultSortOrder || "";
@@ -1 +1 @@
1
- :root{--zt-table-head-color: var(--zt-primary-color);--zt-table-head-height: 40px;--zt-table-head-background: #e6f5ff;--zt-table-body-height: 40px;--zt-table-body-color: var(--zt-gray);--zt-table-body-background: var(--zt-white);--zt-table-sort-default: var(--zt-gray-5);--zt-table-sort-active: var(--zt-primary-color)}:root[zt-theme-size=large]{--zt-table-head-height: 52px}.zt-base-hair{position:relative}.zt-base-hair:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--zt-border-color);transform:scale(.5)}.zt-table table{border-collapse:separate;border-spacing:0;width:100%;table-layout:auto;box-sizing:border-box}.zt-table--fixed{overflow:auto scroll}.zt-table--fixed::-webkit-scrollbar{width:0;height:0}.zt-table--fixed table{table-layout:fixed}.zt-table--thead-fixed{position:-webkit-sticky!important;position:-webkit-sticky!important;position:sticky!important;z-index:2}.zt-table--bordered{position:relative}.zt-table--bordered:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--zt-border-color);transform:scale(.5)}.zt-table--bordered:after{border-left-width:var(--zt-border-width)}.zt-table--bordered>table{position:relative}.zt-table--bordered>table:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--zt-border-color);transform:scale(.5)}.zt-table--bordered>table:after{border-top-width:var(--zt-border-width)}.zt-table--bordered .zt-table__thead>tr>th{position:relative}.zt-table--bordered .zt-table__thead>tr>th:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--zt-border-color);transform:scale(.5)}.zt-table--bordered .zt-table__thead>tr>th:after{border-right-width:var(--zt-border-width);border-bottom-width:var(--zt-border-width)}.zt-table--bordered .zt-table__tbody>tr>td{position:relative}.zt-table--bordered .zt-table__tbody>tr>td:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--zt-border-color);transform:scale(.5)}.zt-table--bordered .zt-table__tbody>tr>td:after{border-right-width:var(--zt-border-width);border-bottom-width:var(--zt-border-width)}.zt-table__thead>tr>th{box-sizing:border-box;overflow-wrap:break-word;min-height:var(--zt-table-head-height);font-weight:600;font-size:var(--zt-font-size-md);color:var(--zt-table-head-color);text-align:center;line-height:var(--zt-table-head-height);background:var(--zt-table-head-background)}.zt-table__tbody>tr>td{box-sizing:border-box;overflow-wrap:break-word;min-height:var(--zt-table-body-height);font-size:var(--zt-font-size-md);color:var(--zt-table-body-color);text-align:center;line-height:var(--zt-line-height-md);background:var(--zt-table-body-background);padding:10px 16px}.zt-table--striped .zt-table__tbody>tr:nth-child(2n)>td{background:var(--zt-table-head-background)}.zt-table__left--last{border-right:none!important}.zt-table__left--last:after{content:"";position:absolute;top:0;right:-10px;width:10px;height:100%;opacity:.06;background-image:linear-gradient(90deg,#000000 0%,rgba(0,0,0,0) 100%)}.zt-table__left--fixed{position:-webkit-sticky!important;position:-webkit-sticky!important;position:sticky!important;z-index:2}.zt-table__head{display:flex;justify-content:center}.zt-table__head-sort{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;color:var(--zt-table-sort-default)}.zt-table__head-label{line-height:var(--zt-table-head-height)}.zt-table__head-label-ellipsis{width:100%}.zt-table__sort-active{color:var(--zt-table-sort-active)}.zt-table--skeleton{background-color:#fff;padding-bottom:10px}.zt-table__row{display:flex;box-sizing:border-box;padding:0 10px;height:40px}.zt-table__row--head{display:flex;justify-content:center;align-items:center;background-color:#e7f0fb;margin-bottom:8px}.zt-table__row--head .zt-table__col-item{background-color:#cfdae9;height:20px}.zt-table__col{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:1;padding:4px 6px;height:40px}.zt-table__col-item{width:100%;height:100%;border-radius:4px;background-color:rgba(45,75,115,.06)}.zt-table--animate{animation:zt-table-blink var(--zt-skeleton-duration) ease-in-out infinite}@keyframes zt-table-blink{50%{opacity:.6}}
1
+ :root{--zt-table-head-color: var(--zt-primary-color);--zt-table-head-height: 40px;--zt-table-head-background: #e6f5ff;--zt-table-body-height: 40px;--zt-table-body-color: var(--zt-gray);--zt-table-body-background: var(--zt-white);--zt-table-sort-default: var(--zt-gray-5);--zt-table-sort-active: var(--zt-primary-color)}:root[zt-theme-size=large]{--zt-table-head-height: 52px}.zt-base-hair{position:relative}.zt-base-hair:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--zt-border-color);transform:scale(.5)}.zt-table table{border-collapse:separate;border-spacing:0;width:100%;table-layout:auto;box-sizing:border-box}.zt-table--fixed{overflow:auto scroll}.zt-table--fixed::-webkit-scrollbar{width:0;height:0}.zt-table--fixed table{table-layout:fixed}.zt-table--thead-fixed{position:-webkit-sticky!important;position:sticky!important;z-index:2}.zt-table--bordered{position:relative}.zt-table--bordered:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--zt-border-color);transform:scale(.5)}.zt-table--bordered:after{border-left-width:var(--zt-border-width)}.zt-table--bordered>table{position:relative}.zt-table--bordered>table:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--zt-border-color);transform:scale(.5)}.zt-table--bordered>table:after{border-top-width:var(--zt-border-width)}.zt-table--bordered .zt-table__thead>tr>th{position:relative}.zt-table--bordered .zt-table__thead>tr>th:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--zt-border-color);transform:scale(.5)}.zt-table--bordered .zt-table__thead>tr>th:after{border-right-width:var(--zt-border-width);border-bottom-width:var(--zt-border-width)}.zt-table--bordered .zt-table__tbody>tr>td{position:relative}.zt-table--bordered .zt-table__tbody>tr>td:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--zt-border-color);transform:scale(.5)}.zt-table--bordered .zt-table__tbody>tr>td:after{border-right-width:var(--zt-border-width);border-bottom-width:var(--zt-border-width)}.zt-table__thead>tr>th{box-sizing:border-box;overflow-wrap:break-word;min-height:var(--zt-table-head-height);font-weight:600;font-size:var(--zt-font-size-md);color:var(--zt-table-head-color);text-align:center;line-height:var(--zt-table-head-height);background:var(--zt-table-head-background)}.zt-table__tbody>tr>td{box-sizing:border-box;overflow-wrap:break-word;min-height:var(--zt-table-body-height);font-size:var(--zt-font-size-md);color:var(--zt-table-body-color);text-align:center;line-height:var(--zt-line-height-md);background:var(--zt-table-body-background);padding:10px 16px}.zt-table--striped .zt-table__tbody>tr:nth-child(2n)>td{background:var(--zt-table-head-background)}.zt-table__left--last{border-right:none!important}.zt-table__left--last:after{content:"";position:absolute;top:0;right:-10px;width:10px;height:100%;opacity:.06;background-image:linear-gradient(90deg,#000000 0%,rgba(0,0,0,0) 100%)}.zt-table__left--fixed{position:-webkit-sticky!important;position:sticky!important;z-index:2}.zt-table__head{display:flex;justify-content:center}.zt-table__head-sort{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;color:var(--zt-table-sort-default)}.zt-table__head-label{line-height:var(--zt-table-head-height)}.zt-table__head-label-ellipsis{width:100%}.zt-table__sort-active{color:var(--zt-table-sort-active)}.zt-table--skeleton{background-color:#fff;padding-bottom:10px}.zt-table__row{display:flex;box-sizing:border-box;padding:0 10px;height:40px}.zt-table__row--head{display:flex;justify-content:center;align-items:center;background-color:#e7f0fb;margin-bottom:8px}.zt-table__row--head .zt-table__col-item{background-color:#cfdae9;height:20px}.zt-table__col{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:1;padding:4px 6px;height:40px}.zt-table__col-item{width:100%;height:100%;border-radius:4px;background-color:rgba(45,75,115,.06)}.zt-table--animate{animation:zt-table-blink var(--zt-skeleton-duration) ease-in-out infinite}@keyframes zt-table-blink{50%{opacity:.6}}
@@ -1,4 +1,4 @@
1
- export declare const Table: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Table: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  headList: {
3
3
  type: import("vue").PropType<import("./Table").TableHeaderOption[]>;
4
4
  default: () => import("./Table").TableHeaderOption[];
@@ -31,7 +31,7 @@ export declare const Table: import("../utils").WithInstall<import("vue").DefineC
31
31
  type: BooleanConstructor;
32
32
  default: boolean;
33
33
  };
34
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "sort"[], "sort", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "sort"[], "sort", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
35
  headList: {
36
36
  type: import("vue").PropType<import("./Table").TableHeaderOption[]>;
37
37
  default: () => import("./Table").TableHeaderOption[];
@@ -64,9 +64,9 @@ export declare const Table: import("../utils").WithInstall<import("vue").DefineC
64
64
  type: BooleanConstructor;
65
65
  default: boolean;
66
66
  };
67
- }>> & {
67
+ }>> & Readonly<{
68
68
  onSort?: ((...args: any[]) => any) | undefined;
69
- }, {
69
+ }>, {
70
70
  border: boolean;
71
71
  loading: boolean;
72
72
  headList: import("./Table").TableHeaderOption[];
@@ -75,7 +75,7 @@ export declare const Table: import("../utils").WithInstall<import("vue").DefineC
75
75
  emptyValue: string;
76
76
  skeletonRow: number;
77
77
  hideTableHead: boolean;
78
- }, {}>>;
78
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
79
79
  export default Table;
80
80
  export { tableProps } from './Table';
81
81
  export type { TableBodyOption, TableHeaderOption, TableProps } from './Table';
@@ -46,7 +46,7 @@ declare const tabsProps: {
46
46
  };
47
47
  export type TabsProps = ExtractPropTypes<typeof tabsProps>;
48
48
  export declare const TABS_KEY: InjectionKey<TabsProvide>;
49
- declare const _default: import("vue").DefineComponent<{
49
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
50
50
  type: {
51
51
  type: PropType<TabsType>;
52
52
  default: TabsType;
@@ -88,7 +88,7 @@ declare const _default: import("vue").DefineComponent<{
88
88
  };
89
89
  titleActiveColor: StringConstructor;
90
90
  titleInactiveColor: StringConstructor;
91
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change" | "rendered" | "clickTab" | "update:active")[], "scroll" | "change" | "rendered" | "clickTab" | "update:active", import("vue").PublicProps, Readonly<ExtractPropTypes<{
91
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change" | "rendered" | "clickTab" | "update:active")[], "scroll" | "change" | "rendered" | "clickTab" | "update:active", import("vue").PublicProps, Readonly<ExtractPropTypes<{
92
92
  type: {
93
93
  type: PropType<TabsType>;
94
94
  default: TabsType;
@@ -130,13 +130,13 @@ declare const _default: import("vue").DefineComponent<{
130
130
  };
131
131
  titleActiveColor: StringConstructor;
132
132
  titleInactiveColor: StringConstructor;
133
- }>> & {
133
+ }>> & Readonly<{
134
134
  onChange?: ((...args: any[]) => any) | undefined;
135
135
  onScroll?: ((...args: any[]) => any) | undefined;
136
136
  onRendered?: ((...args: any[]) => any) | undefined;
137
137
  onClickTab?: ((...args: any[]) => any) | undefined;
138
138
  "onUpdate:active"?: ((...args: any[]) => any) | undefined;
139
- }, {
139
+ }>, {
140
140
  type: TabsType;
141
141
  ellipsis: boolean;
142
142
  sticky: boolean;
@@ -150,5 +150,5 @@ declare const _default: import("vue").DefineComponent<{
150
150
  swipeable: boolean;
151
151
  scrollspy: boolean;
152
152
  swipeThreshold: string | number;
153
- }, {}>;
153
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
154
154
  export default _default;
package/lib/tabs/Tabs.js CHANGED
@@ -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");
@@ -69,7 +68,7 @@ const tabsProps = {
69
68
  titleInactiveColor: String
70
69
  };
71
70
  const TABS_KEY = Symbol(name);
72
- var stdin_default = (0, import_vue2.defineComponent)({
71
+ var stdin_default = (0, import_vue.defineComponent)({
73
72
  name,
74
73
  props: tabsProps,
75
74
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
@@ -80,10 +79,10 @@ var stdin_default = (0, import_vue2.defineComponent)({
80
79
  let tabHeight;
81
80
  let lockScroll;
82
81
  let stickyFixed;
83
- const root = (0, import_vue2.ref)();
84
- const navRef = (0, import_vue2.ref)();
85
- const wrapRef = (0, import_vue2.ref)();
86
- const navTopRef = (0, import_vue2.ref)();
82
+ const root = (0, import_vue.ref)();
83
+ const navRef = (0, import_vue.ref)();
84
+ const wrapRef = (0, import_vue.ref)();
85
+ const navTopRef = (0, import_vue.ref)();
87
86
  const id = (0, import_use_id.useId)();
88
87
  const scroller = (0, import_use.useScrollParent)(root);
89
88
  const [titleRefs, setTitleRefs] = (0, import_use_refs.useRefs)();
@@ -91,7 +90,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
91
90
  children,
92
91
  linkChildren
93
92
  } = (0, import_use.useChildren)(TABS_KEY);
94
- const state = (0, import_vue2.reactive)({
93
+ const state = (0, import_vue.reactive)({
95
94
  inited: false,
96
95
  position: "",
97
96
  lineStyle: {},
@@ -99,8 +98,8 @@ var stdin_default = (0, import_vue2.defineComponent)({
99
98
  showLeftOverlay: false,
100
99
  showRightOverlay: false
101
100
  });
102
- const scrollable = (0, import_vue2.computed)(() => children.length > +props.swipeThreshold || !props.ellipsis || props.shrink);
103
- const navStyle = (0, import_vue2.computed)(() => ({
101
+ const scrollable = (0, import_vue.computed)(() => children.length > +props.swipeThreshold || !props.ellipsis || props.shrink);
102
+ const navStyle = (0, import_vue.computed)(() => ({
104
103
  borderColor: props.color,
105
104
  background: props.background
106
105
  }));
@@ -108,14 +107,14 @@ var stdin_default = (0, import_vue2.defineComponent)({
108
107
  var _a;
109
108
  return (_a = tab.name) != null ? _a : index;
110
109
  };
111
- const currentName = (0, import_vue2.computed)(() => {
110
+ const currentName = (0, import_vue.computed)(() => {
112
111
  const activeTab = children[state.currentIndex];
113
112
  if (activeTab) {
114
113
  return getTabName(activeTab, state.currentIndex);
115
114
  }
116
115
  });
117
- const offsetTopPx = (0, import_vue2.computed)(() => (0, import_utils.unitToPx)(props.offsetTop));
118
- const scrollOffset = (0, import_vue2.computed)(() => {
116
+ const offsetTopPx = (0, import_vue.computed)(() => (0, import_utils.unitToPx)(props.offsetTop));
117
+ const scrollOffset = (0, import_vue.computed)(() => {
119
118
  if (props.sticky) {
120
119
  let navTopHeight = 0;
121
120
  if (navTopRef.value) {
@@ -137,7 +136,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
137
136
  };
138
137
  const setLine = () => {
139
138
  const shouldAnimate = state.inited;
140
- (0, import_vue2.nextTick)(() => {
139
+ (0, import_vue.nextTick)(() => {
141
140
  const titles = titleRefs.value;
142
141
  if (!titles || !titles[state.currentIndex] || props.type !== "line" || (0, import_utils.isHidden)(root.value)) {
143
142
  return;
@@ -234,7 +233,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
234
233
  emit("scroll", params);
235
234
  };
236
235
  const scrollTo = (name2) => {
237
- (0, import_vue2.nextTick)(() => {
236
+ (0, import_vue.nextTick)(() => {
238
237
  setCurrentIndexByName(name2);
239
238
  scrollToCurrentContent(true);
240
239
  });
@@ -331,22 +330,22 @@ var stdin_default = (0, import_vue2.defineComponent)({
331
330
  "onScroll": onScrollHeader
332
331
  }, [(_a = slots["nav-left"]) == null ? void 0 : _a.call(slots), renderNav(), renderLine(), (_b = slots["nav-right"]) == null ? void 0 : _b.call(slots)]), scrollable.value ? renderOverlayLeft() : null, scrollable.value ? renderOverlayRight() : null]);
333
332
  };
334
- (0, import_vue2.watch)([() => props.color, import_utils.windowWidth], setLine);
335
- (0, import_vue2.watch)(() => props.active, (value) => {
333
+ (0, import_vue.watch)([() => props.color, import_utils.windowWidth], setLine);
334
+ (0, import_vue.watch)(() => props.active, (value) => {
336
335
  if (value !== currentName.value) {
337
336
  setCurrentIndexByName(value);
338
337
  }
339
338
  });
340
- (0, import_vue2.watch)(() => children.length, () => {
339
+ (0, import_vue.watch)(() => children.length, () => {
341
340
  if (state.inited) {
342
341
  setCurrentIndexByName(props.active);
343
342
  setLine();
344
- (0, import_vue2.nextTick)(() => {
343
+ (0, import_vue.nextTick)(() => {
345
344
  scrollIntoView(true);
346
345
  });
347
346
  }
348
347
  });
349
- (0, import_vue2.watch)(() => state.currentIndex, () => {
348
+ (0, import_vue.watch)(() => state.currentIndex, () => {
350
349
  scrollIntoView();
351
350
  setLine();
352
351
  if (stickyFixed && !props.scrollspy) {
@@ -355,7 +354,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
355
354
  });
356
355
  const init = () => {
357
356
  setCurrentIndexByName(props.active);
358
- (0, import_vue2.nextTick)(() => {
357
+ (0, import_vue.nextTick)(() => {
359
358
  state.inited = true;
360
359
  if (wrapRef.value) {
361
360
  tabHeight = (0, import_use.useRect)(wrapRef.value).height;
@@ -372,7 +371,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
372
371
  resize: setLine,
373
372
  scrollTo
374
373
  });
375
- (0, import_vue2.onActivated)(setLine);
374
+ (0, import_vue.onActivated)(setLine);
376
375
  (0, import_on_popup_reopen.onPopupReopen)(setLine);
377
376
  (0, import_use.onMountedOrActivated)(init);
378
377
  (0, import_use_visibility_change.useVisibilityChange)(root, setLine);
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  count: {
3
3
  type: NumberConstructor;
4
4
  required: true;
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  type: NumberConstructor;
16
16
  required: true;
17
17
  };
18
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  count: {
20
20
  type: NumberConstructor;
21
21
  required: true;
@@ -32,12 +32,12 @@ declare const _default: import("vue").DefineComponent<{
32
32
  type: NumberConstructor;
33
33
  required: true;
34
34
  };
35
- }>> & {
35
+ }>> & Readonly<{
36
36
  onChange?: ((...args: any[]) => any) | undefined;
37
- }, {
37
+ }>, {
38
38
  lazyRender: boolean;
39
39
  inited: boolean;
40
40
  animated: boolean;
41
41
  swipeable: 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_swipe = require("../swipe");
27
26
  const [name, bem] = (0, import_utils.createNamespace)("tabs");
28
- var stdin_default = (0, import_vue2.defineComponent)({
27
+ var stdin_default = (0, import_vue.defineComponent)({
29
28
  name,
30
29
  props: {
31
30
  count: (0, import_utils.makeRequiredProp)(Number),
@@ -41,7 +40,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
41
40
  emit,
42
41
  slots
43
42
  }) {
44
- const swipeRef = (0, import_vue2.ref)();
43
+ const swipeRef = (0, import_vue.ref)();
45
44
  const onChange = (index) => emit("change", index);
46
45
  const renderChildren = () => {
47
46
  var _a;
@@ -70,8 +69,8 @@ var stdin_default = (0, import_vue2.defineComponent)({
70
69
  });
71
70
  }
72
71
  };
73
- (0, import_vue2.watch)(() => props.currentIndex, swipeToCurrentTab);
74
- (0, import_vue2.onMounted)(() => {
72
+ (0, import_vue.watch)(() => props.currentIndex, swipeToCurrentTab);
73
+ (0, import_vue.onMounted)(() => {
75
74
  swipeToCurrentTab(props.currentIndex);
76
75
  });
77
76
  return () => (0, import_vue.createVNode)("div", {
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  id: StringConstructor;
3
3
  dot: BooleanConstructor;
4
4
  type: StringConstructor;
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
21
21
  default: string;
22
22
  };
23
23
  setLine: FunctionConstructor;
24
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
25
  id: StringConstructor;
26
26
  dot: BooleanConstructor;
27
27
  type: StringConstructor;
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
44
44
  default: string;
45
45
  };
46
46
  setLine: FunctionConstructor;
47
- }>>, {
47
+ }>> & Readonly<{}>, {
48
48
  dot: boolean;
49
49
  disabled: boolean;
50
50
  shrink: boolean;
@@ -52,5 +52,5 @@ declare const _default: import("vue").DefineComponent<{
52
52
  scrollable: boolean;
53
53
  showZeroBadge: boolean;
54
54
  maxWidth: string;
55
- }, {}>;
55
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
56
  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_badge = require("../badge");
27
26
  const [name, bem] = (0, import_utils.createNamespace)("tab");
28
- var stdin_default = (0, import_vue2.defineComponent)({
27
+ var stdin_default = (0, import_vue.defineComponent)({
29
28
  name,
30
29
  props: {
31
30
  id: String,
@@ -51,7 +50,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
51
50
  setup(props, {
52
51
  slots
53
52
  }) {
54
- const style = (0, import_vue2.computed)(() => {
53
+ const style = (0, import_vue.computed)(() => {
55
54
  const style2 = {};
56
55
  const {
57
56
  type,
@@ -106,12 +105,12 @@ var stdin_default = (0, import_vue2.defineComponent)({
106
105
  }
107
106
  return Text;
108
107
  };
109
- const mutationObserver = (0, import_vue2.ref)();
110
- const dom = (0, import_vue2.ref)(null);
108
+ const mutationObserver = (0, import_vue.ref)();
109
+ const dom = (0, import_vue.ref)(null);
111
110
  function mutation() {
112
111
  props.setLine && props.setLine();
113
112
  }
114
- (0, import_vue2.onMounted)(() => {
113
+ (0, import_vue.onMounted)(() => {
115
114
  if (!dom.value) {
116
115
  return;
117
116
  }
@@ -122,7 +121,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
122
121
  subtree: true
123
122
  });
124
123
  });
125
- (0, import_vue2.onBeforeUnmount)(() => {
124
+ (0, import_vue.onBeforeUnmount)(() => {
126
125
  var _a, _b;
127
126
  (_b = (_a = mutationObserver.value) == null ? void 0 : _a.unobserve) == null ? void 0 : _b.call(_a, dom.value);
128
127
  });