vant 3.5.0-beta.0 → 3.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/es/action-bar/ActionBar.mjs +1 -1
  2. package/es/action-bar/index.mjs +2 -2
  3. package/es/action-bar-button/ActionBarButton.mjs +5 -5
  4. package/es/action-bar-button/index.mjs +2 -2
  5. package/es/action-bar-icon/ActionBarIcon.mjs +5 -5
  6. package/es/action-bar-icon/index.mjs +2 -2
  7. package/es/action-sheet/ActionSheet.mjs +5 -5
  8. package/es/action-sheet/index.mjs +2 -2
  9. package/es/address-edit/AddressEdit.mjs +11 -11
  10. package/es/address-edit/AddressEditDetail.mjs +3 -3
  11. package/es/address-edit/index.mjs +2 -2
  12. package/es/address-list/AddressList.mjs +4 -4
  13. package/es/address-list/AddressListItem.mjs +5 -5
  14. package/es/address-list/index.mjs +2 -2
  15. package/es/area/Area.mjs +5 -5
  16. package/es/area/index.mjs +2 -2
  17. package/es/badge/Badge.mjs +1 -1
  18. package/es/badge/index.mjs +2 -2
  19. package/es/button/Button.mjs +4 -4
  20. package/es/button/index.mjs +2 -2
  21. package/es/calendar/Calendar.mjs +9 -9
  22. package/es/calendar/CalendarDay.mjs +2 -2
  23. package/es/calendar/CalendarHeader.mjs +2 -2
  24. package/es/calendar/CalendarMonth.mjs +6 -6
  25. package/es/calendar/index.mjs +2 -2
  26. package/es/calendar/utils.mjs +1 -1
  27. package/es/card/Card.mjs +3 -3
  28. package/es/card/index.mjs +2 -2
  29. package/es/cascader/Cascader.mjs +4 -4
  30. package/es/cascader/index.mjs +2 -2
  31. package/es/cell/Cell.mjs +3 -3
  32. package/es/cell/index.mjs +2 -2
  33. package/es/cell-group/CellGroup.mjs +1 -1
  34. package/es/cell-group/index.mjs +2 -2
  35. package/es/checkbox/Checkbox.mjs +4 -4
  36. package/es/checkbox/Checker.mjs +2 -2
  37. package/es/checkbox/index.mjs +2 -2
  38. package/es/checkbox-group/CheckboxGroup.mjs +2 -2
  39. package/es/checkbox-group/index.mjs +2 -2
  40. package/es/circle/Circle.mjs +1 -1
  41. package/es/circle/index.mjs +2 -2
  42. package/es/col/Col.mjs +2 -2
  43. package/es/col/index.mjs +2 -2
  44. package/es/collapse/Collapse.mjs +1 -1
  45. package/es/collapse/index.mjs +2 -2
  46. package/es/collapse-item/CollapseItem.mjs +6 -6
  47. package/es/collapse-item/index.mjs +2 -2
  48. package/es/composables/use-expose.mjs +1 -1
  49. package/es/composables/use-lock-scroll.mjs +2 -2
  50. package/es/composables/use-placeholder.mjs +1 -1
  51. package/es/composables/use-visibility-change.mjs +1 -1
  52. package/es/config-provider/ConfigProvider.mjs +1 -1
  53. package/es/config-provider/index.mjs +2 -2
  54. package/es/contact-card/ContactCard.mjs +2 -2
  55. package/es/contact-card/index.mjs +2 -2
  56. package/es/contact-edit/ContactEdit.mjs +6 -6
  57. package/es/contact-edit/index.mjs +2 -2
  58. package/es/contact-list/ContactList.mjs +7 -7
  59. package/es/contact-list/index.mjs +2 -2
  60. package/es/count-down/CountDown.mjs +3 -3
  61. package/es/count-down/index.mjs +2 -2
  62. package/es/count-down/utils.mjs +1 -1
  63. package/es/coupon/Coupon.mjs +3 -3
  64. package/es/coupon/index.mjs +2 -2
  65. package/es/coupon/utils.mjs +1 -1
  66. package/es/coupon-cell/CouponCell.mjs +2 -2
  67. package/es/coupon-cell/index.mjs +2 -2
  68. package/es/coupon-list/CouponList.mjs +8 -8
  69. package/es/coupon-list/index.mjs +2 -2
  70. package/es/datetime-picker/DatePicker.mjs +4 -4
  71. package/es/datetime-picker/DatetimePicker.mjs +4 -4
  72. package/es/datetime-picker/TimePicker.mjs +4 -4
  73. package/es/datetime-picker/index.mjs +2 -2
  74. package/es/datetime-picker/utils.mjs +2 -2
  75. package/es/dialog/Dialog.mjs +6 -6
  76. package/es/dialog/function-call.mjs +3 -3
  77. package/es/dialog/index.mjs +1 -1
  78. package/es/divider/Divider.mjs +1 -1
  79. package/es/divider/index.mjs +2 -2
  80. package/es/dropdown-item/DropdownItem.mjs +6 -6
  81. package/es/dropdown-item/index.mjs +2 -2
  82. package/es/dropdown-menu/DropdownMenu.mjs +2 -2
  83. package/es/dropdown-menu/index.mjs +2 -2
  84. package/es/empty/Empty.mjs +2 -2
  85. package/es/empty/index.mjs +2 -2
  86. package/es/field/Field.mjs +7 -7
  87. package/es/field/index.mjs +2 -2
  88. package/es/field/utils.mjs +1 -1
  89. package/es/form/Form.mjs +2 -2
  90. package/es/form/index.mjs +2 -2
  91. package/es/grid/Grid.mjs +2 -2
  92. package/es/grid/index.mjs +2 -2
  93. package/es/grid-item/GridItem.mjs +5 -5
  94. package/es/grid-item/index.mjs +2 -2
  95. package/es/icon/Icon.mjs +3 -3
  96. package/es/icon/index.mjs +2 -2
  97. package/es/image/Image.mjs +2 -2
  98. package/es/image/index.mjs +2 -2
  99. package/es/image-preview/ImagePreview.mjs +6 -6
  100. package/es/image-preview/ImagePreviewItem.mjs +5 -5
  101. package/es/image-preview/function-call.mjs +3 -3
  102. package/es/image-preview/index.mjs +1 -1
  103. package/es/index-anchor/IndexAnchor.mjs +4 -4
  104. package/es/index-anchor/index.mjs +2 -2
  105. package/es/index-bar/IndexBar.mjs +3 -3
  106. package/es/index-bar/index.mjs +2 -2
  107. package/es/index.d.ts +1 -1
  108. package/es/index.mjs +172 -172
  109. package/es/lazyload/index.mjs +1 -1
  110. package/es/lazyload/vue-lazyload/index.mjs +4 -4
  111. package/es/lazyload/vue-lazyload/lazy-container.mjs +1 -1
  112. package/es/lazyload/vue-lazyload/lazy-image.mjs +2 -2
  113. package/es/lazyload/vue-lazyload/lazy.mjs +3 -3
  114. package/es/lazyload/vue-lazyload/listener.mjs +2 -2
  115. package/es/list/List.mjs +4 -4
  116. package/es/list/index.mjs +2 -2
  117. package/es/loading/Loading.mjs +1 -1
  118. package/es/loading/index.mjs +2 -2
  119. package/es/locale/index.mjs +2 -2
  120. package/es/nav-bar/NavBar.mjs +3 -3
  121. package/es/nav-bar/index.mjs +2 -2
  122. package/es/notice-bar/NoticeBar.mjs +4 -4
  123. package/es/notice-bar/index.mjs +2 -2
  124. package/es/notify/Notify.mjs +3 -3
  125. package/es/notify/function-call.mjs +3 -3
  126. package/es/notify/index.mjs +1 -1
  127. package/es/number-keyboard/NumberKeyboard.mjs +2 -2
  128. package/es/number-keyboard/NumberKeyboardKey.mjs +3 -3
  129. package/es/number-keyboard/index.mjs +2 -2
  130. package/es/overlay/Overlay.mjs +2 -2
  131. package/es/overlay/index.mjs +2 -2
  132. package/es/pagination/Pagination.mjs +1 -1
  133. package/es/pagination/index.mjs +2 -2
  134. package/es/password-input/PasswordInput.mjs +1 -1
  135. package/es/password-input/index.mjs +2 -2
  136. package/es/picker/Picker.mjs +4 -4
  137. package/es/picker/PickerColumn.mjs +4 -4
  138. package/es/picker/index.mjs +2 -2
  139. package/es/popover/Popover.mjs +3 -3
  140. package/es/popover/index.mjs +2 -2
  141. package/es/popup/Popup.mjs +8 -8
  142. package/es/popup/index.mjs +2 -2
  143. package/es/popup/shared.mjs +1 -1
  144. package/es/progress/Progress.mjs +1 -1
  145. package/es/progress/index.mjs +2 -2
  146. package/es/pull-refresh/PullRefresh.mjs +3 -3
  147. package/es/pull-refresh/index.mjs +2 -2
  148. package/es/radio/Radio.mjs +3 -3
  149. package/es/radio/index.mjs +2 -2
  150. package/es/radio-group/RadioGroup.mjs +1 -1
  151. package/es/radio-group/index.mjs +2 -2
  152. package/es/rate/Rate.mjs +4 -4
  153. package/es/rate/index.mjs +2 -2
  154. package/es/row/Row.mjs +1 -1
  155. package/es/row/index.mjs +2 -2
  156. package/es/search/Search.mjs +5 -5
  157. package/es/search/index.mjs +2 -2
  158. package/es/share-sheet/ShareSheet.mjs +4 -4
  159. package/es/share-sheet/index.mjs +2 -2
  160. package/es/sidebar/Sidebar.mjs +1 -1
  161. package/es/sidebar/index.mjs +2 -2
  162. package/es/sidebar-item/SidebarItem.mjs +4 -4
  163. package/es/sidebar-item/index.mjs +2 -2
  164. package/es/skeleton/Skeleton.mjs +1 -1
  165. package/es/skeleton/index.mjs +2 -2
  166. package/es/slider/Slider.mjs +2 -2
  167. package/es/slider/index.mjs +2 -2
  168. package/es/step/Step.mjs +3 -3
  169. package/es/step/index.mjs +2 -2
  170. package/es/stepper/Stepper.mjs +1 -1
  171. package/es/stepper/index.mjs +2 -2
  172. package/es/steps/Steps.mjs +1 -1
  173. package/es/steps/index.mjs +2 -2
  174. package/es/sticky/Sticky.mjs +2 -2
  175. package/es/sticky/index.mjs +2 -2
  176. package/es/submit-bar/SubmitBar.mjs +3 -3
  177. package/es/submit-bar/index.mjs +2 -2
  178. package/es/swipe/Swipe.mjs +4 -4
  179. package/es/swipe/index.mjs +2 -2
  180. package/es/swipe-cell/SwipeCell.mjs +3 -3
  181. package/es/swipe-cell/index.mjs +2 -2
  182. package/es/swipe-item/SwipeItem.mjs +3 -3
  183. package/es/swipe-item/index.mjs +2 -2
  184. package/es/switch/Switch.mjs +2 -2
  185. package/es/switch/index.mjs +2 -2
  186. package/es/tab/Tab.mjs +7 -7
  187. package/es/tab/index.mjs +2 -2
  188. package/es/tabbar/Tabbar.mjs +2 -2
  189. package/es/tabbar/index.mjs +2 -2
  190. package/es/tabbar-item/TabbarItem.mjs +5 -5
  191. package/es/tabbar-item/index.mjs +2 -2
  192. package/es/tabs/Tabs.mjs +10 -10
  193. package/es/tabs/TabsContent.mjs +2 -2
  194. package/es/tabs/TabsTitle.mjs +2 -2
  195. package/es/tabs/index.mjs +2 -2
  196. package/es/tabs/utils.mjs +1 -1
  197. package/es/tag/Tag.mjs +2 -2
  198. package/es/tag/index.mjs +2 -2
  199. package/es/toast/Toast.mjs +5 -5
  200. package/es/toast/function-call.mjs +3 -3
  201. package/es/toast/index.mjs +1 -1
  202. package/es/tree-select/TreeSelect.mjs +4 -4
  203. package/es/tree-select/index.mjs +2 -2
  204. package/es/uploader/Uploader.mjs +6 -6
  205. package/es/uploader/UploaderPreviewItem.mjs +5 -5
  206. package/es/uploader/index.mjs +2 -2
  207. package/es/uploader/utils.mjs +1 -1
  208. package/es/utils/create.mjs +4 -4
  209. package/es/utils/deep-assign.mjs +1 -1
  210. package/es/utils/deep-clone.mjs +1 -1
  211. package/es/utils/dom.mjs +1 -1
  212. package/es/utils/format.mjs +3 -3
  213. package/es/utils/index.mjs +9 -9
  214. package/es/utils/interceptor.mjs +2 -2
  215. package/es/utils/mount-component.mjs +2 -2
  216. package/es/utils/validate.mjs +1 -1
  217. package/es/utils/with-install.mjs +1 -1
  218. package/lib/index.d.ts +1 -1
  219. package/lib/index.js +1 -1
  220. package/lib/vant.cjs.js +1 -1
  221. package/lib/vant.cjs.min.js +1 -1
  222. package/lib/vant.es.js +1 -1
  223. package/lib/vant.es.min.js +1 -1
  224. package/lib/vant.js +1 -1
  225. package/lib/vant.min.js +1 -1
  226. package/package.json +1 -1
  227. package/vetur/attributes.json +281 -281
  228. package/vetur/tags.json +86 -86
  229. package/vetur/web-types.json +996 -996
