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.
- package/es/action-bar/ActionBar.mjs +1 -1
- package/es/action-bar/index.mjs +2 -2
- package/es/action-bar-button/ActionBarButton.mjs +5 -5
- package/es/action-bar-button/index.mjs +2 -2
- package/es/action-bar-icon/ActionBarIcon.mjs +5 -5
- package/es/action-bar-icon/index.mjs +2 -2
- package/es/action-sheet/ActionSheet.mjs +5 -5
- package/es/action-sheet/index.mjs +2 -2
- package/es/address-edit/AddressEdit.mjs +11 -11
- package/es/address-edit/AddressEditDetail.mjs +3 -3
- package/es/address-edit/index.mjs +2 -2
- package/es/address-list/AddressList.mjs +4 -4
- package/es/address-list/AddressListItem.mjs +5 -5
- package/es/address-list/index.mjs +2 -2
- package/es/area/Area.mjs +5 -5
- package/es/area/index.mjs +2 -2
- package/es/badge/Badge.mjs +1 -1
- package/es/badge/index.mjs +2 -2
- package/es/button/Button.mjs +4 -4
- package/es/button/index.mjs +2 -2
- package/es/calendar/Calendar.mjs +9 -9
- package/es/calendar/CalendarDay.mjs +2 -2
- package/es/calendar/CalendarHeader.mjs +2 -2
- package/es/calendar/CalendarMonth.mjs +6 -6
- package/es/calendar/index.mjs +2 -2
- package/es/calendar/utils.mjs +1 -1
- package/es/card/Card.mjs +3 -3
- package/es/card/index.mjs +2 -2
- package/es/cascader/Cascader.mjs +4 -4
- package/es/cascader/index.mjs +2 -2
- package/es/cell/Cell.mjs +3 -3
- package/es/cell/index.mjs +2 -2
- package/es/cell-group/CellGroup.mjs +1 -1
- package/es/cell-group/index.mjs +2 -2
- package/es/checkbox/Checkbox.mjs +4 -4
- package/es/checkbox/Checker.mjs +2 -2
- package/es/checkbox/index.mjs +2 -2
- package/es/checkbox-group/CheckboxGroup.mjs +2 -2
- package/es/checkbox-group/index.mjs +2 -2
- package/es/circle/Circle.mjs +1 -1
- package/es/circle/index.mjs +2 -2
- package/es/col/Col.mjs +2 -2
- package/es/col/index.mjs +2 -2
- package/es/collapse/Collapse.mjs +1 -1
- package/es/collapse/index.mjs +2 -2
- package/es/collapse-item/CollapseItem.mjs +6 -6
- package/es/collapse-item/index.mjs +2 -2
- package/es/composables/use-expose.mjs +1 -1
- package/es/composables/use-lock-scroll.mjs +2 -2
- package/es/composables/use-placeholder.mjs +1 -1
- package/es/composables/use-visibility-change.mjs +1 -1
- package/es/config-provider/ConfigProvider.mjs +1 -1
- package/es/config-provider/index.mjs +2 -2
- package/es/contact-card/ContactCard.mjs +2 -2
- package/es/contact-card/index.mjs +2 -2
- package/es/contact-edit/ContactEdit.mjs +6 -6
- package/es/contact-edit/index.mjs +2 -2
- package/es/contact-list/ContactList.mjs +7 -7
- package/es/contact-list/index.mjs +2 -2
- package/es/count-down/CountDown.mjs +3 -3
- package/es/count-down/index.mjs +2 -2
- package/es/count-down/utils.mjs +1 -1
- package/es/coupon/Coupon.mjs +3 -3
- package/es/coupon/index.mjs +2 -2
- package/es/coupon/utils.mjs +1 -1
- package/es/coupon-cell/CouponCell.mjs +2 -2
- package/es/coupon-cell/index.mjs +2 -2
- package/es/coupon-list/CouponList.mjs +8 -8
- package/es/coupon-list/index.mjs +2 -2
- package/es/datetime-picker/DatePicker.mjs +4 -4
- package/es/datetime-picker/DatetimePicker.mjs +4 -4
- package/es/datetime-picker/TimePicker.mjs +4 -4
- package/es/datetime-picker/index.mjs +2 -2
- package/es/datetime-picker/utils.mjs +2 -2
- package/es/dialog/Dialog.mjs +6 -6
- package/es/dialog/function-call.mjs +3 -3
- package/es/dialog/index.mjs +1 -1
- package/es/divider/Divider.mjs +1 -1
- package/es/divider/index.mjs +2 -2
- package/es/dropdown-item/DropdownItem.mjs +6 -6
- package/es/dropdown-item/index.mjs +2 -2
- package/es/dropdown-menu/DropdownMenu.mjs +2 -2
- package/es/dropdown-menu/index.mjs +2 -2
- package/es/empty/Empty.mjs +2 -2
- package/es/empty/index.mjs +2 -2
- package/es/field/Field.mjs +7 -7
- package/es/field/index.mjs +2 -2
- package/es/field/utils.mjs +1 -1
- package/es/form/Form.mjs +2 -2
- package/es/form/index.mjs +2 -2
- package/es/grid/Grid.mjs +2 -2
- package/es/grid/index.mjs +2 -2
- package/es/grid-item/GridItem.mjs +5 -5
- package/es/grid-item/index.mjs +2 -2
- package/es/icon/Icon.mjs +3 -3
- package/es/icon/index.mjs +2 -2
- package/es/image/Image.mjs +2 -2
- package/es/image/index.mjs +2 -2
- package/es/image-preview/ImagePreview.mjs +6 -6
- package/es/image-preview/ImagePreviewItem.mjs +5 -5
- package/es/image-preview/function-call.mjs +3 -3
- package/es/image-preview/index.mjs +1 -1
- package/es/index-anchor/IndexAnchor.mjs +4 -4
- package/es/index-anchor/index.mjs +2 -2
- package/es/index-bar/IndexBar.mjs +3 -3
- package/es/index-bar/index.mjs +2 -2
- package/es/index.d.ts +1 -1
- package/es/index.mjs +172 -172
- package/es/lazyload/index.mjs +1 -1
- package/es/lazyload/vue-lazyload/index.mjs +4 -4
- package/es/lazyload/vue-lazyload/lazy-container.mjs +1 -1
- package/es/lazyload/vue-lazyload/lazy-image.mjs +2 -2
- package/es/lazyload/vue-lazyload/lazy.mjs +3 -3
- package/es/lazyload/vue-lazyload/listener.mjs +2 -2
- package/es/list/List.mjs +4 -4
- package/es/list/index.mjs +2 -2
- package/es/loading/Loading.mjs +1 -1
- package/es/loading/index.mjs +2 -2
- package/es/locale/index.mjs +2 -2
- package/es/nav-bar/NavBar.mjs +3 -3
- package/es/nav-bar/index.mjs +2 -2
- package/es/notice-bar/NoticeBar.mjs +4 -4
- package/es/notice-bar/index.mjs +2 -2
- package/es/notify/Notify.mjs +3 -3
- package/es/notify/function-call.mjs +3 -3
- package/es/notify/index.mjs +1 -1
- package/es/number-keyboard/NumberKeyboard.mjs +2 -2
- package/es/number-keyboard/NumberKeyboardKey.mjs +3 -3
- package/es/number-keyboard/index.mjs +2 -2
- package/es/overlay/Overlay.mjs +2 -2
- package/es/overlay/index.mjs +2 -2
- package/es/pagination/Pagination.mjs +1 -1
- package/es/pagination/index.mjs +2 -2
- package/es/password-input/PasswordInput.mjs +1 -1
- package/es/password-input/index.mjs +2 -2
- package/es/picker/Picker.mjs +4 -4
- package/es/picker/PickerColumn.mjs +4 -4
- package/es/picker/index.mjs +2 -2
- package/es/popover/Popover.mjs +3 -3
- package/es/popover/index.mjs +2 -2
- package/es/popup/Popup.mjs +8 -8
- package/es/popup/index.mjs +2 -2
- package/es/popup/shared.mjs +1 -1
- package/es/progress/Progress.mjs +1 -1
- package/es/progress/index.mjs +2 -2
- package/es/pull-refresh/PullRefresh.mjs +3 -3
- package/es/pull-refresh/index.mjs +2 -2
- package/es/radio/Radio.mjs +3 -3
- package/es/radio/index.mjs +2 -2
- package/es/radio-group/RadioGroup.mjs +1 -1
- package/es/radio-group/index.mjs +2 -2
- package/es/rate/Rate.mjs +4 -4
- package/es/rate/index.mjs +2 -2
- package/es/row/Row.mjs +1 -1
- package/es/row/index.mjs +2 -2
- package/es/search/Search.mjs +5 -5
- package/es/search/index.mjs +2 -2
- package/es/share-sheet/ShareSheet.mjs +4 -4
- package/es/share-sheet/index.mjs +2 -2
- package/es/sidebar/Sidebar.mjs +1 -1
- package/es/sidebar/index.mjs +2 -2
- package/es/sidebar-item/SidebarItem.mjs +4 -4
- package/es/sidebar-item/index.mjs +2 -2
- package/es/skeleton/Skeleton.mjs +1 -1
- package/es/skeleton/index.mjs +2 -2
- package/es/slider/Slider.mjs +2 -2
- package/es/slider/index.mjs +2 -2
- package/es/step/Step.mjs +3 -3
- package/es/step/index.mjs +2 -2
- package/es/stepper/Stepper.mjs +1 -1
- package/es/stepper/index.mjs +2 -2
- package/es/steps/Steps.mjs +1 -1
- package/es/steps/index.mjs +2 -2
- package/es/sticky/Sticky.mjs +2 -2
- package/es/sticky/index.mjs +2 -2
- package/es/submit-bar/SubmitBar.mjs +3 -3
- package/es/submit-bar/index.mjs +2 -2
- package/es/swipe/Swipe.mjs +4 -4
- package/es/swipe/index.mjs +2 -2
- package/es/swipe-cell/SwipeCell.mjs +3 -3
- package/es/swipe-cell/index.mjs +2 -2
- package/es/swipe-item/SwipeItem.mjs +3 -3
- package/es/swipe-item/index.mjs +2 -2
- package/es/switch/Switch.mjs +2 -2
- package/es/switch/index.mjs +2 -2
- package/es/tab/Tab.mjs +7 -7
- package/es/tab/index.mjs +2 -2
- package/es/tabbar/Tabbar.mjs +2 -2
- package/es/tabbar/index.mjs +2 -2
- package/es/tabbar-item/TabbarItem.mjs +5 -5
- package/es/tabbar-item/index.mjs +2 -2
- package/es/tabs/Tabs.mjs +10 -10
- package/es/tabs/TabsContent.mjs +2 -2
- package/es/tabs/TabsTitle.mjs +2 -2
- package/es/tabs/index.mjs +2 -2
- package/es/tabs/utils.mjs +1 -1
- package/es/tag/Tag.mjs +2 -2
- package/es/tag/index.mjs +2 -2
- package/es/toast/Toast.mjs +5 -5
- package/es/toast/function-call.mjs +3 -3
- package/es/toast/index.mjs +1 -1
- package/es/tree-select/TreeSelect.mjs +4 -4
- package/es/tree-select/index.mjs +2 -2
- package/es/uploader/Uploader.mjs +6 -6
- package/es/uploader/UploaderPreviewItem.mjs +5 -5
- package/es/uploader/index.mjs +2 -2
- package/es/uploader/utils.mjs +1 -1
- package/es/utils/create.mjs +4 -4
- package/es/utils/deep-assign.mjs +1 -1
- package/es/utils/deep-clone.mjs +1 -1
- package/es/utils/dom.mjs +1 -1
- package/es/utils/format.mjs +3 -3
- package/es/utils/index.mjs +9 -9
- package/es/utils/interceptor.mjs +2 -2
- package/es/utils/mount-component.mjs +2 -2
- package/es/utils/validate.mjs +1 -1
- package/es/utils/with-install.mjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.cjs.js +1 -1
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +1 -1
- package/lib/vant.es.min.js +1 -1
- package/lib/vant.js +1 -1
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +281 -281
- package/vetur/tags.json +86 -86
- 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,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));
|
package/es/index-bar/index.mjs
CHANGED
package/es/index.d.ts
CHANGED
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.
|
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
|
package/es/lazyload/index.mjs
CHANGED
@@ -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,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",
|
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
package/es/loading/Loading.mjs
CHANGED
@@ -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))
|
package/es/loading/index.mjs
CHANGED
package/es/locale/index.mjs
CHANGED
@@ -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
|
package/es/nav-bar/NavBar.mjs
CHANGED
@@ -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,
|
package/es/nav-bar/index.mjs
CHANGED
@@ -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,
|
package/es/notice-bar/index.mjs
CHANGED
package/es/notify/Notify.mjs
CHANGED
@@ -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 : {
|
package/es/notify/index.mjs
CHANGED