vant 4.0.0-alpha.0 → 4.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (581) hide show
  1. package/README.md +141 -0
  2. package/changelog.generated.md +198 -0
  3. package/es/address-edit/AddressEdit.d.ts +0 -17
  4. package/es/address-edit/AddressEdit.js +3 -24
  5. package/es/address-edit/index.d.ts +0 -12
  6. package/es/address-edit/types.d.ts +0 -1
  7. package/es/address-list/AddressListItem.d.ts +3 -2
  8. package/es/address-list/AddressListItem.js +1 -1
  9. package/es/badge/Badge.d.ts +4 -3
  10. package/es/badge/index.d.ts +2 -2
  11. package/es/calendar/Calendar.d.ts +4 -0
  12. package/es/calendar/Calendar.js +3 -1
  13. package/es/calendar/CalendarDay.js +4 -0
  14. package/es/calendar/index.css +1 -1
  15. package/es/calendar/index.d.ts +3 -0
  16. package/es/calendar/index.less +3 -0
  17. package/es/calendar/types.d.ts +2 -1
  18. package/es/cascader/types.d.ts +2 -1
  19. package/es/checkbox/Checker.d.ts +2 -1
  20. package/es/collapse/Collapse.d.ts +7 -6
  21. package/es/collapse/index.d.ts +3 -3
  22. package/es/composables/use-touch.js +1 -1
  23. package/es/config-provider/ConfigProvider.d.ts +4 -3
  24. package/es/config-provider/ConfigProvider.js +2 -0
  25. package/es/config-provider/index.d.ts +2 -2
  26. package/es/contact-list/ContactList.d.ts +3 -2
  27. package/es/coupon/Coupon.d.ts +2 -1
  28. package/es/coupon-list/CouponList.d.ts +3 -13
  29. package/es/coupon-list/CouponList.js +9 -7
  30. package/es/coupon-list/index.css +1 -1
  31. package/es/coupon-list/index.d.ts +2 -9
  32. package/es/coupon-list/index.less +4 -16
  33. package/es/coupon-list/style/index.js +1 -0
  34. package/es/coupon-list/style/less.js +1 -0
  35. package/es/date-picker/DatePicker.js +1 -1
  36. package/es/dialog/index.css +1 -1
  37. package/es/dialog/index.less +2 -0
  38. package/es/dialog/types.d.ts +2 -2
  39. package/es/dropdown-item/types.d.ts +2 -1
  40. package/es/empty/Empty.d.ts +8 -7
  41. package/es/empty/Empty.js +12 -15
  42. package/es/empty/Images.d.ts +4 -0
  43. package/es/empty/Images.js +271 -0
  44. package/es/empty/index.d.ts +2 -2
  45. package/es/field/Field.d.ts +4 -0
  46. package/es/field/Field.js +8 -3
  47. package/es/field/index.d.ts +2 -0
  48. package/es/field/types.d.ts +1 -1
  49. package/es/form/Form.d.ts +13 -13
  50. package/es/form/Form.js +7 -3
  51. package/es/form/index.d.ts +9 -9
  52. package/es/form/types.d.ts +1 -0
  53. package/es/icon/index.css +1 -1
  54. package/es/index-bar/IndexBar.d.ts +5 -4
  55. package/es/index-bar/IndexBar.js +25 -4
  56. package/es/index-bar/index.d.ts +3 -3
  57. package/es/index-bar/types.d.ts +2 -1
  58. package/es/index.d.ts +1 -1
  59. package/es/index.js +1 -1
  60. package/es/loading/Loading.js +3 -1
  61. package/es/locale/lang/bn-BD.d.ts +0 -2
  62. package/es/locale/lang/bn-BD.js +0 -2
  63. package/es/locale/lang/da-DK.d.ts +64 -0
  64. package/es/locale/lang/da-DK.js +66 -0
  65. package/es/locale/lang/de-DE-formal.d.ts +0 -2
  66. package/es/locale/lang/de-DE-formal.js +0 -2
  67. package/es/locale/lang/de-DE.d.ts +0 -2
  68. package/es/locale/lang/de-DE.js +0 -2
  69. package/es/locale/lang/en-US.d.ts +0 -2
  70. package/es/locale/lang/en-US.js +0 -2
  71. package/es/locale/lang/es-ES.d.ts +0 -2
  72. package/es/locale/lang/es-ES.js +0 -2
  73. package/es/locale/lang/fr-FR.d.ts +0 -2
  74. package/es/locale/lang/fr-FR.js +0 -2
  75. package/es/locale/lang/hi-IN.d.ts +0 -2
  76. package/es/locale/lang/hi-IN.js +0 -2
  77. package/es/locale/lang/id-ID.d.ts +0 -2
  78. package/es/locale/lang/id-ID.js +0 -2
  79. package/es/locale/lang/is-IS.d.ts +62 -0
  80. package/es/locale/lang/is-IS.js +72 -0
  81. package/es/locale/lang/it-IT.d.ts +0 -2
  82. package/es/locale/lang/it-IT.js +0 -2
  83. package/es/locale/lang/ja-JP.d.ts +0 -2
  84. package/es/locale/lang/ja-JP.js +0 -2
  85. package/es/locale/lang/ko-KR.d.ts +0 -2
  86. package/es/locale/lang/ko-KR.js +0 -2
  87. package/es/locale/lang/la-LA.d.ts +62 -0
  88. package/es/locale/lang/la-LA.js +64 -0
  89. package/es/locale/lang/nb-NO.d.ts +0 -2
  90. package/es/locale/lang/nb-NO.js +0 -2
  91. package/es/locale/lang/pt-BR.d.ts +0 -2
  92. package/es/locale/lang/pt-BR.js +0 -2
  93. package/es/locale/lang/ro-RO.d.ts +0 -2
  94. package/es/locale/lang/ro-RO.js +0 -2
  95. package/es/locale/lang/ru-RU.d.ts +0 -2
  96. package/es/locale/lang/ru-RU.js +0 -2
  97. package/es/locale/lang/sv-SE.d.ts +62 -0
  98. package/es/locale/lang/sv-SE.js +64 -0
  99. package/es/locale/lang/th-TH.d.ts +0 -2
  100. package/es/locale/lang/th-TH.js +0 -2
  101. package/es/locale/lang/tr-TR.d.ts +0 -2
  102. package/es/locale/lang/tr-TR.js +0 -2
  103. package/es/locale/lang/uk-UA.d.ts +0 -2
  104. package/es/locale/lang/uk-UA.js +0 -2
  105. package/es/locale/lang/vi-VN.d.ts +0 -2
  106. package/es/locale/lang/vi-VN.js +0 -2
  107. package/es/locale/lang/zh-CN.d.ts +0 -2
  108. package/es/locale/lang/zh-CN.js +0 -2
  109. package/es/locale/lang/zh-HK.d.ts +0 -2
  110. package/es/locale/lang/zh-HK.js +0 -2
  111. package/es/locale/lang/zh-TW.d.ts +0 -2
  112. package/es/locale/lang/zh-TW.js +0 -2
  113. package/es/nav-bar/NavBar.d.ts +1 -1
  114. package/es/nav-bar/NavBar.js +3 -3
  115. package/es/nav-bar/index.d.ts +1 -1
  116. package/es/notify/types.d.ts +2 -1
  117. package/es/number-keyboard/NumberKeyboard.js +10 -1
  118. package/es/picker/Picker.d.ts +5 -4
  119. package/es/picker/index.css +1 -1
  120. package/es/picker/index.d.ts +3 -3
  121. package/es/picker/index.less +1 -0
  122. package/es/picker/types.d.ts +4 -3
  123. package/es/picker/utils.d.ts +4 -3
  124. package/es/popup/Popup.d.ts +4 -0
  125. package/es/popup/Popup.js +3 -0
  126. package/es/popup/index.css +1 -1
  127. package/es/popup/index.d.ts +3 -0
  128. package/es/progress/Progress.d.ts +4 -3
  129. package/es/progress/index.d.ts +2 -2
  130. package/es/rate/Rate.js +32 -10
  131. package/es/search/Search.d.ts +3 -0
  132. package/es/search/index.css +1 -1
  133. package/es/search/index.d.ts +2 -0
  134. package/es/search/index.less +1 -1
  135. package/es/share-sheet/ShareSheet.js +25 -11
  136. package/es/share-sheet/index.css +1 -1
  137. package/es/share-sheet/index.less +45 -1
  138. package/es/skeleton/Skeleton.d.ts +5 -4
  139. package/es/skeleton/Skeleton.js +6 -4
  140. package/es/skeleton/index.d.ts +3 -3
  141. package/es/slider/index.css +1 -1
  142. package/es/style/animation.css +1 -1
  143. package/es/style/base.css +1 -1
  144. package/es/style/base.less +5 -0
  145. package/es/swipe-cell/SwipeCell.js +1 -1
  146. package/es/swipe-cell/index.css +1 -1
  147. package/es/tabbar/Tabbar.d.ts +2 -2
  148. package/es/tabs/Tabs.d.ts +1 -1
  149. package/es/tabs/Tabs.js +1 -0
  150. package/es/tabs/types.d.ts +5 -4
  151. package/es/toast/Toast.js +1 -0
  152. package/es/toast/types.d.ts +3 -2
  153. package/es/tree-select/TreeSelect.d.ts +7 -6
  154. package/es/tree-select/index.d.ts +3 -3
  155. package/es/uploader/Uploader.d.ts +4 -4
  156. package/es/uploader/Uploader.js +3 -3
  157. package/es/uploader/UploaderPreviewItem.d.ts +3 -3
  158. package/es/uploader/UploaderPreviewItem.js +9 -6
  159. package/es/uploader/index.d.ts +2 -2
  160. package/es/uploader/types.d.ts +5 -5
  161. package/es/uploader/utils.d.ts +0 -1
  162. package/es/uploader/utils.js +2 -4
  163. package/es/utils/basic.d.ts +2 -0
  164. package/es/utils/basic.js +3 -1
  165. package/es/utils/format.d.ts +7 -6
  166. package/es/utils/format.js +6 -0
  167. package/es/utils/validate.d.ts +2 -1
  168. package/lib/action-bar/ActionBar.js +8 -13
  169. package/lib/action-bar/index.js +9 -16
  170. package/lib/action-bar-button/ActionBarButton.js +8 -13
  171. package/lib/action-bar-button/index.js +9 -16
  172. package/lib/action-bar-icon/ActionBarIcon.js +8 -13
  173. package/lib/action-bar-icon/index.js +9 -16
  174. package/lib/action-sheet/ActionSheet.js +8 -13
  175. package/lib/action-sheet/index.js +9 -16
  176. package/lib/address-edit/AddressEdit.d.ts +0 -17
  177. package/lib/address-edit/AddressEdit.js +12 -40
  178. package/lib/address-edit/AddressEditDetail.js +8 -13
  179. package/lib/address-edit/index.d.ts +0 -12
  180. package/lib/address-edit/index.js +9 -16
  181. package/lib/address-edit/types.d.ts +0 -1
  182. package/lib/address-edit/types.js +7 -12
  183. package/lib/address-list/AddressList.js +9 -16
  184. package/lib/address-list/AddressListItem.d.ts +3 -2
  185. package/lib/address-list/AddressListItem.js +8 -13
  186. package/lib/address-list/index.js +9 -16
  187. package/lib/area/Area.js +8 -13
  188. package/lib/area/index.js +9 -16
  189. package/lib/area/types.js +7 -12
  190. package/lib/area/utils.js +8 -13
  191. package/lib/badge/Badge.d.ts +4 -3
  192. package/lib/badge/Badge.js +8 -13
  193. package/lib/badge/index.d.ts +2 -2
  194. package/lib/badge/index.js +9 -16
  195. package/lib/button/Button.js +8 -13
  196. package/lib/button/index.js +9 -16
  197. package/lib/button/types.js +7 -12
  198. package/lib/calendar/Calendar.d.ts +4 -0
  199. package/lib/calendar/Calendar.js +12 -17
  200. package/lib/calendar/CalendarDay.js +12 -13
  201. package/lib/calendar/CalendarHeader.js +8 -13
  202. package/lib/calendar/CalendarMonth.js +9 -16
  203. package/lib/calendar/index.css +1 -1
  204. package/lib/calendar/index.d.ts +3 -0
  205. package/lib/calendar/index.js +9 -16
  206. package/lib/calendar/index.less +3 -0
  207. package/lib/calendar/types.d.ts +2 -1
  208. package/lib/calendar/types.js +7 -12
  209. package/lib/calendar/utils.js +8 -13
  210. package/lib/card/Card.js +8 -13
  211. package/lib/card/index.js +9 -16
  212. package/lib/cascader/Cascader.js +8 -13
  213. package/lib/cascader/index.js +9 -16
  214. package/lib/cascader/types.d.ts +2 -1
  215. package/lib/cascader/types.js +7 -12
  216. package/lib/cell/Cell.js +8 -13
  217. package/lib/cell/index.js +9 -16
  218. package/lib/cell-group/CellGroup.js +8 -13
  219. package/lib/cell-group/index.js +9 -16
  220. package/lib/checkbox/Checkbox.js +9 -16
  221. package/lib/checkbox/Checker.d.ts +2 -1
  222. package/lib/checkbox/Checker.js +8 -13
  223. package/lib/checkbox/index.js +9 -16
  224. package/lib/checkbox/types.js +7 -12
  225. package/lib/checkbox-group/CheckboxGroup.js +8 -13
  226. package/lib/checkbox-group/index.js +9 -16
  227. package/lib/checkbox-group/types.js +7 -12
  228. package/lib/circle/Circle.js +8 -13
  229. package/lib/circle/index.js +9 -16
  230. package/lib/col/Col.js +8 -13
  231. package/lib/col/index.js +9 -16
  232. package/lib/collapse/Collapse.d.ts +7 -6
  233. package/lib/collapse/Collapse.js +8 -13
  234. package/lib/collapse/index.d.ts +3 -3
  235. package/lib/collapse/index.js +9 -16
  236. package/lib/collapse-item/CollapseItem.js +8 -13
  237. package/lib/collapse-item/index.js +9 -16
  238. package/lib/collapse-item/types.js +7 -12
  239. package/lib/composables/on-popup-reopen.js +8 -13
  240. package/lib/composables/use-expose.js +8 -13
  241. package/lib/composables/use-height.js +8 -13
  242. package/lib/composables/use-id.js +8 -13
  243. package/lib/composables/use-lazy-render.js +8 -13
  244. package/lib/composables/use-lock-scroll.js +8 -13
  245. package/lib/composables/use-placeholder.js +8 -13
  246. package/lib/composables/use-refs.js +8 -13
  247. package/lib/composables/use-route.js +8 -13
  248. package/lib/composables/use-tab-status.js +8 -13
  249. package/lib/composables/use-touch.js +9 -14
  250. package/lib/composables/use-visibility-change.js +8 -13
  251. package/lib/config-provider/ConfigProvider.d.ts +4 -3
  252. package/lib/config-provider/ConfigProvider.js +10 -13
  253. package/lib/config-provider/index.d.ts +2 -2
  254. package/lib/config-provider/index.js +9 -16
  255. package/lib/contact-card/ContactCard.js +8 -13
  256. package/lib/contact-card/index.js +9 -16
  257. package/lib/contact-edit/ContactEdit.js +8 -13
  258. package/lib/contact-edit/index.js +9 -16
  259. package/lib/contact-list/ContactList.d.ts +3 -2
  260. package/lib/contact-list/ContactList.js +8 -13
  261. package/lib/contact-list/index.js +9 -16
  262. package/lib/count-down/CountDown.js +8 -13
  263. package/lib/count-down/index.js +9 -16
  264. package/lib/count-down/types.js +7 -12
  265. package/lib/count-down/utils.js +8 -13
  266. package/lib/coupon/Coupon.d.ts +2 -1
  267. package/lib/coupon/Coupon.js +8 -13
  268. package/lib/coupon/index.js +9 -16
  269. package/lib/coupon/utils.js +8 -13
  270. package/lib/coupon-cell/CouponCell.js +8 -13
  271. package/lib/coupon-cell/index.js +9 -16
  272. package/lib/coupon-list/CouponList.d.ts +3 -13
  273. package/lib/coupon-list/CouponList.js +17 -20
  274. package/lib/coupon-list/index.css +1 -1
  275. package/lib/coupon-list/index.d.ts +2 -9
  276. package/lib/coupon-list/index.js +9 -16
  277. package/lib/coupon-list/index.less +4 -16
  278. package/lib/coupon-list/style/index.js +1 -0
  279. package/lib/coupon-list/style/less.js +1 -0
  280. package/lib/date-picker/DatePicker.js +9 -14
  281. package/lib/date-picker/index.js +9 -16
  282. package/lib/date-picker/utils.js +8 -13
  283. package/lib/dialog/Dialog.js +8 -13
  284. package/lib/dialog/function-call.js +9 -16
  285. package/lib/dialog/index.css +1 -1
  286. package/lib/dialog/index.js +8 -13
  287. package/lib/dialog/index.less +2 -0
  288. package/lib/dialog/types.d.ts +2 -2
  289. package/lib/dialog/types.js +7 -12
  290. package/lib/divider/Divider.js +8 -13
  291. package/lib/divider/index.js +9 -16
  292. package/lib/dropdown-item/DropdownItem.js +8 -13
  293. package/lib/dropdown-item/index.js +9 -16
  294. package/lib/dropdown-item/types.d.ts +2 -1
  295. package/lib/dropdown-item/types.js +7 -12
  296. package/lib/dropdown-menu/DropdownMenu.js +8 -13
  297. package/lib/dropdown-menu/index.js +9 -16
  298. package/lib/dropdown-menu/types.js +7 -12
  299. package/lib/empty/Empty.d.ts +8 -7
  300. package/lib/empty/Empty.js +19 -27
  301. package/lib/empty/Images.d.ts +4 -0
  302. package/lib/empty/Images.js +290 -0
  303. package/lib/empty/index.d.ts +2 -2
  304. package/lib/empty/index.js +9 -16
  305. package/lib/field/Field.d.ts +4 -0
  306. package/lib/field/Field.js +15 -15
  307. package/lib/field/index.d.ts +2 -0
  308. package/lib/field/index.js +9 -16
  309. package/lib/field/types.d.ts +1 -1
  310. package/lib/field/types.js +7 -12
  311. package/lib/field/utils.js +8 -13
  312. package/lib/form/Form.d.ts +13 -13
  313. package/lib/form/Form.js +14 -15
  314. package/lib/form/index.d.ts +9 -9
  315. package/lib/form/index.js +9 -16
  316. package/lib/form/types.d.ts +1 -0
  317. package/lib/form/types.js +7 -12
  318. package/lib/grid/Grid.js +8 -13
  319. package/lib/grid/index.js +9 -16
  320. package/lib/grid-item/GridItem.js +8 -13
  321. package/lib/grid-item/index.js +9 -16
  322. package/lib/icon/Icon.js +8 -13
  323. package/lib/icon/index.css +1 -1
  324. package/lib/icon/index.js +9 -16
  325. package/lib/image/Image.js +8 -13
  326. package/lib/image/index.js +9 -16
  327. package/lib/image-preview/ImagePreview.js +9 -16
  328. package/lib/image-preview/ImagePreviewItem.js +8 -13
  329. package/lib/image-preview/function-call.js +9 -16
  330. package/lib/image-preview/index.js +8 -13
  331. package/lib/image-preview/types.js +7 -12
  332. package/lib/index-anchor/IndexAnchor.js +8 -13
  333. package/lib/index-anchor/index.js +9 -16
  334. package/lib/index-bar/IndexBar.d.ts +5 -4
  335. package/lib/index-bar/IndexBar.js +33 -17
  336. package/lib/index-bar/index.d.ts +3 -3
  337. package/lib/index-bar/index.js +9 -16
  338. package/lib/index-bar/types.d.ts +2 -1
  339. package/lib/index-bar/types.js +7 -12
  340. package/lib/index.css +1 -1
  341. package/lib/index.d.ts +1 -1
  342. package/lib/index.js +97 -101
  343. package/lib/index.less +2 -2
  344. package/lib/lazyload/index.js +8 -13
  345. package/lib/lazyload/vue-lazyload/index.js +9 -16
  346. package/lib/lazyload/vue-lazyload/lazy-component.js +8 -13
  347. package/lib/lazyload/vue-lazyload/lazy-container.js +8 -13
  348. package/lib/lazyload/vue-lazyload/lazy-image.js +8 -13
  349. package/lib/lazyload/vue-lazyload/lazy.js +9 -16
  350. package/lib/lazyload/vue-lazyload/listener.js +8 -13
  351. package/lib/lazyload/vue-lazyload/util.js +8 -13
  352. package/lib/list/List.js +8 -13
  353. package/lib/list/index.js +9 -16
  354. package/lib/list/types.js +7 -12
  355. package/lib/loading/Loading.js +11 -14
  356. package/lib/loading/index.js +9 -16
  357. package/lib/locale/index.js +9 -16
  358. package/lib/locale/lang/bn-BD.d.ts +0 -2
  359. package/lib/locale/lang/bn-BD.js +8 -15
  360. package/lib/locale/lang/da-DK.d.ts +64 -0
  361. package/lib/locale/lang/da-DK.js +85 -0
  362. package/lib/locale/lang/de-DE-formal.d.ts +0 -2
  363. package/lib/locale/lang/de-DE-formal.js +8 -15
  364. package/lib/locale/lang/de-DE.d.ts +0 -2
  365. package/lib/locale/lang/de-DE.js +8 -15
  366. package/lib/locale/lang/en-US.d.ts +0 -2
  367. package/lib/locale/lang/en-US.js +8 -15
  368. package/lib/locale/lang/es-ES.d.ts +0 -2
  369. package/lib/locale/lang/es-ES.js +8 -15
  370. package/lib/locale/lang/fr-FR.d.ts +0 -2
  371. package/lib/locale/lang/fr-FR.js +8 -15
  372. package/lib/locale/lang/hi-IN.d.ts +0 -2
  373. package/lib/locale/lang/hi-IN.js +8 -15
  374. package/lib/locale/lang/id-ID.d.ts +0 -2
  375. package/lib/locale/lang/id-ID.js +8 -15
  376. package/lib/locale/lang/is-IS.d.ts +62 -0
  377. package/lib/locale/lang/is-IS.js +91 -0
  378. package/lib/locale/lang/it-IT.d.ts +0 -2
  379. package/lib/locale/lang/it-IT.js +8 -15
  380. package/lib/locale/lang/ja-JP.d.ts +0 -2
  381. package/lib/locale/lang/ja-JP.js +8 -15
  382. package/lib/locale/lang/ko-KR.d.ts +0 -2
  383. package/lib/locale/lang/ko-KR.js +8 -15
  384. package/lib/locale/lang/la-LA.d.ts +62 -0
  385. package/lib/locale/lang/la-LA.js +83 -0
  386. package/lib/locale/lang/nb-NO.d.ts +0 -2
  387. package/lib/locale/lang/nb-NO.js +8 -15
  388. package/lib/locale/lang/pt-BR.d.ts +0 -2
  389. package/lib/locale/lang/pt-BR.js +8 -15
  390. package/lib/locale/lang/ro-RO.d.ts +0 -2
  391. package/lib/locale/lang/ro-RO.js +8 -15
  392. package/lib/locale/lang/ru-RU.d.ts +0 -2
  393. package/lib/locale/lang/ru-RU.js +8 -15
  394. package/lib/locale/lang/sv-SE.d.ts +62 -0
  395. package/lib/locale/lang/sv-SE.js +83 -0
  396. package/lib/locale/lang/th-TH.d.ts +0 -2
  397. package/lib/locale/lang/th-TH.js +8 -15
  398. package/lib/locale/lang/tr-TR.d.ts +0 -2
  399. package/lib/locale/lang/tr-TR.js +8 -15
  400. package/lib/locale/lang/uk-UA.d.ts +0 -2
  401. package/lib/locale/lang/uk-UA.js +8 -15
  402. package/lib/locale/lang/vi-VN.d.ts +0 -2
  403. package/lib/locale/lang/vi-VN.js +8 -15
  404. package/lib/locale/lang/zh-CN.d.ts +0 -2
  405. package/lib/locale/lang/zh-CN.js +8 -15
  406. package/lib/locale/lang/zh-HK.d.ts +0 -2
  407. package/lib/locale/lang/zh-HK.js +8 -15
  408. package/lib/locale/lang/zh-TW.d.ts +0 -2
  409. package/lib/locale/lang/zh-TW.js +8 -15
  410. package/lib/nav-bar/NavBar.d.ts +1 -1
  411. package/lib/nav-bar/NavBar.js +11 -16
  412. package/lib/nav-bar/index.d.ts +1 -1
  413. package/lib/nav-bar/index.js +9 -16
  414. package/lib/notice-bar/NoticeBar.js +8 -13
  415. package/lib/notice-bar/index.js +9 -16
  416. package/lib/notice-bar/types.js +7 -12
  417. package/lib/notify/Notify.js +8 -13
  418. package/lib/notify/function-call.js +9 -16
  419. package/lib/notify/index.js +8 -13
  420. package/lib/notify/types.d.ts +2 -1
  421. package/lib/notify/types.js +7 -12
  422. package/lib/number-keyboard/NumberKeyboard.js +19 -17
  423. package/lib/number-keyboard/NumberKeyboardKey.js +8 -13
  424. package/lib/number-keyboard/index.js +9 -16
  425. package/lib/overlay/Overlay.js +8 -13
  426. package/lib/overlay/index.js +9 -16
  427. package/lib/pagination/Pagination.js +8 -13
  428. package/lib/pagination/index.js +9 -16
  429. package/lib/password-input/PasswordInput.js +8 -13
  430. package/lib/password-input/index.js +9 -16
  431. package/lib/picker/Picker.d.ts +5 -4
  432. package/lib/picker/Picker.js +9 -16
  433. package/lib/picker/PickerColumn.js +8 -13
  434. package/lib/picker/index.css +1 -1
  435. package/lib/picker/index.d.ts +3 -3
  436. package/lib/picker/index.js +9 -16
  437. package/lib/picker/index.less +1 -0
  438. package/lib/picker/types.d.ts +4 -3
  439. package/lib/picker/types.js +7 -12
  440. package/lib/picker/utils.d.ts +4 -3
  441. package/lib/picker/utils.js +8 -13
  442. package/lib/popover/Popover.js +8 -13
  443. package/lib/popover/index.js +9 -16
  444. package/lib/popover/types.js +7 -12
  445. package/lib/popup/Popup.d.ts +4 -0
  446. package/lib/popup/Popup.js +11 -13
  447. package/lib/popup/index.css +1 -1
  448. package/lib/popup/index.d.ts +3 -0
  449. package/lib/popup/index.js +9 -16
  450. package/lib/popup/shared.js +8 -13
  451. package/lib/popup/types.js +7 -12
  452. package/lib/progress/Progress.d.ts +4 -3
  453. package/lib/progress/Progress.js +8 -13
  454. package/lib/progress/index.d.ts +2 -2
  455. package/lib/progress/index.js +9 -16
  456. package/lib/progress/types.js +7 -12
  457. package/lib/pull-refresh/PullRefresh.js +8 -13
  458. package/lib/pull-refresh/index.js +9 -16
  459. package/lib/radio/Radio.js +9 -16
  460. package/lib/radio/index.js +9 -16
  461. package/lib/radio-group/RadioGroup.js +8 -13
  462. package/lib/radio-group/index.js +9 -16
  463. package/lib/rate/Rate.js +39 -22
  464. package/lib/rate/index.js +9 -16
  465. package/lib/row/Row.js +8 -13
  466. package/lib/row/index.js +9 -16
  467. package/lib/search/Search.d.ts +3 -0
  468. package/lib/search/Search.js +8 -13
  469. package/lib/search/index.css +1 -1
  470. package/lib/search/index.d.ts +2 -0
  471. package/lib/search/index.js +9 -16
  472. package/lib/search/index.less +1 -1
  473. package/lib/search/types.js +7 -12
  474. package/lib/share-sheet/ShareSheet.js +33 -24
  475. package/lib/share-sheet/index.css +1 -1
  476. package/lib/share-sheet/index.js +9 -16
  477. package/lib/share-sheet/index.less +45 -1
  478. package/lib/sidebar/Sidebar.js +8 -13
  479. package/lib/sidebar/index.js +9 -16
  480. package/lib/sidebar-item/SidebarItem.js +8 -13
  481. package/lib/sidebar-item/index.js +9 -16
  482. package/lib/skeleton/Skeleton.d.ts +5 -4
  483. package/lib/skeleton/Skeleton.js +13 -16
  484. package/lib/skeleton/index.d.ts +3 -3
  485. package/lib/skeleton/index.js +9 -16
  486. package/lib/slider/Slider.js +8 -13
  487. package/lib/slider/index.css +1 -1
  488. package/lib/slider/index.js +9 -16
  489. package/lib/step/Step.js +8 -13
  490. package/lib/step/index.js +9 -16
  491. package/lib/stepper/Stepper.js +8 -13
  492. package/lib/stepper/index.js +9 -16
  493. package/lib/steps/Steps.js +8 -13
  494. package/lib/steps/index.js +9 -16
  495. package/lib/sticky/Sticky.js +8 -13
  496. package/lib/sticky/index.js +9 -16
  497. package/lib/style/animation.css +1 -1
  498. package/lib/style/base.css +1 -1
  499. package/lib/style/base.less +5 -0
  500. package/lib/submit-bar/SubmitBar.js +8 -13
  501. package/lib/submit-bar/index.js +9 -16
  502. package/lib/swipe/Swipe.js +8 -13
  503. package/lib/swipe/index.js +9 -16
  504. package/lib/swipe/types.js +7 -12
  505. package/lib/swipe-cell/SwipeCell.js +9 -14
  506. package/lib/swipe-cell/index.css +1 -1
  507. package/lib/swipe-cell/index.js +9 -16
  508. package/lib/swipe-cell/types.js +7 -12
  509. package/lib/swipe-item/SwipeItem.js +8 -13
  510. package/lib/swipe-item/index.js +9 -16
  511. package/lib/switch/Switch.js +8 -13
  512. package/lib/switch/index.js +9 -16
  513. package/lib/tab/Tab.js +8 -13
  514. package/lib/tab/index.js +9 -16
  515. package/lib/tabbar/Tabbar.d.ts +2 -2
  516. package/lib/tabbar/Tabbar.js +8 -13
  517. package/lib/tabbar/index.js +9 -16
  518. package/lib/tabbar-item/TabbarItem.js +8 -13
  519. package/lib/tabbar-item/index.js +9 -16
  520. package/lib/tabs/Tabs.d.ts +1 -1
  521. package/lib/tabs/Tabs.js +10 -16
  522. package/lib/tabs/TabsContent.js +8 -13
  523. package/lib/tabs/TabsTitle.js +8 -13
  524. package/lib/tabs/index.js +9 -16
  525. package/lib/tabs/types.d.ts +5 -4
  526. package/lib/tabs/types.js +7 -12
  527. package/lib/tabs/utils.js +8 -13
  528. package/lib/tag/Tag.js +8 -13
  529. package/lib/tag/index.js +9 -16
  530. package/lib/time-picker/TimePicker.js +8 -13
  531. package/lib/time-picker/index.js +9 -16
  532. package/lib/toast/Toast.js +9 -13
  533. package/lib/toast/function-call.js +9 -16
  534. package/lib/toast/index.js +8 -13
  535. package/lib/toast/lock-click.js +8 -13
  536. package/lib/toast/types.d.ts +3 -2
  537. package/lib/toast/types.js +7 -12
  538. package/lib/tree-select/TreeSelect.d.ts +7 -6
  539. package/lib/tree-select/TreeSelect.js +8 -13
  540. package/lib/tree-select/index.d.ts +3 -3
  541. package/lib/tree-select/index.js +9 -16
  542. package/lib/uploader/Uploader.d.ts +4 -4
  543. package/lib/uploader/Uploader.js +11 -18
  544. package/lib/uploader/UploaderPreviewItem.d.ts +3 -3
  545. package/lib/uploader/UploaderPreviewItem.js +17 -19
  546. package/lib/uploader/index.d.ts +2 -2
  547. package/lib/uploader/index.js +9 -16
  548. package/lib/uploader/types.d.ts +5 -5
  549. package/lib/uploader/types.js +7 -12
  550. package/lib/uploader/utils.d.ts +0 -1
  551. package/lib/uploader/utils.js +10 -17
  552. package/lib/utils/basic.d.ts +2 -0
  553. package/lib/utils/basic.js +11 -14
  554. package/lib/utils/constant.js +8 -13
  555. package/lib/utils/create.js +9 -16
  556. package/lib/utils/deep-assign.js +8 -13
  557. package/lib/utils/deep-clone.js +8 -13
  558. package/lib/utils/dom.js +8 -13
  559. package/lib/utils/format.d.ts +7 -6
  560. package/lib/utils/format.js +14 -13
  561. package/lib/utils/index.js +17 -21
  562. package/lib/utils/interceptor.js +8 -13
  563. package/lib/utils/mount-component.js +8 -13
  564. package/lib/utils/props.js +8 -13
  565. package/lib/utils/validate.d.ts +2 -1
  566. package/lib/utils/validate.js +8 -13
  567. package/lib/utils/with-install.js +8 -13
  568. package/lib/vant.cjs.js +538 -284
  569. package/lib/vant.cjs.min.js +1 -1
  570. package/lib/vant.es.js +538 -284
  571. package/lib/vant.es.min.js +538 -284
  572. package/lib/vant.js +538 -284
  573. package/lib/vant.min.js +1 -1
  574. package/package.json +4 -4
  575. package/vetur/attributes.json +388 -452
  576. package/vetur/tags.json +108 -106
  577. package/vetur/web-types.json +2027 -1172
  578. package/es/empty/Network.d.ts +0 -1
  579. package/es/empty/Network.js +0 -89
  580. package/lib/empty/Network.d.ts +0 -1
  581. package/lib/empty/Network.js +0 -113
