zartui 3.0.2 → 3.0.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 (989) hide show
  1. package/es/action-sheet/ActionSheet.d.ts +194 -0
  2. package/es/action-sheet/ActionSheet.mjs +142 -0
  3. package/es/action-sheet/index.css +1 -0
  4. package/es/action-sheet/index.d.ts +135 -0
  5. package/es/action-sheet/index.mjs +10 -0
  6. package/es/action-sheet/style/index.d.ts +1 -0
  7. package/es/action-sheet/style/index.mjs +7 -0
  8. package/es/avatar/Avatar.d.ts +55 -0
  9. package/es/avatar/Avatar.mjs +65 -0
  10. package/es/avatar/index.css +1 -0
  11. package/es/avatar/index.d.ts +43 -0
  12. package/es/avatar/index.mjs +8 -0
  13. package/es/avatar/style/index.d.ts +1 -0
  14. package/es/avatar/style/index.mjs +5 -0
  15. package/es/avatar/types.d.ts +2 -0
  16. package/es/avatar/types.mjs +0 -0
  17. package/es/badge/Badge.d.ts +11 -5
  18. package/es/badge/Badge.mjs +13 -6
  19. package/es/badge/index.css +1 -1
  20. package/es/badge/index.d.ts +7 -3
  21. package/es/button/Button.d.ts +1 -1
  22. package/es/button/index.css +1 -1
  23. package/es/button/index.d.ts +1 -1
  24. package/es/calendar/Calendar.d.ts +302 -0
  25. package/es/calendar/Calendar.mjs +419 -0
  26. package/es/calendar/CalendarDay.d.ts +32 -0
  27. package/es/calendar/CalendarDay.mjs +108 -0
  28. package/es/calendar/CalendarHeader.d.ts +26 -0
  29. package/es/calendar/CalendarHeader.mjs +58 -0
  30. package/es/calendar/CalendarMonth.d.ts +86 -0
  31. package/es/calendar/CalendarMonth.mjs +201 -0
  32. package/es/calendar/index.css +1 -0
  33. package/es/calendar/index.d.ts +217 -0
  34. package/es/calendar/index.mjs +10 -0
  35. package/es/calendar/style/index.d.ts +1 -0
  36. package/es/calendar/style/index.mjs +9 -0
  37. package/es/calendar/types.d.ts +28 -0
  38. package/es/calendar/types.mjs +0 -0
  39. package/es/calendar/utils.d.ts +12 -0
  40. package/es/calendar/utils.mjs +56 -0
  41. package/es/cascader/Cascader.d.ts +171 -0
  42. package/es/cascader/Cascader.mjs +284 -0
  43. package/es/cascader/index.css +1 -0
  44. package/es/cascader/index.d.ts +126 -0
  45. package/es/cascader/index.mjs +10 -0
  46. package/es/cascader/style/index.d.ts +1 -0
  47. package/es/cascader/style/index.mjs +14 -0
  48. package/es/cascader/types.d.ts +19 -0
  49. package/es/cascader/types.mjs +0 -0
  50. package/es/cell/Cell.d.ts +49 -26
  51. package/es/cell/Cell.mjs +71 -31
  52. package/es/cell/index.css +1 -1
  53. package/es/cell/index.d.ts +29 -15
  54. package/es/cell/types.d.ts +1 -0
  55. package/es/cell/types.mjs +0 -0
  56. package/es/cell-group/CellGroup.d.ts +29 -0
  57. package/es/cell-group/CellGroup.mjs +43 -0
  58. package/es/cell-group/index.css +1 -0
  59. package/es/cell-group/index.d.ts +25 -0
  60. package/es/cell-group/index.mjs +8 -0
  61. package/es/cell-group/style/index.d.ts +1 -0
  62. package/es/cell-group/style/index.mjs +2 -0
  63. package/es/checkbox/Checkbox.d.ts +64 -0
  64. package/es/checkbox/Checkbox.mjs +81 -0
  65. package/es/checkbox/Checker.d.ts +85 -0
  66. package/es/checkbox/Checker.mjs +113 -0
  67. package/es/checkbox/index.css +1 -0
  68. package/es/checkbox/index.d.ts +51 -0
  69. package/es/checkbox/index.mjs +8 -0
  70. package/es/checkbox/style/index.d.ts +1 -0
  71. package/es/checkbox/style/index.mjs +5 -0
  72. package/es/checkbox/types.d.ts +13 -0
  73. package/es/checkbox/types.mjs +0 -0
  74. package/es/checkbox-group/CheckboxGroup.d.ts +54 -0
  75. package/es/checkbox-group/CheckboxGroup.mjs +71 -0
  76. package/es/checkbox-group/index.css +1 -0
  77. package/es/checkbox-group/index.d.ts +42 -0
  78. package/es/checkbox-group/index.mjs +8 -0
  79. package/es/checkbox-group/style/index.d.ts +1 -0
  80. package/es/checkbox-group/style/index.mjs +2 -0
  81. package/es/checkbox-group/types.d.ts +16 -0
  82. package/es/checkbox-group/types.mjs +0 -0
  83. package/es/col/Col.d.ts +1 -1
  84. package/es/collapse/Collapse.d.ts +55 -0
  85. package/es/collapse/Collapse.mjs +109 -0
  86. package/es/collapse/index.d.ts +36 -0
  87. package/es/collapse/index.mjs +10 -0
  88. package/es/collapse/style/index.d.ts +1 -0
  89. package/es/collapse/style/index.mjs +1 -0
  90. package/es/collapse-item/CollapseItem.d.ts +34 -0
  91. package/es/collapse-item/CollapseItem.mjs +135 -0
  92. package/es/collapse-item/index.css +1 -0
  93. package/es/collapse-item/index.d.ts +30 -0
  94. package/es/collapse-item/index.mjs +10 -0
  95. package/es/collapse-item/style/index.d.ts +1 -0
  96. package/es/collapse-item/style/index.mjs +4 -0
  97. package/es/collapse-item/types.d.ts +6 -0
  98. package/es/collapse-item/types.mjs +0 -0
  99. package/es/composables/use-route.d.ts +1 -4
  100. package/es/composables/use-route.mjs +1 -3
  101. package/es/config-provider/ConfigProvider.mjs +2 -2
  102. package/es/date-time-picker/DateTimePicker.d.ts +242 -0
  103. package/es/date-time-picker/DateTimePicker.mjs +248 -0
  104. package/es/date-time-picker/DateTimePickerWrapper.d.ts +334 -0
  105. package/es/date-time-picker/DateTimePickerWrapper.mjs +254 -0
  106. package/es/date-time-picker/index.css +1 -0
  107. package/es/date-time-picker/index.d.ts +247 -0
  108. package/es/date-time-picker/index.mjs +10 -0
  109. package/es/date-time-picker/style/index.d.ts +1 -0
  110. package/es/date-time-picker/style/index.mjs +12 -0
  111. package/es/date-time-picker/types.d.ts +5 -0
  112. package/es/date-time-picker/types.mjs +0 -0
  113. package/es/date-time-picker/utils.d.ts +53 -0
  114. package/es/date-time-picker/utils.mjs +42 -0
  115. package/es/dialog/Dialog.d.ts +187 -0
  116. package/es/dialog/Dialog.mjs +197 -0
  117. package/es/dialog/function-call.d.ts +6 -0
  118. package/es/dialog/function-call.mjs +85 -0
  119. package/es/dialog/index.css +1 -0
  120. package/es/dialog/index.d.ts +138 -0
  121. package/es/dialog/index.mjs +22 -0
  122. package/es/dialog/style/index.d.ts +1 -0
  123. package/es/dialog/style/index.mjs +8 -0
  124. package/es/dialog/types.d.ts +32 -0
  125. package/es/dialog/types.mjs +0 -0
  126. package/es/divider/Divider.d.ts +1 -1
  127. package/es/divider/index.css +1 -1
  128. package/es/dropdown-item/DropdownItem.d.ts +78 -0
  129. package/es/dropdown-item/DropdownItem.mjs +302 -0
  130. package/es/dropdown-item/index.css +1 -0
  131. package/es/dropdown-item/index.d.ts +64 -0
  132. package/es/dropdown-item/index.mjs +10 -0
  133. package/es/dropdown-item/style/index.d.ts +1 -0
  134. package/es/dropdown-item/style/index.mjs +12 -0
  135. package/es/dropdown-item/types.d.ts +23 -0
  136. package/es/dropdown-item/types.mjs +0 -0
  137. package/es/dropdown-menu/DropdownMenu.d.ts +82 -0
  138. package/es/dropdown-menu/DropdownMenu.mjs +142 -0
  139. package/es/dropdown-menu/index.css +1 -0
  140. package/es/dropdown-menu/index.d.ts +63 -0
  141. package/es/dropdown-menu/index.mjs +10 -0
  142. package/es/dropdown-menu/style/index.d.ts +1 -0
  143. package/es/dropdown-menu/style/index.mjs +4 -0
  144. package/es/dropdown-menu/types.d.ts +8 -0
  145. package/es/dropdown-menu/types.mjs +0 -0
  146. package/es/empty/Empty.d.ts +2 -1
  147. package/es/empty/Empty.mjs +10 -5
  148. package/es/empty/Images.d.ts +7 -2
  149. package/es/empty/Images.mjs +855 -2004
  150. package/es/empty/index.css +1 -1
  151. package/es/field/Field.d.ts +364 -0
  152. package/es/field/Field.mjs +510 -0
  153. package/es/field/index.css +1 -0
  154. package/es/field/index.d.ts +230 -0
  155. package/es/field/index.mjs +8 -0
  156. package/es/field/style/index.d.ts +1 -0
  157. package/es/field/style/index.mjs +5 -0
  158. package/es/field/types.d.ts +44 -0
  159. package/es/field/types.mjs +0 -0
  160. package/es/field/utils.d.ts +15 -0
  161. package/es/field/utils.mjs +107 -0
  162. package/es/form/Form.d.ts +88 -0
  163. package/es/form/Form.mjs +158 -0
  164. package/es/form/index.d.ts +69 -0
  165. package/es/form/index.mjs +8 -0
  166. package/es/form/style/index.d.ts +1 -0
  167. package/es/form/style/index.mjs +1 -0
  168. package/es/form/types.d.ts +15 -0
  169. package/es/form/types.mjs +0 -0
  170. package/es/grid/Grid.d.ts +74 -0
  171. package/es/grid/Grid.mjs +48 -0
  172. package/es/grid/index.css +1 -0
  173. package/es/grid/index.d.ts +54 -0
  174. package/es/grid/index.mjs +10 -0
  175. package/es/grid/style/index.d.ts +1 -0
  176. package/es/grid/style/index.mjs +2 -0
  177. package/es/grid-item/GridItem.d.ts +45 -0
  178. package/es/grid-item/GridItem.mjs +146 -0
  179. package/es/grid-item/index.css +1 -0
  180. package/es/grid-item/index.d.ts +36 -0
  181. package/es/grid-item/index.mjs +10 -0
  182. package/es/grid-item/style/index.d.ts +1 -0
  183. package/es/grid-item/style/index.mjs +5 -0
  184. package/es/icon/config.mjs +7 -0
  185. package/es/icon/index.css +1 -1
  186. package/es/image/Image.d.ts +105 -0
  187. package/es/image/Image.mjs +151 -0
  188. package/es/image/index.css +1 -0
  189. package/es/image/index.d.ts +77 -0
  190. package/es/image/index.mjs +8 -0
  191. package/es/image/style/index.d.ts +1 -0
  192. package/es/image/style/index.mjs +4 -0
  193. package/es/image-preview/ImagePreview.d.ts +188 -0
  194. package/es/image-preview/ImagePreview.mjs +178 -0
  195. package/es/image-preview/ImagePreviewItem.d.ts +47 -0
  196. package/es/image-preview/ImagePreviewItem.mjs +257 -0
  197. package/es/image-preview/function-call.d.ts +3 -0
  198. package/es/image-preview/function-call.mjs +76 -0
  199. package/es/image-preview/index.css +1 -0
  200. package/es/image-preview/index.d.ts +139 -0
  201. package/es/image-preview/index.mjs +12 -0
  202. package/es/image-preview/style/index.d.ts +1 -0
  203. package/es/image-preview/style/index.mjs +10 -0
  204. package/es/image-preview/types.d.ts +43 -0
  205. package/es/image-preview/types.mjs +0 -0
  206. package/es/index.d.ts +39 -1
  207. package/es/index.mjs +114 -2
  208. package/es/lazyload/index.d.ts +3 -0
  209. package/es/lazyload/index.mjs +6 -0
  210. package/es/lazyload/style/index.d.ts +1 -0
  211. package/es/lazyload/style/index.mjs +1 -0
  212. package/es/lazyload/vue-lazyload/index.d.ts +55 -0
  213. package/es/lazyload/vue-lazyload/index.mjs +31 -0
  214. package/es/lazyload/vue-lazyload/lazy-component.mjs +51 -0
  215. package/es/lazyload/vue-lazyload/lazy-container.mjs +74 -0
  216. package/es/lazyload/vue-lazyload/lazy-image.mjs +100 -0
  217. package/es/lazyload/vue-lazyload/lazy.mjs +364 -0
  218. package/es/lazyload/vue-lazyload/listener.mjs +173 -0
  219. package/es/lazyload/vue-lazyload/util.mjs +166 -0
  220. package/es/list/List.d.ts +2 -2
  221. package/es/list/List.mjs +2 -1
  222. package/es/list/index.css +1 -1
  223. package/es/list/index.d.ts +1 -1
  224. package/es/loading/index.css +1 -1
  225. package/es/locale/lang/zh-CN.mjs +1 -1
  226. package/es/media-picker/MediaPicker.d.ts +242 -0
  227. package/es/media-picker/MediaPicker.mjs +649 -0
  228. package/es/media-picker/image/DefaultAudioIcon.d.ts +2 -0
  229. package/es/media-picker/image/DefaultAudioIcon.mjs +98 -0
  230. package/es/media-picker/image/DefaultFileIcon.d.ts +2 -0
  231. package/es/media-picker/image/DefaultFileIcon.mjs +87 -0
  232. package/es/media-picker/image/DefaultVideoIcon.d.ts +2 -0
  233. package/es/media-picker/image/DefaultVideoIcon.mjs +119 -0
  234. package/es/media-picker/image/DeleteIcon.d.ts +2 -0
  235. package/es/media-picker/image/DeleteIcon.mjs +30 -0
  236. package/es/media-picker/image/PickFileIcon.d.ts +2 -0
  237. package/es/media-picker/image/PickFileIcon.mjs +27 -0
  238. package/es/media-picker/image/PickPhotoIcon.d.ts +2 -0
  239. package/es/media-picker/image/PickPhotoIcon.mjs +27 -0
  240. package/es/media-picker/image/TakeAudioIcon.d.ts +2 -0
  241. package/es/media-picker/image/TakeAudioIcon.mjs +27 -0
  242. package/es/media-picker/image/TakePhotoIcon.d.ts +2 -0
  243. package/es/media-picker/image/TakePhotoIcon.mjs +27 -0
  244. package/es/media-picker/image/TakeVideoIcon.d.ts +2 -0
  245. package/es/media-picker/image/TakeVideoIcon.mjs +27 -0
  246. package/es/media-picker/index.css +1 -0
  247. package/es/media-picker/index.d.ts +153 -0
  248. package/es/media-picker/index.mjs +8 -0
  249. package/es/media-picker/style/index.d.ts +1 -0
  250. package/es/media-picker/style/index.mjs +16 -0
  251. package/es/media-picker/type.d.ts +22 -0
  252. package/es/media-picker/type.mjs +0 -0
  253. package/es/media-picker/util/media-util.d.ts +71 -0
  254. package/es/media-picker/util/media-util.mjs +139 -0
  255. package/es/media-picker/util/orientation-util.d.ts +37 -0
  256. package/es/media-picker/util/orientation-util.mjs +118 -0
  257. package/es/media-picker/watermark/compress-options.d.ts +5 -0
  258. package/es/media-picker/watermark/compress-options.mjs +15 -0
  259. package/es/media-picker/watermark/image-processor.d.ts +12 -0
  260. package/es/media-picker/watermark/image-processor.mjs +55 -0
  261. package/es/media-picker/watermark/resize-options.d.ts +4 -0
  262. package/es/media-picker/watermark/resize-options.mjs +19 -0
  263. package/es/media-picker/watermark/watermark.d.ts +42 -0
  264. package/es/media-picker/watermark/watermark.mjs +641 -0
  265. package/es/media-player/MediaPlayer.d.ts +42 -0
  266. package/es/media-player/MediaPlayer.mjs +105 -0
  267. package/es/media-player/index.css +1 -0
  268. package/es/media-player/index.d.ts +34 -0
  269. package/es/media-player/index.mjs +8 -0
  270. package/es/media-player/style/index.d.ts +1 -0
  271. package/es/media-player/style/index.mjs +6 -0
  272. package/es/multiple-picker/MultiplePicker.d.ts +167 -0
  273. package/es/multiple-picker/MultiplePicker.mjs +170 -0
  274. package/es/multiple-picker/MultiplePickerOptions.d.ts +85 -0
  275. package/es/multiple-picker/MultiplePickerOptions.mjs +106 -0
  276. package/es/multiple-picker/index.css +1 -0
  277. package/es/multiple-picker/index.d.ts +123 -0
  278. package/es/multiple-picker/index.mjs +8 -0
  279. package/es/multiple-picker/style/index.d.ts +1 -0
  280. package/es/multiple-picker/style/index.mjs +8 -0
  281. package/es/multiple-picker/types.d.ts +14 -0
  282. package/es/multiple-picker/types.mjs +0 -0
  283. package/es/nav-bar/NavBar.d.ts +72 -0
  284. package/es/nav-bar/NavBar.mjs +114 -0
  285. package/es/nav-bar/index.css +1 -0
  286. package/es/nav-bar/index.d.ts +56 -0
  287. package/es/nav-bar/index.mjs +8 -0
  288. package/es/nav-bar/style/index.d.ts +1 -0
  289. package/es/nav-bar/style/index.mjs +4 -0
  290. package/es/notice-bar/NoticeBar.d.ts +1 -1
  291. package/es/notice-bar/index.css +1 -1
  292. package/es/notice-bar/index.d.ts +1 -1
  293. package/es/notify/Notify.d.ts +1 -1
  294. package/es/notify/index.css +1 -1
  295. package/es/notify/index.d.ts +2 -2
  296. package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
  297. package/es/number-keyboard/NumberKeyboard.mjs +1 -2
  298. package/es/number-keyboard/NumberKeyboardKey.mjs +2 -2
  299. package/es/number-keyboard/index.css +1 -1
  300. package/es/number-keyboard/index.d.ts +5 -5
  301. package/es/number-keyboard/style/index.mjs +2 -2
  302. package/es/overlay/index.css +1 -1
  303. package/es/password-input/PasswordInput.d.ts +1 -1
  304. package/es/password-input/PasswordInput.mjs +1 -1
  305. package/es/password-input/index.css +1 -1
  306. package/es/picker/Picker.d.ts +224 -0
  307. package/es/picker/Picker.mjs +244 -0
  308. package/es/picker/PickerColumn.d.ts +69 -0
  309. package/es/picker/PickerColumn.mjs +211 -0
  310. package/es/picker/PickerToolbar.d.ts +18 -0
  311. package/es/picker/PickerToolbar.mjs +54 -0
  312. package/es/picker/index.css +1 -0
  313. package/es/picker/index.d.ts +142 -0
  314. package/es/picker/index.mjs +10 -0
  315. package/es/picker/style/index.d.ts +1 -0
  316. package/es/picker/style/index.mjs +9 -0
  317. package/es/picker/types.d.ts +44 -0
  318. package/es/picker/types.mjs +0 -0
  319. package/es/picker/utils.d.ts +13 -0
  320. package/es/picker/utils.mjs +80 -0
  321. package/es/popover/Popover.d.ts +164 -0
  322. package/es/popover/Popover.mjs +186 -0
  323. package/es/popover/index.css +1 -0
  324. package/es/popover/index.d.ts +121 -0
  325. package/es/popover/index.mjs +10 -0
  326. package/es/popover/style/index.d.ts +1 -0
  327. package/es/popover/style/index.mjs +6 -0
  328. package/es/popover/types.d.ts +11 -0
  329. package/es/popover/types.mjs +0 -0
  330. package/es/popup/Popup.d.ts +22 -5
  331. package/es/popup/Popup.mjs +85 -3
  332. package/es/popup/index.css +1 -1
  333. package/es/popup/index.d.ts +16 -4
  334. package/es/pull-refresh/PullRefresh.d.ts +3 -3
  335. package/es/pull-refresh/PullRefresh.mjs +7 -2
  336. package/es/pull-refresh/index.css +1 -1
  337. package/es/pull-refresh/index.d.ts +2 -2
  338. package/es/radio/Radio.d.ts +37 -0
  339. package/es/radio/Radio.mjs +41 -0
  340. package/es/radio/index.css +1 -0
  341. package/es/radio/index.d.ts +38 -0
  342. package/es/radio/index.mjs +8 -0
  343. package/es/radio/style/index.d.ts +1 -0
  344. package/es/radio/style/index.mjs +6 -0
  345. package/es/radio-group/RadioGroup.d.ts +45 -0
  346. package/es/radio-group/RadioGroup.mjs +44 -0
  347. package/es/radio-group/index.css +1 -0
  348. package/es/radio-group/index.d.ts +32 -0
  349. package/es/radio-group/index.mjs +8 -0
  350. package/es/radio-group/style/index.d.ts +1 -0
  351. package/es/radio-group/style/index.mjs +2 -0
  352. package/es/rate/Rate.d.ts +4 -4
  353. package/es/rate/Rate.mjs +1 -1
  354. package/es/rate/index.css +1 -1
  355. package/es/rate/index.d.ts +3 -3
  356. package/es/row/Row.d.ts +1 -1
  357. package/es/search/Search.d.ts +217 -0
  358. package/es/search/Search.mjs +136 -0
  359. package/es/search/index.css +1 -0
  360. package/es/search/index.d.ts +159 -0
  361. package/es/search/index.mjs +10 -0
  362. package/es/search/style/index.d.ts +1 -0
  363. package/es/search/style/index.mjs +6 -0
  364. package/es/search/types.d.ts +8 -0
  365. package/es/search/types.mjs +0 -0
  366. package/es/signature/Signature.d.ts +109 -0
  367. package/es/signature/Signature.mjs +232 -0
  368. package/es/signature/force-landscape.d.ts +16 -0
  369. package/es/signature/force-landscape.mjs +72 -0
  370. package/es/signature/index.css +1 -0
  371. package/es/signature/index.d.ts +83 -0
  372. package/es/signature/index.mjs +10 -0
  373. package/es/signature/style/index.d.ts +1 -0
  374. package/es/signature/style/index.mjs +10 -0
  375. package/es/signature/types.d.ts +1 -0
  376. package/es/signature/types.mjs +0 -0
  377. package/es/skeleton/Skeleton.d.ts +104 -0
  378. package/es/skeleton/Skeleton.mjs +116 -0
  379. package/es/skeleton/index.css +1 -0
  380. package/es/skeleton/index.d.ts +78 -0
  381. package/es/skeleton/index.mjs +10 -0
  382. package/es/skeleton/style/index.d.ts +1 -0
  383. package/es/skeleton/style/index.mjs +2 -0
  384. package/es/step/Step.d.ts +15 -0
  385. package/es/step/Step.mjs +137 -0
  386. package/es/step/index.css +1 -0
  387. package/es/step/index.d.ts +15 -0
  388. package/es/step/index.mjs +8 -0
  389. package/es/step/style/index.d.ts +1 -0
  390. package/es/step/style/index.mjs +5 -0
  391. package/es/stepper/Stepper.d.ts +3 -3
  392. package/es/stepper/index.css +1 -1
  393. package/es/stepper/index.d.ts +2 -2
  394. package/es/steps/Steps.d.ts +67 -0
  395. package/es/steps/Steps.mjs +49 -0
  396. package/es/steps/index.css +1 -0
  397. package/es/steps/index.d.ts +48 -0
  398. package/es/steps/index.mjs +10 -0
  399. package/es/steps/style/index.d.ts +1 -0
  400. package/es/steps/style/index.mjs +2 -0
  401. package/es/sticky/Sticky.d.ts +2 -2
  402. package/es/sticky/Sticky.mjs +2 -1
  403. package/es/sticky/index.css +1 -1
  404. package/es/sticky/index.d.ts +1 -1
  405. package/es/style/base.css +1 -1
  406. package/es/style/css-variables.css +1 -1
  407. package/es/style/normalize.css +1 -1
  408. package/es/swipe/Swipe.d.ts +4 -1
  409. package/es/swipe/Swipe.mjs +31 -12
  410. package/es/swipe/index.css +1 -1
  411. package/es/swipe/index.d.ts +2 -0
  412. package/es/swipe-item/SwipeItem.mjs +1 -1
  413. package/es/switch/Switch.d.ts +2 -2
  414. package/es/switch/index.css +1 -1
  415. package/es/switch/index.d.ts +1 -1
  416. package/es/tab/Tab.d.ts +1 -1
  417. package/es/tab/Tab.mjs +1 -1
  418. package/es/tab/style/index.mjs +1 -1
  419. package/es/tabbar/Tabbar.d.ts +90 -0
  420. package/es/tabbar/Tabbar.mjs +84 -0
  421. package/es/tabbar/image/common-normal.png +0 -0
  422. package/es/tabbar/image/common-selected.png +0 -0
  423. package/es/tabbar/index.css +1 -0
  424. package/es/tabbar/index.d.ts +64 -0
  425. package/es/tabbar/index.mjs +8 -0
  426. package/es/tabbar/style/index.d.ts +1 -0
  427. package/es/tabbar/style/index.mjs +2 -0
  428. package/es/tabbar-item/TabbarItem.d.ts +44 -0
  429. package/es/tabbar-item/TabbarItem.mjs +122 -0
  430. package/es/tabbar-item/index.css +1 -0
  431. package/es/tabbar-item/index.d.ts +35 -0
  432. package/es/tabbar-item/index.mjs +8 -0
  433. package/es/tabbar-item/style/index.d.ts +1 -0
  434. package/es/tabbar-item/style/index.mjs +5 -0
  435. package/es/tabs/Tabs.d.ts +6 -6
  436. package/es/tabs/Tabs.mjs +35 -4
  437. package/es/tabs/TabsTitle.d.ts +10 -1
  438. package/es/tabs/TabsTitle.mjs +8 -2
  439. package/es/tabs/index.css +1 -1
  440. package/es/tabs/index.d.ts +4 -4
  441. package/es/tag/Tag.d.ts +102 -0
  442. package/es/tag/Tag.mjs +101 -0
  443. package/es/tag/index.css +1 -0
  444. package/es/tag/index.d.ts +77 -0
  445. package/es/tag/index.mjs +10 -0
  446. package/es/tag/style/index.d.ts +1 -0
  447. package/es/tag/style/index.mjs +4 -0
  448. package/es/time-picker/Arrow.d.ts +4 -0
  449. package/es/time-picker/Arrow.mjs +27 -0
  450. package/es/time-picker/TimePicker.d.ts +286 -0
  451. package/es/time-picker/TimePicker.mjs +172 -0
  452. package/es/time-picker/TimePickerColumn.d.ts +71 -0
  453. package/es/time-picker/TimePickerColumn.mjs +233 -0
  454. package/es/time-picker/index.css +1 -0
  455. package/es/time-picker/index.d.ts +205 -0
  456. package/es/time-picker/index.mjs +10 -0
  457. package/es/time-picker/style/index.d.ts +1 -0
  458. package/es/time-picker/style/index.mjs +11 -0
  459. package/es/toast/Toast.d.ts +2 -2
  460. package/es/toast/index.css +1 -1
  461. package/es/toast/index.d.ts +6 -1
  462. package/es/toast/style/index.mjs +1 -1
  463. package/es/uploader/Uploader.d.ts +214 -0
  464. package/es/uploader/Uploader.mjs +249 -0
  465. package/es/uploader/UploaderPreviewItem.d.ts +36 -0
  466. package/es/uploader/UploaderPreviewItem.mjs +128 -0
  467. package/es/uploader/index.css +1 -0
  468. package/es/uploader/index.d.ts +155 -0
  469. package/es/uploader/index.mjs +10 -0
  470. package/es/uploader/style/index.d.ts +1 -0
  471. package/es/uploader/style/index.mjs +11 -0
  472. package/es/uploader/types.d.ts +31 -0
  473. package/es/uploader/types.mjs +0 -0
  474. package/es/uploader/utils.d.ts +11 -0
  475. package/es/uploader/utils.mjs +69 -0
  476. package/es/utils/basic.mjs +2 -1
  477. package/es/utils/constant.d.ts +4 -0
  478. package/es/utils/constant.mjs +4 -0
  479. package/es/utils/create.mjs +4 -1
  480. package/es/utils/date.d.ts +29 -0
  481. package/es/utils/date.mjs +96 -0
  482. package/es/utils/format.d.ts +1 -1
  483. package/es/utils/parse.d.ts +12 -0
  484. package/es/utils/parse.mjs +18 -0
  485. package/es/utils/props.d.ts +2 -2
  486. package/es/utils/props.mjs +2 -2
  487. package/es/utils/validate.d.ts +6 -1
  488. package/es/utils/validate.mjs +11 -1
  489. package/es/utils/with-install.d.ts +2 -2
  490. package/es/utils/with-install.mjs +4 -2
  491. package/es/vue-tsx-shim.d.ts +7 -0
  492. package/lib/action-sheet/ActionSheet.d.ts +194 -0
  493. package/lib/action-sheet/ActionSheet.js +161 -0
  494. package/lib/action-sheet/index.css +1 -0
  495. package/lib/action-sheet/index.d.ts +135 -0
  496. package/lib/action-sheet/index.js +35 -0
  497. package/lib/action-sheet/style/index.d.ts +1 -0
  498. package/lib/action-sheet/style/index.js +7 -0
  499. package/lib/avatar/Avatar.d.ts +55 -0
  500. package/lib/avatar/Avatar.js +90 -0
  501. package/lib/avatar/index.css +1 -0
  502. package/lib/avatar/index.d.ts +43 -0
  503. package/lib/avatar/index.js +33 -0
  504. package/lib/avatar/style/index.d.ts +1 -0
  505. package/lib/avatar/style/index.js +5 -0
  506. package/lib/avatar/types.d.ts +2 -0
  507. package/lib/avatar/types.js +15 -0
  508. package/lib/badge/Badge.d.ts +11 -5
  509. package/lib/badge/Badge.js +13 -6
  510. package/lib/badge/index.css +1 -1
  511. package/lib/badge/index.d.ts +7 -3
  512. package/lib/button/Button.d.ts +1 -1
  513. package/lib/button/index.css +1 -1
  514. package/lib/button/index.d.ts +1 -1
  515. package/lib/calendar/Calendar.d.ts +302 -0
  516. package/lib/calendar/Calendar.js +444 -0
  517. package/lib/calendar/CalendarDay.d.ts +32 -0
  518. package/lib/calendar/CalendarDay.js +127 -0
  519. package/lib/calendar/CalendarHeader.d.ts +26 -0
  520. package/lib/calendar/CalendarHeader.js +77 -0
  521. package/lib/calendar/CalendarMonth.d.ts +86 -0
  522. package/lib/calendar/CalendarMonth.js +226 -0
  523. package/lib/calendar/index.css +1 -0
  524. package/lib/calendar/index.d.ts +217 -0
  525. package/lib/calendar/index.js +35 -0
  526. package/lib/calendar/style/index.d.ts +1 -0
  527. package/lib/calendar/style/index.js +9 -0
  528. package/lib/calendar/types.d.ts +28 -0
  529. package/lib/calendar/types.js +15 -0
  530. package/lib/calendar/utils.d.ts +12 -0
  531. package/lib/calendar/utils.js +75 -0
  532. package/lib/cascader/Cascader.d.ts +171 -0
  533. package/lib/cascader/Cascader.js +309 -0
  534. package/lib/cascader/index.css +1 -0
  535. package/lib/cascader/index.d.ts +126 -0
  536. package/lib/cascader/index.js +35 -0
  537. package/lib/cascader/style/index.d.ts +1 -0
  538. package/lib/cascader/style/index.js +14 -0
  539. package/lib/cascader/types.d.ts +19 -0
  540. package/lib/cascader/types.js +15 -0
  541. package/lib/cell/Cell.d.ts +49 -26
  542. package/lib/cell/Cell.js +70 -30
  543. package/lib/cell/index.css +1 -1
  544. package/lib/cell/index.d.ts +29 -15
  545. package/lib/cell/types.d.ts +1 -0
  546. package/lib/cell/types.js +15 -0
  547. package/lib/cell-group/CellGroup.d.ts +29 -0
  548. package/lib/cell-group/CellGroup.js +62 -0
  549. package/lib/cell-group/index.css +1 -0
  550. package/lib/cell-group/index.d.ts +25 -0
  551. package/lib/cell-group/index.js +33 -0
  552. package/lib/cell-group/style/index.d.ts +1 -0
  553. package/lib/cell-group/style/index.js +2 -0
  554. package/lib/checkbox/Checkbox.d.ts +64 -0
  555. package/lib/checkbox/Checkbox.js +106 -0
  556. package/lib/checkbox/Checker.d.ts +85 -0
  557. package/lib/checkbox/Checker.js +132 -0
  558. package/lib/checkbox/index.css +1 -0
  559. package/lib/checkbox/index.d.ts +51 -0
  560. package/lib/checkbox/index.js +33 -0
  561. package/lib/checkbox/style/index.d.ts +1 -0
  562. package/lib/checkbox/style/index.js +5 -0
  563. package/lib/checkbox/types.d.ts +13 -0
  564. package/lib/checkbox/types.js +15 -0
  565. package/lib/checkbox-group/CheckboxGroup.d.ts +54 -0
  566. package/lib/checkbox-group/CheckboxGroup.js +90 -0
  567. package/lib/checkbox-group/index.css +1 -0
  568. package/lib/checkbox-group/index.d.ts +42 -0
  569. package/lib/checkbox-group/index.js +33 -0
  570. package/lib/checkbox-group/style/index.d.ts +1 -0
  571. package/lib/checkbox-group/style/index.js +2 -0
  572. package/lib/checkbox-group/types.d.ts +16 -0
  573. package/lib/checkbox-group/types.js +15 -0
  574. package/lib/col/Col.d.ts +1 -1
  575. package/lib/collapse/Collapse.d.ts +55 -0
  576. package/lib/collapse/Collapse.js +128 -0
  577. package/lib/collapse/index.d.ts +36 -0
  578. package/lib/collapse/index.js +35 -0
  579. package/lib/collapse/style/index.d.ts +1 -0
  580. package/lib/collapse/style/index.js +1 -0
  581. package/lib/collapse-item/CollapseItem.d.ts +34 -0
  582. package/lib/collapse-item/CollapseItem.js +160 -0
  583. package/lib/collapse-item/index.css +1 -0
  584. package/lib/collapse-item/index.d.ts +30 -0
  585. package/lib/collapse-item/index.js +35 -0
  586. package/lib/collapse-item/style/index.d.ts +1 -0
  587. package/lib/collapse-item/style/index.js +4 -0
  588. package/lib/collapse-item/types.d.ts +6 -0
  589. package/lib/collapse-item/types.js +15 -0
  590. package/lib/composables/use-route.d.ts +1 -4
  591. package/lib/config-provider/ConfigProvider.js +2 -2
  592. package/lib/date-time-picker/DateTimePicker.d.ts +242 -0
  593. package/lib/date-time-picker/DateTimePicker.js +273 -0
  594. package/lib/date-time-picker/DateTimePickerWrapper.d.ts +334 -0
  595. package/lib/date-time-picker/DateTimePickerWrapper.js +279 -0
  596. package/lib/date-time-picker/index.css +1 -0
  597. package/lib/date-time-picker/index.d.ts +247 -0
  598. package/lib/date-time-picker/index.js +35 -0
  599. package/lib/date-time-picker/style/index.d.ts +1 -0
  600. package/lib/date-time-picker/style/index.js +12 -0
  601. package/lib/date-time-picker/types.d.ts +5 -0
  602. package/lib/date-time-picker/types.js +15 -0
  603. package/lib/date-time-picker/utils.d.ts +53 -0
  604. package/lib/date-time-picker/utils.js +61 -0
  605. package/lib/dialog/Dialog.d.ts +187 -0
  606. package/lib/dialog/Dialog.js +216 -0
  607. package/lib/dialog/function-call.d.ts +6 -0
  608. package/lib/dialog/function-call.js +110 -0
  609. package/lib/dialog/index.css +1 -0
  610. package/lib/dialog/index.d.ts +138 -0
  611. package/lib/dialog/index.js +41 -0
  612. package/lib/dialog/style/index.d.ts +1 -0
  613. package/lib/dialog/style/index.js +8 -0
  614. package/lib/dialog/types.d.ts +32 -0
  615. package/lib/dialog/types.js +15 -0
  616. package/lib/divider/Divider.d.ts +1 -1
  617. package/lib/divider/index.css +1 -1
  618. package/lib/dropdown-item/DropdownItem.d.ts +78 -0
  619. package/lib/dropdown-item/DropdownItem.js +321 -0
  620. package/lib/dropdown-item/index.css +1 -0
  621. package/lib/dropdown-item/index.d.ts +64 -0
  622. package/lib/dropdown-item/index.js +35 -0
  623. package/lib/dropdown-item/style/index.d.ts +1 -0
  624. package/lib/dropdown-item/style/index.js +12 -0
  625. package/lib/dropdown-item/types.d.ts +23 -0
  626. package/lib/dropdown-item/types.js +15 -0
  627. package/lib/dropdown-menu/DropdownMenu.d.ts +82 -0
  628. package/lib/dropdown-menu/DropdownMenu.js +167 -0
  629. package/lib/dropdown-menu/index.css +1 -0
  630. package/lib/dropdown-menu/index.d.ts +63 -0
  631. package/lib/dropdown-menu/index.js +35 -0
  632. package/lib/dropdown-menu/style/index.d.ts +1 -0
  633. package/lib/dropdown-menu/style/index.js +4 -0
  634. package/lib/dropdown-menu/types.d.ts +8 -0
  635. package/lib/dropdown-menu/types.js +15 -0
  636. package/lib/empty/Empty.d.ts +2 -1
  637. package/lib/empty/Empty.js +9 -4
  638. package/lib/empty/Images.d.ts +7 -2
  639. package/lib/empty/Images.js +854 -2003
  640. package/lib/empty/index.css +1 -1
  641. package/lib/field/Field.d.ts +364 -0
  642. package/lib/field/Field.js +529 -0
  643. package/lib/field/index.css +1 -0
  644. package/lib/field/index.d.ts +230 -0
  645. package/lib/field/index.js +33 -0
  646. package/lib/field/style/index.d.ts +1 -0
  647. package/lib/field/style/index.js +5 -0
  648. package/lib/field/types.d.ts +44 -0
  649. package/lib/field/types.js +15 -0
  650. package/lib/field/utils.d.ts +15 -0
  651. package/lib/field/utils.js +120 -0
  652. package/lib/form/Form.d.ts +88 -0
  653. package/lib/form/Form.js +177 -0
  654. package/lib/form/index.d.ts +69 -0
  655. package/lib/form/index.js +33 -0
  656. package/lib/form/style/index.d.ts +1 -0
  657. package/lib/form/style/index.js +1 -0
  658. package/lib/form/types.d.ts +15 -0
  659. package/lib/form/types.js +15 -0
  660. package/lib/grid/Grid.d.ts +74 -0
  661. package/lib/grid/Grid.js +67 -0
  662. package/lib/grid/index.css +1 -0
  663. package/lib/grid/index.d.ts +54 -0
  664. package/lib/grid/index.js +35 -0
  665. package/lib/grid/style/index.d.ts +1 -0
  666. package/lib/grid/style/index.js +2 -0
  667. package/lib/grid-item/GridItem.d.ts +45 -0
  668. package/lib/grid-item/GridItem.js +165 -0
  669. package/lib/grid-item/index.css +1 -0
  670. package/lib/grid-item/index.d.ts +36 -0
  671. package/lib/grid-item/index.js +35 -0
  672. package/lib/grid-item/style/index.d.ts +1 -0
  673. package/lib/grid-item/style/index.js +5 -0
  674. package/lib/icon/config.js +7 -0
  675. package/lib/icon/index.css +1 -1
  676. package/lib/image/Image.d.ts +105 -0
  677. package/lib/image/Image.js +170 -0
  678. package/lib/image/index.css +1 -0
  679. package/lib/image/index.d.ts +77 -0
  680. package/lib/image/index.js +33 -0
  681. package/lib/image/style/index.d.ts +1 -0
  682. package/lib/image/style/index.js +4 -0
  683. package/lib/image-preview/ImagePreview.d.ts +188 -0
  684. package/lib/image-preview/ImagePreview.js +203 -0
  685. package/lib/image-preview/ImagePreviewItem.d.ts +47 -0
  686. package/lib/image-preview/ImagePreviewItem.js +276 -0
  687. package/lib/image-preview/function-call.d.ts +3 -0
  688. package/lib/image-preview/function-call.js +101 -0
  689. package/lib/image-preview/index.css +1 -0
  690. package/lib/image-preview/index.d.ts +139 -0
  691. package/lib/image-preview/index.js +37 -0
  692. package/lib/image-preview/style/index.d.ts +1 -0
  693. package/lib/image-preview/style/index.js +10 -0
  694. package/lib/image-preview/types.d.ts +43 -0
  695. package/lib/image-preview/types.js +15 -0
  696. package/lib/index.css +1 -1
  697. package/lib/index.d.ts +39 -1
  698. package/lib/index.js +114 -2
  699. package/lib/lazyload/index.d.ts +3 -0
  700. package/lib/lazyload/index.js +25 -0
  701. package/lib/lazyload/style/index.d.ts +1 -0
  702. package/lib/lazyload/style/index.js +1 -0
  703. package/lib/lazyload/vue-lazyload/index.d.ts +55 -0
  704. package/lib/lazyload/vue-lazyload/index.js +56 -0
  705. package/lib/lazyload/vue-lazyload/lazy-component.js +70 -0
  706. package/lib/lazyload/vue-lazyload/lazy-container.js +93 -0
  707. package/lib/lazyload/vue-lazyload/lazy-image.js +119 -0
  708. package/lib/lazyload/vue-lazyload/lazy.js +378 -0
  709. package/lib/lazyload/vue-lazyload/listener.js +192 -0
  710. package/lib/lazyload/vue-lazyload/util.js +185 -0
  711. package/lib/list/List.d.ts +2 -2
  712. package/lib/list/List.js +2 -1
  713. package/lib/list/index.css +1 -1
  714. package/lib/list/index.d.ts +1 -1
  715. package/lib/loading/index.css +1 -1
  716. package/lib/locale/lang/zh-CN.js +1 -1
  717. package/lib/media-picker/MediaPicker.d.ts +242 -0
  718. package/lib/media-picker/MediaPicker.js +674 -0
  719. package/lib/media-picker/image/DefaultAudioIcon.d.ts +2 -0
  720. package/lib/media-picker/image/DefaultAudioIcon.js +117 -0
  721. package/lib/media-picker/image/DefaultFileIcon.d.ts +2 -0
  722. package/lib/media-picker/image/DefaultFileIcon.js +106 -0
  723. package/lib/media-picker/image/DefaultVideoIcon.d.ts +2 -0
  724. package/lib/media-picker/image/DefaultVideoIcon.js +138 -0
  725. package/lib/media-picker/image/DeleteIcon.d.ts +2 -0
  726. package/lib/media-picker/image/DeleteIcon.js +49 -0
  727. package/lib/media-picker/image/PickFileIcon.d.ts +2 -0
  728. package/lib/media-picker/image/PickFileIcon.js +46 -0
  729. package/lib/media-picker/image/PickPhotoIcon.d.ts +2 -0
  730. package/lib/media-picker/image/PickPhotoIcon.js +46 -0
  731. package/lib/media-picker/image/TakeAudioIcon.d.ts +2 -0
  732. package/lib/media-picker/image/TakeAudioIcon.js +46 -0
  733. package/lib/media-picker/image/TakePhotoIcon.d.ts +2 -0
  734. package/lib/media-picker/image/TakePhotoIcon.js +46 -0
  735. package/lib/media-picker/image/TakeVideoIcon.d.ts +2 -0
  736. package/lib/media-picker/image/TakeVideoIcon.js +46 -0
  737. package/lib/media-picker/index.css +1 -0
  738. package/lib/media-picker/index.d.ts +153 -0
  739. package/lib/media-picker/index.js +33 -0
  740. package/lib/media-picker/style/index.d.ts +1 -0
  741. package/lib/media-picker/style/index.js +16 -0
  742. package/lib/media-picker/type.d.ts +22 -0
  743. package/lib/media-picker/type.js +15 -0
  744. package/lib/media-picker/util/media-util.d.ts +71 -0
  745. package/lib/media-picker/util/media-util.js +158 -0
  746. package/lib/media-picker/util/orientation-util.d.ts +37 -0
  747. package/lib/media-picker/util/orientation-util.js +137 -0
  748. package/lib/media-picker/watermark/compress-options.d.ts +5 -0
  749. package/lib/media-picker/watermark/compress-options.js +34 -0
  750. package/lib/media-picker/watermark/image-processor.d.ts +12 -0
  751. package/lib/media-picker/watermark/image-processor.js +74 -0
  752. package/lib/media-picker/watermark/resize-options.d.ts +4 -0
  753. package/lib/media-picker/watermark/resize-options.js +38 -0
  754. package/lib/media-picker/watermark/watermark.d.ts +42 -0
  755. package/lib/media-picker/watermark/watermark.js +653 -0
  756. package/lib/media-player/MediaPlayer.d.ts +42 -0
  757. package/lib/media-player/MediaPlayer.js +130 -0
  758. package/lib/media-player/index.css +1 -0
  759. package/lib/media-player/index.d.ts +34 -0
  760. package/lib/media-player/index.js +33 -0
  761. package/lib/media-player/style/index.d.ts +1 -0
  762. package/lib/media-player/style/index.js +6 -0
  763. package/lib/multiple-picker/MultiplePicker.d.ts +167 -0
  764. package/lib/multiple-picker/MultiplePicker.js +195 -0
  765. package/lib/multiple-picker/MultiplePickerOptions.d.ts +85 -0
  766. package/lib/multiple-picker/MultiplePickerOptions.js +125 -0
  767. package/lib/multiple-picker/index.css +1 -0
  768. package/lib/multiple-picker/index.d.ts +123 -0
  769. package/lib/multiple-picker/index.js +33 -0
  770. package/lib/multiple-picker/style/index.d.ts +1 -0
  771. package/lib/multiple-picker/style/index.js +8 -0
  772. package/lib/multiple-picker/types.d.ts +14 -0
  773. package/lib/multiple-picker/types.js +15 -0
  774. package/lib/nav-bar/NavBar.d.ts +72 -0
  775. package/lib/nav-bar/NavBar.js +133 -0
  776. package/lib/nav-bar/index.css +1 -0
  777. package/lib/nav-bar/index.d.ts +56 -0
  778. package/lib/nav-bar/index.js +33 -0
  779. package/lib/nav-bar/style/index.d.ts +1 -0
  780. package/lib/nav-bar/style/index.js +4 -0
  781. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  782. package/lib/notice-bar/index.css +1 -1
  783. package/lib/notice-bar/index.d.ts +1 -1
  784. package/lib/notify/Notify.d.ts +1 -1
  785. package/lib/notify/index.css +1 -1
  786. package/lib/notify/index.d.ts +2 -2
  787. package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
  788. package/lib/number-keyboard/NumberKeyboard.js +1 -2
  789. package/lib/number-keyboard/NumberKeyboardKey.js +2 -2
  790. package/lib/number-keyboard/index.css +1 -1
  791. package/lib/number-keyboard/index.d.ts +5 -5
  792. package/lib/number-keyboard/style/index.js +2 -2
  793. package/lib/overlay/index.css +1 -1
  794. package/lib/password-input/PasswordInput.d.ts +1 -1
  795. package/lib/password-input/PasswordInput.js +1 -1
  796. package/lib/password-input/index.css +1 -1
  797. package/lib/picker/Picker.d.ts +224 -0
  798. package/lib/picker/Picker.js +269 -0
  799. package/lib/picker/PickerColumn.d.ts +69 -0
  800. package/lib/picker/PickerColumn.js +230 -0
  801. package/lib/picker/PickerToolbar.d.ts +18 -0
  802. package/lib/picker/PickerToolbar.js +73 -0
  803. package/lib/picker/index.css +1 -0
  804. package/lib/picker/index.d.ts +142 -0
  805. package/lib/picker/index.js +35 -0
  806. package/lib/picker/style/index.d.ts +1 -0
  807. package/lib/picker/style/index.js +9 -0
  808. package/lib/picker/types.d.ts +44 -0
  809. package/lib/picker/types.js +15 -0
  810. package/lib/picker/utils.d.ts +13 -0
  811. package/lib/picker/utils.js +99 -0
  812. package/lib/popover/Popover.d.ts +164 -0
  813. package/lib/popover/Popover.js +205 -0
  814. package/lib/popover/index.css +1 -0
  815. package/lib/popover/index.d.ts +121 -0
  816. package/lib/popover/index.js +35 -0
  817. package/lib/popover/style/index.d.ts +1 -0
  818. package/lib/popover/style/index.js +6 -0
  819. package/lib/popover/types.d.ts +11 -0
  820. package/lib/popover/types.js +15 -0
  821. package/lib/popup/Popup.d.ts +22 -5
  822. package/lib/popup/Popup.js +84 -2
  823. package/lib/popup/index.css +1 -1
  824. package/lib/popup/index.d.ts +16 -4
  825. package/lib/pull-refresh/PullRefresh.d.ts +3 -3
  826. package/lib/pull-refresh/PullRefresh.js +6 -1
  827. package/lib/pull-refresh/index.css +1 -1
  828. package/lib/pull-refresh/index.d.ts +2 -2
  829. package/lib/radio/Radio.d.ts +37 -0
  830. package/lib/radio/Radio.js +66 -0
  831. package/lib/radio/index.css +1 -0
  832. package/lib/radio/index.d.ts +38 -0
  833. package/lib/radio/index.js +33 -0
  834. package/lib/radio/style/index.d.ts +1 -0
  835. package/lib/radio/style/index.js +6 -0
  836. package/lib/radio-group/RadioGroup.d.ts +45 -0
  837. package/lib/radio-group/RadioGroup.js +63 -0
  838. package/lib/radio-group/index.css +1 -0
  839. package/lib/radio-group/index.d.ts +32 -0
  840. package/lib/radio-group/index.js +33 -0
  841. package/lib/radio-group/style/index.d.ts +1 -0
  842. package/lib/radio-group/style/index.js +2 -0
  843. package/lib/rate/Rate.d.ts +4 -4
  844. package/lib/rate/Rate.js +1 -1
  845. package/lib/rate/index.css +1 -1
  846. package/lib/rate/index.d.ts +3 -3
  847. package/lib/row/Row.d.ts +1 -1
  848. package/lib/search/Search.d.ts +217 -0
  849. package/lib/search/Search.js +155 -0
  850. package/lib/search/index.css +1 -0
  851. package/lib/search/index.d.ts +159 -0
  852. package/lib/search/index.js +35 -0
  853. package/lib/search/style/index.d.ts +1 -0
  854. package/lib/search/style/index.js +6 -0
  855. package/lib/search/types.d.ts +8 -0
  856. package/lib/search/types.js +15 -0
  857. package/lib/signature/Signature.d.ts +109 -0
  858. package/lib/signature/Signature.js +257 -0
  859. package/lib/signature/force-landscape.d.ts +16 -0
  860. package/lib/signature/force-landscape.js +91 -0
  861. package/lib/signature/index.css +1 -0
  862. package/lib/signature/index.d.ts +83 -0
  863. package/lib/signature/index.js +35 -0
  864. package/lib/signature/style/index.d.ts +1 -0
  865. package/lib/signature/style/index.js +10 -0
  866. package/lib/signature/types.d.ts +1 -0
  867. package/lib/signature/types.js +15 -0
  868. package/lib/skeleton/Skeleton.d.ts +104 -0
  869. package/lib/skeleton/Skeleton.js +135 -0
  870. package/lib/skeleton/index.css +1 -0
  871. package/lib/skeleton/index.d.ts +78 -0
  872. package/lib/skeleton/index.js +35 -0
  873. package/lib/skeleton/style/index.d.ts +1 -0
  874. package/lib/skeleton/style/index.js +2 -0
  875. package/lib/step/Step.d.ts +15 -0
  876. package/lib/step/Step.js +156 -0
  877. package/lib/step/index.css +1 -0
  878. package/lib/step/index.d.ts +15 -0
  879. package/lib/step/index.js +33 -0
  880. package/lib/step/style/index.d.ts +1 -0
  881. package/lib/step/style/index.js +5 -0
  882. package/lib/stepper/Stepper.d.ts +3 -3
  883. package/lib/stepper/index.css +1 -1
  884. package/lib/stepper/index.d.ts +2 -2
  885. package/lib/steps/Steps.d.ts +67 -0
  886. package/lib/steps/Steps.js +68 -0
  887. package/lib/steps/index.css +1 -0
  888. package/lib/steps/index.d.ts +48 -0
  889. package/lib/steps/index.js +35 -0
  890. package/lib/steps/style/index.d.ts +1 -0
  891. package/lib/steps/style/index.js +2 -0
  892. package/lib/sticky/Sticky.d.ts +2 -2
  893. package/lib/sticky/Sticky.js +2 -1
  894. package/lib/sticky/index.css +1 -1
  895. package/lib/sticky/index.d.ts +1 -1
  896. package/lib/style/base.css +1 -1
  897. package/lib/style/css-variables.css +1 -1
  898. package/lib/style/normalize.css +1 -1
  899. package/lib/swipe/Swipe.d.ts +4 -1
  900. package/lib/swipe/Swipe.js +31 -12
  901. package/lib/swipe/index.css +1 -1
  902. package/lib/swipe/index.d.ts +2 -0
  903. package/lib/swipe-item/SwipeItem.js +1 -1
  904. package/lib/switch/Switch.d.ts +2 -2
  905. package/lib/switch/index.css +1 -1
  906. package/lib/switch/index.d.ts +1 -1
  907. package/lib/tab/Tab.d.ts +1 -1
  908. package/lib/tab/Tab.js +1 -1
  909. package/lib/tab/style/index.js +1 -1
  910. package/lib/tabbar/Tabbar.d.ts +90 -0
  911. package/lib/tabbar/Tabbar.js +103 -0
  912. package/lib/tabbar/image/common-normal.png +0 -0
  913. package/lib/tabbar/image/common-selected.png +0 -0
  914. package/lib/tabbar/index.css +1 -0
  915. package/lib/tabbar/index.d.ts +64 -0
  916. package/lib/tabbar/index.js +33 -0
  917. package/lib/tabbar/style/index.d.ts +1 -0
  918. package/lib/tabbar/style/index.js +2 -0
  919. package/lib/tabbar-item/TabbarItem.d.ts +44 -0
  920. package/lib/tabbar-item/TabbarItem.js +141 -0
  921. package/lib/tabbar-item/index.css +1 -0
  922. package/lib/tabbar-item/index.d.ts +35 -0
  923. package/lib/tabbar-item/index.js +33 -0
  924. package/lib/tabbar-item/style/index.d.ts +1 -0
  925. package/lib/tabbar-item/style/index.js +5 -0
  926. package/lib/tabs/Tabs.d.ts +6 -6
  927. package/lib/tabs/Tabs.js +35 -4
  928. package/lib/tabs/TabsTitle.d.ts +10 -1
  929. package/lib/tabs/TabsTitle.js +8 -2
  930. package/lib/tabs/index.css +1 -1
  931. package/lib/tabs/index.d.ts +4 -4
  932. package/lib/tag/Tag.d.ts +102 -0
  933. package/lib/tag/Tag.js +120 -0
  934. package/lib/tag/index.css +1 -0
  935. package/lib/tag/index.d.ts +77 -0
  936. package/lib/tag/index.js +35 -0
  937. package/lib/tag/style/index.d.ts +1 -0
  938. package/lib/tag/style/index.js +4 -0
  939. package/lib/time-picker/Arrow.d.ts +4 -0
  940. package/lib/time-picker/Arrow.js +46 -0
  941. package/lib/time-picker/TimePicker.d.ts +286 -0
  942. package/lib/time-picker/TimePicker.js +197 -0
  943. package/lib/time-picker/TimePickerColumn.d.ts +71 -0
  944. package/lib/time-picker/TimePickerColumn.js +258 -0
  945. package/lib/time-picker/index.css +1 -0
  946. package/lib/time-picker/index.d.ts +205 -0
  947. package/lib/time-picker/index.js +35 -0
  948. package/lib/time-picker/style/index.d.ts +1 -0
  949. package/lib/time-picker/style/index.js +11 -0
  950. package/lib/toast/Toast.d.ts +2 -2
  951. package/lib/toast/index.css +1 -1
  952. package/lib/toast/index.d.ts +6 -1
  953. package/lib/toast/style/index.js +1 -1
  954. package/lib/uploader/Uploader.d.ts +214 -0
  955. package/lib/uploader/Uploader.js +274 -0
  956. package/lib/uploader/UploaderPreviewItem.d.ts +36 -0
  957. package/lib/uploader/UploaderPreviewItem.js +147 -0
  958. package/lib/uploader/index.css +1 -0
  959. package/lib/uploader/index.d.ts +155 -0
  960. package/lib/uploader/index.js +35 -0
  961. package/lib/uploader/style/index.d.ts +1 -0
  962. package/lib/uploader/style/index.js +11 -0
  963. package/lib/uploader/types.d.ts +31 -0
  964. package/lib/uploader/types.js +15 -0
  965. package/lib/uploader/utils.d.ts +11 -0
  966. package/lib/uploader/utils.js +88 -0
  967. package/lib/utils/basic.js +2 -1
  968. package/lib/utils/constant.d.ts +4 -0
  969. package/lib/utils/constant.js +4 -0
  970. package/lib/utils/create.js +4 -1
  971. package/lib/utils/date.d.ts +29 -0
  972. package/lib/utils/date.js +115 -0
  973. package/lib/utils/format.d.ts +1 -1
  974. package/lib/utils/parse.d.ts +12 -0
  975. package/lib/utils/parse.js +37 -0
  976. package/lib/utils/props.d.ts +2 -2
  977. package/lib/utils/props.js +2 -2
  978. package/lib/utils/validate.d.ts +6 -1
  979. package/lib/utils/validate.js +11 -1
  980. package/lib/utils/with-install.d.ts +2 -2
  981. package/lib/utils/with-install.js +4 -2
  982. package/lib/vue-tsx-shim.d.ts +7 -0
  983. package/lib/web-types.json +1 -3197
  984. package/lib/zartui.cjs.js +14724 -5172
  985. package/lib/zartui.es.js +14726 -5174
  986. package/lib/zartui.js +15738 -5305
  987. package/lib/zartui.min.js +1 -1
  988. package/package.json +14 -14
  989. package/README.md +0 -25
