vant 4.4.0 → 4.4.1

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 (441) hide show
  1. package/es/action-bar/ActionBar.d.ts +1 -1
  2. package/es/action-bar/index.d.ts +1 -1
  3. package/es/action-bar-button/ActionBarButton.d.ts +1 -1
  4. package/es/action-bar-button/index.d.ts +1 -1
  5. package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
  6. package/es/action-bar-icon/index.d.ts +1 -1
  7. package/es/action-sheet/ActionSheet.d.ts +1 -1
  8. package/es/action-sheet/index.d.ts +1 -1
  9. package/es/address-edit/AddressEdit.d.ts +1 -1
  10. package/es/address-edit/AddressEditDetail.d.ts +1 -1
  11. package/es/address-edit/index.d.ts +1 -1
  12. package/es/address-list/AddressList.d.ts +1 -1
  13. package/es/address-list/AddressListItem.d.ts +1 -1
  14. package/es/address-list/index.d.ts +1 -1
  15. package/es/area/Area.d.ts +1 -1
  16. package/es/area/index.d.ts +1 -1
  17. package/es/back-top/BackTop.d.ts +1 -1
  18. package/es/back-top/index.d.ts +1 -1
  19. package/es/badge/Badge.d.ts +1 -1
  20. package/es/badge/index.d.ts +1 -1
  21. package/es/barrage/Barrage.d.ts +1 -1
  22. package/es/barrage/index.d.ts +1 -1
  23. package/es/button/Button.d.ts +1 -1
  24. package/es/button/index.d.ts +1 -1
  25. package/es/calendar/Calendar.d.ts +1 -1
  26. package/es/calendar/CalendarDay.d.ts +1 -1
  27. package/es/calendar/CalendarHeader.d.ts +1 -1
  28. package/es/calendar/CalendarMonth.d.ts +1 -1
  29. package/es/calendar/index.d.ts +1 -1
  30. package/es/card/Card.d.ts +1 -1
  31. package/es/card/index.d.ts +1 -1
  32. package/es/cascader/Cascader.d.ts +1 -1
  33. package/es/cascader/index.d.ts +1 -1
  34. package/es/cell/Cell.d.ts +1 -1
  35. package/es/cell/index.d.ts +1 -1
  36. package/es/cell-group/CellGroup.d.ts +1 -1
  37. package/es/cell-group/index.d.ts +1 -1
  38. package/es/checkbox/Checkbox.d.ts +1 -1
  39. package/es/checkbox/Checker.d.ts +1 -1
  40. package/es/checkbox/index.d.ts +1 -1
  41. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  42. package/es/checkbox-group/index.d.ts +1 -1
  43. package/es/circle/Circle.d.ts +1 -1
  44. package/es/circle/index.d.ts +1 -1
  45. package/es/col/Col.d.ts +1 -1
  46. package/es/col/index.d.ts +1 -1
  47. package/es/collapse/Collapse.d.ts +1 -1
  48. package/es/collapse/index.d.ts +1 -1
  49. package/es/collapse-item/CollapseItem.d.ts +1 -1
  50. package/es/collapse-item/index.d.ts +1 -1
  51. package/es/config-provider/ConfigProvider.d.ts +1 -1
  52. package/es/config-provider/index.d.ts +1 -1
  53. package/es/contact-card/ContactCard.d.ts +1 -1
  54. package/es/contact-card/index.d.ts +1 -1
  55. package/es/contact-edit/ContactEdit.d.ts +1 -1
  56. package/es/contact-edit/index.d.ts +1 -1
  57. package/es/contact-list/ContactList.d.ts +1 -1
  58. package/es/contact-list/index.d.ts +1 -1
  59. package/es/count-down/CountDown.d.ts +1 -1
  60. package/es/count-down/index.d.ts +1 -1
  61. package/es/coupon/Coupon.d.ts +1 -1
  62. package/es/coupon/index.d.ts +1 -1
  63. package/es/coupon-cell/CouponCell.d.ts +1 -1
  64. package/es/coupon-cell/index.d.ts +1 -1
  65. package/es/coupon-list/CouponList.d.ts +1 -1
  66. package/es/coupon-list/index.d.ts +1 -1
  67. package/es/date-picker/DatePicker.d.ts +1 -1
  68. package/es/date-picker/index.d.ts +1 -1
  69. package/es/dialog/Dialog.d.ts +1 -1
  70. package/es/dialog/index.d.ts +1 -1
  71. package/es/divider/Divider.d.ts +1 -1
  72. package/es/divider/index.d.ts +1 -1
  73. package/es/dropdown-item/DropdownItem.d.ts +1 -1
  74. package/es/dropdown-item/index.d.ts +1 -1
  75. package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
  76. package/es/dropdown-menu/index.d.ts +1 -1
  77. package/es/empty/Empty.d.ts +1 -1
  78. package/es/empty/index.d.ts +1 -1
  79. package/es/field/Field.d.ts +1 -1
  80. package/es/field/index.d.ts +1 -1
  81. package/es/form/Form.d.ts +1 -1
  82. package/es/form/index.d.ts +1 -1
  83. package/es/grid/Grid.d.ts +1 -1
  84. package/es/grid/index.d.ts +1 -1
  85. package/es/grid-item/GridItem.d.ts +1 -1
  86. package/es/grid-item/index.d.ts +1 -1
  87. package/es/icon/Icon.d.ts +1 -1
  88. package/es/icon/index.d.ts +1 -1
  89. package/es/image/Image.d.ts +1 -1
  90. package/es/image/index.d.ts +1 -1
  91. package/es/image-preview/ImagePreview.d.ts +1 -1
  92. package/es/image-preview/ImagePreviewItem.d.ts +1 -1
  93. package/es/image-preview/ImagePreviewItem.mjs +9 -3
  94. package/es/image-preview/index.d.ts +1 -1
  95. package/es/index-anchor/IndexAnchor.d.ts +1 -1
  96. package/es/index-anchor/index.d.ts +1 -1
  97. package/es/index-bar/IndexBar.d.ts +1 -1
  98. package/es/index-bar/index.d.ts +1 -1
  99. package/es/index.d.ts +1 -1
  100. package/es/index.mjs +1 -1
  101. package/es/list/List.d.ts +1 -1
  102. package/es/list/index.d.ts +1 -1
  103. package/es/loading/Loading.d.ts +1 -1
  104. package/es/loading/index.d.ts +1 -1
  105. package/es/nav-bar/NavBar.d.ts +1 -1
  106. package/es/nav-bar/index.d.ts +1 -1
  107. package/es/notice-bar/NoticeBar.d.ts +1 -1
  108. package/es/notice-bar/index.d.ts +1 -1
  109. package/es/notify/Notify.d.ts +1 -1
  110. package/es/notify/index.d.ts +1 -1
  111. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  112. package/es/number-keyboard/NumberKeyboardKey.d.ts +1 -1
  113. package/es/number-keyboard/index.d.ts +1 -1
  114. package/es/overlay/Overlay.d.ts +1 -1
  115. package/es/overlay/index.d.ts +1 -1
  116. package/es/pagination/Pagination.d.ts +1 -1
  117. package/es/pagination/index.d.ts +1 -1
  118. package/es/password-input/PasswordInput.d.ts +1 -1
  119. package/es/password-input/index.d.ts +1 -1
  120. package/es/picker/Picker.d.ts +1 -1
  121. package/es/picker/PickerColumn.d.ts +1 -1
  122. package/es/picker/PickerToolbar.d.ts +1 -1
  123. package/es/picker/index.d.ts +1 -1
  124. package/es/picker-group/PickerGroup.d.ts +1 -1
  125. package/es/picker-group/index.d.ts +1 -1
  126. package/es/popover/Popover.d.ts +15 -2
  127. package/es/popover/Popover.mjs +9 -4
  128. package/es/popover/index.css +1 -1
  129. package/es/popover/index.d.ts +10 -1
  130. package/es/popover/types.d.ts +1 -0
  131. package/es/popup/Popup.d.ts +1 -1
  132. package/es/popup/Popup.mjs +8 -1
  133. package/es/popup/index.d.ts +1 -1
  134. package/es/progress/Progress.d.ts +1 -1
  135. package/es/progress/index.d.ts +1 -1
  136. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  137. package/es/pull-refresh/index.d.ts +1 -1
  138. package/es/radio/Radio.d.ts +1 -1
  139. package/es/radio/index.d.ts +1 -1
  140. package/es/radio-group/RadioGroup.d.ts +1 -1
  141. package/es/radio-group/index.d.ts +1 -1
  142. package/es/rate/Rate.d.ts +1 -1
  143. package/es/rate/index.d.ts +1 -1
  144. package/es/row/Row.d.ts +1 -1
  145. package/es/row/index.d.ts +1 -1
  146. package/es/search/Search.d.ts +1 -1
  147. package/es/search/index.d.ts +1 -1
  148. package/es/share-sheet/ShareSheet.d.ts +1 -1
  149. package/es/share-sheet/index.d.ts +1 -1
  150. package/es/sidebar/Sidebar.d.ts +1 -1
  151. package/es/sidebar/index.d.ts +1 -1
  152. package/es/sidebar-item/SidebarItem.d.ts +1 -1
  153. package/es/sidebar-item/index.d.ts +1 -1
  154. package/es/signature/Signature.d.ts +1 -1
  155. package/es/signature/index.d.ts +1 -1
  156. package/es/skeleton/Skeleton.d.ts +1 -1
  157. package/es/skeleton/index.d.ts +1 -1
  158. package/es/skeleton-avatar/SkeletonAvatar.d.ts +1 -1
  159. package/es/skeleton-avatar/index.d.ts +1 -1
  160. package/es/skeleton-image/SkeletonImage.d.ts +1 -1
  161. package/es/skeleton-image/index.d.ts +1 -1
  162. package/es/skeleton-paragraph/SkeletonParagraph.d.ts +1 -1
  163. package/es/skeleton-paragraph/index.d.ts +1 -1
  164. package/es/skeleton-title/SkeletonTitle.d.ts +1 -1
  165. package/es/skeleton-title/index.d.ts +1 -1
  166. package/es/slider/Slider.d.ts +1 -1
  167. package/es/slider/Slider.mjs +10 -5
  168. package/es/slider/index.d.ts +1 -1
  169. package/es/space/Space.d.ts +1 -1
  170. package/es/space/index.d.ts +1 -1
  171. package/es/step/Step.d.ts +1 -1
  172. package/es/step/index.d.ts +1 -1
  173. package/es/stepper/Stepper.d.ts +1 -1
  174. package/es/stepper/index.d.ts +1 -1
  175. package/es/steps/Steps.d.ts +1 -1
  176. package/es/steps/index.d.ts +1 -1
  177. package/es/sticky/Sticky.d.ts +1 -1
  178. package/es/sticky/index.d.ts +1 -1
  179. package/es/submit-bar/SubmitBar.d.ts +1 -1
  180. package/es/submit-bar/index.d.ts +1 -1
  181. package/es/swipe/Swipe.d.ts +1 -1
  182. package/es/swipe/index.d.ts +1 -1
  183. package/es/swipe-cell/SwipeCell.d.ts +1 -1
  184. package/es/swipe-cell/index.d.ts +1 -1
  185. package/es/swipe-item/SwipeItem.d.ts +1 -1
  186. package/es/swipe-item/index.d.ts +1 -1
  187. package/es/switch/Switch.d.ts +1 -1
  188. package/es/switch/index.d.ts +1 -1
  189. package/es/tab/Tab.d.ts +1 -1
  190. package/es/tab/Tab.mjs +14 -3
  191. package/es/tab/TabTitle.d.ts +1 -1
  192. package/es/tab/index.d.ts +1 -1
  193. package/es/tabbar/Tabbar.d.ts +1 -1
  194. package/es/tabbar/index.d.ts +1 -1
  195. package/es/tabbar-item/TabbarItem.d.ts +1 -1
  196. package/es/tabbar-item/index.d.ts +1 -1
  197. package/es/tabs/Tabs.d.ts +1 -1
  198. package/es/tabs/TabsContent.d.ts +1 -1
  199. package/es/tabs/index.d.ts +1 -1
  200. package/es/tag/Tag.d.ts +1 -1
  201. package/es/tag/index.d.ts +1 -1
  202. package/es/text-ellipsis/TextEllipsis.d.ts +1 -1
  203. package/es/text-ellipsis/index.d.ts +1 -1
  204. package/es/time-picker/TimePicker.d.ts +1 -1
  205. package/es/time-picker/index.d.ts +1 -1
  206. package/es/toast/Toast.d.ts +1 -1
  207. package/es/toast/index.d.ts +1 -1
  208. package/es/tree-select/TreeSelect.d.ts +1 -1
  209. package/es/tree-select/index.d.ts +1 -1
  210. package/es/uploader/Uploader.d.ts +1 -1
  211. package/es/uploader/UploaderPreviewItem.d.ts +1 -1
  212. package/es/uploader/index.d.ts +1 -1
  213. package/es/utils/constant.d.ts +1 -0
  214. package/es/utils/constant.mjs +2 -0
  215. package/es/utils/mount-component.d.ts +1 -1
  216. package/es/watermark/Watermark.d.ts +1 -1
  217. package/es/watermark/index.d.ts +1 -1
  218. package/lib/action-bar/ActionBar.d.ts +1 -1
  219. package/lib/action-bar/index.d.ts +1 -1
  220. package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
  221. package/lib/action-bar-button/index.d.ts +1 -1
  222. package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
  223. package/lib/action-bar-icon/index.d.ts +1 -1
  224. package/lib/action-sheet/ActionSheet.d.ts +1 -1
  225. package/lib/action-sheet/index.d.ts +1 -1
  226. package/lib/address-edit/AddressEdit.d.ts +1 -1
  227. package/lib/address-edit/AddressEditDetail.d.ts +1 -1
  228. package/lib/address-edit/index.d.ts +1 -1
  229. package/lib/address-list/AddressList.d.ts +1 -1
  230. package/lib/address-list/AddressListItem.d.ts +1 -1
  231. package/lib/address-list/index.d.ts +1 -1
  232. package/lib/area/Area.d.ts +1 -1
  233. package/lib/area/index.d.ts +1 -1
  234. package/lib/back-top/BackTop.d.ts +1 -1
  235. package/lib/back-top/index.d.ts +1 -1
  236. package/lib/badge/Badge.d.ts +1 -1
  237. package/lib/badge/index.d.ts +1 -1
  238. package/lib/barrage/Barrage.d.ts +1 -1
  239. package/lib/barrage/index.d.ts +1 -1
  240. package/lib/button/Button.d.ts +1 -1
  241. package/lib/button/index.d.ts +1 -1
  242. package/lib/calendar/Calendar.d.ts +1 -1
  243. package/lib/calendar/CalendarDay.d.ts +1 -1
  244. package/lib/calendar/CalendarHeader.d.ts +1 -1
  245. package/lib/calendar/CalendarMonth.d.ts +1 -1
  246. package/lib/calendar/index.d.ts +1 -1
  247. package/lib/card/Card.d.ts +1 -1
  248. package/lib/card/index.d.ts +1 -1
  249. package/lib/cascader/Cascader.d.ts +1 -1
  250. package/lib/cascader/index.d.ts +1 -1
  251. package/lib/cell/Cell.d.ts +1 -1
  252. package/lib/cell/index.d.ts +1 -1
  253. package/lib/cell-group/CellGroup.d.ts +1 -1
  254. package/lib/cell-group/index.d.ts +1 -1
  255. package/lib/checkbox/Checkbox.d.ts +1 -1
  256. package/lib/checkbox/Checker.d.ts +1 -1
  257. package/lib/checkbox/index.d.ts +1 -1
  258. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  259. package/lib/checkbox-group/index.d.ts +1 -1
  260. package/lib/circle/Circle.d.ts +1 -1
  261. package/lib/circle/index.d.ts +1 -1
  262. package/lib/col/Col.d.ts +1 -1
  263. package/lib/col/index.d.ts +1 -1
  264. package/lib/collapse/Collapse.d.ts +1 -1
  265. package/lib/collapse/index.d.ts +1 -1
  266. package/lib/collapse-item/CollapseItem.d.ts +1 -1
  267. package/lib/collapse-item/index.d.ts +1 -1
  268. package/lib/config-provider/ConfigProvider.d.ts +1 -1
  269. package/lib/config-provider/index.d.ts +1 -1
  270. package/lib/contact-card/ContactCard.d.ts +1 -1
  271. package/lib/contact-card/index.d.ts +1 -1
  272. package/lib/contact-edit/ContactEdit.d.ts +1 -1
  273. package/lib/contact-edit/index.d.ts +1 -1
  274. package/lib/contact-list/ContactList.d.ts +1 -1
  275. package/lib/contact-list/index.d.ts +1 -1
  276. package/lib/count-down/CountDown.d.ts +1 -1
  277. package/lib/count-down/index.d.ts +1 -1
  278. package/lib/coupon/Coupon.d.ts +1 -1
  279. package/lib/coupon/index.d.ts +1 -1
  280. package/lib/coupon-cell/CouponCell.d.ts +1 -1
  281. package/lib/coupon-cell/index.d.ts +1 -1
  282. package/lib/coupon-list/CouponList.d.ts +1 -1
  283. package/lib/coupon-list/index.d.ts +1 -1
  284. package/lib/date-picker/DatePicker.d.ts +1 -1
  285. package/lib/date-picker/index.d.ts +1 -1
  286. package/lib/dialog/Dialog.d.ts +1 -1
  287. package/lib/dialog/index.d.ts +1 -1
  288. package/lib/divider/Divider.d.ts +1 -1
  289. package/lib/divider/index.d.ts +1 -1
  290. package/lib/dropdown-item/DropdownItem.d.ts +1 -1
  291. package/lib/dropdown-item/index.d.ts +1 -1
  292. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  293. package/lib/dropdown-menu/index.d.ts +1 -1
  294. package/lib/empty/Empty.d.ts +1 -1
  295. package/lib/empty/index.d.ts +1 -1
  296. package/lib/field/Field.d.ts +1 -1
  297. package/lib/field/index.d.ts +1 -1
  298. package/lib/form/Form.d.ts +1 -1
  299. package/lib/form/index.d.ts +1 -1
  300. package/lib/grid/Grid.d.ts +1 -1
  301. package/lib/grid/index.d.ts +1 -1
  302. package/lib/grid-item/GridItem.d.ts +1 -1
  303. package/lib/grid-item/index.d.ts +1 -1
  304. package/lib/icon/Icon.d.ts +1 -1
  305. package/lib/icon/index.d.ts +1 -1
  306. package/lib/image/Image.d.ts +1 -1
  307. package/lib/image/index.d.ts +1 -1
  308. package/lib/image-preview/ImagePreview.d.ts +1 -1
  309. package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
  310. package/lib/image-preview/ImagePreviewItem.js +8 -2
  311. package/lib/image-preview/index.d.ts +1 -1
  312. package/lib/index-anchor/IndexAnchor.d.ts +1 -1
  313. package/lib/index-anchor/index.d.ts +1 -1
  314. package/lib/index-bar/IndexBar.d.ts +1 -1
  315. package/lib/index-bar/index.d.ts +1 -1
  316. package/lib/index.css +1 -1
  317. package/lib/index.d.ts +1 -1
  318. package/lib/index.js +1 -1
  319. package/lib/list/List.d.ts +1 -1
  320. package/lib/list/index.d.ts +1 -1
  321. package/lib/loading/Loading.d.ts +1 -1
  322. package/lib/loading/index.d.ts +1 -1
  323. package/lib/nav-bar/NavBar.d.ts +1 -1
  324. package/lib/nav-bar/index.d.ts +1 -1
  325. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  326. package/lib/notice-bar/index.d.ts +1 -1
  327. package/lib/notify/Notify.d.ts +1 -1
  328. package/lib/notify/index.d.ts +1 -1
  329. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  330. package/lib/number-keyboard/NumberKeyboardKey.d.ts +1 -1
  331. package/lib/number-keyboard/index.d.ts +1 -1
  332. package/lib/overlay/Overlay.d.ts +1 -1
  333. package/lib/overlay/index.d.ts +1 -1
  334. package/lib/pagination/Pagination.d.ts +1 -1
  335. package/lib/pagination/index.d.ts +1 -1
  336. package/lib/password-input/PasswordInput.d.ts +1 -1
  337. package/lib/password-input/index.d.ts +1 -1
  338. package/lib/picker/Picker.d.ts +1 -1
  339. package/lib/picker/PickerColumn.d.ts +1 -1
  340. package/lib/picker/PickerToolbar.d.ts +1 -1
  341. package/lib/picker/index.d.ts +1 -1
  342. package/lib/picker-group/PickerGroup.d.ts +1 -1
  343. package/lib/picker-group/index.d.ts +1 -1
  344. package/lib/popover/Popover.d.ts +15 -2
  345. package/lib/popover/Popover.js +8 -3
  346. package/lib/popover/index.css +1 -1
  347. package/lib/popover/index.d.ts +10 -1
  348. package/lib/popover/types.d.ts +1 -0
  349. package/lib/popup/Popup.d.ts +1 -1
  350. package/lib/popup/Popup.js +8 -1
  351. package/lib/popup/index.d.ts +1 -1
  352. package/lib/progress/Progress.d.ts +1 -1
  353. package/lib/progress/index.d.ts +1 -1
  354. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  355. package/lib/pull-refresh/index.d.ts +1 -1
  356. package/lib/radio/Radio.d.ts +1 -1
  357. package/lib/radio/index.d.ts +1 -1
  358. package/lib/radio-group/RadioGroup.d.ts +1 -1
  359. package/lib/radio-group/index.d.ts +1 -1
  360. package/lib/rate/Rate.d.ts +1 -1
  361. package/lib/rate/index.d.ts +1 -1
  362. package/lib/row/Row.d.ts +1 -1
  363. package/lib/row/index.d.ts +1 -1
  364. package/lib/search/Search.d.ts +1 -1
  365. package/lib/search/index.d.ts +1 -1
  366. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  367. package/lib/share-sheet/index.d.ts +1 -1
  368. package/lib/sidebar/Sidebar.d.ts +1 -1
  369. package/lib/sidebar/index.d.ts +1 -1
  370. package/lib/sidebar-item/SidebarItem.d.ts +1 -1
  371. package/lib/sidebar-item/index.d.ts +1 -1
  372. package/lib/signature/Signature.d.ts +1 -1
  373. package/lib/signature/index.d.ts +1 -1
  374. package/lib/skeleton/Skeleton.d.ts +1 -1
  375. package/lib/skeleton/index.d.ts +1 -1
  376. package/lib/skeleton-avatar/SkeletonAvatar.d.ts +1 -1
  377. package/lib/skeleton-avatar/index.d.ts +1 -1
  378. package/lib/skeleton-image/SkeletonImage.d.ts +1 -1
  379. package/lib/skeleton-image/index.d.ts +1 -1
  380. package/lib/skeleton-paragraph/SkeletonParagraph.d.ts +1 -1
  381. package/lib/skeleton-paragraph/index.d.ts +1 -1
  382. package/lib/skeleton-title/SkeletonTitle.d.ts +1 -1
  383. package/lib/skeleton-title/index.d.ts +1 -1
  384. package/lib/slider/Slider.d.ts +1 -1
  385. package/lib/slider/Slider.js +10 -5
  386. package/lib/slider/index.d.ts +1 -1
  387. package/lib/space/Space.d.ts +1 -1
  388. package/lib/space/index.d.ts +1 -1
  389. package/lib/step/Step.d.ts +1 -1
  390. package/lib/step/index.d.ts +1 -1
  391. package/lib/stepper/Stepper.d.ts +1 -1
  392. package/lib/stepper/index.d.ts +1 -1
  393. package/lib/steps/Steps.d.ts +1 -1
  394. package/lib/steps/index.d.ts +1 -1
  395. package/lib/sticky/Sticky.d.ts +1 -1
  396. package/lib/sticky/index.d.ts +1 -1
  397. package/lib/submit-bar/SubmitBar.d.ts +1 -1
  398. package/lib/submit-bar/index.d.ts +1 -1
  399. package/lib/swipe/Swipe.d.ts +1 -1
  400. package/lib/swipe/index.d.ts +1 -1
  401. package/lib/swipe-cell/SwipeCell.d.ts +1 -1
  402. package/lib/swipe-cell/index.d.ts +1 -1
  403. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  404. package/lib/swipe-item/index.d.ts +1 -1
  405. package/lib/switch/Switch.d.ts +1 -1
  406. package/lib/switch/index.d.ts +1 -1
  407. package/lib/tab/Tab.d.ts +1 -1
  408. package/lib/tab/Tab.js +13 -2
  409. package/lib/tab/TabTitle.d.ts +1 -1
  410. package/lib/tab/index.d.ts +1 -1
  411. package/lib/tabbar/Tabbar.d.ts +1 -1
  412. package/lib/tabbar/index.d.ts +1 -1
  413. package/lib/tabbar-item/TabbarItem.d.ts +1 -1
  414. package/lib/tabbar-item/index.d.ts +1 -1
  415. package/lib/tabs/Tabs.d.ts +1 -1
  416. package/lib/tabs/TabsContent.d.ts +1 -1
  417. package/lib/tabs/index.d.ts +1 -1
  418. package/lib/tag/Tag.d.ts +1 -1
  419. package/lib/tag/index.d.ts +1 -1
  420. package/lib/text-ellipsis/TextEllipsis.d.ts +1 -1
  421. package/lib/text-ellipsis/index.d.ts +1 -1
  422. package/lib/time-picker/TimePicker.d.ts +1 -1
  423. package/lib/time-picker/index.d.ts +1 -1
  424. package/lib/toast/Toast.d.ts +1 -1
  425. package/lib/toast/index.d.ts +1 -1
  426. package/lib/tree-select/TreeSelect.d.ts +1 -1
  427. package/lib/tree-select/index.d.ts +1 -1
  428. package/lib/uploader/Uploader.d.ts +1 -1
  429. package/lib/uploader/UploaderPreviewItem.d.ts +1 -1
  430. package/lib/uploader/index.d.ts +1 -1
  431. package/lib/utils/constant.d.ts +1 -0
  432. package/lib/utils/constant.js +2 -0
  433. package/lib/utils/mount-component.d.ts +1 -1
  434. package/lib/vant.cjs.js +49 -14
  435. package/lib/vant.es.js +50 -15
  436. package/lib/vant.js +74 -14
  437. package/lib/vant.min.js +1 -1
  438. package/lib/watermark/Watermark.d.ts +1 -1
  439. package/lib/watermark/index.d.ts +1 -1
  440. package/lib/web-types.json +1 -1
  441. package/package.json +5 -4