@@ -2,28 +2,24 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
5
  var __export = (target, all) => {
7
6
  for (var name2 in all)
8
7
  __defProp(target, name2, { get: all[name2], enumerable: true });
9
8
  };
10
- var __reExport = (target, module2, copyDefault, desc) => {
11
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
- for (let key of __getOwnPropNames(module2))
13
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
14
  }
16
- return target;
15
+ return to;
17
16
  };
18
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
- return (module2, temp) => {
20
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
- };
22
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
18
  var stdin_exports = {};
24
19
  __export(stdin_exports, {
25
20
  default: () => stdin_default
26
21
  });
22
+ module.exports = __toCommonJS(stdin_exports);
27
23
  var import_vue = require("vue");
28
24
  var import_vue2 = require("vue");
29
25
  var import_utils = require("../utils");
@@ -75,4 +71,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
75
71
  };
76
72
  }
77
73
  });
78
- module.exports = __toCommonJS(stdin_exports);
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var stdin_exports = {};
29
22
  __export(stdin_exports, {
30
23
  CouponCell: () => CouponCell,
31
24
  default: () => stdin_default
32
25
  });
26
+ module.exports = __toCommonJS(stdin_exports);
33
27
  var import_utils = require("../utils");
34
28
  var import_CouponCell = __toESM(require("./CouponCell"));
