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/vetur/web-types.json
CHANGED
@@ -2,65 +2,77 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.4.
|
5
|
+
"version": "3.4.6",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
9
9
|
{
|
10
|
-
"name": "van-
|
11
|
-
"slots": [],
|
12
|
-
"events": [],
|
13
|
-
"attributes": [
|
14
|
-
{
|
15
|
-
"name": "safe-area-inset-bottom",
|
16
|
-
"default": "`true`",
|
17
|
-
"description": "Whether to enable bottom safe area adaptation",
|
18
|
-
"options": [],
|
19
|
-
"value": {
|
20
|
-
"type": "boolean",
|
21
|
-
"kind": "expression"
|
22
|
-
}
|
23
|
-
}
|
24
|
-
]
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "van-action-bar-icon",
|
10
|
+
"name": "van-address-edit",
|
28
11
|
"slots": [
|
29
12
|
{
|
30
13
|
"name": "default",
|
31
|
-
"description": "
|
14
|
+
"description": "Custom content below postal"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"events": [
|
18
|
+
{
|
19
|
+
"name": "save",
|
20
|
+
"description": "Emitted when the save button is clicked"
|
32
21
|
},
|
33
22
|
{
|
34
|
-
"name": "
|
35
|
-
"description": "
|
23
|
+
"name": "focus",
|
24
|
+
"description": "Emitted when field is focused"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"name": "delete",
|
28
|
+
"description": "Emitted when confirming delete"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"name": "select-search",
|
32
|
+
"description": "Emitted when a search result is selected"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "click-area",
|
36
|
+
"description": "Emitted when the area field is clicked"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"name": "change-area",
|
40
|
+
"description": "Emitted when area changed"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"name": "change-detail",
|
44
|
+
"description": "Emitted when address detail changed"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"name": "change-default",
|
48
|
+
"description": "Emitted when switching default address"
|
36
49
|
}
|
37
50
|
],
|
38
|
-
"events": [],
|
39
51
|
"attributes": [
|
40
52
|
{
|
41
|
-
"name": "
|
53
|
+
"name": "area-list",
|
42
54
|
"default": "-",
|
43
|
-
"description": "
|
55
|
+
"description": "Area List",
|
44
56
|
"options": [],
|
45
57
|
"value": {
|
46
|
-
"type": "
|
58
|
+
"type": "object",
|
47
59
|
"kind": "expression"
|
48
60
|
}
|
49
61
|
},
|
50
62
|
{
|
51
|
-
"name": "
|
52
|
-
"default": "
|
53
|
-
"description": "
|
63
|
+
"name": "area-columns-placeholder",
|
64
|
+
"default": "`[]`",
|
65
|
+
"description": "placeholder of area columns",
|
54
66
|
"options": [],
|
55
67
|
"value": {
|
56
|
-
"type": "string",
|
68
|
+
"type": "string[]",
|
57
69
|
"kind": "expression"
|
58
70
|
}
|
59
71
|
},
|
60
72
|
{
|
61
|
-
"name": "
|
62
|
-
"default": "
|
63
|
-
"description": "
|
73
|
+
"name": "area-placeholder",
|
74
|
+
"default": "`Area`",
|
75
|
+
"description": "placeholder of area input field",
|
64
76
|
"options": [],
|
65
77
|
"value": {
|
66
78
|
"type": "string",
|
@@ -68,31 +80,29 @@
|
|
68
80
|
}
|
69
81
|
},
|
70
82
|
{
|
71
|
-
"name": "
|
72
|
-
"default": "
|
73
|
-
"description": "
|
74
|
-
"options": [
|
75
|
-
"''"
|
76
|
-
],
|
83
|
+
"name": "address-info",
|
84
|
+
"default": "`{}`",
|
85
|
+
"description": "Address Info",
|
86
|
+
"options": [],
|
77
87
|
"value": {
|
78
|
-
"type": "
|
88
|
+
"type": "AddressEditInfo",
|
79
89
|
"kind": "expression"
|
80
90
|
}
|
81
91
|
},
|
82
92
|
{
|
83
|
-
"name": "
|
84
|
-
"default": "`
|
85
|
-
"description": "
|
93
|
+
"name": "search-result",
|
94
|
+
"default": "`[]`",
|
95
|
+
"description": "Address search result",
|
86
96
|
"options": [],
|
87
97
|
"value": {
|
88
|
-
"type": "
|
98
|
+
"type": "AddressEditSearchItem[]",
|
89
99
|
"kind": "expression"
|
90
100
|
}
|
91
101
|
},
|
92
102
|
{
|
93
|
-
"name": "
|
94
|
-
"default": "
|
95
|
-
"description": "Whether to show
|
103
|
+
"name": "show-postal",
|
104
|
+
"default": "`false`",
|
105
|
+
"description": "Whether to show postal field",
|
96
106
|
"options": [],
|
97
107
|
"value": {
|
98
108
|
"type": "boolean",
|
@@ -100,71 +110,69 @@
|
|
100
110
|
}
|
101
111
|
},
|
102
112
|
{
|
103
|
-
"name": "
|
104
|
-
"default": "
|
105
|
-
"description": "
|
113
|
+
"name": "show-delete",
|
114
|
+
"default": "`false`",
|
115
|
+
"description": "Whether to show delete button",
|
106
116
|
"options": [],
|
107
117
|
"value": {
|
108
|
-
"type": "
|
118
|
+
"type": "boolean",
|
109
119
|
"kind": "expression"
|
110
120
|
}
|
111
121
|
},
|
112
122
|
{
|
113
|
-
"name": "
|
114
|
-
"default": "
|
115
|
-
"description": "
|
123
|
+
"name": "show-set-default",
|
124
|
+
"default": "`false`",
|
125
|
+
"description": "Whether to show default address switch",
|
116
126
|
"options": [],
|
117
127
|
"value": {
|
118
|
-
"type": "
|
128
|
+
"type": "boolean",
|
119
129
|
"kind": "expression"
|
120
130
|
}
|
121
131
|
},
|
122
132
|
{
|
123
|
-
"name": "
|
124
|
-
"default": "
|
125
|
-
"description": "
|
133
|
+
"name": "show-search-result",
|
134
|
+
"default": "`false`",
|
135
|
+
"description": "Whether to show address search result",
|
126
136
|
"options": [],
|
127
137
|
"value": {
|
128
|
-
"type": "
|
138
|
+
"type": "boolean",
|
129
139
|
"kind": "expression"
|
130
140
|
}
|
131
141
|
},
|
132
142
|
{
|
133
|
-
"name": "
|
134
|
-
"default": "
|
135
|
-
"description": "
|
143
|
+
"name": "show-area",
|
144
|
+
"default": "`true`",
|
145
|
+
"description": "Whether to show area cell",
|
136
146
|
"options": [],
|
137
147
|
"value": {
|
138
|
-
"type": "
|
148
|
+
"type": "boolean",
|
139
149
|
"kind": "expression"
|
140
150
|
}
|
141
151
|
},
|
142
152
|
{
|
143
|
-
"name": "
|
144
|
-
"default": "`
|
145
|
-
"description": "
|
153
|
+
"name": "show-detail",
|
154
|
+
"default": "`true`",
|
155
|
+
"description": "Whether to show detail field",
|
146
156
|
"options": [],
|
147
157
|
"value": {
|
148
158
|
"type": "boolean",
|
149
159
|
"kind": "expression"
|
150
160
|
}
|
151
|
-
}
|
152
|
-
]
|
153
|
-
},
|
154
|
-
{
|
155
|
-
"name": "van-action-bar-button",
|
156
|
-
"slots": [
|
161
|
+
},
|
157
162
|
{
|
158
|
-
"name": "
|
159
|
-
"
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
163
|
+
"name": "disable-area",
|
164
|
+
"default": "`false`",
|
165
|
+
"description": "Whether to disable area select",
|
166
|
+
"options": [],
|
167
|
+
"value": {
|
168
|
+
"type": "boolean",
|
169
|
+
"kind": "expression"
|
170
|
+
}
|
171
|
+
},
|
164
172
|
{
|
165
|
-
"name": "text",
|
166
|
-
"default": "
|
167
|
-
"description": "
|
173
|
+
"name": "save-button-text",
|
174
|
+
"default": "`Save`",
|
175
|
+
"description": "Save button text",
|
168
176
|
"options": [],
|
169
177
|
"value": {
|
170
178
|
"type": "string",
|
@@ -172,9 +180,9 @@
|
|
172
180
|
}
|
173
181
|
},
|
174
182
|
{
|
175
|
-
"name": "
|
176
|
-
"default": "`
|
177
|
-
"description": "
|
183
|
+
"name": "delete-button-text",
|
184
|
+
"default": "`Delete`",
|
185
|
+
"description": "Delete button text",
|
178
186
|
"options": [],
|
179
187
|
"value": {
|
180
188
|
"type": "string",
|
@@ -182,29 +190,29 @@
|
|
182
190
|
}
|
183
191
|
},
|
184
192
|
{
|
185
|
-
"name": "
|
186
|
-
"default": "
|
187
|
-
"description": "
|
193
|
+
"name": "detail-rows",
|
194
|
+
"default": "`1`",
|
195
|
+
"description": "Detail input rows",
|
188
196
|
"options": [],
|
189
197
|
"value": {
|
190
|
-
"type": "string",
|
198
|
+
"type": "number | string",
|
191
199
|
"kind": "expression"
|
192
200
|
}
|
193
201
|
},
|
194
202
|
{
|
195
|
-
"name": "
|
196
|
-
"default": "
|
197
|
-
"description": "
|
203
|
+
"name": "detail-maxlength",
|
204
|
+
"default": "`200`",
|
205
|
+
"description": "Detail maxlength",
|
198
206
|
"options": [],
|
199
207
|
"value": {
|
200
|
-
"type": "string",
|
208
|
+
"type": "number | string",
|
201
209
|
"kind": "expression"
|
202
210
|
}
|
203
211
|
},
|
204
212
|
{
|
205
|
-
"name": "
|
213
|
+
"name": "is-saving",
|
206
214
|
"default": "`false`",
|
207
|
-
"description": "Whether to
|
215
|
+
"description": "Whether to show save button loading status",
|
208
216
|
"options": [],
|
209
217
|
"value": {
|
210
218
|
"type": "boolean",
|
@@ -212,9 +220,9 @@
|
|
212
220
|
}
|
213
221
|
},
|
214
222
|
{
|
215
|
-
"name": "
|
223
|
+
"name": "is-deleting",
|
216
224
|
"default": "`false`",
|
217
|
-
"description": "Whether to show loading status",
|
225
|
+
"description": "Whether to show delete button loading status",
|
218
226
|
"options": [],
|
219
227
|
"value": {
|
220
228
|
"type": "boolean",
|
@@ -222,29 +230,56 @@
|
|
222
230
|
}
|
223
231
|
},
|
224
232
|
{
|
225
|
-
"name": "
|
233
|
+
"name": "tel-validator",
|
226
234
|
"default": "-",
|
227
|
-
"description": "
|
235
|
+
"description": "The method to validate tel",
|
228
236
|
"options": [],
|
229
237
|
"value": {
|
230
|
-
"type": "string",
|
238
|
+
"type": "(tel: string) => boolean",
|
231
239
|
"kind": "expression"
|
232
240
|
}
|
233
241
|
},
|
234
242
|
{
|
235
|
-
"name": "
|
243
|
+
"name": "tel-maxlength",
|
236
244
|
"default": "-",
|
237
|
-
"description": "
|
245
|
+
"description": "Tel maxlength",
|
238
246
|
"options": [],
|
239
247
|
"value": {
|
240
|
-
"type": "
|
248
|
+
"type": "number | string",
|
241
249
|
"kind": "expression"
|
242
250
|
}
|
243
251
|
},
|
244
252
|
{
|
245
|
-
"name": "
|
246
|
-
"default": "
|
247
|
-
"description": "
|
253
|
+
"name": "postal-validator",
|
254
|
+
"default": "-",
|
255
|
+
"description": "The method to validate postal",
|
256
|
+
"options": [],
|
257
|
+
"value": {
|
258
|
+
"type": "(tel: string) => boolean",
|
259
|
+
"kind": "expression"
|
260
|
+
}
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"name": "validator",
|
264
|
+
"default": "-",
|
265
|
+
"description": "Custom validator",
|
266
|
+
"options": [],
|
267
|
+
"value": {
|
268
|
+
"type": "(key, val) => string",
|
269
|
+
"kind": "expression"
|
270
|
+
}
|
271
|
+
}
|
272
|
+
]
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"name": "van-action-bar",
|
276
|
+
"slots": [],
|
277
|
+
"events": [],
|
278
|
+
"attributes": [
|
279
|
+
{
|
280
|
+
"name": "safe-area-inset-bottom",
|
281
|
+
"default": "`true`",
|
282
|
+
"description": "Whether to enable bottom safe area adaptation",
|
248
283
|
"options": [],
|
249
284
|
"value": {
|
250
285
|
"type": "boolean",
|
@@ -254,80 +289,43 @@
|
|
254
289
|
]
|
255
290
|
},
|
256
291
|
{
|
257
|
-
"name": "van-action-
|
292
|
+
"name": "van-action-bar-icon",
|
258
293
|
"slots": [
|
259
294
|
{
|
260
295
|
"name": "default",
|
261
|
-
"description": "
|
296
|
+
"description": "Text"
|
262
297
|
},
|
263
298
|
{
|
264
|
-
"name": "
|
265
|
-
"description": "Custom
|
266
|
-
}
|
299
|
+
"name": "icon",
|
300
|
+
"description": "Custom icon"
|
301
|
+
}
|
302
|
+
],
|
303
|
+
"events": [],
|
304
|
+
"attributes": [
|
267
305
|
{
|
268
|
-
"name": "
|
269
|
-
"
|
270
|
-
|
271
|
-
{
|
272
|
-
"name": "action",
|
273
|
-
"description": "Custom the content of action"
|
274
|
-
}
|
275
|
-
],
|
276
|
-
"events": [
|
277
|
-
{
|
278
|
-
"name": "select",
|
279
|
-
"description": "Emitted when an option is clicked"
|
280
|
-
},
|
281
|
-
{
|
282
|
-
"name": "cancel",
|
283
|
-
"description": "Emitted when the cancel button is clicked"
|
284
|
-
},
|
285
|
-
{
|
286
|
-
"name": "open",
|
287
|
-
"description": "Emitted when opening ActionSheet"
|
288
|
-
},
|
289
|
-
{
|
290
|
-
"name": "close",
|
291
|
-
"description": "Emitted when closing ActionSheet"
|
292
|
-
},
|
293
|
-
{
|
294
|
-
"name": "opened",
|
295
|
-
"description": "Emitted when ActionSheet is opened"
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"name": "closed",
|
299
|
-
"description": "Emitted when ActionSheet is closed"
|
300
|
-
},
|
301
|
-
{
|
302
|
-
"name": "click-overlay",
|
303
|
-
"description": "Emitted when overlay is clicked"
|
304
|
-
}
|
305
|
-
],
|
306
|
-
"attributes": [
|
307
|
-
{
|
308
|
-
"name": "v-model:show",
|
309
|
-
"default": "`false`",
|
310
|
-
"description": "Whether to show ActionSheet",
|
306
|
+
"name": "text",
|
307
|
+
"default": "-",
|
308
|
+
"description": "Button text",
|
311
309
|
"options": [],
|
312
310
|
"value": {
|
313
|
-
"type": "
|
311
|
+
"type": "string",
|
314
312
|
"kind": "expression"
|
315
313
|
}
|
316
314
|
},
|
317
315
|
{
|
318
|
-
"name": "
|
319
|
-
"default": "
|
320
|
-
"description": "
|
316
|
+
"name": "icon",
|
317
|
+
"default": "-",
|
318
|
+
"description": "Icon",
|
321
319
|
"options": [],
|
322
320
|
"value": {
|
323
|
-
"type": "
|
321
|
+
"type": "string",
|
324
322
|
"kind": "expression"
|
325
323
|
}
|
326
324
|
},
|
327
325
|
{
|
328
|
-
"name": "
|
329
|
-
"default": "
|
330
|
-
"description": "
|
326
|
+
"name": "color",
|
327
|
+
"default": "`#323233`",
|
328
|
+
"description": "Icon color",
|
331
329
|
"options": [],
|
332
330
|
"value": {
|
333
331
|
"type": "string",
|
@@ -335,19 +333,21 @@
|
|
335
333
|
}
|
336
334
|
},
|
337
335
|
{
|
338
|
-
"name": "
|
339
|
-
"default": "
|
340
|
-
"description": "
|
341
|
-
"options": [
|
336
|
+
"name": "icon-class",
|
337
|
+
"default": "object_",
|
338
|
+
"description": "Icon class name",
|
339
|
+
"options": [
|
340
|
+
"''"
|
341
|
+
],
|
342
342
|
"value": {
|
343
|
-
"type": "string",
|
343
|
+
"type": "string | Array \\",
|
344
344
|
"kind": "expression"
|
345
345
|
}
|
346
346
|
},
|
347
347
|
{
|
348
|
-
"name": "
|
349
|
-
"default": "-",
|
350
|
-
"description": "
|
348
|
+
"name": "icon-prefix",
|
349
|
+
"default": "`van-icon`",
|
350
|
+
"description": "Icon className prefix",
|
351
351
|
"options": [],
|
352
352
|
"value": {
|
353
353
|
"type": "string",
|
@@ -355,9 +355,9 @@
|
|
355
355
|
}
|
356
356
|
},
|
357
357
|
{
|
358
|
-
"name": "
|
359
|
-
"default": "
|
360
|
-
"description": "Whether to show
|
358
|
+
"name": "dot",
|
359
|
+
"default": "-",
|
360
|
+
"description": "Whether to show red dot",
|
361
361
|
"options": [],
|
362
362
|
"value": {
|
363
363
|
"type": "boolean",
|
@@ -365,101 +365,111 @@
|
|
365
365
|
}
|
366
366
|
},
|
367
367
|
{
|
368
|
-
"name": "
|
369
|
-
"default": "
|
370
|
-
"description": "
|
368
|
+
"name": "badge",
|
369
|
+
"default": "-",
|
370
|
+
"description": "Content of the badge",
|
371
371
|
"options": [],
|
372
372
|
"value": {
|
373
|
-
"type": "string",
|
373
|
+
"type": "number | string",
|
374
374
|
"kind": "expression"
|
375
375
|
}
|
376
376
|
},
|
377
377
|
{
|
378
|
-
"name": "
|
379
|
-
"default": "
|
380
|
-
"description": "
|
378
|
+
"name": "badge-props",
|
379
|
+
"default": "-",
|
380
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props)",
|
381
381
|
"options": [],
|
382
382
|
"value": {
|
383
|
-
"type": "
|
383
|
+
"type": "BadgeProps",
|
384
384
|
"kind": "expression"
|
385
385
|
}
|
386
386
|
},
|
387
387
|
{
|
388
|
-
"name": "
|
389
|
-
"default": "
|
390
|
-
"description": "
|
388
|
+
"name": "url",
|
389
|
+
"default": "-",
|
390
|
+
"description": "Link URL",
|
391
391
|
"options": [],
|
392
392
|
"value": {
|
393
|
-
"type": "
|
393
|
+
"type": "string",
|
394
394
|
"kind": "expression"
|
395
395
|
}
|
396
396
|
},
|
397
397
|
{
|
398
|
-
"name": "
|
399
|
-
"default": "
|
400
|
-
"description": "
|
398
|
+
"name": "to",
|
399
|
+
"default": "-",
|
400
|
+
"description": "Target route of the link, same as to of vue-router",
|
401
401
|
"options": [],
|
402
402
|
"value": {
|
403
|
-
"type": "
|
403
|
+
"type": "string | object",
|
404
404
|
"kind": "expression"
|
405
405
|
}
|
406
406
|
},
|
407
407
|
{
|
408
|
-
"name": "
|
409
|
-
"default": "
|
410
|
-
"description": "
|
411
|
-
"options": [
|
412
|
-
"-"
|
413
|
-
],
|
408
|
+
"name": "replace",
|
409
|
+
"default": "`false`",
|
410
|
+
"description": "If true, the navigation will not leave a history record",
|
411
|
+
"options": [],
|
414
412
|
"value": {
|
415
|
-
"type": "
|
413
|
+
"type": "boolean",
|
416
414
|
"kind": "expression"
|
417
415
|
}
|
418
|
-
}
|
416
|
+
}
|
417
|
+
]
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"name": "van-action-bar-button",
|
421
|
+
"slots": [
|
419
422
|
{
|
420
|
-
"name": "
|
423
|
+
"name": "default",
|
424
|
+
"description": "Button content"
|
425
|
+
}
|
426
|
+
],
|
427
|
+
"events": [],
|
428
|
+
"attributes": [
|
429
|
+
{
|
430
|
+
"name": "text",
|
421
431
|
"default": "-",
|
422
|
-
"description": "
|
432
|
+
"description": "Button text",
|
423
433
|
"options": [],
|
424
434
|
"value": {
|
425
|
-
"type": "
|
435
|
+
"type": "string",
|
426
436
|
"kind": "expression"
|
427
437
|
}
|
428
438
|
},
|
429
439
|
{
|
430
|
-
"name": "
|
431
|
-
"default": "`
|
432
|
-
"description": "
|
440
|
+
"name": "type",
|
441
|
+
"default": "`default`",
|
442
|
+
"description": "Button type, Can be set to `primary` `info` `warning` `danger`",
|
433
443
|
"options": [],
|
434
444
|
"value": {
|
435
|
-
"type": "
|
445
|
+
"type": "string",
|
436
446
|
"kind": "expression"
|
437
447
|
}
|
438
448
|
},
|
439
449
|
{
|
440
|
-
"name": "
|
441
|
-
"default": "
|
442
|
-
"description": "
|
450
|
+
"name": "color",
|
451
|
+
"default": "-",
|
452
|
+
"description": "Button color, support linear-gradient",
|
443
453
|
"options": [],
|
444
454
|
"value": {
|
445
|
-
"type": "
|
455
|
+
"type": "string",
|
446
456
|
"kind": "expression"
|
447
457
|
}
|
448
458
|
},
|
449
459
|
{
|
450
|
-
"name": "
|
451
|
-
"default": "
|
452
|
-
"description": "
|
460
|
+
"name": "icon",
|
461
|
+
"default": "-",
|
462
|
+
"description": "Left Icon",
|
453
463
|
"options": [],
|
454
464
|
"value": {
|
455
|
-
"type": "
|
465
|
+
"type": "string",
|
456
466
|
"kind": "expression"
|
457
467
|
}
|
458
468
|
},
|
459
469
|
{
|
460
|
-
"name": "
|
470
|
+
"name": "disabled",
|
461
471
|
"default": "`false`",
|
462
|
-
"description": "Whether to
|
472
|
+
"description": "Whether to disable button",
|
463
473
|
"options": [],
|
464
474
|
"value": {
|
465
475
|
"type": "boolean",
|
@@ -467,9 +477,9 @@
|
|
467
477
|
}
|
468
478
|
},
|
469
479
|
{
|
470
|
-
"name": "
|
471
|
-
"default": "`
|
472
|
-
"description": "Whether to
|
480
|
+
"name": "loading",
|
481
|
+
"default": "`false`",
|
482
|
+
"description": "Whether to show loading status",
|
473
483
|
"options": [],
|
474
484
|
"value": {
|
475
485
|
"type": "boolean",
|
@@ -477,88 +487,84 @@
|
|
477
487
|
}
|
478
488
|
},
|
479
489
|
{
|
480
|
-
"name": "
|
481
|
-
"default": "
|
482
|
-
"description": "
|
490
|
+
"name": "url",
|
491
|
+
"default": "-",
|
492
|
+
"description": "Link",
|
483
493
|
"options": [],
|
484
494
|
"value": {
|
485
|
-
"type": "
|
495
|
+
"type": "string",
|
486
496
|
"kind": "expression"
|
487
497
|
}
|
488
498
|
},
|
489
499
|
{
|
490
|
-
"name": "
|
500
|
+
"name": "to",
|
491
501
|
"default": "-",
|
492
|
-
"description": "
|
502
|
+
"description": "Target route of the link, same as to of vue-router",
|
493
503
|
"options": [],
|
494
504
|
"value": {
|
495
|
-
"type": "string |
|
505
|
+
"type": "string | object",
|
496
506
|
"kind": "expression"
|
497
507
|
}
|
498
508
|
},
|
499
509
|
{
|
500
|
-
"name": "
|
501
|
-
"default": "
|
502
|
-
"description": "
|
510
|
+
"name": "replace",
|
511
|
+
"default": "`false`",
|
512
|
+
"description": "If true, the navigation will not leave a history record",
|
503
513
|
"options": [],
|
504
514
|
"value": {
|
505
|
-
"type": "
|
515
|
+
"type": "boolean",
|
506
516
|
"kind": "expression"
|
507
517
|
}
|
508
518
|
}
|
509
519
|
]
|
510
520
|
},
|
511
521
|
{
|
512
|
-
"name": "van-
|
522
|
+
"name": "van-area",
|
513
523
|
"slots": [
|
514
524
|
{
|
515
|
-
"name": "
|
516
|
-
"description": "Custom content
|
525
|
+
"name": "toolbar",
|
526
|
+
"description": "Custom toolbar content"
|
517
527
|
},
|
518
528
|
{
|
519
|
-
"name": "
|
520
|
-
"description": "Custom
|
529
|
+
"name": "title",
|
530
|
+
"description": "Custom title"
|
521
531
|
},
|
522
532
|
{
|
523
|
-
"name": "
|
524
|
-
"description": "Custom
|
533
|
+
"name": "confirm",
|
534
|
+
"description": "Custom confirm button text"
|
525
535
|
},
|
526
536
|
{
|
527
|
-
"name": "
|
528
|
-
"description": "Custom
|
529
|
-
}
|
530
|
-
],
|
531
|
-
"events": [
|
532
|
-
{
|
533
|
-
"name": "add",
|
534
|
-
"description": "Emitted when the add button is clicked"
|
537
|
+
"name": "cancel",
|
538
|
+
"description": "Custom cancel button text"
|
535
539
|
},
|
536
540
|
{
|
537
|
-
"name": "
|
538
|
-
"description": "
|
541
|
+
"name": "columns-top",
|
542
|
+
"description": "Custom content above columns"
|
539
543
|
},
|
540
544
|
{
|
541
|
-
"name": "
|
542
|
-
"description": "
|
543
|
-
}
|
545
|
+
"name": "columns-bottom",
|
546
|
+
"description": "Custom content below columns"
|
547
|
+
}
|
548
|
+
],
|
549
|
+
"events": [
|
544
550
|
{
|
545
|
-
"name": "
|
546
|
-
"description": "Emitted when the
|
551
|
+
"name": "confirm",
|
552
|
+
"description": "Emitted when the confirm button is clicked"
|
547
553
|
},
|
548
554
|
{
|
549
|
-
"name": "
|
550
|
-
"description": "Emitted when
|
555
|
+
"name": "cancel",
|
556
|
+
"description": "Emitted when the cancel button is clicked"
|
551
557
|
},
|
552
558
|
{
|
553
|
-
"name": "
|
554
|
-
"description": "Emitted when
|
559
|
+
"name": "change",
|
560
|
+
"description": "Emitted when current option changed"
|
555
561
|
}
|
556
562
|
],
|
557
563
|
"attributes": [
|
558
564
|
{
|
559
|
-
"name": "
|
565
|
+
"name": "value",
|
560
566
|
"default": "-",
|
561
|
-
"description": "
|
567
|
+
"description": "the `code` of selected area",
|
562
568
|
"options": [],
|
563
569
|
"value": {
|
564
570
|
"type": "string",
|
@@ -566,29 +572,9 @@
|
|
566
572
|
}
|
567
573
|
},
|
568
574
|
{
|
569
|
-
"name": "
|
570
|
-
"default": "`[]`",
|
571
|
-
"description": "Address list",
|
572
|
-
"options": [],
|
573
|
-
"value": {
|
574
|
-
"type": "Address[]",
|
575
|
-
"kind": "expression"
|
576
|
-
}
|
577
|
-
},
|
578
|
-
{
|
579
|
-
"name": "disabled-list",
|
580
|
-
"default": "`[]`",
|
581
|
-
"description": "Disabled address list",
|
582
|
-
"options": [],
|
583
|
-
"value": {
|
584
|
-
"type": "Address[]",
|
585
|
-
"kind": "expression"
|
586
|
-
}
|
587
|
-
},
|
588
|
-
{
|
589
|
-
"name": "disabled-text",
|
575
|
+
"name": "title",
|
590
576
|
"default": "-",
|
591
|
-
"description": "
|
577
|
+
"description": "Toolbar title",
|
592
578
|
"options": [],
|
593
579
|
"value": {
|
594
580
|
"type": "string",
|
@@ -596,19 +582,9 @@
|
|
596
582
|
}
|
597
583
|
},
|
598
584
|
{
|
599
|
-
"name": "
|
600
|
-
"default": "`
|
601
|
-
"description": "
|
602
|
-
"options": [],
|
603
|
-
"value": {
|
604
|
-
"type": "boolean",
|
605
|
-
"kind": "expression"
|
606
|
-
}
|
607
|
-
},
|
608
|
-
{
|
609
|
-
"name": "add-button-text",
|
610
|
-
"default": "`Add new address`",
|
611
|
-
"description": "Add button text",
|
585
|
+
"name": "confirm-button-text",
|
586
|
+
"default": "`Confirm`",
|
587
|
+
"description": "Text of confirm button",
|
612
588
|
"options": [],
|
613
589
|
"value": {
|
614
590
|
"type": "string",
|
@@ -616,64 +592,19 @@
|
|
616
592
|
}
|
617
593
|
},
|
618
594
|
{
|
619
|
-
"name": "
|
620
|
-
"default": "
|
621
|
-
"description": "
|
595
|
+
"name": "cancel-button-text",
|
596
|
+
"default": "`Cancel`",
|
597
|
+
"description": "Text of cancel button",
|
622
598
|
"options": [],
|
623
599
|
"value": {
|
624
600
|
"type": "string",
|
625
601
|
"kind": "expression"
|
626
602
|
}
|
627
|
-
}
|
628
|
-
]
|
629
|
-
},
|
630
|
-
{
|
631
|
-
"name": "van-address-edit",
|
632
|
-
"slots": [
|
633
|
-
{
|
634
|
-
"name": "default",
|
635
|
-
"description": "Custom content below postal"
|
636
|
-
}
|
637
|
-
],
|
638
|
-
"events": [
|
639
|
-
{
|
640
|
-
"name": "save",
|
641
|
-
"description": "Emitted when the save button is clicked"
|
642
|
-
},
|
643
|
-
{
|
644
|
-
"name": "focus",
|
645
|
-
"description": "Emitted when field is focused"
|
646
603
|
},
|
647
|
-
{
|
648
|
-
"name": "delete",
|
649
|
-
"description": "Emitted when confirming delete"
|
650
|
-
},
|
651
|
-
{
|
652
|
-
"name": "select-search",
|
653
|
-
"description": "Emitted when a search result is selected"
|
654
|
-
},
|
655
|
-
{
|
656
|
-
"name": "click-area",
|
657
|
-
"description": "Emitted when the area field is clicked"
|
658
|
-
},
|
659
|
-
{
|
660
|
-
"name": "change-area",
|
661
|
-
"description": "Emitted when area changed"
|
662
|
-
},
|
663
|
-
{
|
664
|
-
"name": "change-detail",
|
665
|
-
"description": "Emitted when address detail changed"
|
666
|
-
},
|
667
|
-
{
|
668
|
-
"name": "change-default",
|
669
|
-
"description": "Emitted when switching default address"
|
670
|
-
}
|
671
|
-
],
|
672
|
-
"attributes": [
|
673
604
|
{
|
674
605
|
"name": "area-list",
|
675
606
|
"default": "-",
|
676
|
-
"description": "Area
|
607
|
+
"description": "Area list data",
|
677
608
|
"options": [],
|
678
609
|
"value": {
|
679
610
|
"type": "object",
|
@@ -681,9 +612,9 @@
|
|
681
612
|
}
|
682
613
|
},
|
683
614
|
{
|
684
|
-
"name": "
|
615
|
+
"name": "columns-placeholder",
|
685
616
|
"default": "`[]`",
|
686
|
-
"description": "
|
617
|
+
"description": "Placeholder of columns",
|
687
618
|
"options": [],
|
688
619
|
"value": {
|
689
620
|
"type": "string[]",
|
@@ -691,149 +622,132 @@
|
|
691
622
|
}
|
692
623
|
},
|
693
624
|
{
|
694
|
-
"name": "
|
695
|
-
"default": "`
|
696
|
-
"description": "
|
625
|
+
"name": "loading",
|
626
|
+
"default": "`false`",
|
627
|
+
"description": "Whether to show loading prompt",
|
697
628
|
"options": [],
|
698
629
|
"value": {
|
699
|
-
"type": "
|
630
|
+
"type": "boolean",
|
700
631
|
"kind": "expression"
|
701
632
|
}
|
702
633
|
},
|
703
634
|
{
|
704
|
-
"name": "
|
705
|
-
"default": "`
|
706
|
-
"description": "
|
635
|
+
"name": "readonly",
|
636
|
+
"default": "`false`",
|
637
|
+
"description": "Whether to be readonly",
|
707
638
|
"options": [],
|
708
639
|
"value": {
|
709
|
-
"type": "
|
640
|
+
"type": "boolean",
|
710
641
|
"kind": "expression"
|
711
642
|
}
|
712
643
|
},
|
713
644
|
{
|
714
|
-
"name": "
|
715
|
-
"default": "`
|
716
|
-
"description": "
|
645
|
+
"name": "item-height",
|
646
|
+
"default": "`44`",
|
647
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
717
648
|
"options": [],
|
718
649
|
"value": {
|
719
|
-
"type": "
|
650
|
+
"type": "number | string",
|
720
651
|
"kind": "expression"
|
721
652
|
}
|
722
653
|
},
|
723
654
|
{
|
724
|
-
"name": "
|
725
|
-
"default": "`
|
726
|
-
"description": "
|
655
|
+
"name": "columns-num",
|
656
|
+
"default": "`3`",
|
657
|
+
"description": "Level of picker",
|
727
658
|
"options": [],
|
728
659
|
"value": {
|
729
|
-
"type": "
|
660
|
+
"type": "number | string",
|
730
661
|
"kind": "expression"
|
731
662
|
}
|
732
663
|
},
|
733
664
|
{
|
734
|
-
"name": "
|
735
|
-
"default": "`
|
736
|
-
"description": "
|
665
|
+
"name": "visible-item-count",
|
666
|
+
"default": "`6`",
|
667
|
+
"description": "Count of visible columns",
|
737
668
|
"options": [],
|
738
669
|
"value": {
|
739
|
-
"type": "
|
670
|
+
"type": "number | string",
|
740
671
|
"kind": "expression"
|
741
672
|
}
|
742
673
|
},
|
743
674
|
{
|
744
|
-
"name": "
|
745
|
-
"default": "`
|
746
|
-
"description": "
|
675
|
+
"name": "swipe-duration",
|
676
|
+
"default": "`1000`",
|
677
|
+
"description": "Duration of the momentum animation,unit `ms`",
|
747
678
|
"options": [],
|
748
679
|
"value": {
|
749
|
-
"type": "
|
680
|
+
"type": "number | string",
|
750
681
|
"kind": "expression"
|
751
682
|
}
|
752
683
|
},
|
753
684
|
{
|
754
|
-
"name": "
|
755
|
-
"default": "
|
756
|
-
"description": "
|
685
|
+
"name": "is-oversea-code",
|
686
|
+
"default": "-",
|
687
|
+
"description": "The method to validate oversea code",
|
757
688
|
"options": [],
|
758
689
|
"value": {
|
759
|
-
"type": "boolean",
|
690
|
+
"type": "() => boolean",
|
760
691
|
"kind": "expression"
|
761
692
|
}
|
693
|
+
}
|
694
|
+
]
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"name": "van-action-sheet",
|
698
|
+
"slots": [
|
699
|
+
{
|
700
|
+
"name": "default",
|
701
|
+
"description": "Custom content"
|
762
702
|
},
|
763
703
|
{
|
764
|
-
"name": "
|
765
|
-
"
|
766
|
-
"description": "Whether to show area cell",
|
767
|
-
"options": [],
|
768
|
-
"value": {
|
769
|
-
"type": "boolean",
|
770
|
-
"kind": "expression"
|
771
|
-
}
|
704
|
+
"name": "description",
|
705
|
+
"description": "Custom description above the options"
|
772
706
|
},
|
773
707
|
{
|
774
|
-
"name": "
|
775
|
-
"
|
776
|
-
"description": "Whether to show detail field",
|
777
|
-
"options": [],
|
778
|
-
"value": {
|
779
|
-
"type": "boolean",
|
780
|
-
"kind": "expression"
|
781
|
-
}
|
708
|
+
"name": "cancel",
|
709
|
+
"description": "Custom the content of cancel button"
|
782
710
|
},
|
783
711
|
{
|
784
|
-
"name": "
|
785
|
-
"
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
712
|
+
"name": "action",
|
713
|
+
"description": "Custom the content of action"
|
714
|
+
}
|
715
|
+
],
|
716
|
+
"events": [
|
717
|
+
{
|
718
|
+
"name": "select",
|
719
|
+
"description": "Emitted when an option is clicked"
|
792
720
|
},
|
793
721
|
{
|
794
|
-
"name": "
|
795
|
-
"
|
796
|
-
"description": "Save button text",
|
797
|
-
"options": [],
|
798
|
-
"value": {
|
799
|
-
"type": "string",
|
800
|
-
"kind": "expression"
|
801
|
-
}
|
722
|
+
"name": "cancel",
|
723
|
+
"description": "Emitted when the cancel button is clicked"
|
802
724
|
},
|
803
725
|
{
|
804
|
-
"name": "
|
805
|
-
"
|
806
|
-
"description": "Delete button text",
|
807
|
-
"options": [],
|
808
|
-
"value": {
|
809
|
-
"type": "string",
|
810
|
-
"kind": "expression"
|
811
|
-
}
|
726
|
+
"name": "open",
|
727
|
+
"description": "Emitted when opening ActionSheet"
|
812
728
|
},
|
813
729
|
{
|
814
|
-
"name": "
|
815
|
-
"
|
816
|
-
"description": "Detail input rows",
|
817
|
-
"options": [],
|
818
|
-
"value": {
|
819
|
-
"type": "number | string",
|
820
|
-
"kind": "expression"
|
821
|
-
}
|
730
|
+
"name": "close",
|
731
|
+
"description": "Emitted when closing ActionSheet"
|
822
732
|
},
|
823
733
|
{
|
824
|
-
"name": "
|
825
|
-
"
|
826
|
-
"description": "Detail maxlength",
|
827
|
-
"options": [],
|
828
|
-
"value": {
|
829
|
-
"type": "number | string",
|
830
|
-
"kind": "expression"
|
831
|
-
}
|
734
|
+
"name": "opened",
|
735
|
+
"description": "Emitted when ActionSheet is opened"
|
832
736
|
},
|
833
737
|
{
|
834
|
-
"name": "
|
738
|
+
"name": "closed",
|
739
|
+
"description": "Emitted when ActionSheet is closed"
|
740
|
+
},
|
741
|
+
{
|
742
|
+
"name": "click-overlay",
|
743
|
+
"description": "Emitted when overlay is clicked"
|
744
|
+
}
|
745
|
+
],
|
746
|
+
"attributes": [
|
747
|
+
{
|
748
|
+
"name": "v-model:show",
|
835
749
|
"default": "`false`",
|
836
|
-
"description": "Whether to show
|
750
|
+
"description": "Whether to show ActionSheet",
|
837
751
|
"options": [],
|
838
752
|
"value": {
|
839
753
|
"type": "boolean",
|
@@ -841,95 +755,79 @@
|
|
841
755
|
}
|
842
756
|
},
|
843
757
|
{
|
844
|
-
"name": "
|
845
|
-
"default": "`
|
846
|
-
"description": "
|
758
|
+
"name": "actions",
|
759
|
+
"default": "`[]`",
|
760
|
+
"description": "Options",
|
847
761
|
"options": [],
|
848
762
|
"value": {
|
849
|
-
"type": "
|
763
|
+
"type": "ActionSheetAction[]",
|
850
764
|
"kind": "expression"
|
851
765
|
}
|
852
766
|
},
|
853
767
|
{
|
854
|
-
"name": "
|
768
|
+
"name": "title",
|
855
769
|
"default": "-",
|
856
|
-
"description": "
|
770
|
+
"description": "Title",
|
857
771
|
"options": [],
|
858
772
|
"value": {
|
859
|
-
"type": "
|
773
|
+
"type": "string",
|
860
774
|
"kind": "expression"
|
861
775
|
}
|
862
776
|
},
|
863
777
|
{
|
864
|
-
"name": "
|
778
|
+
"name": "cancel-text",
|
865
779
|
"default": "-",
|
866
|
-
"description": "
|
780
|
+
"description": "Text of cancel button",
|
867
781
|
"options": [],
|
868
782
|
"value": {
|
869
|
-
"type": "
|
783
|
+
"type": "string",
|
870
784
|
"kind": "expression"
|
871
785
|
}
|
872
786
|
},
|
873
787
|
{
|
874
|
-
"name": "
|
788
|
+
"name": "description",
|
875
789
|
"default": "-",
|
876
|
-
"description": "
|
790
|
+
"description": "Description above the options",
|
877
791
|
"options": [],
|
878
792
|
"value": {
|
879
|
-
"type": "
|
793
|
+
"type": "string",
|
880
794
|
"kind": "expression"
|
881
795
|
}
|
882
796
|
},
|
883
797
|
{
|
884
|
-
"name": "
|
885
|
-
"default": "
|
886
|
-
"description": "
|
798
|
+
"name": "closeable",
|
799
|
+
"default": "`true`",
|
800
|
+
"description": "Whether to show close icon",
|
887
801
|
"options": [],
|
888
802
|
"value": {
|
889
|
-
"type": "
|
803
|
+
"type": "boolean",
|
890
804
|
"kind": "expression"
|
891
805
|
}
|
892
|
-
}
|
893
|
-
]
|
894
|
-
},
|
895
|
-
{
|
896
|
-
"name": "van-badge",
|
897
|
-
"slots": [
|
898
|
-
{
|
899
|
-
"name": "default",
|
900
|
-
"description": "Default slot"
|
901
806
|
},
|
902
807
|
{
|
903
|
-
"name": "
|
904
|
-
"
|
905
|
-
|
906
|
-
],
|
907
|
-
"events": [],
|
908
|
-
"attributes": [
|
909
|
-
{
|
910
|
-
"name": "content",
|
911
|
-
"default": "-",
|
912
|
-
"description": "Badge content",
|
808
|
+
"name": "close-icon",
|
809
|
+
"default": "`cross`",
|
810
|
+
"description": "Close icon name",
|
913
811
|
"options": [],
|
914
812
|
"value": {
|
915
|
-
"type": "
|
813
|
+
"type": "string",
|
916
814
|
"kind": "expression"
|
917
815
|
}
|
918
816
|
},
|
919
817
|
{
|
920
|
-
"name": "
|
921
|
-
"default": "
|
922
|
-
"description": "
|
818
|
+
"name": "duration",
|
819
|
+
"default": "`0.3`",
|
820
|
+
"description": "Transition duration, unit second",
|
923
821
|
"options": [],
|
924
822
|
"value": {
|
925
|
-
"type": "string",
|
823
|
+
"type": "number | string",
|
926
824
|
"kind": "expression"
|
927
825
|
}
|
928
826
|
},
|
929
827
|
{
|
930
|
-
"name": "
|
931
|
-
"default": "`
|
932
|
-
"description": "Whether to show
|
828
|
+
"name": "round",
|
829
|
+
"default": "`true`",
|
830
|
+
"description": "Whether to show round corner",
|
933
831
|
"options": [],
|
934
832
|
"value": {
|
935
833
|
"type": "boolean",
|
@@ -937,186 +835,167 @@
|
|
937
835
|
}
|
938
836
|
},
|
939
837
|
{
|
940
|
-
"name": "
|
941
|
-
"default": "
|
942
|
-
"description": "
|
838
|
+
"name": "overlay",
|
839
|
+
"default": "`true`",
|
840
|
+
"description": "Whether to show overlay",
|
943
841
|
"options": [],
|
944
842
|
"value": {
|
945
|
-
"type": "
|
843
|
+
"type": "boolean",
|
946
844
|
"kind": "expression"
|
947
845
|
}
|
948
846
|
},
|
949
847
|
{
|
950
|
-
"name": "
|
951
|
-
"default": "
|
952
|
-
"description": "
|
848
|
+
"name": "overlay-class",
|
849
|
+
"default": "object_",
|
850
|
+
"description": "Custom overlay class",
|
953
851
|
"options": [
|
954
852
|
"-"
|
955
853
|
],
|
956
854
|
"value": {
|
957
|
-
"type": "
|
855
|
+
"type": "string | Array \\",
|
958
856
|
"kind": "expression"
|
959
857
|
}
|
960
858
|
},
|
961
859
|
{
|
962
|
-
"name": "
|
963
|
-
"default": "
|
964
|
-
"description": "
|
860
|
+
"name": "overlay-style",
|
861
|
+
"default": "-",
|
862
|
+
"description": "Custom overlay style",
|
965
863
|
"options": [],
|
966
864
|
"value": {
|
967
|
-
"type": "
|
865
|
+
"type": "object",
|
968
866
|
"kind": "expression"
|
969
867
|
}
|
970
868
|
},
|
971
869
|
{
|
972
|
-
"name": "
|
973
|
-
"default": "`
|
974
|
-
"description": "
|
870
|
+
"name": "lock-scroll",
|
871
|
+
"default": "`true`",
|
872
|
+
"description": "Whether to lock background scroll",
|
975
873
|
"options": [],
|
976
874
|
"value": {
|
977
|
-
"type": "
|
875
|
+
"type": "boolean",
|
978
876
|
"kind": "expression"
|
979
877
|
}
|
980
|
-
}
|
981
|
-
]
|
982
|
-
},
|
983
|
-
{
|
984
|
-
"name": "van-area",
|
985
|
-
"slots": [
|
986
|
-
{
|
987
|
-
"name": "toolbar",
|
988
|
-
"description": "Custom toolbar content"
|
989
878
|
},
|
990
879
|
{
|
991
|
-
"name": "
|
992
|
-
"
|
993
|
-
|
994
|
-
|
995
|
-
"
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
"name": "cancel",
|
1000
|
-
"description": "Custom cancel button text"
|
1001
|
-
},
|
1002
|
-
{
|
1003
|
-
"name": "columns-top",
|
1004
|
-
"description": "Custom content above columns"
|
1005
|
-
},
|
1006
|
-
{
|
1007
|
-
"name": "columns-bottom",
|
1008
|
-
"description": "Custom content below columns"
|
1009
|
-
}
|
1010
|
-
],
|
1011
|
-
"events": [
|
1012
|
-
{
|
1013
|
-
"name": "confirm",
|
1014
|
-
"description": "Emitted when the confirm button is clicked"
|
1015
|
-
},
|
1016
|
-
{
|
1017
|
-
"name": "cancel",
|
1018
|
-
"description": "Emitted when the cancel button is clicked"
|
880
|
+
"name": "lazy-render",
|
881
|
+
"default": "`true`",
|
882
|
+
"description": "Whether to lazy render util appeared",
|
883
|
+
"options": [],
|
884
|
+
"value": {
|
885
|
+
"type": "boolean",
|
886
|
+
"kind": "expression"
|
887
|
+
}
|
1019
888
|
},
|
1020
889
|
{
|
1021
|
-
"name": "
|
1022
|
-
"
|
1023
|
-
|
1024
|
-
],
|
1025
|
-
"attributes": [
|
1026
|
-
{
|
1027
|
-
"name": "value",
|
1028
|
-
"default": "-",
|
1029
|
-
"description": "the `code` of selected area",
|
890
|
+
"name": "close-on-popstate",
|
891
|
+
"default": "`true`",
|
892
|
+
"description": "Whether to close when popstate",
|
1030
893
|
"options": [],
|
1031
894
|
"value": {
|
1032
|
-
"type": "
|
895
|
+
"type": "boolean",
|
1033
896
|
"kind": "expression"
|
1034
897
|
}
|
1035
898
|
},
|
1036
899
|
{
|
1037
|
-
"name": "
|
1038
|
-
"default": "
|
1039
|
-
"description": "
|
900
|
+
"name": "close-on-click-action",
|
901
|
+
"default": "`false`",
|
902
|
+
"description": "Whether to close when an action is clicked",
|
1040
903
|
"options": [],
|
1041
904
|
"value": {
|
1042
|
-
"type": "
|
905
|
+
"type": "boolean",
|
1043
906
|
"kind": "expression"
|
1044
907
|
}
|
1045
908
|
},
|
1046
909
|
{
|
1047
|
-
"name": "
|
1048
|
-
"default": "`
|
1049
|
-
"description": "
|
910
|
+
"name": "close-on-click-overlay",
|
911
|
+
"default": "`true`",
|
912
|
+
"description": "Whether to close when overlay is clicked",
|
1050
913
|
"options": [],
|
1051
914
|
"value": {
|
1052
|
-
"type": "
|
915
|
+
"type": "boolean",
|
1053
916
|
"kind": "expression"
|
1054
917
|
}
|
1055
918
|
},
|
1056
919
|
{
|
1057
|
-
"name": "
|
1058
|
-
"default": "`
|
1059
|
-
"description": "
|
920
|
+
"name": "safe-area-inset-bottom",
|
921
|
+
"default": "`true`",
|
922
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1060
923
|
"options": [],
|
1061
924
|
"value": {
|
1062
|
-
"type": "
|
925
|
+
"type": "boolean",
|
1063
926
|
"kind": "expression"
|
1064
927
|
}
|
1065
928
|
},
|
1066
929
|
{
|
1067
|
-
"name": "
|
930
|
+
"name": "teleport",
|
1068
931
|
"default": "-",
|
1069
|
-
"description": "
|
932
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1070
933
|
"options": [],
|
1071
934
|
"value": {
|
1072
|
-
"type": "
|
935
|
+
"type": "string | Element",
|
1073
936
|
"kind": "expression"
|
1074
937
|
}
|
1075
938
|
},
|
1076
939
|
{
|
1077
|
-
"name": "
|
1078
|
-
"default": "
|
1079
|
-
"description": "
|
940
|
+
"name": "before-close",
|
941
|
+
"default": "-",
|
942
|
+
"description": "Callback function before close",
|
1080
943
|
"options": [],
|
1081
944
|
"value": {
|
1082
|
-
"type": "string
|
945
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1083
946
|
"kind": "expression"
|
1084
947
|
}
|
948
|
+
}
|
949
|
+
]
|
950
|
+
},
|
951
|
+
{
|
952
|
+
"name": "van-badge",
|
953
|
+
"slots": [
|
954
|
+
{
|
955
|
+
"name": "default",
|
956
|
+
"description": "Default slot"
|
1085
957
|
},
|
1086
958
|
{
|
1087
|
-
"name": "
|
1088
|
-
"
|
1089
|
-
|
959
|
+
"name": "content",
|
960
|
+
"description": "Custom badge content"
|
961
|
+
}
|
962
|
+
],
|
963
|
+
"events": [],
|
964
|
+
"attributes": [
|
965
|
+
{
|
966
|
+
"name": "content",
|
967
|
+
"default": "-",
|
968
|
+
"description": "Badge content",
|
1090
969
|
"options": [],
|
1091
970
|
"value": {
|
1092
|
-
"type": "
|
971
|
+
"type": "number | string",
|
1093
972
|
"kind": "expression"
|
1094
973
|
}
|
1095
974
|
},
|
1096
975
|
{
|
1097
|
-
"name": "
|
1098
|
-
"default": "`
|
1099
|
-
"description": "
|
976
|
+
"name": "color",
|
977
|
+
"default": "`#ee0a24`",
|
978
|
+
"description": "Background color",
|
1100
979
|
"options": [],
|
1101
980
|
"value": {
|
1102
|
-
"type": "
|
981
|
+
"type": "string",
|
1103
982
|
"kind": "expression"
|
1104
983
|
}
|
1105
984
|
},
|
1106
985
|
{
|
1107
|
-
"name": "
|
1108
|
-
"default": "`
|
1109
|
-
"description": "
|
986
|
+
"name": "dot",
|
987
|
+
"default": "`false`",
|
988
|
+
"description": "Whether to show dot",
|
1110
989
|
"options": [],
|
1111
990
|
"value": {
|
1112
|
-
"type": "
|
991
|
+
"type": "boolean",
|
1113
992
|
"kind": "expression"
|
1114
993
|
}
|
1115
994
|
},
|
1116
995
|
{
|
1117
|
-
"name": "
|
1118
|
-
"default": "
|
1119
|
-
"description": "
|
996
|
+
"name": "max",
|
997
|
+
"default": "-",
|
998
|
+
"description": "Max value,show `{max}+` when exceed,only works when content is number",
|
1120
999
|
"options": [],
|
1121
1000
|
"value": {
|
1122
1001
|
"type": "number | string",
|
@@ -1124,32 +1003,34 @@
|
|
1124
1003
|
}
|
1125
1004
|
},
|
1126
1005
|
{
|
1127
|
-
"name": "
|
1128
|
-
"default": "
|
1129
|
-
"description": "
|
1130
|
-
"options": [
|
1006
|
+
"name": "offset",
|
1007
|
+
"default": "string]_",
|
1008
|
+
"description": "Offset of badge dot",
|
1009
|
+
"options": [
|
1010
|
+
"-"
|
1011
|
+
],
|
1131
1012
|
"value": {
|
1132
|
-
"type": "number | string",
|
1013
|
+
"type": "[number | string, number \\",
|
1133
1014
|
"kind": "expression"
|
1134
1015
|
}
|
1135
1016
|
},
|
1136
1017
|
{
|
1137
|
-
"name": "
|
1138
|
-
"default": "`
|
1139
|
-
"description": "
|
1018
|
+
"name": "show-zero",
|
1019
|
+
"default": "`true`",
|
1020
|
+
"description": "Whether to show badge when content is zero",
|
1140
1021
|
"options": [],
|
1141
1022
|
"value": {
|
1142
|
-
"type": "
|
1023
|
+
"type": "boolean",
|
1143
1024
|
"kind": "expression"
|
1144
1025
|
}
|
1145
1026
|
},
|
1146
1027
|
{
|
1147
|
-
"name": "
|
1148
|
-
"default": "-",
|
1149
|
-
"description": "
|
1028
|
+
"name": "position",
|
1029
|
+
"default": "`top-right`",
|
1030
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1150
1031
|
"options": [],
|
1151
1032
|
"value": {
|
1152
|
-
"type": "
|
1033
|
+
"type": "string",
|
1153
1034
|
"kind": "expression"
|
1154
1035
|
}
|
1155
1036
|
}
|
@@ -1394,6 +1275,125 @@
|
|
1394
1275
|
}
|
1395
1276
|
]
|
1396
1277
|
},
|
1278
|
+
{
|
1279
|
+
"name": "van-address-list",
|
1280
|
+
"slots": [
|
1281
|
+
{
|
1282
|
+
"name": "default",
|
1283
|
+
"description": "Custom content after list"
|
1284
|
+
},
|
1285
|
+
{
|
1286
|
+
"name": "top",
|
1287
|
+
"description": "Custom content before list"
|
1288
|
+
},
|
1289
|
+
{
|
1290
|
+
"name": "item-bottom",
|
1291
|
+
"description": "Custom content after list item"
|
1292
|
+
},
|
1293
|
+
{
|
1294
|
+
"name": "tag",
|
1295
|
+
"description": "Custom tag of list item"
|
1296
|
+
}
|
1297
|
+
],
|
1298
|
+
"events": [
|
1299
|
+
{
|
1300
|
+
"name": "add",
|
1301
|
+
"description": "Emitted when the add button is clicked"
|
1302
|
+
},
|
1303
|
+
{
|
1304
|
+
"name": "edit",
|
1305
|
+
"description": "Emitted when the edit icon of address is clicked"
|
1306
|
+
},
|
1307
|
+
{
|
1308
|
+
"name": "select",
|
1309
|
+
"description": "Emitted when an address is selected"
|
1310
|
+
},
|
1311
|
+
{
|
1312
|
+
"name": "edit-disabled",
|
1313
|
+
"description": "Emitted when the edit icon of disabled address is clicked"
|
1314
|
+
},
|
1315
|
+
{
|
1316
|
+
"name": "select-disabled",
|
1317
|
+
"description": "Emitted when a disabled address is selected"
|
1318
|
+
},
|
1319
|
+
{
|
1320
|
+
"name": "click-item",
|
1321
|
+
"description": "Emitted when an address item is clicked"
|
1322
|
+
}
|
1323
|
+
],
|
1324
|
+
"attributes": [
|
1325
|
+
{
|
1326
|
+
"name": "v-model",
|
1327
|
+
"default": "-",
|
1328
|
+
"description": "Id of chosen address",
|
1329
|
+
"options": [],
|
1330
|
+
"value": {
|
1331
|
+
"type": "string",
|
1332
|
+
"kind": "expression"
|
1333
|
+
}
|
1334
|
+
},
|
1335
|
+
{
|
1336
|
+
"name": "list",
|
1337
|
+
"default": "`[]`",
|
1338
|
+
"description": "Address list",
|
1339
|
+
"options": [],
|
1340
|
+
"value": {
|
1341
|
+
"type": "Address[]",
|
1342
|
+
"kind": "expression"
|
1343
|
+
}
|
1344
|
+
},
|
1345
|
+
{
|
1346
|
+
"name": "disabled-list",
|
1347
|
+
"default": "`[]`",
|
1348
|
+
"description": "Disabled address list",
|
1349
|
+
"options": [],
|
1350
|
+
"value": {
|
1351
|
+
"type": "Address[]",
|
1352
|
+
"kind": "expression"
|
1353
|
+
}
|
1354
|
+
},
|
1355
|
+
{
|
1356
|
+
"name": "disabled-text",
|
1357
|
+
"default": "-",
|
1358
|
+
"description": "Disabled text",
|
1359
|
+
"options": [],
|
1360
|
+
"value": {
|
1361
|
+
"type": "string",
|
1362
|
+
"kind": "expression"
|
1363
|
+
}
|
1364
|
+
},
|
1365
|
+
{
|
1366
|
+
"name": "switchable",
|
1367
|
+
"default": "`true`",
|
1368
|
+
"description": "Whether to allow switch address",
|
1369
|
+
"options": [],
|
1370
|
+
"value": {
|
1371
|
+
"type": "boolean",
|
1372
|
+
"kind": "expression"
|
1373
|
+
}
|
1374
|
+
},
|
1375
|
+
{
|
1376
|
+
"name": "add-button-text",
|
1377
|
+
"default": "`Add new address`",
|
1378
|
+
"description": "Add button text",
|
1379
|
+
"options": [],
|
1380
|
+
"value": {
|
1381
|
+
"type": "string",
|
1382
|
+
"kind": "expression"
|
1383
|
+
}
|
1384
|
+
},
|
1385
|
+
{
|
1386
|
+
"name": "default-tag-text",
|
1387
|
+
"default": "-",
|
1388
|
+
"description": "Default tag text",
|
1389
|
+
"options": [],
|
1390
|
+
"value": {
|
1391
|
+
"type": "string",
|
1392
|
+
"kind": "expression"
|
1393
|
+
}
|
1394
|
+
}
|
1395
|
+
]
|
1396
|
+
},
|
1397
1397
|
{
|
1398
1398
|
"name": "van-calendar",
|
1399
1399
|
"slots": [
|
@@ -1697,6 +1697,16 @@
|
|
1697
1697
|
"kind": "expression"
|
1698
1698
|
}
|
1699
1699
|
},
|
1700
|
+
{
|
1701
|
+
"name": "safe-area-inset-top",
|
1702
|
+
"default": "`false`",
|
1703
|
+
"description": "Whether to enable top safe area adaptation",
|
1704
|
+
"options": [],
|
1705
|
+
"value": {
|
1706
|
+
"type": "boolean",
|
1707
|
+
"kind": "expression"
|
1708
|
+
}
|
1709
|
+
},
|
1700
1710
|
{
|
1701
1711
|
"name": "safe-area-inset-bottom",
|
1702
1712
|
"default": "`true`",
|
@@ -2969,6 +2979,16 @@
|
|
2969
2979
|
"kind": "expression"
|
2970
2980
|
}
|
2971
2981
|
},
|
2982
|
+
{
|
2983
|
+
"name": "lazy-render",
|
2984
|
+
"default": "`true`",
|
2985
|
+
"description": "Whether to lazy render util opened",
|
2986
|
+
"options": [],
|
2987
|
+
"value": {
|
2988
|
+
"type": "boolean",
|
2989
|
+
"kind": "expression"
|
2990
|
+
}
|
2991
|
+
},
|
2972
2992
|
{
|
2973
2993
|
"name": "title-class",
|
2974
2994
|
"default": "-",
|
@@ -7322,6 +7342,16 @@
|
|
7322
7342
|
"kind": "expression"
|
7323
7343
|
}
|
7324
7344
|
},
|
7345
|
+
{
|
7346
|
+
"name": "safe-area-inset-top",
|
7347
|
+
"default": "`false`",
|
7348
|
+
"description": "Whether to enable top safe area adaptation",
|
7349
|
+
"options": [],
|
7350
|
+
"value": {
|
7351
|
+
"type": "boolean",
|
7352
|
+
"kind": "expression"
|
7353
|
+
}
|
7354
|
+
},
|
7325
7355
|
{
|
7326
7356
|
"name": "safe-area-inset-bottom",
|
7327
7357
|
"default": "`false`",
|