package/lib/vant.cjs.js CHANGED
@@ -2,6 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const use = require("@vant/use");
5
+ const shared = require("@vue/shared");
5
6
  const popperjs = require("@vant/popperjs");
6
7
  const isDef = (val) => val !== void 0 && val !== null;
7
8
  const isFunction = (val) => typeof val === "function";
@@ -364,6 +365,7 @@ function createNamespace(name2) {
364
365
  const BORDER = "van-hairline";
365
366
  const BORDER_TOP = `${BORDER}--top`;
366
367
  const BORDER_LEFT = `${BORDER}--left`;
368
+ const BORDER_RIGHT = `${BORDER}--right`;
367
369
  const BORDER_BOTTOM = `${BORDER}--bottom`;
368
370
  const BORDER_SURROUND = `${BORDER}--surround`;
369
371
  const BORDER_TOP_BOTTOM = `${BORDER}--top-bottom`;
@@ -1339,7 +1341,14 @@ var stdin_default$1F = vue.defineComponent({
1339
1341
  }, null);
1340
1342
  }
1341
1343
  };
1342
- const onOpened = () => emit("opened");
1344
+ let timer2;
1345
+ const onOpened = () => {
1346
+ if (timer2)
1347
+ clearTimeout(timer2);
1348
+ timer2 = setTimeout(() => {
1349
+ emit("opened");
1350
+ });
1351
+ };
1343
1352
  const onClosed = () => emit("closed");