35
29
  const CouponCell = (0, import_utils.withInstall)(import_CouponCell.default);
36
30
  var stdin_default = CouponCell;
37
- module.exports = __toCommonJS(stdin_exports);
@@ -17,10 +17,7 @@ declare const couponListProps: {
17
17
  type: BooleanConstructor;
18
18
  default: true;
19
19
  };
20
- emptyImage: {
21
- type: import("vue").PropType<string>;
22
- default: string;
23
- };
20
+ emptyImage: StringConstructor;
24
21
  chosenCoupon: {
25
22
  type: NumberConstructor;
26
23
  default: number;
@@ -71,10 +68,7 @@ declare const _default: import("vue").DefineComponent<{
71
68
  type: BooleanConstructor;
72
69
  default: true;
73
70
  };
74
- emptyImage: {
75
- type: import("vue").PropType<string>;
76
- default: string;
77
- };
71
+ emptyImage: StringConstructor;
78
72
  chosenCoupon: {
79
73
  type: NumberConstructor;
80
74
  default: number;
@@ -123,10 +117,7 @@ declare const _default: import("vue").DefineComponent<{
123
117
  type: BooleanConstructor;
124
118
  default: true;
125
119
  };
126
- emptyImage: {
127
- type: import("vue").PropType<string>;
128
- default: string;
129
- };
120
+ emptyImage: StringConstructor;
130
121
  chosenCoupon: {
131
122
  type: NumberConstructor;
132
123
  default: number;
@@ -168,7 +159,6 @@ declare const _default: import("vue").DefineComponent<{
168
159
  coupons: CouponInfo[];
169
160
  chosenCoupon: number;
170
161
  showCount: boolean;
171
- emptyImage: string;
172
162
  disabledCoupons: CouponInfo[];
173
163
  showExchangeBar: boolean;
174
164
  showCloseButton: boolean;
@@ -2,46 +2,42 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
5
  var __export = (target, all) => {
7
6
  for (var name2 in all)
8
7
  __defProp(target, name2, { get: all[name2], enumerable: true });
9
8
  };
10
- var __reExport = (target, module2, copyDefault, desc) => {
11
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
- for (let key of __getOwnPropNames(module2))
13
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
14
  }
16
- return target;
15
+ return to;
17
16
  };
18
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
- return (module2, temp) => {
20
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
- };
22
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
18
  var stdin_exports = {};
24
19
  __export(stdin_exports, {
25
20
  default: () => stdin_default
26
21
  });
22
+ module.exports = __toCommonJS(stdin_exports);
27
23
  var import_vue = require("vue");
28
24
  var import_vue2 = require("vue");
29
25
  var import_utils = require("../utils");
30
26
  var import_use_refs = require("../composables/use-refs");
31
27
  var import_tab = require("../tab");
32
28
  var import_tabs = require("../tabs");
29
+ var import_empty = require("../empty");
33
30
  var import_field = require("../field");
34
31
  var import_button = require("../button");
35
32
  var import_coupon = require("../coupon");
36
33
  var import_use = require("@vant/use");
37
34
  const [name, bem, t] = (0, import_utils.createNamespace)("coupon-list");
38
- const EMPTY_IMAGE = "https://img.yzcdn.cn/vant/coupon-empty.png";
39
35
  const couponListProps = {
40
36
  code: (0, import_utils.makeStringProp)(""),
41
37
  coupons: (0, import_utils.makeArrayProp)(),
42
38
  currency: (0, import_utils.makeStringProp)("\xA5"),
43
39
  showCount: import_utils.truthProp,
44
- emptyImage: (0, import_utils.makeStringProp)(EMPTY_IMAGE),
40
+ emptyImage: String,
45
41
  chosenCoupon: (0, import_utils.makeNumberProp)(-1),
46
42
  enabledTitle: String,
47
43
  disabledTitle: String,
@@ -89,11 +85,13 @@ var stdin_default = (0, import_vue2.defineComponent)({
89
85
  return (_a = couponRefs.value[index]) == null ? void 0 : _a.scrollIntoView();
90
86
  });
91
87
  };
92
- const renderEmpty = () => (0, import_vue.createVNode)("div", {
93
- "class": bem("empty")
94
- }, [(0, import_vue.createVNode)("img", {
95
- "src": props.emptyImage
96
- }, null), (0, import_vue.createVNode)("p", null, [t("noCoupon")])]);
88
+ const renderEmpty = () => (0, import_vue.createVNode)(import_empty.Empty, {
89
+ "image": props.emptyImage
90
+ }, {
91
+ default: () => [(0, import_vue.createVNode)("p", {
92
+ "class": bem("empty-tip")
93
+ }, [t("noCoupon")])]
94
+ });
97
95
  const renderExchangeBar = () => {
98
96
  if (props.showExchangeBar) {
99
97
  return (0, import_vue.createVNode)("div", {
@@ -205,4 +203,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
205
203
  }, null), [[import_vue.vShow, props.showCloseButton]])])]);
