vant 4.0.0-rc.7 → 4.0.0-rc.9

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 (433) hide show
  1. package/es/action-bar/ActionBar.d.ts +1 -1
  2. package/es/action-bar/types.d.ts +1 -1
  3. package/es/action-bar-button/ActionBarButton.d.ts +1 -1
  4. package/es/action-bar-button/types.d.ts +1 -1
  5. package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
  6. package/es/action-bar-icon/types.d.ts +1 -1
  7. package/es/action-sheet/ActionSheet.d.ts +3 -3
  8. package/es/action-sheet/index.d.ts +1 -1
  9. package/es/action-sheet/types.d.ts +1 -1
  10. package/es/address-edit/AddressEdit.d.ts +1 -1
  11. package/es/address-edit/types.d.ts +5 -5
  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/types.d.ts +1 -1
  15. package/es/area/Area.d.ts +2 -2
  16. package/es/area/index.d.ts +1 -1
  17. package/es/area/types.d.ts +2 -2
  18. package/es/back-top/BackTop.d.ts +66 -0
  19. package/es/back-top/BackTop.mjs +99 -0
  20. package/es/back-top/index.css +1 -0
  21. package/es/back-top/index.d.ts +53 -0
  22. package/es/back-top/index.mjs +10 -0
  23. package/es/back-top/style/index.d.ts +1 -0
  24. package/es/back-top/style/index.mjs +4 -0
  25. package/es/back-top/types.d.ts +6 -0
  26. package/es/back-top/types.mjs +0 -0
  27. package/es/badge/Badge.d.ts +2 -2
  28. package/es/badge/types.d.ts +1 -1
  29. package/es/button/Button.d.ts +1 -1
  30. package/es/button/types.d.ts +5 -5
  31. package/es/calendar/Calendar.d.ts +1 -1
  32. package/es/calendar/CalendarMonth.d.ts +1 -1
  33. package/es/calendar/types.d.ts +7 -7
  34. package/es/card/Card.d.ts +1 -1
  35. package/es/card/types.d.ts +1 -1
  36. package/es/cascader/Cascader.d.ts +1 -1
  37. package/es/cascader/types.d.ts +4 -4
  38. package/es/cell/Cell.d.ts +4 -4
  39. package/es/cell/Cell.mjs +1 -1
  40. package/es/cell/index.d.ts +1 -1
  41. package/es/cell/types.d.ts +1 -1
  42. package/es/cell-group/CellGroup.d.ts +1 -1
  43. package/es/cell-group/types.d.ts +1 -1
  44. package/es/checkbox/Checkbox.d.ts +1 -1
  45. package/es/checkbox/Checker.d.ts +4 -4
  46. package/es/checkbox/types.d.ts +5 -5
  47. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  48. package/es/checkbox-group/types.d.ts +5 -5
  49. package/es/circle/Circle.d.ts +2 -2
  50. package/es/circle/types.d.ts +1 -1
  51. package/es/col/Col.d.ts +1 -1
  52. package/es/collapse/Collapse.d.ts +4 -4
  53. package/es/collapse-item/CollapseItem.d.ts +2 -2
  54. package/es/collapse-item/index.d.ts +1 -1
  55. package/es/collapse-item/types.d.ts +3 -3
  56. package/es/composables/use-route.d.ts +1 -1
  57. package/es/composables/use-touch.d.ts +1 -1
  58. package/es/config-provider/ConfigProvider.d.ts +4 -4
  59. package/es/config-provider/types.d.ts +1 -1
  60. package/es/contact-card/ContactCard.d.ts +2 -2
  61. package/es/contact-card/types.d.ts +1 -1
  62. package/es/contact-edit/ContactEdit.d.ts +2 -2
  63. package/es/contact-edit/types.d.ts +1 -1
  64. package/es/contact-list/ContactList.d.ts +2 -2
  65. package/es/contact-list/types.d.ts +1 -1
  66. package/es/count-down/CountDown.d.ts +1 -1
  67. package/es/count-down/types.d.ts +4 -4
  68. package/es/coupon/Coupon.d.ts +1 -1
  69. package/es/coupon/types.d.ts +1 -1
  70. package/es/coupon-cell/CouponCell.d.ts +1 -1
  71. package/es/coupon-cell/types.d.ts +1 -1
  72. package/es/coupon-list/CouponList.d.ts +1 -1
  73. package/es/coupon-list/types.d.ts +1 -1
  74. package/es/date-picker/DatePicker.d.ts +3 -3
  75. package/es/date-picker/index.d.ts +1 -1
  76. package/es/date-picker/utils.d.ts +2 -2
  77. package/es/dialog/Dialog.d.ts +2 -2
  78. package/es/dialog/index.d.ts +1 -1
  79. package/es/dialog/types.d.ts +6 -6
  80. package/es/divider/Divider.d.ts +2 -2
  81. package/es/divider/types.d.ts +1 -1
  82. package/es/dropdown-item/DropdownItem.d.ts +3 -3
  83. package/es/dropdown-item/DropdownItem.mjs +6 -4
  84. package/es/dropdown-item/index.d.ts +2 -2
  85. package/es/dropdown-item/types.d.ts +4 -4
  86. package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
  87. package/es/dropdown-menu/types.d.ts +3 -3
  88. package/es/empty/Empty.d.ts +1 -1
  89. package/es/empty/types.d.ts +1 -1
  90. package/es/field/Field.d.ts +2 -2
  91. package/es/field/index.d.ts +1 -1
  92. package/es/field/types.d.ts +16 -16
  93. package/es/form/Form.d.ts +1 -1
  94. package/es/form/types.d.ts +3 -3
  95. package/es/grid/Grid.d.ts +3 -3
  96. package/es/grid-item/GridItem.d.ts +1 -1
  97. package/es/grid-item/types.d.ts +1 -1
  98. package/es/icon/Icon.d.ts +1 -1
  99. package/es/image/Image.d.ts +3 -3
  100. package/es/image/types.d.ts +1 -1
  101. package/es/image-preview/ImagePreview.d.ts +1 -1
  102. package/es/image-preview/types.d.ts +5 -5
  103. package/es/index-anchor/IndexAnchor.d.ts +1 -1
  104. package/es/index-anchor/types.d.ts +1 -1
  105. package/es/index-bar/IndexBar.d.ts +1 -1
  106. package/es/index-bar/types.d.ts +4 -4
  107. package/es/index.d.ts +2 -1
  108. package/es/index.mjs +4 -1
  109. package/es/lazyload/vue-lazyload/util.d.ts +25 -0
  110. package/es/list/List.d.ts +1 -1
  111. package/es/list/List.mjs +1 -1
  112. package/es/list/types.d.ts +4 -4
  113. package/es/loading/Loading.d.ts +2 -2
  114. package/es/loading/types.d.ts +1 -1
  115. package/es/locale/index.d.ts +1 -1
  116. package/es/nav-bar/NavBar.d.ts +1 -1
  117. package/es/nav-bar/types.d.ts +1 -1
  118. package/es/notice-bar/NoticeBar.d.ts +1 -1
  119. package/es/notice-bar/types.d.ts +4 -4
  120. package/es/notify/Notify.d.ts +1 -1
  121. package/es/notify/types.d.ts +5 -5
  122. package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
  123. package/es/number-keyboard/NumberKeyboard.mjs +6 -4
  124. package/es/number-keyboard/NumberKeyboardKey.d.ts +1 -1
  125. package/es/number-keyboard/types.d.ts +1 -1
  126. package/es/overlay/Overlay.d.ts +1 -1
  127. package/es/overlay/types.d.ts +1 -1
  128. package/es/pagination/Pagination.d.ts +2 -2
  129. package/es/pagination/types.d.ts +1 -1
  130. package/es/password-input/PasswordInput.d.ts +1 -1
  131. package/es/password-input/types.d.ts +1 -1
  132. package/es/picker/Picker.d.ts +2 -2
  133. package/es/picker/PickerToolbar.d.ts +1 -1
  134. package/es/picker/index.d.ts +1 -1
  135. package/es/picker/types.d.ts +11 -11
  136. package/es/picker-group/PickerGroup.d.ts +2 -2
  137. package/es/picker-group/types.d.ts +1 -1
  138. package/es/popover/Popover.d.ts +1 -1
  139. package/es/popover/types.d.ts +5 -5
  140. package/es/popup/Popup.d.ts +3 -3
  141. package/es/popup/index.d.ts +2 -2
  142. package/es/popup/shared.d.ts +1 -1
  143. package/es/popup/types.d.ts +5 -5
  144. package/es/progress/Progress.d.ts +1 -1
  145. package/es/progress/types.d.ts +3 -3
  146. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  147. package/es/pull-refresh/types.d.ts +1 -1
  148. package/es/radio/Radio.d.ts +3 -3
  149. package/es/radio/types.d.ts +1 -1
  150. package/es/radio-group/RadioGroup.d.ts +3 -3
  151. package/es/rate/Rate.d.ts +1 -1
  152. package/es/rate/types.d.ts +1 -1
  153. package/es/row/Row.d.ts +5 -5
  154. package/es/search/Search.d.ts +1 -1
  155. package/es/search/types.d.ts +4 -4
  156. package/es/share-sheet/ShareSheet.d.ts +4 -4
  157. package/es/share-sheet/index.d.ts +1 -1
  158. package/es/share-sheet/types.d.ts +1 -1
  159. package/es/sidebar/Sidebar.d.ts +2 -2
  160. package/es/sidebar/types.d.ts +1 -1
  161. package/es/sidebar-item/SidebarItem.d.ts +1 -1
  162. package/es/sidebar-item/types.d.ts +1 -1
  163. package/es/skeleton/Skeleton.d.ts +1 -1
  164. package/es/skeleton/SkeletonAvatar.d.ts +1 -1
  165. package/es/skeleton/SkeletonImage.d.ts +1 -1
  166. package/es/skeleton/SkeletonParagraph.d.ts +1 -1
  167. package/es/skeleton/SkeletonTitle.d.ts +1 -1
  168. package/es/skeleton/types.d.ts +3 -3
  169. package/es/slider/Slider.d.ts +3 -3
  170. package/es/slider/types.d.ts +1 -1
  171. package/es/space/Space.d.ts +3 -3
  172. package/es/step/types.d.ts +1 -1
  173. package/es/stepper/Stepper.d.ts +2 -2
  174. package/es/stepper/types.d.ts +1 -1
  175. package/es/steps/Steps.d.ts +3 -3
  176. package/es/steps/types.d.ts +1 -1
  177. package/es/sticky/Sticky.d.ts +2 -2
  178. package/es/sticky/types.d.ts +1 -1
  179. package/es/style/base.css +1 -1
  180. package/es/style/normalize.css +1 -1
  181. package/es/submit-bar/SubmitBar.d.ts +2 -2
  182. package/es/submit-bar/types.d.ts +1 -1
  183. package/es/swipe/Swipe.d.ts +1 -1
  184. package/es/swipe/types.d.ts +6 -6
  185. package/es/swipe-cell/SwipeCell.d.ts +3 -3
  186. package/es/swipe-cell/index.d.ts +2 -2
  187. package/es/swipe-cell/types.d.ts +4 -4
  188. package/es/switch/Switch.d.ts +1 -1
  189. package/es/switch/types.d.ts +1 -1
  190. package/es/tab/Tab.d.ts +1 -1
  191. package/es/tabbar/Tabbar.d.ts +2 -2
  192. package/es/tabbar/types.d.ts +1 -1
  193. package/es/tabbar-item/TabbarItem.d.ts +1 -1
  194. package/es/tabbar-item/types.d.ts +1 -1
  195. package/es/tabs/Tabs.d.ts +1 -1
  196. package/es/tabs/types.d.ts +6 -6
  197. package/es/tag/Tag.d.ts +1 -1
  198. package/es/tag/types.d.ts +3 -3
  199. package/es/time-picker/TimePicker.d.ts +3 -3
  200. package/es/time-picker/index.d.ts +1 -1
  201. package/es/toast/Toast.d.ts +1 -1
  202. package/es/toast/types.d.ts +6 -6
  203. package/es/tree-select/TreeSelect.d.ts +3 -3
  204. package/es/tree-select/types.d.ts +1 -1
  205. package/es/uploader/Uploader.d.ts +1 -1
  206. package/es/uploader/types.d.ts +8 -8
  207. package/es/utils/basic.d.ts +3 -3
  208. package/es/utils/create.d.ts +4 -4
  209. package/es/utils/deep-assign.d.ts +1 -1
  210. package/es/utils/dom.d.ts +1 -1
  211. package/es/utils/interceptor.d.ts +1 -1
  212. package/es/utils/mount-component.d.ts +1 -1
  213. package/es/utils/with-install.d.ts +2 -2
  214. package/lib/action-bar/ActionBar.d.ts +1 -1
  215. package/lib/action-bar/types.d.ts +1 -1
  216. package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
  217. package/lib/action-bar-button/types.d.ts +1 -1
  218. package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
  219. package/lib/action-bar-icon/types.d.ts +1 -1
  220. package/lib/action-sheet/ActionSheet.d.ts +3 -3
  221. package/lib/action-sheet/index.d.ts +1 -1
  222. package/lib/action-sheet/types.d.ts +1 -1
  223. package/lib/address-edit/AddressEdit.d.ts +1 -1
  224. package/lib/address-edit/types.d.ts +5 -5
  225. package/lib/address-list/AddressList.d.ts +1 -1
  226. package/lib/address-list/AddressListItem.d.ts +1 -1
  227. package/lib/address-list/types.d.ts +1 -1
  228. package/lib/area/Area.d.ts +2 -2
  229. package/lib/area/index.d.ts +1 -1
  230. package/lib/area/types.d.ts +2 -2
  231. package/lib/back-top/BackTop.d.ts +66 -0
  232. package/lib/back-top/BackTop.js +118 -0
  233. package/lib/back-top/index.css +1 -0
  234. package/lib/back-top/index.d.ts +53 -0
  235. package/lib/back-top/index.js +35 -0
  236. package/lib/back-top/style/index.d.ts +1 -0
  237. package/lib/back-top/style/index.js +4 -0
  238. package/lib/back-top/types.d.ts +6 -0
  239. package/lib/back-top/types.js +15 -0
  240. package/lib/badge/Badge.d.ts +2 -2
  241. package/lib/badge/types.d.ts +1 -1
  242. package/lib/button/Button.d.ts +1 -1
  243. package/lib/button/types.d.ts +5 -5
  244. package/lib/calendar/Calendar.d.ts +1 -1
  245. package/lib/calendar/CalendarMonth.d.ts +1 -1
  246. package/lib/calendar/types.d.ts +7 -7
  247. package/lib/card/Card.d.ts +1 -1
  248. package/lib/card/types.d.ts +1 -1
  249. package/lib/cascader/Cascader.d.ts +1 -1
  250. package/lib/cascader/types.d.ts +4 -4
  251. package/lib/cell/Cell.d.ts +4 -4
  252. package/lib/cell/Cell.js +1 -1
  253. package/lib/cell/index.d.ts +1 -1
  254. package/lib/cell/types.d.ts +1 -1
  255. package/lib/cell-group/CellGroup.d.ts +1 -1
  256. package/lib/cell-group/types.d.ts +1 -1
  257. package/lib/checkbox/Checkbox.d.ts +1 -1
  258. package/lib/checkbox/Checker.d.ts +4 -4
  259. package/lib/checkbox/types.d.ts +5 -5
  260. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  261. package/lib/checkbox-group/types.d.ts +5 -5
  262. package/lib/circle/Circle.d.ts +2 -2
  263. package/lib/circle/types.d.ts +1 -1
  264. package/lib/col/Col.d.ts +1 -1
  265. package/lib/collapse/Collapse.d.ts +4 -4
  266. package/lib/collapse-item/CollapseItem.d.ts +2 -2
  267. package/lib/collapse-item/index.d.ts +1 -1
  268. package/lib/collapse-item/types.d.ts +3 -3
  269. package/lib/composables/use-route.d.ts +1 -1
  270. package/lib/composables/use-touch.d.ts +1 -1
  271. package/lib/config-provider/ConfigProvider.d.ts +4 -4
  272. package/lib/config-provider/types.d.ts +1 -1
  273. package/lib/contact-card/ContactCard.d.ts +2 -2
  274. package/lib/contact-card/types.d.ts +1 -1
  275. package/lib/contact-edit/ContactEdit.d.ts +2 -2
  276. package/lib/contact-edit/types.d.ts +1 -1
  277. package/lib/contact-list/ContactList.d.ts +2 -2
  278. package/lib/contact-list/types.d.ts +1 -1
  279. package/lib/count-down/CountDown.d.ts +1 -1
  280. package/lib/count-down/types.d.ts +4 -4
  281. package/lib/coupon/Coupon.d.ts +1 -1
  282. package/lib/coupon/types.d.ts +1 -1
  283. package/lib/coupon-cell/CouponCell.d.ts +1 -1
  284. package/lib/coupon-cell/types.d.ts +1 -1
  285. package/lib/coupon-list/CouponList.d.ts +1 -1
  286. package/lib/coupon-list/types.d.ts +1 -1
  287. package/lib/date-picker/DatePicker.d.ts +3 -3
  288. package/lib/date-picker/index.d.ts +1 -1
  289. package/lib/date-picker/utils.d.ts +2 -2
  290. package/lib/dialog/Dialog.d.ts +2 -2
  291. package/lib/dialog/index.d.ts +1 -1
  292. package/lib/dialog/types.d.ts +6 -6
  293. package/lib/divider/Divider.d.ts +2 -2
  294. package/lib/divider/types.d.ts +1 -1
  295. package/lib/dropdown-item/DropdownItem.d.ts +3 -3
  296. package/lib/dropdown-item/DropdownItem.js +5 -3
  297. package/lib/dropdown-item/index.d.ts +2 -2
  298. package/lib/dropdown-item/types.d.ts +4 -4
  299. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  300. package/lib/dropdown-menu/types.d.ts +3 -3
  301. package/lib/empty/Empty.d.ts +1 -1
  302. package/lib/empty/types.d.ts +1 -1
  303. package/lib/field/Field.d.ts +2 -2
  304. package/lib/field/index.d.ts +1 -1
  305. package/lib/field/types.d.ts +16 -16
  306. package/lib/form/Form.d.ts +1 -1
  307. package/lib/form/types.d.ts +3 -3
  308. package/lib/grid/Grid.d.ts +3 -3
  309. package/lib/grid-item/GridItem.d.ts +1 -1
  310. package/lib/grid-item/types.d.ts +1 -1
  311. package/lib/icon/Icon.d.ts +1 -1
  312. package/lib/image/Image.d.ts +3 -3
  313. package/lib/image/types.d.ts +1 -1
  314. package/lib/image-preview/ImagePreview.d.ts +1 -1
  315. package/lib/image-preview/types.d.ts +5 -5
  316. package/lib/index-anchor/IndexAnchor.d.ts +1 -1
  317. package/lib/index-anchor/types.d.ts +1 -1
  318. package/lib/index-bar/IndexBar.d.ts +1 -1
  319. package/lib/index-bar/types.d.ts +4 -4
  320. package/lib/index.css +1 -1
  321. package/lib/index.d.ts +2 -1
  322. package/lib/index.js +4 -1
  323. package/lib/lazyload/vue-lazyload/util.d.ts +25 -0
  324. package/lib/list/List.d.ts +1 -1
  325. package/lib/list/List.js +1 -1
  326. package/lib/list/types.d.ts +4 -4
  327. package/lib/loading/Loading.d.ts +2 -2
  328. package/lib/loading/types.d.ts +1 -1
  329. package/lib/locale/index.d.ts +1 -1
  330. package/lib/nav-bar/NavBar.d.ts +1 -1
  331. package/lib/nav-bar/types.d.ts +1 -1
  332. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  333. package/lib/notice-bar/types.d.ts +4 -4
  334. package/lib/notify/Notify.d.ts +1 -1
  335. package/lib/notify/types.d.ts +5 -5
  336. package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
  337. package/lib/number-keyboard/NumberKeyboard.js +5 -3
  338. package/lib/number-keyboard/NumberKeyboardKey.d.ts +1 -1
  339. package/lib/number-keyboard/types.d.ts +1 -1
  340. package/lib/overlay/Overlay.d.ts +1 -1
  341. package/lib/overlay/types.d.ts +1 -1
  342. package/lib/pagination/Pagination.d.ts +2 -2
  343. package/lib/pagination/types.d.ts +1 -1
  344. package/lib/password-input/PasswordInput.d.ts +1 -1
  345. package/lib/password-input/types.d.ts +1 -1
  346. package/lib/picker/Picker.d.ts +2 -2
  347. package/lib/picker/PickerToolbar.d.ts +1 -1
  348. package/lib/picker/index.d.ts +1 -1
  349. package/lib/picker/types.d.ts +11 -11
  350. package/lib/picker-group/PickerGroup.d.ts +2 -2
  351. package/lib/picker-group/types.d.ts +1 -1
  352. package/lib/popover/Popover.d.ts +1 -1
  353. package/lib/popover/types.d.ts +5 -5
  354. package/lib/popup/Popup.d.ts +3 -3
  355. package/lib/popup/index.d.ts +2 -2
  356. package/lib/popup/shared.d.ts +1 -1
  357. package/lib/popup/types.d.ts +5 -5
  358. package/lib/progress/Progress.d.ts +1 -1
  359. package/lib/progress/types.d.ts +3 -3
  360. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  361. package/lib/pull-refresh/types.d.ts +1 -1
  362. package/lib/radio/Radio.d.ts +3 -3
  363. package/lib/radio/types.d.ts +1 -1
  364. package/lib/radio-group/RadioGroup.d.ts +3 -3
  365. package/lib/rate/Rate.d.ts +1 -1
  366. package/lib/rate/types.d.ts +1 -1
  367. package/lib/row/Row.d.ts +5 -5
  368. package/lib/search/Search.d.ts +1 -1
  369. package/lib/search/types.d.ts +4 -4
  370. package/lib/share-sheet/ShareSheet.d.ts +4 -4
  371. package/lib/share-sheet/index.d.ts +1 -1
  372. package/lib/share-sheet/types.d.ts +1 -1
  373. package/lib/sidebar/Sidebar.d.ts +2 -2
  374. package/lib/sidebar/types.d.ts +1 -1
  375. package/lib/sidebar-item/SidebarItem.d.ts +1 -1
  376. package/lib/sidebar-item/types.d.ts +1 -1
  377. package/lib/skeleton/Skeleton.d.ts +1 -1
  378. package/lib/skeleton/SkeletonAvatar.d.ts +1 -1
  379. package/lib/skeleton/SkeletonImage.d.ts +1 -1
  380. package/lib/skeleton/SkeletonParagraph.d.ts +1 -1
  381. package/lib/skeleton/SkeletonTitle.d.ts +1 -1
  382. package/lib/skeleton/types.d.ts +3 -3
  383. package/lib/slider/Slider.d.ts +3 -3
  384. package/lib/slider/types.d.ts +1 -1
  385. package/lib/space/Space.d.ts +3 -3
  386. package/lib/step/types.d.ts +1 -1
  387. package/lib/stepper/Stepper.d.ts +2 -2
  388. package/lib/stepper/types.d.ts +1 -1
  389. package/lib/steps/Steps.d.ts +3 -3
  390. package/lib/steps/types.d.ts +1 -1
  391. package/lib/sticky/Sticky.d.ts +2 -2
  392. package/lib/sticky/types.d.ts +1 -1
  393. package/lib/style/base.css +1 -1
  394. package/lib/style/normalize.css +1 -1
  395. package/lib/submit-bar/SubmitBar.d.ts +2 -2
  396. package/lib/submit-bar/types.d.ts +1 -1
  397. package/lib/swipe/Swipe.d.ts +1 -1
  398. package/lib/swipe/types.d.ts +6 -6
  399. package/lib/swipe-cell/SwipeCell.d.ts +3 -3
  400. package/lib/swipe-cell/index.d.ts +2 -2
  401. package/lib/swipe-cell/types.d.ts +4 -4
  402. package/lib/switch/Switch.d.ts +1 -1
  403. package/lib/switch/types.d.ts +1 -1
  404. package/lib/tab/Tab.d.ts +1 -1
  405. package/lib/tabbar/Tabbar.d.ts +2 -2
  406. package/lib/tabbar/types.d.ts +1 -1
  407. package/lib/tabbar-item/TabbarItem.d.ts +1 -1
  408. package/lib/tabbar-item/types.d.ts +1 -1
  409. package/lib/tabs/Tabs.d.ts +1 -1
  410. package/lib/tabs/types.d.ts +6 -6
  411. package/lib/tag/Tag.d.ts +1 -1
  412. package/lib/tag/types.d.ts +3 -3
  413. package/lib/time-picker/TimePicker.d.ts +3 -3
  414. package/lib/time-picker/index.d.ts +1 -1
  415. package/lib/toast/Toast.d.ts +1 -1
  416. package/lib/toast/types.d.ts +6 -6
  417. package/lib/tree-select/TreeSelect.d.ts +3 -3
  418. package/lib/tree-select/types.d.ts +1 -1
  419. package/lib/uploader/Uploader.d.ts +1 -1
  420. package/lib/uploader/types.d.ts +8 -8
  421. package/lib/utils/basic.d.ts +3 -3
  422. package/lib/utils/create.d.ts +4 -4
  423. package/lib/utils/deep-assign.d.ts +1 -1
  424. package/lib/utils/dom.d.ts +1 -1
  425. package/lib/utils/interceptor.d.ts +1 -1
  426. package/lib/utils/mount-component.d.ts +1 -1
  427. package/lib/utils/with-install.d.ts +2 -2
  428. package/lib/vant.cjs.js +533 -436
  429. package/lib/vant.es.js +534 -437
  430. package/lib/vant.js +533 -436
  431. package/lib/vant.min.js +1 -1
  432. package/lib/web-types.json +1 -1
  433. package/package.json +2 -2