1344
1353
  const onKeydown = (event) => emit("keydown", event);
1345
1354
  const renderPopup = lazyRender(() => {
@@ -3073,12 +3082,22 @@ var stdin_default$1w = vue.defineComponent({
3073
3082
  }
3074
3083
  return isActive;
3075
3084
  });
3085
+ const parsedClass = vue.ref("");
3086
+ const parsedStyle = vue.ref("");
3087
+ vue.watchEffect(() => {
3088
+ const {
3089
+ titleClass,
3090
+ titleStyle
3091
+ } = props;
3092
+ parsedClass.value = titleClass ? vue.normalizeClass(titleClass) : "";
3093
+ parsedStyle.value = titleStyle && typeof titleStyle !== "string" ? shared.stringifyStyle(vue.normalizeStyle(titleStyle)) : titleStyle;
3094
+ });
3076
3095
  const renderTitle = (onClickTab) => vue.createVNode(TabTitle, vue.mergeProps({
3077
3096
  "key": id,
3078
3097
  "id": `${parent.id}-${index.value}`,
3079
3098
  "ref": parent.setTitleRefs(index.value),
3080
- "style": props.titleStyle,
3081
- "class": props.titleClass,
3099
+ "style": parsedStyle.value,
3100
+ "class": parsedClass.value,
3082
3101
  "isActive": active.value,
3083
3102
  "controls": id,
3084
3103
  "scrollable": parent.scrollable.value,
@@ -9830,6 +9849,7 @@ var stdin_default$L = vue.defineComponent({
9830
9849
  moveY: 0,
9831
9850
  moving: false,
9832
9851
  zooming: false,
9852
+ initializing: false,
9833
9853
  imageRatio: 0
9834
9854
  });
9835
9855
  const touch = useTouch();
@@ -9844,10 +9864,11 @@ var stdin_default$L = vue.defineComponent({
9844
9864
  moveX,
9845
9865
  moveY,
9846
9866
  moving,
9847
- zooming
9867
+ zooming,
9868
+ initializing
9848
9869
  } = state;
9849
9870
  const style = {
9850
- transitionDuration: zooming || moving ? "0s" : ".3s"
9871
+ transitionDuration: zooming || moving || initializing ? "0s" : ".3s"
9851
9872
  };
9852
9873
  if (scale !== 1 || isLongImage.value) {
9853
9874
  style.transform = `matrix(${scale}, 0, 0, ${scale}, ${moveX}, ${moveY})`;
@@ -10047,6 +10068,10 @@ var stdin_default$L = vue.defineComponent({
10047
10068
  if (isLongImage.value) {
10048
10069
  initialMoveY = (imageRatio * rootWidth - rootHeight) / 2;
10049
10070
  state.moveY = initialMoveY;
10071
+ state.initializing = true;
10072
+ use.raf(() => {
10073
+ state.initializing = false;
10074
+ });
10050
10075
  }
10051
10076
  resetScale();
10052
10077
  };
@@ -11627,6 +11652,7 @@ const popoverProps = {
11627
11652
  theme: makeStringProp("light"),
11628
11653
  overlay: Boolean,
11629
11654
  actions: makeArrayProp(),
11655
+ actionsDirection: makeStringProp("vertical"),
11630
11656
  trigger: makeStringProp("click"),
11631
11657
  duration: numericProp,
11632
11658
  showArrow: truthProp,
@@ -11730,7 +11756,9 @@ var stdin_default$z = vue.defineComponent({
11730
11756
  "classPrefix": props.iconPrefix,
11731
11757
  "class": bem$q("action-icon")
11732
11758
  }, null), vue.createVNode("div", {
11733
- "class": [bem$q("action-text"), BORDER_BOTTOM]
11759
+ "class": [bem$q("action-text"), {
11760
+ [BORDER_BOTTOM]: props.actionsDirection === "vertical"
11761
+ }]
11734
11762
  }, [action.text])];
11735
11763
  };
11736
11764
  const renderAction = (action, index) => {
@@ -11745,7 +11773,9 @@ var stdin_default$z = vue.defineComponent({
11745
11773
  "class": [bem$q("action", {
11746
11774
  disabled,
11747
11775
  "with-icon": icon
11748
- }), className],
11776
+ }), {
11777
+ [BORDER_RIGHT]: props.actionsDirection === "horizontal"
11778
+ }, className],
11749
11779
  "style": {
11750
11780
  color
11751
11781
  },
@@ -11794,7 +11824,7 @@ var stdin_default$z = vue.defineComponent({
11794
11824
  "class": bem$q("arrow")
11795
11825
  }, null), vue.createVNode("div", {
11796
11826
  "role": "menu",
11797
- "class": bem$q("content")
11827
+ "class": bem$q("content", props.actionsDirection)
11798
11828
  }, [slots.default ? slots.default() : props.actions.map(renderAction)])]
11799
11829
  })]);
11800
11830
  };