206
204
  }
207
205
  });
208
- module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- body{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: 5px 0 5px var(--van-padding-md);--van-coupon-list-exchange-button-height: 32px;--van-coupon-list-close-button-height: 40px;--van-coupon-list-empty-image-size: 200px;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__body{height:34px;padding-left:var(--van-padding-sm);line-height:34px;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__body::-webkit-input-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__body::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - 2px);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 6px 12px -12px var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:50px}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:5px var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty{padding-top:60px;text-align:center}.van-coupon-list__empty p{margin:var(--van-padding-md) 0;color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}.van-coupon-list__empty img{width:var(--van-coupon-list-empty-image-size);height:var(--van-coupon-list-empty-image-size)}
1
+ body{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: 5px 0 5px var(--van-padding-md);--van-coupon-list-exchange-button-height: 32px;--van-coupon-list-close-button-height: 40px;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__body{height:34px;padding-left:var(--van-padding-sm);line-height:34px;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__body::-webkit-input-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__body::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - 2px);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 6px 12px -12px var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:50px}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:5px var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty-tip{color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}
@@ -15,10 +15,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
15
15
  type: BooleanConstructor;
16
16
  default: true;
17
17
  };
18
- emptyImage: {
19
- type: import("vue").PropType<string>;
20
- default: string;
21
- };
18
+ emptyImage: StringConstructor;
22
19
  chosenCoupon: {
23
20
  type: NumberConstructor;
24
21
  default: number;
@@ -67,10 +64,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
67
64
  type: BooleanConstructor;
68
65
  default: true;
69
66
  };
