vant 3.4.3 → 3.4.6
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/changelog.generated.md +92 -0
- package/es/area/Area.js +3 -1
- package/es/calendar/Calendar.d.ts +4 -0
- package/es/calendar/Calendar.js +2 -0
- package/es/calendar/index.d.ts +3 -0
- package/es/collapse-item/CollapseItem.d.ts +13 -0
- package/es/collapse-item/CollapseItem.js +3 -2
- package/es/collapse-item/index.d.ts +9 -0
- package/es/dialog/Dialog.d.ts +2 -1
- package/es/dialog/Dialog.js +19 -3
- package/es/dialog/function-call.d.ts +2 -1
- package/es/field/utils.js +2 -1
- package/es/index-bar/IndexBar.d.ts +4 -4
- package/es/index-bar/IndexBar.js +3 -1
- package/es/index-bar/index.d.ts +3 -3
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/locale/lang/bn-BD.d.ts +64 -0
- package/es/locale/lang/bn-BD.js +74 -0
- package/es/locale/lang/de-DE-formal.js +1 -1
- package/es/locale/lang/de-DE.js +1 -1
- package/es/locale/lang/en-US.js +1 -1
- package/es/locale/lang/es-ES.js +1 -1
- package/es/locale/lang/fr-FR.js +1 -1
- package/es/locale/lang/hi-IN.js +1 -1
- package/es/locale/lang/id-ID.d.ts +64 -0
- package/es/locale/lang/id-ID.js +66 -0
- package/es/locale/lang/it-IT.d.ts +64 -0
- package/es/locale/lang/it-IT.js +74 -0
- package/es/locale/lang/ja-JP.js +1 -1
- package/es/locale/lang/ko-KR.js +1 -1
- package/es/locale/lang/nb-NO.js +1 -1
- package/es/locale/lang/pt-BR.js +1 -1
- package/es/locale/lang/ro-RO.js +1 -1
- package/es/locale/lang/ru-RU.js +1 -1
- package/es/locale/lang/th-TH.js +1 -1
- package/es/locale/lang/uk-UA.d.ts +64 -0
- package/es/locale/lang/uk-UA.js +74 -0
- package/es/locale/lang/vi-VN.d.ts +64 -0
- package/es/locale/lang/vi-VN.js +74 -0
- package/es/locale/lang/zh-CN.js +1 -1
- package/es/locale/lang/zh-HK.js +1 -1
- package/es/locale/lang/zh-TW.js +1 -1
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/NavBar.js +3 -3
- package/es/nav-bar/index.d.ts +1 -1
- package/es/popup/Popup.d.ts +6 -1
- package/es/popup/Popup.js +14 -3
- package/es/popup/index.d.ts +5 -1
- package/es/popup/types.d.ts +5 -2
- package/es/skeleton/Skeleton.js +6 -4
- package/es/style/base.css +1 -1
- package/es/style/base.less +5 -0
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.less +1 -0
- package/es/swipe-cell/SwipeCell.js +1 -1
- package/es/toast/Toast.d.ts +3 -0
- package/es/toast/Toast.js +3 -1
- package/es/uploader/types.d.ts +1 -3
- package/es/utils/interceptor.d.ts +1 -1
- package/lib/action-bar/ActionBar.js +14 -13
- package/lib/action-bar/index.js +14 -8
- package/lib/action-bar-button/ActionBarButton.js +18 -17
- package/lib/action-bar-button/index.js +14 -8
- package/lib/action-bar-icon/ActionBarIcon.js +18 -17
- package/lib/action-bar-icon/index.js +14 -8
- package/lib/action-sheet/ActionSheet.js +17 -16
- package/lib/action-sheet/index.js +14 -8
- package/lib/address-edit/AddressEdit.js +25 -19
- package/lib/address-edit/AddressEditDetail.js +15 -14
- package/lib/address-edit/index.js +14 -8
- package/lib/address-edit/types.js +18 -1
- package/lib/address-list/AddressList.js +18 -12
- package/lib/address-list/AddressListItem.js +17 -16
- package/lib/address-list/index.js +14 -8
- package/lib/area/Area.js +20 -17
- package/lib/area/index.js +14 -8
- package/lib/area/types.js +18 -1
- package/lib/badge/Badge.js +13 -12
- package/lib/badge/index.js +14 -8
- package/lib/button/Button.js +16 -15
- package/lib/button/index.js +14 -8
- package/lib/button/types.js +18 -1
- package/lib/calendar/Calendar.d.ts +4 -0
- package/lib/calendar/Calendar.js +26 -18
- package/lib/calendar/CalendarDay.js +14 -13
- package/lib/calendar/CalendarHeader.js +14 -13
- package/lib/calendar/CalendarMonth.js +21 -15
- package/lib/calendar/index.d.ts +3 -0
- package/lib/calendar/index.js +14 -8
- package/lib/calendar/types.js +18 -1
- package/lib/calendar/utils.js +11 -10
- package/lib/card/Card.js +15 -14
- package/lib/card/index.js +14 -8
- package/lib/cascader/Cascader.js +16 -15
- package/lib/cascader/index.js +14 -8
- package/lib/cascader/types.js +18 -1
- package/lib/cell/Cell.js +15 -14
- package/lib/cell/index.js +14 -8
- package/lib/cell-group/CellGroup.js +13 -12
- package/lib/cell-group/index.js +14 -8
- package/lib/checkbox/Checkbox.js +19 -13
- package/lib/checkbox/Checker.js +14 -13
- package/lib/checkbox/index.js +14 -8
- package/lib/checkbox/types.js +18 -1
- package/lib/checkbox-group/CheckboxGroup.js +15 -14
- package/lib/checkbox-group/index.js +14 -8
- package/lib/checkbox-group/types.js +18 -1
- package/lib/circle/Circle.js +14 -13
- package/lib/circle/index.js +14 -8
- package/lib/col/Col.js +15 -14
- package/lib/col/index.js +14 -8
- package/lib/collapse/Collapse.js +14 -13
- package/lib/collapse/index.js +14 -8
- package/lib/collapse-item/CollapseItem.d.ts +13 -0
- package/lib/collapse-item/CollapseItem.js +22 -20
- package/lib/collapse-item/index.d.ts +9 -0
- package/lib/collapse-item/index.js +14 -8
- package/lib/collapse-item/types.js +18 -1
- package/lib/composables/on-popup-reopen.js +11 -10
- package/lib/composables/use-expose.js +12 -11
- package/lib/composables/use-height.js +12 -11
- package/lib/composables/use-id.js +11 -10
- package/lib/composables/use-lazy-render.js +11 -10
- package/lib/composables/use-lock-scroll.js +14 -13
- package/lib/composables/use-placeholder.js +12 -11
- package/lib/composables/use-refs.js +11 -10
- package/lib/composables/use-route.js +11 -10
- package/lib/composables/use-tab-status.js +11 -10
- package/lib/composables/use-touch.js +11 -10
- package/lib/composables/use-visibility-change.js +13 -12
- package/lib/config-provider/ConfigProvider.js +13 -12
- package/lib/config-provider/index.js +14 -8
- package/lib/contact-card/ContactCard.js +14 -13
- package/lib/contact-card/index.js +14 -8
- package/lib/contact-edit/ContactEdit.js +18 -17
- package/lib/contact-edit/index.js +14 -8
- package/lib/contact-list/ContactList.js +19 -18
- package/lib/contact-list/index.js +14 -8
- package/lib/count-down/CountDown.js +16 -15
- package/lib/count-down/index.js +14 -8
- package/lib/count-down/types.js +18 -1
- package/lib/count-down/utils.js +11 -10
- package/lib/coupon/Coupon.js +15 -14
- package/lib/coupon/index.js +14 -8
- package/lib/coupon/utils.js +11 -10
- package/lib/coupon-cell/CouponCell.js +14 -13
- package/lib/coupon-cell/index.js +14 -8
- package/lib/coupon-list/CouponList.js +20 -19
- package/lib/coupon-list/index.js +14 -8
- package/lib/datetime-picker/DatePicker.js +16 -15
- package/lib/datetime-picker/DatetimePicker.js +18 -12
- package/lib/datetime-picker/TimePicker.js +16 -15
- package/lib/datetime-picker/index.js +14 -8
- package/lib/datetime-picker/types.js +18 -1
- package/lib/datetime-picker/utils.js +12 -11
- package/lib/dialog/Dialog.d.ts +2 -1
- package/lib/dialog/Dialog.js +35 -18
- package/lib/dialog/function-call.d.ts +2 -1
- package/lib/dialog/function-call.js +16 -10
- package/lib/dialog/index.js +11 -10
- package/lib/dialog/types.js +18 -1
- package/lib/divider/Divider.js +13 -12
- package/lib/divider/index.js +14 -8
- package/lib/dropdown-item/DropdownItem.js +19 -18
- package/lib/dropdown-item/index.js +14 -8
- package/lib/dropdown-item/types.js +18 -1
- package/lib/dropdown-menu/DropdownMenu.js +15 -14
- package/lib/dropdown-menu/index.js +14 -8
- package/lib/dropdown-menu/types.js +18 -1
- package/lib/empty/Empty.js +14 -13
- package/lib/empty/Network.js +11 -10
- package/lib/empty/index.js +14 -8
- package/lib/field/Field.js +20 -19
- package/lib/field/index.js +14 -8
- package/lib/field/types.js +18 -1
- package/lib/field/utils.js +13 -11
- package/lib/form/Form.js +15 -14
- package/lib/form/index.js +14 -8
- package/lib/form/types.js +18 -1
- package/lib/grid/Grid.js +15 -14
- package/lib/grid/index.js +14 -8
- package/lib/grid-item/GridItem.js +18 -17
- package/lib/grid-item/index.js +14 -8
- package/lib/icon/Icon.js +15 -14
- package/lib/icon/index.js +14 -8
- package/lib/image/Image.js +14 -13
- package/lib/image/index.js +14 -8
- package/lib/image-preview/ImagePreview.js +21 -15
- package/lib/image-preview/ImagePreviewItem.js +17 -16
- package/lib/image-preview/function-call.js +16 -10
- package/lib/image-preview/index.js +11 -10
- package/lib/image-preview/types.js +18 -1
- package/lib/index-anchor/IndexAnchor.js +17 -16
- package/lib/index-anchor/index.js +14 -8
- package/lib/index-bar/IndexBar.d.ts +4 -4
- package/lib/index-bar/IndexBar.js +19 -16
- package/lib/index-bar/index.d.ts +3 -3
- package/lib/index-bar/index.js +14 -8
- package/lib/index-bar/types.js +18 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +182 -181
- package/lib/lazyload/index.js +11 -10
- package/lib/lazyload/vue-lazyload/index.js +16 -10
- package/lib/lazyload/vue-lazyload/lazy-component.js +12 -11
- package/lib/lazyload/vue-lazyload/lazy-container.js +11 -10
- package/lib/lazyload/vue-lazyload/lazy-image.js +13 -12
- package/lib/lazyload/vue-lazyload/lazy.js +17 -11
- package/lib/lazyload/vue-lazyload/listener.js +13 -12
- package/lib/lazyload/vue-lazyload/util.js +11 -10
- package/lib/list/List.js +17 -16
- package/lib/list/index.js +14 -8
- package/lib/list/types.js +18 -1
- package/lib/loading/Loading.js +13 -12
- package/lib/loading/index.js +14 -8
- package/lib/locale/index.js +15 -9
- package/lib/locale/lang/bn-BD.d.ts +64 -0
- package/lib/locale/lang/bn-BD.js +98 -0
- package/lib/locale/lang/de-DE-formal.js +20 -3
- package/lib/locale/lang/de-DE.js +20 -3
- package/lib/locale/lang/en-US.js +20 -3
- package/lib/locale/lang/es-ES.js +20 -3
- package/lib/locale/lang/fr-FR.js +20 -3
- package/lib/locale/lang/hi-IN.js +20 -3
- package/lib/locale/lang/id-ID.d.ts +64 -0
- package/lib/locale/lang/id-ID.js +90 -0
- package/lib/locale/lang/it-IT.d.ts +64 -0
- package/lib/locale/lang/it-IT.js +98 -0
- package/lib/locale/lang/ja-JP.js +20 -3
- package/lib/locale/lang/ko-KR.js +20 -3
- package/lib/locale/lang/nb-NO.js +20 -3
- package/lib/locale/lang/pt-BR.js +20 -3
- package/lib/locale/lang/ro-RO.js +20 -3
- package/lib/locale/lang/ru-RU.js +20 -3
- package/lib/locale/lang/th-TH.js +20 -3
- package/lib/locale/lang/tr-TR.js +19 -2
- package/lib/locale/lang/uk-UA.d.ts +64 -0
- package/lib/locale/lang/uk-UA.js +98 -0
- package/lib/locale/lang/vi-VN.d.ts +64 -0
- package/lib/locale/lang/vi-VN.js +98 -0
- package/lib/locale/lang/zh-CN.js +20 -3
- package/lib/locale/lang/zh-HK.js +20 -3
- package/lib/locale/lang/zh-TW.js +20 -3
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/NavBar.js +18 -17
- package/lib/nav-bar/index.d.ts +1 -1
- package/lib/nav-bar/index.js +14 -8
- package/lib/notice-bar/NoticeBar.js +17 -16
- package/lib/notice-bar/index.js +14 -8
- package/lib/notice-bar/types.js +18 -1
- package/lib/notify/Notify.js +15 -14
- package/lib/notify/function-call.js +16 -10
- package/lib/notify/index.js +11 -10
- package/lib/notify/types.js +18 -1
- package/lib/number-keyboard/NumberKeyboard.js +17 -11
- package/lib/number-keyboard/NumberKeyboardKey.js +15 -14
- package/lib/number-keyboard/index.js +14 -8
- package/lib/overlay/Overlay.js +14 -13
- package/lib/overlay/index.js +14 -8
- package/lib/pagination/Pagination.js +13 -12
- package/lib/pagination/index.js +14 -8
- package/lib/password-input/PasswordInput.js +13 -12
- package/lib/password-input/index.js +14 -8
- package/lib/picker/Picker.js +19 -13
- package/lib/picker/PickerColumn.js +17 -16
- package/lib/picker/index.js +14 -8
- package/lib/picker/types.js +18 -1
- package/lib/popover/Popover.js +17 -16
- package/lib/popover/index.js +14 -8
- package/lib/popover/types.js +18 -1
- package/lib/popup/Popup.d.ts +6 -1
- package/lib/popup/Popup.js +34 -22
- package/lib/popup/index.d.ts +5 -1
- package/lib/popup/index.js +14 -8
- package/lib/popup/shared.js +11 -10
- package/lib/popup/types.d.ts +5 -2
- package/lib/popup/types.js +18 -1
- package/lib/progress/Progress.js +13 -12
- package/lib/progress/index.js +14 -8
- package/lib/progress/types.js +18 -1
- package/lib/pull-refresh/PullRefresh.js +16 -15
- package/lib/pull-refresh/index.js +14 -8
- package/lib/radio/Radio.js +18 -12
- package/lib/radio/index.js +14 -8
- package/lib/radio-group/RadioGroup.js +14 -13
- package/lib/radio-group/index.js +14 -8
- package/lib/rate/Rate.js +17 -16
- package/lib/rate/index.js +14 -8
- package/lib/row/Row.js +14 -13
- package/lib/row/index.js +14 -8
- package/lib/search/Search.js +17 -16
- package/lib/search/index.js +14 -8
- package/lib/search/types.js +18 -1
- package/lib/share-sheet/ShareSheet.js +15 -14
- package/lib/share-sheet/index.js +14 -8
- package/lib/sidebar/Sidebar.js +14 -13
- package/lib/sidebar/index.js +14 -8
- package/lib/sidebar-item/SidebarItem.js +17 -16
- package/lib/sidebar-item/index.js +14 -8
- package/lib/skeleton/Skeleton.js +18 -15
- package/lib/skeleton/index.js +14 -8
- package/lib/slider/Slider.js +15 -14
- package/lib/slider/index.js +14 -8
- package/lib/step/Step.js +16 -15
- package/lib/step/index.js +14 -8
- package/lib/stepper/Stepper.js +14 -13
- package/lib/stepper/index.js +14 -8
- package/lib/steps/Steps.js +14 -13
- package/lib/steps/index.js +14 -8
- package/lib/sticky/Sticky.js +15 -14
- package/lib/sticky/index.js +14 -8
- package/lib/style/base.css +1 -1
- package/lib/style/base.less +5 -0
- package/lib/submit-bar/SubmitBar.js +15 -14
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.js +14 -8
- package/lib/submit-bar/index.less +1 -0
- package/lib/swipe/Swipe.js +17 -16
- package/lib/swipe/index.js +14 -8
- package/lib/swipe/types.js +18 -1
- package/lib/swipe-cell/SwipeCell.js +17 -16
- package/lib/swipe-cell/index.js +14 -8
- package/lib/swipe-cell/types.js +18 -1
- package/lib/swipe-item/SwipeItem.js +16 -15
- package/lib/swipe-item/index.js +14 -8
- package/lib/switch/Switch.js +15 -14
- package/lib/switch/index.js +14 -8
- package/lib/tab/Tab.js +20 -19
- package/lib/tab/index.js +14 -8
- package/lib/tabbar/Tabbar.js +15 -14
- package/lib/tabbar/index.js +14 -8
- package/lib/tabbar-item/TabbarItem.js +18 -17
- package/lib/tabbar-item/index.js +14 -8
- package/lib/tabs/Tabs.js +25 -19
- package/lib/tabs/TabsContent.js +14 -13
- package/lib/tabs/TabsTitle.js +14 -13
- package/lib/tabs/index.js +14 -8
- package/lib/tabs/types.js +18 -1
- package/lib/tabs/utils.js +12 -11
- package/lib/tag/Tag.js +14 -13
- package/lib/tag/index.js +14 -8
- package/lib/toast/Toast.d.ts +3 -0
- package/lib/toast/Toast.js +20 -17
- package/lib/toast/function-call.js +17 -11
- package/lib/toast/index.js +11 -10
- package/lib/toast/lock-click.js +19 -2
- package/lib/toast/types.js +18 -1
- package/lib/tree-select/TreeSelect.js +16 -15
- package/lib/tree-select/index.js +14 -8
- package/lib/uploader/Uploader.js +21 -15
- package/lib/uploader/UploaderPreviewItem.js +17 -16
- package/lib/uploader/index.js +14 -8
- package/lib/uploader/types.d.ts +1 -3
- package/lib/uploader/types.js +18 -1
- package/lib/uploader/utils.js +11 -10
- package/lib/utils/basic.js +19 -2
- package/lib/utils/constant.js +19 -2
- package/lib/utils/create.js +16 -10
- package/lib/utils/deep-assign.js +11 -10
- package/lib/utils/deep-clone.js +11 -10
- package/lib/utils/dom.js +13 -12
- package/lib/utils/format.js +13 -12
- package/lib/utils/index.js +18 -17
- package/lib/utils/interceptor.d.ts +1 -1
- package/lib/utils/interceptor.js +12 -11
- package/lib/utils/mount-component.js +13 -12
- package/lib/utils/props.js +19 -2
- package/lib/utils/validate.js +11 -10
- package/lib/utils/with-install.js +11 -10
- package/lib/vant.cjs.js +57 -18
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +58 -19
- package/lib/vant.es.min.js +58 -19
- package/lib/vant.js +60 -21
- package/lib/vant.min.js +1 -1
- package/package.json +4 -7
- package/vetur/attributes.json +180 -168
- package/vetur/tags.json +57 -54
- package/vetur/web-types.json +611 -581
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vant",
|
3
|
-
"version": "3.4.
|
3
|
+
"version": "3.4.6",
|
4
4
|
"description": "Mobile UI Components built on Vue",
|
5
5
|
"main": "lib/vant.cjs.js",
|
6
6
|
"module": "es/index.js",
|
@@ -35,8 +35,8 @@
|
|
35
35
|
"test": "vant-cli test",
|
36
36
|
"build": "vant-cli build",
|
37
37
|
"build:site": "vant-cli build-site",
|
38
|
-
"release": "vant-cli release
|
39
|
-
"release:site": "pnpm build:site && gh-pages -d site-dist --add
|
38
|
+
"release": "vant-cli release",
|
39
|
+
"release:site": "pnpm build:site && gh-pages -d site-dist --add",
|
40
40
|
"test:watch": "vant-cli test --watch",
|
41
41
|
"test:coverage": "open test/coverage/index.html"
|
42
42
|
},
|
@@ -51,9 +51,6 @@
|
|
51
51
|
"bugs": "https://github.com/youzan/vant/issues",
|
52
52
|
"author": "chenjiahan",
|
53
53
|
"license": "MIT",
|
54
|
-
"npm": {
|
55
|
-
"tag": "next"
|
56
|
-
},
|
57
54
|
"keywords": [
|
58
55
|
"ui",
|
59
56
|
"vue",
|
@@ -66,7 +63,7 @@
|
|
66
63
|
"dependencies": {
|
67
64
|
"@vant/icons": "^1.7.1",
|
68
65
|
"@vant/popperjs": "^1.1.0",
|
69
|
-
"@vant/use": "^1.3.
|
66
|
+
"@vant/use": "^1.3.6"
|
70
67
|
},
|
71
68
|
"peerDependencies": {
|
72
69
|
"vue": "^3.0.0"
|
package/vetur/attributes.json
CHANGED
@@ -1,4 +1,92 @@
|
|
1
1
|
{
|
2
|
+
"van-address-edit/area-list": {
|
3
|
+
"type": "object",
|
4
|
+
"description": "Area List, Default: -"
|
5
|
+
},
|
6
|
+
"van-address-edit/area-columns-placeholder": {
|
7
|
+
"type": "string[]",
|
8
|
+
"description": "placeholder of area columns, Default: `[]`"
|
9
|
+
},
|
10
|
+
"van-address-edit/area-placeholder": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "placeholder of area input field, Default: `Area`"
|
13
|
+
},
|
14
|
+
"van-address-edit/address-info": {
|
15
|
+
"type": "AddressEditInfo",
|
16
|
+
"description": "Address Info, Default: `{}`"
|
17
|
+
},
|
18
|
+
"van-address-edit/search-result": {
|
19
|
+
"type": "AddressEditSearchItem[]",
|
20
|
+
"description": "Address search result, Default: `[]`"
|
21
|
+
},
|
22
|
+
"van-address-edit/show-postal": {
|
23
|
+
"type": "boolean",
|
24
|
+
"description": "Whether to show postal field, Default: `false`"
|
25
|
+
},
|
26
|
+
"van-address-edit/show-delete": {
|
27
|
+
"type": "boolean",
|
28
|
+
"description": "Whether to show delete button, Default: `false`"
|
29
|
+
},
|
30
|
+
"van-address-edit/show-set-default": {
|
31
|
+
"type": "boolean",
|
32
|
+
"description": "Whether to show default address switch, Default: `false`"
|
33
|
+
},
|
34
|
+
"van-address-edit/show-search-result": {
|
35
|
+
"type": "boolean",
|
36
|
+
"description": "Whether to show address search result, Default: `false`"
|
37
|
+
},
|
38
|
+
"van-address-edit/show-area": {
|
39
|
+
"type": "boolean",
|
40
|
+
"description": "Whether to show area cell, Default: `true`"
|
41
|
+
},
|
42
|
+
"van-address-edit/show-detail": {
|
43
|
+
"type": "boolean",
|
44
|
+
"description": "Whether to show detail field, Default: `true`"
|
45
|
+
},
|
46
|
+
"van-address-edit/disable-area": {
|
47
|
+
"type": "boolean",
|
48
|
+
"description": "Whether to disable area select, Default: `false`"
|
49
|
+
},
|
50
|
+
"van-address-edit/save-button-text": {
|
51
|
+
"type": "string",
|
52
|
+
"description": "Save button text, Default: `Save`"
|
53
|
+
},
|
54
|
+
"van-address-edit/delete-button-text": {
|
55
|
+
"type": "string",
|
56
|
+
"description": "Delete button text, Default: `Delete`"
|
57
|
+
},
|
58
|
+
"van-address-edit/detail-rows": {
|
59
|
+
"type": "number | string",
|
60
|
+
"description": "Detail input rows, Default: `1`"
|
61
|
+
},
|
62
|
+
"van-address-edit/detail-maxlength": {
|
63
|
+
"type": "number | string",
|
64
|
+
"description": "Detail maxlength, Default: `200`"
|
65
|
+
},
|
66
|
+
"van-address-edit/is-saving": {
|
67
|
+
"type": "boolean",
|
68
|
+
"description": "Whether to show save button loading status, Default: `false`"
|
69
|
+
},
|
70
|
+
"van-address-edit/is-deleting": {
|
71
|
+
"type": "boolean",
|
72
|
+
"description": "Whether to show delete button loading status, Default: `false`"
|
73
|
+
},
|
74
|
+
"van-address-edit/tel-validator": {
|
75
|
+
"type": "(tel: string) => boolean",
|
76
|
+
"description": "The method to validate tel, Default: -"
|
77
|
+
},
|
78
|
+
"van-address-edit/tel-maxlength": {
|
79
|
+
"type": "number | string",
|
80
|
+
"description": "Tel maxlength, Default: -"
|
81
|
+
},
|
82
|
+
"van-address-edit/postal-validator": {
|
83
|
+
"type": "(tel: string) => boolean",
|
84
|
+
"description": "The method to validate postal, Default: -"
|
85
|
+
},
|
86
|
+
"van-address-edit/validator": {
|
87
|
+
"type": "(key, val) => string",
|
88
|
+
"description": "Custom validator, Default: -"
|
89
|
+
},
|
2
90
|
"van-action-bar/safe-area-inset-bottom": {
|
3
91
|
"type": "boolean",
|
4
92
|
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
@@ -86,6 +174,58 @@
|
|
86
174
|
"type": "boolean",
|
87
175
|
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
88
176
|
},
|
177
|
+
"van-area/value": {
|
178
|
+
"type": "string",
|
179
|
+
"description": "the `code` of selected area, Default: -"
|
180
|
+
},
|
181
|
+
"van-area/title": {
|
182
|
+
"type": "string",
|
183
|
+
"description": "Toolbar title, Default: -"
|
184
|
+
},
|
185
|
+
"van-area/confirm-button-text": {
|
186
|
+
"type": "string",
|
187
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
188
|
+
},
|
189
|
+
"van-area/cancel-button-text": {
|
190
|
+
"type": "string",
|
191
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
192
|
+
},
|
193
|
+
"van-area/area-list": {
|
194
|
+
"type": "object",
|
195
|
+
"description": "Area list data, Default: -"
|
196
|
+
},
|
197
|
+
"van-area/columns-placeholder": {
|
198
|
+
"type": "string[]",
|
199
|
+
"description": "Placeholder of columns, Default: `[]`"
|
200
|
+
},
|
201
|
+
"van-area/loading": {
|
202
|
+
"type": "boolean",
|
203
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
204
|
+
},
|
205
|
+
"van-area/readonly": {
|
206
|
+
"type": "boolean",
|
207
|
+
"description": "Whether to be readonly, Default: `false`"
|
208
|
+
},
|
209
|
+
"van-area/item-height": {
|
210
|
+
"type": "number | string",
|
211
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
212
|
+
},
|
213
|
+
"van-area/columns-num": {
|
214
|
+
"type": "number | string",
|
215
|
+
"description": "Level of picker, Default: `3`"
|
216
|
+
},
|
217
|
+
"van-area/visible-item-count": {
|
218
|
+
"type": "number | string",
|
219
|
+
"description": "Count of visible columns, Default: `6`"
|
220
|
+
},
|
221
|
+
"van-area/swipe-duration": {
|
222
|
+
"type": "number | string",
|
223
|
+
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
224
|
+
},
|
225
|
+
"van-area/is-oversea-code": {
|
226
|
+
"type": "() => boolean",
|
227
|
+
"description": "The method to validate oversea code, Default: -"
|
228
|
+
},
|
89
229
|
"van-action-sheet/v-model:show": {
|
90
230
|
"type": "boolean",
|
91
231
|
"description": "Whether to show ActionSheet, Default: `false`"
|
@@ -169,122 +309,6 @@
|
|
169
309
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
170
310
|
"description": "Callback function before close, Default: -"
|
171
311
|
},
|
172
|
-
"van-address-list/v-model": {
|
173
|
-
"type": "string",
|
174
|
-
"description": "Id of chosen address, Default: -"
|
175
|
-
},
|
176
|
-
"van-address-list/list": {
|
177
|
-
"type": "Address[]",
|
178
|
-
"description": "Address list, Default: `[]`"
|
179
|
-
},
|
180
|
-
"van-address-list/disabled-list": {
|
181
|
-
"type": "Address[]",
|
182
|
-
"description": "Disabled address list, Default: `[]`"
|
183
|
-
},
|
184
|
-
"van-address-list/disabled-text": {
|
185
|
-
"type": "string",
|
186
|
-
"description": "Disabled text, Default: -"
|
187
|
-
},
|
188
|
-
"van-address-list/switchable": {
|
189
|
-
"type": "boolean",
|
190
|
-
"description": "Whether to allow switch address, Default: `true`"
|
191
|
-
},
|
192
|
-
"van-address-list/add-button-text": {
|
193
|
-
"type": "string",
|
194
|
-
"description": "Add button text, Default: `Add new address`"
|
195
|
-
},
|
196
|
-
"van-address-list/default-tag-text": {
|
197
|
-
"type": "string",
|
198
|
-
"description": "Default tag text, Default: -"
|
199
|
-
},
|
200
|
-
"van-address-edit/area-list": {
|
201
|
-
"type": "object",
|
202
|
-
"description": "Area List, Default: -"
|
203
|
-
},
|
204
|
-
"van-address-edit/area-columns-placeholder": {
|
205
|
-
"type": "string[]",
|
206
|
-
"description": "placeholder of area columns, Default: `[]`"
|
207
|
-
},
|
208
|
-
"van-address-edit/area-placeholder": {
|
209
|
-
"type": "string",
|
210
|
-
"description": "placeholder of area input field, Default: `Area`"
|
211
|
-
},
|
212
|
-
"van-address-edit/address-info": {
|
213
|
-
"type": "AddressEditInfo",
|
214
|
-
"description": "Address Info, Default: `{}`"
|
215
|
-
},
|
216
|
-
"van-address-edit/search-result": {
|
217
|
-
"type": "AddressEditSearchItem[]",
|
218
|
-
"description": "Address search result, Default: `[]`"
|
219
|
-
},
|
220
|
-
"van-address-edit/show-postal": {
|
221
|
-
"type": "boolean",
|
222
|
-
"description": "Whether to show postal field, Default: `false`"
|
223
|
-
},
|
224
|
-
"van-address-edit/show-delete": {
|
225
|
-
"type": "boolean",
|
226
|
-
"description": "Whether to show delete button, Default: `false`"
|
227
|
-
},
|
228
|
-
"van-address-edit/show-set-default": {
|
229
|
-
"type": "boolean",
|
230
|
-
"description": "Whether to show default address switch, Default: `false`"
|
231
|
-
},
|
232
|
-
"van-address-edit/show-search-result": {
|
233
|
-
"type": "boolean",
|
234
|
-
"description": "Whether to show address search result, Default: `false`"
|
235
|
-
},
|
236
|
-
"van-address-edit/show-area": {
|
237
|
-
"type": "boolean",
|
238
|
-
"description": "Whether to show area cell, Default: `true`"
|
239
|
-
},
|
240
|
-
"van-address-edit/show-detail": {
|
241
|
-
"type": "boolean",
|
242
|
-
"description": "Whether to show detail field, Default: `true`"
|
243
|
-
},
|
244
|
-
"van-address-edit/disable-area": {
|
245
|
-
"type": "boolean",
|
246
|
-
"description": "Whether to disable area select, Default: `false`"
|
247
|
-
},
|
248
|
-
"van-address-edit/save-button-text": {
|
249
|
-
"type": "string",
|
250
|
-
"description": "Save button text, Default: `Save`"
|
251
|
-
},
|
252
|
-
"van-address-edit/delete-button-text": {
|
253
|
-
"type": "string",
|
254
|
-
"description": "Delete button text, Default: `Delete`"
|
255
|
-
},
|
256
|
-
"van-address-edit/detail-rows": {
|
257
|
-
"type": "number | string",
|
258
|
-
"description": "Detail input rows, Default: `1`"
|
259
|
-
},
|
260
|
-
"van-address-edit/detail-maxlength": {
|
261
|
-
"type": "number | string",
|
262
|
-
"description": "Detail maxlength, Default: `200`"
|
263
|
-
},
|
264
|
-
"van-address-edit/is-saving": {
|
265
|
-
"type": "boolean",
|
266
|
-
"description": "Whether to show save button loading status, Default: `false`"
|
267
|
-
},
|
268
|
-
"van-address-edit/is-deleting": {
|
269
|
-
"type": "boolean",
|
270
|
-
"description": "Whether to show delete button loading status, Default: `false`"
|
271
|
-
},
|
272
|
-
"van-address-edit/tel-validator": {
|
273
|
-
"type": "(tel: string) => boolean",
|
274
|
-
"description": "The method to validate tel, Default: -"
|
275
|
-
},
|
276
|
-
"van-address-edit/tel-maxlength": {
|
277
|
-
"type": "number | string",
|
278
|
-
"description": "Tel maxlength, Default: -"
|
279
|
-
},
|
280
|
-
"van-address-edit/postal-validator": {
|
281
|
-
"type": "(tel: string) => boolean",
|
282
|
-
"description": "The method to validate postal, Default: -"
|
283
|
-
},
|
284
|
-
"van-address-edit/validator": {
|
285
|
-
"type": "(key, val) => string",
|
286
|
-
"description": "Custom validator, Default: -"
|
287
|
-
},
|
288
312
|
"van-badge/content": {
|
289
313
|
"type": "number | string",
|
290
314
|
"description": "Badge content, Default: -"
|
@@ -316,58 +340,6 @@
|
|
316
340
|
"type": "string",
|
317
341
|
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
318
342
|
},
|
319
|
-
"van-area/value": {
|
320
|
-
"type": "string",
|
321
|
-
"description": "the `code` of selected area, Default: -"
|
322
|
-
},
|
323
|
-
"van-area/title": {
|
324
|
-
"type": "string",
|
325
|
-
"description": "Toolbar title, Default: -"
|
326
|
-
},
|
327
|
-
"van-area/confirm-button-text": {
|
328
|
-
"type": "string",
|
329
|
-
"description": "Text of confirm button, Default: `Confirm`"
|
330
|
-
},
|
331
|
-
"van-area/cancel-button-text": {
|
332
|
-
"type": "string",
|
333
|
-
"description": "Text of cancel button, Default: `Cancel`"
|
334
|
-
},
|
335
|
-
"van-area/area-list": {
|
336
|
-
"type": "object",
|
337
|
-
"description": "Area list data, Default: -"
|
338
|
-
},
|
339
|
-
"van-area/columns-placeholder": {
|
340
|
-
"type": "string[]",
|
341
|
-
"description": "Placeholder of columns, Default: `[]`"
|
342
|
-
},
|
343
|
-
"van-area/loading": {
|
344
|
-
"type": "boolean",
|
345
|
-
"description": "Whether to show loading prompt, Default: `false`"
|
346
|
-
},
|
347
|
-
"van-area/readonly": {
|
348
|
-
"type": "boolean",
|
349
|
-
"description": "Whether to be readonly, Default: `false`"
|
350
|
-
},
|
351
|
-
"van-area/item-height": {
|
352
|
-
"type": "number | string",
|
353
|
-
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
354
|
-
},
|
355
|
-
"van-area/columns-num": {
|
356
|
-
"type": "number | string",
|
357
|
-
"description": "Level of picker, Default: `3`"
|
358
|
-
},
|
359
|
-
"van-area/visible-item-count": {
|
360
|
-
"type": "number | string",
|
361
|
-
"description": "Count of visible columns, Default: `6`"
|
362
|
-
},
|
363
|
-
"van-area/swipe-duration": {
|
364
|
-
"type": "number | string",
|
365
|
-
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
366
|
-
},
|
367
|
-
"van-area/is-oversea-code": {
|
368
|
-
"type": "() => boolean",
|
369
|
-
"description": "The method to validate oversea code, Default: -"
|
370
|
-
},
|
371
343
|
"van-button/type": {
|
372
344
|
"type": "string",
|
373
345
|
"description": "Can be set to `primary` `success` `warning` `danger`, Default: `default`"
|
@@ -452,6 +424,34 @@
|
|
452
424
|
"type": "boolean",
|
453
425
|
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
454
426
|
},
|
427
|
+
"van-address-list/v-model": {
|
428
|
+
"type": "string",
|
429
|
+
"description": "Id of chosen address, Default: -"
|
430
|
+
},
|
431
|
+
"van-address-list/list": {
|
432
|
+
"type": "Address[]",
|
433
|
+
"description": "Address list, Default: `[]`"
|
434
|
+
},
|
435
|
+
"van-address-list/disabled-list": {
|
436
|
+
"type": "Address[]",
|
437
|
+
"description": "Disabled address list, Default: `[]`"
|
438
|
+
},
|
439
|
+
"van-address-list/disabled-text": {
|
440
|
+
"type": "string",
|
441
|
+
"description": "Disabled text, Default: -"
|
442
|
+
},
|
443
|
+
"van-address-list/switchable": {
|
444
|
+
"type": "boolean",
|
445
|
+
"description": "Whether to allow switch address, Default: `true`"
|
446
|
+
},
|
447
|
+
"van-address-list/add-button-text": {
|
448
|
+
"type": "string",
|
449
|
+
"description": "Add button text, Default: `Add new address`"
|
450
|
+
},
|
451
|
+
"van-address-list/default-tag-text": {
|
452
|
+
"type": "string",
|
453
|
+
"description": "Default tag text, Default: -"
|
454
|
+
},
|
455
455
|
"van-calendar/type": {
|
456
456
|
"type": "string",
|
457
457
|
"description": "Type,can be set to `range` `multiple`, Default: `single`"
|
@@ -547,6 +547,10 @@
|
|
547
547
|
"type": "boolean",
|
548
548
|
"description": "Whether to close when overlay is clicked, Default: `true`"
|
549
549
|
},
|
550
|
+
"van-calendar/safe-area-inset-top": {
|
551
|
+
"type": "boolean",
|
552
|
+
"description": "Whether to enable top safe area adaptation, Default: `false`"
|
553
|
+
},
|
550
554
|
"van-calendar/safe-area-inset-bottom": {
|
551
555
|
"type": "boolean",
|
552
556
|
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
@@ -950,6 +954,10 @@
|
|
950
954
|
"type": "boolean",
|
951
955
|
"description": "Whether to show link icon, Default: `true`"
|
952
956
|
},
|
957
|
+
"van-collapse-item/lazy-render": {
|
958
|
+
"type": "boolean",
|
959
|
+
"description": "Whether to lazy render util opened, Default: `true`"
|
960
|
+
},
|
953
961
|
"van-collapse-item/title-class": {
|
954
962
|
"type": "string",
|
955
963
|
"description": "Title className, Default: -"
|
@@ -2360,6 +2368,10 @@
|
|
2360
2368
|
"type": "string | Element",
|
2361
2369
|
"description": "Specifies a target element where Popup will be mounted, Default: -"
|
2362
2370
|
},
|
2371
|
+
"van-popup/safe-area-inset-top": {
|
2372
|
+
"type": "boolean",
|
2373
|
+
"description": "Whether to enable top safe area adaptation, Default: `false`"
|
2374
|
+
},
|
2363
2375
|
"van-popup/safe-area-inset-bottom": {
|
2364
2376
|
"type": "boolean",
|
2365
2377
|
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
package/vetur/tags.json
CHANGED
@@ -1,4 +1,30 @@
|
|
1
1
|
{
|
2
|
+
"van-address-edit": {
|
3
|
+
"attributes": [
|
4
|
+
"area-list",
|
5
|
+
"area-columns-placeholder",
|
6
|
+
"area-placeholder",
|
7
|
+
"address-info",
|
8
|
+
"search-result",
|
9
|
+
"show-postal",
|
10
|
+
"show-delete",
|
11
|
+
"show-set-default",
|
12
|
+
"show-search-result",
|
13
|
+
"show-area",
|
14
|
+
"show-detail",
|
15
|
+
"disable-area",
|
16
|
+
"save-button-text",
|
17
|
+
"delete-button-text",
|
18
|
+
"detail-rows",
|
19
|
+
"detail-maxlength",
|
20
|
+
"is-saving",
|
21
|
+
"is-deleting",
|
22
|
+
"tel-validator",
|
23
|
+
"tel-maxlength",
|
24
|
+
"postal-validator",
|
25
|
+
"validator"
|
26
|
+
]
|
27
|
+
},
|
2
28
|
"van-action-bar": {
|
3
29
|
"attributes": [
|
4
30
|
"safe-area-inset-bottom"
|
@@ -32,6 +58,23 @@
|
|
32
58
|
"replace"
|
33
59
|
]
|
34
60
|
},
|
61
|
+
"van-area": {
|
62
|
+
"attributes": [
|
63
|
+
"value",
|
64
|
+
"title",
|
65
|
+
"confirm-button-text",
|
66
|
+
"cancel-button-text",
|
67
|
+
"area-list",
|
68
|
+
"columns-placeholder",
|
69
|
+
"loading",
|
70
|
+
"readonly",
|
71
|
+
"item-height",
|
72
|
+
"columns-num",
|
73
|
+
"visible-item-count",
|
74
|
+
"swipe-duration",
|
75
|
+
"is-oversea-code"
|
76
|
+
]
|
77
|
+
},
|
35
78
|
"van-action-sheet": {
|
36
79
|
"attributes": [
|
37
80
|
"v-model:show",
|
@@ -56,43 +99,6 @@
|
|
56
99
|
"before-close"
|
57
100
|
]
|
58
101
|
},
|
59
|
-
"van-address-list": {
|
60
|
-
"attributes": [
|
61
|
-
"v-model",
|
62
|
-
"list",
|
63
|
-
"disabled-list",
|
64
|
-
"disabled-text",
|
65
|
-
"switchable",
|
66
|
-
"add-button-text",
|
67
|
-
"default-tag-text"
|
68
|
-
]
|
69
|
-
},
|
70
|
-
"van-address-edit": {
|
71
|
-
"attributes": [
|
72
|
-
"area-list",
|
73
|
-
"area-columns-placeholder",
|
74
|
-
"area-placeholder",
|
75
|
-
"address-info",
|
76
|
-
"search-result",
|
77
|
-
"show-postal",
|
78
|
-
"show-delete",
|
79
|
-
"show-set-default",
|
80
|
-
"show-search-result",
|
81
|
-
"show-area",
|
82
|
-
"show-detail",
|
83
|
-
"disable-area",
|
84
|
-
"save-button-text",
|
85
|
-
"delete-button-text",
|
86
|
-
"detail-rows",
|
87
|
-
"detail-maxlength",
|
88
|
-
"is-saving",
|
89
|
-
"is-deleting",
|
90
|
-
"tel-validator",
|
91
|
-
"tel-maxlength",
|
92
|
-
"postal-validator",
|
93
|
-
"validator"
|
94
|
-
]
|
95
|
-
},
|
96
102
|
"van-badge": {
|
97
103
|
"attributes": [
|
98
104
|
"content",
|
@@ -104,23 +110,6 @@
|
|
104
110
|
"position"
|
105
111
|
]
|
106
112
|
},
|
107
|
-
"van-area": {
|
108
|
-
"attributes": [
|
109
|
-
"value",
|
110
|
-
"title",
|
111
|
-
"confirm-button-text",
|
112
|
-
"cancel-button-text",
|
113
|
-
"area-list",
|
114
|
-
"columns-placeholder",
|
115
|
-
"loading",
|
116
|
-
"readonly",
|
117
|
-
"item-height",
|
118
|
-
"columns-num",
|
119
|
-
"visible-item-count",
|
120
|
-
"swipe-duration",
|
121
|
-
"is-oversea-code"
|
122
|
-
]
|
123
|
-
},
|
124
113
|
"van-button": {
|
125
114
|
"attributes": [
|
126
115
|
"type",
|
@@ -146,6 +135,17 @@
|
|
146
135
|
"replace"
|
147
136
|
]
|
148
137
|
},
|
138
|
+
"van-address-list": {
|
139
|
+
"attributes": [
|
140
|
+
"v-model",
|
141
|
+
"list",
|
142
|
+
"disabled-list",
|
143
|
+
"disabled-text",
|
144
|
+
"switchable",
|
145
|
+
"add-button-text",
|
146
|
+
"default-tag-text"
|
147
|
+
]
|
148
|
+
},
|
149
149
|
"van-calendar": {
|
150
150
|
"attributes": [
|
151
151
|
"type",
|
@@ -171,6 +171,7 @@
|
|
171
171
|
"round",
|
172
172
|
"close-on-popstate",
|
173
173
|
"close-on-click-overlay",
|
174
|
+
"safe-area-inset-top",
|
174
175
|
"safe-area-inset-bottom",
|
175
176
|
"teleport",
|
176
177
|
"max-range",
|
@@ -314,6 +315,7 @@
|
|
314
315
|
"disabled",
|
315
316
|
"readonly",
|
316
317
|
"is-link",
|
318
|
+
"lazy-render",
|
317
319
|
"title-class",
|
318
320
|
"value-class",
|
319
321
|
"label-class"
|
@@ -802,6 +804,7 @@
|
|
802
804
|
"transition",
|
803
805
|
"transition-appear",
|
804
806
|
"teleport",
|
807
|
+
"safe-area-inset-top",
|
805
808
|
"safe-area-inset-bottom"
|
806
809
|
]
|
807
810
|
},
|