@@ -12981,6 +13011,14 @@ var stdin_default$i = vue.defineComponent({
12981
13011
  const diff = Math.round((value - min) / step) * step;
12982
13012
  return addNumber(min, diff);
12983
13013
  };
13014
+ const updateStartValue = () => {
13015
+ const current22 = props.modelValue;
13016
+ if (isRange(current22)) {
13017
+ startValue = current22.map(format2);
13018
+ } else {
13019
+ startValue = format2(current22);
13020
+ }
13021
+ };
12984
13022
  const handleRangeValue = (value) => {
12985
13023
  var _a, _b;
12986
13024
  const left = (_a = value[0]) != null ? _a : Number(props.min);
@@ -13005,6 +13043,7 @@ var stdin_default$i = vue.defineComponent({
13005
13043
  if (props.disabled || props.readonly) {
13006
13044
  return;
13007
13045
  }
13046
+ updateStartValue();
13008
13047
  const {
13009
13048
  min,
13010
13049
  reverse,
@@ -13044,11 +13083,7 @@ var stdin_default$i = vue.defineComponent({
13044
13083
  }
13045
13084
  touch.start(event);
13046
13085
  current2 = props.modelValue;
13047
- if (isRange(current2)) {
13048
- startValue = current2.map(format2);
13049
- } else {
13050
- startValue = format2(current2);
13051
- }
13086
+ updateStartValue();
13052
13087
  dragStatus.value = "start";
13053
13088
  };
13054
13089
  const onTouchMove = (event) => {
@@ -15775,7 +15810,7 @@ const Lazyload = {
15775
15810
  });
15776
15811
  }
15777
15812
  };
15778
- const version = "4.4.0";
15813
+ const version = "4.4.1";
15779
15814
  function install(app) {
15780
15815
  const components = [
15781
15816
  ActionBar,
package/lib/vant.es.js CHANGED
@@ -1,5 +1,6 @@
1
- import { unref, ref, reactive, inject, watch, onMounted, nextTick, createVNode, defineComponent, getCurrentInstance, computed, onActivated, onDeactivated, onBeforeUnmount, provide, watchEffect, mergeProps, Transition, withDirectives, vShow, Teleport, Fragment, onBeforeUpdate, createTextVNode, onUnmounted, createApp, resolveDirective, withKeys, onUpdated, Comment, Text, h } from "vue";
1
+ import { unref, ref, reactive, inject, watch, onMounted, nextTick, createVNode, defineComponent, getCurrentInstance, computed, onActivated, onDeactivated, onBeforeUnmount, provide, watchEffect, mergeProps, Transition, withDirectives, vShow, Teleport, Fragment, onBeforeUpdate, normalizeClass, normalizeStyle, createTextVNode, onUnmounted, createApp, resolveDirective, withKeys, onUpdated, Comment, Text, h } from "vue";
2
2
  import { useWindowSize, useRect, useChildren, useParent, onMountedOrActivated, getScrollParent, useEventListener, cancelRaf, raf, useScrollParent, usePageVisibility, doubleRaf, CUSTOM_FIELD_INJECTION_KEY, useCustomFieldValue, inBrowser as inBrowser$1, useToggle, useCountDown, useClickAway } from "@vant/use";
3
+ import { stringifyStyle } from "@vue/shared";
3
4
  import { offsetModifier, createPopper } from "@vant/popperjs";
4
5
  const isDef = (val) => val !== void 0 && val !== null;
5
6
  const isFunction = (val) => typeof val === "function";
@@ -362,6 +363,7 @@ function createNamespace(name2) {
362
363
  const BORDER = "van-hairline";
363
364
  const BORDER_TOP = `${BORDER}--top`;
364
365
  const BORDER_LEFT = `${BORDER}--left`;
366
+ const BORDER_RIGHT = `${BORDER}--right`;
365
367
  const BORDER_BOTTOM = `${BORDER}--bottom`;
366
368
  const BORDER_SURROUND = `${BORDER}--surround`;
367
369
  const BORDER_TOP_BOTTOM = `${BORDER}--top-bottom`;
@@ -1337,7 +1339,14 @@ var stdin_default$1F = defineComponent({
1337
1339
  }, null);
1338
1340
  }
1339
1341
  };
1340
- const onOpened = () => emit("opened");
1342
+ let timer2;
1343
+ const onOpened = () => {
1344
+ if (timer2)
1345
+ clearTimeout(timer2);
1346
+ timer2 = setTimeout(() => {
1347
+ emit("opened");
1348
+ });
1349
+ };
1341
1350
  const onClosed = () => emit("closed");
1342
1351
  const onKeydown = (event) => emit("keydown", event);
1343
1352
  const renderPopup = lazyRender(() => {
@@ -3071,12 +3080,22 @@ var stdin_default$1w = defineComponent({
3071
3080
  }
3072
3081
  return isActive;
3073
3082
  });
3083
+ const parsedClass = ref("");
3084
+ const parsedStyle = ref("");
3085
+ watchEffect(() => {
3086
+ const {
3087
+ titleClass,
3088
+ titleStyle
3089
+ } = props;
3090
+ parsedClass.value = titleClass ? normalizeClass(titleClass) : "";
3091
+ parsedStyle.value = titleStyle && typeof titleStyle !== "string" ? stringifyStyle(normalizeStyle(titleStyle)) : titleStyle;
3092
+ });
3074
3093
  const renderTitle = (onClickTab) => createVNode(TabTitle, mergeProps({
3075
3094
  "key": id,
3076
3095
  "id": `${parent.id}-${index.value}`,
3077
3096
  "ref": parent.setTitleRefs(index.value),
3078
- "style": props.titleStyle,
3079
- "class": props.titleClass,
3097
+ "style": parsedStyle.value,
3098
+ "class": parsedClass.value,
3080
3099
  "isActive": active.value,
3081
3100
  "controls": id,
3082
3101
  "scrollable": parent.scrollable.value,
@@ -9828,6 +9847,7 @@ var stdin_default$L = defineComponent({
9828
9847
  moveY: 0,
9829
9848
  moving: false,
9830
9849
  zooming: false,
9850
+ initializing: false,
9831
9851
  imageRatio: 0
9832
9852
  });
9833
9853
  const touch = useTouch();
@@ -9842,10 +9862,11 @@ var stdin_default$L = defineComponent({
9842
9862
  moveX,
9843
9863
  moveY,
9844
9864
  moving,
9845
- zooming
9865
+ zooming,
9866
+ initializing
9846
9867
  } = state;
9847
9868
  const style = {
9848
- transitionDuration: zooming || moving ? "0s" : ".3s"
9869
+ transitionDuration: zooming || moving || initializing ? "0s" : ".3s"
9849
9870
  };
9850
9871
  if (scale !== 1 || isLongImage.value) {
9851
9872
  style.transform = `matrix(${scale}, 0, 0, ${scale}, ${moveX}, ${moveY})`;
@@ -10045,6 +10066,10 @@ var stdin_default$L = defineComponent({
10045
10066
  if (isLongImage.value) {
10046
10067
  initialMoveY = (imageRatio * rootWidth - rootHeight) / 2;
10047
10068
  state.moveY = initialMoveY;
10069
+ state.initializing = true;
10070
+ raf(() => {
10071
+ state.initializing = false;
10072
+ });
10048
10073
  }
10049
10074
  resetScale();
10050
10075
  };
@@ -11625,6 +11650,7 @@ const popoverProps = {
11625
11650
  theme: makeStringProp("light"),
11626
11651
  overlay: Boolean,
11627
11652
  actions: makeArrayProp(),
11653
+ actionsDirection: makeStringProp("vertical"),
11628
11654
  trigger: makeStringProp("click"),
11629
11655
  duration: numericProp,
11630
11656
  showArrow: truthProp,
@@ -11728,7 +11754,9 @@ var stdin_default$z = defineComponent({
11728
11754
  "classPrefix": props.iconPrefix,
11729
11755
  "class": bem$q("action-icon")
11730
11756
  }, null), createVNode("div", {
11731
- "class": [bem$q("action-text"), BORDER_BOTTOM]
11757
+ "class": [bem$q("action-text"), {
11758
+ [BORDER_BOTTOM]: props.actionsDirection === "vertical"
11759
+ }]
11732
11760
  }, [action.text])];
11733
11761
  };
11734
11762
  const renderAction = (action, index) => {
@@ -11743,7 +11771,9 @@ var stdin_default$z = defineComponent({
11743
11771
  "class": [bem$q("action", {
11744
11772
  disabled,
11745
11773
  "with-icon": icon
11746
- }), className],
11774
+ }), {
11775
+ [BORDER_RIGHT]: props.actionsDirection === "horizontal"
11776
+ }, className],
11747
11777
  "style": {
11748
11778
  color
11749
11779
  },
@@ -11792,7 +11822,7 @@ var stdin_default$z = defineComponent({
11792
11822
  "class": bem$q("arrow")
11793
11823
  }, null), createVNode("div", {
11794
11824
  "role": "menu",
11795
- "class": bem$q("content")
11825
+ "class": bem$q("content", props.actionsDirection)
11796
11826
  }, [slots.default ? slots.default() : props.actions.map(renderAction)])]
11797
11827
  })]);
11798
11828
  };
@@ -12979,6 +13009,14 @@ var stdin_default$i = defineComponent({
12979
13009
  const diff = Math.round((value - min) / step) * step;
12980
13010
  return addNumber(min, diff);
12981
13011
  };
13012
+ const updateStartValue = () => {
13013
+ const current22 = props.modelValue;
13014
+ if (isRange(current22)) {
13015
+ startValue = current22.map(format2);
13016
+ } else {
13017
+ startValue = format2(current22);
13018
+ }
13019
+ };
12982
13020
  const handleRangeValue = (value) => {
12983
13021
  var _a, _b;
12984
13022
  const left = (_a = value[0]) != null ? _a : Number(props.min);
@@ -13003,6 +13041,7 @@ var stdin_default$i = defineComponent({
13003
13041
  if (props.disabled || props.readonly) {
13004
13042
  return;
13005
13043
  }
13044
+ updateStartValue();
13006
13045
  const {
13007
13046
  min,
13008
13047
  reverse,
@@ -13042,11 +13081,7 @@ var stdin_default$i = defineComponent({
13042
13081
  }
13043
13082
  touch.start(event);
13044
13083
  current2 = props.modelValue;
13045
- if (isRange(current2)) {
13046
- startValue = current2.map(format2);
13047
- } else {
13048
- startValue = format2(current2);
13049
- }
13084
+ updateStartValue();
13050
13085
  dragStatus.value = "start";
13051
13086
  };
13052
13087
  const onTouchMove = (event) => {
@@ -15773,7 +15808,7 @@ const Lazyload = {
15773
15808
  });
15774
15809
  }
15775
15810
  };
15776
- const version = "4.4.0";
15811
+ const version = "4.4.1";
15777
15812
  function install(app) {
15778
15813
  const components = [
15779
15814
  ActionBar,
package/lib/vant.js CHANGED
@@ -753,6 +753,7 @@
753
753
  const BORDER = "van-hairline";
754
754
  const BORDER_TOP = `${BORDER}--top`;
755
755
  const BORDER_LEFT = `${BORDER}--left`;
756
+ const BORDER_RIGHT = `${BORDER}--right`;
756
757
  const BORDER_BOTTOM = `${BORDER}--bottom`;
757
758
  const BORDER_SURROUND = `${BORDER}--surround`;
758
759
  const BORDER_TOP_BOTTOM = `${BORDER}--top-bottom`;
@@ -1728,7 +1729,14 @@
1728
1729
  }, null);
1729
1730
  }
1730
1731
  };
1731
- const onOpened = () => emit("opened");
1732
+ let timer2;
1733
+ const onOpened = () => {
1734
+ if (timer2)
1735
+ clearTimeout(timer2);
1736
+ timer2 = setTimeout(() => {
1737
+ emit("opened");
1738
+ });
1739
+ };
1732
1740
  const onClosed = () => emit("closed");
1733
1741
  const onKeydown = (event) => emit("keydown", event);
1734
1742
  const renderPopup = lazyRender(() => {
@@ -2266,6 +2274,32 @@
2266
2274
  });
2267
2275
  return propRef;
2268
2276
  };
2277
+ const isString = (val) => typeof val === "string";
2278
+ const cacheStringFunction = (fn) => {
2279
+ const cache = /* @__PURE__ */ Object.create(null);
2280
+ return (str) => {
2281
+ const hit = cache[str];
2282
+ return hit || (cache[str] = fn(str));
2283
+ };
2284
+ };
2285
+ const hyphenateRE = /\B([A-Z])/g;
2286
+ const hyphenate = cacheStringFunction(
2287
+ (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
2288
+ );
2289
+ function stringifyStyle(styles) {
2290
+ let ret = "";
2291
+ if (!styles || isString(styles)) {
2292
+ return ret;
2293
+ }
2294
+ for (const key in styles) {
2295
+ const value = styles[key];
2296
+ const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
2297
+ if (isString(value) || typeof value === "number") {
2298
+ ret += `${normalizedKey}:${value};`;
2299
+ }
2300
+ }
2301
+ return ret;
2302
+ }
2269
2303
  function scrollLeftTo(scroller, to, duration) {
2270
2304
  let rafId;
2271
2305
  let count = 0;
@@ -3453,12 +3487,22 @@
3453
3487
  }
3454
3488
  return isActive;
3455
3489
  });
3490
+ const parsedClass = vue.ref("");
3491
+ const parsedStyle = vue.ref("");
3492
+ vue.watchEffect(() => {
3493
+ const {
3494
+ titleClass,
3495
+ titleStyle
3496
+ } = props;
3497
+ parsedClass.value = titleClass ? vue.normalizeClass(titleClass) : "";
3498
+ parsedStyle.value = titleStyle && typeof titleStyle !== "string" ? stringifyStyle(vue.normalizeStyle(titleStyle)) : titleStyle;
3499
+ });
3456
3500
  const renderTitle = (onClickTab) => vue.createVNode(TabTitle, vue.mergeProps({
3457
3501
  "key": id,
3458
3502
  "id": `${parent.id}-${index.value}`,
3459
3503
  "ref": parent.setTitleRefs(index.value),
3460
- "style": props.titleStyle,
3461
- "class": props.titleClass,
3504
+ "style": parsedStyle.value,
3505
+ "class": parsedClass.value,
3462
3506
  "isActive": active.value,
3463
3507
  "controls": id,
3464
3508
  "scrollable": parent.scrollable.value,
@@ -10181,6 +10225,7 @@
10181
10225
  moveY: 0,
10182
10226
  moving: false,
10183
10227
  zooming: false,
10228
+ initializing: false,
10184
10229
  imageRatio: 0
10185
10230
  });
10186
10231
  const touch = useTouch();
@@ -10195,10 +10240,11 @@
10195
10240
  moveX,
10196
10241
  moveY,
10197
10242
  moving,
10198
- zooming
10243
+ zooming,
10244
+ initializing
10199
10245
  } = state;
10200
10246
  const style = {
10201
- transitionDuration: zooming || moving ? "0s" : ".3s"
10247
+ transitionDuration: zooming || moving || initializing ? "0s" : ".3s"
10202
10248
  };
10203
10249
  if (scale !== 1 || isLongImage.value) {
10204
10250
  style.transform = `matrix(${scale}, 0, 0, ${scale}, ${moveX}, ${moveY})`;
@@ -10398,6 +10444,10 @@
10398
10444
  if (isLongImage.value) {
10399
10445
  initialMoveY = (imageRatio * rootWidth - rootHeight) / 2;
10400
10446
  state.moveY = initialMoveY;
10447
+ state.initializing = true;
10448
+ raf(() => {
10449
+ state.initializing = false;
10450
+ });
10401
10451
  }
10402
10452
  resetScale();
10403
10453
  };
@@ -12914,6 +12964,7 @@
12914
12964
  theme: makeStringProp("light"),
12915
12965
  overlay: Boolean,
12916
12966
  actions: makeArrayProp(),
12967
+ actionsDirection: makeStringProp("vertical"),
12917
12968
  trigger: makeStringProp("click"),
12918
12969
  duration: numericProp,
12919
12970
  showArrow: truthProp,
@@ -13017,7 +13068,9 @@
13017
13068
  "classPrefix": props.iconPrefix,
13018
13069
  "class": bem$q("action-icon")
13019
13070
  }, null), vue.createVNode("div", {
13020
- "class": [bem$q("action-text"), BORDER_BOTTOM]
13071
+ "class": [bem$q("action-text"), {
13072
+ [BORDER_BOTTOM]: props.actionsDirection === "vertical"
13073
+ }]
13021
13074
  }, [action.text])];