70
- emptyImage: {
71
- type: import("vue").PropType<string>;
72
- default: string;
73
- };
67
+ emptyImage: StringConstructor;
74
68
  chosenCoupon: {
75
69
  type: NumberConstructor;
76
70
  default: number;
@@ -112,7 +106,6 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
112
106
  coupons: import("..").CouponInfo[];
113
107
  chosenCoupon: number;
114
108
  showCount: boolean;
115
- emptyImage: string;
116
109
  disabledCoupons: import("..").CouponInfo[];
117
110
  showExchangeBar: boolean;
118
111
  showCloseButton: boolean;
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var stdin_exports = {};
29
22
  __export(stdin_exports, {
30
23
  CouponList: () => CouponList,
31
24
  default: () => stdin_default
32
25
  });
26
+ module.exports = __toCommonJS(stdin_exports);
33
27
  var import_utils = require("../utils");
34
28
  var import_CouponList = __toESM(require("./CouponList"));
35
29
  const CouponList = (0, import_utils.withInstall)(import_CouponList.default);
36
30
  var stdin_default = CouponList;
37
- module.exports = __toCommonJS(stdin_exports);
@@ -3,7 +3,6 @@ body {
3
3
  --van-coupon-list-field-padding: 5px 0 5px var(--van-padding-md);
4
4
  --van-coupon-list-exchange-button-height: 32px;
5
5
  --van-coupon-list-close-button-height: 40px;
6
- --van-coupon-list-empty-image-size: 200px;
7
6
  --van-coupon-list-empty-tip-color: var(--van-text-color-2);
8
7
  --van-coupon-list-empty-tip-font-size: var(--van-font-size-md);
9
8
  --van-coupon-list-empty-tip-line-height: var(--van-line-height-md);
@@ -79,20 +78,9 @@ body {
79
78
  height: var(--van-coupon-list-close-button-height);
80
79
  }
81
80
 
82
- &__empty {
83
- padding-top: 60px;
84
- text-align: center;
85
-
86
- p {
87
- margin: var(--van-padding-md) 0;
88
- color: var(--van-coupon-list-empty-tip-color);
89
- font-size: var(--van-coupon-list-empty-tip-font-size);
90
- line-height: var(--van-coupon-list-empty-tip-line-height);
91
- }
92
-
93
- img {
94
- width: var(--van-coupon-list-empty-image-size);
95
- height: var(--van-coupon-list-empty-image-size);
96
- }
81
+ &__empty-tip {
82
+ color: var(--van-coupon-list-empty-tip-color);
83
+ font-size: var(--van-coupon-list-empty-tip-font-size);
84
+ line-height: var(--van-coupon-list-empty-tip-line-height);
97
85
  }
98
86
  }
@@ -13,4 +13,5 @@ require("../../swipe/index.css");
13
13
  require("../../swipe-item/index.css");
14
14
  require("../../tabs/index.css");
15
15
  require("../../tab/index.css");
16
+ require("../../empty/index.css");
16
17
  require("../index.css");
@@ -13,4 +13,5 @@ require("../../swipe/index.less");
13
13
  require("../../swipe-item/index.less");
14
14
  require("../../tabs/index.less");
15
15
  require("../../tab/index.less");
16
+ require("../../empty/index.less");
16
17
  require("../index.less");
@@ -2,28 +2,24 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
5
  var __export = (target, all) => {
7
6
  for (var name2 in all)
8
7
  __defProp(target, name2, { get: all[name2], enumerable: true });
9
8
  };
10
- var __reExport = (target, module2, copyDefault, desc) => {
11
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
- for (let key of __getOwnPropNames(module2))
13
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
14
  }
16
- return target;
15
+ return to;
17
16
  };
18
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
- return (module2, temp) => {
20
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
- };
22
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
18
  var stdin_exports = {};
24
19
  __export(stdin_exports, {
25
20
  default: () => stdin_default
26
21
  });
22
+ module.exports = __toCommonJS(stdin_exports);
27
23
  var import_vue = require("vue");
28
24
  var import_vue2 = require("vue");
29
25
  var import_utils = require("../utils");
@@ -115,7 +111,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
115
111
  }