@@ -1,7 +1,7 @@
1
1
  import { Fragment as _Fragment, withDirectives as _withDirectives, mergeProps as _mergeProps, vShow as _vShow, createVNode as _createVNode } from "vue";
2
2
  import { ref, watch, provide, Teleport, nextTick, computed, onMounted, Transition, onActivated, onDeactivated, defineComponent } from "vue";
3
3
  import { popupSharedProps } from "./shared.mjs";
4
- import { isDef, extend, makeStringProp, callInterceptor, createNamespace, HAPTICS_FEEDBACK } from "../utils/index.mjs";
4
+ import { isDef, extend, makeStringProp, callInterceptor, createNamespace, HAPTICS_FEEDBACK, makeNumberProp } from "../utils/index.mjs";
5
5
  import { useEventListener } from "@zartui/use";
6
6
  import { useExpose } from "../composables/use-expose.mjs";
7
7
  import { useLockScroll } from "../composables/use-lock-scroll.mjs";
@@ -12,14 +12,16 @@ import { Overlay } from "../overlay/index.mjs";
12
12
  const popupProps = extend({}, popupSharedProps, {
13
13
  round: Boolean,
14
14
  position: makeStringProp("center"),
15
- closeIcon: makeStringProp("cross"),
15
+ closeIcon: makeStringProp("clear"),
16
16
  closeable: Boolean,
17
17
  transition: String,
18
18
  iconPrefix: String,
19
19
  closeOnPopstate: Boolean,
20
20
  closeIconPosition: makeStringProp("top-right"),
21
21
  safeAreaInsetTop: Boolean,
22
- safeAreaInsetBottom: Boolean
22
+ safeAreaInsetBottom: Boolean,
23
+ sliderContentHeight: makeNumberProp(60),
24
+ slideable: Boolean
23
25
  });