package/lib/vant.js CHANGED
@@ -604,7 +604,7 @@
604
604
  });
605
605
  return to;
606
606
  }
607
- var stdin_default$1J = {
607
+ var stdin_default$1K = {
608
608
  name: "\u59D3\u540D",
609
609
  tel: "\u7535\u8BDD",
610
610
  save: "\u4FDD\u5B58",
@@ -667,7 +667,7 @@
667
667
  };
668
668
  const lang = vue.ref("zh-CN");
669
669
  const messages = vue.reactive({
670
- "zh-CN": stdin_default$1J
670
+ "zh-CN": stdin_default$1K
671
671
  });
672
672
  const Locale = {
673
673
  messages() {
@@ -681,11 +681,11 @@
681
681
  deepAssign(messages, newMessages);
682
682
  }
683
683
  };
684
- var stdin_default$1I = Locale;
684
+ var stdin_default$1J = Locale;
685
685
  function createTranslate(name2) {
686
686
  const prefix = camelize(name2) + ".";
687
687
  return (path, ...args) => {
688
- const messages2 = stdin_default$1I.messages();
688
+ const messages2 = stdin_default$1J.messages();
689
689
  const message = get(messages2, prefix + path) || get(messages2, path);
690
690
  return isFunction(message) ? message(...args) : message;
691
691
  };
@@ -806,20 +806,20 @@
806
806
  }
807
807
  }, [renderContent()]);
808
808
  }
809
- const [name$1A, bem$1v] = createNamespace("action-bar");
810
- const ACTION_BAR_KEY = Symbol(name$1A);
809
+ const [name$1B, bem$1w] = createNamespace("action-bar");
810
+ const ACTION_BAR_KEY = Symbol(name$1B);
811
811
  const actionBarProps = {
812
812
  placeholder: Boolean,
813
813
  safeAreaInsetBottom: truthProp
814
814
  };