116
112
  });
117
113
  (0, import_vue2.watch)(() => props.modelValue, (newValues) => {
118
- if ((0, import_utils.isSameValue)(newValues, currentValues.value)) {
114
+ if (!(0, import_utils.isSameValue)(newValues, currentValues.value)) {
119
115
  currentValues.value = newValues;
120
116
  }
121
117
  });
@@ -132,4 +128,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
132
128
  }, (0, import_utils.pick)(props, import_utils2.pickerInheritKeys)), slots);
133
129
  }
134
130
  });
135
- module.exports = __toCommonJS(stdin_exports);
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var stdin_exports = {};
29
22
  __export(stdin_exports, {
30
23
  DatePicker: () => DatePicker,
31
24
  default: () => stdin_default
32
25
  });
26
+ module.exports = __toCommonJS(stdin_exports);
33
27
  var import_utils = require("../utils");
34
28
  var import_DatePicker = __toESM(require("./DatePicker"));
35
29
  const DatePicker = (0, import_utils.withInstall)(import_DatePicker.default);
36
30
  var stdin_default = DatePicker;
37
- module.exports = __toCommonJS(stdin_exports);
@@ -2,24 +2,19 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
5
  var __export = (target, all) => {
7
6
  for (var name in all)
8
7
  __defProp(target, name, { get: all[name], enumerable: true });
9
8
  };
