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
@@ -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_tab = require("../tab");
38
37
  var import_tabs = require("../tabs");
@@ -60,7 +59,7 @@ const cascaderProps = {
60
59
  safeAreaInsetTop: Boolean,
61
60
  closeOnClickOverlay: import_utils.truthProp
62
61
  };
63
- var stdin_default = (0, import_vue2.defineComponent)({
62
+ var stdin_default = (0, import_vue.defineComponent)({
64
63
  name,
65
64
  props: cascaderProps,
66
65
  emits: ["change", "finish", "clickTab", "update:modelValue", "update:show", "cancel"],
@@ -68,10 +67,10 @@ var stdin_default = (0, import_vue2.defineComponent)({
68
67
  slots,
69
68
  emit
70
69
  }) {
71
- const tabs = (0, import_vue2.ref)([]);
72
- const activeTab = (0, import_vue2.ref)(0);
73
- const currentValues = (0, import_vue2.ref)(props.modelValue);
74
- const currentShow = (0, import_vue2.ref)(props.show);
70
+ const tabs = (0, import_vue.ref)([]);
71
+ const activeTab = (0, import_vue.ref)(0);
72
+ const currentValues = (0, import_vue.ref)(props.modelValue);
73
+ const currentShow = (0, import_vue.ref)(props.show);
75
74
  const {
76
75
  text: textKey,
77
76
  value: valueKey,
@@ -120,7 +119,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
120
119
  selected: null
121
120
  });
122
121
  }
123
- (0, import_vue2.nextTick)(() => {
122
+ (0, import_vue.nextTick)(() => {
124
123
  activeTab.value = tabs.value.length - 1;
125
124
  });
126
125
  return;
@@ -149,7 +148,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
149
148
  } else {
150
149
  tabs.value.push(nextTab);
151
150
  }
152
- (0, import_vue2.nextTick)(() => {
151
+ (0, import_vue.nextTick)(() => {
153
152
  activeTab.value++;
154
153
  });
155
154
  }
@@ -262,20 +261,20 @@ var stdin_default = (0, import_vue2.defineComponent)({
262
261
  currentValues.value = props.modelValue;
263
262
  }
264
263
  };
265
- (0, import_vue2.watch)(currentShow, (newValue) => {
264
+ (0, import_vue.watch)(currentShow, (newValue) => {
266
265
  if (newValue !== props.show) {
267
266
  emit("update:show", newValue);
268
267
  }
269
268
  });
270
- (0, import_vue2.watch)(() => props.show, (newValue) => {
269
+ (0, import_vue.watch)(() => props.show, (newValue) => {
271
270
  if (newValue !== currentShow.value) {
272
271
  currentShow.value = newValue;
273
272
  }
274
273
  });
275
- (0, import_vue2.watch)(() => props.options, updateTabs, {
274
+ (0, import_vue.watch)(() => props.options, updateTabs, {
276
275
  deep: true
277
276
  });
278
- (0, import_vue2.watch)(() => props.modelValue, (value) => {
277
+ (0, import_vue.watch)(() => props.modelValue, (value) => {
279
278
  if (value !== void 0) {
280
279
  const values = tabs.value.map((tab) => {
281
280
  var _a;
@@ -1,4 +1,4 @@
1
- export declare const Cascader: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Cascader: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  title: StringConstructor;
3
3
  show: BooleanConstructor;
4
4
  round: {
@@ -46,7 +46,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
46
46
  type: BooleanConstructor;
47
47
  default: true;
48
48
  };
49
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
50
  title: StringConstructor;
51
51
  show: BooleanConstructor;
52
52
  round: {
@@ -94,14 +94,14 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
94
94
  type: BooleanConstructor;
95
95
  default: true;
96
96
  };
97
- }>> & {
97
+ }>> & Readonly<{
98
98
  onChange?: ((...args: any[]) => any) | undefined;
99
99
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
100
100
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
101
101
  onCancel?: ((...args: any[]) => any) | undefined;
102
102
  onClickTab?: ((...args: any[]) => any) | undefined;
103
103
  onFinish?: ((...args: any[]) => any) | undefined;
104
- }, {
104
+ }>, {
105
105
  position: import("..").PopupPosition;
106
106
  round: boolean;
107
107
  show: boolean;
@@ -114,7 +114,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
114
114
  swipeable: boolean;
115
115
  options: import("./types").CascaderOption[];
116
116
  showHeader: boolean;
117
- }, {}>>;
117
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
118
118
  export default Cascader;
119
119
  export { cascaderProps } from './Cascader';
120
120
  export type { CascaderProps } from './Cascader';
@@ -93,9 +93,10 @@ declare const cellProps: {
93
93
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
94
94
  url: StringConstructor;
95
95
  replace: BooleanConstructor;
96
+ $router: PropType<import("vue-router").Router>;
96
97
  };
97
98
  export type CellProps = ExtractPropTypes<typeof cellProps>;
98
- declare const _default: import("vue").DefineComponent<{
99
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
99
100
  leftIcon: StringConstructor;
100
101
  titleIcon: StringConstructor;
101
102
  title: (NumberConstructor | StringConstructor)[];
@@ -142,7 +143,8 @@ declare const _default: import("vue").DefineComponent<{
142
143
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
143
144
  url: StringConstructor;
144
145
  replace: BooleanConstructor;
145
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
146
+ $router: PropType<import("vue-router").Router>;
147
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
146
148
  leftIcon: StringConstructor;
147
149
  titleIcon: StringConstructor;
148
150
  title: (NumberConstructor | StringConstructor)[];
@@ -189,10 +191,11 @@ declare const _default: import("vue").DefineComponent<{
189
191
  to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
190
192
  url: StringConstructor;
191
193
  replace: BooleanConstructor;
192
- }>> & {
194
+ $router: PropType<import("vue-router").Router>;
195
+ }>> & Readonly<{
193
196
  onClick?: ((...args: any[]) => any) | undefined;
194
197
  onClear?: ((...args: any[]) => any) | undefined;
195
- }, {
198
+ }>, {
196
199
  replace: boolean;
197
200
  center: boolean;
198
201
  value: string;
@@ -204,5 +207,5 @@ declare const _default: import("vue").DefineComponent<{
204
207
  clearable: boolean;
205
208
  clearIcon: string;
206
209
  description: string;
207
- }, {}>;
210
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
208
211
  export default _default;
package/lib/cell/Cell.js CHANGED
@@ -22,7 +22,6 @@ __export(stdin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(stdin_exports);
24
24
  var import_vue = require("vue");
25
- var import_vue2 = require("vue");
26
25
  var import_utils = require("../utils");
27
26
  var import_use_route = require("../composables/use-route");
28
27
  var import_use = require("@zartui/use");
@@ -59,7 +58,7 @@ const cellSharedProps = {
59
58
  description: (0, import_utils.makeStringProp)("")
60
59
  };
61
60
  const cellProps = (0, import_utils.extend)({}, cellSharedProps, import_use_route.routeProps);
62
- var stdin_default = (0, import_vue2.defineComponent)({
61
+ var stdin_default = (0, import_vue.defineComponent)({
63
62
  name,
64
63
  props: cellProps,
65
64
  emits: ["click", "clear"],
@@ -68,7 +67,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
68
67
  emit
69
68
  }) {
70
69
  const route = (0, import_use_route.useRoute)();
71
- const clearIconRef = (0, import_vue2.ref)();
70
+ const clearIconRef = (0, import_vue.ref)();
72
71
  const renderLabel = () => {
73
72
  const showLabel = slots.label || (0, import_utils.isDef)(props.label);
74
73
  if (showLabel) {
@@ -141,7 +140,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
141
140
  return "click";
142
141
  }
143
142
  (0, import_use.useEventListener)(getClearIconListenerEvent(), onClear, {
144
- target: (0, import_vue2.computed)(() => {
143
+ target: (0, import_vue.computed)(() => {
145
144
  var _a;
146
145
  return (_a = clearIconRef.value) == null ? void 0 : _a.$el;
147
146
  })
@@ -192,8 +191,8 @@ var stdin_default = (0, import_vue2.defineComponent)({
192
191
  }, null);
193
192
  }
194
193
  };
195
- const showDescription = (0, import_vue2.computed)(() => !(0, import_utils2.isEmptyValue)(props.description));
196
- const showErrorMessage = (0, import_vue2.computed)(() => !(0, import_utils2.isEmptyValue)(props.errorMessage));
194
+ const showDescription = (0, import_vue.computed)(() => !(0, import_utils2.isEmptyValue)(props.description));
195
+ const showErrorMessage = (0, import_vue.computed)(() => !(0, import_utils2.isEmptyValue)(props.errorMessage));
197
196
  const renderDescription = () => {
198
197
  if (!showDescription.value) {
199
198
  return;
@@ -1,4 +1,4 @@
1
- export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  leftIcon: StringConstructor;
3
3
  titleIcon: StringConstructor;
4
4
  title: (NumberConstructor | StringConstructor)[];
@@ -45,7 +45,8 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
45
45
  to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
46
46
  url: StringConstructor;
47
47
  replace: BooleanConstructor;
48
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
48
+ $router: import("vue").PropType<import("vue-router").Router>;
49
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
50
  leftIcon: StringConstructor;
50
51
  titleIcon: StringConstructor;
51
52
  title: (NumberConstructor | StringConstructor)[];
@@ -92,10 +93,11 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
92
93
  to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
93
94
  url: StringConstructor;
94
95
  replace: BooleanConstructor;
95
- }>> & {
96
+ $router: import("vue").PropType<import("vue-router").Router>;
97
+ }>> & Readonly<{
96
98
  onClick?: ((...args: any[]) => any) | undefined;
97
99
  onClear?: ((...args: any[]) => any) | undefined;
98
- }, {
100
+ }>, {
99
101
  replace: boolean;
100
102
  center: boolean;
101
103
  value: string;
@@ -107,7 +109,7 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
107
109
  clearable: boolean;
108
110
  clearIcon: string;
109
111
  description: string;
110
- }, {}>>;
112
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
111
113
  export default Cell;
112
114
  export type { CellProps, CellArrowDirection } from './Cell';
113
115
  export type { CellDirection, CellThemeVars } from './types';
@@ -8,22 +8,22 @@ declare const cellGroupProps: {
8
8
  };
9
9
  };
10
10
  export type CellGroupProps = ExtractPropTypes<typeof cellGroupProps>;
11
- declare const _default: import("vue").DefineComponent<{
11
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
12
12
  title: StringConstructor;
13
13
  inset: BooleanConstructor;
14
14
  border: {
15
15
  type: BooleanConstructor;
16
16
  default: true;
17
17
  };
18
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
18
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
19
19
  title: StringConstructor;
20
20
  inset: BooleanConstructor;
21
21
  border: {
22
22
  type: BooleanConstructor;
23
23
  default: true;
24
24
  };
25
- }>>, {
25
+ }>> & Readonly<{}>, {
26
26
  inset: boolean;
27
27
  border: boolean;
28
- }, {}>;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
29
  export default _default;
@@ -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_scope_id = require("../composables/use-scope-id");
27
26
  const [name, bem] = (0, import_utils.createNamespace)("cell-group");
@@ -30,7 +29,7 @@ const cellGroupProps = {
30
29
  inset: Boolean,
31
30
  border: import_utils.truthProp
32
31
  };
33
- var stdin_default = (0, import_vue2.defineComponent)({
32
+ var stdin_default = (0, import_vue.defineComponent)({
34
33
  name,
35
34
  inheritAttrs: false,
36
35
  props: cellGroupProps,
@@ -1,21 +1,21 @@
1
- export declare const CellGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const CellGroup: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  title: StringConstructor;
3
3
  inset: BooleanConstructor;
4
4
  border: {
5
5
  type: BooleanConstructor;
6
6
  default: true;
7
7
  };
8
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
9
  title: StringConstructor;
10
10
  inset: BooleanConstructor;
11
11
  border: {
12
12
  type: BooleanConstructor;
13
13
  default: true;
14
14
  };
15
- }>>, {
15
+ }>> & Readonly<{}>, {
16
16
  inset: boolean;
17
17
  border: boolean;
18
- }, {}>>;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
19
19
  export default CellGroup;
20
20
  export type { CellGroupProps } from './CellGroup';
21
21
  declare module 'vue' {
@@ -23,7 +23,7 @@ declare const checkboxProps: {
23
23
  };
24
24
  };
25
25
  export type CheckboxProps = ExtractPropTypes<typeof checkboxProps>;
26
- declare const _default: import("vue").DefineComponent<{
26
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
27
27
  name: PropType<unknown>;
28
28
  shape: {
29
29
  type: PropType<import("./Checker").CheckerShape>;
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
44
44
  type: PropType<boolean | null>;
45
45
  default: null;
46
46
  };
47
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
47
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
48
48
  name: PropType<unknown>;
49
49
  shape: {
50
50
  type: PropType<import("./Checker").CheckerShape>;
@@ -65,14 +65,14 @@ declare const _default: import("vue").DefineComponent<{
65
65
  type: PropType<boolean | null>;
66
66
  default: null;
67
67
  };
68
- }>> & {
68
+ }>> & Readonly<{
69
69
  onChange?: ((...args: any[]) => any) | undefined;
70
70
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
71
- }, {
71
+ }>, {
72
72
  shape: import("./Checker").CheckerShape;
73
73
  disabled: boolean;
74
74
  labelDisabled: boolean;
75
75
  bindGroup: boolean;
76
76
  indeterminate: boolean | null;
77
- }, {}>;
77
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
78
78
  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_CheckboxGroup = require("../checkbox-group/CheckboxGroup");
37
36
  var import_use = require("@zartui/use");
@@ -45,7 +44,7 @@ const checkboxProps = (0, import_utils.extend)({}, import_Checker.checkerProps,
45
44
  default: null
46
45
  }
47
46
  });
48
- var stdin_default = (0, import_vue2.defineComponent)({
47
+ var stdin_default = (0, import_vue.defineComponent)({
49
48
  name,
50
49
  props: checkboxProps,
51
50
  emits: ["change", "update:modelValue"],
@@ -83,7 +82,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
83
82
  }
84
83
  }
85
84
  };
86
- const checked = (0, import_vue2.computed)(() => {
85
+ const checked = (0, import_vue.computed)(() => {
87
86
  if (parent && props.bindGroup) {
88
87
  return parent.props.modelValue.indexOf(props.name) !== -1;
89
88
  }
@@ -99,7 +98,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
99
98
  }
100
99
  }
101
100
  };
102
- (0, import_vue2.watch)(() => props.modelValue, (value) => {
101
+ (0, import_vue.watch)(() => props.modelValue, (value) => {
103
102
  if (props.indeterminate === null) {
104
103
  emit("change", value);
105
104
  }
@@ -24,7 +24,7 @@ export declare const checkerProps: {
24
24
  labelPosition: PropType<CheckerLabelPosition>;
25
25
  labelDisabled: BooleanConstructor;
26
26
  };
27
- declare const _default: import("vue").DefineComponent<{
27
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
28
28
  name: PropType<unknown>;
29
29
  shape: {
30
30
  type: PropType<CheckerShape>;
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
52
52
  type: PropType<boolean | null>;
53
53
  default: null;
54
54
  };
55
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "toggle")[], "click" | "toggle", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "toggle")[], "click" | "toggle", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
56
  name: PropType<unknown>;
57
57
  shape: {
58
58
  type: PropType<CheckerShape>;
@@ -80,15 +80,15 @@ declare const _default: import("vue").DefineComponent<{
80
80
  type: PropType<boolean | null>;
81
81
  default: null;
82
82
  };
83
- }>> & {
83
+ }>> & Readonly<{
84
84
  onClick?: ((...args: any[]) => any) | undefined;
85
85
  onToggle?: ((...args: any[]) => any) | undefined;
86
- }, {
86
+ }>, {
87
87
  shape: CheckerShape;
88
88
  disabled: boolean;
89
89
  checked: boolean;
90
90
  labelDisabled: boolean;
91
91
  bindGroup: boolean;
92
92
  indeterminate: boolean | null;
93
- }, {}>;
93
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
94
94
  export default _default;
@@ -22,7 +22,6 @@ __export(stdin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(stdin_exports);
24
24
  var import_vue = require("vue");
25
- var import_vue2 = require("vue");
26
25
  var import_utils = require("../utils");
27
26
  var import_icon = require("../icon");
28
27
  const checkerProps = {
@@ -35,7 +34,7 @@ const checkerProps = {
35
34
  labelPosition: String,
36
35
  labelDisabled: Boolean
37
36
  };
38
- var stdin_default = (0, import_vue2.defineComponent)({
37
+ var stdin_default = (0, import_vue.defineComponent)({
39
38
  props: (0, import_utils.extend)({}, checkerProps, {
40
39
  bem: (0, import_utils.makeRequiredProp)(Function),
41
40
  role: String,
@@ -52,15 +51,15 @@ var stdin_default = (0, import_vue2.defineComponent)({
52
51
  emit,
53
52
  slots
54
53
  }) {
55
- const iconRef = (0, import_vue2.ref)();
54
+ const iconRef = (0, import_vue.ref)();
56
55
  const getParentProp = (name) => {
57
56
  if (props.parent && props.bindGroup) {
58
57
  return props.parent.props[name];
59
58
  }
60
59
  };
61
- const disabled = (0, import_vue2.computed)(() => getParentProp("disabled") || props.disabled);
62
- const direction = (0, import_vue2.computed)(() => getParentProp("direction"));
63
- const iconStyle = (0, import_vue2.computed)(() => {
60
+ const disabled = (0, import_vue.computed)(() => getParentProp("disabled") || props.disabled);
61
+ const direction = (0, import_vue.computed)(() => getParentProp("direction"));
62
+ const iconStyle = (0, import_vue.computed)(() => {
64
63
  const checkedColor = props.checkedColor || getParentProp("checkedColor");
65
64
  if (checkedColor && props.checked && !disabled.value) {
66
65
  return {
@@ -1 +1 @@
1
- :root{--zt-checkbox-padding: 12px 0;--zt-checkbox-border-color: var(--zt-gray-a1);--zt-checkbox-duration: var(--zt-duration-fast);--zt-checkbox-round-icon-border: 1px solid var(--zt-gray-a1);--zt-checkbox-round-icon-box-shadow: -1px -1px 2px 0 #ffffff, 0 0 3px 0 var(--zt-gray-a2);--zt-checkbox-round-icon-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%);--zt-checkbox-label-margin: var(--zt-padding-xs);--zt-checkbox-label-color: var(--zt-text-color);--zt-checkbox-checked-icon-color: var(--zt-primary-color);--zt-checkbox-checked-icon-shadow: inset 1px 1px 2px 0 rgba(0, 0, 0, .2);--zt-checkbox-checked-icon-border: 1px solid rgba(255, 255, 255, .5);--zt-checkbox-disabled-icon-shadow: -1px -1px 2px 0 #fff, 0 0 3px 0 var(--zt-gray-a2);--zt-checkbox-disabled-icon-border: 1px solid var(--zt-gray-a08);--zt-checkbox-disabled-label-color: var(--zt-gray-a2);--zt-checkbox-disabled-checked-icon-opacity: var(--zt-disabled-opacity);--zt-checkbox-disabled-icon-background: linear-gradient(134deg, #e1e6eb 0%, #e5edf5 100%)}.zt-checkbox{position:relative;display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none;padding:var(--zt-checkbox-padding)}.zt-checkbox--disabled{cursor:not-allowed}.zt-checkbox--label-disabled{cursor:default}.zt-checkbox--horizontal{margin-right:var(--zt-padding-sm)}.zt-checkbox__icon{font-size:var(--zt-font-size-lg);cursor:pointer;box-sizing:border-box}.zt-checkbox__icon .zt-icon{display:flex;justify-content:center;align-items:center;width:1em;height:1em;color:transparent;text-align:center;border:1px solid var(--zt-checkbox-border-color);transition-duration:var(--zt-checkbox-duration);transition-property:color,border-color,background-color}.zt-checkbox__icon--round .zt-icon{border-radius:100%;border:var(--zt-checkbox-round-icon-border);box-shadow:var(--zt-checkbox-round-icon-box-shadow);background:var(--zt-checkbox-round-icon-background)}.zt-checkbox__icon--indeterminate .zt-icon,.zt-checkbox__icon--checked .zt-icon{color:var(--zt-white);background:var(--zt-checkbox-checked-icon-color);box-shadow:var(--zt-checkbox-checked-icon-shadow);border:var(--zt-checkbox-checked-icon-border)}.zt-checkbox__icon--disabled{cursor:not-allowed}.zt-checkbox__icon--disabled .zt-icon{border:var(--zt-checkbox-disabled-icon-border);box-shadow:var(--zt-checkbox-disabled-icon-shadow);background:var(--zt-checkbox-disabled-icon-background)}.zt-checkbox__icon--disabled.zt-checkbox__icon--checked .zt-icon{opacity:var(--zt-checkbox-disabled-checked-icon-opacity);background:var(--zt-checkbox-checked-icon-color);color:var(--zt-white)}.zt-checkbox__label{margin-left:var(--zt-checkbox-label-margin);color:var(--zt-checkbox-label-color);font-size:var(--zt-font-size-md)}.zt-checkbox__label--left{margin:0 var(--zt-checkbox-label-margin) 0 0}.zt-checkbox__label--disabled{color:var(--zt-checkbox-disabled-label-color)}.zt-theme-dark{--zt-checkbox-round-icon-box-shadow: none;--zt-checkbox-disabled-icon-shadow: none;--zt-checkbox-round-icon-background: rgba(255, 255, 255, .04);--zt-checkbox-round-icon-border: 1px solid var(--zt-gray);--zt-checkbox-disabled-icon-background: var(--zt-gray-a2)}
1
+ :root{--zt-checkbox-padding: 12px 0;--zt-checkbox-border-color: var(--zt-gray-a1);--zt-checkbox-duration: var(--zt-duration-fast);--zt-checkbox-round-icon-border: 1px solid var(--zt-gray-a1);--zt-checkbox-round-icon-box-shadow: -1px -1px 2px 0 #ffffff, 0 0 3px 0 var(--zt-gray-a2);--zt-checkbox-round-icon-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%);--zt-checkbox-label-margin: var(--zt-padding-xs);--zt-checkbox-label-color: var(--zt-text-color);--zt-checkbox-checked-icon-color: var(--zt-primary-color);--zt-checkbox-checked-icon-shadow: inset 1px 1px 2px 0 rgba(0, 0, 0, .2);--zt-checkbox-checked-icon-border: 1px solid rgba(255, 255, 255, .5);--zt-checkbox-disabled-icon-shadow: -1px -1px 2px 0 #fff, 0 0 3px 0 var(--zt-gray-a2);--zt-checkbox-disabled-icon-border: 1px solid var(--zt-gray-a08);--zt-checkbox-disabled-label-color: var(--zt-gray-a2);--zt-checkbox-disabled-checked-icon-opacity: var(--zt-disabled-opacity);--zt-checkbox-disabled-icon-background: linear-gradient(134deg, #e1e6eb 0%, #e5edf5 100%)}.zt-checkbox{position:relative;display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:var(--zt-checkbox-padding)}.zt-checkbox--disabled{cursor:not-allowed}.zt-checkbox--label-disabled{cursor:default}.zt-checkbox--horizontal{margin-right:var(--zt-padding-sm)}.zt-checkbox__icon{font-size:var(--zt-font-size-lg);cursor:pointer;box-sizing:border-box}.zt-checkbox__icon .zt-icon{display:flex;justify-content:center;align-items:center;width:1em;height:1em;color:transparent;text-align:center;border:1px solid var(--zt-checkbox-border-color);transition-duration:var(--zt-checkbox-duration);transition-property:color,border-color,background-color}.zt-checkbox__icon--round .zt-icon{border-radius:100%;border:var(--zt-checkbox-round-icon-border);box-shadow:var(--zt-checkbox-round-icon-box-shadow);background:var(--zt-checkbox-round-icon-background)}.zt-checkbox__icon--indeterminate .zt-icon,.zt-checkbox__icon--checked .zt-icon{color:var(--zt-white);background:var(--zt-checkbox-checked-icon-color);box-shadow:var(--zt-checkbox-checked-icon-shadow);border:var(--zt-checkbox-checked-icon-border)}.zt-checkbox__icon--disabled{cursor:not-allowed}.zt-checkbox__icon--disabled .zt-icon{border:var(--zt-checkbox-disabled-icon-border);box-shadow:var(--zt-checkbox-disabled-icon-shadow);background:var(--zt-checkbox-disabled-icon-background)}.zt-checkbox__icon--disabled.zt-checkbox__icon--checked .zt-icon{opacity:var(--zt-checkbox-disabled-checked-icon-opacity);background:var(--zt-checkbox-checked-icon-color);color:var(--zt-white)}.zt-checkbox__label{margin-left:var(--zt-checkbox-label-margin);color:var(--zt-checkbox-label-color);font-size:var(--zt-font-size-md)}.zt-checkbox__label--left{margin:0 var(--zt-checkbox-label-margin) 0 0}.zt-checkbox__label--disabled{color:var(--zt-checkbox-disabled-label-color)}.zt-theme-dark{--zt-checkbox-round-icon-box-shadow: none;--zt-checkbox-disabled-icon-shadow: none;--zt-checkbox-round-icon-background: rgba(255, 255, 255, .04);--zt-checkbox-round-icon-border: 1px solid var(--zt-gray);--zt-checkbox-disabled-icon-background: var(--zt-gray-a2)}
@@ -1,4 +1,4 @@
1
- export declare const Checkbox: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Checkbox: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  name: import("vue").PropType<unknown>;
3
3
  shape: {
4
4
  type: import("vue").PropType<import("./Checker").CheckerShape>;
@@ -19,7 +19,7 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
19
19
  type: import("vue").PropType<boolean | null>;
20
20
  default: null;
21
21
  };
22
- }, () => 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<{
22
+ }>, () => 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<{
23
23
  name: import("vue").PropType<unknown>;
24
24
  shape: {
25
25
  type: import("vue").PropType<import("./Checker").CheckerShape>;
@@ -40,16 +40,16 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
40
40
  type: import("vue").PropType<boolean | null>;
41
41
  default: null;
42
42
  };
43
- }>> & {
43
+ }>> & Readonly<{
44
44
  onChange?: ((...args: any[]) => any) | undefined;
45
45
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
- }, {
46
+ }>, {
47
47
  shape: import("./Checker").CheckerShape;
48
48
  disabled: boolean;
49
49
  labelDisabled: boolean;
50
50
  bindGroup: boolean;
51
51
  indeterminate: boolean | null;
52
- }, {}>>;
52
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
53
53
  export default Checkbox;
54
54
  export type { CheckboxProps } from './Checkbox';
55
55
  export type { CheckboxShape, CheckboxInstance, CheckboxLabelPosition, CheckboxThemeVars, } from './types';
@@ -17,7 +17,7 @@ declare const checkboxGroupProps: {
17
17
  };
18
18
  export type CheckboxGroupProps = ExtractPropTypes<typeof checkboxGroupProps>;
19
19
  export declare const CHECKBOX_GROUP_KEY: InjectionKey<CheckboxGroupProvide>;
20
- declare const _default: import("vue").DefineComponent<{
20
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
21
21
  max: (NumberConstructor | StringConstructor)[];
22
22
  disabled: BooleanConstructor;
23
23
  iconSize: (NumberConstructor | StringConstructor)[];
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
30
30
  default: () => unknown[];
31
31
  };
32
32
  checkedColor: StringConstructor;
33
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
33
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
34
34
  max: (NumberConstructor | StringConstructor)[];
35
35
  disabled: BooleanConstructor;
36
36
  iconSize: (NumberConstructor | StringConstructor)[];
@@ -43,12 +43,12 @@ declare const _default: import("vue").DefineComponent<{
43
43
  default: () => unknown[];
44
44
  };
45
45
  checkedColor: StringConstructor;
46
- }>> & {
46
+ }>> & Readonly<{
47
47
  onChange?: ((...args: any[]) => any) | undefined;
48
48
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
49
- }, {
49
+ }>, {
50
50
  disabled: boolean;
51
51
  direction: CheckerDirection;
52
52
  modelValue: unknown[];
53
- }, {}>;
53
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
54
54
  export default _default;
@@ -22,7 +22,6 @@ __export(stdin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(stdin_exports);
24
24
  var import_vue = require("vue");
25
- var import_vue2 = require("vue");
26
25
  var import_utils = require("../utils");
27
26
  var import_use = require("@zartui/use");
28
27
  var import_use_expose = require("../composables/use-expose");
@@ -36,7 +35,7 @@ const checkboxGroupProps = {
36
35
  checkedColor: String
37
36
  };
38
37
  const CHECKBOX_GROUP_KEY = Symbol(name);
39
- var stdin_default = (0, import_vue2.defineComponent)({
38
+ var stdin_default = (0, import_vue.defineComponent)({
40
39
  name,
41
40
  props: checkboxGroupProps,
42
41
  emits: ["change", "update:modelValue"],
@@ -71,7 +70,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
71
70
  const names = checkedChildren.map((item) => item.name);
72
71
  updateValue(names);
73
72
  };
74
- (0, import_vue2.watch)(() => props.modelValue, (value) => emit("change", value));
73
+ (0, import_vue.watch)(() => props.modelValue, (value) => emit("change", value));
75
74
  (0, import_use_expose.useExpose)({
76
75
  toggleAll
77
76
  });
@@ -1,4 +1,4 @@
1
- export declare const CheckboxGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const CheckboxGroup: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  max: (NumberConstructor | StringConstructor)[];
3
3
  disabled: BooleanConstructor;
4
4
  iconSize: (NumberConstructor | StringConstructor)[];
@@ -11,7 +11,7 @@ export declare const CheckboxGroup: import("../utils").WithInstall<import("vue")
11
11
  default: () => unknown[];
12
12
  };
13
13
  checkedColor: StringConstructor;
14
- }, () => 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<{
14
+ }>, () => 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<{
15
15
  max: (NumberConstructor | StringConstructor)[];
16
16
  disabled: BooleanConstructor;
17
17
  iconSize: (NumberConstructor | StringConstructor)[];
@@ -24,14 +24,14 @@ export declare const CheckboxGroup: import("../utils").WithInstall<import("vue")
24
24
  default: () => unknown[];
25
25
  };
26
26
  checkedColor: StringConstructor;
27
- }>> & {
27
+ }>> & Readonly<{
28
28
  onChange?: ((...args: any[]) => any) | undefined;
29
29
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
30
- }, {
30
+ }>, {
31
31
  disabled: boolean;
32
32
  direction: import("../checkbox/Checker").CheckerDirection;
33
33
  modelValue: unknown[];
34
- }, {}>>;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
35
35
  export default CheckboxGroup;
36
36
  export type { CheckboxGroupProps } from './CheckboxGroup';
37
37
  export type { CheckboxGroupInstance, CheckboxGroupDirection, CheckboxGroupToggleAllOptions, } from './types';
package/lib/col/Col.d.ts CHANGED
@@ -11,7 +11,7 @@ declare const colProps: {
11
11
  offset: (NumberConstructor | StringConstructor)[];
12
12
  };
13
13
  export type ColProps = ExtractPropTypes<typeof colProps>;
14
- declare const _default: import("vue").DefineComponent<{
14
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
15
15
  tag: {
16
16
  type: import("vue").PropType<keyof HTMLElementTagNameMap>;
17
17
  default: keyof HTMLElementTagNameMap;
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
21
21
  default: number;
22
22
  };
23
23
  offset: (NumberConstructor | StringConstructor)[];
24
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
24
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
25
25
  tag: {
26
26
  type: import("vue").PropType<keyof HTMLElementTagNameMap>;
27
27
  default: keyof HTMLElementTagNameMap;
@@ -31,8 +31,8 @@ declare const _default: import("vue").DefineComponent<{
31
31
  default: number;
32
32
  };
33
33
  offset: (NumberConstructor | StringConstructor)[];
34
- }>>, {
34
+ }>> & Readonly<{}>, {
35
35
  span: string | number;
36
36
  tag: keyof HTMLElementTagNameMap;
37
- }, {}>;
37
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
38
  export default _default;