vant 3.4.7 → 3.5.0-beta.0

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 (837) hide show
  1. package/README.md +141 -0
  2. package/es/action-bar/{ActionBar.js → ActionBar.mjs} +0 -0
  3. package/es/action-bar/{index.js → index.mjs} +0 -0
  4. package/es/action-bar/style/{index.js → index.mjs} +0 -0
  5. package/es/action-bar/style/{less.js → less.mjs} +0 -0
  6. package/es/action-bar-button/{ActionBarButton.js → ActionBarButton.mjs} +0 -0
  7. package/es/action-bar-button/{index.js → index.mjs} +0 -0
  8. package/es/action-bar-button/style/{index.js → index.mjs} +0 -0
  9. package/es/action-bar-button/style/{less.js → less.mjs} +0 -0
  10. package/es/action-bar-icon/{ActionBarIcon.js → ActionBarIcon.mjs} +0 -0
  11. package/es/action-bar-icon/{index.js → index.mjs} +0 -0
  12. package/es/action-bar-icon/style/{index.js → index.mjs} +0 -0
  13. package/es/action-bar-icon/style/{less.js → less.mjs} +0 -0
  14. package/es/action-sheet/{ActionSheet.js → ActionSheet.mjs} +0 -0
  15. package/es/action-sheet/{index.js → index.mjs} +0 -0
  16. package/es/action-sheet/style/{index.js → index.mjs} +0 -0
  17. package/es/action-sheet/style/{less.js → less.mjs} +0 -0
  18. package/es/address-edit/{AddressEdit.js → AddressEdit.mjs} +0 -0
  19. package/es/address-edit/{AddressEditDetail.js → AddressEditDetail.mjs} +0 -0
  20. package/es/address-edit/{index.js → index.mjs} +0 -0
  21. package/es/address-edit/style/{index.js → index.mjs} +0 -0
  22. package/es/address-edit/style/{less.js → less.mjs} +0 -0
  23. package/es/address-edit/{types.js → types.mjs} +0 -0
  24. package/es/address-list/{AddressList.js → AddressList.mjs} +0 -0
  25. package/es/address-list/{AddressListItem.js → AddressListItem.mjs} +0 -0
  26. package/es/address-list/{index.js → index.mjs} +0 -0
  27. package/es/address-list/style/{index.js → index.mjs} +0 -0
  28. package/es/address-list/style/{less.js → less.mjs} +0 -0
  29. package/es/area/{Area.js → Area.mjs} +0 -0
  30. package/es/area/{index.js → index.mjs} +0 -0
  31. package/es/area/style/{index.js → index.mjs} +0 -0
  32. package/es/area/style/{less.js → less.mjs} +0 -0
  33. package/es/area/{types.js → types.mjs} +0 -0
  34. package/es/badge/{Badge.js → Badge.mjs} +0 -0
  35. package/es/badge/{index.js → index.mjs} +0 -0
  36. package/es/badge/style/{index.js → index.mjs} +0 -0
  37. package/es/badge/style/{less.js → less.mjs} +0 -0
  38. package/es/button/{Button.js → Button.mjs} +0 -0
  39. package/es/button/{index.js → index.mjs} +0 -0
  40. package/es/button/style/{index.js → index.mjs} +0 -0
  41. package/es/button/style/{less.js → less.mjs} +0 -0
  42. package/es/button/{types.js → types.mjs} +0 -0
  43. package/es/calendar/{Calendar.js → Calendar.mjs} +0 -0
  44. package/es/calendar/{CalendarDay.js → CalendarDay.mjs} +4 -0
  45. package/es/calendar/{CalendarHeader.js → CalendarHeader.mjs} +0 -0
  46. package/es/calendar/{CalendarMonth.js → CalendarMonth.mjs} +0 -0
  47. package/es/calendar/index.css +1 -1
  48. package/es/calendar/index.less +2 -0
  49. package/es/calendar/{index.js → index.mjs} +0 -0
  50. package/es/calendar/style/{index.js → index.mjs} +0 -0
  51. package/es/calendar/style/{less.js → less.mjs} +0 -0
  52. package/es/calendar/{types.js → types.mjs} +0 -0
  53. package/es/calendar/{utils.js → utils.mjs} +0 -0
  54. package/es/calendar/var.less +1 -0
  55. package/es/card/{Card.js → Card.mjs} +0 -0
  56. package/es/card/{index.js → index.mjs} +0 -0
  57. package/es/card/style/{index.js → index.mjs} +0 -0
  58. package/es/card/style/{less.js → less.mjs} +0 -0
  59. package/es/cascader/{Cascader.js → Cascader.mjs} +0 -0
  60. package/es/cascader/{index.js → index.mjs} +0 -0
  61. package/es/cascader/style/{index.js → index.mjs} +0 -0
  62. package/es/cascader/style/{less.js → less.mjs} +0 -0
  63. package/es/cascader/{types.js → types.mjs} +0 -0
  64. package/es/cell/{Cell.js → Cell.mjs} +0 -0
  65. package/es/cell/{index.js → index.mjs} +0 -0
  66. package/es/cell/style/{index.js → index.mjs} +0 -0
  67. package/es/cell/style/{less.js → less.mjs} +0 -0
  68. package/es/cell-group/{CellGroup.js → CellGroup.mjs} +0 -0
  69. package/es/cell-group/{index.js → index.mjs} +0 -0
  70. package/es/cell-group/style/{index.js → index.mjs} +0 -0
  71. package/es/cell-group/style/{less.js → less.mjs} +0 -0
  72. package/es/checkbox/{Checkbox.js → Checkbox.mjs} +0 -0
  73. package/es/checkbox/{Checker.js → Checker.mjs} +0 -0
  74. package/es/checkbox/{index.js → index.mjs} +0 -0
  75. package/es/checkbox/style/{index.js → index.mjs} +0 -0
  76. package/es/checkbox/style/{less.js → less.mjs} +0 -0
  77. package/es/checkbox/{types.js → types.mjs} +0 -0
  78. package/es/checkbox-group/{CheckboxGroup.js → CheckboxGroup.mjs} +0 -0
  79. package/es/checkbox-group/{index.js → index.mjs} +0 -0
  80. package/es/checkbox-group/style/{index.js → index.mjs} +0 -0
  81. package/es/checkbox-group/style/{less.js → less.mjs} +0 -0
  82. package/es/checkbox-group/{types.js → types.mjs} +0 -0
  83. package/es/circle/{Circle.js → Circle.mjs} +0 -0
  84. package/es/circle/{index.js → index.mjs} +0 -0
  85. package/es/circle/style/{index.js → index.mjs} +0 -0
  86. package/es/circle/style/{less.js → less.mjs} +0 -0
  87. package/es/col/{Col.js → Col.mjs} +0 -0
  88. package/es/col/{index.js → index.mjs} +0 -0
  89. package/es/col/style/{index.js → index.mjs} +0 -0
  90. package/es/col/style/{less.js → less.mjs} +0 -0
  91. package/es/collapse/{Collapse.js → Collapse.mjs} +0 -0
  92. package/es/collapse/{index.js → index.mjs} +0 -0
  93. package/es/collapse/style/{index.js → index.mjs} +0 -0
  94. package/es/collapse/style/{less.js → less.mjs} +0 -0
  95. package/es/collapse-item/{CollapseItem.js → CollapseItem.mjs} +0 -0
  96. package/es/collapse-item/{index.js → index.mjs} +0 -0
  97. package/es/collapse-item/style/{index.js → index.mjs} +0 -0
  98. package/es/collapse-item/style/{less.js → less.mjs} +0 -0
  99. package/es/collapse-item/{types.js → types.mjs} +0 -0
  100. package/es/composables/{on-popup-reopen.js → on-popup-reopen.mjs} +0 -0
  101. package/es/composables/{use-expose.js → use-expose.mjs} +0 -0
  102. package/es/composables/{use-height.js → use-height.mjs} +0 -0
  103. package/es/composables/{use-id.js → use-id.mjs} +0 -0
  104. package/es/composables/{use-lazy-render.js → use-lazy-render.mjs} +0 -0
  105. package/es/composables/{use-lock-scroll.js → use-lock-scroll.mjs} +0 -0
  106. package/es/composables/{use-placeholder.js → use-placeholder.mjs} +0 -0
  107. package/es/composables/{use-refs.js → use-refs.mjs} +0 -0
  108. package/es/composables/{use-route.js → use-route.mjs} +0 -0
  109. package/es/composables/{use-tab-status.js → use-tab-status.mjs} +0 -0
  110. package/es/composables/{use-touch.js → use-touch.mjs} +0 -0
  111. package/es/composables/{use-visibility-change.js → use-visibility-change.mjs} +0 -0
  112. package/es/config-provider/{ConfigProvider.js → ConfigProvider.mjs} +0 -0
  113. package/es/config-provider/{index.js → index.mjs} +0 -0
  114. package/es/config-provider/style/{index.js → index.mjs} +0 -0
  115. package/es/config-provider/style/{less.js → less.mjs} +0 -0
  116. package/es/contact-card/{ContactCard.js → ContactCard.mjs} +0 -0
  117. package/es/contact-card/{index.js → index.mjs} +0 -0
  118. package/es/contact-card/style/{index.js → index.mjs} +0 -0
  119. package/es/contact-card/style/{less.js → less.mjs} +0 -0
  120. package/es/contact-edit/{ContactEdit.js → ContactEdit.mjs} +0 -0
  121. package/es/contact-edit/{index.js → index.mjs} +0 -0
  122. package/es/contact-edit/style/{index.js → index.mjs} +0 -0
  123. package/es/contact-edit/style/{less.js → less.mjs} +0 -0
  124. package/es/contact-list/{ContactList.js → ContactList.mjs} +0 -0
  125. package/es/contact-list/{index.js → index.mjs} +0 -0
  126. package/es/contact-list/style/{index.js → index.mjs} +0 -0
  127. package/es/contact-list/style/{less.js → less.mjs} +0 -0
  128. package/es/count-down/{CountDown.js → CountDown.mjs} +0 -0
  129. package/es/count-down/{index.js → index.mjs} +0 -0
  130. package/es/count-down/style/{index.js → index.mjs} +0 -0
  131. package/es/count-down/style/{less.js → less.mjs} +0 -0
  132. package/es/count-down/{types.js → types.mjs} +0 -0
  133. package/es/count-down/{utils.js → utils.mjs} +0 -0
  134. package/es/coupon/{Coupon.js → Coupon.mjs} +0 -0
  135. package/es/coupon/{index.js → index.mjs} +0 -0
  136. package/es/coupon/style/{index.js → index.mjs} +0 -0
  137. package/es/coupon/style/{less.js → less.mjs} +0 -0
  138. package/es/coupon/{utils.js → utils.mjs} +0 -0
  139. package/es/coupon-cell/{CouponCell.js → CouponCell.mjs} +0 -0
  140. package/es/coupon-cell/{index.js → index.mjs} +0 -0
  141. package/es/coupon-cell/style/{index.js → index.mjs} +0 -0
  142. package/es/coupon-cell/style/{less.js → less.mjs} +0 -0
  143. package/es/coupon-list/{CouponList.js → CouponList.mjs} +0 -0
  144. package/es/coupon-list/{index.js → index.mjs} +0 -0
  145. package/es/coupon-list/style/{index.js → index.mjs} +0 -0
  146. package/es/coupon-list/style/{less.js → less.mjs} +0 -0
  147. package/es/datetime-picker/{DatePicker.js → DatePicker.mjs} +1 -0
  148. package/es/datetime-picker/{DatetimePicker.js → DatetimePicker.mjs} +0 -0
  149. package/es/datetime-picker/{TimePicker.js → TimePicker.mjs} +0 -0
  150. package/es/datetime-picker/{index.js → index.mjs} +0 -0
  151. package/es/datetime-picker/style/{index.js → index.mjs} +0 -0
  152. package/es/datetime-picker/style/{less.js → less.mjs} +0 -0
  153. package/es/datetime-picker/{types.js → types.mjs} +0 -0
  154. package/es/datetime-picker/{utils.js → utils.mjs} +0 -0
  155. package/es/dialog/{Dialog.js → Dialog.mjs} +0 -0
  156. package/es/dialog/{function-call.js → function-call.mjs} +0 -0
  157. package/es/dialog/index.css +1 -1
  158. package/es/dialog/{index.js → index.mjs} +0 -0
  159. package/es/dialog/style/{index.js → index.mjs} +0 -0
  160. package/es/dialog/style/{less.js → less.mjs} +0 -0
  161. package/es/dialog/{types.js → types.mjs} +0 -0
  162. package/es/divider/{Divider.js → Divider.mjs} +0 -0
  163. package/es/divider/{index.js → index.mjs} +0 -0
  164. package/es/divider/style/{index.js → index.mjs} +0 -0
  165. package/es/divider/style/{less.js → less.mjs} +0 -0
  166. package/es/dropdown-item/{DropdownItem.js → DropdownItem.mjs} +0 -0
  167. package/es/dropdown-item/{index.js → index.mjs} +0 -0
  168. package/es/dropdown-item/style/{index.js → index.mjs} +0 -0
  169. package/es/dropdown-item/style/{less.js → less.mjs} +0 -0
  170. package/es/dropdown-item/{types.js → types.mjs} +0 -0
  171. package/es/dropdown-menu/{DropdownMenu.js → DropdownMenu.mjs} +0 -0
  172. package/es/dropdown-menu/{index.js → index.mjs} +0 -0
  173. package/es/dropdown-menu/style/{index.js → index.mjs} +0 -0
  174. package/es/dropdown-menu/style/{less.js → less.mjs} +0 -0
  175. package/es/dropdown-menu/{types.js → types.mjs} +0 -0
  176. package/es/empty/Empty.d.ts +8 -7
  177. package/es/empty/{Empty.js → Empty.mjs} +12 -15
  178. package/es/empty/Images.d.ts +4 -0
  179. package/es/empty/Images.mjs +271 -0
  180. package/es/empty/index.d.ts +2 -2
  181. package/es/empty/{index.js → index.mjs} +0 -0
  182. package/es/empty/style/{index.js → index.mjs} +0 -0
  183. package/es/empty/style/{less.js → less.mjs} +0 -0
  184. package/es/field/Field.d.ts +4 -0
  185. package/es/field/{Field.js → Field.mjs} +21 -16
  186. package/es/field/index.d.ts +3 -1
  187. package/es/field/{index.js → index.mjs} +0 -0
  188. package/es/field/style/{index.js → index.mjs} +0 -0
  189. package/es/field/style/{less.js → less.mjs} +0 -0
  190. package/es/field/types.d.ts +3 -1
  191. package/es/field/{types.js → types.mjs} +0 -0
  192. package/es/field/{utils.js → utils.mjs} +0 -0
  193. package/es/form/Form.d.ts +13 -13
  194. package/es/form/{Form.js → Form.mjs} +13 -4
  195. package/es/form/index.d.ts +9 -9
  196. package/es/form/{index.js → index.mjs} +0 -0
  197. package/es/form/style/{index.js → index.mjs} +0 -0
  198. package/es/form/style/{less.js → less.mjs} +0 -0
  199. package/es/form/types.d.ts +3 -0
  200. package/es/form/{types.js → types.mjs} +0 -0
  201. package/es/grid/{Grid.js → Grid.mjs} +0 -0
  202. package/es/grid/{index.js → index.mjs} +0 -0
  203. package/es/grid/style/{index.js → index.mjs} +0 -0
  204. package/es/grid/style/{less.js → less.mjs} +0 -0
  205. package/es/grid-item/{GridItem.js → GridItem.mjs} +0 -0
  206. package/es/grid-item/{index.js → index.mjs} +0 -0
  207. package/es/grid-item/style/{index.js → index.mjs} +0 -0
  208. package/es/grid-item/style/{less.js → less.mjs} +0 -0
  209. package/es/icon/{Icon.js → Icon.mjs} +0 -0
  210. package/es/icon/index.css +1 -1
  211. package/es/icon/{index.js → index.mjs} +0 -0
  212. package/es/icon/style/{index.js → index.mjs} +0 -0
  213. package/es/icon/style/{less.js → less.mjs} +0 -0
  214. package/es/image/{Image.js → Image.mjs} +0 -0
  215. package/es/image/{index.js → index.mjs} +0 -0
  216. package/es/image/style/{index.js → index.mjs} +0 -0
  217. package/es/image/style/{less.js → less.mjs} +0 -0
  218. package/es/image-preview/{ImagePreview.js → ImagePreview.mjs} +0 -0
  219. package/es/image-preview/{ImagePreviewItem.js → ImagePreviewItem.mjs} +0 -0
  220. package/es/image-preview/{function-call.js → function-call.mjs} +0 -0
  221. package/es/image-preview/{index.js → index.mjs} +0 -0
  222. package/es/image-preview/style/{index.js → index.mjs} +0 -0
  223. package/es/image-preview/style/{less.js → less.mjs} +0 -0
  224. package/es/image-preview/{types.js → types.mjs} +0 -0
  225. package/es/index-anchor/{IndexAnchor.js → IndexAnchor.mjs} +0 -0
  226. package/es/index-anchor/{index.js → index.mjs} +0 -0
  227. package/es/index-anchor/style/{index.js → index.mjs} +0 -0
  228. package/es/index-anchor/style/{less.js → less.mjs} +0 -0
  229. package/es/index-bar/{IndexBar.js → IndexBar.mjs} +0 -0
  230. package/es/index-bar/{index.js → index.mjs} +0 -0
  231. package/es/index-bar/style/{index.js → index.mjs} +0 -0
  232. package/es/index-bar/style/{less.js → less.mjs} +0 -0
  233. package/es/index-bar/{types.js → types.mjs} +0 -0
  234. package/es/index.d.ts +1 -1
  235. package/es/{index.js → index.mjs} +1 -1
  236. package/es/lazyload/{index.js → index.mjs} +0 -0
  237. package/es/lazyload/style/{index.js → index.mjs} +0 -0
  238. package/es/lazyload/style/{less.js → less.mjs} +0 -0
  239. package/es/lazyload/vue-lazyload/{index.js → index.mjs} +0 -0
  240. package/es/lazyload/vue-lazyload/{lazy-component.js → lazy-component.mjs} +0 -0
  241. package/es/lazyload/vue-lazyload/{lazy-container.js → lazy-container.mjs} +0 -0
  242. package/es/lazyload/vue-lazyload/{lazy-image.js → lazy-image.mjs} +0 -0
  243. package/es/lazyload/vue-lazyload/{lazy.js → lazy.mjs} +0 -0
  244. package/es/lazyload/vue-lazyload/{listener.js → listener.mjs} +0 -0
  245. package/es/lazyload/vue-lazyload/{util.js → util.mjs} +0 -0
  246. package/es/list/{List.js → List.mjs} +0 -0
  247. package/es/list/{index.js → index.mjs} +0 -0
  248. package/es/list/style/{index.js → index.mjs} +0 -0
  249. package/es/list/style/{less.js → less.mjs} +0 -0
  250. package/es/list/{types.js → types.mjs} +0 -0
  251. package/es/loading/{Loading.js → Loading.mjs} +3 -1
  252. package/es/loading/{index.js → index.mjs} +0 -0
  253. package/es/loading/style/{index.js → index.mjs} +0 -0
  254. package/es/loading/style/{less.js → less.mjs} +0 -0
  255. package/es/locale/{index.js → index.mjs} +0 -0
  256. package/es/locale/lang/bg-BG.d.ts +64 -0
  257. package/es/locale/lang/bg-BG.mjs +74 -0
  258. package/es/locale/lang/{bn-BD.js → bn-BD.mjs} +0 -0
  259. package/es/locale/lang/da-DK.d.ts +64 -0
  260. package/es/locale/lang/da-DK.mjs +66 -0
  261. package/es/locale/lang/{de-DE-formal.js → de-DE-formal.mjs} +0 -0
  262. package/es/locale/lang/{de-DE.js → de-DE.mjs} +0 -0
  263. package/es/locale/lang/el-GR.d.ts +64 -0
  264. package/es/locale/lang/el-GR.mjs +74 -0
  265. package/es/locale/lang/{en-US.js → en-US.mjs} +0 -0
  266. package/es/locale/lang/{es-ES.js → es-ES.mjs} +0 -0
  267. package/es/locale/lang/fa-IR.d.ts +64 -0
  268. package/es/locale/lang/fa-IR.mjs +66 -0
  269. package/es/locale/lang/{fr-FR.js → fr-FR.mjs} +0 -0
  270. package/es/locale/lang/he-IL.d.ts +64 -0
  271. package/es/locale/lang/he-IL.mjs +66 -0
  272. package/es/locale/lang/{hi-IN.js → hi-IN.mjs} +0 -0
  273. package/es/locale/lang/{id-ID.js → id-ID.mjs} +0 -0
  274. package/es/locale/lang/{is-IS.js → is-IS.mjs} +0 -0
  275. package/es/locale/lang/{it-IT.js → it-IT.mjs} +0 -0
  276. package/es/locale/lang/{ja-JP.js → ja-JP.mjs} +0 -0
  277. package/es/locale/lang/{ko-KR.js → ko-KR.mjs} +0 -0
  278. package/es/locale/lang/{la-LA.js → la-LA.mjs} +0 -0
  279. package/es/locale/lang/{nb-NO.js → nb-NO.mjs} +0 -0
  280. package/es/locale/lang/{pt-BR.js → pt-BR.mjs} +0 -0
  281. package/es/locale/lang/{ro-RO.js → ro-RO.mjs} +0 -0
  282. package/es/locale/lang/{ru-RU.js → ru-RU.mjs} +0 -0
  283. package/es/locale/lang/{sv-SE.js → sv-SE.mjs} +0 -0
  284. package/es/locale/lang/{th-TH.js → th-TH.mjs} +0 -0
  285. package/es/locale/lang/{tr-TR.js → tr-TR.mjs} +0 -0
  286. package/es/locale/lang/{uk-UA.js → uk-UA.mjs} +0 -0
  287. package/es/locale/lang/{vi-VN.js → vi-VN.mjs} +0 -0
  288. package/es/locale/lang/{zh-CN.js → zh-CN.mjs} +0 -0
  289. package/es/locale/lang/{zh-HK.js → zh-HK.mjs} +0 -0
  290. package/es/locale/lang/{zh-TW.js → zh-TW.mjs} +0 -0
  291. package/es/locale/style/{index.js → index.mjs} +0 -0
  292. package/es/locale/style/{less.js → less.mjs} +0 -0
  293. package/es/nav-bar/{NavBar.js → NavBar.mjs} +0 -0
  294. package/es/nav-bar/{index.js → index.mjs} +0 -0
  295. package/es/nav-bar/style/{index.js → index.mjs} +0 -0
  296. package/es/nav-bar/style/{less.js → less.mjs} +0 -0
  297. package/es/notice-bar/{NoticeBar.js → NoticeBar.mjs} +0 -0
  298. package/es/notice-bar/{index.js → index.mjs} +0 -0
  299. package/es/notice-bar/style/{index.js → index.mjs} +0 -0
  300. package/es/notice-bar/style/{less.js → less.mjs} +0 -0
  301. package/es/notice-bar/{types.js → types.mjs} +0 -0
  302. package/es/notify/{Notify.js → Notify.mjs} +0 -0
  303. package/es/notify/{function-call.js → function-call.mjs} +0 -0
  304. package/es/notify/{index.js → index.mjs} +0 -0
  305. package/es/notify/style/{index.js → index.mjs} +0 -0
  306. package/es/notify/style/{less.js → less.mjs} +0 -0
  307. package/es/notify/{types.js → types.mjs} +0 -0
  308. package/es/number-keyboard/{NumberKeyboard.js → NumberKeyboard.mjs} +0 -0
  309. package/es/number-keyboard/{NumberKeyboardKey.js → NumberKeyboardKey.mjs} +0 -0
  310. package/es/number-keyboard/{index.js → index.mjs} +0 -0
  311. package/es/number-keyboard/style/{index.js → index.mjs} +0 -0
  312. package/es/number-keyboard/style/{less.js → less.mjs} +0 -0
  313. package/es/overlay/{Overlay.js → Overlay.mjs} +0 -0
  314. package/es/overlay/{index.js → index.mjs} +0 -0
  315. package/es/overlay/style/{index.js → index.mjs} +0 -0
  316. package/es/overlay/style/{less.js → less.mjs} +0 -0
  317. package/es/pagination/{Pagination.js → Pagination.mjs} +0 -0
  318. package/es/pagination/{index.js → index.mjs} +0 -0
  319. package/es/pagination/style/{index.js → index.mjs} +0 -0
  320. package/es/pagination/style/{less.js → less.mjs} +0 -0
  321. package/es/password-input/{PasswordInput.js → PasswordInput.mjs} +0 -0
  322. package/es/password-input/{index.js → index.mjs} +0 -0
  323. package/es/password-input/style/{index.js → index.mjs} +0 -0
  324. package/es/password-input/style/{less.js → less.mjs} +0 -0
  325. package/es/picker/{Picker.js → Picker.mjs} +25 -24
  326. package/es/picker/{PickerColumn.js → PickerColumn.mjs} +0 -0
  327. package/es/picker/{index.js → index.mjs} +0 -0
  328. package/es/picker/style/{index.js → index.mjs} +0 -0
  329. package/es/picker/style/{less.js → less.mjs} +0 -0
  330. package/es/picker/{types.js → types.mjs} +0 -0
  331. package/es/popover/{Popover.js → Popover.mjs} +0 -0
  332. package/es/popover/{index.js → index.mjs} +0 -0
  333. package/es/popover/style/{index.js → index.mjs} +0 -0
  334. package/es/popover/style/{less.js → less.mjs} +0 -0
  335. package/es/popover/{types.js → types.mjs} +0 -0
  336. package/es/popup/{Popup.js → Popup.mjs} +0 -0
  337. package/es/popup/index.css +1 -1
  338. package/es/popup/{index.js → index.mjs} +0 -0
  339. package/es/popup/{shared.js → shared.mjs} +0 -0
  340. package/es/popup/style/{index.js → index.mjs} +0 -0
  341. package/es/popup/style/{less.js → less.mjs} +0 -0
  342. package/es/popup/{types.js → types.mjs} +0 -0
  343. package/es/progress/{Progress.js → Progress.mjs} +0 -0
  344. package/es/progress/{index.js → index.mjs} +0 -0
  345. package/es/progress/style/{index.js → index.mjs} +0 -0
  346. package/es/progress/style/{less.js → less.mjs} +0 -0
  347. package/es/progress/{types.js → types.mjs} +0 -0
  348. package/es/pull-refresh/{PullRefresh.js → PullRefresh.mjs} +0 -0
  349. package/es/pull-refresh/{index.js → index.mjs} +0 -0
  350. package/es/pull-refresh/style/{index.js → index.mjs} +0 -0
  351. package/es/pull-refresh/style/{less.js → less.mjs} +0 -0
  352. package/es/radio/{Radio.js → Radio.mjs} +0 -0
  353. package/es/radio/{index.js → index.mjs} +0 -0
  354. package/es/radio/style/{index.js → index.mjs} +0 -0
  355. package/es/radio/style/{less.js → less.mjs} +0 -0
  356. package/es/radio-group/{RadioGroup.js → RadioGroup.mjs} +0 -0
  357. package/es/radio-group/{index.js → index.mjs} +0 -0
  358. package/es/radio-group/style/{index.js → index.mjs} +0 -0
  359. package/es/radio-group/style/{less.js → less.mjs} +0 -0
  360. package/es/rate/{Rate.js → Rate.mjs} +32 -10
  361. package/es/rate/{index.js → index.mjs} +0 -0
  362. package/es/rate/style/{index.js → index.mjs} +0 -0
  363. package/es/rate/style/{less.js → less.mjs} +0 -0
  364. package/es/row/{Row.js → Row.mjs} +0 -0
  365. package/es/row/{index.js → index.mjs} +0 -0
  366. package/es/row/style/{index.js → index.mjs} +0 -0
  367. package/es/row/style/{less.js → less.mjs} +0 -0
  368. package/es/search/Search.d.ts +3 -0
  369. package/es/search/{Search.js → Search.mjs} +0 -0
  370. package/es/search/index.d.ts +2 -0
  371. package/es/search/{index.js → index.mjs} +0 -0
  372. package/es/search/style/{index.js → index.mjs} +0 -0
  373. package/es/search/style/{less.js → less.mjs} +0 -0
  374. package/es/search/{types.js → types.mjs} +0 -0
  375. package/es/share-sheet/{ShareSheet.js → ShareSheet.mjs} +25 -11
  376. package/es/share-sheet/index.css +1 -1
  377. package/es/share-sheet/index.less +45 -1
  378. package/es/share-sheet/{index.js → index.mjs} +0 -0
  379. package/es/share-sheet/style/{index.js → index.mjs} +0 -0
  380. package/es/share-sheet/style/{less.js → less.mjs} +0 -0
  381. package/es/sidebar/{Sidebar.js → Sidebar.mjs} +0 -0
  382. package/es/sidebar/{index.js → index.mjs} +0 -0
  383. package/es/sidebar/style/{index.js → index.mjs} +0 -0
  384. package/es/sidebar/style/{less.js → less.mjs} +0 -0
  385. package/es/sidebar-item/{SidebarItem.js → SidebarItem.mjs} +0 -0
  386. package/es/sidebar-item/{index.js → index.mjs} +0 -0
  387. package/es/sidebar-item/style/{index.js → index.mjs} +0 -0
  388. package/es/sidebar-item/style/{less.js → less.mjs} +0 -0
  389. package/es/skeleton/{Skeleton.js → Skeleton.mjs} +0 -0
  390. package/es/skeleton/{index.js → index.mjs} +0 -0
  391. package/es/skeleton/style/{index.js → index.mjs} +0 -0
  392. package/es/skeleton/style/{less.js → less.mjs} +0 -0
  393. package/es/slider/{Slider.js → Slider.mjs} +0 -0
  394. package/es/slider/index.css +1 -1
  395. package/es/slider/{index.js → index.mjs} +0 -0
  396. package/es/slider/style/{index.js → index.mjs} +0 -0
  397. package/es/slider/style/{less.js → less.mjs} +0 -0
  398. package/es/step/{Step.js → Step.mjs} +0 -0
  399. package/es/step/{index.js → index.mjs} +0 -0
  400. package/es/step/style/{index.js → index.mjs} +0 -0
  401. package/es/step/style/{less.js → less.mjs} +0 -0
  402. package/es/stepper/{Stepper.js → Stepper.mjs} +0 -0
  403. package/es/stepper/{index.js → index.mjs} +0 -0
  404. package/es/stepper/style/{index.js → index.mjs} +0 -0
  405. package/es/stepper/style/{less.js → less.mjs} +0 -0
  406. package/es/steps/{Steps.js → Steps.mjs} +0 -0
  407. package/es/steps/{index.js → index.mjs} +0 -0
  408. package/es/steps/style/{index.js → index.mjs} +0 -0
  409. package/es/steps/style/{less.js → less.mjs} +0 -0
  410. package/es/sticky/{Sticky.js → Sticky.mjs} +0 -0
  411. package/es/sticky/{index.js → index.mjs} +0 -0
  412. package/es/sticky/style/{index.js → index.mjs} +0 -0
  413. package/es/sticky/style/{less.js → less.mjs} +0 -0
  414. package/es/style/animation.css +1 -1
  415. package/es/style/base.css +1 -1
  416. package/es/submit-bar/{SubmitBar.js → SubmitBar.mjs} +0 -0
  417. package/es/submit-bar/{index.js → index.mjs} +0 -0
  418. package/es/submit-bar/style/{index.js → index.mjs} +0 -0
  419. package/es/submit-bar/style/{less.js → less.mjs} +0 -0
  420. package/es/swipe/{Swipe.js → Swipe.mjs} +0 -0
  421. package/es/swipe/{index.js → index.mjs} +0 -0
  422. package/es/swipe/style/{index.js → index.mjs} +0 -0
  423. package/es/swipe/style/{less.js → less.mjs} +0 -0
  424. package/es/swipe/{types.js → types.mjs} +0 -0
  425. package/es/swipe-cell/{SwipeCell.js → SwipeCell.mjs} +0 -0
  426. package/es/swipe-cell/index.css +1 -1
  427. package/es/swipe-cell/{index.js → index.mjs} +0 -0
  428. package/es/swipe-cell/style/{index.js → index.mjs} +0 -0
  429. package/es/swipe-cell/style/{less.js → less.mjs} +0 -0
  430. package/es/swipe-cell/{types.js → types.mjs} +0 -0
  431. package/es/swipe-item/{SwipeItem.js → SwipeItem.mjs} +0 -0
  432. package/es/swipe-item/{index.js → index.mjs} +0 -0
  433. package/es/swipe-item/style/{index.js → index.mjs} +0 -0
  434. package/es/swipe-item/style/{less.js → less.mjs} +0 -0
  435. package/es/switch/{Switch.js → Switch.mjs} +5 -1
  436. package/es/switch/{index.js → index.mjs} +0 -0
  437. package/es/switch/style/{index.js → index.mjs} +0 -0
  438. package/es/switch/style/{less.js → less.mjs} +0 -0
  439. package/es/tab/{Tab.js → Tab.mjs} +0 -0
  440. package/es/tab/{index.js → index.mjs} +0 -0
  441. package/es/tab/style/{index.js → index.mjs} +0 -0
  442. package/es/tab/style/{less.js → less.mjs} +0 -0
  443. package/es/tabbar/{Tabbar.js → Tabbar.mjs} +0 -0
  444. package/es/tabbar/{index.js → index.mjs} +0 -0
  445. package/es/tabbar/style/{index.js → index.mjs} +0 -0
  446. package/es/tabbar/style/{less.js → less.mjs} +0 -0
  447. package/es/tabbar-item/{TabbarItem.js → TabbarItem.mjs} +0 -0
  448. package/es/tabbar-item/{index.js → index.mjs} +0 -0
  449. package/es/tabbar-item/style/{index.js → index.mjs} +0 -0
  450. package/es/tabbar-item/style/{less.js → less.mjs} +0 -0
  451. package/es/tabs/{Tabs.js → Tabs.mjs} +0 -0
  452. package/es/tabs/{TabsContent.js → TabsContent.mjs} +0 -0
  453. package/es/tabs/{TabsTitle.js → TabsTitle.mjs} +0 -0
  454. package/es/tabs/{index.js → index.mjs} +0 -0
  455. package/es/tabs/style/{index.js → index.mjs} +0 -0
  456. package/es/tabs/style/{less.js → less.mjs} +0 -0
  457. package/es/tabs/{types.js → types.mjs} +0 -0
  458. package/es/tabs/{utils.js → utils.mjs} +0 -0
  459. package/es/tag/{Tag.js → Tag.mjs} +0 -0
  460. package/es/tag/{index.js → index.mjs} +0 -0
  461. package/es/tag/style/{index.js → index.mjs} +0 -0
  462. package/es/tag/style/{less.js → less.mjs} +0 -0
  463. package/es/toast/{Toast.js → Toast.mjs} +0 -0
  464. package/es/toast/{function-call.js → function-call.mjs} +0 -0
  465. package/es/toast/{index.js → index.mjs} +0 -0
  466. package/es/toast/{lock-click.js → lock-click.mjs} +0 -0
  467. package/es/toast/style/{index.js → index.mjs} +0 -0
  468. package/es/toast/style/{less.js → less.mjs} +0 -0
  469. package/es/toast/{types.js → types.mjs} +0 -0
  470. package/es/tree-select/{TreeSelect.js → TreeSelect.mjs} +0 -0
  471. package/es/tree-select/{index.js → index.mjs} +0 -0
  472. package/es/tree-select/style/{index.js → index.mjs} +0 -0
  473. package/es/tree-select/style/{less.js → less.mjs} +0 -0
  474. package/es/uploader/{Uploader.js → Uploader.mjs} +3 -5
  475. package/es/uploader/{UploaderPreviewItem.js → UploaderPreviewItem.mjs} +5 -2
  476. package/es/uploader/index.css +1 -1
  477. package/es/uploader/index.less +7 -4
  478. package/es/uploader/{index.js → index.mjs} +0 -0
  479. package/es/uploader/style/{index.js → index.mjs} +0 -0
  480. package/es/uploader/style/{less.js → less.mjs} +0 -0
  481. package/es/uploader/{types.js → types.mjs} +0 -0
  482. package/es/uploader/utils.d.ts +0 -1
  483. package/es/uploader/{utils.js → utils.mjs} +2 -4
  484. package/es/utils/basic.d.ts +1 -0
  485. package/es/utils/{basic.js → basic.mjs} +3 -1
  486. package/es/utils/{constant.js → constant.mjs} +0 -0
  487. package/es/utils/{create.js → create.mjs} +0 -0
  488. package/es/utils/{deep-assign.js → deep-assign.mjs} +0 -0
  489. package/es/utils/{deep-clone.js → deep-clone.mjs} +0 -0
  490. package/es/utils/{dom.js → dom.mjs} +0 -0
  491. package/es/utils/{format.js → format.mjs} +0 -0
  492. package/es/utils/{index.js → index.mjs} +0 -0
  493. package/es/utils/{interceptor.js → interceptor.mjs} +0 -0
  494. package/es/utils/{mount-component.js → mount-component.mjs} +0 -0
  495. package/es/utils/{props.js → props.mjs} +0 -0
  496. package/es/utils/{validate.js → validate.mjs} +0 -0
  497. package/es/utils/{with-install.js → with-install.mjs} +0 -0
  498. package/lib/action-bar/ActionBar.js +8 -13
  499. package/lib/action-bar/index.js +9 -16
  500. package/lib/action-bar-button/ActionBarButton.js +8 -13
  501. package/lib/action-bar-button/index.js +9 -16
  502. package/lib/action-bar-icon/ActionBarIcon.js +8 -13
  503. package/lib/action-bar-icon/index.js +9 -16
  504. package/lib/action-sheet/ActionSheet.js +8 -13
  505. package/lib/action-sheet/index.js +9 -16
  506. package/lib/address-edit/AddressEdit.js +9 -16
  507. package/lib/address-edit/AddressEditDetail.js +8 -13
  508. package/lib/address-edit/index.js +9 -16
  509. package/lib/address-edit/types.js +7 -12
  510. package/lib/address-list/AddressList.js +9 -16
  511. package/lib/address-list/AddressListItem.js +8 -13
  512. package/lib/address-list/index.js +9 -16
  513. package/lib/area/Area.js +8 -13
  514. package/lib/area/index.js +9 -16
  515. package/lib/area/types.js +7 -12
  516. package/lib/badge/Badge.js +8 -13
  517. package/lib/badge/index.js +9 -16
  518. package/lib/button/Button.js +8 -13
  519. package/lib/button/index.js +9 -16
  520. package/lib/button/types.js +7 -12
  521. package/lib/calendar/Calendar.js +9 -16
  522. package/lib/calendar/CalendarDay.js +12 -13
  523. package/lib/calendar/CalendarHeader.js +8 -13
  524. package/lib/calendar/CalendarMonth.js +9 -16
  525. package/lib/calendar/index.css +1 -1
  526. package/lib/calendar/index.js +9 -16
  527. package/lib/calendar/index.less +2 -0
  528. package/lib/calendar/types.js +7 -12
  529. package/lib/calendar/utils.js +8 -13
  530. package/lib/calendar/var.less +1 -0
  531. package/lib/card/Card.js +8 -13
  532. package/lib/card/index.js +9 -16
  533. package/lib/cascader/Cascader.js +8 -13
  534. package/lib/cascader/index.js +9 -16
  535. package/lib/cascader/types.js +7 -12
  536. package/lib/cell/Cell.js +8 -13
  537. package/lib/cell/index.js +9 -16
  538. package/lib/cell-group/CellGroup.js +8 -13
  539. package/lib/cell-group/index.js +9 -16
  540. package/lib/checkbox/Checkbox.js +9 -16
  541. package/lib/checkbox/Checker.js +8 -13
  542. package/lib/checkbox/index.js +9 -16
  543. package/lib/checkbox/types.js +7 -12
  544. package/lib/checkbox-group/CheckboxGroup.js +8 -13
  545. package/lib/checkbox-group/index.js +9 -16
  546. package/lib/checkbox-group/types.js +7 -12
  547. package/lib/circle/Circle.js +8 -13
  548. package/lib/circle/index.js +9 -16
  549. package/lib/col/Col.js +8 -13
  550. package/lib/col/index.js +9 -16
  551. package/lib/collapse/Collapse.js +8 -13
  552. package/lib/collapse/index.js +9 -16
  553. package/lib/collapse-item/CollapseItem.js +8 -13
  554. package/lib/collapse-item/index.js +9 -16
  555. package/lib/collapse-item/types.js +7 -12
  556. package/lib/composables/on-popup-reopen.js +8 -13
  557. package/lib/composables/use-expose.js +8 -13
  558. package/lib/composables/use-height.js +8 -13
  559. package/lib/composables/use-id.js +8 -13
  560. package/lib/composables/use-lazy-render.js +8 -13
  561. package/lib/composables/use-lock-scroll.js +8 -13
  562. package/lib/composables/use-placeholder.js +8 -13
  563. package/lib/composables/use-refs.js +8 -13
  564. package/lib/composables/use-route.js +8 -13
  565. package/lib/composables/use-tab-status.js +8 -13
  566. package/lib/composables/use-touch.js +8 -13
  567. package/lib/composables/use-visibility-change.js +8 -13
  568. package/lib/config-provider/ConfigProvider.js +8 -13
  569. package/lib/config-provider/index.js +9 -16
  570. package/lib/contact-card/ContactCard.js +8 -13
  571. package/lib/contact-card/index.js +9 -16
  572. package/lib/contact-edit/ContactEdit.js +8 -13
  573. package/lib/contact-edit/index.js +9 -16
  574. package/lib/contact-list/ContactList.js +8 -13
  575. package/lib/contact-list/index.js +9 -16
  576. package/lib/count-down/CountDown.js +8 -13
  577. package/lib/count-down/index.js +9 -16
  578. package/lib/count-down/types.js +7 -12
  579. package/lib/count-down/utils.js +8 -13
  580. package/lib/coupon/Coupon.js +8 -13
  581. package/lib/coupon/index.js +9 -16
  582. package/lib/coupon/utils.js +8 -13
  583. package/lib/coupon-cell/CouponCell.js +8 -13
  584. package/lib/coupon-cell/index.js +9 -16
  585. package/lib/coupon-list/CouponList.js +8 -13
  586. package/lib/coupon-list/index.js +9 -16
  587. package/lib/datetime-picker/DatePicker.js +9 -13
  588. package/lib/datetime-picker/DatetimePicker.js +9 -16
  589. package/lib/datetime-picker/TimePicker.js +8 -13
  590. package/lib/datetime-picker/index.js +9 -16
  591. package/lib/datetime-picker/types.js +7 -12
  592. package/lib/datetime-picker/utils.js +8 -13
  593. package/lib/dialog/Dialog.js +8 -13
  594. package/lib/dialog/function-call.js +9 -16
  595. package/lib/dialog/index.css +1 -1
  596. package/lib/dialog/index.js +8 -13
  597. package/lib/dialog/types.js +7 -12
  598. package/lib/divider/Divider.js +8 -13
  599. package/lib/divider/index.js +9 -16
  600. package/lib/dropdown-item/DropdownItem.js +8 -13
  601. package/lib/dropdown-item/index.js +9 -16
  602. package/lib/dropdown-item/types.js +7 -12
  603. package/lib/dropdown-menu/DropdownMenu.js +8 -13
  604. package/lib/dropdown-menu/index.js +9 -16
  605. package/lib/dropdown-menu/types.js +7 -12
  606. package/lib/empty/Empty.d.ts +8 -7
  607. package/lib/empty/Empty.js +19 -27
  608. package/lib/empty/Images.d.ts +4 -0
  609. package/lib/empty/Images.js +290 -0
  610. package/lib/empty/index.d.ts +2 -2
  611. package/lib/empty/index.js +9 -16
  612. package/lib/field/Field.d.ts +4 -0
  613. package/lib/field/Field.js +28 -28
  614. package/lib/field/index.d.ts +3 -1
  615. package/lib/field/index.js +9 -16
  616. package/lib/field/types.d.ts +3 -1
  617. package/lib/field/types.js +7 -12
  618. package/lib/field/utils.js +8 -13
  619. package/lib/form/Form.d.ts +13 -13
  620. package/lib/form/Form.js +20 -16
  621. package/lib/form/index.d.ts +9 -9
  622. package/lib/form/index.js +9 -16
  623. package/lib/form/types.d.ts +3 -0
  624. package/lib/form/types.js +7 -12
  625. package/lib/grid/Grid.js +8 -13
  626. package/lib/grid/index.js +9 -16
  627. package/lib/grid-item/GridItem.js +8 -13
  628. package/lib/grid-item/index.js +9 -16
  629. package/lib/icon/Icon.js +8 -13
  630. package/lib/icon/index.css +1 -1
  631. package/lib/icon/index.js +9 -16
  632. package/lib/image/Image.js +8 -13
  633. package/lib/image/index.js +9 -16
  634. package/lib/image-preview/ImagePreview.js +9 -16
  635. package/lib/image-preview/ImagePreviewItem.js +8 -13
  636. package/lib/image-preview/function-call.js +9 -16
  637. package/lib/image-preview/index.js +8 -13
  638. package/lib/image-preview/types.js +7 -12
  639. package/lib/index-anchor/IndexAnchor.js +8 -13
  640. package/lib/index-anchor/index.js +9 -16
  641. package/lib/index-bar/IndexBar.js +8 -13
  642. package/lib/index-bar/index.js +9 -16
  643. package/lib/index-bar/types.js +7 -12
  644. package/lib/index.css +1 -1
  645. package/lib/index.d.ts +1 -1
  646. package/lib/index.js +96 -100
  647. package/lib/lazyload/index.js +8 -13
  648. package/lib/lazyload/vue-lazyload/index.js +9 -16
  649. package/lib/lazyload/vue-lazyload/lazy-component.js +8 -13
  650. package/lib/lazyload/vue-lazyload/lazy-container.js +8 -13
  651. package/lib/lazyload/vue-lazyload/lazy-image.js +8 -13
  652. package/lib/lazyload/vue-lazyload/lazy.js +9 -16
  653. package/lib/lazyload/vue-lazyload/listener.js +8 -13
  654. package/lib/lazyload/vue-lazyload/util.js +8 -13
  655. package/lib/list/List.js +8 -13
  656. package/lib/list/index.js +9 -16
  657. package/lib/list/types.js +7 -12
  658. package/lib/loading/Loading.js +11 -14
  659. package/lib/loading/index.js +9 -16
  660. package/lib/locale/index.js +9 -16
  661. package/lib/locale/lang/bg-BG.d.ts +64 -0
  662. package/lib/locale/lang/bg-BG.js +93 -0
  663. package/lib/locale/lang/bn-BD.js +8 -13
  664. package/lib/locale/lang/da-DK.d.ts +64 -0
  665. package/lib/locale/lang/da-DK.js +85 -0
  666. package/lib/locale/lang/de-DE-formal.js +8 -13
  667. package/lib/locale/lang/de-DE.js +8 -13
  668. package/lib/locale/lang/el-GR.d.ts +64 -0
  669. package/lib/locale/lang/el-GR.js +93 -0
  670. package/lib/locale/lang/en-US.js +8 -13
  671. package/lib/locale/lang/es-ES.js +8 -13
  672. package/lib/locale/lang/fa-IR.d.ts +64 -0
  673. package/lib/locale/lang/fa-IR.js +85 -0
  674. package/lib/locale/lang/fr-FR.js +8 -13
  675. package/lib/locale/lang/he-IL.d.ts +64 -0
  676. package/lib/locale/lang/he-IL.js +85 -0
  677. package/lib/locale/lang/hi-IN.js +8 -13
  678. package/lib/locale/lang/id-ID.js +8 -13
  679. package/lib/locale/lang/is-IS.js +8 -13
  680. package/lib/locale/lang/it-IT.js +8 -13
  681. package/lib/locale/lang/ja-JP.js +8 -13
  682. package/lib/locale/lang/ko-KR.js +8 -13
  683. package/lib/locale/lang/la-LA.js +8 -13
  684. package/lib/locale/lang/nb-NO.js +8 -13
  685. package/lib/locale/lang/pt-BR.js +8 -13
  686. package/lib/locale/lang/ro-RO.js +8 -13
  687. package/lib/locale/lang/ru-RU.js +8 -13
  688. package/lib/locale/lang/sv-SE.js +8 -13
  689. package/lib/locale/lang/th-TH.js +8 -13
  690. package/lib/locale/lang/tr-TR.js +8 -13
  691. package/lib/locale/lang/uk-UA.js +8 -13
  692. package/lib/locale/lang/vi-VN.js +8 -13
  693. package/lib/locale/lang/zh-CN.js +8 -13
  694. package/lib/locale/lang/zh-HK.js +8 -13
  695. package/lib/locale/lang/zh-TW.js +8 -13
  696. package/lib/nav-bar/NavBar.js +8 -13
  697. package/lib/nav-bar/index.js +9 -16
  698. package/lib/notice-bar/NoticeBar.js +8 -13
  699. package/lib/notice-bar/index.js +9 -16
  700. package/lib/notice-bar/types.js +7 -12
  701. package/lib/notify/Notify.js +8 -13
  702. package/lib/notify/function-call.js +9 -16
  703. package/lib/notify/index.js +8 -13
  704. package/lib/notify/types.js +7 -12
  705. package/lib/number-keyboard/NumberKeyboard.js +9 -16
  706. package/lib/number-keyboard/NumberKeyboardKey.js +8 -13
  707. package/lib/number-keyboard/index.js +9 -16
  708. package/lib/overlay/Overlay.js +8 -13
  709. package/lib/overlay/index.js +9 -16
  710. package/lib/pagination/Pagination.js +8 -13
  711. package/lib/pagination/index.js +9 -16
  712. package/lib/password-input/PasswordInput.js +8 -13
  713. package/lib/password-input/index.js +9 -16
  714. package/lib/picker/Picker.js +34 -40
  715. package/lib/picker/PickerColumn.js +8 -13
  716. package/lib/picker/index.js +9 -16
  717. package/lib/picker/types.js +7 -12
  718. package/lib/popover/Popover.js +8 -13
  719. package/lib/popover/index.js +9 -16
  720. package/lib/popover/types.js +7 -12
  721. package/lib/popup/Popup.js +8 -13
  722. package/lib/popup/index.css +1 -1
  723. package/lib/popup/index.js +9 -16
  724. package/lib/popup/shared.js +8 -13
  725. package/lib/popup/types.js +7 -12
  726. package/lib/progress/Progress.js +8 -13
  727. package/lib/progress/index.js +9 -16
  728. package/lib/progress/types.js +7 -12
  729. package/lib/pull-refresh/PullRefresh.js +8 -13
  730. package/lib/pull-refresh/index.js +9 -16
  731. package/lib/radio/Radio.js +9 -16
  732. package/lib/radio/index.js +9 -16
  733. package/lib/radio-group/RadioGroup.js +8 -13
  734. package/lib/radio-group/index.js +9 -16
  735. package/lib/rate/Rate.js +39 -22
  736. package/lib/rate/index.js +9 -16
  737. package/lib/row/Row.js +8 -13
  738. package/lib/row/index.js +9 -16
  739. package/lib/search/Search.d.ts +3 -0
  740. package/lib/search/Search.js +8 -13
  741. package/lib/search/index.d.ts +2 -0
  742. package/lib/search/index.js +9 -16
  743. package/lib/search/types.js +7 -12
  744. package/lib/share-sheet/ShareSheet.js +33 -24
  745. package/lib/share-sheet/index.css +1 -1
  746. package/lib/share-sheet/index.js +9 -16
  747. package/lib/share-sheet/index.less +45 -1
  748. package/lib/sidebar/Sidebar.js +8 -13
  749. package/lib/sidebar/index.js +9 -16
  750. package/lib/sidebar-item/SidebarItem.js +8 -13
  751. package/lib/sidebar-item/index.js +9 -16
  752. package/lib/skeleton/Skeleton.js +8 -13
  753. package/lib/skeleton/index.js +9 -16
  754. package/lib/slider/Slider.js +8 -13
  755. package/lib/slider/index.css +1 -1
  756. package/lib/slider/index.js +9 -16
  757. package/lib/step/Step.js +8 -13
  758. package/lib/step/index.js +9 -16
  759. package/lib/stepper/Stepper.js +8 -13
  760. package/lib/stepper/index.js +9 -16
  761. package/lib/steps/Steps.js +8 -13
  762. package/lib/steps/index.js +9 -16
  763. package/lib/sticky/Sticky.js +8 -13
  764. package/lib/sticky/index.js +9 -16
  765. package/lib/style/animation.css +1 -1
  766. package/lib/style/base.css +1 -1
  767. package/lib/submit-bar/SubmitBar.js +8 -13
  768. package/lib/submit-bar/index.js +9 -16
  769. package/lib/swipe/Swipe.js +8 -13
  770. package/lib/swipe/index.js +9 -16
  771. package/lib/swipe/types.js +7 -12
  772. package/lib/swipe-cell/SwipeCell.js +8 -13
  773. package/lib/swipe-cell/index.css +1 -1
  774. package/lib/swipe-cell/index.js +9 -16
  775. package/lib/swipe-cell/types.js +7 -12
  776. package/lib/swipe-item/SwipeItem.js +8 -13
  777. package/lib/swipe-item/index.js +9 -16
  778. package/lib/switch/Switch.js +13 -14
  779. package/lib/switch/index.js +9 -16
  780. package/lib/tab/Tab.js +8 -13
  781. package/lib/tab/index.js +9 -16
  782. package/lib/tabbar/Tabbar.js +8 -13
  783. package/lib/tabbar/index.js +9 -16
  784. package/lib/tabbar-item/TabbarItem.js +8 -13
  785. package/lib/tabbar-item/index.js +9 -16
  786. package/lib/tabs/Tabs.js +9 -16
  787. package/lib/tabs/TabsContent.js +8 -13
  788. package/lib/tabs/TabsTitle.js +8 -13
  789. package/lib/tabs/index.js +9 -16
  790. package/lib/tabs/types.js +7 -12
  791. package/lib/tabs/utils.js +8 -13
  792. package/lib/tag/Tag.js +8 -13
  793. package/lib/tag/index.js +9 -16
  794. package/lib/toast/Toast.js +8 -13
  795. package/lib/toast/function-call.js +9 -16
  796. package/lib/toast/index.js +8 -13
  797. package/lib/toast/lock-click.js +8 -13
  798. package/lib/toast/types.js +7 -12
  799. package/lib/tree-select/TreeSelect.js +8 -13
  800. package/lib/tree-select/index.js +9 -16
  801. package/lib/uploader/Uploader.js +11 -20
  802. package/lib/uploader/UploaderPreviewItem.js +13 -15
  803. package/lib/uploader/index.css +1 -1
  804. package/lib/uploader/index.js +9 -16
  805. package/lib/uploader/index.less +7 -4
  806. package/lib/uploader/types.js +7 -12
  807. package/lib/uploader/utils.d.ts +0 -1
  808. package/lib/uploader/utils.js +10 -17
  809. package/lib/utils/basic.d.ts +1 -0
  810. package/lib/utils/basic.js +11 -14
  811. package/lib/utils/constant.js +8 -13
  812. package/lib/utils/create.js +9 -16
  813. package/lib/utils/deep-assign.js +8 -13
  814. package/lib/utils/deep-clone.js +8 -13
  815. package/lib/utils/dom.js +8 -13
  816. package/lib/utils/format.js +8 -13
  817. package/lib/utils/index.js +17 -21
  818. package/lib/utils/interceptor.js +8 -13
  819. package/lib/utils/mount-component.js +8 -13
  820. package/lib/utils/props.js +8 -13
  821. package/lib/utils/validate.js +8 -13
  822. package/lib/utils/with-install.js +8 -13
  823. package/lib/vant.cjs.js +353 -116
  824. package/lib/vant.cjs.min.js +1 -1
  825. package/lib/vant.es.js +352 -114
  826. package/lib/vant.es.min.js +352 -114
  827. package/lib/vant.js +429 -155
  828. package/lib/vant.min.js +1 -1
  829. package/package.json +8 -23
  830. package/vetur/attributes.json +696 -763
  831. package/vetur/tags.json +230 -228
  832. package/vetur/web-types.json +3925 -3063
  833. package/changelog.generated.md +0 -81
  834. package/es/empty/Network.d.ts +0 -1
  835. package/es/empty/Network.js +0 -89
  836. package/lib/empty/Network.d.ts +0 -1
  837. package/lib/empty/Network.js +0 -113