10
- var __reExport = (target, module2, copyDefault, desc) => {
11
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
- for (let key of __getOwnPropNames(module2))
13
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
14
  }
16
- return target;
15
+ return to;
17
16
  };
18
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
- return (module2, temp) => {
20
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
- };
22
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
18
  var stdin_exports = {};
24
19
  __export(stdin_exports, {
25
20
  genOptions: () => genOptions,
@@ -28,6 +23,7 @@ __export(stdin_exports, {
28
23
  sharedProps: () => sharedProps,
29
24
  times: () => times
30
25
  });
26
+ module.exports = __toCommonJS(stdin_exports);
31
27
  var import_utils = require("../utils");
32
28
  var import_Picker = require("../picker/Picker");
33
29
  const sharedProps = (0, import_utils.extend)({}, import_Picker.pickerSharedProps, {
@@ -61,4 +57,3 @@ const genOptions = (min, max, type, formatter, filter) => {
61
57
  });
62
58
  return filter ? filter(type, options) : options;
63
59
  };
64
- module.exports = __toCommonJS(stdin_exports);
@@ -2,28 +2,24 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
5
  var __export = (target, all) => {
7
6
  for (var name2 in all)
8
7
  __defProp(target, name2, { get: all[name2], enumerable: true });
9
8
  };
10
- var __reExport = (target, module2, copyDefault, desc) => {
11
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
- for (let key of __getOwnPropNames(module2))
13
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
14
  }
16
- return target;
15
+ return to;
17
16
  };
18
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
- return (module2, temp) => {
20
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
- };
22
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
18
  var stdin_exports = {};
24
19
  __export(stdin_exports, {
25
20
  default: () => stdin_default
26
21
  });
22
+ module.exports = __toCommonJS(stdin_exports);
27
23
  var import_vue = require("vue");
28
24
  var import_vue2 = require("vue");
29
25
  var import_utils = require("../utils");
@@ -232,4 +228,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
232
228
  };