24
26
  const [name, bem] = createNamespace("popup");
25
27
  let globalZIndex = 2e3;
@@ -35,7 +37,15 @@ var stdin_default = defineComponent({
35
37
  }) {
36
38
  let opened;
37
39
  let shouldReopen;
40
+ const root = ref();
41
+ const positionY = ref(0);
42
+ let timerId = setInterval(() => {
43
+ }, 0);
44
+ const touchHeight = ref(0);
45
+ const contentStyle = ref(`height:${props.sliderContentHeight}px;`);
46
+ const touchAreaHeight = ref(40);
38
47
  const zIndex = ref();
48
+ const touchPoint = ref(0);
39
49
  const popupRef = ref();
40
50
  const lazyRender = useLazyRender(() => props.show || !props.lazyRender);
41
51
  const style = computed(() => {
@@ -49,6 +59,9 @@ var stdin_default = defineComponent({
49
59
  return style2;
50
60
  });
51
61
  const open = () => {
62
+ if (props.slideable) {
63
+ contentStyle.value = `height:${props.sliderContentHeight}px;`;
64
+ }
52
65
  if (!opened) {
53
66
  if (props.zIndex !== void 0) {
54
67
  globalZIndex = +props.zIndex;
@@ -75,6 +88,39 @@ var stdin_default = defineComponent({
75
88
  close();
76
89
  }
77
90
  };
91
+ const move = (event) => {
92
+ if (timerId) {
93
+ event.preventDefault();
94
+ }
95
+ const h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
96
+ positionY.value = event.touches[0].clientY;
97
+ timerId = setTimeout(() => {
98
+ if (positionY.value === 0 || positionY.value < h * 0.15) {
99
+ return;
100
+ }
101
+ touchHeight.value = positionY.value - touchAreaHeight.value > h - touchAreaHeight.value ? h - touchAreaHeight.value + touchPoint.value : positionY.value;
102
+ contentStyle.value = `height:${h - touchHeight.value - touchAreaHeight.value + touchPoint.value}px;`;
103
+ }, 10);
104
+ };
105
+ const startMove = (event) => {
106
+ var _a, _b;
107
+ if (timerId) {
108
+ clearInterval(timerId);
109
+ }
110
+ touchPoint.value = event.touches[0].clientY - (((_b = (_a = popupRef.value) == null ? void 0 : _a.getBoundingClientRect()) == null ? void 0 : _b.top) || 0);
111
+ };
112
+ const endMove = () => {
113
+ clearInterval(timerId);
114
+ };
115
+ useEventListener("touchmove", move, {
116
+ target: root
117
+ });
118
+ useEventListener("touchstart", startMove, {
119
+ target: root
120
+ });
121
+ useEventListener("touchend", endMove, {
122
+ target: root
123
+ });
78
124
  const renderOverlay = () => {
79
125
  if (props.overlay) {
80
126
  return _createVNode(Overlay, {
@@ -129,6 +175,23 @@ var stdin_default = defineComponent({
129
175
  "onKeydown": onKeydown
130
176
  }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[_vShow, props.show]]);
131
177
  });
178
+ const sliderRenderPopup = lazyRender(() => {
179
+ var _a, _b;
180
+ return _withDirectives(_createVNode("div", _mergeProps({
181
+ "class": bem("slider"),
182
+ "ref": popupRef,
183
+ "style": style.value,
184
+ "onKeydown": onKeydown
185
+ }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon(), _createVNode("div", {
186
+ "class": bem("slider-title"),
187
+ "ref": root
188
+ }, [_createVNode("div", {
189
+ "class": bem("slider-bar")
190
+ }, null)]), _createVNode("div", {
191
+ "class": bem("slider-content"),
192
+ "style": contentStyle.value
193
+ }, [(_b = slots.default) == null ? void 0 : _b.call(slots)])]), [[_vShow, props.show]]);
194
+ });
132
195
  const renderTransition = () => {
133
196
  const {
134
197
  position,
@@ -145,6 +208,22 @@ var stdin_default = defineComponent({
145
208
  default: renderPopup
146
209
  });
147
210
  };
211
+ const sliderRenderTransition = () => {
212
+ const {
213
+ position,
214
+ transition,
215
+ transitionAppear
216
+ } = props;
217
+ const name2 = position === "center" ? "zt-fade" : `zt-popup-slide-${position}`;
218
+ return _createVNode(Transition, {
219
+ "name": transition || name2,
220
+ "appear": transitionAppear,
221
+ "onAfterEnter": onOpened,
222
+ "onAfterLeave": onClosed
223
+ }, {
224
+ default: sliderRenderPopup
225
+ });
226
+ };
148
227
  watch(() => props.show, (show) => {
149
228
  if (show && !opened) {
150
229
  open();
@@ -196,6 +275,9 @@ var stdin_default = defineComponent({
196
275
  default: () => [renderOverlay(), renderTransition()]
197
276
  });
198
277
  }
278
+ if (props.slideable) {
279
+ return _createVNode(_Fragment, null, [renderOverlay(), sliderRenderTransition()]);
280
+ }
199
281
  return _createVNode(_Fragment, null, [renderOverlay(), renderTransition()]);
200
282
  };
201
283
  }
@@ -1 +1 @@
1
- body{--zt-popup-background: var(--zt-background-2);--zt-popup-transition: transform var(--zt-duration-base);--zt-popup-round-radius: 16px;--zt-popup-close-icon-size: 22px;--zt-popup-close-icon-color: var(--zt-gray-5);--zt-popup-close-icon-margin: 16px;--zt-popup-close-icon-z-index: 1}.zt-overflow-hidden{overflow:hidden!important}.zt-popup{position:fixed;max-height:100%;overflow-y:auto;background:var(--zt-popup-background);transition:var(--zt-popup-transition);-webkit-overflow-scrolling:touch}.zt-popup--center{top:50%;left:50%;transform:translate3d(-50%,-50%,0)}.zt-popup--center.zt-popup--round{border-radius:var(--zt-popup-round-radius)}.zt-popup--top{top:0;left:0;width:100%}.zt-popup--top.zt-popup--round{border-radius:0 0 var(--zt-popup-round-radius) var(--zt-popup-round-radius)}.zt-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.zt-popup--right.zt-popup--round{border-radius:var(--zt-popup-round-radius) 0 0 var(--zt-popup-round-radius)}.zt-popup--bottom{bottom:0;left:0;width:100%}.zt-popup--bottom.zt-popup--round{border-radius:var(--zt-popup-round-radius) var(--zt-popup-round-radius) 0 0}.zt-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.zt-popup--left.zt-popup--round{border-radius:0 var(--zt-popup-round-radius) var(--zt-popup-round-radius) 0}.zt-popup-slide-top-enter-active,.zt-popup-slide-left-enter-active,.zt-popup-slide-right-enter-active,.zt-popup-slide-bottom-enter-active{transition-timing-function:var(--zt-ease-out)}.zt-popup-slide-top-leave-active,.zt-popup-slide-left-leave-active,.zt-popup-slide-right-leave-active,.zt-popup-slide-bottom-leave-active{transition-timing-function:var(--zt-ease-in)}.zt-popup-slide-top-enter-from,.zt-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.zt-popup-slide-right-enter-from,.zt-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.zt-popup-slide-bottom-enter-from,.zt-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.zt-popup-slide-left-enter-from,.zt-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.zt-popup__close-icon{position:absolute;z-index:var(--zt-popup-close-icon-z-index);color:var(--zt-popup-close-icon-color);font-size:var(--zt-popup-close-icon-size)}.zt-popup__close-icon--top-left{top:var(--zt-popup-close-icon-margin);left:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--top-right{top:var(--zt-popup-close-icon-margin);right:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--bottom-left{bottom:var(--zt-popup-close-icon-margin);left:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--bottom-right{right:var(--zt-popup-close-icon-margin);bottom:var(--zt-popup-close-icon-margin)}
1
+ :root{--zt-popup-background: var(--zt-background-2);--zt-popup-transition: transform var(--zt-duration-base);--zt-popup-round-radius: 16px;--zt-popup-close-icon-size: 22px;--zt-popup-close-icon-color: var(--zt-gray-5);--zt-popup-close-icon-margin: 16px;--zt-popup-close-icon-z-index: 1}.zt-overflow-hidden{overflow:hidden!important}.zt-popup{position:fixed;max-height:100%;overflow-y:auto;background:var(--zt-popup-background);transition:var(--zt-popup-transition);-webkit-overflow-scrolling:touch}.zt-popup__slider{position:fixed;width:100%;bottom:0;border-radius:16px 16px 0 0;background-color:#fff}.zt-popup__slider-title{height:40px;text-align:center}.zt-popup__slider-bar{display:inline-block;width:32px;height:4px;transform:scaleY(-1);background:rgba(45,75,115,.2);border-radius:3px}.zt-popup__slider-content{overflow-y:auto}.zt-popup--center{top:50%;left:50%;transform:translate3d(-50%,-50%,0)}.zt-popup--center.zt-popup--round{border-radius:var(--zt-popup-round-radius)}.zt-popup--top{top:0;left:0;width:100%}.zt-popup--top.zt-popup--round{border-radius:0 0 var(--zt-popup-round-radius) var(--zt-popup-round-radius)}.zt-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.zt-popup--right.zt-popup--round{border-radius:var(--zt-popup-round-radius) 0 0 var(--zt-popup-round-radius)}.zt-popup--bottom{bottom:0;left:0;width:100%}.zt-popup--bottom.zt-popup--round{border-radius:var(--zt-popup-round-radius) var(--zt-popup-round-radius) 0 0}.zt-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.zt-popup--left.zt-popup--round{border-radius:0 var(--zt-popup-round-radius) var(--zt-popup-round-radius) 0}.zt-popup-slide-top-enter-active,.zt-popup-slide-left-enter-active,.zt-popup-slide-right-enter-active,.zt-popup-slide-bottom-enter-active{transition-timing-function:var(--zt-ease-out)}.zt-popup-slide-top-leave-active,.zt-popup-slide-left-leave-active,.zt-popup-slide-right-leave-active,.zt-popup-slide-bottom-leave-active{transition-timing-function:var(--zt-ease-in)}.zt-popup-slide-top-enter-from,.zt-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.zt-popup-slide-right-enter-from,.zt-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.zt-popup-slide-bottom-enter-from,.zt-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.zt-popup-slide-left-enter-from,.zt-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.zt-popup__slider-icon{z-index:var(--zt-popup-close-icon-z-index);color:var(--zt-popup-close-icon-color);font-size:var(--zt-popup-close-icon-size);cursor:pointer}.zt-popup__close-icon{position:absolute;z-index:var(--zt-popup-close-icon-z-index);color:var(--zt-popup-close-icon-color);font-size:var(--zt-popup-close-icon-size)}.zt-popup__close-icon--top-left{top:var(--zt-popup-close-icon-margin);left:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--top-right{top:var(--zt-popup-close-icon-margin);right:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--bottom-left{bottom:var(--zt-popup-close-icon-margin);left:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--bottom-right{right:var(--zt-popup-close-icon-margin);bottom:var(--zt-popup-close-icon-margin)}
@@ -43,7 +43,12 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
43
43
  };
44
44
  safeAreaInsetTop: BooleanConstructor;
45
45
  safeAreaInsetBottom: BooleanConstructor;
46
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon")[], "open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
+ sliderContentHeight: {
47
+ type: NumberConstructor;
48
+ default: number;
49
+ };
50
+ slideable: BooleanConstructor;
51
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "keydown" | "open" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon")[], "open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
52
  show: BooleanConstructor;
48
53
  zIndex: (NumberConstructor | StringConstructor)[];
49
54
  overlay: {
@@ -88,6 +93,11 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
88
93
  };
89
94
  safeAreaInsetTop: BooleanConstructor;
90
95
  safeAreaInsetBottom: BooleanConstructor;
96
+ sliderContentHeight: {
97
+ type: NumberConstructor;
98
+ default: number;
99
+ };
100
+ slideable: BooleanConstructor;
91
101
  }>> & {
92
102
  onKeydown?: ((...args: any[]) => any) | undefined;
93
103
  onClose?: ((...args: any[]) => any) | undefined;
@@ -99,19 +109,21 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
99
109
  onClickCloseIcon?: ((...args: any[]) => any) | undefined;
100
110
  }, {
101
111
  position: import("./types").PopupPosition;
102
- round: boolean;
103
- overlay: boolean;
104
112
  show: boolean;
105
- closeable: boolean;
113
+ overlay: boolean;
106
114
  lockScroll: boolean;
107
115
  lazyRender: boolean;
108
116
  transitionAppear: boolean;
109
117
  closeOnClickOverlay: boolean;
118
+ round: boolean;
110
119
  closeIcon: string;
120
+ closeable: boolean;
111
121
  closeOnPopstate: boolean;
112
122
  closeIconPosition: import("./types").PopupCloseIconPosition;
113
123
  safeAreaInsetTop: boolean;
114
124
  safeAreaInsetBottom: boolean;
125
+ sliderContentHeight: number;
126
+ slideable: boolean;
115
127
  }>>;
116
128
  export default Popup;
117
129
  export type { PopupProps } from './Popup';
@@ -1,4 +1,4 @@
1
- import { ExtractPropTypes } from 'vue';
1
+ import type { ExtractPropTypes } from 'vue';
2
2
  declare const pullRefreshProps: {
3
3
  disabled: BooleanConstructor;
4
4
  modelValue: BooleanConstructor;
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<{
41
41
  type: (NumberConstructor | StringConstructor)[];
42
42
  default: number;
43
43
  };
44
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "refresh")[], "change" | "update:modelValue" | "refresh", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
44
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "refresh")[], "update:modelValue" | "change" | "refresh", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
45
45
  disabled: BooleanConstructor;
46
46
  modelValue: BooleanConstructor;
47
47
  headHeight: {
@@ -67,8 +67,8 @@ declare const _default: import("vue").DefineComponent<{
67
67
  onRefresh?: ((...args: any[]) => any) | undefined;
68
68
  }, {
69
69
  disabled: boolean;
70
- animationDuration: string | number;
71
70
  modelValue: boolean;
71
+ animationDuration: string | number;
72
72
  headHeight: string | number;
73
73
  successDuration: string | number;
74
74
  }>;
@@ -1,7 +1,7 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
2
  import { ref, watch, reactive, nextTick, defineComponent } from "vue";
3
3
  import { numericProp, getScrollTop, preventDefault, createNamespace, makeNumericProp } from "../utils/index.mjs";
4
- import { useScrollParent } from "@zartui/use";
4
+ import { useEventListener, useScrollParent } from "@zartui/use";
5
5
  import { useTouch } from "../composables/use-touch.mjs";
6
6
  import { Loading } from "../loading/index.mjs";
7
7
  const [name, bem, t] = createNamespace("pull-refresh");
@@ -29,6 +29,7 @@ var stdin_default = defineComponent({
29
29
  }) {
30
30
  let reachTop;
31
31
  const root = ref();
32
+ const track = ref();
32
33
  const scrollParent = useScrollParent(root);
33
34
  const state = reactive({
34
35
  status: "normal",
@@ -141,6 +142,9 @@ var stdin_default = defineComponent({
141
142
  }
142
143
  }
143
144
  };
145
+ useEventListener("touchmove", onTouchMove, {
146
+ target: track
147
+ });
144
148
  const onTouchEnd = () => {
145
149
  if (reachTop && touch.deltaY.value && isTouchable()) {
146
150
  state.duration = +props.animationDuration;
@@ -173,9 +177,10 @@ var stdin_default = defineComponent({
173
177
  "ref": root,
174
178
  "class": bem()
175
179
  }, [_createVNode("div", {
180
+ "ref": track,
176
181
  "class": bem("track"),
177
182
  "style": trackStyle,
178
- "onTouchstart": onTouchStart,
183
+ "onTouchstartPassive": onTouchStart,
179
184
  "onTouchmove": onTouchMove,
180
185
  "onTouchend": onTouchEnd,
181
186
  "onTouchcancel": onTouchEnd
@@ -1 +1 @@
1
- body{--zt-pull-refresh-head-height: 50px;--zt-pull-refresh-head-font-size: var(--zt-font-size-md);--zt-pull-refresh-head-text-color: var(--zt-text-color-2);--zt-pull-refresh-loading-icon-size: 14px;--zt-pull-refresh-head-background: var(--zt-background)}.zt-pull-refresh{overflow:hidden}.zt-pull-refresh__track{position:relative;height:100%;transition-property:transform}.zt-pull-refresh__head{position:absolute;left:0;width:100%;height:var(--zt-pull-refresh-head-height);overflow:hidden;color:var(--zt-pull-refresh-head-text-color);font-size:var(--zt-pull-refresh-head-font-size);line-height:var(--zt-pull-refresh-head-height);text-align:center;transform:translateY(-100%);background:var(--zt-pull-refresh-head-background)}.zt-pull-refresh__loading .zt-loading__spinner{width:var(--zt-pull-refresh-loading-icon-size);height:var(--zt-pull-refresh-loading-icon-size)}
1
+ :root{--zt-pull-refresh-head-height: 50px;--zt-pull-refresh-head-font-size: var(--zt-font-size-md);--zt-pull-refresh-head-text-color: var(--zt-text-color-2);--zt-pull-refresh-loading-icon-size: 14px;--zt-pull-refresh-head-background: var(--zt-background)}.zt-pull-refresh{overflow:hidden}.zt-pull-refresh__track{position:relative;height:100%;transition-property:transform}.zt-pull-refresh__head{position:absolute;left:0;width:100%;height:var(--zt-pull-refresh-head-height);overflow:hidden;color:var(--zt-pull-refresh-head-text-color);font-size:var(--zt-pull-refresh-head-font-size);line-height:var(--zt-pull-refresh-head-height);text-align:center;transform:translateY(-100%);background:var(--zt-pull-refresh-head-background)}.zt-pull-refresh__loading .zt-loading__spinner{width:var(--zt-pull-refresh-loading-icon-size);height:var(--zt-pull-refresh-loading-icon-size)}
@@ -18,7 +18,7 @@ export declare const PullRefresh: import("../utils").WithInstall<import("vue").D
18
18
  type: (NumberConstructor | StringConstructor)[];
19
19
  default: number;
20
20
  };
21
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "refresh")[], "change" | "update:modelValue" | "refresh", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "refresh")[], "update:modelValue" | "change" | "refresh", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
22
  disabled: BooleanConstructor;
23
23
  modelValue: BooleanConstructor;
24
24
  headHeight: {
@@ -44,8 +44,8 @@ export declare const PullRefresh: import("../utils").WithInstall<import("vue").D
44
44
  onRefresh?: ((...args: any[]) => any) | undefined;
45
45
  }, {
46
46
  disabled: boolean;
47
- animationDuration: string | number;
48
47
  modelValue: boolean;
48
+ animationDuration: string | number;
49
49
  headHeight: string | number;
50
50
  successDuration: string | number;
51
51
  }>>;
@@ -0,0 +1,37 @@
1
+ import { checkerProps, CheckerShape, CheckerLabelPosition } from '../checkbox/Checker';
2
+ import type { ExtractPropTypes } from 'vue';
3
+ export declare type RadioShape = CheckerShape;
4
+ export declare type RadioLabelPosition = CheckerLabelPosition;
5
+ export declare type RadioProps = ExtractPropTypes<typeof checkerProps>;
6
+ declare const _default: import("vue").DefineComponent<{
7
+ name: import("vue").PropType<unknown>;
8
+ shape: {
9
+ type: import("vue").PropType<CheckerShape>;
10
+ default: CheckerShape;
11
+ };
12
+ disabled: BooleanConstructor;
13
+ iconSize: (NumberConstructor | StringConstructor)[];
14
+ modelValue: import("vue").PropType<unknown>;
15
+ checkedColor: StringConstructor;
16
+ labelPosition: import("vue").PropType<CheckerLabelPosition>;
17
+ labelDisabled: BooleanConstructor;
18
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
19
+ name: import("vue").PropType<unknown>;
20
+ shape: {
21
+ type: import("vue").PropType<CheckerShape>;
22
+ default: CheckerShape;
23
+ };
24
+ disabled: BooleanConstructor;
25
+ iconSize: (NumberConstructor | StringConstructor)[];
26
+ modelValue: import("vue").PropType<unknown>;
27
+ checkedColor: StringConstructor;
28
+ labelPosition: import("vue").PropType<CheckerLabelPosition>;
29
+ labelDisabled: BooleanConstructor;
30
+ }>> & {
31
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
32
+ }, {
33
+ disabled: boolean;
34
+ shape: CheckerShape;
35
+ labelDisabled: boolean;
36
+ }>;
37
+ export default _default;
@@ -0,0 +1,41 @@
1
+ import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
2
+ import { defineComponent } from "vue";
3
+ import { pick, createNamespace } from "../utils/index.mjs";
4
+ import { RADIO_KEY } from "../radio-group/RadioGroup.mjs";
5
+ import { useParent } from "@zartui/use";
6
+ import Checker, { checkerProps } from "../checkbox/Checker.mjs";
7
+ const [name, bem] = createNamespace("radio");
8
+ var stdin_default = defineComponent({
9
+ name,
10
+ props: checkerProps,
11
+ emits: ["update:modelValue"],
12
+ setup(props, {
13
+ emit,
14
+ slots
15
+ }) {
16
+ const {
17
+ parent
18
+ } = useParent(RADIO_KEY);
19
+ const checked = () => {
20
+ const value = parent ? parent.props.modelValue : props.modelValue;
21
+ return value === props.name;
22
+ };
23
+ const toggle = () => {
24
+ if (parent) {
25
+ parent.updateValue(props.name);
26
+ } else {
27
+ emit("update:modelValue", props.name);
28
+ }
29
+ };
30
+ return () => _createVNode(Checker, _mergeProps({
31
+ "bem": bem,
32
+ "role": "radio",
33
+ "parent": parent,
34
+ "checked": checked(),
35
+ "onToggle": toggle
36
+ }, props), pick(slots, ["default", "icon"]));
37
+ }
38
+ });
39
+ export {
40
+ stdin_default as default
41
+ };
@@ -0,0 +1 @@
1
+ :root{--zt-radio-size: 16px;--zt-radio-padding: 12px 0;--zt-radio-border-color: var(--zt-gray-5);--zt-radio-duration: var(--zt-duration-fast);--zt-radio-round-box-shadow: -1px -1px 2px 0 #ffffff, 0 0 3px 0 rgba(45, 75, 115, .2);--zt-radio-round-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%);--zt-radio-round-border: 1px solid rgba(45, 75, 115, .13);--zt-radio-label-margin: 14px;--zt-radio-label-color: var(--zt-text-color);--zt-radio-label-font-size: var(--zt-font-size-md);--zt-radio-checked-icon-color: var(--zt-primary-color);--zt-radio-checked-icon-shadow: inset 1px 1px 2px 0 rgba(0, 0, 0, .2);--zt-radio-checked-icon-border: 1px solid rgba(255, 255, 255, .5);--zt-radio-disabled-icon-color: var(--zt-gray-5);--zt-radio-disabled-icon-shadow: -1px -1px 2px 0 #fff, 0 0 3px 0 rgba(45, 75, 115, .2);--zt-radio-disabled-icon-border: 1px solid var(--zt-white-a5);--zt-radio-disabled-label-color: var(--zt-text-color-3);--zt-radio-disabled-background: var(--zt-border-color);--zt-radio-disabled-checked-icon-opacity: .4}.zt-radio{position:relative;display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none;padding:var(--zt-radio-padding)}.zt-radio--disabled{cursor:not-allowed}.zt-radio--label-disabled{cursor:default}.zt-radio--horizontal{margin-right:var(--zt-padding-md)}.zt-radio__icon{font-size:var(--zt-radio-size);cursor:pointer;box-sizing:border-box}.zt-radio__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-radio-border-color);transition-duration:var(--zt-radio-duration);transition-property:color,border-color,background-color}.zt-radio__icon--round .zt-icon{border-radius:100%;border:var(--zt-radio-round-border);box-shadow:var(--zt-radio-round-box-shadow);background:var(--zt-radio-round-background)}.zt-radio__icon--checked .zt-icon{color:var(--zt-white);background:var(--zt-radio-checked-icon-color);box-shadow:var(--zt-radio-checked-icon-shadow);border:var(--zt-radio-checked-icon-border)}.zt-radio__icon--disabled{cursor:not-allowed}.zt-radio__icon--disabled .zt-icon{border:var(--zt-radio-disabled-icon-border);box-shadow:var(--zt-radio-disabled-icon-shadow);background:var(--zt-gradient-white)}.zt-radio__icon--disabled.zt-radio__icon--checked .zt-icon{opacity:var(--zt-radio-disabled-checked-icon-opacity);background:var(--zt-blue);color:var(--zt-white)}.zt-radio__dot{width:calc(var(--zt-radio-size) * .5);height:calc(var(--zt-radio-size) * .5);background:var(--zt-white);border-radius:50%}.zt-radio__label{margin-left:var(--zt-radio-label-margin);color:var(--zt-radio-label-color);font-size:var(--zt-radio-label-font-size)}.zt-radio__label--left{margin:0 var(--zt-radio-label-margin) 0 0}.zt-radio__label--disabled{color:var(--zt-radio-disabled-label-color)}
@@ -0,0 +1,38 @@
1
+ export declare const Radio: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ name: import("vue").PropType<unknown>;
3
+ shape: {
4
+ type: import("vue").PropType<import("../checkbox/Checker").CheckerShape>;
5
+ default: import("../checkbox/Checker").CheckerShape;
6
+ };
7
+ disabled: BooleanConstructor;
8
+ iconSize: (NumberConstructor | StringConstructor)[];
9
+ modelValue: import("vue").PropType<unknown>;
10
+ checkedColor: StringConstructor;
11
+ labelPosition: import("vue").PropType<import("../checkbox/Checker").CheckerLabelPosition>;
12
+ labelDisabled: BooleanConstructor;
13
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ name: import("vue").PropType<unknown>;
15
+ shape: {
16
+ type: import("vue").PropType<import("../checkbox/Checker").CheckerShape>;
17
+ default: import("../checkbox/Checker").CheckerShape;
18
+ };
19
+ disabled: BooleanConstructor;
20
+ iconSize: (NumberConstructor | StringConstructor)[];
21
+ modelValue: import("vue").PropType<unknown>;
22
+ checkedColor: StringConstructor;
23
+ labelPosition: import("vue").PropType<import("../checkbox/Checker").CheckerLabelPosition>;
24
+ labelDisabled: BooleanConstructor;
25
+ }>> & {
26
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
27
+ }, {
28
+ disabled: boolean;
29
+ shape: import("../checkbox/Checker").CheckerShape;
30
+ labelDisabled: boolean;
31
+ }>>;
32
+ export default Radio;
33
+ export type { RadioProps, RadioShape, RadioLabelPosition } from './Radio';
34
+ declare module 'vue' {
35
+ interface GlobalComponents {
36
+ ZtRadio: typeof Radio;
37
+ }
38
+ }
@@ -0,0 +1,8 @@
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _Radio from "./Radio.mjs";
3
+ const Radio = withInstall(_Radio);
4
+ var stdin_default = Radio;
5
+ export {
6
+ Radio,
7
+ stdin_default as default
8
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import "../../style/base.css";
2
+ import "../../badge/index.css";
3
+ import "../../icon/index.css";
4
+ import "../../checkbox/index.css";
5
+ import "../../radio-group/index.css";
6
+ import "../index.css";
@@ -0,0 +1,45 @@
1
+ import type { CheckerDirection } from '../checkbox/Checker';
2
+ import type { InjectionKey, ExtractPropTypes } from 'vue';
3
+ export declare type RadioGroupDirection = CheckerDirection;
4
+ declare const radioGroupProps: {
5
+ disabled: BooleanConstructor;
6
+ iconSize: (NumberConstructor | StringConstructor)[];
7
+ direction: {
8
+ type: import("vue").PropType<CheckerDirection>;
9
+ default: CheckerDirection;
10
+ };
11
+ modelValue: import("vue").PropType<unknown>;
12
+ checkedColor: StringConstructor;
13
+ };
14
+ export declare type RadioGroupProps = ExtractPropTypes<typeof radioGroupProps>;
15
+ export declare type RadioGroupProvide = {
16
+ props: RadioGroupProps;
17
+ updateValue: (value: unknown) => void;
18
+ };
19
+ export declare const RADIO_KEY: InjectionKey<RadioGroupProvide>;
20
+ declare const _default: import("vue").DefineComponent<{
21
+ disabled: BooleanConstructor;
22
+ iconSize: (NumberConstructor | StringConstructor)[];
23
+ direction: {
24
+ type: import("vue").PropType<CheckerDirection>;
25
+ default: CheckerDirection;
26
+ };
27
+ modelValue: import("vue").PropType<unknown>;
28
+ checkedColor: StringConstructor;
29
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
30
+ disabled: BooleanConstructor;
31
+ iconSize: (NumberConstructor | StringConstructor)[];
32
+ direction: {
33
+ type: import("vue").PropType<CheckerDirection>;
34
+ default: CheckerDirection;
35
+ };
36
+ modelValue: import("vue").PropType<unknown>;
37
+ checkedColor: StringConstructor;
38
+ }>> & {
39
+ onChange?: ((...args: any[]) => any) | undefined;
40
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
41
+ }, {
42
+ disabled: boolean;
43
+ direction: CheckerDirection;
44
+ }>;
45
+ export default _default;
@@ -0,0 +1,44 @@
1
+ import { createVNode as _createVNode } from "vue";
2
+ import { watch, defineComponent } from "vue";
3
+ import { unknownProp, numericProp, createNamespace, makeStringProp } from "../utils/index.mjs";
4
+ import { useChildren, useCustomFieldValue } from "@zartui/use";
5
+ const [name, bem] = createNamespace("radio-group");
6
+ const radioGroupProps = {
7
+ disabled: Boolean,
8
+ iconSize: numericProp,
9
+ direction: makeStringProp("vertical"),
10
+ modelValue: unknownProp,
11
+ checkedColor: String
12
+ };
13
+ const RADIO_KEY = Symbol(name);
14
+ var stdin_default = defineComponent({
15
+ name,
16
+ props: radioGroupProps,
17
+ emits: ["change", "update:modelValue"],
18
+ setup(props, {
19
+ emit,
20
+ slots
21
+ }) {
22
+ const {
23
+ linkChildren
24
+ } = useChildren(RADIO_KEY);
25
+ const updateValue = (value) => emit("update:modelValue", value);
26
+ watch(() => props.modelValue, (value) => emit("change", value));
27
+ linkChildren({
28
+ props,
29
+ updateValue
30
+ });
31
+ useCustomFieldValue(() => props.modelValue);
32
+ return () => {
33
+ var _a;
34
+ return _createVNode("div", {
35
+ "class": bem([props.direction]),
36
+ "role": "radiogroup"
37
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
38
+ };
39
+ }
40
+ });
41
+ export {
42
+ RADIO_KEY,
43
+ stdin_default as default
44
+ };
@@ -0,0 +1 @@
1
+ .zt-radio-group--horizontal{display:flex;flex-wrap:wrap}.zt-radio-group--vertical .zt-radio:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:calc(var(--zt-radio-size) + var(--zt-radio-label-margin));border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-radio-group--vertical .zt-radio:last-child:after{display:none}
@@ -0,0 +1,32 @@
1
+ export declare const RadioGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ disabled: BooleanConstructor;
3
+ iconSize: (NumberConstructor | StringConstructor)[];
4
+ direction: {
5
+ type: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
6
+ default: import("../checkbox/Checker").CheckerDirection;
7
+ };
8
+ modelValue: import("vue").PropType<unknown>;
9
+ checkedColor: StringConstructor;
10
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ disabled: BooleanConstructor;
12
+ iconSize: (NumberConstructor | StringConstructor)[];
13
+ direction: {
14
+ type: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
15
+ default: import("../checkbox/Checker").CheckerDirection;
16
+ };
17
+ modelValue: import("vue").PropType<unknown>;
18
+ checkedColor: StringConstructor;
19
+ }>> & {
20
+ onChange?: ((...args: any[]) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
+ }, {
23
+ disabled: boolean;
24
+ direction: import("../checkbox/Checker").CheckerDirection;
25
+ }>>;
26
+ export default RadioGroup;
27
+ export type { RadioGroupProps, RadioGroupDirection } from './RadioGroup';
28
+ declare module 'vue' {
29
+ interface GlobalComponents {
30
+ ZtRadioGroup: typeof RadioGroup;
31
+ }
32
+ }
@@ -0,0 +1,8 @@
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _RadioGroup from "./RadioGroup.mjs";
3
+ const RadioGroup = withInstall(_RadioGroup);
4
+ var stdin_default = RadioGroup;
5
+ export {
6
+ RadioGroup,
7
+ stdin_default as default
8
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import "../../style/base.css";
2
+ import "../index.css";
package/es/rate/Rate.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ExtractPropTypes } from 'vue';
1
+ import type { ExtractPropTypes } from 'vue';
2
2
  declare const rateProps: {
3
3
  size: (NumberConstructor | StringConstructor)[];
4
4
  icon: {
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
61
61
  default: number;
62
62
  };
63
63
  disabledColor: StringConstructor;
64
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
64
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
65
65
  size: (NumberConstructor | StringConstructor)[];
66
66
  icon: {
67
67
  type: import("vue").PropType<string>;
@@ -98,10 +98,10 @@ declare const _default: import("vue").DefineComponent<{
98
98
  disabled: boolean;
99
99
  icon: string;
100
100
  modelValue: number;
101
- count: string | number;
102
101
  readonly: boolean;
102
+ touchable: boolean;
103
+ count: string | number;
103
104
  voidIcon: string;
104
105
  allowHalf: boolean;
105
- touchable: boolean;
106
106
  }>;
107
107
  export default _default;
package/es/rate/Rate.mjs CHANGED
@@ -207,7 +207,7 @@ var stdin_default = defineComponent({
207
207
  "tabindex": props.disabled ? void 0 : 0,
208
208
  "aria-disabled": props.disabled,
209
209
  "aria-readonly": props.readonly,
210
- "onTouchstart": onTouchStart,
210
+ "onTouchstartPassive": onTouchStart,
211
211
  "onTouchmove": onTouchMove
212
212
  }, [list.value.map(renderStar)]);
213
213
  }
package/es/rate/index.css CHANGED
@@ -1 +1 @@
1
- body{--zt-rate-icon-size: 20px;--zt-rate-icon-gutter: var(--zt-padding-base);--zt-rate-icon-void-color: var(--zt-gray-5);--zt-rate-icon-full-color: var(--zt-yellow);--zt-rate-icon-disabled-color: var(--zt-gray-5)}.zt-rate{cursor:pointer;-webkit-user-select:none;user-select:none;flex-wrap:wrap;display:inline-flex;align-items:center}.zt-rate__item{position:relative}.zt-rate__item:not(:last-child){padding-right:var(--zt-rate-icon-gutter)}.zt-rate__icon{display:block;width:1em;color:var(--zt-rate-icon-void-color);font-size:var(--zt-rate-icon-size)}.zt-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden}.zt-rate__icon--full{color:var(--zt-rate-icon-full-color)}.zt-rate__icon--disabled{color:var(--zt-rate-icon-disabled-color)}.zt-rate--disabled{cursor:not-allowed}.zt-rate--readonly{cursor:default}
1
+ :root{--zt-rate-icon-size: 20px;--zt-rate-icon-gutter: var(--zt-padding-base);--zt-rate-icon-void-color: var(--zt-gray-5);--zt-rate-icon-full-color: var(--zt-yellow);--zt-rate-icon-disabled-color: var(--zt-gray-5)}.zt-rate{cursor:pointer;-webkit-user-select:none;user-select:none;flex-wrap:wrap;display:inline-flex;align-items:center}.zt-rate__item{position:relative}.zt-rate__item:not(:last-child){padding-right:var(--zt-rate-icon-gutter)}.zt-rate__icon{display:block;width:1em;color:var(--zt-rate-icon-void-color);font-size:var(--zt-rate-icon-size)}.zt-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden}.zt-rate__icon--full{color:var(--zt-rate-icon-full-color)}.zt-rate__icon--disabled{color:var(--zt-rate-icon-disabled-color)}.zt-rate--disabled{cursor:not-allowed}.zt-rate--readonly{cursor:default}