package/lib/rate/Rate.js CHANGED
@@ -2,28 +2,24 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
5
  var __export = (target, all) => {
7
6
  for (var name2 in all)
8
7
  __defProp(target, name2, { get: all[name2], enumerable: true });
9
8
  };
10
- var __reExport = (target, module2, copyDefault, desc) => {
11
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
- for (let key of __getOwnPropNames(module2))
13
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
14
  }
16
- return target;
15
+ return to;
17
16
  };
18
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
- return (module2, temp) => {
20
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
- };
22
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
18
  var stdin_exports = {};
24
19
  __export(stdin_exports, {
25
20
  default: () => stdin_default
26
21
  });
22
+ module.exports = __toCommonJS(stdin_exports);
27
23
  var import_vue = require("vue");
28
24
  var import_vue2 = require("vue");
29
25
  var import_utils = require("../utils");
@@ -82,33 +78,53 @@ var stdin_default = (0, import_vue2.defineComponent)({
82
78
  }) {
83
79
  const touch = (0, import_use_touch.useTouch)();
84
80
  const [itemRefs, setItemRefs] = (0, import_use_refs.useRefs)();
81
+ const groupRef = (0, import_vue2.ref)();
85
82
  const untouchable = () => props.readonly || props.disabled || !props.touchable;
86
83
  const list = (0, import_vue2.computed)(() => Array(+props.count).fill("").map((_, i) => getRateStatus(props.modelValue, i + 1, props.allowHalf, props.readonly)));
87
84
  let ranges;
85
+ let groupRefRect;
86
+ let minRectTop = Number.MAX_SAFE_INTEGER;
87
+ let maxRectTop = Number.MIN_SAFE_INTEGER;
88
88
  const updateRanges = () => {
89
+ groupRefRect = (0, import_use.useRect)(groupRef);
89
90
  const rects = itemRefs.value.map(import_use.useRect);
90
91
  ranges = [];
91
92
  rects.forEach((rect, index) => {
93
+ minRectTop = Math.min(rect.top, minRectTop);
94
+ maxRectTop = Math.max(rect.top, maxRectTop);
92
95
  if (props.allowHalf) {
93
96
  ranges.push({
94
97
  score: index + 0.5,
95
- left: rect.left
98
+ left: rect.left,
99
+ top: rect.top,
100
+ height: rect.height
96
101
  }, {
97
102
  score: index + 1,
98
- left: rect.left + rect.width / 2
103
+ left: rect.left + rect.width / 2,
104
+ top: rect.top,
105
+ height: rect.height
99
106
  });
100
107
  } else {
101
108
  ranges.push({
102
109
  score: index + 1,
103
- left: rect.left
110
+ left: rect.left,
111
+ top: rect.top,
112
+ height: rect.height
104
113
  });
105
114
  }
106
115
  });
107
116
  };
108
- const getScoreByPosition = (x) => {
117
+ const getScoreByPosition = (x, y) => {
109
118
  for (let i = ranges.length - 1; i > 0; i--) {
110
- if (x > ranges[i].left) {
111
- return ranges[i].score;
119
+ if (y >= groupRefRect.top && y <= groupRefRect.bottom) {
120
+ if (x > ranges[i].left && y >= ranges[i].top && y <= ranges[i].top + ranges[i].height) {
121
+ return ranges[i].score;
122
+ }
123
+ } else {
124
+ const curTop = y < groupRefRect.top ? minRectTop : maxRectTop;
125
+ if (x > ranges[i].left && ranges[i].top === curTop) {
126
+ return ranges[i].score;
127
+ }
112
128
  }
113
129
  }
114
130
  return props.allowHalf ? 0.5 : 1;
@@ -133,10 +149,11 @@ var stdin_default = (0, import_vue2.defineComponent)({
133
149
  touch.move(event);
134
150
  if (touch.isHorizontal()) {
135
151
  const {
136
- clientX
152
+ clientX,
153
+ clientY
137
154
  } = event.touches[0];
138
155
  (0, import_utils.preventDefault)(event);
139
- select(getScoreByPosition(clientX));
156
+ select(getScoreByPosition(clientX, clientY));
140
157
  }
141
158
  };
142
159
  const renderStar = (item, index) => {
@@ -165,7 +182,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
165
182
  }
166
183
  const onClickItem = (event) => {
167
184
  updateRanges();
168
- select(allowHalf ? getScoreByPosition(event.clientX) : score);
185
+ select(allowHalf ? getScoreByPosition(event.clientX, event.clientY) : score);
169
186
  };
170
187
  return (0, import_vue.createVNode)("div", {
171
188
  "key": index,
@@ -203,6 +220,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
203
220
  };
204
221
  (0, import_use.useCustomFieldValue)(() => props.modelValue);
205
222
  return () => (0, import_vue.createVNode)("div", {
223
+ "ref": groupRef,
206
224
  "role": "radiogroup",
207
225
  "class": bem({
208
226
  readonly: props.readonly,
@@ -216,4 +234,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
216
234
  }, [list.value.map(renderStar)]);
217
235
  }
218
236
  });
219
- module.exports = __toCommonJS(stdin_exports);
package/lib/rate/index.js CHANGED
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var stdin_exports = {};
29
22
  __export(stdin_exports, {
30
23
  Rate: () => Rate,
31
24
  default: () => stdin_default
32
25
  });
26
+ module.exports = __toCommonJS(stdin_exports);
33
27
  var import_utils = require("../utils");
34
28
  var import_Rate = __toESM(require("./Rate"));
35
29
  const Rate = (0, import_utils.withInstall)(import_Rate.default);
36
30
  var stdin_default = Rate;
37
- module.exports = __toCommonJS(stdin_exports);
package/lib/row/Row.js CHANGED
@@ -2,29 +2,25 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
5
  var __export = (target, all) => {
7
6
  for (var name2 in all)
8
7
  __defProp(target, name2, { get: all[name2], enumerable: true });
9
8
  };
10
- var __reExport = (target, module2, copyDefault, desc) => {
11
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
- for (let key of __getOwnPropNames(module2))
13
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
14
  }
16
- return target;
15
+ return to;
17
16
  };
18
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
- return (module2, temp) => {
20
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
- };
22
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
18
  var stdin_exports = {};
24
19
  __export(stdin_exports, {
25
20
  ROW_KEY: () => ROW_KEY,
26
21
  default: () => stdin_default
27
22
  });
23
+ module.exports = __toCommonJS(stdin_exports);
28
24
  var import_vue = require("vue");
29
25
  var import_vue2 = require("vue");
30
26
  var import_utils = require("../utils");
@@ -112,4 +108,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
112
108
  };
113
109
  }
114
110
  });