233
229
  }
234
230
  });
235
- module.exports = __toCommonJS(stdin_exports);
@@ -4,31 +4,25 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var stdin_exports = {};
29
22
  __export(stdin_exports, {
30
23
  Dialog: () => Dialog
31
24
  });
25
+ module.exports = __toCommonJS(stdin_exports);
32
26
  var import_vue = require("vue");
33
27
  var import_utils = require("../utils");
34
28
  var import_mount_component = require("../utils/mount-component");
@@ -111,4 +105,3 @@ Dialog.install = (app) => {
111
105
  app.use(Dialog.Component);
112
106
  app.config.globalProperties.$dialog = Dialog;
113
107
  };
114
- module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- body{--van-dialog-width: 320px;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: 16px;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: 24px;--van-dialog-header-padding-top: 26px;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 48px;--van-dialog-round-button-height: 36px;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;left:50%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width: 321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:104px}.van-dialog__message{flex:1;max-height:var(--van-dialog-message-max-height);padding:26px var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog-bounce-enter-from{transform:translate(-50%,-50%) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate(-50%,-50%) scale(.9);opacity:0}
1
+ body{--van-dialog-width: 320px;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: 16px;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: 24px;--van-dialog-header-padding-top: 26px;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 48px;--van-dialog-round-button-height: 36px;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;left:50%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width: 321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{color:var(--van-text-color);padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:104px}.van-dialog__message{color:var(--van-text-color);flex:1;max-height:var(--van-dialog-message-max-height);padding:26px var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog-bounce-enter-from{transform:translate3d(-50%,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(-50%,-50%,0) scale(.9);opacity:0}