13022
13075
  };
13023
13076
  const renderAction = (action, index) => {
@@ -13032,7 +13085,9 @@
13032
13085
  "class": [bem$q("action", {
13033
13086
  disabled,
13034
13087
  "with-icon": icon
13035
- }), className],
13088
+ }), {
13089
+ [BORDER_RIGHT]: props.actionsDirection === "horizontal"
13090
+ }, className],
13036
13091
  "style": {
13037
13092
  color
13038
13093
  },
@@ -13081,7 +13136,7 @@
13081
13136
  "class": bem$q("arrow")
13082
13137
  }, null), vue.createVNode("div", {
13083
13138
  "role": "menu",
13084
- "class": bem$q("content")
13139
+ "class": bem$q("content", props.actionsDirection)
13085
13140
  }, [slots.default ? slots.default() : props.actions.map(renderAction)])]
13086
13141
  })]);
13087
13142
  };
@@ -14265,6 +14320,14 @@
14265
14320
  const diff = Math.round((value - min) / step) * step;
14266
14321
  return addNumber(min, diff);
14267
14322
  };
14323
+ const updateStartValue = () => {
14324
+ const current22 = props.modelValue;
14325
+ if (isRange(current22)) {
14326
+ startValue = current22.map(format2);
14327
+ } else {
14328
+ startValue = format2(current22);
14329
+ }
14330
+ };
14268
14331
  const handleRangeValue = (value) => {
14269
14332
  var _a, _b;
14270
14333
  const left2 = (_a = value[0]) != null ? _a : Number(props.min);
@@ -14289,6 +14352,7 @@
14289
14352
  if (props.disabled || props.readonly) {
14290
14353
  return;
14291
14354
  }
14355
+ updateStartValue();
14292
14356
  const {
14293
14357
  min,
14294
14358
  reverse,
@@ -14328,11 +14392,7 @@
14328
14392
  }
14329
14393
  touch.start(event);
14330
14394
  current2 = props.modelValue;
14331
- if (isRange(current2)) {
14332
- startValue = current2.map(format2);
14333
- } else {
14334
- startValue = format2(current2);
14335
- }
14395
+ updateStartValue();
14336
14396
  dragStatus.value = "start";
14337
14397
  };
14338
14398
  const onTouchMove = (event) => {
@@ -17033,7 +17093,7 @@
17033
17093
  });
17034
17094
  }
17035
17095
  };
17036
- const version = "4.4.0";
17096
+ const version = "4.4.1";
17037
17097
  function install(app) {
17038
17098
  const components = [
17039
17099
  ActionBar,