115
- module.exports = __toCommonJS(stdin_exports);
package/lib/row/index.js CHANGED
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var stdin_exports = {};
29
22
  __export(stdin_exports, {
30
23
  Row: () => Row,
31
24
  default: () => stdin_default
32
25
  });
26
+ module.exports = __toCommonJS(stdin_exports);
33
27
  var import_utils = require("../utils");
34
28
  var import_Row = __toESM(require("./Row"));
35
29
  const Row = (0, import_utils.withInstall)(import_Row.default);
36
30
  var stdin_default = Row;
37
- module.exports = __toCommonJS(stdin_exports);
@@ -21,6 +21,7 @@ declare const searchProps: {
21
21
  placeholder: StringConstructor;
22
22
  autocomplete: StringConstructor;
23
23
  errorMessage: StringConstructor;
24
+ enterkeyhint: StringConstructor;
24
25
  clearTrigger: {
25
26
  type: import("vue").PropType<import("../field").FieldClearTrigger>;
26
27
  default: import("../field").FieldClearTrigger;
@@ -81,6 +82,7 @@ declare const _default: import("vue").DefineComponent<{
81
82
  placeholder: StringConstructor;
82
83
  autocomplete: StringConstructor;
83
84
  errorMessage: StringConstructor;
85
+ enterkeyhint: StringConstructor;
84
86
  clearTrigger: {
85
87
  type: import("vue").PropType<import("../field").FieldClearTrigger>;
86
88
  default: import("../field").FieldClearTrigger;
@@ -139,6 +141,7 @@ declare const _default: import("vue").DefineComponent<{
139
141
  placeholder: StringConstructor;
140
142
  autocomplete: StringConstructor;
141
143
  errorMessage: StringConstructor;
144
+ enterkeyhint: StringConstructor;
142
145
  clearTrigger: {
143
146
  type: import("vue").PropType<import("../field").FieldClearTrigger>;
144
147
  default: import("../field").FieldClearTrigger;
@@ -2,28 +2,24 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
5
  var __export = (target, all) => {
7
6
  for (var name2 in all)
8
7
  __defProp(target, name2, { get: all[name2], enumerable: true });
9
8
  };
10
- var __reExport = (target, module2, copyDefault, desc) => {
11
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
- for (let key of __getOwnPropNames(module2))
13
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
14
  }
16
- return target;
15
+ return to;
17
16
  };
18
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
- return (module2, temp) => {
20
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
- };
22
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
18
  var stdin_exports = {};
24
19
  __export(stdin_exports, {
25
20
  default: () => stdin_default
26
21
  });
22
+ module.exports = __toCommonJS(stdin_exports);
27
23
  var import_vue = require("vue");
28
24
  var import_vue2 = require("vue");
29
25
  var import_utils = require("../utils");
@@ -139,4 +135,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
139
135
  };
140
136
  }
141
137
  });
142
- module.exports = __toCommonJS(stdin_exports);
@@ -20,6 +20,7 @@ export declare const Search: import("../utils").WithInstall<import("vue").Define
20
20
  placeholder: StringConstructor;
21
21
  autocomplete: StringConstructor;
22
22
  errorMessage: StringConstructor;
23
+ enterkeyhint: StringConstructor;
23
24
  clearTrigger: {
24
25
  type: import("vue").PropType<import("..").FieldClearTrigger>;
25
26
  default: import("..").FieldClearTrigger;
@@ -78,6 +79,7 @@ export declare const Search: import("../utils").WithInstall<import("vue").Define
78
79
  placeholder: StringConstructor;
79
80
  autocomplete: StringConstructor;
80
81
  errorMessage: StringConstructor;
82
+ enterkeyhint: StringConstructor;
81
83
  clearTrigger: {
82
84
  type: import("vue").PropType<import("..").FieldClearTrigger>;
83
85
  default: import("..").FieldClearTrigger;
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var stdin_exports = {};
29
22
  __export(stdin_exports, {
30
23
  Search: () => Search,
31
24
  default: () => stdin_default
32
25
  });
26
+ module.exports = __toCommonJS(stdin_exports);
33
27
  var import_utils = require("../utils");
34
28
  var import_Search = __toESM(require("./Search"));
35
29
  const Search = (0, import_utils.withInstall)(import_Search.default);
36
30
  var stdin_default = Search;
37
- module.exports = __toCommonJS(stdin_exports);
@@ -2,19 +2,14 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
- var __reExport = (target, module2, copyDefault, desc) => {
7
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
8
- for (let key of __getOwnPropNames(module2))
9
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
10
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
10
  }
12
- return target;
11
+ return to;
13
12
  };
14
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
15
- return (module2, temp) => {
16
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
17
- };
18
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
14
  var stdin_exports = {};
20
15
  module.exports = __toCommonJS(stdin_exports);
@@ -2,41 +2,41 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
5
  var __export = (target, all) => {
7
6
  for (var name2 in all)
8
7
  __defProp(target, name2, { get: all[name2], enumerable: true });
9
8
  };
10
- var __reExport = (target, module2, copyDefault, desc) => {
11
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
- for (let key of __getOwnPropNames(module2))
13
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
14
  }
16
- return target;
15
+ return to;
17
16
  };
18
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
- return (module2, temp) => {
20
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
- };
22
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
18
  var stdin_exports = {};
24
19
  __export(stdin_exports, {
25
20
  default: () => stdin_default
26
21
  });
22
+ module.exports = __toCommonJS(stdin_exports);
27
23
  var import_vue = require("vue");
28
24
  var import_vue2 = require("vue");
29
25
  var import_utils = require("../utils");
30
26
  var import_shared = require("../popup/shared");
27
+ var import_icon = require("../icon");
31
28
  var import_popup = require("../popup");
32
- const PRESET_ICONS = ["qq", "link", "weibo", "wechat", "poster", "qrcode", "weapp-qrcode", "wechat-moments"];
33
29
  const popupInheritKeys = [...import_shared.popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
34
- function getIconURL(icon) {
35
- if (PRESET_ICONS.includes(icon)) {
36
- return `https://img.yzcdn.cn/vant/share-sheet-${icon}.png`;
37
- }
38
- return icon;
39
- }
30
+ const iconMap = {
31
+ qq: "qq",
32
+ link: "link-o",
33
+ weibo: "weibo",
34
+ qrcode: "qr",
35
+ poster: "photo-o",
36
+ wechat: "wechat",
37
+ "weapp-qrcode": "miniprogram-o",
38
+ "wechat-moments": "wechat-moments"
39
+ };
40
40
  const [name, bem, t] = (0, import_utils.createNamespace)("share-sheet");
41
41
  const shareSheetProps = (0, import_utils.extend)({}, import_shared.popupSharedProps, {
42
42
  title: String,
@@ -74,6 +74,19 @@ var stdin_default = (0, import_vue2.defineComponent)({
74
74
  }, [description])]);
75
75
  }
76
76
  };