815
- var stdin_default$1H = vue.defineComponent({
816
- name: name$1A,
815
+ var stdin_default$1I = vue.defineComponent({
816
+ name: name$1B,
817
817
  props: actionBarProps,
818
818
  setup(props, {
819
819
  slots
820
820
  }) {
821
821
  const root = vue.ref();
822
- const renderPlaceholder = usePlaceholder(root, bem$1v);
822
+ const renderPlaceholder = usePlaceholder(root, bem$1w);
823
823
  const {
824
824
  linkChildren
825
825
  } = useChildren(ACTION_BAR_KEY);
@@ -828,7 +828,7 @@
828
828
  var _a;
829
829
  return vue.createVNode("div", {
830
830
  "ref": root,
831
- "class": [bem$1v(), {
831
+ "class": [bem$1w(), {
832
832
  "van-safe-area-bottom": props.safeAreaInsetBottom
833
833
  }]
834
834
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -841,7 +841,7 @@
841
841
  };
842
842
  }
843
843
  });
844
- const ActionBar = withInstall(stdin_default$1H);
844
+ const ActionBar = withInstall(stdin_default$1I);
845
845
  function useExpose(apis) {
846
846
  const instance2 = vue.getCurrentInstance();
847
847
  if (instance2) {
@@ -869,7 +869,7 @@
869
869
  const vm = vue.getCurrentInstance().proxy;
870
870
  return () => route(vm);
871
871
  }
872
- const [name$1z, bem$1u] = createNamespace("badge");
872
+ const [name$1A, bem$1v] = createNamespace("badge");
873
873
  const badgeProps = {
874
874
  dot: Boolean,
875
875
  max: numericProp,
@@ -880,8 +880,8 @@
880
880
  showZero: truthProp,
881
881
  position: makeStringProp("top-right")
882
882
  };
883
- var stdin_default$1G = vue.defineComponent({
884
- name: name$1z,
883
+ var stdin_default$1H = vue.defineComponent({
884
+ name: name$1A,
885
885
  props: badgeProps,
886
886
  setup(props, {
887
887
  slots
@@ -935,7 +935,7 @@
935
935
  const renderBadge = () => {
936
936
  if (hasContent() || props.dot) {
937
937
  return vue.createVNode("div", {
938
- "class": bem$1u([props.position, {
938
+ "class": bem$1v([props.position, {
939
939
  dot: props.dot,
940
940
  fixed: !!slots.default
941
941
  }]),
@@ -949,7 +949,7 @@
949
949
  tag
950
950
  } = props;
951
951
  return vue.createVNode(tag, {
952
- "class": bem$1u("wrapper")
952
+ "class": bem$1v("wrapper")
953
953
  }, {
954
954
  default: () => [slots.default(), renderBadge()]
955
955
  });
@@ -958,14 +958,14 @@
958
958
  };
959
959
  }
960
960
  });
961
- const Badge = withInstall(stdin_default$1G);
961
+ const Badge = withInstall(stdin_default$1H);
962
962
  let globalZIndex = 2e3;
963
963
  const useGlobalZIndex = () => ++globalZIndex;
964
964
  const setGlobalZIndex = (val) => {
965
965
  globalZIndex = val;
966
966
  };
967
- const [name$1y, bem$1t] = createNamespace("config-provider");
968
- const CONFIG_PROVIDER_KEY = Symbol(name$1y);
967
+ const [name$1z, bem$1u] = createNamespace("config-provider");
968
+ const CONFIG_PROVIDER_KEY = Symbol(name$1z);
969
969
  const configProviderProps = {
970
970
  tag: makeStringProp("div"),
971
971
  theme: makeStringProp("light"),
@@ -982,8 +982,8 @@
982
982
  });
983
983
  return cssVars;
984
984
  }
985
- var stdin_default$1F = vue.defineComponent({
986
- name: name$1y,
985
+ var stdin_default$1G = vue.defineComponent({
986
+ name: name$1z,
987
987
  props: configProviderProps,
988
988
  setup(props, {
989
989
  slots
@@ -1015,7 +1015,7 @@
1015
1015
  }
1016
1016
  });
1017
1017
  return () => vue.createVNode(props.tag, {
1018
- "class": bem$1t(),
1018
+ "class": bem$1u(),
1019
1019
  "style": style.value
1020
1020
  }, {
1021
1021
  default: () => {
@@ -1025,7 +1025,7 @@
1025
1025
  });
1026
1026
  }
1027
1027
  });
1028
- const [name$1x, bem$1s] = createNamespace("icon");
1028
+ const [name$1y, bem$1t] = createNamespace("icon");
1029
1029
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
1030
1030
  const iconProps = {
1031
1031
  dot: Boolean,
@@ -1037,14 +1037,14 @@
1037
1037
  badgeProps: Object,
1038
1038
  classPrefix: String
1039
1039
  };
1040
- var stdin_default$1E = vue.defineComponent({
1041
- name: name$1x,
1040
+ var stdin_default$1F = vue.defineComponent({
1041
+ name: name$1y,
1042
1042
  props: iconProps,
1043
1043
  setup(props, {
1044
1044
  slots
1045
1045
  }) {
1046
1046
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
1047
- const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1s());
1047
+ const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1t());
1048
1048
  return () => {
1049
1049
  const {
1050
1050
  tag,
@@ -1068,7 +1068,7 @@
1068
1068
  default: () => {
1069
1069
  var _a;
1070
1070
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
1071
- "class": bem$1s("image"),
1071
+ "class": bem$1t("image"),
1072
1072
  "src": name2
1073
1073
  }, null)];
1074
1074
  }
@@ -1076,13 +1076,13 @@
1076
1076
  };
1077
1077
  }
1078
1078
  });
1079
- const Icon = withInstall(stdin_default$1E);
1080
- const [name$1w, bem$1r] = createNamespace("loading");
1079
+ const Icon = withInstall(stdin_default$1F);
1080
+ const [name$1x, bem$1s] = createNamespace("loading");
1081
1081
  const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
1082
- "class": bem$1r("line", String(index + 1))
1082
+ "class": bem$1s("line", String(index + 1))
1083
1083
  }, null));
1084
1084
  const CircularIcon = vue.createVNode("svg", {
1085
- "class": bem$1r("circular"),
1085
+ "class": bem$1s("circular"),
1086
1086
  "viewBox": "25 25 50 50"
1087
1087
  }, [vue.createVNode("circle", {
1088
1088
  "cx": "50",
@@ -1098,8 +1098,8 @@
1098
1098
  textSize: numericProp,
1099
1099
  textColor: String
1100
1100
  };
1101
- var stdin_default$1D = vue.defineComponent({
1102
- name: name$1w,
1101
+ var stdin_default$1E = vue.defineComponent({
1102
+ name: name$1x,
1103
1103
  props: loadingProps,
1104
1104
  setup(props, {
1105
1105
  slots
@@ -1110,7 +1110,7 @@
1110
1110
  const renderIcon = () => {
1111
1111
  const DefaultIcon = props.type === "spinner" ? SpinIcon : CircularIcon;
1112
1112
  return vue.createVNode("span", {
1113
- "class": bem$1r("spinner", props.type),
1113
+ "class": bem$1s("spinner", props.type),
1114
1114
  "style": spinnerStyle.value
1115
1115
  }, [slots.icon ? slots.icon() : DefaultIcon]);
1116
1116
  };
@@ -1118,7 +1118,7 @@
1118
1118
  var _a;
1119
1119
  if (slots.default) {
1120
1120
  return vue.createVNode("span", {
1121
- "class": bem$1r("text"),
1121
+ "class": bem$1s("text"),
1122
1122
  "style": {
1123
1123
  fontSize: addUnit(props.textSize),
1124
1124
  color: (_a = props.textColor) != null ? _a : props.color
@@ -1132,7 +1132,7 @@
1132
1132
  vertical
1133
1133
  } = props;
1134
1134
  return vue.createVNode("div", {
1135
- "class": bem$1r([type, {
1135
+ "class": bem$1s([type, {
1136
1136
  vertical
1137
1137
  }]),
1138
1138
  "aria-live": "polite",
@@ -1141,8 +1141,8 @@
1141
1141
  };
1142
1142
  }
1143
1143
  });
1144
- const Loading = withInstall(stdin_default$1D);
1145
- const [name$1v, bem$1q] = createNamespace("button");
1144
+ const Loading = withInstall(stdin_default$1E);
1145
+ const [name$1w, bem$1r] = createNamespace("button");
1146
1146
  const buttonProps = extend({}, routeProps, {
1147
1147
  tag: makeStringProp("button"),
1148
1148
  text: String,
@@ -1164,8 +1164,8 @@
1164
1164
  loadingType: String,
1165
1165
  iconPosition: makeStringProp("left")
1166
1166
  });
1167
- var stdin_default$1C = vue.defineComponent({
1168
- name: name$1v,
1167
+ var stdin_default$1D = vue.defineComponent({
1168
+ name: name$1w,
1169
1169
  props: buttonProps,
1170
1170
  emits: ["click"],
1171
1171
  setup(props, {
@@ -1180,7 +1180,7 @@
1180
1180
  return vue.createVNode(Loading, {
1181
1181
  "size": props.loadingSize,
1182
1182
  "type": props.loadingType,
1183
- "class": bem$1q("loading")
1183
+ "class": bem$1r("loading")
1184
1184
  }, null);
1185
1185
  };
1186
1186
  const renderIcon = () => {
@@ -1189,13 +1189,13 @@
1189
1189
  }
1190
1190
  if (slots.icon) {
1191
1191
  return vue.createVNode("div", {
1192
- "class": bem$1q("icon")
1192
+ "class": bem$1r("icon")
1193
1193
  }, [slots.icon()]);
1194
1194
  }
1195
1195
  if (props.icon) {
1196
1196
  return vue.createVNode(Icon, {
1197
1197
  "name": props.icon,
1198
- "class": bem$1q("icon"),
1198
+ "class": bem$1r("icon"),
1199
1199
  "classPrefix": props.iconPrefix
1200
1200
  }, null);
1201
1201
  }
@@ -1209,7 +1209,7 @@
1209
1209
  }
1210
1210
  if (text) {
1211
1211
  return vue.createVNode("span", {
1212
- "class": bem$1q("text")
1212
+ "class": bem$1r("text")
1213
1213
  }, [text]);
1214
1214
  }
1215
1215
  };
@@ -1256,7 +1256,7 @@
1256
1256
  nativeType,
1257
1257
  iconPosition
1258
1258
  } = props;
1259
- const classes = [bem$1q([type, size, {
1259
+ const classes = [bem$1r([type, size, {
1260
1260
  plain,
1261
1261
  block,
1262
1262
  round: round2,
@@ -1275,14 +1275,14 @@
1275
1275
  "onClick": onClick
1276
1276
  }, {
1277
1277
  default: () => [vue.createVNode("div", {
1278
- "class": bem$1q("content")
1278
+ "class": bem$1r("content")
1279
1279
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
1280
1280
  });
1281
1281
  };
1282
1282
  }
1283
1283
  });
1284
- const Button = withInstall(stdin_default$1C);
1285
- const [name$1u, bem$1p] = createNamespace("action-bar-button");
1284
+ const Button = withInstall(stdin_default$1D);
1285
+ const [name$1v, bem$1q] = createNamespace("action-bar-button");
1286
1286
  const actionBarButtonProps = extend({}, routeProps, {
1287
1287
  type: String,
1288
1288
  text: String,
@@ -1291,8 +1291,8 @@
1291
1291
  loading: Boolean,
1292
1292
  disabled: Boolean
1293
1293
  });
1294
- var stdin_default$1B = vue.defineComponent({
1295
- name: name$1u,
1294
+ var stdin_default$1C = vue.defineComponent({
1295
+ name: name$1v,
1296
1296
  props: actionBarButtonProps,
1297
1297
  setup(props, {
1298
1298
  slots
@@ -1327,7 +1327,7 @@
1327
1327
  disabled
1328
1328
  } = props;
1329
1329
  return vue.createVNode(Button, {
1330
- "class": bem$1p([type, {
1330
+ "class": bem$1q([type, {
1331
1331
  last: isLast.value,
1332
1332
  first: isFirst.value
1333
1333
  }]),
@@ -1344,8 +1344,8 @@
1344
1344
  };
1345
1345
  }
1346
1346
  });
1347
- const ActionBarButton = withInstall(stdin_default$1B);
1348
- const [name$1t, bem$1o] = createNamespace("action-bar-icon");
1347
+ const ActionBarButton = withInstall(stdin_default$1C);
1348
+ const [name$1u, bem$1p] = createNamespace("action-bar-icon");
1349
1349
  const actionBarIconProps = extend({}, routeProps, {
1350
1350
  dot: Boolean,
1351
1351
  text: String,
@@ -1356,8 +1356,8 @@
1356
1356
  badgeProps: Object,
1357
1357
  iconPrefix: String
1358
1358
  });
1359
- var stdin_default$1A = vue.defineComponent({
1360
- name: name$1t,
1359
+ var stdin_default$1B = vue.defineComponent({
1360
+ name: name$1u,
1361
1361
  props: actionBarIconProps,
1362
1362
  setup(props, {
1363
1363
  slots
@@ -1377,7 +1377,7 @@
1377
1377
  if (slots.icon) {
1378
1378
  return vue.createVNode(Badge, vue.mergeProps({
1379
1379
  "dot": dot,
1380
- "class": bem$1o("icon"),
1380
+ "class": bem$1p("icon"),
1381
1381
  "content": badge
1382
1382
  }, badgeProps2), {
1383
1383
  default: slots.icon
@@ -1389,20 +1389,20 @@
1389
1389
  "name": icon,
1390
1390
  "badge": badge,
1391
1391
  "color": color,
1392
- "class": [bem$1o("icon"), iconClass],
1392
+ "class": [bem$1p("icon"), iconClass],
1393
1393
  "badgeProps": badgeProps2,
1394
1394
  "classPrefix": iconPrefix
1395
1395
  }, null);
1396
1396
  };
1397
1397
  return () => vue.createVNode("div", {
1398
1398
  "role": "button",
1399
- "class": bem$1o(),
1399
+ "class": bem$1p(),
1400
1400
  "tabindex": 0,
1401
1401
  "onClick": route2
1402
1402
  }, [renderIcon(), slots.default ? slots.default() : props.text]);
1403
1403
  }
1404
1404
  });
1405
- const ActionBarIcon = withInstall(stdin_default$1A);
1405
+ const ActionBarIcon = withInstall(stdin_default$1B);
1406
1406
  const popupSharedProps = {
1407
1407
  show: Boolean,
1408
1408
  zIndex: numericProp,
@@ -1541,7 +1541,7 @@
1541
1541
  );
1542
1542
  return (render) => () => inited.value ? render() : null;
1543
1543
  }
1544
- const [name$1s, bem$1n] = createNamespace("overlay");
1544
+ const [name$1t, bem$1o] = createNamespace("overlay");
1545
1545
  const overlayProps = {
1546
1546
  show: Boolean,
1547
1547
  zIndex: numericProp,
@@ -1551,8 +1551,8 @@
1551
1551
  lazyRender: truthProp,
1552
1552
  customStyle: Object
1553
1553
  };
1554
- var stdin_default$1z = vue.defineComponent({
1555
- name: name$1s,
1554
+ var stdin_default$1A = vue.defineComponent({
1555
+ name: name$1t,
1556
1556
  props: overlayProps,
1557
1557
  setup(props, {
1558
1558
  slots
@@ -1573,7 +1573,7 @@
1573
1573
  return vue.withDirectives(vue.createVNode("div", {
1574
1574
  "ref": root,
1575
1575
  "style": style,
1576
- "class": [bem$1n(), props.className]
1576
+ "class": [bem$1o(), props.className]
1577
1577
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props.show]]);
1578
1578
  });
1579
1579
  useEventListener("touchmove", onTouchMove, {
@@ -1587,7 +1587,7 @@
1587
1587
  });
1588
1588
  }
1589
1589
  });
1590
- const Overlay = withInstall(stdin_default$1z);
1590
+ const Overlay = withInstall(stdin_default$1A);
1591
1591
  const popupProps$2 = extend({}, popupSharedProps, {
1592
1592
  round: Boolean,
1593
1593
  position: makeStringProp("center"),
@@ -1600,9 +1600,9 @@
1600
1600
  safeAreaInsetTop: Boolean,
1601
1601
  safeAreaInsetBottom: Boolean
1602
1602
  });
1603
- const [name$1r, bem$1m] = createNamespace("popup");
1604
- var stdin_default$1y = vue.defineComponent({
1605
- name: name$1r,
1603
+ const [name$1s, bem$1n] = createNamespace("popup");
1604
+ var stdin_default$1z = vue.defineComponent({
1605
+ name: name$1s,
1606
1606
  inheritAttrs: false,
1607
1607
  props: popupProps$2,
1608
1608
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -1676,7 +1676,7 @@
1676
1676
  "role": "button",
1677
1677
  "tabindex": 0,
1678
1678
  "name": props.closeIcon,
1679
- "class": [bem$1m("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1679
+ "class": [bem$1n("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1680
1680
  "classPrefix": props.iconPrefix,
1681
1681
  "onClick": onClickCloseIcon
1682
1682
  }, null);
@@ -1698,7 +1698,7 @@
1698
1698
  "style": style.value,
1699
1699
  "role": "dialog",
1700
1700
  "tabindex": 0,
1701
- "class": [bem$1m({
1701
+ "class": [bem$1n({
1702
1702
  round: round2,
1703
1703
  [position]: position
1704
1704
  }), {
@@ -1779,8 +1779,8 @@
1779
1779
  };
1780
1780
  }
1781
1781
  });
1782
- const Popup = withInstall(stdin_default$1y);
1783
- const [name$1q, bem$1l] = createNamespace("action-sheet");
1782
+ const Popup = withInstall(stdin_default$1z);
1783
+ const [name$1r, bem$1m] = createNamespace("action-sheet");
1784
1784
  const actionSheetProps = extend({}, popupSharedProps, {
1785
1785
  title: String,
1786
1786
  round: truthProp,
@@ -1794,8 +1794,8 @@
1794
1794
  safeAreaInsetBottom: truthProp
1795
1795
  });
1796
1796
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1797
- var stdin_default$1x = vue.defineComponent({
1798
- name: name$1q,
1797
+ var stdin_default$1y = vue.defineComponent({
1798
+ name: name$1r,
1799
1799
  props: actionSheetProps,
1800
1800
  emits: ["select", "cancel", "update:show"],
1801
1801
  setup(props, {
@@ -1810,10 +1810,10 @@
1810
1810
  const renderHeader = () => {
1811
1811
  if (props.title) {
1812
1812
  return vue.createVNode("div", {
1813
- "class": bem$1l("header")
1813
+ "class": bem$1m("header")
1814
1814
  }, [props.title, props.closeable && vue.createVNode(Icon, {
1815
1815
  "name": props.closeIcon,
1816
- "class": [bem$1l("close"), HAPTICS_FEEDBACK],
1816
+ "class": [bem$1m("close"), HAPTICS_FEEDBACK],
1817
1817
  "onClick": onCancel
1818
1818
  }, null)]);
1819
1819
  }
@@ -1821,10 +1821,10 @@
1821
1821
  const renderCancel = () => {
1822
1822
  if (slots.cancel || props.cancelText) {
1823
1823
  return [vue.createVNode("div", {
1824
- "class": bem$1l("gap")
1824
+ "class": bem$1m("gap")
1825
1825
  }, null), vue.createVNode("button", {
1826
1826
  "type": "button",
1827
- "class": bem$1l("cancel"),
1827
+ "class": bem$1m("cancel"),
1828
1828
  "onClick": onCancel
1829
1829
  }, [slots.cancel ? slots.cancel() : props.cancelText])];
1830
1830
  }
@@ -1832,7 +1832,7 @@
1832
1832
  const renderActionContent = (action, index) => {
1833
1833
  if (action.loading) {
1834
1834
  return vue.createVNode(Loading, {
1835
- "class": bem$1l("loading-icon")
1835
+ "class": bem$1m("loading-icon")
1836
1836
  }, null);
1837
1837
  }
1838
1838
  if (slots.action) {
@@ -1842,9 +1842,9 @@
1842
1842
  });
1843
1843
  }
1844
1844
  return [vue.createVNode("span", {
1845
- "class": bem$1l("name")
1845
+ "class": bem$1m("name")
1846
1846
  }, [action.name]), action.subname && vue.createVNode("div", {
1847
- "class": bem$1l("subname")
1847
+ "class": bem$1m("subname")
1848
1848
  }, [action.subname])];
1849
1849
  };
1850
1850
  const renderAction = (action, index) => {
@@ -1872,7 +1872,7 @@
1872
1872
  "style": {
1873
1873
  color
1874
1874
  },
1875
- "class": [bem$1l("item", {
1875
+ "class": [bem$1m("item", {
1876
1876
  loading,
1877
1877
  disabled
1878
1878
  }), className],
@@ -1883,26 +1883,26 @@
1883
1883
  if (props.description || slots.description) {
1884
1884
  const content = slots.description ? slots.description() : props.description;
1885
1885
  return vue.createVNode("div", {
1886
- "class": bem$1l("description")
1886
+ "class": bem$1m("description")
1887
1887
  }, [content]);
1888
1888
  }
1889
1889
  };
1890
1890
  return () => vue.createVNode(Popup, vue.mergeProps({
1891
- "class": bem$1l(),
1891
+ "class": bem$1m(),
1892
1892
  "position": "bottom",
1893
1893
  "onUpdate:show": updateShow
1894
1894
  }, pick(props, popupInheritKeys$2)), {
1895
1895
  default: () => {
1896
1896
  var _a;
1897
1897
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1898
- "class": bem$1l("content")
1898
+ "class": bem$1m("content")
1899
1899
  }, [props.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1900
1900
  }
1901
1901
  });
1902
1902
  }
1903
1903
  });
1904
- const ActionSheet = withInstall(stdin_default$1x);
1905
- const [name$1p, bem$1k, t$j] = createNamespace("picker");
1904
+ const ActionSheet = withInstall(stdin_default$1y);
1905
+ const [name$1q, bem$1l, t$j] = createNamespace("picker");
1906
1906
  const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
1907
1907
  function getColumnsType(columns, fields) {
1908
1908
  const firstColumn = columns[0];
@@ -1971,10 +1971,10 @@
1971
1971
  const DEFAULT_DURATION = 200;
1972
1972
  const MOMENTUM_TIME = 300;
1973
1973
  const MOMENTUM_DISTANCE = 15;
1974
- const [name$1o, bem$1j] = createNamespace("picker-column");
1975
- const PICKER_KEY = Symbol(name$1o);
1976
- var stdin_default$1w = vue.defineComponent({
1977
- name: name$1o,
1974
+ const [name$1p, bem$1k] = createNamespace("picker-column");
1975
+ const PICKER_KEY = Symbol(name$1p);
1976
+ var stdin_default$1x = vue.defineComponent({
1977
+ name: name$1p,
1978
1978
  props: {
1979
1979
  value: numericProp,
1980
1980
  fields: makeRequiredProp(Object),
@@ -2107,7 +2107,7 @@
2107
2107
  role: "button",
2108
2108
  style: optionStyle,
2109
2109
  tabindex: disabled ? -1 : 0,
2110
- class: [bem$1j("item", {
2110
+ class: [bem$1k("item", {
2111
2111
  disabled,
2112
2112
  selected: value === props.value
2113
2113
  }), option.className],
@@ -2135,7 +2135,7 @@
2135
2135
  });
2136
2136
  return () => vue.createVNode("div", {
2137
2137
  "ref": root,
2138
- "class": bem$1j(),
2138
+ "class": bem$1k(),
2139
2139
  "onTouchstartPassive": onTouchStart,
2140
2140
  "onTouchend": onTouchEnd,
2141
2141
  "onTouchcancel": onTouchEnd
@@ -2146,12 +2146,12 @@
2146
2146
  transitionDuration: `${currentDuration.value}ms`,
2147
2147
  transitionProperty: currentDuration.value ? "all" : "none"
2148
2148
  },
2149
- "class": bem$1j("wrapper"),
2149
+ "class": bem$1k("wrapper"),
2150
2150
  "onTransitionend": stopMomentum
2151
2151
  }, [renderOptions()])]);
2152
2152
  }
2153
2153
  });
2154
- const [name$1n] = createNamespace("picker-toolbar");
2154
+ const [name$1o] = createNamespace("picker-toolbar");
2155
2155
  const pickerToolbarProps = {
2156
2156
  title: String,
2157
2157
  cancelButtonText: String,
@@ -2159,8 +2159,8 @@
2159
2159
  };
2160
2160
  const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
2161
2161
  const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
2162
- var stdin_default$1v = vue.defineComponent({
2163
- name: name$1n,
2162
+ var stdin_default$1w = vue.defineComponent({
2163
+ name: name$1o,
2164
2164
  props: pickerToolbarProps,
2165
2165
  emits: ["confirm", "cancel"],
2166
2166
  setup(props, {
@@ -2173,7 +2173,7 @@
2173
2173
  }
2174
2174
  if (props.title) {
2175
2175
  return vue.createVNode("div", {
2176
- "class": [bem$1k("title"), "van-ellipsis"]
2176
+ "class": [bem$1l("title"), "van-ellipsis"]
2177
2177
  }, [props.title]);
2178
2178
  }
2179
2179
  };
@@ -2183,7 +2183,7 @@
2183
2183
  const text = props.cancelButtonText || t$j("cancel");
2184
2184
  return vue.createVNode("button", {
2185
2185
  "type": "button",
2186
- "class": [bem$1k("cancel"), HAPTICS_FEEDBACK],
2186
+ "class": [bem$1l("cancel"), HAPTICS_FEEDBACK],
2187
2187
  "onClick": onCancel
2188
2188
  }, [slots.cancel ? slots.cancel() : text]);
2189
2189
  };
@@ -2191,12 +2191,12 @@
2191
2191
  const text = props.confirmButtonText || t$j("confirm");
2192
2192
  return vue.createVNode("button", {
2193
2193
  "type": "button",
2194
- "class": [bem$1k("confirm"), HAPTICS_FEEDBACK],
2194
+ "class": [bem$1l("confirm"), HAPTICS_FEEDBACK],
2195
2195
  "onClick": onConfirm
2196
2196
  }, [slots.confirm ? slots.confirm() : text]);
2197
2197
  };
2198
2198
  return () => vue.createVNode("div", {
2199
- "class": bem$1k("toolbar")
2199
+ "class": bem$1l("toolbar")
2200
2200
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderTitle(), renderConfirm()]]);
2201
2201
  }
2202
2202
  });
@@ -2277,7 +2277,7 @@
2277
2277
  vue.onBeforeUnmount(unobserve);
2278
2278
  onMountedOrActivated(observe);
2279
2279
  }
2280
- const [name$1m, bem$1i] = createNamespace("sticky");
2280
+ const [name$1n, bem$1j] = createNamespace("sticky");
2281
2281
  const stickyProps = {
2282
2282
  zIndex: numericProp,
2283
2283
  position: makeStringProp("top"),
@@ -2285,8 +2285,8 @@
2285
2285
  offsetTop: makeNumericProp(0),
2286
2286
  offsetBottom: makeNumericProp(0)
2287
2287
  };
2288
- var stdin_default$1u = vue.defineComponent({
2289
- name: name$1m,
2288
+ var stdin_default$1v = vue.defineComponent({
2289
+ name: name$1n,
2290
2290
  props: stickyProps,
2291
2291
  emits: ["scroll", "change"],
2292
2292
  setup(props, {
@@ -2381,7 +2381,7 @@
2381
2381
  "ref": root,
2382
2382
  "style": rootStyle.value
2383
2383
  }, [vue.createVNode("div", {
2384
- "class": bem$1i({
2384
+ "class": bem$1j({
2385
2385
  fixed: state.fixed
2386
2386
  }),
2387
2387
  "style": stickyStyle.value
@@ -2389,10 +2389,10 @@
2389
2389
  };
2390
2390
  }
2391
2391
  });
2392
- const Sticky = withInstall(stdin_default$1u);
2393
- const [name$1l, bem$1h] = createNamespace("tab");
2394
- var stdin_default$1t = vue.defineComponent({
2395
- name: name$1l,
2392
+ const Sticky = withInstall(stdin_default$1v);
2393
+ const [name$1m, bem$1i] = createNamespace("tab");
2394
+ var stdin_default$1u = vue.defineComponent({
2395
+ name: name$1m,
2396
2396
  props: {
2397
2397
  id: String,
2398
2398
  dot: Boolean,
@@ -2441,7 +2441,7 @@
2441
2441
  });
2442
2442
  const renderText = () => {
2443
2443
  const Text2 = vue.createVNode("span", {
2444
- "class": bem$1h("text", {
2444
+ "class": bem$1i("text", {
2445
2445
  ellipsis: !props.scrollable
2446
2446
  })
2447
2447
  }, [slots.title ? slots.title() : props.title]);
@@ -2459,7 +2459,7 @@
2459
2459
  return () => vue.createVNode("div", {
2460
2460
  "id": props.id,
2461
2461
  "role": "tab",
2462
- "class": [bem$1h([props.type, {
2462
+ "class": [bem$1i([props.type, {
2463
2463
  grow: props.scrollable && !props.shrink,
2464
2464
  shrink: props.shrink,
2465
2465
  active: props.isActive,
@@ -2473,7 +2473,7 @@
2473
2473
  }, [renderText()]);
2474
2474
  }
2475
2475
  });
2476
- const [name$1k, bem$1g] = createNamespace("swipe");
2476
+ const [name$1l, bem$1h] = createNamespace("swipe");
2477
2477
  const swipeProps = {
2478
2478
  loop: truthProp,
2479
2479
  width: numericProp,
@@ -2488,9 +2488,9 @@
2488
2488
  showIndicators: truthProp,
2489
2489
  stopPropagation: truthProp
2490
2490
  };
2491
- const SWIPE_KEY = Symbol(name$1k);
2492
- var stdin_default$1s = vue.defineComponent({
2493
- name: name$1k,
2491
+ const SWIPE_KEY = Symbol(name$1l);
2492
+ var stdin_default$1t = vue.defineComponent({
2493
+ name: name$1l,
2494
2494
  props: swipeProps,
2495
2495
  emits: ["change"],
2496
2496
  setup(props, {
@@ -2752,7 +2752,7 @@
2752
2752
  } : void 0;
2753
2753
  return vue.createVNode("i", {
2754
2754
  "style": style,
2755
- "class": bem$1g("indicator", {
2755
+ "class": bem$1h("indicator", {
2756
2756
  active
2757
2757
  })
2758
2758
  }, null);
@@ -2766,7 +2766,7 @@
2766
2766
  }
2767
2767
  if (props.showIndicators && count.value > 1) {
2768
2768
  return vue.createVNode("div", {
2769
- "class": bem$1g("indicators", {
2769
+ "class": bem$1h("indicators", {
2770
2770
  vertical: props.vertical
2771
2771
  })
2772
2772
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -2808,11 +2808,11 @@
2808
2808
  var _a;
2809
2809
  return vue.createVNode("div", {
2810
2810
  "ref": root,
2811
- "class": bem$1g()
2811
+ "class": bem$1h()
2812
2812
  }, [vue.createVNode("div", {
2813
2813
  "ref": track,
2814
2814
  "style": trackStyle.value,
2815
- "class": bem$1g("track", {
2815
+ "class": bem$1h("track", {
2816
2816
  vertical: props.vertical
2817
2817
  }),
2818
2818
  "onTouchstartPassive": onTouchStart,
@@ -2822,10 +2822,10 @@
2822
2822
  };
2823
2823
  }
2824
2824
  });
2825
- const Swipe = withInstall(stdin_default$1s);
2826
- const [name$1j, bem$1f] = createNamespace("tabs");
2827
- var stdin_default$1r = vue.defineComponent({
2828
- name: name$1j,
2825
+ const Swipe = withInstall(stdin_default$1t);
2826
+ const [name$1k, bem$1g] = createNamespace("tabs");
2827
+ var stdin_default$1s = vue.defineComponent({
2828
+ name: name$1k,
2829
2829
  props: {
2830
2830
  count: makeRequiredProp(Number),
2831
2831
  inited: Boolean,
@@ -2849,7 +2849,7 @@
2849
2849
  return vue.createVNode(Swipe, {
2850
2850
  "ref": swipeRef,
2851
2851
  "loop": false,
2852
- "class": bem$1f("track"),
2852
+ "class": bem$1g("track"),
2853
2853
  "duration": +props.duration * 1e3,
2854
2854
  "touchable": props.swipeable,
2855
2855
  "lazyRender": props.lazyRender,
@@ -2877,13 +2877,13 @@
2877
2877
  swipeRef
2878
2878
  });
2879
2879
  return () => vue.createVNode("div", {
2880
- "class": bem$1f("content", {
2880
+ "class": bem$1g("content", {
2881
2881
  animated: props.animated || props.swipeable
2882
2882
  })
2883
2883
  }, [renderChildren()]);
2884
2884
  }
2885
2885
  });
2886
- const [name$1i, bem$1e] = createNamespace("tabs");
2886
+ const [name$1j, bem$1f] = createNamespace("tabs");
2887
2887
  const tabsProps = {
2888
2888
  type: makeStringProp("line"),
2889
2889
  color: String,
@@ -2906,9 +2906,9 @@
2906
2906
  titleActiveColor: String,
2907
2907
  titleInactiveColor: String
2908
2908
  };
2909
- const TABS_KEY = Symbol(name$1i);
2910
- var stdin_default$1q = vue.defineComponent({
2911
- name: name$1i,
2909
+ const TABS_KEY = Symbol(name$1j);
2910
+ var stdin_default$1r = vue.defineComponent({
2911
+ name: name$1j,
2912
2912
  props: tabsProps,
2913
2913
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
2914
2914
  setup(props, {
@@ -3097,7 +3097,7 @@
3097
3097
  setCurrentIndex(index);
3098
3098
  }
3099
3099
  };
3100
- const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1t, vue.mergeProps({
3100
+ const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1u, vue.mergeProps({
3101
3101
  "key": item.id,
3102
3102
  "id": `${id}-${index}`,
3103
3103
  "ref": setTitleRefs(index),
@@ -3118,7 +3118,7 @@
3118
3118
  const renderLine = () => {
3119
3119
  if (props.type === "line" && children.length) {
3120
3120
  return vue.createVNode("div", {
3121
- "class": bem$1e("line"),
3121
+ "class": bem$1f("line"),
3122
3122
  "style": state.lineStyle
3123
3123
  }, null);
3124
3124
  }
@@ -3132,13 +3132,13 @@
3132
3132
  } = props;
3133
3133
  const Header = [vue.createVNode("div", {
3134
3134
  "ref": sticky ? void 0 : wrapRef,
3135
- "class": [bem$1e("wrap"), {
3135
+ "class": [bem$1f("wrap"), {
3136
3136
  [BORDER_TOP_BOTTOM]: type === "line" && border
3137
3137
  }]
3138
3138
  }, [vue.createVNode("div", {
3139
3139
  "ref": navRef,
3140
3140
  "role": "tablist",
3141
- "class": bem$1e("nav", [type, {
3141
+ "class": bem$1f("nav", [type, {
3142
3142
  shrink: props.shrink,
3143
3143
  complete: scrollable.value
3144
3144
  }]),
@@ -3206,14 +3206,14 @@
3206
3206
  });
3207
3207
  return () => vue.createVNode("div", {
3208
3208
  "ref": root,
3209
- "class": bem$1e([props.type])
3209
+ "class": bem$1f([props.type])
3210
3210
  }, [props.sticky ? vue.createVNode(Sticky, {
3211
3211
  "container": root.value,
3212
3212
  "offsetTop": offsetTopPx.value,
3213
3213
  "onScroll": onStickyScroll
3214
3214
  }, {
3215
3215
  default: () => [renderHeader()]
3216
- }) : renderHeader(), vue.createVNode(stdin_default$1r, {
3216
+ }) : renderHeader(), vue.createVNode(stdin_default$1s, {
3217
3217
  "ref": contentRef,
3218
3218
  "count": children.length,
3219
3219
  "inited": state.inited,
@@ -3233,9 +3233,9 @@
3233
3233
  });
3234
3234
  const TAB_STATUS_KEY = Symbol();
3235
3235
  const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
3236
- const [name$1h, bem$1d] = createNamespace("swipe-item");
3237
- var stdin_default$1p = vue.defineComponent({
3238
- name: name$1h,
3236
+ const [name$1i, bem$1e] = createNamespace("swipe-item");
3237
+ var stdin_default$1q = vue.defineComponent({
3238
+ name: name$1i,
3239
3239
  setup(props, {
3240
3240
  slots
3241
3241
  }) {
@@ -3297,14 +3297,14 @@
3297
3297
  return () => {
3298
3298
  var _a;
3299
3299
  return vue.createVNode("div", {
3300
- "class": bem$1d(),
3300
+ "class": bem$1e(),
3301
3301
  "style": style.value
3302
3302
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
3303
3303
  };
3304
3304
  }
3305
3305
  });
3306
- const SwipeItem = withInstall(stdin_default$1p);
3307
- const [name$1g, bem$1c] = createNamespace("tab");
3306
+ const SwipeItem = withInstall(stdin_default$1q);
3307
+ const [name$1h, bem$1d] = createNamespace("tab");
3308
3308
  const tabProps = extend({}, routeProps, {
3309
3309
  dot: Boolean,
3310
3310
  name: numericProp,
@@ -3315,8 +3315,8 @@
3315
3315
  titleStyle: [String, Object],
3316
3316
  showZeroBadge: truthProp
3317
3317
  });
3318
- var stdin_default$1o = vue.defineComponent({
3319
- name: name$1g,
3318
+ var stdin_default$1p = vue.defineComponent({
3319
+ name: name$1h,
3320
3320
  props: tabProps,
3321
3321
  setup(props, {
3322
3322
  slots
@@ -3381,7 +3381,7 @@
3381
3381
  return vue.createVNode(SwipeItem, {
3382
3382
  "id": id,
3383
3383
  "role": "tabpanel",
3384
- "class": bem$1c("panel-wrapper", {
3384
+ "class": bem$1d("panel-wrapper", {
3385
3385
  inactive: hasInactiveClass.value
3386
3386
  }),
3387
3387
  "tabindex": active.value ? 0 : -1,
@@ -3391,7 +3391,7 @@
3391
3391
  default: () => {
3392
3392
  var _a2;
3393
3393
  return [vue.createVNode("div", {
3394
- "class": bem$1c("panel")
3394
+ "class": bem$1d("panel")
3395
3395
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
3396
3396
  }
3397
3397
  });
@@ -3404,22 +3404,22 @@
3404
3404
  return vue.withDirectives(vue.createVNode("div", {
3405
3405
  "id": id,
3406
3406
  "role": "tabpanel",
3407
- "class": bem$1c("panel"),
3407
+ "class": bem$1d("panel"),
3408
3408
  "tabindex": show ? 0 : -1,
3409
3409
  "aria-labelledby": label
3410
3410
  }, [Content]), [[vue.vShow, show]]);
3411
3411
  };
3412
3412
  }
3413
3413
  });
3414
- const Tab = withInstall(stdin_default$1o);
3415
- const Tabs = withInstall(stdin_default$1q);
3416
- const [name$1f, bem$1b] = createNamespace("picker-group");
3417
- const PICKER_GROUP_KEY = Symbol(name$1f);
3414
+ const Tab = withInstall(stdin_default$1p);
3415
+ const Tabs = withInstall(stdin_default$1r);
3416
+ const [name$1g, bem$1c] = createNamespace("picker-group");
3417
+ const PICKER_GROUP_KEY = Symbol(name$1g);
3418
3418
  const pickerGroupProps = extend({
3419
3419
  tabs: makeArrayProp()
3420
3420
  }, pickerToolbarProps);
3421
- var stdin_default$1n = vue.defineComponent({
3422
- name: name$1f,
3421
+ var stdin_default$1o = vue.defineComponent({
3422
+ name: name$1g,
3423
3423
  props: pickerGroupProps,
3424
3424
  emits: ["confirm", "cancel"],
3425
3425
  setup(props, {
@@ -3439,18 +3439,18 @@
3439
3439
  var _a;
3440
3440
  const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
3441
3441
  return vue.createVNode("div", {
3442
- "class": bem$1b()
3443
- }, [vue.createVNode(stdin_default$1v, vue.mergeProps(props, {
3442
+ "class": bem$1c()
3443
+ }, [vue.createVNode(stdin_default$1w, vue.mergeProps(props, {
3444
3444
  "onConfirm": onConfirm,
3445
3445
  "onCancel": onCancel
3446
3446
  }), null), vue.createVNode(Tabs, {
3447
3447
  "shrink": true,
3448
- "class": bem$1b("tabs"),
3448
+ "class": bem$1c("tabs"),
3449
3449
  "animated": true
3450
3450
  }, {
3451
3451
  default: () => [props.tabs.map((title, index) => vue.createVNode(Tab, {
3452
3452
  "title": title,
3453
- "titleClass": bem$1b("tab-title")
3453
+ "titleClass": bem$1c("tab-title")
3454
3454
  }, {
3455
3455
  default: () => [childNodes == null ? void 0 : childNodes[index]]
3456
3456
  }))]
@@ -3473,8 +3473,8 @@
3473
3473
  toolbarPosition: makeStringProp("top"),
3474
3474
  columnsFieldNames: Object
3475
3475
  });
3476
- var stdin_default$1m = vue.defineComponent({
3477
- name: name$1p,
3476
+ var stdin_default$1n = vue.defineComponent({
3477
+ name: name$1q,
3478
3478
  props: pickerProps,
3479
3479
  emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue"],
3480
3480
  setup(props, {
@@ -3547,7 +3547,7 @@
3547
3547
  return params;
3548
3548
  };
3549
3549
  const cancel = () => emit("cancel", getEventParams());
3550
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1w, {
3550
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1x, {
3551
3551
  "value": selectedValues.value[columnIndex],
3552
3552
  "fields": fields.value,
3553
3553
  "options": options,
@@ -3570,10 +3570,10 @@
3570
3570
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
3571
3571
  };
3572
3572
  return [vue.createVNode("div", {
3573
- "class": bem$1k("mask"),
3573
+ "class": bem$1l("mask"),
3574
3574
  "style": maskStyle
3575
3575
  }, null), vue.createVNode("div", {
3576
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1k("frame")],
3576
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1l("frame")],
3577
3577
  "style": frameStyle
3578
3578
  }, null)];
3579
3579
  }
@@ -3585,13 +3585,13 @@
3585
3585
  };
3586
3586
  return vue.createVNode("div", {
3587
3587
  "ref": columnsRef,
3588
- "class": bem$1k("columns"),
3588
+ "class": bem$1l("columns"),
3589
3589
  "style": columnsStyle
3590
3590
  }, [renderColumnItems(), renderMask(wrapHeight)]);
3591
3591
  };
3592
3592
  const renderToolbar = () => {
3593
3593
  if (props.showToolbar && !parent) {
3594
- return vue.createVNode(stdin_default$1v, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3594
+ return vue.createVNode(stdin_default$1w, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3595
3595
  "onConfirm": confirm,
3596
3596
  "onCancel": cancel
3597
3597
  }), pick(slots, pickerToolbarSlots));
@@ -3633,9 +3633,9 @@
3633
3633
  return () => {
3634
3634
  var _a, _b;
3635
3635
  return vue.createVNode("div", {
3636
- "class": bem$1k()
3636
+ "class": bem$1l()
3637
3637
  }, [props.toolbarPosition === "top" ? renderToolbar() : null, props.loading ? vue.createVNode(Loading, {
3638
- "class": bem$1k("loading")
3638
+ "class": bem$1l("loading")
3639
3639
  }, null) : null, (_a = slots["columns-top"]) == null ? void 0 : _a.call(slots), renderColumns(), (_b = slots["columns-bottom"]) == null ? void 0 : _b.call(slots), props.toolbarPosition === "bottom" ? renderToolbar() : null]);
3640
3640
  };
3641
3641
  }
@@ -3726,8 +3726,8 @@
3726
3726
  }
3727
3727
  return options;
3728
3728
  }
3729
- const Picker = withInstall(stdin_default$1m);
3730
- const [name$1e, bem$1a] = createNamespace("area");
3729
+ const Picker = withInstall(stdin_default$1n);
3730
+ const [name$1f, bem$1b] = createNamespace("area");
3731
3731
  const areaProps = extend({}, pickerSharedProps, {
3732
3732
  modelValue: String,
3733
3733
  columnsNum: makeNumericProp(3),
@@ -3737,8 +3737,8 @@
3737
3737
  default: () => ({})
3738
3738
  }
3739
3739
  });
3740
- var stdin_default$1l = vue.defineComponent({
3741
- name: name$1e,
3740
+ var stdin_default$1m = vue.defineComponent({
3741
+ name: name$1f,
3742
3742
  props: areaProps,
3743
3743
  emits: ["change", "confirm", "cancel", "update:modelValue"],
3744
3744
  setup(props, {
@@ -3785,7 +3785,7 @@
3785
3785
  "ref": picker,
3786
3786
  "modelValue": codes.value,
3787
3787
  "onUpdate:modelValue": ($event) => codes.value = $event,
3788
- "class": bem$1a(),
3788
+ "class": bem$1b(),
3789
3789
  "columns": columns.value,
3790
3790
  "onChange": onChange,
3791
3791
  "onCancel": onCancel,
@@ -3793,8 +3793,8 @@
3793
3793
  }, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
3794
3794
  }
3795
3795
  });
3796
- const Area = withInstall(stdin_default$1l);
3797
- const [name$1d, bem$19] = createNamespace("cell");
3796
+ const Area = withInstall(stdin_default$1m);
3797
+ const [name$1e, bem$1a] = createNamespace("cell");
3798
3798
  const cellSharedProps = {
3799
3799
  tag: makeStringProp("div"),
3800
3800
  icon: String,
@@ -3818,8 +3818,8 @@
3818
3818
  }
3819
3819
  };
3820
3820
  const cellProps = extend({}, cellSharedProps, routeProps);
3821
- var stdin_default$1k = vue.defineComponent({
3822
- name: name$1d,
3821
+ var stdin_default$1l = vue.defineComponent({
3822
+ name: name$1e,
3823
3823
  props: cellProps,
3824
3824
  setup(props, {
3825
3825
  slots
@@ -3829,14 +3829,14 @@
3829
3829
  const showLabel = slots.label || isDef(props.label);
3830
3830
  if (showLabel) {
3831
3831
  return vue.createVNode("div", {
3832
- "class": [bem$19("label"), props.labelClass]
3832
+ "class": [bem$1a("label"), props.labelClass]
3833
3833
  }, [slots.label ? slots.label() : props.label]);
3834
3834
  }
3835
3835
  };
3836
3836
  const renderTitle = () => {
3837
3837
  if (slots.title || isDef(props.title)) {
3838
3838
  return vue.createVNode("div", {
3839
- "class": [bem$19("title"), props.titleClass],
3839
+ "class": [bem$1a("title"), props.titleClass],
3840
3840
  "style": props.titleStyle
3841
3841
  }, [slots.title ? slots.title() : vue.createVNode("span", null, [props.title]), renderLabel()]);
3842
3842
  }
@@ -3846,7 +3846,7 @@
3846
3846
  const hasValue = slot || isDef(props.value);
3847
3847
  if (hasValue) {
3848
3848
  return vue.createVNode("div", {
3849
- "class": [bem$19("value"), props.valueClass]
3849
+ "class": [bem$1a("value"), props.valueClass]
3850
3850
  }, [slot ? slot() : vue.createVNode("span", null, [props.value])]);
3851
3851
  }
3852
3852
  };
@@ -3857,7 +3857,7 @@
3857
3857
  if (props.icon) {
3858
3858
  return vue.createVNode(Icon, {
3859
3859
  "name": props.icon,
3860
- "class": bem$19("left-icon"),
3860
+ "class": bem$1a("left-icon"),
3861
3861
  "classPrefix": props.iconPrefix
3862
3862
  }, null);
3863
3863
  }
@@ -3867,10 +3867,10 @@
3867
3867
  return slots["right-icon"]();
3868
3868
  }
3869
3869
  if (props.isLink) {
3870
- const name2 = props.arrowDirection ? `arrow-${props.arrowDirection}` : "arrow";
3870
+ const name2 = props.arrowDirection && props.arrowDirection !== "right" ? `arrow-${props.arrowDirection}` : "arrow";
3871
3871
  return vue.createVNode(Icon, {
3872
3872
  "name": name2,
3873
- "class": bem$19("right-icon")
3873
+ "class": bem$1a("right-icon")
3874
3874
  }, null);
3875
3875
  }
3876
3876
  };
@@ -3895,7 +3895,7 @@
3895
3895
  classes[size] = !!size;
3896
3896
  }
3897
3897
  return vue.createVNode(tag, {
3898
- "class": bem$19(classes),
3898
+ "class": bem$1a(classes),
3899
3899
  "role": clickable ? "button" : void 0,
3900
3900
  "tabindex": clickable ? 0 : void 0,
3901
3901
  "onClick": route2
@@ -3908,8 +3908,8 @@
3908
3908
  };
3909
3909
  }
3910
3910
  });
3911
- const Cell = withInstall(stdin_default$1k);
3912
- const [name$1c, bem$18] = createNamespace("form");
3911
+ const Cell = withInstall(stdin_default$1l);
3912
+ const [name$1d, bem$19] = createNamespace("form");
3913
3913
  const formProps = {
3914
3914
  colon: Boolean,
3915
3915
  disabled: Boolean,
@@ -3928,8 +3928,8 @@
3928
3928
  default: "onBlur"
3929
3929
  }
3930
3930
  };
3931
- var stdin_default$1j = vue.defineComponent({
3932
- name: name$1c,
3931
+ var stdin_default$1k = vue.defineComponent({
3932
+ name: name$1d,
3933
3933
  props: formProps,
3934
3934
  emits: ["submit", "failed"],
3935
3935
  setup(props, {
@@ -4053,13 +4053,13 @@
4053
4053
  return () => {
4054
4054
  var _a;
4055
4055
  return vue.createVNode("form", {
4056
- "class": bem$18(),
4056
+ "class": bem$19(),
4057
4057
  "onSubmit": onSubmit
4058
4058
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4059
4059
  };
4060
4060
  }
4061
4061
  });
4062
- const Form = withInstall(stdin_default$1j);
4062
+ const Form = withInstall(stdin_default$1k);
4063
4063
  function isEmptyValue(value) {
4064
4064
  if (Array.isArray(value)) {
4065
4065
  return !value.length;
@@ -4148,7 +4148,7 @@
4148
4148
  function cutString(str, maxlength) {
4149
4149
  return [...str].slice(0, maxlength).join("");
4150
4150
  }
4151
- const [name$1b, bem$17] = createNamespace("field");
4151
+ const [name$1c, bem$18] = createNamespace("field");
4152
4152
  const fieldSharedProps = {
4153
4153
  id: String,
4154
4154
  name: String,
@@ -4195,8 +4195,8 @@
4195
4195
  default: null
4196
4196
  }
4197
4197
  });
4198
- var stdin_default$1i = vue.defineComponent({
4199
- name: name$1b,
4198
+ var stdin_default$1j = vue.defineComponent({
4199
+ name: name$1c,
4200
4200
  props: fieldProps,
4201
4201
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
4202
4202
  setup(props, {
@@ -4425,7 +4425,7 @@
4425
4425
  const getInputId = () => props.id || `${id}-input`;
4426
4426
  const getValidationStatus = () => state.status;
4427
4427
  const renderInput = () => {
4428
- const controlClass = bem$17("control", [getProp("inputAlign"), {
4428
+ const controlClass = bem$18("control", [getProp("inputAlign"), {
4429
4429
  error: showError.value,
4430
4430
  custom: !!slots.input,
4431
4431
  "min-height": props.type === "textarea" && !props.autosize
@@ -4467,7 +4467,7 @@
4467
4467
  const leftIconSlot = slots["left-icon"];
4468
4468
  if (props.leftIcon || leftIconSlot) {
4469
4469
  return vue.createVNode("div", {
4470
- "class": bem$17("left-icon"),
4470
+ "class": bem$18("left-icon"),
4471
4471
  "onClick": onClickLeftIcon
4472
4472
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
4473
4473
  "name": props.leftIcon,
@@ -4479,7 +4479,7 @@
4479
4479
  const rightIconSlot = slots["right-icon"];
4480
4480
  if (props.rightIcon || rightIconSlot) {
4481
4481
  return vue.createVNode("div", {
4482
- "class": bem$17("right-icon"),
4482
+ "class": bem$18("right-icon"),
4483
4483
  "onClick": onClickRightIcon
4484
4484
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
4485
4485
  "name": props.rightIcon,
@@ -4491,9 +4491,9 @@
4491
4491
  if (props.showWordLimit && props.maxlength) {
4492
4492
  const count = getStringLength(getModelValue());
4493
4493
  return vue.createVNode("div", {
4494
- "class": bem$17("word-limit")
4494
+ "class": bem$18("word-limit")
4495
4495
  }, [vue.createVNode("span", {
4496
- "class": bem$17("word-num")
4496
+ "class": bem$18("word-num")
4497
4497
  }, [count]), vue.createTextVNode("/"), props.maxlength]);
4498
4498
  }
4499
4499
  };
@@ -4506,7 +4506,7 @@
4506
4506
  const slot = slots["error-message"];
4507
4507
  const errorMessageAlign = getProp("errorMessageAlign");
4508
4508
  return vue.createVNode("div", {
4509
- "class": bem$17("error-message", errorMessageAlign)
4509
+ "class": bem$18("error-message", errorMessageAlign)
4510
4510
  }, [slot ? slot({
4511
4511
  message
4512
4512
  }) : message]);
@@ -4525,13 +4525,13 @@
4525
4525
  }
4526
4526
  };
4527
4527
  const renderFieldBody = () => [vue.createVNode("div", {
4528
- "class": bem$17("body")
4528
+ "class": bem$18("body")
4529
4529
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
4530
4530
  "ref": clearIconRef,
4531
4531
  "name": props.clearIcon,
4532
- "class": bem$17("clear")
4532
+ "class": bem$18("clear")
4533
4533
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
4534
- "class": bem$17("button")
4534
+ "class": bem$18("button")
4535
4535
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
4536
4536
  useExpose({
4537
4537
  blur,
@@ -4570,7 +4570,7 @@
4570
4570
  const renderTitle = () => labelAlign === "top" ? [LeftIcon, Label] : Label;
4571
4571
  return vue.createVNode(Cell, {
4572
4572
  "size": props.size,
4573
- "class": bem$17({
4573
+ "class": bem$18({
4574
4574
  error: showError.value,
4575
4575
  disabled,
4576
4576
  [`label-${labelAlign}`]: labelAlign
@@ -4580,8 +4580,8 @@
4580
4580
  "isLink": props.isLink,
4581
4581
  "clickable": props.clickable,
4582
4582
  "titleStyle": labelStyle.value,
4583
- "valueClass": bem$17("value"),
4584
- "titleClass": [bem$17("label", [labelAlign, {
4583
+ "valueClass": bem$18("value"),
4584
+ "titleClass": [bem$18("label", [labelAlign, {
4585
4585
  required: props.required
4586
4586
  }]), props.labelClass],
4587
4587
  "arrowDirection": props.arrowDirection
@@ -4594,7 +4594,7 @@
4594
4594
  };
4595
4595
  }
4596
4596
  });
4597
- const Field = withInstall(stdin_default$1i);
4597
+ const Field = withInstall(stdin_default$1j);
4598
4598
  let lockCount = 0;
4599
4599
  function lockClick(lock) {
4600
4600
  if (lock) {
@@ -4609,7 +4609,7 @@
4609
4609
  }
4610
4610
  }
4611
4611
  }
4612
- const [name$1a, bem$16] = createNamespace("toast");
4612
+ const [name$1b, bem$17] = createNamespace("toast");
4613
4613
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
4614
4614
  const toastProps = {
4615
4615
  icon: String,
@@ -4632,8 +4632,8 @@
4632
4632
  closeOnClick: Boolean,
4633
4633
  closeOnClickOverlay: Boolean
4634
4634
  };
4635
- var stdin_default$1h = vue.defineComponent({
4636
- name: name$1a,
4635
+ var stdin_default$1i = vue.defineComponent({
4636
+ name: name$1b,
4637
4637
  props: toastProps,
4638
4638
  emits: ["update:show"],
4639
4639
  setup(props, {
@@ -4669,13 +4669,13 @@
4669
4669
  return vue.createVNode(Icon, {
4670
4670
  "name": icon || type,
4671
4671
  "size": iconSize,
4672
- "class": bem$16("icon"),
4672
+ "class": bem$17("icon"),
4673
4673
  "classPrefix": iconPrefix
4674
4674
  }, null);
4675
4675
  }
4676
4676
  if (type === "loading") {
4677
4677
  return vue.createVNode(Loading, {
4678
- "class": bem$16("loading"),
4678
+ "class": bem$17("loading"),
4679
4679
  "size": iconSize,
4680
4680
  "type": loadingType
4681
4681
  }, null);
@@ -4688,16 +4688,16 @@
4688
4688
  } = props;
4689
4689
  if (slots.message) {
4690
4690
  return vue.createVNode("div", {
4691
- "class": bem$16("text")
4691
+ "class": bem$17("text")
4692
4692
  }, [slots.message()]);
4693
4693
  }
4694
4694
  if (isDef(message) && message !== "") {
4695
4695
  return type === "html" ? vue.createVNode("div", {
4696
4696
  "key": 0,
4697
- "class": bem$16("text"),
4697
+ "class": bem$17("text"),
4698
4698
  "innerHTML": String(message)
4699
4699
  }, null) : vue.createVNode("div", {
4700
- "class": bem$16("text")
4700
+ "class": bem$17("text")
4701
4701
  }, [message]);
4702
4702
  }
4703
4703
  };
@@ -4713,7 +4713,7 @@
4713
4713
  vue.onMounted(toggleClickable);
4714
4714
  vue.onUnmounted(toggleClickable);
4715
4715
  return () => vue.createVNode(Popup, vue.mergeProps({
4716
- "class": [bem$16([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4716
+ "class": [bem$17([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4717
4717
  [props.type]: !props.icon
4718
4718
  }]), props.className],
4719
4719
  "lockScroll": false,
@@ -4814,7 +4814,7 @@
4814
4814
  onClosed,
4815
4815
  "onUpdate:show": toggle
4816
4816
  };
4817
- return vue.createVNode(stdin_default$1h, vue.mergeProps(state, attrs), null);
4817
+ return vue.createVNode(stdin_default$1i, vue.mergeProps(state, attrs), null);
4818
4818
  };
4819
4819
  vue.watch(message, (val) => {
4820
4820
  state.message = val;
@@ -4884,8 +4884,8 @@
4884
4884
  const allowMultipleToast = (value = true) => {
4885
4885
  allowMultiple = value;
4886
4886
  };
4887
- const Toast = withInstall(stdin_default$1h);
4888
- const [name$19, bem$15] = createNamespace("switch");
4887
+ const Toast = withInstall(stdin_default$1i);
4888
+ const [name$1a, bem$16] = createNamespace("switch");
4889
4889
  const switchProps = {
4890
4890
  size: numericProp,
4891
4891
  loading: Boolean,
@@ -4902,8 +4902,8 @@
4902
4902
  default: false
4903
4903
  }
4904
4904
  };
4905
- var stdin_default$1g = vue.defineComponent({
4906
- name: name$19,
4905
+ var stdin_default$1h = vue.defineComponent({
4906
+ name: name$1a,
4907
4907
  props: switchProps,
4908
4908
  emits: ["change", "update:modelValue"],
4909
4909
  setup(props, {
@@ -4922,7 +4922,7 @@
4922
4922
  if (props.loading) {
4923
4923
  const color = isChecked() ? props.activeColor : props.inactiveColor;
4924
4924
  return vue.createVNode(Loading, {
4925
- "class": bem$15("loading"),
4925
+ "class": bem$16("loading"),
4926
4926
  "color": color
4927
4927
  }, null);
4928
4928
  }
@@ -4947,7 +4947,7 @@
4947
4947
  };
4948
4948
  return vue.createVNode("div", {
4949
4949
  "role": "switch",
4950
- "class": bem$15({
4950
+ "class": bem$16({
4951
4951
  on: checked,
4952
4952
  loading,
4953
4953
  disabled
@@ -4957,16 +4957,16 @@
4957
4957
  "aria-checked": checked,
4958
4958
  "onClick": onClick
4959
4959
  }, [vue.createVNode("div", {
4960
- "class": bem$15("node")
4960
+ "class": bem$16("node")
4961
4961
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
4962
4962
  };
4963
4963
  }
4964
4964
  });
4965
- const Switch = withInstall(stdin_default$1g);
4966
- const [name$18, bem$14] = createNamespace("address-edit-detail");
4965
+ const Switch = withInstall(stdin_default$1h);
4966
+ const [name$19, bem$15] = createNamespace("address-edit-detail");
4967
4967
  const t$i = createNamespace("address-edit")[2];
4968
- var stdin_default$1f = vue.defineComponent({
4969
- name: name$18,
4968
+ var stdin_default$1g = vue.defineComponent({
4969
+ name: name$19,
4970
4970
  props: {
4971
4971
  show: Boolean,
4972
4972
  rows: numericProp,
@@ -5000,7 +5000,7 @@
5000
5000
  "icon": "location-o",
5001
5001
  "title": express.name,
5002
5002
  "label": express.address,
5003
- "class": bem$14("search-item"),
5003
+ "class": bem$15("search-item"),
5004
5004
  "border": false,
5005
5005
  "onClick": () => onSelect(express)
5006
5006
  }, null));
@@ -5014,7 +5014,7 @@
5014
5014
  "autosize": true,
5015
5015
  "clearable": true,
5016
5016
  "ref": field,
5017
- "class": bem$14(),
5017
+ "class": bem$15(),
5018
5018
  "rows": props.rows,
5019
5019
  "type": "textarea",
5020
5020
  "rules": props.rules,
@@ -5031,7 +5031,7 @@
5031
5031
  };
5032
5032
  }
5033
5033
  });
5034
- const [name$17, bem$13, t$h] = createNamespace("address-edit");
5034
+ const [name$18, bem$14, t$h] = createNamespace("address-edit");
5035
5035
  const DEFAULT_DATA = {
5036
5036
  name: "",
5037
5037
  tel: "",
@@ -5071,8 +5071,8 @@
5071
5071
  default: isMobile
5072
5072
  }
5073
5073
  };
5074
- var stdin_default$1e = vue.defineComponent({
5075
- name: name$17,
5074
+ var stdin_default$1f = vue.defineComponent({
5075
+ name: name$18,
5076
5076
  props: addressEditProps,
5077
5077
  emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
5078
5078
  setup(props, {
@@ -5183,7 +5183,7 @@
5183
5183
  return vue.withDirectives(vue.createVNode(Cell, {
5184
5184
  "center": true,
5185
5185
  "title": t$h("defaultAddress"),
5186
- "class": bem$13("default")
5186
+ "class": bem$14("default")
5187
5187
  }, slots2), [[vue.vShow, !hideBottomFields.value]]);
5188
5188
  }
5189
5189
  };
@@ -5209,13 +5209,13 @@
5209
5209
  disableArea
5210
5210
  } = props;
5211
5211
  return vue.createVNode(Form, {
5212
- "class": bem$13(),
5212
+ "class": bem$14(),
5213
5213
  "onSubmit": onSave
5214
5214
  }, {
5215
5215
  default: () => {
5216
5216
  var _a;
5217
5217
  return [vue.createVNode("div", {
5218
- "class": bem$13("fields")
5218
+ "class": bem$14("fields")
5219
5219
  }, [vue.createVNode(Field, {
5220
5220
  "modelValue": data.name,
5221
5221
  "onUpdate:modelValue": ($event) => data.name = $event,
@@ -5246,7 +5246,7 @@
5246
5246
  emit("clickArea");
5247
5247
  showAreaPopup.value = !disableArea;
5248
5248
  }
5249
- }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1f, {
5249
+ }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1g, {
5250
5250
  "show": props.showDetail,
5251
5251
  "rows": props.detailRows,
5252
5252
  "rules": rules.value.addressDetail,
@@ -5260,19 +5260,19 @@
5260
5260
  "onInput": onChangeDetail,
5261
5261
  "onSelectSearch": (event) => emit("selectSearch", event)
5262
5262
  }, null), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), vue.withDirectives(vue.createVNode("div", {
5263
- "class": bem$13("buttons")
5263
+ "class": bem$14("buttons")
5264
5264
  }, [vue.createVNode(Button, {
5265
5265
  "block": true,
5266
5266
  "round": true,
5267
5267
  "type": "primary",
5268
5268
  "text": props.saveButtonText || t$h("save"),
5269
- "class": bem$13("button"),
5269
+ "class": bem$14("button"),
5270
5270
  "loading": props.isSaving,
5271
5271
  "nativeType": "submit"
5272
5272
  }, null), props.showDelete && vue.createVNode(Button, {
5273
5273
  "block": true,
5274
5274
  "round": true,
5275
- "class": bem$13("button"),
5275
+ "class": bem$14("button"),
5276
5276
  "loading": props.isDeleting,
5277
5277
  "text": props.deleteButtonText || t$h("delete"),
5278
5278
  "onClick": onDelete
@@ -5302,8 +5302,8 @@
5302
5302
  };
5303
5303
  }
5304
5304
  });
5305
- const AddressEdit = withInstall(stdin_default$1e);
5306
- const [name$16, bem$12] = createNamespace("radio-group");
5305
+ const AddressEdit = withInstall(stdin_default$1f);
5306
+ const [name$17, bem$13] = createNamespace("radio-group");
5307
5307
  const radioGroupProps = {
5308
5308
  disabled: Boolean,
5309
5309
  iconSize: numericProp,
@@ -5311,9 +5311,9 @@
5311
5311
  modelValue: unknownProp,
5312
5312
  checkedColor: String
5313
5313
  };
5314
- const RADIO_KEY = Symbol(name$16);
5315
- var stdin_default$1d = vue.defineComponent({
5316
- name: name$16,
5314
+ const RADIO_KEY = Symbol(name$17);
5315
+ var stdin_default$1e = vue.defineComponent({
5316
+ name: name$17,
5317
5317
  props: radioGroupProps,
5318
5318
  emits: ["change", "update:modelValue"],
5319
5319
  setup(props, {
@@ -5333,14 +5333,14 @@
5333
5333
  return () => {
5334
5334
  var _a;
5335
5335
  return vue.createVNode("div", {
5336
- "class": bem$12([props.direction]),
5336
+ "class": bem$13([props.direction]),
5337
5337
  "role": "radiogroup"
5338
5338
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5339
5339
  };
5340
5340
  }
5341
5341
  });
5342
- const RadioGroup = withInstall(stdin_default$1d);
5343
- const [name$15, bem$11] = createNamespace("tag");
5342
+ const RadioGroup = withInstall(stdin_default$1e);
5343
+ const [name$16, bem$12] = createNamespace("tag");
5344
5344
  const tagProps = {
5345
5345
  size: String,
5346
5346
  mark: Boolean,
@@ -5352,8 +5352,8 @@
5352
5352
  textColor: String,
5353
5353
  closeable: Boolean
5354
5354
  };
5355
- var stdin_default$1c = vue.defineComponent({
5356
- name: name$15,
5355
+ var stdin_default$1d = vue.defineComponent({
5356
+ name: name$16,
5357
5357
  props: tagProps,
5358
5358
  emits: ["close"],
5359
5359
  setup(props, {
@@ -5396,12 +5396,12 @@
5396
5396
  }
5397
5397
  const CloseIcon = closeable && vue.createVNode(Icon, {
5398
5398
  "name": "cross",
5399
- "class": [bem$11("close"), HAPTICS_FEEDBACK],
5399
+ "class": [bem$12("close"), HAPTICS_FEEDBACK],
5400
5400
  "onClick": onClose
5401
5401
  }, null);
5402
5402
  return vue.createVNode("span", {
5403
5403
  "style": getStyle(),
5404
- "class": bem$11([classes, type])
5404
+ "class": bem$12([classes, type])
5405
5405
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
5406
5406
  };
5407
5407
  return () => vue.createVNode(vue.Transition, {
@@ -5411,7 +5411,7 @@
5411
5411
  });
5412
5412
  }
5413
5413
  });
5414
- const Tag = withInstall(stdin_default$1c);
5414
+ const Tag = withInstall(stdin_default$1d);
5415
5415
  const checkerProps = {
5416
5416
  name: unknownProp,
5417
5417
  shape: makeStringProp("round"),
@@ -5422,7 +5422,7 @@
5422
5422
  labelPosition: String,
5423
5423
  labelDisabled: Boolean
5424
5424
  };
5425
- var stdin_default$1b = vue.defineComponent({
5425
+ var stdin_default$1c = vue.defineComponent({
5426
5426
  props: extend({}, checkerProps, {
5427
5427
  bem: makeRequiredProp(Function),
5428
5428
  role: String,
@@ -5512,9 +5512,9 @@
5512
5512
  }
5513
5513
  });
5514
5514
  const radioProps = checkerProps;
5515
- const [name$14, bem$10] = createNamespace("radio");
5516
- var stdin_default$1a = vue.defineComponent({
5517
- name: name$14,
5515
+ const [name$15, bem$11] = createNamespace("radio");
5516
+ var stdin_default$1b = vue.defineComponent({
5517
+ name: name$15,
5518
5518
  props: checkerProps,
5519
5519
  emits: ["update:modelValue"],
5520
5520
  setup(props, {
@@ -5535,8 +5535,8 @@
5535
5535
  emit("update:modelValue", props.name);
5536
5536
  }
5537
5537
  };
5538
- return () => vue.createVNode(stdin_default$1b, vue.mergeProps({
5539
- "bem": bem$10,
5538
+ return () => vue.createVNode(stdin_default$1c, vue.mergeProps({
5539
+ "bem": bem$11,
5540
5540
  "role": "radio",
5541
5541
  "parent": parent,
5542
5542
  "checked": checked(),
@@ -5544,10 +5544,10 @@
5544
5544
  }, props), pick(slots, ["default", "icon"]));
5545
5545
  }
5546
5546
  });
5547
- const Radio = withInstall(stdin_default$1a);
5548
- const [name$13, bem$$] = createNamespace("address-item");
5549
- var stdin_default$19 = vue.defineComponent({
5550
- name: name$13,
5547
+ const Radio = withInstall(stdin_default$1b);
5548
+ const [name$14, bem$10] = createNamespace("address-item");
5549
+ var stdin_default$1a = vue.defineComponent({
5550
+ name: name$14,
5551
5551
  props: {
5552
5552
  address: makeRequiredProp(Object),
5553
5553
  disabled: Boolean,
@@ -5567,7 +5567,7 @@
5567
5567
  };
5568
5568
  const renderRightIcon = () => vue.createVNode(Icon, {
5569
5569
  "name": "edit",
5570
- "class": bem$$("edit"),
5570
+ "class": bem$10("edit"),
5571
5571
  "onClick": (event) => {
5572
5572
  event.stopPropagation();
5573
5573
  emit("edit");
@@ -5582,7 +5582,7 @@
5582
5582
  return vue.createVNode(Tag, {
5583
5583
  "type": "primary",
5584
5584
  "round": true,
5585
- "class": bem$$("tag")
5585
+ "class": bem$10("tag")
5586
5586
  }, {
5587
5587
  default: () => [props.defaultTagText]
5588
5588
  });
@@ -5595,9 +5595,9 @@
5595
5595
  switchable
5596
5596
  } = props;
5597
5597
  const Info = [vue.createVNode("div", {
5598
- "class": bem$$("name")
5598
+ "class": bem$10("name")
5599
5599
  }, [`${address.name} ${address.tel}`, renderTag()]), vue.createVNode("div", {
5600
- "class": bem$$("address")
5600
+ "class": bem$10("address")
5601
5601
  }, [address.address])];
5602
5602
  if (switchable && !disabled) {
5603
5603
  return vue.createVNode(Radio, {
@@ -5615,13 +5615,13 @@
5615
5615
  disabled
5616
5616
  } = props;
5617
5617
  return vue.createVNode("div", {
5618
- "class": bem$$({
5618
+ "class": bem$10({
5619
5619
  disabled
5620
5620
  }),
5621
5621
  "onClick": onClick
5622
5622
  }, [vue.createVNode(Cell, {
5623
5623
  "border": false,
5624
- "titleClass": bem$$("title")
5624
+ "titleClass": bem$10("title")
5625
5625
  }, {
5626
5626
  title: renderContent,
5627
5627
  "right-icon": renderRightIcon
@@ -5631,7 +5631,7 @@
5631
5631
  };
5632
5632
  }
5633
5633
  });
5634
- const [name$12, bem$_, t$g] = createNamespace("address-list");
5634
+ const [name$13, bem$$, t$g] = createNamespace("address-list");
5635
5635
  const addressListProps = {
5636
5636
  list: makeArrayProp(),
5637
5637
  modelValue: numericProp,
@@ -5641,8 +5641,8 @@
5641
5641
  addButtonText: String,
5642
5642
  defaultTagText: String
5643
5643
  };
5644
- var stdin_default$18 = vue.defineComponent({
5645
- name: name$12,
5644
+ var stdin_default$19 = vue.defineComponent({
5645
+ name: name$13,
5646
5646
  props: addressListProps,
5647
5647
  emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
5648
5648
  setup(props, {
@@ -5658,7 +5658,7 @@
5658
5658
  emit("update:modelValue", item.id);
5659
5659
  }
5660
5660
  };
5661
- return vue.createVNode(stdin_default$19, {
5661
+ return vue.createVNode(stdin_default$1a, {
5662
5662
  "key": item.id,
5663
5663
  "address": item,
5664
5664
  "disabled": disabled,
@@ -5678,13 +5678,13 @@
5678
5678
  }
5679
5679
  };
5680
5680
  const renderBottom = () => vue.createVNode("div", {
5681
- "class": [bem$_("bottom"), "van-safe-area-bottom"]
5681
+ "class": [bem$$("bottom"), "van-safe-area-bottom"]
5682
5682
  }, [vue.createVNode(Button, {
5683
5683
  "round": true,
5684
5684
  "block": true,
5685
5685
  "type": "primary",
5686
5686
  "text": props.addButtonText || t$g("add"),
5687
- "class": bem$_("add"),
5687
+ "class": bem$$("add"),
5688
5688
  "onClick": () => emit("add")
5689
5689
  }, null)]);
5690
5690
  return () => {
@@ -5692,10 +5692,10 @@
5692
5692
  const List2 = renderList(props.list);
5693
5693
  const DisabledList = renderList(props.disabledList, true);
5694
5694
  const DisabledText = props.disabledText && vue.createVNode("div", {
5695
- "class": bem$_("disabled-text")
5695
+ "class": bem$$("disabled-text")
5696
5696
  }, [props.disabledText]);
5697
5697
  return vue.createVNode("div", {
5698
- "class": bem$_()
5698
+ "class": bem$$()
5699
5699
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), vue.createVNode(RadioGroup, {
5700
5700
  "modelValue": props.modelValue
5701
5701
  }, {
@@ -5704,7 +5704,249 @@
5704
5704
  };
5705
5705
  }
5706
5706
  });
5707
- const AddressList = withInstall(stdin_default$18);
5707
+ const AddressList = withInstall(stdin_default$19);
5708
+ const hasIntersectionObserver = inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
5709
+ const modeType = {
5710
+ event: "event",
5711
+ observer: "observer"
5712
+ };
5713
+ function remove(arr, item) {
5714
+ if (!arr.length)
5715
+ return;
5716
+ const index = arr.indexOf(item);
5717
+ if (index > -1)
5718
+ return arr.splice(index, 1);
5719
+ }
5720
+ function getBestSelectionFromSrcset(el, scale) {
5721
+ if (el.tagName !== "IMG" || !el.getAttribute("data-srcset"))
5722
+ return;
5723
+ let options = el.getAttribute("data-srcset");
5724
+ const container = el.parentNode;
5725
+ const containerWidth = container.offsetWidth * scale;
5726
+ let spaceIndex;
5727
+ let tmpSrc;
5728
+ let tmpWidth;
5729
+ options = options.trim().split(",");
5730
+ const result = options.map((item) => {
5731
+ item = item.trim();
5732
+ spaceIndex = item.lastIndexOf(" ");
5733
+ if (spaceIndex === -1) {
5734
+ tmpSrc = item;
5735
+ tmpWidth = 999998;
5736
+ } else {
5737
+ tmpSrc = item.substr(0, spaceIndex);
5738
+ tmpWidth = parseInt(
5739
+ item.substr(spaceIndex + 1, item.length - spaceIndex - 2),
5740
+ 10
5741
+ );
5742
+ }
5743
+ return [tmpWidth, tmpSrc];
5744
+ });
5745
+ result.sort((a, b) => {
5746
+ if (a[0] < b[0]) {
5747
+ return 1;
5748
+ }
5749
+ if (a[0] > b[0]) {
5750
+ return -1;
5751
+ }
5752
+ if (a[0] === b[0]) {
5753
+ if (b[1].indexOf(".webp", b[1].length - 5) !== -1) {
5754
+ return 1;
5755
+ }
5756
+ if (a[1].indexOf(".webp", a[1].length - 5) !== -1) {
5757
+ return -1;
5758
+ }
5759
+ }
5760
+ return 0;
5761
+ });
5762
+ let bestSelectedSrc = "";
5763
+ let tmpOption;
5764
+ for (let i = 0; i < result.length; i++) {
5765
+ tmpOption = result[i];
5766
+ bestSelectedSrc = tmpOption[1];
5767
+ const next = result[i + 1];
5768
+ if (next && next[0] < containerWidth) {
5769
+ bestSelectedSrc = tmpOption[1];
5770
+ break;
5771
+ } else if (!next) {
5772
+ bestSelectedSrc = tmpOption[1];
5773
+ break;
5774
+ }
5775
+ }
5776
+ return bestSelectedSrc;
5777
+ }
5778
+ const getDPR = (scale = 1) => inBrowser ? window.devicePixelRatio || scale : scale;
5779
+ function supportWebp() {
5780
+ if (!inBrowser)
5781
+ return false;
5782
+ let support = true;
5783
+ try {
5784
+ const elem = document.createElement("canvas");
5785
+ if (elem.getContext && elem.getContext("2d")) {
5786
+ support = elem.toDataURL("image/webp").indexOf("data:image/webp") === 0;
5787
+ }
5788
+ } catch (err) {
5789
+ support = false;
5790
+ }
5791
+ return support;
5792
+ }
5793
+ function throttle(action, delay) {
5794
+ let timeout = null;
5795
+ let lastRun = 0;
5796
+ return function(...args) {
5797
+ if (timeout) {
5798
+ return;
5799
+ }
5800
+ const elapsed = Date.now() - lastRun;
5801
+ const runCallback = () => {
5802
+ lastRun = Date.now();
5803
+ timeout = false;
5804
+ action.apply(this, args);
5805
+ };
5806
+ if (elapsed >= delay) {
5807
+ runCallback();
5808
+ } else {
5809
+ timeout = setTimeout(runCallback, delay);
5810
+ }
5811
+ };
5812
+ }
5813
+ function on(el, type, func) {
5814
+ el.addEventListener(type, func, {
5815
+ capture: false,
5816
+ passive: true
5817
+ });
5818
+ }
5819
+ function off(el, type, func) {
5820
+ el.removeEventListener(type, func, false);
5821
+ }
5822
+ const loadImageAsync = (item, resolve, reject) => {
5823
+ const image = new Image();
5824
+ if (!item || !item.src) {
5825
+ return reject(new Error("image src is required"));
5826
+ }
5827
+ image.src = item.src;
5828
+ if (item.cors) {
5829
+ image.crossOrigin = item.cors;
5830
+ }
5831
+ image.onload = () => resolve({
5832
+ naturalHeight: image.naturalHeight,
5833
+ naturalWidth: image.naturalWidth,
5834
+ src: image.src
5835
+ });
5836
+ image.onerror = (e) => reject(e);
5837
+ };
5838
+ class ImageCache {
5839
+ constructor({ max }) {
5840
+ this.options = {
5841
+ max: max || 100
5842
+ };
5843
+ this.caches = [];
5844
+ }
5845
+ has(key) {
5846
+ return this.caches.indexOf(key) > -1;
5847
+ }
5848
+ add(key) {
5849
+ if (this.has(key))
5850
+ return;
5851
+ this.caches.push(key);
5852
+ if (this.caches.length > this.options.max) {
5853
+ this.free();
5854
+ }
5855
+ }
5856
+ free() {
5857
+ this.caches.shift();
5858
+ }
5859
+ }
5860
+ const [name$12, bem$_] = createNamespace("back-top");
5861
+ const backTopProps = {
5862
+ right: makeNumericProp(30),
5863
+ bottom: makeNumericProp(40),
5864
+ target: [String, Object],
5865
+ visibilityHeight: makeNumericProp(200),
5866
+ teleport: {
5867
+ type: [String, Object],
5868
+ default: "body"
5869
+ }
5870
+ };
5871
+ var stdin_default$18 = vue.defineComponent({
5872
+ name: name$12,
5873
+ inheritAttrs: false,
5874
+ props: backTopProps,
5875
+ emits: ["click"],
5876
+ setup(props, {
5877
+ emit,
5878
+ slots,
5879
+ attrs
5880
+ }) {
5881
+ const show = vue.ref(false);
5882
+ const scrollParent = vue.ref();
5883
+ const root = vue.ref(null);
5884
+ let target;
5885
+ const style = vue.computed(() => ({
5886
+ right: addUnit(props.right),
5887
+ bottom: addUnit(props.bottom)
5888
+ }));
5889
+ const onClick = (event) => {
5890
+ emit("click", event);
5891
+ target.scrollTo({
5892
+ top: 0,
5893
+ behavior: "smooth"
5894
+ });
5895
+ };
5896
+ const scroll = () => {
5897
+ show.value = getScrollTop(target) >= props.visibilityHeight;
5898
+ };
5899
+ const getTarget = () => {
5900
+ const {
5901
+ target: target2
5902
+ } = props;
5903
+ if (typeof target2 === "string") {
5904
+ const el = document.querySelector(props.target);
5905
+ if (!el) {
5906
+ throw Error("[Vant] BackTop: target element is not found.");
5907
+ }
5908
+ return el;
5909
+ }
5910
+ if (isObject(target2)) {
5911
+ return target2;
5912
+ }
5913
+ throw Error('[Vant] BackTop: type of prop "target" should be a selector or an element object');
5914
+ };
5915
+ useEventListener("scroll", throttle(scroll, 300), {
5916
+ target: scrollParent
5917
+ });
5918
+ vue.onMounted(() => {
5919
+ vue.nextTick(() => {
5920
+ if (inBrowser$1) {
5921
+ target = props.target ? getTarget() : getScrollParent$1(root.value);
5922
+ scrollParent.value = target;
5923
+ }
5924
+ });
5925
+ });
5926
+ return () => {
5927
+ const Content = vue.createVNode("div", vue.mergeProps({
5928
+ "ref": root,
5929
+ "class": bem$_({
5930
+ active: show.value
5931
+ }),
5932
+ "style": style.value,
5933
+ "onClick": onClick
5934
+ }, attrs), [slots.default ? slots.default() : vue.createVNode(Icon, {
5935
+ "name": "back-top",
5936
+ "class": bem$_("icon")
5937
+ }, null)]);
5938
+ if (props.teleport) {
5939
+ return vue.createVNode(vue.Teleport, {
5940
+ "to": props.teleport
5941
+ }, {
5942
+ default: () => [Content]
5943
+ });
5944
+ }
5945
+ return Content;
5946
+ };
5947
+ }
5948
+ });
5949
+ const BackTop = withInstall(stdin_default$18);
5708
5950
  const [name$11, bem$Z, t$f] = createNamespace("calendar");
5709
5951
  const formatMonthTitle = (date) => t$f("monthTitle", date.getFullYear(), date.getMonth() + 1);
5710
5952
  function compareMonth(date1, date2) {
@@ -7203,7 +7445,7 @@
7203
7445
  checked
7204
7446
  });
7205
7447
  useCustomFieldValue(() => props.modelValue);
7206
- return () => vue.createVNode(stdin_default$1b, vue.mergeProps({
7448
+ return () => vue.createVNode(stdin_default$1c, vue.mergeProps({
7207
7449
  "bem": bem$T,
7208
7450
  "role": "checkbox",
7209
7451
  "parent": parent,
@@ -7707,7 +7949,7 @@
7707
7949
  }
7708
7950
  });
7709
7951
  const CollapseItem = withInstall(stdin_default$V);
7710
- const ConfigProvider = withInstall(stdin_default$1F);
7952
+ const ConfigProvider = withInstall(stdin_default$1G);
7711
7953
  const [name$O, bem$N, t$d] = createNamespace("contact-card");
7712
7954
  const contactCardProps = {
7713
7955
  tel: String,
@@ -9182,11 +9424,13 @@
9182
9424
  };
9183
9425
  var stdin_default$I = vue.defineComponent({
9184
9426
  name: name$C,
9427
+ inheritAttrs: false,
9185
9428
  props: dropdownItemProps,
9186
9429
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue"],
9187
9430
  setup(props, {
9188
9431
  emit,
9189
- slots
9432
+ slots,
9433
+ attrs
9190
9434
  }) {
9191
9435
  const state = vue.reactive({
9192
9436
  showPopup: false,
@@ -9289,11 +9533,11 @@
9289
9533
  } else {
9290
9534
  style.bottom = `${offset2.value}px`;
9291
9535
  }
9292
- return vue.withDirectives(vue.createVNode("div", {
9536
+ return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
9293
9537
  "style": style,
9294
9538
  "class": bem$C([direction]),
9295
9539
  "onClick": onClickWrapper
9296
- }, [vue.createVNode(Popup, {
9540
+ }, attrs), [vue.createVNode(Popup, {
9297
9541
  "show": state.showPopup,
9298
9542
  "onUpdate:show": ($event) => state.showPopup = $event,
9299
9543
  "role": "menu",
@@ -10286,7 +10530,7 @@
10286
10530
  emit,
10287
10531
  slots
10288
10532
  }) {
10289
- const loading = vue.ref(false);
10533
+ const loading = vue.ref(props.loading);
10290
10534
  const root = vue.ref();
10291
10535
  const placeholder = vue.ref();
10292
10536
  const tabStatus = useTabStatus();
@@ -10852,11 +11096,13 @@
10852
11096
  }
10853
11097
  var stdin_default$w = vue.defineComponent({
10854
11098
  name: name$r,
11099
+ inheritAttrs: false,
10855
11100
  props: numberKeyboardProps,
10856
11101
  emits: ["show", "hide", "blur", "input", "close", "delete", "update:modelValue"],
10857
11102
  setup(props, {
10858
11103
  emit,
10859
- slots
11104
+ slots,
11105
+ attrs
10860
11106
  }) {
10861
11107
  const root = vue.ref();
10862
11108
  const genBasicKeys = () => {
@@ -11012,7 +11258,7 @@
11012
11258
  const Content = vue.createVNode(vue.Transition, {
11013
11259
  "name": props.transition ? "van-slide-up" : ""
11014
11260
  }, {
11015
- default: () => [vue.withDirectives(vue.createVNode("div", {
11261
+ default: () => [vue.withDirectives(vue.createVNode("div", vue.mergeProps({
11016
11262
  "ref": root,
11017
11263
  "style": getZIndexStyle(props.zIndex),
11018
11264
  "class": bem$q({
@@ -11021,7 +11267,7 @@
11021
11267
  }),
11022
11268
  "onAnimationend": onAnimationEnd,
11023
11269
  "onTouchstartPassive": stopPropagation
11024
- }, [Title, vue.createVNode("div", {
11270
+ }, attrs), [Title, vue.createVNode("div", {
11025
11271
  "class": bem$q("body")
11026
11272
  }, [vue.createVNode("div", {
11027
11273
  "class": bem$q("keys")
@@ -11251,7 +11497,7 @@
11251
11497
  }
11252
11498
  });
11253
11499
  const PasswordInput = withInstall(stdin_default$u);
11254
- const PickerGroup = withInstall(stdin_default$1n);
11500
+ const PickerGroup = withInstall(stdin_default$1o);
11255
11501
  function getWindow(node) {
11256
11502
  if (node == null) {
11257
11503
  return window;
@@ -15044,158 +15290,6 @@
15044
15290
  }
15045
15291
  });
15046
15292
  const Uploader = withInstall(stdin_default$4);
15047
- const hasIntersectionObserver = inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
15048
- const modeType = {
15049
- event: "event",
15050
- observer: "observer"
15051
- };
15052
- function remove(arr, item) {
15053
- if (!arr.length)
15054
- return;
15055
- const index = arr.indexOf(item);
15056
- if (index > -1)
15057
- return arr.splice(index, 1);
15058
- }
15059
- function getBestSelectionFromSrcset(el, scale) {
15060
- if (el.tagName !== "IMG" || !el.getAttribute("data-srcset"))
15061
- return;
15062
- let options = el.getAttribute("data-srcset");
15063
- const container = el.parentNode;
15064
- const containerWidth = container.offsetWidth * scale;
15065
- let spaceIndex;
15066
- let tmpSrc;
15067
- let tmpWidth;
15068
- options = options.trim().split(",");
15069
- const result = options.map((item) => {
15070
- item = item.trim();
15071
- spaceIndex = item.lastIndexOf(" ");
15072
- if (spaceIndex === -1) {
15073
- tmpSrc = item;
15074
- tmpWidth = 999998;
15075
- } else {
15076
- tmpSrc = item.substr(0, spaceIndex);
15077
- tmpWidth = parseInt(
15078
- item.substr(spaceIndex + 1, item.length - spaceIndex - 2),
15079
- 10
15080
- );
15081
- }
15082
- return [tmpWidth, tmpSrc];
15083
- });
15084
- result.sort((a, b) => {
15085
- if (a[0] < b[0]) {
15086
- return 1;
15087
- }
15088
- if (a[0] > b[0]) {
15089
- return -1;
15090
- }
15091
- if (a[0] === b[0]) {
15092
- if (b[1].indexOf(".webp", b[1].length - 5) !== -1) {
15093
- return 1;
15094
- }
15095
- if (a[1].indexOf(".webp", a[1].length - 5) !== -1) {
15096
- return -1;
15097
- }
15098
- }
15099
- return 0;
15100
- });
15101
- let bestSelectedSrc = "";
15102
- let tmpOption;
15103
- for (let i = 0; i < result.length; i++) {
15104
- tmpOption = result[i];
15105
- bestSelectedSrc = tmpOption[1];
15106
- const next = result[i + 1];
15107
- if (next && next[0] < containerWidth) {
15108
- bestSelectedSrc = tmpOption[1];
15109
- break;
15110
- } else if (!next) {
15111
- bestSelectedSrc = tmpOption[1];
15112
- break;
15113
- }
15114
- }
15115
- return bestSelectedSrc;
15116
- }
15117
- const getDPR = (scale = 1) => inBrowser ? window.devicePixelRatio || scale : scale;
15118
- function supportWebp() {
15119
- if (!inBrowser)
15120
- return false;
15121
- let support = true;
15122
- try {
15123
- const elem = document.createElement("canvas");
15124
- if (elem.getContext && elem.getContext("2d")) {
15125
- support = elem.toDataURL("image/webp").indexOf("data:image/webp") === 0;
15126
- }
15127
- } catch (err) {
15128
- support = false;
15129
- }
15130
- return support;
15131
- }
15132
- function throttle(action, delay) {
15133
- let timeout = null;
15134
- let lastRun = 0;
15135
- return function(...args) {
15136
- if (timeout) {
15137
- return;
15138
- }
15139
- const elapsed = Date.now() - lastRun;
15140
- const runCallback = () => {
15141
- lastRun = Date.now();
15142
- timeout = false;
15143
- action.apply(this, args);
15144
- };
15145
- if (elapsed >= delay) {
15146
- runCallback();
15147
- } else {
15148
- timeout = setTimeout(runCallback, delay);
15149
- }
15150
- };
15151
- }
15152
- function on(el, type, func) {
15153
- el.addEventListener(type, func, {
15154
- capture: false,
15155
- passive: true
15156
- });
15157
- }
15158
- function off(el, type, func) {
15159
- el.removeEventListener(type, func, false);
15160
- }
15161
- const loadImageAsync = (item, resolve, reject) => {
15162
- const image = new Image();
15163
- if (!item || !item.src) {
15164
- return reject(new Error("image src is required"));
15165
- }
15166
- image.src = item.src;
15167
- if (item.cors) {
15168
- image.crossOrigin = item.cors;
15169
- }
15170
- image.onload = () => resolve({
15171
- naturalHeight: image.naturalHeight,
15172
- naturalWidth: image.naturalWidth,
15173
- src: image.src
15174
- });
15175
- image.onerror = (e) => reject(e);
15176
- };
15177
- class ImageCache {
15178
- constructor({ max }) {
15179
- this.options = {
15180
- max: max || 100
15181
- };
15182
- this.caches = [];
15183
- }
15184
- has(key) {
15185
- return this.caches.indexOf(key) > -1;
15186
- }
15187
- add(key) {
15188
- if (this.has(key))
15189
- return;
15190
- this.caches.push(key);
15191
- if (this.caches.length > this.options.max) {
15192
- this.free();
15193
- }
15194
- }
15195
- free() {
15196
- this.caches.shift();
15197
- }
15198
- }
15199
15293
  class ReactiveListener {
15200
15294
  constructor({
15201
15295
  el,
@@ -15924,7 +16018,7 @@
15924
16018
  });
15925
16019
  }
15926
16020
  };
15927
- const version = "4.0.0-rc.7";
16021
+ const version = "4.0.0-rc.9";
15928
16022
  function install(app) {
15929
16023
  const components = [
15930
16024
  ActionBar,
@@ -15934,6 +16028,7 @@
15934
16028
  AddressEdit,
15935
16029
  AddressList,
15936
16030
  Area,
16031
+ BackTop,
15937
16032
  Badge,
15938
16033
  Button,
15939
16034
  Calendar,
@@ -16035,6 +16130,7 @@
16035
16130
  exports2.AddressEdit = AddressEdit;
16036
16131
  exports2.AddressList = AddressList;
16037
16132
  exports2.Area = Area;
16133
+ exports2.BackTop = BackTop;
16038
16134
  exports2.Badge = Badge;
16039
16135
  exports2.Button = Button;
16040
16136
  exports2.Calendar = Calendar;
@@ -16129,6 +16225,7 @@
16129
16225
  exports2.addressListProps = addressListProps;
16130
16226
  exports2.allowMultipleToast = allowMultipleToast;
16131
16227
  exports2.areaProps = areaProps;
16228
+ exports2.backTopProps = backTopProps;
16132
16229
  exports2.badgeProps = badgeProps;
16133
16230
  exports2.buttonProps = buttonProps;
16134
16231
  exports2.calendarProps = calendarProps;