@@ -1,7 +1,7 @@
1
1
  import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
2
- import { extend, inBrowser, withInstall } from "../utils";
3
- import { mountComponent, usePopupState } from "../utils/mount-component";
4
- import VanImagePreview from "./ImagePreview";
2
+ import { extend, inBrowser, withInstall } from "../utils/index.mjs";
3
+ import { mountComponent, usePopupState } from "../utils/mount-component.mjs";
4
+ import VanImagePreview from "./ImagePreview.mjs";
5
5
  let instance;
6
6
  const defaultConfig = {
7
7
  loop: true,
@@ -1,4 +1,4 @@
1
- import { ImagePreview } from "./function-call";
1
+ import { ImagePreview } from "./function-call.mjs";
2
2
  var stdin_default = ImagePreview;
3
3
  export {
4
4
  ImagePreview,
@@ -1,10 +1,10 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
2
  import { ref, reactive, computed, defineComponent } from "vue";
3
- import { extend, numericProp, BORDER_BOTTOM, getZIndexStyle, createNamespace } from "../utils";
4
- import { INDEX_BAR_KEY } from "../index-bar/IndexBar";
5
- import { getScrollTop, getRootScrollTop } from "../utils/dom";
3
+ import { extend, numericProp, BORDER_BOTTOM, getZIndexStyle, createNamespace } from "../utils/index.mjs";
4
+ import { INDEX_BAR_KEY } from "../index-bar/IndexBar.mjs";
5
+ import { getScrollTop, getRootScrollTop } from "../utils/dom.mjs";
6
6
  import { useRect, useParent } from "@vant/use";
7
- import { useExpose } from "../composables/use-expose";
7
+ import { useExpose } from "../composables/use-expose.mjs";
8
8
  const [name, bem] = createNamespace("index-anchor");
9
9
  const indexAnchorProps = {
10
10
  index: numericProp
@@ -1,5 +1,5 @@
1
- import { withInstall } from "../utils";
2
- import _IndexAnchor from "./IndexAnchor";
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _IndexAnchor from "./IndexAnchor.mjs";
3
3
  const IndexAnchor = withInstall(_IndexAnchor);
4
4
  var stdin_default = IndexAnchor;
5
5
  export {
@@ -1,9 +1,9 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
2
  import { ref, watch, computed, nextTick, Teleport, onMounted, defineComponent } from "vue";
3
- import { isDef, isHidden, truthProp, numericProp, getScrollTop, preventDefault, makeNumberProp, createNamespace, getRootScrollTop, setRootScrollTop } from "../utils";
3
+ import { isDef, isHidden, truthProp, numericProp, getScrollTop, preventDefault, makeNumberProp, createNamespace, getRootScrollTop, setRootScrollTop } from "../utils/index.mjs";
4
4
  import { useRect, useChildren, useScrollParent, useEventListener } from "@vant/use";
5
- import { useTouch } from "../composables/use-touch";
6
- import { useExpose } from "../composables/use-expose";
5
+ import { useTouch } from "../composables/use-touch.mjs";
6
+ import { useExpose } from "../composables/use-expose.mjs";
7
7
  function genAlphabet() {
8
8
  const charCodeOfA = "A".charCodeAt(0);
9
9
  const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
@@ -1,5 +1,5 @@
1
- import { withInstall } from "../utils";
2
- import _IndexBar from "./IndexBar";
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _IndexBar from "./IndexBar.mjs";
3
3
  const IndexBar = withInstall(_IndexBar);
4
4
  var stdin_default = IndexBar;
5
5
  export {
package/es/index.d.ts CHANGED
@@ -90,4 +90,4 @@ declare namespace _default {
90
90
  }
91
91
  export default _default;
92
92
  export function install(app: any): void;
93
- export const version: "3.5.0-beta.0";
93
+ export const version: "3.5.0-beta.1";
package/es/index.mjs CHANGED
@@ -1,89 +1,89 @@
1
- import { ActionBar } from "./action-bar";
2
- import { ActionBarButton } from "./action-bar-button";
3
- import { ActionBarIcon } from "./action-bar-icon";
4
- import { ActionSheet } from "./action-sheet";
5
- import { AddressEdit } from "./address-edit";
6
- import { AddressList } from "./address-list";
7
- import { Area } from "./area";
8
- import { Badge } from "./badge";
9
- import { Button } from "./button";
10
- import { Calendar } from "./calendar";
11
- import { Card } from "./card";
12
- import { Cascader } from "./cascader";
13
- import { Cell } from "./cell";
14
- import { CellGroup } from "./cell-group";
15
- import { Checkbox } from "./checkbox";
16
- import { CheckboxGroup } from "./checkbox-group";
17
- import { Circle } from "./circle";
18
- import { Col } from "./col";
19
- import { Collapse } from "./collapse";
20
- import { CollapseItem } from "./collapse-item";
21
- import { ConfigProvider } from "./config-provider";
22
- import { ContactCard } from "./contact-card";
23
- import { ContactEdit } from "./contact-edit";
24
- import { ContactList } from "./contact-list";
25
- import { CountDown } from "./count-down";
26
- import { Coupon } from "./coupon";
27
- import { CouponCell } from "./coupon-cell";
28
- import { CouponList } from "./coupon-list";
29
- import { DatetimePicker } from "./datetime-picker";
30
- import { Dialog } from "./dialog";
31
- import { Divider } from "./divider";
32
- import { DropdownItem } from "./dropdown-item";
33
- import { DropdownMenu } from "./dropdown-menu";
34
- import { Empty } from "./empty";
35
- import { Field } from "./field";
36
- import { Form } from "./form";
37
- import { Grid } from "./grid";
38
- import { GridItem } from "./grid-item";
39
- import { Icon } from "./icon";
40
- import { Image } from "./image";
41
- import { ImagePreview } from "./image-preview";
42
- import { IndexAnchor } from "./index-anchor";
43
- import { IndexBar } from "./index-bar";
44
- import { List } from "./list";
45
- import { Loading } from "./loading";
46
- import { Locale } from "./locale";
47
- import { NavBar } from "./nav-bar";
48
- import { NoticeBar } from "./notice-bar";
49
- import { Notify } from "./notify";
50
- import { NumberKeyboard } from "./number-keyboard";
51
- import { Overlay } from "./overlay";
52
- import { Pagination } from "./pagination";
53
- import { PasswordInput } from "./password-input";
54
- import { Picker } from "./picker";
55
- import { Popover } from "./popover";
56
- import { Popup } from "./popup";
57
- import { Progress } from "./progress";
58
- import { PullRefresh } from "./pull-refresh";
59
- import { Radio } from "./radio";
60
- import { RadioGroup } from "./radio-group";
61
- import { Rate } from "./rate";
62
- import { Row } from "./row";
63
- import { Search } from "./search";
64
- import { ShareSheet } from "./share-sheet";
65
- import { Sidebar } from "./sidebar";
66
- import { SidebarItem } from "./sidebar-item";
67
- import { Skeleton } from "./skeleton";
68
- import { Slider } from "./slider";
69
- import { Step } from "./step";
70
- import { Stepper } from "./stepper";
71
- import { Steps } from "./steps";
72
- import { Sticky } from "./sticky";
73
- import { SubmitBar } from "./submit-bar";
74
- import { Swipe } from "./swipe";
75
- import { SwipeCell } from "./swipe-cell";
76
- import { SwipeItem } from "./swipe-item";
77
- import { Switch } from "./switch";
78
- import { Tab } from "./tab";
79
- import { Tabbar } from "./tabbar";
80
- import { TabbarItem } from "./tabbar-item";
81
- import { Tabs } from "./tabs";
82
- import { Tag } from "./tag";
83
- import { Toast } from "./toast";
84
- import { TreeSelect } from "./tree-select";
85
- import { Uploader } from "./uploader";
86
- const version = "3.5.0-beta.0";
1
+ import { ActionBar } from "./action-bar/index.mjs";
2
+ import { ActionBarButton } from "./action-bar-button/index.mjs";
3
+ import { ActionBarIcon } from "./action-bar-icon/index.mjs";
4
+ import { ActionSheet } from "./action-sheet/index.mjs";
5
+ import { AddressEdit } from "./address-edit/index.mjs";
6
+ import { AddressList } from "./address-list/index.mjs";
7
+ import { Area } from "./area/index.mjs";
8
+ import { Badge } from "./badge/index.mjs";
9
+ import { Button } from "./button/index.mjs";
10
+ import { Calendar } from "./calendar/index.mjs";
11
+ import { Card } from "./card/index.mjs";
12
+ import { Cascader } from "./cascader/index.mjs";
13
+ import { Cell } from "./cell/index.mjs";
14
+ import { CellGroup } from "./cell-group/index.mjs";
15
+ import { Checkbox } from "./checkbox/index.mjs";
16
+ import { CheckboxGroup } from "./checkbox-group/index.mjs";
17
+ import { Circle } from "./circle/index.mjs";
18
+ import { Col } from "./col/index.mjs";
19
+ import { Collapse } from "./collapse/index.mjs";
20
+ import { CollapseItem } from "./collapse-item/index.mjs";
21
+ import { ConfigProvider } from "./config-provider/index.mjs";
22
+ import { ContactCard } from "./contact-card/index.mjs";
23
+ import { ContactEdit } from "./contact-edit/index.mjs";
24
+ import { ContactList } from "./contact-list/index.mjs";
25
+ import { CountDown } from "./count-down/index.mjs";
26
+ import { Coupon } from "./coupon/index.mjs";
27
+ import { CouponCell } from "./coupon-cell/index.mjs";
28
+ import { CouponList } from "./coupon-list/index.mjs";
29
+ import { DatetimePicker } from "./datetime-picker/index.mjs";
30
+ import { Dialog } from "./dialog/index.mjs";
31
+ import { Divider } from "./divider/index.mjs";
32
+ import { DropdownItem } from "./dropdown-item/index.mjs";
33
+ import { DropdownMenu } from "./dropdown-menu/index.mjs";
34
+ import { Empty } from "./empty/index.mjs";
35
+ import { Field } from "./field/index.mjs";
36
+ import { Form } from "./form/index.mjs";
37
+ import { Grid } from "./grid/index.mjs";
38
+ import { GridItem } from "./grid-item/index.mjs";
39
+ import { Icon } from "./icon/index.mjs";
40
+ import { Image } from "./image/index.mjs";
41
+ import { ImagePreview } from "./image-preview/index.mjs";
42
+ import { IndexAnchor } from "./index-anchor/index.mjs";
43
+ import { IndexBar } from "./index-bar/index.mjs";
44
+ import { List } from "./list/index.mjs";
45
+ import { Loading } from "./loading/index.mjs";
46
+ import { Locale } from "./locale/index.mjs";
47
+ import { NavBar } from "./nav-bar/index.mjs";
48
+ import { NoticeBar } from "./notice-bar/index.mjs";
49
+ import { Notify } from "./notify/index.mjs";
50
+ import { NumberKeyboard } from "./number-keyboard/index.mjs";
51
+ import { Overlay } from "./overlay/index.mjs";
52
+ import { Pagination } from "./pagination/index.mjs";
53
+ import { PasswordInput } from "./password-input/index.mjs";
54
+ import { Picker } from "./picker/index.mjs";
55
+ import { Popover } from "./popover/index.mjs";
56
+ import { Popup } from "./popup/index.mjs";
57
+ import { Progress } from "./progress/index.mjs";
58
+ import { PullRefresh } from "./pull-refresh/index.mjs";
59
+ import { Radio } from "./radio/index.mjs";
60
+ import { RadioGroup } from "./radio-group/index.mjs";
61
+ import { Rate } from "./rate/index.mjs";
62
+ import { Row } from "./row/index.mjs";
63
+ import { Search } from "./search/index.mjs";
64
+ import { ShareSheet } from "./share-sheet/index.mjs";
65
+ import { Sidebar } from "./sidebar/index.mjs";
66
+ import { SidebarItem } from "./sidebar-item/index.mjs";
67
+ import { Skeleton } from "./skeleton/index.mjs";
68
+ import { Slider } from "./slider/index.mjs";
69
+ import { Step } from "./step/index.mjs";
70
+ import { Stepper } from "./stepper/index.mjs";
71
+ import { Steps } from "./steps/index.mjs";
72
+ import { Sticky } from "./sticky/index.mjs";
73
+ import { SubmitBar } from "./submit-bar/index.mjs";
74
+ import { Swipe } from "./swipe/index.mjs";
75
+ import { SwipeCell } from "./swipe-cell/index.mjs";
76
+ import { SwipeItem } from "./swipe-item/index.mjs";
77
+ import { Switch } from "./switch/index.mjs";
78
+ import { Tab } from "./tab/index.mjs";
79
+ import { Tabbar } from "./tabbar/index.mjs";
80
+ import { TabbarItem } from "./tabbar-item/index.mjs";
81
+ import { Tabs } from "./tabs/index.mjs";
82
+ import { Tag } from "./tag/index.mjs";
83
+ import { Toast } from "./toast/index.mjs";
84
+ import { TreeSelect } from "./tree-select/index.mjs";
85
+ import { Uploader } from "./uploader/index.mjs";
86
+ const version = "3.5.0-beta.1";
87
87
  function install(app) {
88
88
  const components = [
89
89
  ActionBar,
@@ -180,92 +180,92 @@ function install(app) {
180
180
  }
181
181
  });
182
182
  }
183
- export * from "./action-bar";
184
- export * from "./action-bar-button";
185
- export * from "./action-bar-icon";
186
- export * from "./action-sheet";
187
- export * from "./address-edit";
188
- export * from "./address-list";
189
- export * from "./area";
190
- export * from "./badge";
191
- export * from "./button";
192
- export * from "./calendar";
193
- export * from "./card";
194
- export * from "./cascader";
195
- export * from "./cell";
196
- export * from "./cell-group";
197
- export * from "./checkbox";
198
- export * from "./checkbox-group";
199
- export * from "./circle";
200
- export * from "./col";
201
- export * from "./collapse";
202
- export * from "./collapse-item";
203
- export * from "./config-provider";
204
- export * from "./contact-card";
205
- export * from "./contact-edit";
206
- export * from "./contact-list";
207
- export * from "./count-down";
208
- export * from "./coupon";
209
- export * from "./coupon-cell";
210
- export * from "./coupon-list";
211
- export * from "./datetime-picker";
212
- export * from "./dialog";
213
- export * from "./divider";
214
- export * from "./dropdown-item";
215
- export * from "./dropdown-menu";
216
- export * from "./empty";
217
- export * from "./field";
218
- export * from "./form";
219
- export * from "./grid";
220
- export * from "./grid-item";
221
- export * from "./icon";
222
- export * from "./image";
223
- export * from "./image-preview";
224
- export * from "./index-anchor";
225
- export * from "./index-bar";
226
- export * from "./lazyload";
227
- export * from "./list";
228
- export * from "./loading";
229
- export * from "./locale";
230
- export * from "./nav-bar";
231
- export * from "./notice-bar";
232
- export * from "./notify";
233
- export * from "./number-keyboard";
234
- export * from "./overlay";
235
- export * from "./pagination";
236
- export * from "./password-input";
237
- export * from "./picker";
238
- export * from "./popover";
239
- export * from "./popup";
240
- export * from "./progress";
241
- export * from "./pull-refresh";
242
- export * from "./radio";
243
- export * from "./radio-group";
244
- export * from "./rate";
245
- export * from "./row";
246
- export * from "./search";
247
- export * from "./share-sheet";
248
- export * from "./sidebar";
249
- export * from "./sidebar-item";
250
- export * from "./skeleton";
251
- export * from "./slider";
252
- export * from "./step";
253
- export * from "./stepper";
254
- export * from "./steps";
255
- export * from "./sticky";
256
- export * from "./submit-bar";
257
- export * from "./swipe";
258
- export * from "./swipe-cell";
259
- export * from "./swipe-item";
260
- export * from "./switch";
261
- export * from "./tab";
262
- export * from "./tabbar";
263
- export * from "./tabbar-item";
264
- export * from "./tabs";
265
- export * from "./tag";
266
- export * from "./toast";
267
- export * from "./tree-select";
268
- export * from "./uploader";
183
+ export * from "./action-bar/index.mjs";
184
+ export * from "./action-bar-button/index.mjs";
185
+ export * from "./action-bar-icon/index.mjs";
186
+ export * from "./action-sheet/index.mjs";
187
+ export * from "./address-edit/index.mjs";
188
+ export * from "./address-list/index.mjs";
189
+ export * from "./area/index.mjs";
190
+ export * from "./badge/index.mjs";
191
+ export * from "./button/index.mjs";
192
+ export * from "./calendar/index.mjs";
193
+ export * from "./card/index.mjs";
194
+ export * from "./cascader/index.mjs";
195
+ export * from "./cell/index.mjs";
196
+ export * from "./cell-group/index.mjs";
197
+ export * from "./checkbox/index.mjs";
198
+ export * from "./checkbox-group/index.mjs";
199
+ export * from "./circle/index.mjs";
200
+ export * from "./col/index.mjs";
201
+ export * from "./collapse/index.mjs";
202
+ export * from "./collapse-item/index.mjs";
203
+ export * from "./config-provider/index.mjs";
204
+ export * from "./contact-card/index.mjs";
205
+ export * from "./contact-edit/index.mjs";
206
+ export * from "./contact-list/index.mjs";
207
+ export * from "./count-down/index.mjs";
208
+ export * from "./coupon/index.mjs";
209
+ export * from "./coupon-cell/index.mjs";
210
+ export * from "./coupon-list/index.mjs";
211
+ export * from "./datetime-picker/index.mjs";
212
+ export * from "./dialog/index.mjs";
213
+ export * from "./divider/index.mjs";
214
+ export * from "./dropdown-item/index.mjs";
215
+ export * from "./dropdown-menu/index.mjs";
216
+ export * from "./empty/index.mjs";
217
+ export * from "./field/index.mjs";
218
+ export * from "./form/index.mjs";
219
+ export * from "./grid/index.mjs";
220
+ export * from "./grid-item/index.mjs";
221
+ export * from "./icon/index.mjs";
222
+ export * from "./image/index.mjs";
223
+ export * from "./image-preview/index.mjs";
224
+ export * from "./index-anchor/index.mjs";
225
+ export * from "./index-bar/index.mjs";
226
+ export * from "./lazyload/index.mjs";
227
+ export * from "./list/index.mjs";
228
+ export * from "./loading/index.mjs";
229
+ export * from "./locale/index.mjs";
230
+ export * from "./nav-bar/index.mjs";
231
+ export * from "./notice-bar/index.mjs";
232
+ export * from "./notify/index.mjs";
233
+ export * from "./number-keyboard/index.mjs";
234
+ export * from "./overlay/index.mjs";
235
+ export * from "./pagination/index.mjs";
236
+ export * from "./password-input/index.mjs";
237
+ export * from "./picker/index.mjs";
238
+ export * from "./popover/index.mjs";
239
+ export * from "./popup/index.mjs";
240
+ export * from "./progress/index.mjs";
241
+ export * from "./pull-refresh/index.mjs";
242
+ export * from "./radio/index.mjs";
243
+ export * from "./radio-group/index.mjs";
244
+ export * from "./rate/index.mjs";
245
+ export * from "./row/index.mjs";
246
+ export * from "./search/index.mjs";
247
+ export * from "./share-sheet/index.mjs";
248
+ export * from "./sidebar/index.mjs";
249
+ export * from "./sidebar-item/index.mjs";
250
+ export * from "./skeleton/index.mjs";
251
+ export * from "./slider/index.mjs";
252
+ export * from "./step/index.mjs";
253
+ export * from "./stepper/index.mjs";
254
+ export * from "./steps/index.mjs";
255
+ export * from "./sticky/index.mjs";
256
+ export * from "./submit-bar/index.mjs";
257
+ export * from "./swipe/index.mjs";
258
+ export * from "./swipe-cell/index.mjs";
259
+ export * from "./swipe-item/index.mjs";
260
+ export * from "./switch/index.mjs";
261
+ export * from "./tab/index.mjs";
262
+ export * from "./tabbar/index.mjs";
263
+ export * from "./tabbar-item/index.mjs";
264
+ export * from "./tabs/index.mjs";
265
+ export * from "./tag/index.mjs";
266
+ export * from "./toast/index.mjs";
267
+ export * from "./tree-select/index.mjs";
268
+ export * from "./uploader/index.mjs";
269
269
  var stdin_default = {
270
270
  install,
271
271
  version
@@ -1,4 +1,4 @@
1
- import { Lazyload } from "./vue-lazyload";
1
+ import { Lazyload } from "./vue-lazyload/index.mjs";
2
2
  var stdin_default = Lazyload;
3
3
  export {
4
4
  Lazyload,
@@ -1,7 +1,7 @@
1
- import Lazy from "./lazy";
2
- import LazyComponent from "./lazy-component";
3
- import LazyContainer from "./lazy-container";
4
- import LazyImage from "./lazy-image";
1
+ import Lazy from "./lazy.mjs";
2
+ import LazyComponent from "./lazy-component.mjs";
3
+ import LazyContainer from "./lazy-container.mjs";
4
+ import LazyImage from "./lazy-image.mjs";
5
5
  const Lazyload = {
6
6
  install(app, options = {}) {
7
7
  const LazyClass = Lazy();
@@ -1,4 +1,4 @@
1
- import { remove } from "./util";
1
+ import { remove } from "./util.mjs";
2
2
  const defaultOptions = {
3
3
  selector: "img"
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { useRect } from "@vant/use";
2
- import { loadImageAsync } from "./util";
3
- import { noop } from "../../utils";
2
+ import { loadImageAsync } from "./util.mjs";
3
+ import { noop } from "../../utils/index.mjs";
4
4
  var stdin_default = (lazyManager) => ({
5
5
  props: {
6
6
  src: [String, Object],
@@ -11,9 +11,9 @@ import {
11
11
  hasIntersectionObserver,
12
12
  modeType,
13
13
  ImageCache
14
- } from "./util";
15
- import { isObject } from "../../utils";
16
- import ReactiveListener from "./listener";
14
+ } from "./util.mjs";
15
+ import { isObject } from "../../utils/index.mjs";
16
+ import ReactiveListener from "./listener.mjs";
17
17
  const DEFAULT_URL = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
18
18
  const DEFAULT_EVENTS = [
19
19
  "scroll",
@@ -1,6 +1,6 @@
1
1
  import { useRect } from "@vant/use";
2
- import { loadImageAsync } from "./util";
3
- import { noop } from "../../utils";
2
+ import { loadImageAsync } from "./util.mjs";
3
+ import { noop } from "../../utils/index.mjs";
4
4
  class ReactiveListener {
5
5
  constructor({
6
6
  el,
package/es/list/List.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
2
  import { ref, watch, nextTick, onUpdated, onMounted, defineComponent } from "vue";
3
- import { isHidden, truthProp, makeStringProp, makeNumericProp, createNamespace } from "../utils";
3
+ import { isHidden, truthProp, makeStringProp, makeNumericProp, createNamespace } from "../utils/index.mjs";
4
4
  import { useRect, useScrollParent, useEventListener } from "@vant/use";
5
- import { useExpose } from "../composables/use-expose";
6
- import { useTabStatus } from "../composables/use-tab-status";
7
- import { Loading } from "../loading";
5
+ import { useExpose } from "../composables/use-expose.mjs";
6
+ import { useTabStatus } from "../composables/use-tab-status.mjs";
7
+ import { Loading } from "../loading/index.mjs";
8
8
  const [name, bem, t] = createNamespace("list");
9
9
  const listProps = {
10
10
  error: Boolean,
package/es/list/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { withInstall } from "../utils";
2
- import _List from "./List";
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _List from "./List.mjs";
3
3
  const List = withInstall(_List);
4
4
  var stdin_default = List;
5
5
  export {
@@ -1,6 +1,6 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
2
  import { computed, defineComponent } from "vue";
3
- import { extend, addUnit, numericProp, getSizeStyle, makeStringProp, createNamespace } from "../utils";
3
+ import { extend, addUnit, numericProp, getSizeStyle, makeStringProp, createNamespace } from "../utils/index.mjs";
4
4
  const [name, bem] = createNamespace("loading");
5
5
  const SpinIcon = Array(12).fill(null).map((_, index) => _createVNode("i", {
6
6
  "class": bem("line", String(index + 1))
@@ -1,5 +1,5 @@
1
- import { withInstall } from "../utils";
2
- import _Loading from "./Loading";
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _Loading from "./Loading.mjs";
3
3
  const Loading = withInstall(_Loading);
4
4
  var stdin_default = Loading;
5
5
  export {
@@ -1,6 +1,6 @@
1
1
  import { ref, reactive } from "vue";
2
- import { deepAssign } from "../utils/deep-assign";
3
- import defaultMessages from "./lang/zh-CN";
2
+ import { deepAssign } from "../utils/deep-assign.mjs";
3
+ import defaultMessages from "./lang/zh-CN.mjs";
4
4
  const lang = ref("zh-CN");
5
5
  const messages = reactive({
6
6
  "zh-CN": defaultMessages
@@ -1,8 +1,8 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
2
  import { ref, defineComponent } from "vue";
3
- import { truthProp, numericProp, BORDER_BOTTOM, getZIndexStyle, createNamespace, HAPTICS_FEEDBACK } from "../utils";
4
- import { usePlaceholder } from "../composables/use-placeholder";
5
- import { Icon } from "../icon";
3
+ import { truthProp, numericProp, BORDER_BOTTOM, getZIndexStyle, createNamespace, HAPTICS_FEEDBACK } from "../utils/index.mjs";
4
+ import { usePlaceholder } from "../composables/use-placeholder.mjs";
5
+ import { Icon } from "../icon/index.mjs";
6
6
  const [name, bem] = createNamespace("nav-bar");
7
7
  const navBarProps = {
8
8
  title: String,
@@ -1,5 +1,5 @@
1
- import { withInstall } from "../utils";
2
- import _NavBar from "./NavBar";
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _NavBar from "./NavBar.mjs";
3
3
  const NavBar = withInstall(_NavBar);
4
4
  var stdin_default = NavBar;
5
5
  export {
@@ -1,10 +1,10 @@
1
1
  import { withDirectives as _withDirectives, vShow as _vShow, createVNode as _createVNode } from "vue";
2
2
  import { ref, watch, reactive, defineComponent } from "vue";
3
- import { isDef, createNamespace, makeNumericProp } from "../utils";
3
+ import { isDef, createNamespace, makeNumericProp } from "../utils/index.mjs";
4
4
  import { raf, useRect, doubleRaf, useEventListener, onMountedOrActivated } from "@vant/use";
5
- import { useExpose } from "../composables/use-expose";
6
- import { onPopupReopen } from "../composables/on-popup-reopen";
7
- import { Icon } from "../icon";
5
+ import { useExpose } from "../composables/use-expose.mjs";
6
+ import { onPopupReopen } from "../composables/on-popup-reopen.mjs";
7
+ import { Icon } from "../icon/index.mjs";
8
8
  const [name, bem] = createNamespace("notice-bar");
9
9
  const noticeBarProps = {
10
10
  text: String,
@@ -1,5 +1,5 @@
1
- import { withInstall } from "../utils";
2
- import _NoticeBar from "./NoticeBar";
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _NoticeBar from "./NoticeBar.mjs";
3
3
  const NoticeBar = withInstall(_NoticeBar);
4
4
  var stdin_default = NoticeBar;
5
5
  export {
@@ -1,8 +1,8 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
2
  import { defineComponent } from "vue";
3
- import { extend, numericProp, unknownProp, makeStringProp, createNamespace } from "../utils";
4
- import { Popup } from "../popup";
5
- import { popupSharedProps } from "../popup/shared";
3
+ import { extend, numericProp, unknownProp, makeStringProp, createNamespace } from "../utils/index.mjs";
4
+ import { Popup } from "../popup/index.mjs";
5
+ import { popupSharedProps } from "../popup/shared.mjs";
6
6
  const [name, bem] = createNamespace("notify");
7
7
  const notifyProps = extend({}, popupSharedProps, {
8
8
  type: makeStringProp("danger"),
@@ -1,7 +1,7 @@
1
1
  import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
2
- import { extend, isObject, inBrowser, withInstall } from "../utils";
3
- import { mountComponent, usePopupState } from "../utils/mount-component";
4
- import VanNotify from "./Notify";
2
+ import { extend, isObject, inBrowser, withInstall } from "../utils/index.mjs";
3
+ import { mountComponent, usePopupState } from "../utils/mount-component.mjs";
4
+ import VanNotify from "./Notify.mjs";
5
5
  let timer;
6
6
  let instance;
7
7
  const parseOptions = (message) => isObject(message) ? message : {
@@ -1,4 +1,4 @@
1
- import { Notify } from "./function-call";
1
+ import { Notify } from "./function-call.mjs";
2
2
  var stdin_default = Notify;
3
3
  export {
4
4
  Notify,