77
+ const renderIcon = (icon) => {
78
+ if (iconMap[icon]) {
79
+ return (0, import_vue.createVNode)("div", {
80
+ "class": bem("icon", [icon])
81
+ }, [(0, import_vue.createVNode)(import_icon.Icon, {
82
+ "name": iconMap[icon] || icon
83
+ }, null)]);
84
+ }
85
+ return (0, import_vue.createVNode)("img", {
86
+ "src": icon,
87
+ "class": bem("image-icon")
88
+ }, null);
89
+ };
77
90
  const renderOption = (option, index) => {
78
91
  const {
79
92
  name: name2,
@@ -86,10 +99,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
86
99
  "tabindex": 0,
87
100
  "class": [bem("option"), className, import_utils.HAPTICS_FEEDBACK],
88
101
  "onClick": () => onSelect(option, index)
89
- }, [(0, import_vue.createVNode)("img", {
90
- "src": getIconURL(icon),
91
- "class": bem("icon")
92
- }, null), name2 && (0, import_vue.createVNode)("span", {
102
+ }, [renderIcon(icon), name2 && (0, import_vue.createVNode)("span", {
93
103
  "class": bem("name")
94
104
  }, [name2]), description && (0, import_vue.createVNode)("span", {
95
105
  "class": bem("option-description")
@@ -129,4 +139,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
129
139
  });
130
140
  }
131
141
  });
132
- module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- :root{--van-share-sheet-header-padding: var(--van-padding-sm) var(--van-padding-md) var(--van-padding-base);--van-share-sheet-title-color: var(--van-text-color);--van-share-sheet-title-font-size: var(--van-font-size-md);--van-share-sheet-title-line-height: var(--van-line-height-md);--van-share-sheet-description-color: var(--van-text-color-2);--van-share-sheet-description-font-size: var(--van-font-size-sm);--van-share-sheet-description-line-height: 16px;--van-share-sheet-icon-size: 48px;--van-share-sheet-option-name-color: var(--van-gray-7);--van-share-sheet-option-name-font-size: var(--van-font-size-sm);--van-share-sheet-option-description-color: var(--van-text-color-3);--van-share-sheet-option-description-font-size: var(--van-font-size-sm);--van-share-sheet-cancel-button-font-size: var(--van-font-size-lg);--van-share-sheet-cancel-button-height: 48px;--van-share-sheet-cancel-button-background: var(--van-background-color-light)}.van-share-sheet__header{padding:var(--van-share-sheet-header-padding);text-align:center}.van-share-sheet__title{margin-top:var(--van-padding-xs);color:var(--van-share-sheet-title-color);font-weight:400;font-size:var(--van-share-sheet-title-font-size);line-height:var(--van-share-sheet-title-line-height)}.van-share-sheet__description{display:block;margin-top:var(--van-padding-xs);color:var(--van-share-sheet-description-color);font-size:var(--van-share-sheet-description-font-size);line-height:var(--van-share-sheet-description-line-height)}.van-share-sheet__options{position:relative;display:flex;padding:var(--van-padding-md) 0 var(--van-padding-md) var(--van-padding-xs);overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:var(--van-padding-md);border-top:1px solid var(--van-border-color);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:flex;flex-direction:column;align-items:center;-webkit-user-select:none;user-select:none}.van-share-sheet__icon{width:var(--van-share-sheet-icon-size);height:var(--van-share-sheet-icon-size);margin:0 var(--van-padding-md)}.van-share-sheet__name{margin-top:var(--van-padding-xs);padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-name-color);font-size:var(--van-share-sheet-option-name-font-size)}.van-share-sheet__option-description{padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-description-color);font-size:var(--van-share-sheet-option-description-font-size)}.van-share-sheet__cancel{display:block;width:100%;padding:0;font-size:var(--van-share-sheet-cancel-button-font-size);line-height:var(--van-share-sheet-cancel-button-height);text-align:center;background:var(--van-share-sheet-cancel-button-background);border:none;cursor:pointer}.van-share-sheet__cancel:before{display:block;height:var(--van-padding-xs);background-color:var(--van-background-color);content:" "}.van-share-sheet__cancel:active{background-color:var(--van-active-color)}
1
+ :root{--van-share-sheet-header-padding: var(--van-padding-sm) var(--van-padding-md) var(--van-padding-base);--van-share-sheet-title-color: var(--van-text-color);--van-share-sheet-title-font-size: var(--van-font-size-md);--van-share-sheet-title-line-height: var(--van-line-height-md);--van-share-sheet-description-color: var(--van-text-color-2);--van-share-sheet-description-font-size: var(--van-font-size-sm);--van-share-sheet-description-line-height: 16px;--van-share-sheet-icon-size: 48px;--van-share-sheet-option-name-color: var(--van-gray-7);--van-share-sheet-option-name-font-size: var(--van-font-size-sm);--van-share-sheet-option-description-color: var(--van-text-color-3);--van-share-sheet-option-description-font-size: var(--van-font-size-sm);--van-share-sheet-cancel-button-font-size: var(--van-font-size-lg);--van-share-sheet-cancel-button-height: 48px;--van-share-sheet-cancel-button-background: var(--van-background-color-light)}.van-share-sheet__header{padding:var(--van-share-sheet-header-padding);text-align:center}.van-share-sheet__title{margin-top:var(--van-padding-xs);color:var(--van-share-sheet-title-color);font-weight:400;font-size:var(--van-share-sheet-title-font-size);line-height:var(--van-share-sheet-title-line-height)}.van-share-sheet__description{display:block;margin-top:var(--van-padding-xs);color:var(--van-share-sheet-description-color);font-size:var(--van-share-sheet-description-font-size);line-height:var(--van-share-sheet-description-line-height)}.van-share-sheet__options{position:relative;display:flex;padding:var(--van-padding-md) 0 var(--van-padding-md) var(--van-padding-xs);overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:var(--van-padding-md);border-top:1px solid var(--van-border-color);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:flex;flex-direction:column;align-items:center;-webkit-user-select:none;user-select:none}.van-share-sheet__icon,.van-share-sheet__image-icon{width:var(--van-share-sheet-icon-size);height:var(--van-share-sheet-icon-size);margin:0 var(--van-padding-md)}.van-share-sheet__icon{display:flex;align-items:center;justify-content:center;color:var(--van-gray-7);border-radius:100%;background-color:var(--van-gray-2)}.van-share-sheet__icon--link,.van-share-sheet__icon--poster,.van-share-sheet__icon--qrcode{font-size:26px}.van-share-sheet__icon--weapp-qrcode{font-size:28px}.van-share-sheet__icon--qq,.van-share-sheet__icon--weibo,.van-share-sheet__icon--wechat,.van-share-sheet__icon--wechat-moments{font-size:30px;color:var(--van-white)}.van-share-sheet__icon--qq{background-color:#38b9fa}.van-share-sheet__icon--wechat{background-color:#0bc15f}.van-share-sheet__icon--weibo{background-color:#ee575e}.van-share-sheet__icon--wechat-moments{background-color:#7bc845}.van-share-sheet__name{margin-top:var(--van-padding-xs);padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-name-color);font-size:var(--van-share-sheet-option-name-font-size)}.van-share-sheet__option-description{padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-description-color);font-size:var(--van-share-sheet-option-description-font-size)}.van-share-sheet__cancel{display:block;width:100%;padding:0;font-size:var(--van-share-sheet-cancel-button-font-size);line-height:var(--van-share-sheet-cancel-button-height);text-align:center;background:var(--van-share-sheet-cancel-button-background);border:none;cursor:pointer}.van-share-sheet__cancel:before{display:block;height:var(--van-padding-xs);background-color:var(--van-background-color);content:" "}.van-share-sheet__cancel:active{background-color:var(--van-active-color)}
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var stdin_exports = {};
29
22
  __export(stdin_exports, {
30
23
  ShareSheet: () => ShareSheet,
31
24
  default: () => stdin_default
32
25
  });
26
+ module.exports = __toCommonJS(stdin_exports);
33
27
  var import_utils = require("../utils");
34
28
  var import_ShareSheet = __toESM(require("./ShareSheet"));
35
29
  const ShareSheet = (0, import_utils.withInstall)(import_ShareSheet.default);
36
30
  var stdin_default = ShareSheet;
37
- module.exports = __toCommonJS(stdin_exports);
@@ -65,12 +65,56 @@
65
65
  user-select: none;
66
66
  }
67
67
 
68
- &__icon {
68
+ &__icon,
69
+ &__image-icon {
69
70
  width: var(--van-share-sheet-icon-size);
70
71
  height: var(--van-share-sheet-icon-size);
71
72
  margin: 0 var(--van-padding-md);
72
73
  }
73
74
 
75
+ &__icon {
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: center;
79
+ color: var(--van-gray-7);
80
+ border-radius: 100%;
81
+ background-color: var(--van-gray-2);
82
+
83
+ &--link,
84
+ &--poster,
85
+ &--qrcode {
86
+ font-size: 26px;
87
+ }
88
+
89
+ &--weapp-qrcode {
90
+ font-size: 28px;
91
+ }
92
+
93
+ &--qq,
94
+ &--weibo,
95
+ &--wechat,
96
+ &--wechat-moments {
97
+ font-size: 30px;
98
+ color: var(--van-white);
99
+ }
100
+
101
+ &--qq {
102
+ background-color: #38b9fa;
103
+ }
104
+
105
+ &--wechat {
106
+ background-color: #0bc15f;
107
+ }
108
+
109
+ &--weibo {
110
+ background-color: #ee575e;
111
+ }
112
+
113
+ &--wechat-moments {
114
+ background-color: #7bc845;
115
+ }
116
+ }
117
+
74
118
  &__name {
75
119
  margin-top: var(--van-padding-xs);
76
120
  padding: 0 var(--van-padding-base);