vant 4.0.0-beta.0 → 4.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -9
- package/changelog.generated.md +207 -163
- package/es/action-bar/ActionBar.d.ts +2 -2
- package/es/action-bar/ActionBar.mjs +1 -0
- package/es/action-bar/index.d.ts +2 -1
- package/es/action-bar/index.mjs +2 -0
- package/es/action-bar-button/ActionBarButton.d.ts +2 -2
- package/es/action-bar-button/ActionBarButton.mjs +1 -0
- package/es/action-bar-button/index.d.ts +2 -1
- package/es/action-bar-button/index.mjs +2 -0
- package/es/action-bar-icon/ActionBarIcon.d.ts +2 -2
- package/es/action-bar-icon/ActionBarIcon.mjs +1 -0
- package/es/action-bar-icon/index.d.ts +2 -1
- package/es/action-bar-icon/index.mjs +2 -0
- package/es/action-sheet/ActionSheet.d.ts +1 -1
- package/es/action-sheet/ActionSheet.mjs +1 -0
- package/es/action-sheet/index.d.ts +1 -0
- package/es/action-sheet/index.mjs +2 -0
- package/es/address-edit/AddressEdit.d.ts +1 -1
- package/es/address-edit/AddressEdit.mjs +1 -0
- package/es/address-edit/index.d.ts +1 -0
- package/es/address-edit/index.mjs +2 -0
- package/es/address-edit/style/index.mjs +7 -1
- package/es/address-list/AddressList.d.ts +1 -1
- package/es/address-list/AddressList.mjs +1 -0
- package/es/address-list/index.d.ts +1 -0
- package/es/address-list/index.mjs +2 -0
- package/es/area/Area.d.ts +7 -4
- package/es/area/Area.mjs +1 -0
- package/es/area/index.d.ts +5 -2
- package/es/area/index.mjs +2 -0
- package/es/area/style/index.mjs +7 -0
- package/es/area/utils.mjs +9 -2
- package/es/badge/Badge.d.ts +2 -2
- package/es/badge/Badge.mjs +2 -1
- package/es/badge/index.d.ts +2 -1
- package/es/badge/index.mjs +2 -0
- package/es/button/Button.d.ts +1 -1
- package/es/button/Button.mjs +1 -0
- package/es/button/index.d.ts +1 -0
- package/es/button/index.mjs +2 -0
- package/es/calendar/Calendar.d.ts +1 -1
- package/es/calendar/Calendar.mjs +8 -7
- package/es/calendar/index.d.ts +1 -0
- package/es/calendar/index.mjs +2 -0
- package/es/calendar/style/index.mjs +7 -1
- package/es/card/Card.d.ts +1 -1
- package/es/card/Card.mjs +1 -0
- package/es/card/index.d.ts +1 -0
- package/es/card/index.mjs +2 -0
- package/es/cascader/Cascader.d.ts +1 -1
- package/es/cascader/Cascader.mjs +1 -0
- package/es/cascader/index.d.ts +1 -0
- package/es/cascader/index.mjs +2 -0
- package/es/cell/Cell.d.ts +2 -2
- package/es/cell/Cell.mjs +1 -0
- package/es/cell/index.d.ts +2 -1
- package/es/cell/index.mjs +2 -0
- package/es/cell-group/CellGroup.d.ts +2 -2
- package/es/cell-group/CellGroup.mjs +1 -0
- package/es/cell-group/index.d.ts +2 -1
- package/es/cell-group/index.mjs +2 -0
- package/es/checkbox/Checkbox.d.ts +1 -1
- package/es/checkbox/Checkbox.mjs +1 -0
- package/es/checkbox/index.d.ts +1 -0
- package/es/checkbox/index.mjs +2 -0
- package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/es/checkbox-group/CheckboxGroup.mjs +1 -0
- package/es/checkbox-group/index.d.ts +1 -0
- package/es/checkbox-group/index.mjs +2 -0
- package/es/circle/Circle.d.ts +1 -1
- package/es/circle/Circle.mjs +1 -0
- package/es/circle/index.d.ts +1 -0
- package/es/circle/index.mjs +2 -0
- package/es/col/Col.d.ts +2 -2
- package/es/col/Col.mjs +1 -0
- package/es/col/index.d.ts +2 -1
- package/es/col/index.mjs +2 -0
- package/es/collapse/Collapse.d.ts +9 -2
- package/es/collapse/Collapse.mjs +29 -1
- package/es/collapse/index.d.ts +2 -1
- package/es/collapse/index.mjs +2 -0
- package/es/collapse-item/CollapseItem.d.ts +2 -2
- package/es/collapse-item/CollapseItem.mjs +4 -1
- package/es/collapse-item/index.d.ts +2 -1
- package/es/collapse-item/index.mjs +2 -0
- package/es/composables/use-global-z-index.d.ts +4 -0
- package/es/composables/use-global-z-index.mjs +9 -0
- package/es/composables/use-height.d.ts +1 -1
- package/es/composables/use-height.mjs +8 -2
- package/es/composables/use-lazy-render.mjs +9 -5
- package/es/composables/use-lock-scroll.mjs +7 -2
- package/es/composables/use-placeholder.mjs +1 -1
- package/es/composables/use-visibility-change.mjs +6 -3
- package/es/config-provider/ConfigProvider.d.ts +15 -5
- package/es/config-provider/ConfigProvider.mjs +26 -9
- package/es/config-provider/index.d.ts +10 -3
- package/es/config-provider/index.mjs +2 -0
- package/es/contact-card/ContactCard.d.ts +1 -1
- package/es/contact-card/ContactCard.mjs +1 -0
- package/es/contact-card/index.d.ts +1 -0
- package/es/contact-card/index.mjs +2 -0
- package/es/contact-edit/ContactEdit.d.ts +1 -1
- package/es/contact-edit/ContactEdit.mjs +1 -0
- package/es/contact-edit/index.d.ts +1 -0
- package/es/contact-edit/index.mjs +2 -0
- package/es/contact-list/ContactList.d.ts +1 -1
- package/es/contact-list/ContactList.mjs +1 -0
- package/es/contact-list/index.d.ts +1 -0
- package/es/contact-list/index.mjs +2 -0
- package/es/count-down/CountDown.d.ts +1 -1
- package/es/count-down/CountDown.mjs +1 -0
- package/es/count-down/index.d.ts +1 -0
- package/es/count-down/index.mjs +2 -0
- package/es/coupon/Coupon.d.ts +1 -1
- package/es/coupon/index.d.ts +1 -1
- package/es/coupon/utils.mjs +3 -1
- package/es/coupon-cell/CouponCell.d.ts +2 -2
- package/es/coupon-cell/CouponCell.mjs +1 -0
- package/es/coupon-cell/index.d.ts +2 -1
- package/es/coupon-cell/index.mjs +2 -0
- package/es/coupon-list/CouponList.d.ts +1 -1
- package/es/coupon-list/CouponList.mjs +1 -0
- package/es/coupon-list/index.d.ts +1 -0
- package/es/coupon-list/index.mjs +2 -0
- package/es/coupon-list/style/index.mjs +3 -3
- package/es/date-picker/DatePicker.d.ts +7 -4
- package/es/date-picker/DatePicker.mjs +11 -10
- package/es/date-picker/index.d.ts +5 -2
- package/es/date-picker/index.mjs +2 -0
- package/es/date-picker/style/index.mjs +7 -0
- package/es/date-picker/utils.d.ts +2 -1
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/dialog/Dialog.mjs +2 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +1 -0
- package/es/dialog/index.mjs +2 -0
- package/es/dialog/types.d.ts +1 -1
- package/es/divider/Divider.d.ts +2 -2
- package/es/divider/Divider.mjs +2 -1
- package/es/divider/index.d.ts +2 -1
- package/es/divider/index.mjs +3 -1
- package/es/dropdown-item/DropdownItem.d.ts +3 -3
- package/es/dropdown-item/DropdownItem.mjs +2 -1
- package/es/dropdown-item/index.d.ts +3 -2
- package/es/dropdown-item/index.mjs +3 -1
- package/es/dropdown-menu/DropdownMenu.d.ts +2 -2
- package/es/dropdown-menu/DropdownMenu.mjs +4 -2
- package/es/dropdown-menu/index.d.ts +2 -1
- package/es/dropdown-menu/index.mjs +3 -1
- package/es/empty/Empty.d.ts +3 -3
- package/es/empty/Empty.mjs +283 -17
- package/es/empty/index.d.ts +2 -1
- package/es/empty/index.mjs +3 -1
- package/es/field/Field.d.ts +1 -1
- package/es/field/Field.mjs +15 -4
- package/es/field/index.d.ts +1 -0
- package/es/field/index.mjs +3 -1
- package/es/field/types.d.ts +1 -0
- package/es/field/utils.d.ts +1 -0
- package/es/field/utils.mjs +8 -2
- package/es/form/Form.d.ts +1 -1
- package/es/form/Form.mjs +2 -1
- package/es/form/index.d.ts +1 -0
- package/es/form/index.mjs +3 -1
- package/es/grid/Grid.d.ts +2 -2
- package/es/grid/Grid.mjs +2 -1
- package/es/grid/index.d.ts +2 -1
- package/es/grid/index.mjs +3 -1
- package/es/grid-item/GridItem.d.ts +2 -2
- package/es/grid-item/GridItem.mjs +2 -1
- package/es/grid-item/index.d.ts +2 -1
- package/es/grid-item/index.mjs +3 -1
- package/es/icon/Icon.d.ts +2 -2
- package/es/icon/Icon.mjs +2 -1
- package/es/icon/index.d.ts +2 -1
- package/es/icon/index.mjs +3 -1
- package/es/image/Image.d.ts +5 -1
- package/es/image/Image.mjs +5 -2
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +4 -0
- package/es/image/index.mjs +3 -1
- package/es/image-preview/ImagePreview.d.ts +1 -1
- package/es/image-preview/ImagePreview.mjs +2 -1
- package/es/image-preview/ImagePreviewItem.mjs +11 -3
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.d.ts +1 -0
- package/es/image-preview/index.mjs +2 -0
- package/es/index-anchor/IndexAnchor.d.ts +2 -2
- package/es/index-anchor/IndexAnchor.mjs +2 -1
- package/es/index-anchor/index.d.ts +2 -1
- package/es/index-anchor/index.mjs +3 -1
- package/es/index-bar/IndexBar.d.ts +1 -1
- package/es/index-bar/IndexBar.mjs +11 -5
- package/es/index-bar/index.d.ts +1 -0
- package/es/index-bar/index.mjs +3 -1
- package/es/index.d.ts +3 -1
- package/es/index.mjs +7 -1
- package/es/lazyload/vue-lazyload/lazy-component.mjs +4 -1
- package/es/lazyload/vue-lazyload/lazy-container.mjs +11 -7
- package/es/lazyload/vue-lazyload/lazy-image.mjs +24 -14
- package/es/lazyload/vue-lazyload/lazy.mjs +11 -3
- package/es/lazyload/vue-lazyload/listener.mjs +45 -33
- package/es/lazyload/vue-lazyload/util.mjs +4 -1
- package/es/list/List.d.ts +1 -1
- package/es/list/List.mjs +4 -2
- package/es/list/index.d.ts +1 -0
- package/es/list/index.mjs +3 -1
- package/es/loading/Loading.d.ts +2 -2
- package/es/loading/Loading.mjs +2 -1
- package/es/loading/index.d.ts +2 -1
- package/es/loading/index.mjs +3 -1
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/NavBar.mjs +2 -1
- package/es/nav-bar/index.d.ts +1 -0
- package/es/nav-bar/index.mjs +3 -1
- package/es/notice-bar/NoticeBar.d.ts +1 -1
- package/es/notice-bar/NoticeBar.mjs +2 -1
- package/es/notice-bar/index.d.ts +1 -0
- package/es/notice-bar/index.mjs +3 -1
- package/es/notify/Notify.d.ts +1 -1
- package/es/notify/Notify.mjs +2 -1
- package/es/notify/index.d.ts +1 -0
- package/es/notify/index.mjs +2 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/es/number-keyboard/NumberKeyboard.mjs +3 -3
- package/es/number-keyboard/NumberKeyboardKey.mjs +2 -2
- package/es/number-keyboard/index.d.ts +2 -1
- package/es/number-keyboard/index.mjs +3 -1
- package/es/overlay/Overlay.d.ts +2 -2
- package/es/overlay/Overlay.mjs +15 -7
- package/es/overlay/index.d.ts +2 -1
- package/es/overlay/index.mjs +3 -1
- package/es/pagination/Pagination.d.ts +1 -1
- package/es/pagination/Pagination.mjs +2 -1
- package/es/pagination/index.d.ts +1 -0
- package/es/pagination/index.mjs +3 -1
- package/es/password-input/PasswordInput.d.ts +1 -1
- package/es/password-input/PasswordInput.mjs +3 -2
- package/es/password-input/index.d.ts +1 -0
- package/es/password-input/index.mjs +3 -1
- package/es/picker/Picker.d.ts +11 -6
- package/es/picker/Picker.mjs +51 -65
- package/es/picker/PickerColumn.d.ts +2 -1
- package/es/picker/PickerColumn.mjs +11 -6
- package/es/picker/PickerToolbar.d.ts +21 -0
- package/es/picker/PickerToolbar.mjs +59 -0
- package/es/picker/index.d.ts +7 -3
- package/es/picker/index.mjs +3 -1
- package/es/picker/style/index.mjs +7 -0
- package/es/picker/utils.d.ts +2 -0
- package/es/picker/utils.mjs +14 -7
- package/es/picker-group/PickerGroup.d.ts +39 -0
- package/es/picker-group/PickerGroup.mjs +57 -0
- package/es/picker-group/index.css +1 -0
- package/es/picker-group/index.d.ts +33 -0
- package/es/picker-group/index.mjs +10 -0
- package/es/picker-group/style/index.d.ts +1 -0
- package/es/picker-group/style/index.mjs +9 -0
- package/es/popover/Popover.d.ts +1 -1
- package/es/popover/Popover.mjs +30 -28
- package/es/popover/index.d.ts +1 -0
- package/es/popover/index.mjs +3 -1
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/Popup.mjs +8 -6
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +3 -2
- package/es/popup/index.mjs +3 -1
- package/es/popup/shared.mjs +3 -1
- package/es/progress/Progress.d.ts +2 -2
- package/es/progress/Progress.mjs +2 -1
- package/es/progress/index.d.ts +2 -1
- package/es/progress/index.mjs +3 -1
- package/es/pull-refresh/PullRefresh.d.ts +1 -1
- package/es/pull-refresh/PullRefresh.mjs +9 -4
- package/es/pull-refresh/index.d.ts +1 -0
- package/es/pull-refresh/index.mjs +3 -1
- package/es/radio/Radio.d.ts +15 -2
- package/es/radio/Radio.mjs +3 -1
- package/es/radio/index.d.ts +1 -0
- package/es/radio/index.mjs +3 -1
- package/es/radio-group/RadioGroup.d.ts +1 -1
- package/es/radio-group/RadioGroup.mjs +2 -1
- package/es/radio-group/index.d.ts +1 -0
- package/es/radio-group/index.mjs +3 -1
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/Rate.mjs +7 -4
- package/es/rate/index.d.ts +1 -0
- package/es/rate/index.mjs +3 -1
- package/es/row/Row.d.ts +2 -2
- package/es/row/Row.mjs +2 -1
- package/es/row/index.d.ts +2 -1
- package/es/row/index.mjs +3 -1
- package/es/search/Search.d.ts +1 -1
- package/es/search/Search.mjs +2 -1
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +1 -0
- package/es/search/index.mjs +3 -1
- package/es/share-sheet/ShareSheet.d.ts +1 -1
- package/es/share-sheet/ShareSheet.mjs +2 -1
- package/es/share-sheet/index.d.ts +1 -0
- package/es/share-sheet/index.mjs +3 -1
- package/es/sidebar/Sidebar.d.ts +1 -1
- package/es/sidebar/Sidebar.mjs +2 -1
- package/es/sidebar/index.d.ts +1 -0
- package/es/sidebar/index.mjs +3 -1
- package/es/sidebar-item/SidebarItem.d.ts +1 -1
- package/es/sidebar-item/SidebarItem.mjs +2 -1
- package/es/sidebar-item/index.d.ts +1 -0
- package/es/sidebar-item/index.mjs +3 -1
- package/es/skeleton/Skeleton.d.ts +2 -2
- package/es/skeleton/Skeleton.mjs +2 -1
- package/es/skeleton/index.d.ts +2 -1
- package/es/skeleton/index.mjs +3 -1
- package/es/slider/Slider.d.ts +1 -1
- package/es/slider/Slider.mjs +9 -4
- package/es/slider/index.d.ts +1 -0
- package/es/slider/index.mjs +3 -1
- package/es/space/Space.d.ts +48 -0
- package/es/space/Space.mjs +88 -0
- package/es/space/index.css +1 -0
- package/es/space/index.d.ts +38 -0
- package/es/space/index.mjs +10 -0
- package/es/space/style/index.d.ts +1 -0
- package/es/space/style/index.mjs +2 -0
- package/es/step/Step.d.ts +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +1 -1
- package/es/stepper/Stepper.mjs +3 -2
- package/es/stepper/index.d.ts +1 -0
- package/es/stepper/index.mjs +3 -1
- package/es/steps/Steps.d.ts +1 -1
- package/es/steps/Steps.mjs +2 -1
- package/es/steps/index.d.ts +1 -0
- package/es/steps/index.mjs +3 -1
- package/es/sticky/Sticky.d.ts +1 -1
- package/es/sticky/Sticky.mjs +4 -2
- package/es/sticky/index.d.ts +1 -0
- package/es/sticky/index.mjs +3 -1
- package/es/submit-bar/SubmitBar.d.ts +1 -1
- package/es/submit-bar/SubmitBar.mjs +2 -1
- package/es/submit-bar/index.d.ts +1 -0
- package/es/submit-bar/index.mjs +3 -1
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/Swipe.mjs +16 -8
- package/es/swipe/index.d.ts +1 -0
- package/es/swipe/index.mjs +3 -1
- package/es/swipe-cell/SwipeCell.d.ts +3 -3
- package/es/swipe-cell/SwipeCell.mjs +7 -4
- package/es/swipe-cell/index.d.ts +3 -2
- package/es/swipe-cell/index.mjs +3 -1
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +1 -1
- package/es/switch/Switch.mjs +2 -1
- package/es/switch/index.d.ts +1 -0
- package/es/switch/index.mjs +3 -1
- package/es/tab/Tab.d.ts +2 -2
- package/es/tab/Tab.mjs +2 -1
- package/es/tab/index.d.ts +2 -1
- package/es/tab/index.mjs +3 -1
- package/es/tabbar/Tabbar.d.ts +1 -1
- package/es/tabbar/Tabbar.mjs +2 -1
- package/es/tabbar/index.d.ts +1 -0
- package/es/tabbar/index.mjs +3 -1
- package/es/tabbar-item/TabbarItem.d.ts +1 -1
- package/es/tabbar-item/TabbarItem.mjs +2 -1
- package/es/tabbar-item/index.d.ts +1 -0
- package/es/tabbar-item/index.mjs +3 -1
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.mjs +14 -3
- package/es/tabs/TabsContent.mjs +4 -0
- package/es/tabs/TabsTitle.d.ts +1 -1
- package/es/tabs/index.d.ts +1 -0
- package/es/tabs/index.mjs +3 -1
- package/es/tag/Tag.d.ts +1 -1
- package/es/tag/Tag.mjs +2 -1
- package/es/tag/index.d.ts +1 -0
- package/es/tag/index.mjs +3 -1
- package/es/time-picker/TimePicker.d.ts +7 -4
- package/es/time-picker/TimePicker.mjs +2 -1
- package/es/time-picker/index.d.ts +5 -2
- package/es/time-picker/index.mjs +3 -1
- package/es/time-picker/style/index.mjs +7 -0
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/Toast.mjs +9 -2
- package/es/toast/index.d.ts +1 -0
- package/es/toast/index.mjs +3 -1
- package/es/tree-select/TreeSelect.d.ts +1 -1
- package/es/tree-select/TreeSelect.mjs +2 -1
- package/es/tree-select/index.d.ts +1 -0
- package/es/tree-select/index.mjs +3 -1
- package/es/uploader/Uploader.d.ts +1 -1
- package/es/uploader/Uploader.mjs +2 -1
- package/es/uploader/index.d.ts +1 -0
- package/es/uploader/index.mjs +3 -1
- package/es/utils/basic.mjs +2 -1
- package/es/utils/create.mjs +8 -2
- package/es/utils/with-install.d.ts +2 -2
- package/es/utils/with-install.mjs +4 -2
- package/es/vue-tsx-shim.d.ts +7 -0
- package/lib/action-bar/ActionBar.d.ts +2 -2
- package/lib/action-bar/ActionBar.js +1 -0
- package/lib/action-bar/index.d.ts +2 -1
- package/lib/action-bar/index.js +6 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +2 -2
- package/lib/action-bar-button/ActionBarButton.js +1 -0
- package/lib/action-bar-button/index.d.ts +2 -1
- package/lib/action-bar-button/index.js +6 -1
- package/lib/action-bar-icon/ActionBarIcon.d.ts +2 -2
- package/lib/action-bar-icon/ActionBarIcon.js +1 -0
- package/lib/action-bar-icon/index.d.ts +2 -1
- package/lib/action-bar-icon/index.js +6 -1
- package/lib/action-sheet/ActionSheet.d.ts +1 -1
- package/lib/action-sheet/ActionSheet.js +1 -0
- package/lib/action-sheet/index.d.ts +1 -0
- package/lib/action-sheet/index.js +6 -1
- package/lib/address-edit/AddressEdit.d.ts +1 -1
- package/lib/address-edit/AddressEdit.js +5 -1
- package/lib/address-edit/index.d.ts +1 -0
- package/lib/address-edit/index.js +6 -1
- package/lib/address-edit/style/index.js +7 -1
- package/lib/address-list/AddressList.d.ts +1 -1
- package/lib/address-list/AddressList.js +5 -1
- package/lib/address-list/index.d.ts +1 -0
- package/lib/address-list/index.js +6 -1
- package/lib/area/Area.d.ts +7 -4
- package/lib/area/Area.js +1 -0
- package/lib/area/index.d.ts +5 -2
- package/lib/area/index.js +6 -1
- package/lib/area/style/index.js +7 -0
- package/lib/area/utils.js +9 -2
- package/lib/badge/Badge.d.ts +2 -2
- package/lib/badge/Badge.js +2 -1
- package/lib/badge/index.d.ts +2 -1
- package/lib/badge/index.js +6 -1
- package/lib/button/Button.d.ts +1 -1
- package/lib/button/Button.js +1 -0
- package/lib/button/index.d.ts +1 -0
- package/lib/button/index.js +6 -1
- package/lib/calendar/Calendar.d.ts +1 -1
- package/lib/calendar/Calendar.js +12 -8
- package/lib/calendar/CalendarMonth.js +4 -1
- package/lib/calendar/index.d.ts +1 -0
- package/lib/calendar/index.js +6 -1
- package/lib/calendar/style/index.js +7 -1
- package/lib/card/Card.d.ts +1 -1
- package/lib/card/Card.js +1 -0
- package/lib/card/index.d.ts +1 -0
- package/lib/card/index.js +6 -1
- package/lib/cascader/Cascader.d.ts +1 -1
- package/lib/cascader/Cascader.js +1 -0
- package/lib/cascader/index.d.ts +1 -0
- package/lib/cascader/index.js +6 -1
- package/lib/cell/Cell.d.ts +2 -2
- package/lib/cell/Cell.js +1 -0
- package/lib/cell/index.d.ts +2 -1
- package/lib/cell/index.js +6 -1
- package/lib/cell-group/CellGroup.d.ts +2 -2
- package/lib/cell-group/CellGroup.js +1 -0
- package/lib/cell-group/index.d.ts +2 -1
- package/lib/cell-group/index.js +6 -1
- package/lib/checkbox/Checkbox.d.ts +1 -1
- package/lib/checkbox/Checkbox.js +5 -1
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/checkbox/index.js +6 -1
- package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox-group/CheckboxGroup.js +1 -0
- package/lib/checkbox-group/index.d.ts +1 -0
- package/lib/checkbox-group/index.js +6 -1
- package/lib/circle/Circle.d.ts +1 -1
- package/lib/circle/Circle.js +1 -0
- package/lib/circle/index.d.ts +1 -0
- package/lib/circle/index.js +6 -1
- package/lib/col/Col.d.ts +2 -2
- package/lib/col/Col.js +1 -0
- package/lib/col/index.d.ts +2 -1
- package/lib/col/index.js +6 -1
- package/lib/collapse/Collapse.d.ts +9 -2
- package/lib/collapse/Collapse.js +29 -1
- package/lib/collapse/index.d.ts +2 -1
- package/lib/collapse/index.js +6 -1
- package/lib/collapse-item/CollapseItem.d.ts +2 -2
- package/lib/collapse-item/CollapseItem.js +4 -1
- package/lib/collapse-item/index.d.ts +2 -1
- package/lib/collapse-item/index.js +6 -1
- package/lib/composables/use-global-z-index.d.ts +4 -0
- package/lib/composables/use-global-z-index.js +28 -0
- package/lib/composables/use-height.d.ts +1 -1
- package/lib/composables/use-height.js +8 -2
- package/lib/composables/use-lazy-render.js +9 -5
- package/lib/composables/use-lock-scroll.js +7 -2
- package/lib/composables/use-placeholder.js +1 -1
- package/lib/composables/use-visibility-change.js +6 -3
- package/lib/config-provider/ConfigProvider.d.ts +15 -5
- package/lib/config-provider/ConfigProvider.js +24 -7
- package/lib/config-provider/index.d.ts +10 -3
- package/lib/config-provider/index.js +6 -1
- package/lib/contact-card/ContactCard.d.ts +1 -1
- package/lib/contact-card/ContactCard.js +1 -0
- package/lib/contact-card/index.d.ts +1 -0
- package/lib/contact-card/index.js +6 -1
- package/lib/contact-edit/ContactEdit.d.ts +1 -1
- package/lib/contact-edit/ContactEdit.js +1 -0
- package/lib/contact-edit/index.d.ts +1 -0
- package/lib/contact-edit/index.js +6 -1
- package/lib/contact-list/ContactList.d.ts +1 -1
- package/lib/contact-list/ContactList.js +1 -0
- package/lib/contact-list/index.d.ts +1 -0
- package/lib/contact-list/index.js +6 -1
- package/lib/count-down/CountDown.d.ts +1 -1
- package/lib/count-down/CountDown.js +1 -0
- package/lib/count-down/index.d.ts +1 -0
- package/lib/count-down/index.js +6 -1
- package/lib/coupon/Coupon.d.ts +1 -1
- package/lib/coupon/index.d.ts +1 -1
- package/lib/coupon/index.js +4 -1
- package/lib/coupon/utils.js +3 -1
- package/lib/coupon-cell/CouponCell.d.ts +2 -2
- package/lib/coupon-cell/CouponCell.js +1 -0
- package/lib/coupon-cell/index.d.ts +2 -1
- package/lib/coupon-cell/index.js +6 -1
- package/lib/coupon-list/CouponList.d.ts +1 -1
- package/lib/coupon-list/CouponList.js +1 -0
- package/lib/coupon-list/index.d.ts +1 -0
- package/lib/coupon-list/index.js +6 -1
- package/lib/coupon-list/style/index.js +3 -3
- package/lib/date-picker/DatePicker.d.ts +7 -4
- package/lib/date-picker/DatePicker.js +11 -10
- package/lib/date-picker/index.d.ts +5 -2
- package/lib/date-picker/index.js +6 -1
- package/lib/date-picker/style/index.js +7 -0
- package/lib/date-picker/utils.d.ts +2 -1
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/dialog/Dialog.js +2 -1
- package/lib/dialog/function-call.js +4 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +1 -0
- package/lib/dialog/index.js +6 -1
- package/lib/dialog/types.d.ts +1 -1
- package/lib/divider/Divider.d.ts +2 -2
- package/lib/divider/Divider.js +2 -1
- package/lib/divider/index.d.ts +2 -1
- package/lib/divider/index.js +7 -2
- package/lib/dropdown-item/DropdownItem.d.ts +3 -3
- package/lib/dropdown-item/DropdownItem.js +2 -1
- package/lib/dropdown-item/index.d.ts +3 -2
- package/lib/dropdown-item/index.js +7 -2
- package/lib/dropdown-menu/DropdownMenu.d.ts +2 -2
- package/lib/dropdown-menu/DropdownMenu.js +4 -2
- package/lib/dropdown-menu/index.d.ts +2 -1
- package/lib/dropdown-menu/index.js +7 -2
- package/lib/empty/Empty.d.ts +3 -3
- package/lib/empty/Empty.js +283 -17
- package/lib/empty/index.d.ts +2 -1
- package/lib/empty/index.js +7 -2
- package/lib/field/Field.d.ts +1 -1
- package/lib/field/Field.js +13 -2
- package/lib/field/index.d.ts +1 -0
- package/lib/field/index.js +7 -2
- package/lib/field/types.d.ts +1 -0
- package/lib/field/utils.d.ts +1 -0
- package/lib/field/utils.js +8 -2
- package/lib/form/Form.d.ts +1 -1
- package/lib/form/Form.js +2 -1
- package/lib/form/index.d.ts +1 -0
- package/lib/form/index.js +7 -2
- package/lib/grid/Grid.d.ts +2 -2
- package/lib/grid/Grid.js +2 -1
- package/lib/grid/index.d.ts +2 -1
- package/lib/grid/index.js +7 -2
- package/lib/grid-item/GridItem.d.ts +2 -2
- package/lib/grid-item/GridItem.js +2 -1
- package/lib/grid-item/index.d.ts +2 -1
- package/lib/grid-item/index.js +7 -2
- package/lib/icon/Icon.d.ts +2 -2
- package/lib/icon/Icon.js +2 -1
- package/lib/icon/index.d.ts +2 -1
- package/lib/icon/index.js +7 -2
- package/lib/image/Image.d.ts +5 -1
- package/lib/image/Image.js +5 -2
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +4 -0
- package/lib/image/index.js +7 -2
- package/lib/image-preview/ImagePreview.d.ts +1 -1
- package/lib/image-preview/ImagePreview.js +6 -2
- package/lib/image-preview/ImagePreviewItem.js +10 -2
- package/lib/image-preview/function-call.js +4 -1
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.d.ts +1 -0
- package/lib/image-preview/index.js +6 -1
- package/lib/index-anchor/IndexAnchor.d.ts +2 -2
- package/lib/index-anchor/IndexAnchor.js +2 -1
- package/lib/index-anchor/index.d.ts +2 -1
- package/lib/index-anchor/index.js +7 -2
- package/lib/index-bar/IndexBar.d.ts +1 -1
- package/lib/index-bar/IndexBar.js +11 -5
- package/lib/index-bar/index.d.ts +1 -0
- package/lib/index-bar/index.js +7 -2
- package/lib/index.css +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.js +7 -1
- package/lib/lazyload/vue-lazyload/index.js +4 -1
- package/lib/lazyload/vue-lazyload/lazy-component.js +4 -1
- package/lib/lazyload/vue-lazyload/lazy-container.js +11 -7
- package/lib/lazyload/vue-lazyload/lazy-image.js +24 -14
- package/lib/lazyload/vue-lazyload/lazy.js +15 -4
- package/lib/lazyload/vue-lazyload/listener.js +45 -33
- package/lib/lazyload/vue-lazyload/util.js +4 -1
- package/lib/list/List.d.ts +1 -1
- package/lib/list/List.js +4 -2
- package/lib/list/index.d.ts +1 -0
- package/lib/list/index.js +7 -2
- package/lib/loading/Loading.d.ts +2 -2
- package/lib/loading/Loading.js +2 -1
- package/lib/loading/index.d.ts +2 -1
- package/lib/loading/index.js +7 -2
- package/lib/locale/index.js +4 -1
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/NavBar.js +2 -1
- package/lib/nav-bar/index.d.ts +1 -0
- package/lib/nav-bar/index.js +7 -2
- package/lib/notice-bar/NoticeBar.d.ts +1 -1
- package/lib/notice-bar/NoticeBar.js +2 -1
- package/lib/notice-bar/index.d.ts +1 -0
- package/lib/notice-bar/index.js +7 -2
- package/lib/notify/Notify.d.ts +1 -1
- package/lib/notify/Notify.js +2 -1
- package/lib/notify/function-call.js +4 -1
- package/lib/notify/index.d.ts +1 -0
- package/lib/notify/index.js +6 -1
- package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/lib/number-keyboard/NumberKeyboard.js +7 -4
- package/lib/number-keyboard/NumberKeyboardKey.js +2 -2
- package/lib/number-keyboard/index.d.ts +2 -1
- package/lib/number-keyboard/index.js +7 -2
- package/lib/overlay/Overlay.d.ts +2 -2
- package/lib/overlay/Overlay.js +13 -5
- package/lib/overlay/index.d.ts +2 -1
- package/lib/overlay/index.js +7 -2
- package/lib/pagination/Pagination.d.ts +1 -1
- package/lib/pagination/Pagination.js +2 -1
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/index.js +7 -2
- package/lib/password-input/PasswordInput.d.ts +1 -1
- package/lib/password-input/PasswordInput.js +3 -2
- package/lib/password-input/index.d.ts +1 -0
- package/lib/password-input/index.js +7 -2
- package/lib/picker/Picker.d.ts +11 -6
- package/lib/picker/Picker.js +57 -68
- package/lib/picker/PickerColumn.d.ts +2 -1
- package/lib/picker/PickerColumn.js +10 -5
- package/lib/picker/PickerToolbar.d.ts +21 -0
- package/lib/picker/PickerToolbar.js +78 -0
- package/lib/picker/index.d.ts +7 -3
- package/lib/picker/index.js +7 -2
- package/lib/picker/style/index.js +7 -0
- package/lib/picker/utils.d.ts +2 -0
- package/lib/picker/utils.js +15 -8
- package/lib/picker-group/PickerGroup.d.ts +39 -0
- package/lib/picker-group/PickerGroup.js +82 -0
- package/lib/picker-group/index.css +1 -0
- package/lib/picker-group/index.d.ts +33 -0
- package/lib/picker-group/index.js +35 -0
- package/lib/picker-group/style/index.d.ts +1 -0
- package/lib/picker-group/style/index.js +9 -0
- package/lib/popover/Popover.d.ts +1 -1
- package/lib/popover/Popover.js +29 -27
- package/lib/popover/index.d.ts +1 -0
- package/lib/popover/index.js +7 -2
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/Popup.js +8 -6
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +3 -2
- package/lib/popup/index.js +7 -2
- package/lib/popup/shared.js +3 -1
- package/lib/progress/Progress.d.ts +2 -2
- package/lib/progress/Progress.js +2 -1
- package/lib/progress/index.d.ts +2 -1
- package/lib/progress/index.js +7 -2
- package/lib/pull-refresh/PullRefresh.d.ts +1 -1
- package/lib/pull-refresh/PullRefresh.js +8 -3
- package/lib/pull-refresh/index.d.ts +1 -0
- package/lib/pull-refresh/index.js +7 -2
- package/lib/radio/Radio.d.ts +15 -2
- package/lib/radio/Radio.js +7 -2
- package/lib/radio/index.d.ts +1 -0
- package/lib/radio/index.js +7 -2
- package/lib/radio-group/RadioGroup.d.ts +1 -1
- package/lib/radio-group/RadioGroup.js +2 -1
- package/lib/radio-group/index.d.ts +1 -0
- package/lib/radio-group/index.js +7 -2
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/Rate.js +6 -3
- package/lib/rate/index.d.ts +1 -0
- package/lib/rate/index.js +7 -2
- package/lib/row/Row.d.ts +2 -2
- package/lib/row/Row.js +2 -1
- package/lib/row/index.d.ts +2 -1
- package/lib/row/index.js +7 -2
- package/lib/search/Search.d.ts +1 -1
- package/lib/search/Search.js +2 -1
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +1 -0
- package/lib/search/index.js +7 -2
- package/lib/share-sheet/ShareSheet.d.ts +1 -1
- package/lib/share-sheet/ShareSheet.js +2 -1
- package/lib/share-sheet/index.d.ts +1 -0
- package/lib/share-sheet/index.js +7 -2
- package/lib/sidebar/Sidebar.d.ts +1 -1
- package/lib/sidebar/Sidebar.js +2 -1
- package/lib/sidebar/index.d.ts +1 -0
- package/lib/sidebar/index.js +7 -2
- package/lib/sidebar-item/SidebarItem.d.ts +1 -1
- package/lib/sidebar-item/SidebarItem.js +2 -1
- package/lib/sidebar-item/index.d.ts +1 -0
- package/lib/sidebar-item/index.js +7 -2
- package/lib/skeleton/Skeleton.d.ts +2 -2
- package/lib/skeleton/Skeleton.js +2 -1
- package/lib/skeleton/index.d.ts +2 -1
- package/lib/skeleton/index.js +7 -2
- package/lib/slider/Slider.d.ts +1 -1
- package/lib/slider/Slider.js +8 -3
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/index.js +7 -2
- package/lib/space/Space.d.ts +48 -0
- package/lib/space/Space.js +107 -0
- package/lib/space/index.css +1 -0
- package/lib/space/index.d.ts +38 -0
- package/lib/space/index.js +35 -0
- package/lib/space/style/index.d.ts +1 -0
- package/lib/space/style/index.js +2 -0
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/step/index.js +4 -1
- package/lib/stepper/Stepper.d.ts +1 -1
- package/lib/stepper/Stepper.js +3 -2
- package/lib/stepper/index.d.ts +1 -0
- package/lib/stepper/index.js +7 -2
- package/lib/steps/Steps.d.ts +1 -1
- package/lib/steps/Steps.js +2 -1
- package/lib/steps/index.d.ts +1 -0
- package/lib/steps/index.js +7 -2
- package/lib/sticky/Sticky.d.ts +1 -1
- package/lib/sticky/Sticky.js +4 -2
- package/lib/sticky/index.d.ts +1 -0
- package/lib/sticky/index.js +7 -2
- package/lib/submit-bar/SubmitBar.d.ts +1 -1
- package/lib/submit-bar/SubmitBar.js +2 -1
- package/lib/submit-bar/index.d.ts +1 -0
- package/lib/submit-bar/index.js +7 -2
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/Swipe.js +15 -7
- package/lib/swipe/index.d.ts +1 -0
- package/lib/swipe/index.js +7 -2
- package/lib/swipe-cell/SwipeCell.d.ts +3 -3
- package/lib/swipe-cell/SwipeCell.js +6 -3
- package/lib/swipe-cell/index.d.ts +3 -2
- package/lib/swipe-cell/index.js +7 -2
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/swipe-item/index.js +4 -1
- package/lib/switch/Switch.d.ts +1 -1
- package/lib/switch/Switch.js +2 -1
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/index.js +7 -2
- package/lib/tab/Tab.d.ts +2 -2
- package/lib/tab/Tab.js +2 -1
- package/lib/tab/index.d.ts +2 -1
- package/lib/tab/index.js +7 -2
- package/lib/tabbar/Tabbar.d.ts +1 -1
- package/lib/tabbar/Tabbar.js +2 -1
- package/lib/tabbar/index.d.ts +1 -0
- package/lib/tabbar/index.js +7 -2
- package/lib/tabbar-item/TabbarItem.d.ts +1 -1
- package/lib/tabbar-item/TabbarItem.js +2 -1
- package/lib/tabbar-item/index.d.ts +1 -0
- package/lib/tabbar-item/index.js +7 -2
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +18 -4
- package/lib/tabs/TabsContent.js +4 -0
- package/lib/tabs/TabsTitle.d.ts +1 -1
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/index.js +7 -2
- package/lib/tag/Tag.d.ts +1 -1
- package/lib/tag/Tag.js +2 -1
- package/lib/tag/index.d.ts +1 -0
- package/lib/tag/index.js +7 -2
- package/lib/time-picker/TimePicker.d.ts +7 -4
- package/lib/time-picker/TimePicker.js +2 -1
- package/lib/time-picker/index.d.ts +5 -2
- package/lib/time-picker/index.js +7 -2
- package/lib/time-picker/style/index.js +7 -0
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/Toast.js +9 -2
- package/lib/toast/function-call.js +4 -1
- package/lib/toast/index.d.ts +1 -0
- package/lib/toast/index.js +7 -2
- package/lib/tree-select/TreeSelect.d.ts +1 -1
- package/lib/tree-select/TreeSelect.js +2 -1
- package/lib/tree-select/index.d.ts +1 -0
- package/lib/tree-select/index.js +7 -2
- package/lib/uploader/Uploader.d.ts +1 -1
- package/lib/uploader/Uploader.js +6 -2
- package/lib/uploader/index.d.ts +1 -0
- package/lib/uploader/index.js +7 -2
- package/lib/utils/basic.js +2 -1
- package/lib/utils/create.js +12 -3
- package/lib/utils/with-install.d.ts +2 -2
- package/lib/utils/with-install.js +4 -2
- package/lib/vant.cjs.js +5416 -4902
- package/lib/vant.es.js +5547 -4924
- package/lib/vant.js +5431 -4948
- package/lib/vant.min.js +1 -1
- package/lib/vue-tsx-shim.d.ts +7 -0
- package/{vetur → lib}/web-types.json +1237 -1061
- package/package.json +14 -19
- package/es/empty/Images.d.ts +0 -4
- package/es/empty/Images.mjs +0 -271
- package/lib/empty/Images.d.ts +0 -4
- package/lib/empty/Images.js +0 -290
- package/vetur/attributes.json +0 -3530
- package/vetur/tags.json +0 -1212
@@ -2,7 +2,7 @@
|
|
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": "4.0.0-
|
5
|
+
"version": "4.0.0-rc.1",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -262,38 +262,33 @@
|
|
262
262
|
]
|
263
263
|
},
|
264
264
|
{
|
265
|
-
"name": "van-
|
265
|
+
"name": "van-action-sheet",
|
266
266
|
"slots": [
|
267
267
|
{
|
268
268
|
"name": "default",
|
269
|
-
"description": "Custom content
|
269
|
+
"description": "Custom content"
|
270
270
|
},
|
271
271
|
{
|
272
|
-
"name": "
|
273
|
-
"description": "Custom
|
272
|
+
"name": "description",
|
273
|
+
"description": "Custom description above the options"
|
274
274
|
},
|
275
275
|
{
|
276
|
-
"name": "
|
277
|
-
"description": "Custom content
|
276
|
+
"name": "cancel",
|
277
|
+
"description": "Custom the content of cancel button"
|
278
278
|
},
|
279
279
|
{
|
280
|
-
"name": "
|
281
|
-
"description": "Custom
|
280
|
+
"name": "action",
|
281
|
+
"description": "Custom the content of action"
|
282
282
|
}
|
283
283
|
],
|
284
284
|
"events": [
|
285
285
|
{
|
286
|
-
"name": "
|
287
|
-
"description": "Emitted when
|
288
|
-
"arguments": []
|
289
|
-
},
|
290
|
-
{
|
291
|
-
"name": "edit",
|
292
|
-
"description": "Emitted when the edit icon of address is clicked",
|
286
|
+
"name": "select",
|
287
|
+
"description": "Emitted when an option is clicked",
|
293
288
|
"arguments": [
|
294
289
|
{
|
295
|
-
"name": "
|
296
|
-
"type": "
|
290
|
+
"name": "action",
|
291
|
+
"type": "ActionSheetAction"
|
297
292
|
},
|
298
293
|
{
|
299
294
|
"name": "index",
|
@@ -302,97 +297,76 @@
|
|
302
297
|
]
|
303
298
|
},
|
304
299
|
{
|
305
|
-
"name": "
|
306
|
-
"description": "Emitted when
|
307
|
-
"arguments": [
|
308
|
-
{
|
309
|
-
"name": "item",
|
310
|
-
"type": "Address"
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"name": "index",
|
314
|
-
"type": "number"
|
315
|
-
}
|
316
|
-
]
|
300
|
+
"name": "cancel",
|
301
|
+
"description": "Emitted when the cancel button is clicked",
|
302
|
+
"arguments": []
|
317
303
|
},
|
318
304
|
{
|
319
|
-
"name": "
|
320
|
-
"description": "Emitted when
|
321
|
-
"arguments": [
|
322
|
-
{
|
323
|
-
"name": "item",
|
324
|
-
"type": "Address"
|
325
|
-
},
|
326
|
-
{
|
327
|
-
"name": "index",
|
328
|
-
"type": "number"
|
329
|
-
}
|
330
|
-
]
|
305
|
+
"name": "open",
|
306
|
+
"description": "Emitted when opening ActionSheet",
|
307
|
+
"arguments": []
|
331
308
|
},
|
332
309
|
{
|
333
|
-
"name": "
|
334
|
-
"description": "Emitted when
|
335
|
-
"arguments": [
|
336
|
-
{
|
337
|
-
"name": "item",
|
338
|
-
"type": "Address"
|
339
|
-
},
|
340
|
-
{
|
341
|
-
"name": "index",
|
342
|
-
"type": "number"
|
343
|
-
}
|
344
|
-
]
|
310
|
+
"name": "close",
|
311
|
+
"description": "Emitted when closing ActionSheet",
|
312
|
+
"arguments": []
|
345
313
|
},
|
346
314
|
{
|
347
|
-
"name": "
|
348
|
-
"description": "Emitted when
|
315
|
+
"name": "opened",
|
316
|
+
"description": "Emitted when ActionSheet is opened",
|
317
|
+
"arguments": []
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"name": "closed",
|
321
|
+
"description": "Emitted when ActionSheet is closed",
|
322
|
+
"arguments": []
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"name": "click-overlay",
|
326
|
+
"description": "Emitted when overlay is clicked",
|
349
327
|
"arguments": [
|
350
328
|
{
|
351
|
-
"name": "
|
352
|
-
"type": "
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"name": "index",
|
356
|
-
"type": "number"
|
329
|
+
"name": "event",
|
330
|
+
"type": "MouseEvent"
|
357
331
|
}
|
358
332
|
]
|
359
333
|
}
|
360
334
|
],
|
361
335
|
"attributes": [
|
362
336
|
{
|
363
|
-
"name": "v-model",
|
364
|
-
"default": "
|
365
|
-
"description": "
|
337
|
+
"name": "v-model:show",
|
338
|
+
"default": "`false`",
|
339
|
+
"description": "Whether to show ActionSheet",
|
366
340
|
"options": [],
|
367
341
|
"value": {
|
368
|
-
"type": "
|
342
|
+
"type": "boolean",
|
369
343
|
"kind": "expression"
|
370
344
|
}
|
371
345
|
},
|
372
346
|
{
|
373
|
-
"name": "
|
347
|
+
"name": "actions",
|
374
348
|
"default": "`[]`",
|
375
|
-
"description": "
|
349
|
+
"description": "Options",
|
376
350
|
"options": [],
|
377
351
|
"value": {
|
378
|
-
"type": "
|
352
|
+
"type": "ActionSheetAction[]",
|
379
353
|
"kind": "expression"
|
380
354
|
}
|
381
355
|
},
|
382
356
|
{
|
383
|
-
"name": "
|
384
|
-
"default": "
|
385
|
-
"description": "
|
357
|
+
"name": "title",
|
358
|
+
"default": "-",
|
359
|
+
"description": "Title",
|
386
360
|
"options": [],
|
387
361
|
"value": {
|
388
|
-
"type": "
|
362
|
+
"type": "string",
|
389
363
|
"kind": "expression"
|
390
364
|
}
|
391
365
|
},
|
392
366
|
{
|
393
|
-
"name": "
|
367
|
+
"name": "cancel-text",
|
394
368
|
"default": "-",
|
395
|
-
"description": "
|
369
|
+
"description": "Text of cancel button",
|
396
370
|
"options": [],
|
397
371
|
"value": {
|
398
372
|
"type": "string",
|
@@ -400,139 +374,79 @@
|
|
400
374
|
}
|
401
375
|
},
|
402
376
|
{
|
403
|
-
"name": "
|
404
|
-
"default": "
|
405
|
-
"description": "
|
377
|
+
"name": "description",
|
378
|
+
"default": "-",
|
379
|
+
"description": "Description above the options",
|
406
380
|
"options": [],
|
407
381
|
"value": {
|
408
|
-
"type": "
|
382
|
+
"type": "string",
|
409
383
|
"kind": "expression"
|
410
384
|
}
|
411
385
|
},
|
412
386
|
{
|
413
|
-
"name": "
|
414
|
-
"default": "`
|
415
|
-
"description": "
|
387
|
+
"name": "closeable",
|
388
|
+
"default": "`true`",
|
389
|
+
"description": "Whether to show close icon",
|
416
390
|
"options": [],
|
417
391
|
"value": {
|
418
|
-
"type": "
|
392
|
+
"type": "boolean",
|
419
393
|
"kind": "expression"
|
420
394
|
}
|
421
395
|
},
|
422
396
|
{
|
423
|
-
"name": "
|
424
|
-
"default": "
|
425
|
-
"description": "
|
397
|
+
"name": "close-icon",
|
398
|
+
"default": "`cross`",
|
399
|
+
"description": "Close icon name",
|
426
400
|
"options": [],
|
427
401
|
"value": {
|
428
402
|
"type": "string",
|
429
403
|
"kind": "expression"
|
430
404
|
}
|
431
|
-
}
|
432
|
-
]
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"name": "van-area",
|
436
|
-
"slots": [
|
437
|
-
{
|
438
|
-
"name": "toolbar",
|
439
|
-
"description": "Custom toolbar content"
|
440
|
-
},
|
441
|
-
{
|
442
|
-
"name": "title",
|
443
|
-
"description": "Custom title"
|
444
|
-
},
|
445
|
-
{
|
446
|
-
"name": "confirm",
|
447
|
-
"description": "Custom confirm button text"
|
448
|
-
},
|
449
|
-
{
|
450
|
-
"name": "cancel",
|
451
|
-
"description": "Custom cancel button text"
|
452
|
-
},
|
453
|
-
{
|
454
|
-
"name": "columns-top",
|
455
|
-
"description": "Custom content above columns"
|
456
|
-
},
|
457
|
-
{
|
458
|
-
"name": "columns-bottom",
|
459
|
-
"description": "Custom content below columns"
|
460
|
-
}
|
461
|
-
],
|
462
|
-
"events": [
|
463
|
-
{
|
464
|
-
"name": "confirm",
|
465
|
-
"description": "Emitted when the confirm button is clicked",
|
466
|
-
"arguments": [
|
467
|
-
{
|
468
|
-
"name": "{ selectedValues, selectedOptions }"
|
469
|
-
}
|
470
|
-
]
|
471
|
-
},
|
472
|
-
{
|
473
|
-
"name": "cancel",
|
474
|
-
"description": "Emitted when the cancel button is clicked",
|
475
|
-
"arguments": [
|
476
|
-
{
|
477
|
-
"name": "{ selectedValues, selectedOptions }"
|
478
|
-
}
|
479
|
-
]
|
480
405
|
},
|
481
406
|
{
|
482
|
-
"name": "
|
483
|
-
"
|
484
|
-
"
|
485
|
-
{
|
486
|
-
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
487
|
-
}
|
488
|
-
]
|
489
|
-
}
|
490
|
-
],
|
491
|
-
"attributes": [
|
492
|
-
{
|
493
|
-
"name": "v-model",
|
494
|
-
"default": "-",
|
495
|
-
"description": "the `code` of selected area",
|
407
|
+
"name": "duration",
|
408
|
+
"default": "`0.3`",
|
409
|
+
"description": "Transition duration, unit second",
|
496
410
|
"options": [],
|
497
411
|
"value": {
|
498
|
-
"type": "string",
|
412
|
+
"type": "number | string",
|
499
413
|
"kind": "expression"
|
500
414
|
}
|
501
415
|
},
|
502
416
|
{
|
503
|
-
"name": "
|
504
|
-
"default": "
|
505
|
-
"description": "
|
417
|
+
"name": "round",
|
418
|
+
"default": "`true`",
|
419
|
+
"description": "Whether to show round corner",
|
506
420
|
"options": [],
|
507
421
|
"value": {
|
508
|
-
"type": "
|
422
|
+
"type": "boolean",
|
509
423
|
"kind": "expression"
|
510
424
|
}
|
511
425
|
},
|
512
426
|
{
|
513
|
-
"name": "
|
514
|
-
"default": "`
|
515
|
-
"description": "
|
427
|
+
"name": "overlay",
|
428
|
+
"default": "`true`",
|
429
|
+
"description": "Whether to show overlay",
|
516
430
|
"options": [],
|
517
431
|
"value": {
|
518
|
-
"type": "
|
432
|
+
"type": "boolean",
|
519
433
|
"kind": "expression"
|
520
434
|
}
|
521
435
|
},
|
522
436
|
{
|
523
|
-
"name": "
|
524
|
-
"default": "
|
525
|
-
"description": "
|
437
|
+
"name": "overlay-class",
|
438
|
+
"default": "-",
|
439
|
+
"description": "Custom overlay class",
|
526
440
|
"options": [],
|
527
441
|
"value": {
|
528
|
-
"type": "string",
|
442
|
+
"type": "string | Array | object",
|
529
443
|
"kind": "expression"
|
530
444
|
}
|
531
445
|
},
|
532
446
|
{
|
533
|
-
"name": "
|
447
|
+
"name": "overlay-style",
|
534
448
|
"default": "-",
|
535
|
-
"description": "
|
449
|
+
"description": "Custom overlay style",
|
536
450
|
"options": [],
|
537
451
|
"value": {
|
538
452
|
"type": "object",
|
@@ -540,19 +454,19 @@
|
|
540
454
|
}
|
541
455
|
},
|
542
456
|
{
|
543
|
-
"name": "
|
544
|
-
"default": "`
|
545
|
-
"description": "
|
457
|
+
"name": "lock-scroll",
|
458
|
+
"default": "`true`",
|
459
|
+
"description": "Whether to lock background scroll",
|
546
460
|
"options": [],
|
547
461
|
"value": {
|
548
|
-
"type": "
|
462
|
+
"type": "boolean",
|
549
463
|
"kind": "expression"
|
550
464
|
}
|
551
465
|
},
|
552
466
|
{
|
553
|
-
"name": "
|
554
|
-
"default": "`
|
555
|
-
"description": "Whether to
|
467
|
+
"name": "lazy-render",
|
468
|
+
"default": "`true`",
|
469
|
+
"description": "Whether to lazy render util appeared",
|
556
470
|
"options": [],
|
557
471
|
"value": {
|
558
472
|
"type": "boolean",
|
@@ -560,9 +474,19 @@
|
|
560
474
|
}
|
561
475
|
},
|
562
476
|
{
|
563
|
-
"name": "
|
477
|
+
"name": "close-on-popstate",
|
478
|
+
"default": "`true`",
|
479
|
+
"description": "Whether to close when popstate",
|
480
|
+
"options": [],
|
481
|
+
"value": {
|
482
|
+
"type": "boolean",
|
483
|
+
"kind": "expression"
|
484
|
+
}
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"name": "close-on-click-action",
|
564
488
|
"default": "`false`",
|
565
|
-
"description": "Whether to
|
489
|
+
"description": "Whether to close when an action is clicked",
|
566
490
|
"options": [],
|
567
491
|
"value": {
|
568
492
|
"type": "boolean",
|
@@ -570,42 +494,42 @@
|
|
570
494
|
}
|
571
495
|
},
|
572
496
|
{
|
573
|
-
"name": "
|
574
|
-
"default": "`
|
575
|
-
"description": "
|
497
|
+
"name": "close-on-click-overlay",
|
498
|
+
"default": "`true`",
|
499
|
+
"description": "Whether to close when overlay is clicked",
|
576
500
|
"options": [],
|
577
501
|
"value": {
|
578
|
-
"type": "
|
502
|
+
"type": "boolean",
|
579
503
|
"kind": "expression"
|
580
504
|
}
|
581
505
|
},
|
582
506
|
{
|
583
|
-
"name": "
|
584
|
-
"default": "`
|
585
|
-
"description": "
|
507
|
+
"name": "safe-area-inset-bottom",
|
508
|
+
"default": "`true`",
|
509
|
+
"description": "Whether to enable bottom safe area adaptation",
|
586
510
|
"options": [],
|
587
511
|
"value": {
|
588
|
-
"type": "
|
512
|
+
"type": "boolean",
|
589
513
|
"kind": "expression"
|
590
514
|
}
|
591
515
|
},
|
592
516
|
{
|
593
|
-
"name": "
|
594
|
-
"default": "
|
595
|
-
"description": "
|
517
|
+
"name": "teleport",
|
518
|
+
"default": "-",
|
519
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
596
520
|
"options": [],
|
597
521
|
"value": {
|
598
|
-
"type": "
|
522
|
+
"type": "string | Element",
|
599
523
|
"kind": "expression"
|
600
524
|
}
|
601
525
|
},
|
602
526
|
{
|
603
|
-
"name": "
|
604
|
-
"default": "
|
605
|
-
"description": "
|
527
|
+
"name": "before-close",
|
528
|
+
"default": "-",
|
529
|
+
"description": "Callback function before close",
|
606
530
|
"options": [],
|
607
531
|
"value": {
|
608
|
-
"type": "
|
532
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
609
533
|
"kind": "expression"
|
610
534
|
}
|
611
535
|
}
|
@@ -818,9 +742,189 @@
|
|
818
742
|
}
|
819
743
|
},
|
820
744
|
{
|
821
|
-
"name": "delete-button-text",
|
822
|
-
"default": "`Delete`",
|
823
|
-
"description": "Delete button text",
|
745
|
+
"name": "delete-button-text",
|
746
|
+
"default": "`Delete`",
|
747
|
+
"description": "Delete button text",
|
748
|
+
"options": [],
|
749
|
+
"value": {
|
750
|
+
"type": "string",
|
751
|
+
"kind": "expression"
|
752
|
+
}
|
753
|
+
},
|
754
|
+
{
|
755
|
+
"name": "detail-rows",
|
756
|
+
"default": "`1`",
|
757
|
+
"description": "Detail input rows",
|
758
|
+
"options": [],
|
759
|
+
"value": {
|
760
|
+
"type": "number | string",
|
761
|
+
"kind": "expression"
|
762
|
+
}
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"name": "detail-maxlength",
|
766
|
+
"default": "`200`",
|
767
|
+
"description": "Detail maxlength",
|
768
|
+
"options": [],
|
769
|
+
"value": {
|
770
|
+
"type": "number | string",
|
771
|
+
"kind": "expression"
|
772
|
+
}
|
773
|
+
},
|
774
|
+
{
|
775
|
+
"name": "is-saving",
|
776
|
+
"default": "`false`",
|
777
|
+
"description": "Whether to show save button loading status",
|
778
|
+
"options": [],
|
779
|
+
"value": {
|
780
|
+
"type": "boolean",
|
781
|
+
"kind": "expression"
|
782
|
+
}
|
783
|
+
},
|
784
|
+
{
|
785
|
+
"name": "is-deleting",
|
786
|
+
"default": "`false`",
|
787
|
+
"description": "Whether to show delete button loading status",
|
788
|
+
"options": [],
|
789
|
+
"value": {
|
790
|
+
"type": "boolean",
|
791
|
+
"kind": "expression"
|
792
|
+
}
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"name": "tel-validator",
|
796
|
+
"default": "-",
|
797
|
+
"description": "The method to validate tel",
|
798
|
+
"options": [],
|
799
|
+
"value": {
|
800
|
+
"type": "(tel: string) => boolean",
|
801
|
+
"kind": "expression"
|
802
|
+
}
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"name": "tel-maxlength",
|
806
|
+
"default": "-",
|
807
|
+
"description": "Tel maxlength",
|
808
|
+
"options": [],
|
809
|
+
"value": {
|
810
|
+
"type": "number | string",
|
811
|
+
"kind": "expression"
|
812
|
+
}
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"name": "validator",
|
816
|
+
"default": "-",
|
817
|
+
"description": "Custom validator",
|
818
|
+
"options": [],
|
819
|
+
"value": {
|
820
|
+
"type": "(key, val) => string",
|
821
|
+
"kind": "expression"
|
822
|
+
}
|
823
|
+
}
|
824
|
+
]
|
825
|
+
},
|
826
|
+
{
|
827
|
+
"name": "van-address-list",
|
828
|
+
"slots": [
|
829
|
+
{
|
830
|
+
"name": "default",
|
831
|
+
"description": "Custom content after list"
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"name": "top",
|
835
|
+
"description": "Custom content before list"
|
836
|
+
},
|
837
|
+
{
|
838
|
+
"name": "item-bottom",
|
839
|
+
"description": "Custom content after list item"
|
840
|
+
},
|
841
|
+
{
|
842
|
+
"name": "tag",
|
843
|
+
"description": "Custom tag of list item"
|
844
|
+
}
|
845
|
+
],
|
846
|
+
"events": [
|
847
|
+
{
|
848
|
+
"name": "add",
|
849
|
+
"description": "Emitted when the add button is clicked",
|
850
|
+
"arguments": []
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"name": "edit",
|
854
|
+
"description": "Emitted when the edit icon of address is clicked",
|
855
|
+
"arguments": [
|
856
|
+
{
|
857
|
+
"name": "item",
|
858
|
+
"type": "Address"
|
859
|
+
},
|
860
|
+
{
|
861
|
+
"name": "index",
|
862
|
+
"type": "number"
|
863
|
+
}
|
864
|
+
]
|
865
|
+
},
|
866
|
+
{
|
867
|
+
"name": "select",
|
868
|
+
"description": "Emitted when an address is selected",
|
869
|
+
"arguments": [
|
870
|
+
{
|
871
|
+
"name": "item",
|
872
|
+
"type": "Address"
|
873
|
+
},
|
874
|
+
{
|
875
|
+
"name": "index",
|
876
|
+
"type": "number"
|
877
|
+
}
|
878
|
+
]
|
879
|
+
},
|
880
|
+
{
|
881
|
+
"name": "edit-disabled",
|
882
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
883
|
+
"arguments": [
|
884
|
+
{
|
885
|
+
"name": "item",
|
886
|
+
"type": "Address"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"name": "index",
|
890
|
+
"type": "number"
|
891
|
+
}
|
892
|
+
]
|
893
|
+
},
|
894
|
+
{
|
895
|
+
"name": "select-disabled",
|
896
|
+
"description": "Emitted when a disabled address is selected",
|
897
|
+
"arguments": [
|
898
|
+
{
|
899
|
+
"name": "item",
|
900
|
+
"type": "Address"
|
901
|
+
},
|
902
|
+
{
|
903
|
+
"name": "index",
|
904
|
+
"type": "number"
|
905
|
+
}
|
906
|
+
]
|
907
|
+
},
|
908
|
+
{
|
909
|
+
"name": "click-item",
|
910
|
+
"description": "Emitted when an address item is clicked",
|
911
|
+
"arguments": [
|
912
|
+
{
|
913
|
+
"name": "item",
|
914
|
+
"type": "Address"
|
915
|
+
},
|
916
|
+
{
|
917
|
+
"name": "index",
|
918
|
+
"type": "number"
|
919
|
+
}
|
920
|
+
]
|
921
|
+
}
|
922
|
+
],
|
923
|
+
"attributes": [
|
924
|
+
{
|
925
|
+
"name": "v-model",
|
926
|
+
"default": "-",
|
927
|
+
"description": "Id of chosen address",
|
824
928
|
"options": [],
|
825
929
|
"value": {
|
826
930
|
"type": "string",
|
@@ -828,39 +932,39 @@
|
|
828
932
|
}
|
829
933
|
},
|
830
934
|
{
|
831
|
-
"name": "
|
832
|
-
"default": "`
|
833
|
-
"description": "
|
935
|
+
"name": "list",
|
936
|
+
"default": "`[]`",
|
937
|
+
"description": "Address list",
|
834
938
|
"options": [],
|
835
939
|
"value": {
|
836
|
-
"type": "
|
940
|
+
"type": "Address[]",
|
837
941
|
"kind": "expression"
|
838
942
|
}
|
839
943
|
},
|
840
944
|
{
|
841
|
-
"name": "
|
842
|
-
"default": "`
|
843
|
-
"description": "
|
945
|
+
"name": "disabled-list",
|
946
|
+
"default": "`[]`",
|
947
|
+
"description": "Disabled address list",
|
844
948
|
"options": [],
|
845
949
|
"value": {
|
846
|
-
"type": "
|
950
|
+
"type": "Address[]",
|
847
951
|
"kind": "expression"
|
848
952
|
}
|
849
953
|
},
|
850
954
|
{
|
851
|
-
"name": "
|
852
|
-
"default": "
|
853
|
-
"description": "
|
955
|
+
"name": "disabled-text",
|
956
|
+
"default": "-",
|
957
|
+
"description": "Disabled text",
|
854
958
|
"options": [],
|
855
959
|
"value": {
|
856
|
-
"type": "
|
960
|
+
"type": "string",
|
857
961
|
"kind": "expression"
|
858
962
|
}
|
859
963
|
},
|
860
964
|
{
|
861
|
-
"name": "
|
862
|
-
"default": "`
|
863
|
-
"description": "Whether to
|
965
|
+
"name": "switchable",
|
966
|
+
"default": "`true`",
|
967
|
+
"description": "Whether to allow switch address",
|
864
968
|
"options": [],
|
865
969
|
"value": {
|
866
970
|
"type": "boolean",
|
@@ -868,32 +972,22 @@
|
|
868
972
|
}
|
869
973
|
},
|
870
974
|
{
|
871
|
-
"name": "
|
872
|
-
"default": "
|
873
|
-
"description": "
|
874
|
-
"options": [],
|
875
|
-
"value": {
|
876
|
-
"type": "(tel: string) => boolean",
|
877
|
-
"kind": "expression"
|
878
|
-
}
|
879
|
-
},
|
880
|
-
{
|
881
|
-
"name": "tel-maxlength",
|
882
|
-
"default": "-",
|
883
|
-
"description": "Tel maxlength",
|
975
|
+
"name": "add-button-text",
|
976
|
+
"default": "`Add new address`",
|
977
|
+
"description": "Add button text",
|
884
978
|
"options": [],
|
885
979
|
"value": {
|
886
|
-
"type": "
|
980
|
+
"type": "string",
|
887
981
|
"kind": "expression"
|
888
982
|
}
|
889
983
|
},
|
890
984
|
{
|
891
|
-
"name": "
|
985
|
+
"name": "default-tag-text",
|
892
986
|
"default": "-",
|
893
|
-
"description": "
|
987
|
+
"description": "Default tag text",
|
894
988
|
"options": [],
|
895
989
|
"value": {
|
896
|
-
"type": "
|
990
|
+
"type": "string",
|
897
991
|
"kind": "expression"
|
898
992
|
}
|
899
993
|
}
|
@@ -1237,101 +1331,67 @@
|
|
1237
1331
|
]
|
1238
1332
|
},
|
1239
1333
|
{
|
1240
|
-
"name": "van-
|
1334
|
+
"name": "van-area",
|
1241
1335
|
"slots": [
|
1242
1336
|
{
|
1243
|
-
"name": "
|
1244
|
-
"description": "Custom content"
|
1337
|
+
"name": "toolbar",
|
1338
|
+
"description": "Custom toolbar content"
|
1245
1339
|
},
|
1246
1340
|
{
|
1247
|
-
"name": "
|
1248
|
-
"description": "Custom
|
1341
|
+
"name": "title",
|
1342
|
+
"description": "Custom title"
|
1343
|
+
},
|
1344
|
+
{
|
1345
|
+
"name": "confirm",
|
1346
|
+
"description": "Custom confirm button text"
|
1249
1347
|
},
|
1250
1348
|
{
|
1251
1349
|
"name": "cancel",
|
1252
|
-
"description": "Custom
|
1350
|
+
"description": "Custom cancel button text"
|
1253
1351
|
},
|
1254
1352
|
{
|
1255
|
-
"name": "
|
1256
|
-
"description": "Custom
|
1353
|
+
"name": "columns-top",
|
1354
|
+
"description": "Custom content above columns"
|
1355
|
+
},
|
1356
|
+
{
|
1357
|
+
"name": "columns-bottom",
|
1358
|
+
"description": "Custom content below columns"
|
1257
1359
|
}
|
1258
1360
|
],
|
1259
1361
|
"events": [
|
1260
1362
|
{
|
1261
|
-
"name": "
|
1262
|
-
"description": "Emitted when
|
1363
|
+
"name": "confirm",
|
1364
|
+
"description": "Emitted when the confirm button is clicked",
|
1263
1365
|
"arguments": [
|
1264
1366
|
{
|
1265
|
-
"name": "
|
1266
|
-
"type": "ActionSheetAction"
|
1267
|
-
},
|
1268
|
-
{
|
1269
|
-
"name": "index",
|
1270
|
-
"type": "number"
|
1367
|
+
"name": "{ selectedValues, selectedOptions }"
|
1271
1368
|
}
|
1272
1369
|
]
|
1273
1370
|
},
|
1274
1371
|
{
|
1275
1372
|
"name": "cancel",
|
1276
1373
|
"description": "Emitted when the cancel button is clicked",
|
1277
|
-
"arguments": [
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
"arguments": []
|
1283
|
-
},
|
1284
|
-
{
|
1285
|
-
"name": "close",
|
1286
|
-
"description": "Emitted when closing ActionSheet",
|
1287
|
-
"arguments": []
|
1288
|
-
},
|
1289
|
-
{
|
1290
|
-
"name": "opened",
|
1291
|
-
"description": "Emitted when ActionSheet is opened",
|
1292
|
-
"arguments": []
|
1293
|
-
},
|
1294
|
-
{
|
1295
|
-
"name": "closed",
|
1296
|
-
"description": "Emitted when ActionSheet is closed",
|
1297
|
-
"arguments": []
|
1374
|
+
"arguments": [
|
1375
|
+
{
|
1376
|
+
"name": "{ selectedValues, selectedOptions }"
|
1377
|
+
}
|
1378
|
+
]
|
1298
1379
|
},
|
1299
1380
|
{
|
1300
|
-
"name": "
|
1301
|
-
"description": "Emitted when
|
1381
|
+
"name": "change",
|
1382
|
+
"description": "Emitted when current option is changed",
|
1302
1383
|
"arguments": [
|
1303
1384
|
{
|
1304
|
-
"name": "
|
1305
|
-
"type": "MouseEvent"
|
1385
|
+
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
1306
1386
|
}
|
1307
1387
|
]
|
1308
1388
|
}
|
1309
1389
|
],
|
1310
1390
|
"attributes": [
|
1311
1391
|
{
|
1312
|
-
"name": "v-model
|
1313
|
-
"default": "`false`",
|
1314
|
-
"description": "Whether to show ActionSheet",
|
1315
|
-
"options": [],
|
1316
|
-
"value": {
|
1317
|
-
"type": "boolean",
|
1318
|
-
"kind": "expression"
|
1319
|
-
}
|
1320
|
-
},
|
1321
|
-
{
|
1322
|
-
"name": "actions",
|
1323
|
-
"default": "`[]`",
|
1324
|
-
"description": "Options",
|
1325
|
-
"options": [],
|
1326
|
-
"value": {
|
1327
|
-
"type": "ActionSheetAction[]",
|
1328
|
-
"kind": "expression"
|
1329
|
-
}
|
1330
|
-
},
|
1331
|
-
{
|
1332
|
-
"name": "title",
|
1392
|
+
"name": "v-model",
|
1333
1393
|
"default": "-",
|
1334
|
-
"description": "
|
1394
|
+
"description": "the `code` of selected area",
|
1335
1395
|
"options": [],
|
1336
1396
|
"value": {
|
1337
1397
|
"type": "string",
|
@@ -1339,9 +1399,9 @@
|
|
1339
1399
|
}
|
1340
1400
|
},
|
1341
1401
|
{
|
1342
|
-
"name": "
|
1402
|
+
"name": "title",
|
1343
1403
|
"default": "-",
|
1344
|
-
"description": "
|
1404
|
+
"description": "Toolbar title",
|
1345
1405
|
"options": [],
|
1346
1406
|
"value": {
|
1347
1407
|
"type": "string",
|
@@ -1349,9 +1409,9 @@
|
|
1349
1409
|
}
|
1350
1410
|
},
|
1351
1411
|
{
|
1352
|
-
"name": "
|
1353
|
-
"default": "
|
1354
|
-
"description": "
|
1412
|
+
"name": "confirm-button-text",
|
1413
|
+
"default": "`Confirm`",
|
1414
|
+
"description": "Text of confirm button",
|
1355
1415
|
"options": [],
|
1356
1416
|
"value": {
|
1357
1417
|
"type": "string",
|
@@ -1359,19 +1419,9 @@
|
|
1359
1419
|
}
|
1360
1420
|
},
|
1361
1421
|
{
|
1362
|
-
"name": "
|
1363
|
-
"default": "`
|
1364
|
-
"description": "
|
1365
|
-
"options": [],
|
1366
|
-
"value": {
|
1367
|
-
"type": "boolean",
|
1368
|
-
"kind": "expression"
|
1369
|
-
}
|
1370
|
-
},
|
1371
|
-
{
|
1372
|
-
"name": "close-icon",
|
1373
|
-
"default": "`cross`",
|
1374
|
-
"description": "Close icon name",
|
1422
|
+
"name": "cancel-button-text",
|
1423
|
+
"default": "`Cancel`",
|
1424
|
+
"description": "Text of cancel button",
|
1375
1425
|
"options": [],
|
1376
1426
|
"value": {
|
1377
1427
|
"type": "string",
|
@@ -1379,49 +1429,9 @@
|
|
1379
1429
|
}
|
1380
1430
|
},
|
1381
1431
|
{
|
1382
|
-
"name": "
|
1383
|
-
"default": "`0.3`",
|
1384
|
-
"description": "Transition duration, unit second",
|
1385
|
-
"options": [],
|
1386
|
-
"value": {
|
1387
|
-
"type": "number | string",
|
1388
|
-
"kind": "expression"
|
1389
|
-
}
|
1390
|
-
},
|
1391
|
-
{
|
1392
|
-
"name": "round",
|
1393
|
-
"default": "`true`",
|
1394
|
-
"description": "Whether to show round corner",
|
1395
|
-
"options": [],
|
1396
|
-
"value": {
|
1397
|
-
"type": "boolean",
|
1398
|
-
"kind": "expression"
|
1399
|
-
}
|
1400
|
-
},
|
1401
|
-
{
|
1402
|
-
"name": "overlay",
|
1403
|
-
"default": "`true`",
|
1404
|
-
"description": "Whether to show overlay",
|
1405
|
-
"options": [],
|
1406
|
-
"value": {
|
1407
|
-
"type": "boolean",
|
1408
|
-
"kind": "expression"
|
1409
|
-
}
|
1410
|
-
},
|
1411
|
-
{
|
1412
|
-
"name": "overlay-class",
|
1413
|
-
"default": "-",
|
1414
|
-
"description": "Custom overlay class",
|
1415
|
-
"options": [],
|
1416
|
-
"value": {
|
1417
|
-
"type": "string | Array | object",
|
1418
|
-
"kind": "expression"
|
1419
|
-
}
|
1420
|
-
},
|
1421
|
-
{
|
1422
|
-
"name": "overlay-style",
|
1432
|
+
"name": "area-list",
|
1423
1433
|
"default": "-",
|
1424
|
-
"description": "
|
1434
|
+
"description": "Area list data",
|
1425
1435
|
"options": [],
|
1426
1436
|
"value": {
|
1427
1437
|
"type": "object",
|
@@ -1429,29 +1439,19 @@
|
|
1429
1439
|
}
|
1430
1440
|
},
|
1431
1441
|
{
|
1432
|
-
"name": "
|
1433
|
-
"default": "`
|
1434
|
-
"description": "
|
1435
|
-
"options": [],
|
1436
|
-
"value": {
|
1437
|
-
"type": "boolean",
|
1438
|
-
"kind": "expression"
|
1439
|
-
}
|
1440
|
-
},
|
1441
|
-
{
|
1442
|
-
"name": "lazy-render",
|
1443
|
-
"default": "`true`",
|
1444
|
-
"description": "Whether to lazy render util appeared",
|
1442
|
+
"name": "columns-placeholder",
|
1443
|
+
"default": "`[]`",
|
1444
|
+
"description": "Placeholder of columns",
|
1445
1445
|
"options": [],
|
1446
1446
|
"value": {
|
1447
|
-
"type": "
|
1447
|
+
"type": "string[]",
|
1448
1448
|
"kind": "expression"
|
1449
1449
|
}
|
1450
1450
|
},
|
1451
1451
|
{
|
1452
|
-
"name": "
|
1453
|
-
"default": "`
|
1454
|
-
"description": "Whether to
|
1452
|
+
"name": "loading",
|
1453
|
+
"default": "`false`",
|
1454
|
+
"description": "Whether to show loading prompt",
|
1455
1455
|
"options": [],
|
1456
1456
|
"value": {
|
1457
1457
|
"type": "boolean",
|
@@ -1459,9 +1459,9 @@
|
|
1459
1459
|
}
|
1460
1460
|
},
|
1461
1461
|
{
|
1462
|
-
"name": "
|
1462
|
+
"name": "readonly",
|
1463
1463
|
"default": "`false`",
|
1464
|
-
"description": "Whether to
|
1464
|
+
"description": "Whether to be readonly",
|
1465
1465
|
"options": [],
|
1466
1466
|
"value": {
|
1467
1467
|
"type": "boolean",
|
@@ -1469,42 +1469,42 @@
|
|
1469
1469
|
}
|
1470
1470
|
},
|
1471
1471
|
{
|
1472
|
-
"name": "
|
1473
|
-
"default": "`
|
1474
|
-
"description": "
|
1472
|
+
"name": "option-height",
|
1473
|
+
"default": "`44`",
|
1474
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
1475
1475
|
"options": [],
|
1476
1476
|
"value": {
|
1477
|
-
"type": "
|
1477
|
+
"type": "number | string",
|
1478
1478
|
"kind": "expression"
|
1479
1479
|
}
|
1480
1480
|
},
|
1481
1481
|
{
|
1482
|
-
"name": "
|
1483
|
-
"default": "`
|
1484
|
-
"description": "
|
1482
|
+
"name": "columns-num",
|
1483
|
+
"default": "`3`",
|
1484
|
+
"description": "Level of picker",
|
1485
1485
|
"options": [],
|
1486
1486
|
"value": {
|
1487
|
-
"type": "
|
1487
|
+
"type": "number | string",
|
1488
1488
|
"kind": "expression"
|
1489
1489
|
}
|
1490
1490
|
},
|
1491
1491
|
{
|
1492
|
-
"name": "
|
1493
|
-
"default": "
|
1494
|
-
"description": "
|
1492
|
+
"name": "visible-option-num",
|
1493
|
+
"default": "`6`",
|
1494
|
+
"description": "Count of visible columns",
|
1495
1495
|
"options": [],
|
1496
1496
|
"value": {
|
1497
|
-
"type": "
|
1497
|
+
"type": "number | string",
|
1498
1498
|
"kind": "expression"
|
1499
1499
|
}
|
1500
1500
|
},
|
1501
1501
|
{
|
1502
|
-
"name": "
|
1503
|
-
"default": "
|
1504
|
-
"description": "
|
1502
|
+
"name": "swipe-duration",
|
1503
|
+
"default": "`1000`",
|
1504
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
1505
1505
|
"options": [],
|
1506
1506
|
"value": {
|
1507
|
-
"type": "
|
1507
|
+
"type": "number | string",
|
1508
1508
|
"kind": "expression"
|
1509
1509
|
}
|
1510
1510
|
}
|
@@ -2610,7 +2610,7 @@
|
|
2610
2610
|
{
|
2611
2611
|
"name": "name",
|
2612
2612
|
"default": "-",
|
2613
|
-
"description": "Checkbox name",
|
2613
|
+
"description": "Checkbox name, usually a unique string or number",
|
2614
2614
|
"options": [],
|
2615
2615
|
"value": {
|
2616
2616
|
"type": "any",
|
@@ -3260,6 +3260,36 @@
|
|
3260
3260
|
"kind": "expression"
|
3261
3261
|
}
|
3262
3262
|
},
|
3263
|
+
{
|
3264
|
+
"name": "theme-vars-dark",
|
3265
|
+
"default": "-",
|
3266
|
+
"description": "Theme variables that work in dark mode,will override `theme-vars`",
|
3267
|
+
"options": [],
|
3268
|
+
"value": {
|
3269
|
+
"type": "object",
|
3270
|
+
"kind": "expression"
|
3271
|
+
}
|
3272
|
+
},
|
3273
|
+
{
|
3274
|
+
"name": "theme-vars-light",
|
3275
|
+
"default": "-",
|
3276
|
+
"description": "Theme variables that work in light mode, will override `theme-vars`",
|
3277
|
+
"options": [],
|
3278
|
+
"value": {
|
3279
|
+
"type": "object",
|
3280
|
+
"kind": "expression"
|
3281
|
+
}
|
3282
|
+
},
|
3283
|
+
{
|
3284
|
+
"name": "z-index",
|
3285
|
+
"default": "`2000`",
|
3286
|
+
"description": "Set the z-index of all popup components, this property takes effect globally",
|
3287
|
+
"options": [],
|
3288
|
+
"value": {
|
3289
|
+
"type": "number",
|
3290
|
+
"kind": "expression"
|
3291
|
+
}
|
3292
|
+
},
|
3263
3293
|
{
|
3264
3294
|
"name": "tag",
|
3265
3295
|
"default": "`div`",
|
@@ -3350,104 +3380,6 @@
|
|
3350
3380
|
}
|
3351
3381
|
]
|
3352
3382
|
},
|
3353
|
-
{
|
3354
|
-
"name": "van-contact-edit",
|
3355
|
-
"slots": [],
|
3356
|
-
"events": [
|
3357
|
-
{
|
3358
|
-
"name": "save",
|
3359
|
-
"description": "Emitted when the save button is clicked",
|
3360
|
-
"arguments": [
|
3361
|
-
{
|
3362
|
-
"name": "content",
|
3363
|
-
"type": "contact info"
|
3364
|
-
}
|
3365
|
-
]
|
3366
|
-
},
|
3367
|
-
{
|
3368
|
-
"name": "delete",
|
3369
|
-
"description": "Emitted when the delete button is clicked",
|
3370
|
-
"arguments": [
|
3371
|
-
{
|
3372
|
-
"name": "content",
|
3373
|
-
"type": "contact info"
|
3374
|
-
}
|
3375
|
-
]
|
3376
|
-
}
|
3377
|
-
],
|
3378
|
-
"attributes": [
|
3379
|
-
{
|
3380
|
-
"name": "contact-info",
|
3381
|
-
"default": "`[]`",
|
3382
|
-
"description": "Contact Info",
|
3383
|
-
"options": [],
|
3384
|
-
"value": {
|
3385
|
-
"type": "Contact",
|
3386
|
-
"kind": "expression"
|
3387
|
-
}
|
3388
|
-
},
|
3389
|
-
{
|
3390
|
-
"name": "is-edit",
|
3391
|
-
"default": "`false`",
|
3392
|
-
"description": "Whether is editing",
|
3393
|
-
"options": [],
|
3394
|
-
"value": {
|
3395
|
-
"type": "boolean",
|
3396
|
-
"kind": "expression"
|
3397
|
-
}
|
3398
|
-
},
|
3399
|
-
{
|
3400
|
-
"name": "is-saving",
|
3401
|
-
"default": "`false`",
|
3402
|
-
"description": "Whether to show save button loading status",
|
3403
|
-
"options": [],
|
3404
|
-
"value": {
|
3405
|
-
"type": "boolean",
|
3406
|
-
"kind": "expression"
|
3407
|
-
}
|
3408
|
-
},
|
3409
|
-
{
|
3410
|
-
"name": "is-deleting",
|
3411
|
-
"default": "`false`",
|
3412
|
-
"description": "Whether to show delete button loading status",
|
3413
|
-
"options": [],
|
3414
|
-
"value": {
|
3415
|
-
"type": "boolean",
|
3416
|
-
"kind": "expression"
|
3417
|
-
}
|
3418
|
-
},
|
3419
|
-
{
|
3420
|
-
"name": "tel-validator",
|
3421
|
-
"default": "-",
|
3422
|
-
"description": "The method to validate tel",
|
3423
|
-
"options": [],
|
3424
|
-
"value": {
|
3425
|
-
"type": "(tel: string) => boolean",
|
3426
|
-
"kind": "expression"
|
3427
|
-
}
|
3428
|
-
},
|
3429
|
-
{
|
3430
|
-
"name": "show-set-default",
|
3431
|
-
"default": "`false`",
|
3432
|
-
"description": "Whether to show default contact switch",
|
3433
|
-
"options": [],
|
3434
|
-
"value": {
|
3435
|
-
"type": "boolean",
|
3436
|
-
"kind": "expression"
|
3437
|
-
}
|
3438
|
-
},
|
3439
|
-
{
|
3440
|
-
"name": "set-default-label",
|
3441
|
-
"default": "-",
|
3442
|
-
"description": "default contact switch label",
|
3443
|
-
"options": [],
|
3444
|
-
"value": {
|
3445
|
-
"type": "string",
|
3446
|
-
"kind": "expression"
|
3447
|
-
}
|
3448
|
-
}
|
3449
|
-
]
|
3450
|
-
},
|
3451
3383
|
{
|
3452
3384
|
"name": "van-contact-list",
|
3453
3385
|
"slots": [],
|
@@ -3597,6 +3529,104 @@
|
|
3597
3529
|
}
|
3598
3530
|
]
|
3599
3531
|
},
|
3532
|
+
{
|
3533
|
+
"name": "van-contact-edit",
|
3534
|
+
"slots": [],
|
3535
|
+
"events": [
|
3536
|
+
{
|
3537
|
+
"name": "save",
|
3538
|
+
"description": "Emitted when the save button is clicked",
|
3539
|
+
"arguments": [
|
3540
|
+
{
|
3541
|
+
"name": "content",
|
3542
|
+
"type": "contact info"
|
3543
|
+
}
|
3544
|
+
]
|
3545
|
+
},
|
3546
|
+
{
|
3547
|
+
"name": "delete",
|
3548
|
+
"description": "Emitted when the delete button is clicked",
|
3549
|
+
"arguments": [
|
3550
|
+
{
|
3551
|
+
"name": "content",
|
3552
|
+
"type": "contact info"
|
3553
|
+
}
|
3554
|
+
]
|
3555
|
+
}
|
3556
|
+
],
|
3557
|
+
"attributes": [
|
3558
|
+
{
|
3559
|
+
"name": "contact-info",
|
3560
|
+
"default": "`[]`",
|
3561
|
+
"description": "Contact Info",
|
3562
|
+
"options": [],
|
3563
|
+
"value": {
|
3564
|
+
"type": "Contact",
|
3565
|
+
"kind": "expression"
|
3566
|
+
}
|
3567
|
+
},
|
3568
|
+
{
|
3569
|
+
"name": "is-edit",
|
3570
|
+
"default": "`false`",
|
3571
|
+
"description": "Whether is editing",
|
3572
|
+
"options": [],
|
3573
|
+
"value": {
|
3574
|
+
"type": "boolean",
|
3575
|
+
"kind": "expression"
|
3576
|
+
}
|
3577
|
+
},
|
3578
|
+
{
|
3579
|
+
"name": "is-saving",
|
3580
|
+
"default": "`false`",
|
3581
|
+
"description": "Whether to show save button loading status",
|
3582
|
+
"options": [],
|
3583
|
+
"value": {
|
3584
|
+
"type": "boolean",
|
3585
|
+
"kind": "expression"
|
3586
|
+
}
|
3587
|
+
},
|
3588
|
+
{
|
3589
|
+
"name": "is-deleting",
|
3590
|
+
"default": "`false`",
|
3591
|
+
"description": "Whether to show delete button loading status",
|
3592
|
+
"options": [],
|
3593
|
+
"value": {
|
3594
|
+
"type": "boolean",
|
3595
|
+
"kind": "expression"
|
3596
|
+
}
|
3597
|
+
},
|
3598
|
+
{
|
3599
|
+
"name": "tel-validator",
|
3600
|
+
"default": "-",
|
3601
|
+
"description": "The method to validate tel",
|
3602
|
+
"options": [],
|
3603
|
+
"value": {
|
3604
|
+
"type": "(tel: string) => boolean",
|
3605
|
+
"kind": "expression"
|
3606
|
+
}
|
3607
|
+
},
|
3608
|
+
{
|
3609
|
+
"name": "show-set-default",
|
3610
|
+
"default": "`false`",
|
3611
|
+
"description": "Whether to show default contact switch",
|
3612
|
+
"options": [],
|
3613
|
+
"value": {
|
3614
|
+
"type": "boolean",
|
3615
|
+
"kind": "expression"
|
3616
|
+
}
|
3617
|
+
},
|
3618
|
+
{
|
3619
|
+
"name": "set-default-label",
|
3620
|
+
"default": "-",
|
3621
|
+
"description": "default contact switch label",
|
3622
|
+
"options": [],
|
3623
|
+
"value": {
|
3624
|
+
"type": "string",
|
3625
|
+
"kind": "expression"
|
3626
|
+
}
|
3627
|
+
}
|
3628
|
+
]
|
3629
|
+
},
|
3600
3630
|
{
|
3601
3631
|
"name": "van-coupon-cell",
|
3602
3632
|
"slots": [],
|
@@ -3865,7 +3895,7 @@
|
|
3865
3895
|
"name": "van-date-picker",
|
3866
3896
|
"slots": [
|
3867
3897
|
{
|
3868
|
-
"name": "
|
3898
|
+
"name": "toolbar",
|
3869
3899
|
"description": "Custom toolbar content"
|
3870
3900
|
},
|
3871
3901
|
{
|
@@ -4167,7 +4197,7 @@
|
|
4167
4197
|
{
|
4168
4198
|
"name": "message-align",
|
4169
4199
|
"default": "`center`",
|
4170
|
-
"description": "Message align, can be set to `left` `right`",
|
4200
|
+
"description": "Message align, can be set to `left` `right` `justify`",
|
4171
4201
|
"options": [],
|
4172
4202
|
"value": {
|
4173
4203
|
"type": "string",
|
@@ -5781,6 +5811,16 @@
|
|
5781
5811
|
"kind": "expression"
|
5782
5812
|
}
|
5783
5813
|
},
|
5814
|
+
{
|
5815
|
+
"name": "block",
|
5816
|
+
"default": "`false`",
|
5817
|
+
"description": "Whether the root node is a block element",
|
5818
|
+
"options": [],
|
5819
|
+
"value": {
|
5820
|
+
"type": "boolean",
|
5821
|
+
"kind": "expression"
|
5822
|
+
}
|
5823
|
+
},
|
5784
5824
|
{
|
5785
5825
|
"name": "lazy-load",
|
5786
5826
|
"default": "`false`",
|
@@ -6674,6 +6714,99 @@
|
|
6674
6714
|
}
|
6675
6715
|
]
|
6676
6716
|
},
|
6717
|
+
{
|
6718
|
+
"name": "van-overlay",
|
6719
|
+
"slots": [
|
6720
|
+
{
|
6721
|
+
"name": "default",
|
6722
|
+
"description": "Default slot"
|
6723
|
+
}
|
6724
|
+
],
|
6725
|
+
"events": [
|
6726
|
+
{
|
6727
|
+
"name": "click",
|
6728
|
+
"description": "Emitted when component is clicked",
|
6729
|
+
"arguments": [
|
6730
|
+
{
|
6731
|
+
"name": "event",
|
6732
|
+
"type": "MouseEvent"
|
6733
|
+
}
|
6734
|
+
]
|
6735
|
+
}
|
6736
|
+
],
|
6737
|
+
"attributes": [
|
6738
|
+
{
|
6739
|
+
"name": "show",
|
6740
|
+
"default": "`false`",
|
6741
|
+
"description": "Whether to show overlay",
|
6742
|
+
"options": [],
|
6743
|
+
"value": {
|
6744
|
+
"type": "boolean",
|
6745
|
+
"kind": "expression"
|
6746
|
+
}
|
6747
|
+
},
|
6748
|
+
{
|
6749
|
+
"name": "z-index",
|
6750
|
+
"default": "`1`",
|
6751
|
+
"description": "z-index",
|
6752
|
+
"options": [],
|
6753
|
+
"value": {
|
6754
|
+
"type": "number | string",
|
6755
|
+
"kind": "expression"
|
6756
|
+
}
|
6757
|
+
},
|
6758
|
+
{
|
6759
|
+
"name": "duration",
|
6760
|
+
"default": "`0.3`",
|
6761
|
+
"description": "Animation duration",
|
6762
|
+
"options": [],
|
6763
|
+
"value": {
|
6764
|
+
"type": "number | string",
|
6765
|
+
"kind": "expression"
|
6766
|
+
}
|
6767
|
+
},
|
6768
|
+
{
|
6769
|
+
"name": "class-name",
|
6770
|
+
"default": "-",
|
6771
|
+
"description": "ClassName",
|
6772
|
+
"options": [],
|
6773
|
+
"value": {
|
6774
|
+
"type": "string",
|
6775
|
+
"kind": "expression"
|
6776
|
+
}
|
6777
|
+
},
|
6778
|
+
{
|
6779
|
+
"name": "custom-class",
|
6780
|
+
"default": "-",
|
6781
|
+
"description": "Custom style",
|
6782
|
+
"options": [],
|
6783
|
+
"value": {
|
6784
|
+
"type": "object",
|
6785
|
+
"kind": "expression"
|
6786
|
+
}
|
6787
|
+
},
|
6788
|
+
{
|
6789
|
+
"name": "lock-scroll",
|
6790
|
+
"default": "`true`",
|
6791
|
+
"description": "Whether to lock background scroll",
|
6792
|
+
"options": [],
|
6793
|
+
"value": {
|
6794
|
+
"type": "boolean",
|
6795
|
+
"kind": "expression"
|
6796
|
+
}
|
6797
|
+
},
|
6798
|
+
{
|
6799
|
+
"name": "lazy-render",
|
6800
|
+
"default": "`true`",
|
6801
|
+
"description": "Whether to lazy render util appeared",
|
6802
|
+
"options": [],
|
6803
|
+
"value": {
|
6804
|
+
"type": "boolean",
|
6805
|
+
"kind": "expression"
|
6806
|
+
}
|
6807
|
+
}
|
6808
|
+
]
|
6809
|
+
},
|
6677
6810
|
{
|
6678
6811
|
"name": "van-number-keyboard",
|
6679
6812
|
"slots": [
|
@@ -6900,99 +7033,6 @@
|
|
6900
7033
|
}
|
6901
7034
|
]
|
6902
7035
|
},
|
6903
|
-
{
|
6904
|
-
"name": "van-overlay",
|
6905
|
-
"slots": [
|
6906
|
-
{
|
6907
|
-
"name": "default",
|
6908
|
-
"description": "Default slot"
|
6909
|
-
}
|
6910
|
-
],
|
6911
|
-
"events": [
|
6912
|
-
{
|
6913
|
-
"name": "click",
|
6914
|
-
"description": "Emitted when component is clicked",
|
6915
|
-
"arguments": [
|
6916
|
-
{
|
6917
|
-
"name": "event",
|
6918
|
-
"type": "MouseEvent"
|
6919
|
-
}
|
6920
|
-
]
|
6921
|
-
}
|
6922
|
-
],
|
6923
|
-
"attributes": [
|
6924
|
-
{
|
6925
|
-
"name": "show",
|
6926
|
-
"default": "`false`",
|
6927
|
-
"description": "Whether to show overlay",
|
6928
|
-
"options": [],
|
6929
|
-
"value": {
|
6930
|
-
"type": "boolean",
|
6931
|
-
"kind": "expression"
|
6932
|
-
}
|
6933
|
-
},
|
6934
|
-
{
|
6935
|
-
"name": "z-index",
|
6936
|
-
"default": "`1`",
|
6937
|
-
"description": "z-index",
|
6938
|
-
"options": [],
|
6939
|
-
"value": {
|
6940
|
-
"type": "number | string",
|
6941
|
-
"kind": "expression"
|
6942
|
-
}
|
6943
|
-
},
|
6944
|
-
{
|
6945
|
-
"name": "duration",
|
6946
|
-
"default": "`0.3`",
|
6947
|
-
"description": "Animation duration",
|
6948
|
-
"options": [],
|
6949
|
-
"value": {
|
6950
|
-
"type": "number | string",
|
6951
|
-
"kind": "expression"
|
6952
|
-
}
|
6953
|
-
},
|
6954
|
-
{
|
6955
|
-
"name": "class-name",
|
6956
|
-
"default": "-",
|
6957
|
-
"description": "ClassName",
|
6958
|
-
"options": [],
|
6959
|
-
"value": {
|
6960
|
-
"type": "string",
|
6961
|
-
"kind": "expression"
|
6962
|
-
}
|
6963
|
-
},
|
6964
|
-
{
|
6965
|
-
"name": "custom-class",
|
6966
|
-
"default": "-",
|
6967
|
-
"description": "Custom style",
|
6968
|
-
"options": [],
|
6969
|
-
"value": {
|
6970
|
-
"type": "object",
|
6971
|
-
"kind": "expression"
|
6972
|
-
}
|
6973
|
-
},
|
6974
|
-
{
|
6975
|
-
"name": "lock-scroll",
|
6976
|
-
"default": "`true`",
|
6977
|
-
"description": "Whether to lock background scroll",
|
6978
|
-
"options": [],
|
6979
|
-
"value": {
|
6980
|
-
"type": "boolean",
|
6981
|
-
"kind": "expression"
|
6982
|
-
}
|
6983
|
-
},
|
6984
|
-
{
|
6985
|
-
"name": "lazy-render",
|
6986
|
-
"default": "`true`",
|
6987
|
-
"description": "Whether to lazy render util appeared",
|
6988
|
-
"options": [],
|
6989
|
-
"value": {
|
6990
|
-
"type": "boolean",
|
6991
|
-
"kind": "expression"
|
6992
|
-
}
|
6993
|
-
}
|
6994
|
-
]
|
6995
|
-
},
|
6996
7036
|
{
|
6997
7037
|
"name": "van-pagination",
|
6998
7038
|
"slots": [
|
@@ -7251,6 +7291,15 @@
|
|
7251
7291
|
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
7252
7292
|
}
|
7253
7293
|
]
|
7294
|
+
},
|
7295
|
+
{
|
7296
|
+
"name": "click-option",
|
7297
|
+
"description": "Emitted when an option is clicked",
|
7298
|
+
"arguments": [
|
7299
|
+
{
|
7300
|
+
"name": "{ currentOption, selectedValues, selectedOptions, columnIndex }"
|
7301
|
+
}
|
7302
|
+
]
|
7254
7303
|
}
|
7255
7304
|
],
|
7256
7305
|
"attributes": [
|
@@ -7350,27 +7399,81 @@
|
|
7350
7399
|
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
7351
7400
|
"options": [],
|
7352
7401
|
"value": {
|
7353
|
-
"type": "number | string",
|
7402
|
+
"type": "number | string",
|
7403
|
+
"kind": "expression"
|
7404
|
+
}
|
7405
|
+
},
|
7406
|
+
{
|
7407
|
+
"name": "visible-option-num",
|
7408
|
+
"default": "`6`",
|
7409
|
+
"description": "Count of visible columns",
|
7410
|
+
"options": [],
|
7411
|
+
"value": {
|
7412
|
+
"type": "number | string",
|
7413
|
+
"kind": "expression"
|
7414
|
+
}
|
7415
|
+
},
|
7416
|
+
{
|
7417
|
+
"name": "swipe-duration",
|
7418
|
+
"default": "`1000`",
|
7419
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
7420
|
+
"options": [],
|
7421
|
+
"value": {
|
7422
|
+
"type": "number | string",
|
7423
|
+
"kind": "expression"
|
7424
|
+
}
|
7425
|
+
}
|
7426
|
+
]
|
7427
|
+
},
|
7428
|
+
{
|
7429
|
+
"name": "van-picker-group",
|
7430
|
+
"slots": [
|
7431
|
+
{
|
7432
|
+
"name": "toolbar",
|
7433
|
+
"description": "Custom toolbar content"
|
7434
|
+
},
|
7435
|
+
{
|
7436
|
+
"name": "title",
|
7437
|
+
"description": "Custom title"
|
7438
|
+
},
|
7439
|
+
{
|
7440
|
+
"name": "confirm",
|
7441
|
+
"description": "Custom confirm button text"
|
7442
|
+
},
|
7443
|
+
{
|
7444
|
+
"name": "cancel",
|
7445
|
+
"description": "Custom cancel button text"
|
7446
|
+
}
|
7447
|
+
],
|
7448
|
+
"events": [],
|
7449
|
+
"attributes": [
|
7450
|
+
{
|
7451
|
+
"name": "title",
|
7452
|
+
"default": "`''`",
|
7453
|
+
"description": "Toolbar title",
|
7454
|
+
"options": [],
|
7455
|
+
"value": {
|
7456
|
+
"type": "string",
|
7354
7457
|
"kind": "expression"
|
7355
7458
|
}
|
7356
7459
|
},
|
7357
7460
|
{
|
7358
|
-
"name": "
|
7359
|
-
"default": "`
|
7360
|
-
"description": "
|
7461
|
+
"name": "confirm-button-text",
|
7462
|
+
"default": "`Confirm`",
|
7463
|
+
"description": "Text of confirm button",
|
7361
7464
|
"options": [],
|
7362
7465
|
"value": {
|
7363
|
-
"type": "
|
7466
|
+
"type": "string",
|
7364
7467
|
"kind": "expression"
|
7365
7468
|
}
|
7366
7469
|
},
|
7367
7470
|
{
|
7368
|
-
"name": "
|
7369
|
-
"default": "`
|
7370
|
-
"description": "
|
7471
|
+
"name": "cancel-button-text",
|
7472
|
+
"default": "`Cancel`",
|
7473
|
+
"description": "Text of cancel button",
|
7371
7474
|
"options": [],
|
7372
7475
|
"value": {
|
7373
|
-
"type": "
|
7476
|
+
"type": "string",
|
7374
7477
|
"kind": "expression"
|
7375
7478
|
}
|
7376
7479
|
}
|
@@ -8150,7 +8253,7 @@
|
|
8150
8253
|
{
|
8151
8254
|
"name": "name",
|
8152
8255
|
"default": "-",
|
8153
|
-
"description": "Radio name",
|
8256
|
+
"description": "Radio name, usually a unique string or number",
|
8154
8257
|
"options": [],
|
8155
8258
|
"value": {
|
8156
8259
|
"type": "any",
|
@@ -8429,17 +8532,257 @@
|
|
8429
8532
|
"description": "Whether to disable rate",
|
8430
8533
|
"options": [],
|
8431
8534
|
"value": {
|
8432
|
-
"type": "boolean",
|
8535
|
+
"type": "boolean",
|
8536
|
+
"kind": "expression"
|
8537
|
+
}
|
8538
|
+
},
|
8539
|
+
{
|
8540
|
+
"name": "touchable",
|
8541
|
+
"default": "`true`",
|
8542
|
+
"description": "Whether to allow select rate by touch gesture",
|
8543
|
+
"options": [],
|
8544
|
+
"value": {
|
8545
|
+
"type": "boolean",
|
8546
|
+
"kind": "expression"
|
8547
|
+
}
|
8548
|
+
}
|
8549
|
+
]
|
8550
|
+
},
|
8551
|
+
{
|
8552
|
+
"name": "van-share-sheet",
|
8553
|
+
"slots": [
|
8554
|
+
{
|
8555
|
+
"name": "title",
|
8556
|
+
"description": "Custom title"
|
8557
|
+
},
|
8558
|
+
{
|
8559
|
+
"name": "description",
|
8560
|
+
"description": "Custom description"
|
8561
|
+
},
|
8562
|
+
{
|
8563
|
+
"name": "cancel",
|
8564
|
+
"description": "Custom the content of cancel button"
|
8565
|
+
}
|
8566
|
+
],
|
8567
|
+
"events": [
|
8568
|
+
{
|
8569
|
+
"name": "select",
|
8570
|
+
"description": "Emitted when an option is clicked",
|
8571
|
+
"arguments": [
|
8572
|
+
{
|
8573
|
+
"name": "option",
|
8574
|
+
"type": "Option"
|
8575
|
+
},
|
8576
|
+
{
|
8577
|
+
"name": "index",
|
8578
|
+
"type": "number"
|
8579
|
+
}
|
8580
|
+
]
|
8581
|
+
},
|
8582
|
+
{
|
8583
|
+
"name": "cancel",
|
8584
|
+
"description": "Emitted when the cancel button is clicked",
|
8585
|
+
"arguments": []
|
8586
|
+
},
|
8587
|
+
{
|
8588
|
+
"name": "open",
|
8589
|
+
"description": "Emitted when opening ShareSheet",
|
8590
|
+
"arguments": []
|
8591
|
+
},
|
8592
|
+
{
|
8593
|
+
"name": "close",
|
8594
|
+
"description": "Emitted when closing ShareSheet",
|
8595
|
+
"arguments": []
|
8596
|
+
},
|
8597
|
+
{
|
8598
|
+
"name": "opened",
|
8599
|
+
"description": "Emitted when ShareSheet is opened",
|
8600
|
+
"arguments": []
|
8601
|
+
},
|
8602
|
+
{
|
8603
|
+
"name": "closed",
|
8604
|
+
"description": "Emitted when ShareSheet is closed",
|
8605
|
+
"arguments": []
|
8606
|
+
},
|
8607
|
+
{
|
8608
|
+
"name": "click-overlay",
|
8609
|
+
"description": "Emitted when overlay is clicked",
|
8610
|
+
"arguments": [
|
8611
|
+
{
|
8612
|
+
"name": "event",
|
8613
|
+
"type": "MouseEvent"
|
8614
|
+
}
|
8615
|
+
]
|
8616
|
+
}
|
8617
|
+
],
|
8618
|
+
"attributes": [
|
8619
|
+
{
|
8620
|
+
"name": "v-model:show",
|
8621
|
+
"default": "`false`",
|
8622
|
+
"description": "Whether to show ShareSheet",
|
8623
|
+
"options": [],
|
8624
|
+
"value": {
|
8625
|
+
"type": "boolean",
|
8626
|
+
"kind": "expression"
|
8627
|
+
}
|
8628
|
+
},
|
8629
|
+
{
|
8630
|
+
"name": "options",
|
8631
|
+
"default": "`[]`",
|
8632
|
+
"description": "Share options",
|
8633
|
+
"options": [],
|
8634
|
+
"value": {
|
8635
|
+
"type": "Option[]",
|
8636
|
+
"kind": "expression"
|
8637
|
+
}
|
8638
|
+
},
|
8639
|
+
{
|
8640
|
+
"name": "title",
|
8641
|
+
"default": "-",
|
8642
|
+
"description": "Title",
|
8643
|
+
"options": [],
|
8644
|
+
"value": {
|
8645
|
+
"type": "string",
|
8646
|
+
"kind": "expression"
|
8647
|
+
}
|
8648
|
+
},
|
8649
|
+
{
|
8650
|
+
"name": "cancel-text",
|
8651
|
+
"default": "`'Cancel'`",
|
8652
|
+
"description": "Cancel button text",
|
8653
|
+
"options": [],
|
8654
|
+
"value": {
|
8655
|
+
"type": "string",
|
8656
|
+
"kind": "expression"
|
8657
|
+
}
|
8658
|
+
},
|
8659
|
+
{
|
8660
|
+
"name": "description",
|
8661
|
+
"default": "-",
|
8662
|
+
"description": "Description",
|
8663
|
+
"options": [],
|
8664
|
+
"value": {
|
8665
|
+
"type": "string",
|
8666
|
+
"kind": "expression"
|
8667
|
+
}
|
8668
|
+
},
|
8669
|
+
{
|
8670
|
+
"name": "duration",
|
8671
|
+
"default": "`0.3`",
|
8672
|
+
"description": "Transition duration, unit second",
|
8673
|
+
"options": [],
|
8674
|
+
"value": {
|
8675
|
+
"type": "number | string",
|
8676
|
+
"kind": "expression"
|
8677
|
+
}
|
8678
|
+
},
|
8679
|
+
{
|
8680
|
+
"name": "round",
|
8681
|
+
"default": "`true`",
|
8682
|
+
"description": "Whether to show round corner",
|
8683
|
+
"options": [],
|
8684
|
+
"value": {
|
8685
|
+
"type": "boolean",
|
8686
|
+
"kind": "expression"
|
8687
|
+
}
|
8688
|
+
},
|
8689
|
+
{
|
8690
|
+
"name": "overlay",
|
8691
|
+
"default": "`true`",
|
8692
|
+
"description": "Whether to show overlay",
|
8693
|
+
"options": [],
|
8694
|
+
"value": {
|
8695
|
+
"type": "boolean",
|
8696
|
+
"kind": "expression"
|
8697
|
+
}
|
8698
|
+
},
|
8699
|
+
{
|
8700
|
+
"name": "overlay-class",
|
8701
|
+
"default": "-",
|
8702
|
+
"description": "Custom overlay class",
|
8703
|
+
"options": [],
|
8704
|
+
"value": {
|
8705
|
+
"type": "string | Array | object",
|
8706
|
+
"kind": "expression"
|
8707
|
+
}
|
8708
|
+
},
|
8709
|
+
{
|
8710
|
+
"name": "overlay-style",
|
8711
|
+
"default": "-",
|
8712
|
+
"description": "Custom overlay style",
|
8713
|
+
"options": [],
|
8714
|
+
"value": {
|
8715
|
+
"type": "object",
|
8716
|
+
"kind": "expression"
|
8717
|
+
}
|
8718
|
+
},
|
8719
|
+
{
|
8720
|
+
"name": "lock-scroll",
|
8721
|
+
"default": "`true`",
|
8722
|
+
"description": "Whether to lock background scroll",
|
8723
|
+
"options": [],
|
8724
|
+
"value": {
|
8725
|
+
"type": "boolean",
|
8726
|
+
"kind": "expression"
|
8727
|
+
}
|
8728
|
+
},
|
8729
|
+
{
|
8730
|
+
"name": "lazy-render",
|
8731
|
+
"default": "`true`",
|
8732
|
+
"description": "Whether to lazy render util appeared",
|
8733
|
+
"options": [],
|
8734
|
+
"value": {
|
8735
|
+
"type": "boolean",
|
8736
|
+
"kind": "expression"
|
8737
|
+
}
|
8738
|
+
},
|
8739
|
+
{
|
8740
|
+
"name": "close-on-popstate",
|
8741
|
+
"default": "`true`",
|
8742
|
+
"description": "Whether to close when popstate",
|
8743
|
+
"options": [],
|
8744
|
+
"value": {
|
8745
|
+
"type": "boolean",
|
8746
|
+
"kind": "expression"
|
8747
|
+
}
|
8748
|
+
},
|
8749
|
+
{
|
8750
|
+
"name": "close-on-click-overlay",
|
8751
|
+
"default": "`true`",
|
8752
|
+
"description": "Whether to close when overlay is clicked",
|
8753
|
+
"options": [],
|
8754
|
+
"value": {
|
8755
|
+
"type": "boolean",
|
8756
|
+
"kind": "expression"
|
8757
|
+
}
|
8758
|
+
},
|
8759
|
+
{
|
8760
|
+
"name": "safe-area-inset-bottom",
|
8761
|
+
"default": "`true`",
|
8762
|
+
"description": "Whether to enable bottom safe area adaptation",
|
8763
|
+
"options": [],
|
8764
|
+
"value": {
|
8765
|
+
"type": "boolean",
|
8766
|
+
"kind": "expression"
|
8767
|
+
}
|
8768
|
+
},
|
8769
|
+
{
|
8770
|
+
"name": "teleport",
|
8771
|
+
"default": "-",
|
8772
|
+
"description": "Specifies a target element where ShareSheet will be mounted",
|
8773
|
+
"options": [],
|
8774
|
+
"value": {
|
8775
|
+
"type": "string | Element",
|
8433
8776
|
"kind": "expression"
|
8434
8777
|
}
|
8435
8778
|
},
|
8436
8779
|
{
|
8437
|
-
"name": "
|
8438
|
-
"default": "
|
8439
|
-
"description": "
|
8780
|
+
"name": "before-close",
|
8781
|
+
"default": "-",
|
8782
|
+
"description": "Callback function before close",
|
8440
8783
|
"options": [],
|
8441
8784
|
"value": {
|
8442
|
-
"type": "boolean",
|
8785
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
8443
8786
|
"kind": "expression"
|
8444
8787
|
}
|
8445
8788
|
}
|
@@ -8657,250 +9000,10 @@
|
|
8657
9000
|
"kind": "expression"
|
8658
9001
|
}
|
8659
9002
|
},
|
8660
|
-
{
|
8661
|
-
"name": "clear-trigger",
|
8662
|
-
"default": "`focus`",
|
8663
|
-
"description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused",
|
8664
|
-
"options": [],
|
8665
|
-
"value": {
|
8666
|
-
"type": "string",
|
8667
|
-
"kind": "expression"
|
8668
|
-
}
|
8669
|
-
},
|
8670
|
-
{
|
8671
|
-
"name": "autofocus",
|
8672
|
-
"default": "`false`",
|
8673
|
-
"description": "Whether to auto focus, unsupported in iOS",
|
8674
|
-
"options": [],
|
8675
|
-
"value": {
|
8676
|
-
"type": "boolean",
|
8677
|
-
"kind": "expression"
|
8678
|
-
}
|
8679
|
-
},
|
8680
|
-
{
|
8681
|
-
"name": "show-action",
|
8682
|
-
"default": "`false`",
|
8683
|
-
"description": "Whether to show right action button",
|
8684
|
-
"options": [],
|
8685
|
-
"value": {
|
8686
|
-
"type": "boolean",
|
8687
|
-
"kind": "expression"
|
8688
|
-
}
|
8689
|
-
},
|
8690
|
-
{
|
8691
|
-
"name": "action-text",
|
8692
|
-
"default": "`Cancel`",
|
8693
|
-
"description": "Text of action button",
|
8694
|
-
"options": [],
|
8695
|
-
"value": {
|
8696
|
-
"type": "boolean",
|
8697
|
-
"kind": "expression"
|
8698
|
-
}
|
8699
|
-
},
|
8700
|
-
{
|
8701
|
-
"name": "disabled",
|
8702
|
-
"default": "`false`",
|
8703
|
-
"description": "Whether to disable field",
|
8704
|
-
"options": [],
|
8705
|
-
"value": {
|
8706
|
-
"type": "boolean",
|
8707
|
-
"kind": "expression"
|
8708
|
-
}
|
8709
|
-
},
|
8710
|
-
{
|
8711
|
-
"name": "readonly",
|
8712
|
-
"default": "`false`",
|
8713
|
-
"description": "Whether to be readonly",
|
8714
|
-
"options": [],
|
8715
|
-
"value": {
|
8716
|
-
"type": "boolean",
|
8717
|
-
"kind": "expression"
|
8718
|
-
}
|
8719
|
-
},
|
8720
|
-
{
|
8721
|
-
"name": "error",
|
8722
|
-
"default": "`false`",
|
8723
|
-
"description": "Whether to mark the input content in red",
|
8724
|
-
"options": [],
|
8725
|
-
"value": {
|
8726
|
-
"type": "boolean",
|
8727
|
-
"kind": "expression"
|
8728
|
-
}
|
8729
|
-
},
|
8730
|
-
{
|
8731
|
-
"name": "error-message",
|
8732
|
-
"default": "-",
|
8733
|
-
"description": "Error message",
|
8734
|
-
"options": [],
|
8735
|
-
"value": {
|
8736
|
-
"type": "string",
|
8737
|
-
"kind": "expression"
|
8738
|
-
}
|
8739
|
-
},
|
8740
|
-
{
|
8741
|
-
"name": "formatter",
|
8742
|
-
"default": "-",
|
8743
|
-
"description": "Input value formatter",
|
8744
|
-
"options": [],
|
8745
|
-
"value": {
|
8746
|
-
"type": "(val: string) => string",
|
8747
|
-
"kind": "expression"
|
8748
|
-
}
|
8749
|
-
},
|
8750
|
-
{
|
8751
|
-
"name": "format-trigger",
|
8752
|
-
"default": "`onChange`",
|
8753
|
-
"description": "When to format value, can be set to `onBlur`",
|
8754
|
-
"options": [],
|
8755
|
-
"value": {
|
8756
|
-
"type": "string",
|
8757
|
-
"kind": "expression"
|
8758
|
-
}
|
8759
|
-
},
|
8760
|
-
{
|
8761
|
-
"name": "input-align",
|
8762
|
-
"default": "`left`",
|
8763
|
-
"description": "Text align of field, can be set to `center` `right`",
|
8764
|
-
"options": [],
|
8765
|
-
"value": {
|
8766
|
-
"type": "string",
|
8767
|
-
"kind": "expression"
|
8768
|
-
}
|
8769
|
-
},
|
8770
|
-
{
|
8771
|
-
"name": "left-icon",
|
8772
|
-
"default": "`search`",
|
8773
|
-
"description": "Left icon name",
|
8774
|
-
"options": [],
|
8775
|
-
"value": {
|
8776
|
-
"type": "string",
|
8777
|
-
"kind": "expression"
|
8778
|
-
}
|
8779
|
-
},
|
8780
|
-
{
|
8781
|
-
"name": "right-icon",
|
8782
|
-
"default": "-",
|
8783
|
-
"description": "Right icon name",
|
8784
|
-
"options": [],
|
8785
|
-
"value": {
|
8786
|
-
"type": "string",
|
8787
|
-
"kind": "expression"
|
8788
|
-
}
|
8789
|
-
},
|
8790
|
-
{
|
8791
|
-
"name": "autocomplete",
|
8792
|
-
"default": "-",
|
8793
|
-
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element",
|
8794
|
-
"options": [],
|
8795
|
-
"value": {
|
8796
|
-
"type": "string",
|
8797
|
-
"kind": "expression"
|
8798
|
-
}
|
8799
|
-
}
|
8800
|
-
]
|
8801
|
-
},
|
8802
|
-
{
|
8803
|
-
"name": "van-share-sheet",
|
8804
|
-
"slots": [
|
8805
|
-
{
|
8806
|
-
"name": "title",
|
8807
|
-
"description": "Custom title"
|
8808
|
-
},
|
8809
|
-
{
|
8810
|
-
"name": "description",
|
8811
|
-
"description": "Custom description"
|
8812
|
-
},
|
8813
|
-
{
|
8814
|
-
"name": "cancel",
|
8815
|
-
"description": "Custom the content of cancel button"
|
8816
|
-
}
|
8817
|
-
],
|
8818
|
-
"events": [
|
8819
|
-
{
|
8820
|
-
"name": "select",
|
8821
|
-
"description": "Emitted when an option is clicked",
|
8822
|
-
"arguments": [
|
8823
|
-
{
|
8824
|
-
"name": "option",
|
8825
|
-
"type": "Option"
|
8826
|
-
},
|
8827
|
-
{
|
8828
|
-
"name": "index",
|
8829
|
-
"type": "number"
|
8830
|
-
}
|
8831
|
-
]
|
8832
|
-
},
|
8833
|
-
{
|
8834
|
-
"name": "cancel",
|
8835
|
-
"description": "Emitted when the cancel button is clicked",
|
8836
|
-
"arguments": []
|
8837
|
-
},
|
8838
|
-
{
|
8839
|
-
"name": "open",
|
8840
|
-
"description": "Emitted when opening ShareSheet",
|
8841
|
-
"arguments": []
|
8842
|
-
},
|
8843
|
-
{
|
8844
|
-
"name": "close",
|
8845
|
-
"description": "Emitted when closing ShareSheet",
|
8846
|
-
"arguments": []
|
8847
|
-
},
|
8848
|
-
{
|
8849
|
-
"name": "opened",
|
8850
|
-
"description": "Emitted when ShareSheet is opened",
|
8851
|
-
"arguments": []
|
8852
|
-
},
|
8853
|
-
{
|
8854
|
-
"name": "closed",
|
8855
|
-
"description": "Emitted when ShareSheet is closed",
|
8856
|
-
"arguments": []
|
8857
|
-
},
|
8858
|
-
{
|
8859
|
-
"name": "click-overlay",
|
8860
|
-
"description": "Emitted when overlay is clicked",
|
8861
|
-
"arguments": [
|
8862
|
-
{
|
8863
|
-
"name": "event",
|
8864
|
-
"type": "MouseEvent"
|
8865
|
-
}
|
8866
|
-
]
|
8867
|
-
}
|
8868
|
-
],
|
8869
|
-
"attributes": [
|
8870
|
-
{
|
8871
|
-
"name": "v-model:show",
|
8872
|
-
"default": "`false`",
|
8873
|
-
"description": "Whether to show ShareSheet",
|
8874
|
-
"options": [],
|
8875
|
-
"value": {
|
8876
|
-
"type": "boolean",
|
8877
|
-
"kind": "expression"
|
8878
|
-
}
|
8879
|
-
},
|
8880
|
-
{
|
8881
|
-
"name": "options",
|
8882
|
-
"default": "`[]`",
|
8883
|
-
"description": "Share options",
|
8884
|
-
"options": [],
|
8885
|
-
"value": {
|
8886
|
-
"type": "Option[]",
|
8887
|
-
"kind": "expression"
|
8888
|
-
}
|
8889
|
-
},
|
8890
|
-
{
|
8891
|
-
"name": "title",
|
8892
|
-
"default": "-",
|
8893
|
-
"description": "Title",
|
8894
|
-
"options": [],
|
8895
|
-
"value": {
|
8896
|
-
"type": "string",
|
8897
|
-
"kind": "expression"
|
8898
|
-
}
|
8899
|
-
},
|
8900
|
-
{
|
8901
|
-
"name": "cancel-text",
|
8902
|
-
"default": "`'Cancel'`",
|
8903
|
-
"description": "Cancel button text",
|
9003
|
+
{
|
9004
|
+
"name": "clear-trigger",
|
9005
|
+
"default": "`focus`",
|
9006
|
+
"description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused",
|
8904
9007
|
"options": [],
|
8905
9008
|
"value": {
|
8906
9009
|
"type": "string",
|
@@ -8908,39 +9011,39 @@
|
|
8908
9011
|
}
|
8909
9012
|
},
|
8910
9013
|
{
|
8911
|
-
"name": "
|
8912
|
-
"default": "
|
8913
|
-
"description": "
|
9014
|
+
"name": "autofocus",
|
9015
|
+
"default": "`false`",
|
9016
|
+
"description": "Whether to auto focus, unsupported in iOS",
|
8914
9017
|
"options": [],
|
8915
9018
|
"value": {
|
8916
|
-
"type": "
|
9019
|
+
"type": "boolean",
|
8917
9020
|
"kind": "expression"
|
8918
9021
|
}
|
8919
9022
|
},
|
8920
9023
|
{
|
8921
|
-
"name": "
|
8922
|
-
"default": "`
|
8923
|
-
"description": "
|
9024
|
+
"name": "show-action",
|
9025
|
+
"default": "`false`",
|
9026
|
+
"description": "Whether to show right action button",
|
8924
9027
|
"options": [],
|
8925
9028
|
"value": {
|
8926
|
-
"type": "
|
9029
|
+
"type": "boolean",
|
8927
9030
|
"kind": "expression"
|
8928
9031
|
}
|
8929
9032
|
},
|
8930
9033
|
{
|
8931
|
-
"name": "
|
8932
|
-
"default": "`
|
8933
|
-
"description": "
|
9034
|
+
"name": "action-text",
|
9035
|
+
"default": "`Cancel`",
|
9036
|
+
"description": "Text of action button",
|
8934
9037
|
"options": [],
|
8935
9038
|
"value": {
|
8936
|
-
"type": "
|
9039
|
+
"type": "string",
|
8937
9040
|
"kind": "expression"
|
8938
9041
|
}
|
8939
9042
|
},
|
8940
9043
|
{
|
8941
|
-
"name": "
|
8942
|
-
"default": "`
|
8943
|
-
"description": "Whether to
|
9044
|
+
"name": "disabled",
|
9045
|
+
"default": "`false`",
|
9046
|
+
"description": "Whether to disable field",
|
8944
9047
|
"options": [],
|
8945
9048
|
"value": {
|
8946
9049
|
"type": "boolean",
|
@@ -8948,92 +9051,92 @@
|
|
8948
9051
|
}
|
8949
9052
|
},
|
8950
9053
|
{
|
8951
|
-
"name": "
|
8952
|
-
"default": "
|
8953
|
-
"description": "
|
9054
|
+
"name": "readonly",
|
9055
|
+
"default": "`false`",
|
9056
|
+
"description": "Whether to be readonly",
|
8954
9057
|
"options": [],
|
8955
9058
|
"value": {
|
8956
|
-
"type": "
|
9059
|
+
"type": "boolean",
|
8957
9060
|
"kind": "expression"
|
8958
9061
|
}
|
8959
9062
|
},
|
8960
9063
|
{
|
8961
|
-
"name": "
|
8962
|
-
"default": "
|
8963
|
-
"description": "
|
9064
|
+
"name": "error",
|
9065
|
+
"default": "`false`",
|
9066
|
+
"description": "Whether to mark the input content in red",
|
8964
9067
|
"options": [],
|
8965
9068
|
"value": {
|
8966
|
-
"type": "
|
9069
|
+
"type": "boolean",
|
8967
9070
|
"kind": "expression"
|
8968
9071
|
}
|
8969
9072
|
},
|
8970
9073
|
{
|
8971
|
-
"name": "
|
8972
|
-
"default": "
|
8973
|
-
"description": "
|
9074
|
+
"name": "error-message",
|
9075
|
+
"default": "-",
|
9076
|
+
"description": "Error message",
|
8974
9077
|
"options": [],
|
8975
9078
|
"value": {
|
8976
|
-
"type": "
|
9079
|
+
"type": "string",
|
8977
9080
|
"kind": "expression"
|
8978
9081
|
}
|
8979
9082
|
},
|
8980
9083
|
{
|
8981
|
-
"name": "
|
8982
|
-
"default": "
|
8983
|
-
"description": "
|
9084
|
+
"name": "formatter",
|
9085
|
+
"default": "-",
|
9086
|
+
"description": "Input value formatter",
|
8984
9087
|
"options": [],
|
8985
9088
|
"value": {
|
8986
|
-
"type": "
|
9089
|
+
"type": "(val: string) => string",
|
8987
9090
|
"kind": "expression"
|
8988
9091
|
}
|
8989
9092
|
},
|
8990
9093
|
{
|
8991
|
-
"name": "
|
8992
|
-
"default": "`
|
8993
|
-
"description": "
|
9094
|
+
"name": "format-trigger",
|
9095
|
+
"default": "`onChange`",
|
9096
|
+
"description": "When to format value, can be set to `onBlur`",
|
8994
9097
|
"options": [],
|
8995
9098
|
"value": {
|
8996
|
-
"type": "
|
9099
|
+
"type": "string",
|
8997
9100
|
"kind": "expression"
|
8998
9101
|
}
|
8999
9102
|
},
|
9000
9103
|
{
|
9001
|
-
"name": "
|
9002
|
-
"default": "`
|
9003
|
-
"description": "
|
9104
|
+
"name": "input-align",
|
9105
|
+
"default": "`left`",
|
9106
|
+
"description": "Text align of field, can be set to `center` `right`",
|
9004
9107
|
"options": [],
|
9005
9108
|
"value": {
|
9006
|
-
"type": "
|
9109
|
+
"type": "string",
|
9007
9110
|
"kind": "expression"
|
9008
9111
|
}
|
9009
9112
|
},
|
9010
9113
|
{
|
9011
|
-
"name": "
|
9012
|
-
"default": "`
|
9013
|
-
"description": "
|
9114
|
+
"name": "left-icon",
|
9115
|
+
"default": "`search`",
|
9116
|
+
"description": "Left icon name",
|
9014
9117
|
"options": [],
|
9015
9118
|
"value": {
|
9016
|
-
"type": "
|
9119
|
+
"type": "string",
|
9017
9120
|
"kind": "expression"
|
9018
9121
|
}
|
9019
9122
|
},
|
9020
9123
|
{
|
9021
|
-
"name": "
|
9124
|
+
"name": "right-icon",
|
9022
9125
|
"default": "-",
|
9023
|
-
"description": "
|
9126
|
+
"description": "Right icon name",
|
9024
9127
|
"options": [],
|
9025
9128
|
"value": {
|
9026
|
-
"type": "string
|
9129
|
+
"type": "string",
|
9027
9130
|
"kind": "expression"
|
9028
9131
|
}
|
9029
9132
|
},
|
9030
9133
|
{
|
9031
|
-
"name": "
|
9134
|
+
"name": "autocomplete",
|
9032
9135
|
"default": "-",
|
9033
|
-
"description": "
|
9136
|
+
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element",
|
9034
9137
|
"options": [],
|
9035
9138
|
"value": {
|
9036
|
-
"type": "
|
9139
|
+
"type": "string",
|
9037
9140
|
"kind": "expression"
|
9038
9141
|
}
|
9039
9142
|
}
|
@@ -9467,6 +9570,68 @@
|
|
9467
9570
|
}
|
9468
9571
|
]
|
9469
9572
|
},
|
9573
|
+
{
|
9574
|
+
"name": "van-space",
|
9575
|
+
"slots": [
|
9576
|
+
{
|
9577
|
+
"name": "default",
|
9578
|
+
"description": "Default slot"
|
9579
|
+
}
|
9580
|
+
],
|
9581
|
+
"events": [],
|
9582
|
+
"attributes": [
|
9583
|
+
{
|
9584
|
+
"name": "direction",
|
9585
|
+
"default": "`horizontal`",
|
9586
|
+
"description": "Spacing direction",
|
9587
|
+
"options": [],
|
9588
|
+
"value": {
|
9589
|
+
"type": "vertical | horizontal",
|
9590
|
+
"kind": "expression"
|
9591
|
+
}
|
9592
|
+
},
|
9593
|
+
{
|
9594
|
+
"name": "size",
|
9595
|
+
"default": "`8px`",
|
9596
|
+
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9597
|
+
"options": [],
|
9598
|
+
"value": {
|
9599
|
+
"type": "number | string | number[] | string[]",
|
9600
|
+
"kind": "expression"
|
9601
|
+
}
|
9602
|
+
},
|
9603
|
+
{
|
9604
|
+
"name": "align",
|
9605
|
+
"default": "-",
|
9606
|
+
"description": "Spacing alignment",
|
9607
|
+
"options": [],
|
9608
|
+
"value": {
|
9609
|
+
"type": "start | end | center | baseline",
|
9610
|
+
"kind": "expression"
|
9611
|
+
}
|
9612
|
+
},
|
9613
|
+
{
|
9614
|
+
"name": "wrap",
|
9615
|
+
"default": "`false`",
|
9616
|
+
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9617
|
+
"options": [],
|
9618
|
+
"value": {
|
9619
|
+
"type": "boolean",
|
9620
|
+
"kind": "expression"
|
9621
|
+
}
|
9622
|
+
},
|
9623
|
+
{
|
9624
|
+
"name": "fill",
|
9625
|
+
"default": "`false`",
|
9626
|
+
"description": "Whether to render Space as a block element and fill the parent element",
|
9627
|
+
"options": [],
|
9628
|
+
"value": {
|
9629
|
+
"type": "boolean",
|
9630
|
+
"kind": "expression"
|
9631
|
+
}
|
9632
|
+
}
|
9633
|
+
]
|
9634
|
+
},
|
9470
9635
|
{
|
9471
9636
|
"name": "van-stepper",
|
9472
9637
|
"slots": [],
|
@@ -9575,7 +9740,7 @@
|
|
9575
9740
|
{
|
9576
9741
|
"name": "name",
|
9577
9742
|
"default": "-",
|
9578
|
-
"description": "Stepper name",
|
9743
|
+
"description": "Stepper name, usually a unique string or number",
|
9579
9744
|
"options": [],
|
9580
9745
|
"value": {
|
9581
9746
|
"type": "number | string",
|
@@ -10338,7 +10503,7 @@
|
|
10338
10503
|
{
|
10339
10504
|
"name": "name",
|
10340
10505
|
"default": "-",
|
10341
|
-
"description": "Identifier of SwipeCell",
|
10506
|
+
"description": "Identifier of SwipeCell, usually a unique string or number",
|
10342
10507
|
"options": [],
|
10343
10508
|
"value": {
|
10344
10509
|
"type": "number | string",
|
@@ -10984,194 +11149,71 @@
|
|
10984
11149
|
}
|
10985
11150
|
},
|
10986
11151
|
{
|
10987
|
-
"name": "route",
|
10988
|
-
"default": "`false`",
|
10989
|
-
"description": "Whether to enable route mode",
|
10990
|
-
"options": [],
|
10991
|
-
"value": {
|
10992
|
-
"type": "boolean",
|
10993
|
-
"kind": "expression"
|
10994
|
-
}
|
10995
|
-
},
|
10996
|
-
{
|
10997
|
-
"name": "placeholder",
|
10998
|
-
"default": "`false`",
|
10999
|
-
"description": "Whether to generate a placeholder element when fixed",
|
11000
|
-
"options": [],
|
11001
|
-
"value": {
|
11002
|
-
"type": "boolean",
|
11003
|
-
"kind": "expression"
|
11004
|
-
}
|
11005
|
-
},
|
11006
|
-
{
|
11007
|
-
"name": "safe-area-inset-bottom",
|
11008
|
-
"default": "`false`",
|
11009
|
-
"description": "Whether to enable bottom safe area adaptation",
|
11010
|
-
"options": [],
|
11011
|
-
"value": {
|
11012
|
-
"type": "boolean",
|
11013
|
-
"kind": "expression"
|
11014
|
-
}
|
11015
|
-
},
|
11016
|
-
{
|
11017
|
-
"name": "before-change",
|
11018
|
-
"default": "-",
|
11019
|
-
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
11020
|
-
"options": [],
|
11021
|
-
"value": {
|
11022
|
-
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
11023
|
-
"kind": "expression"
|
11024
|
-
}
|
11025
|
-
}
|
11026
|
-
]
|
11027
|
-
},
|
11028
|
-
{
|
11029
|
-
"name": "van-tabbar-item",
|
11030
|
-
"slots": [
|
11031
|
-
{
|
11032
|
-
"name": "icon",
|
11033
|
-
"description": "Custom icon"
|
11034
|
-
}
|
11035
|
-
],
|
11036
|
-
"events": [],
|
11037
|
-
"attributes": [
|
11038
|
-
{
|
11039
|
-
"name": "name",
|
11040
|
-
"default": "Item index",
|
11041
|
-
"description": "Identifier",
|
11042
|
-
"options": [],
|
11043
|
-
"value": {
|
11044
|
-
"type": "number | string",
|
11045
|
-
"kind": "expression"
|
11046
|
-
}
|
11047
|
-
},
|
11048
|
-
{
|
11049
|
-
"name": "icon",
|
11050
|
-
"default": "-",
|
11051
|
-
"description": "Icon name",
|
11052
|
-
"options": [],
|
11053
|
-
"value": {
|
11054
|
-
"type": "string",
|
11055
|
-
"kind": "expression"
|
11056
|
-
}
|
11057
|
-
},
|
11058
|
-
{
|
11059
|
-
"name": "icon-prefix",
|
11060
|
-
"default": "`van-icon`",
|
11061
|
-
"description": "Icon className prefix",
|
11062
|
-
"options": [],
|
11063
|
-
"value": {
|
11064
|
-
"type": "string",
|
11065
|
-
"kind": "expression"
|
11066
|
-
}
|
11067
|
-
},
|
11068
|
-
{
|
11069
|
-
"name": "dot",
|
11070
|
-
"default": "-",
|
11071
|
-
"description": "Whether to show red dot",
|
11072
|
-
"options": [],
|
11073
|
-
"value": {
|
11074
|
-
"type": "boolean",
|
11075
|
-
"kind": "expression"
|
11076
|
-
}
|
11077
|
-
},
|
11078
|
-
{
|
11079
|
-
"name": "badge",
|
11080
|
-
"default": "`''`",
|
11081
|
-
"description": "Content of the badge",
|
11082
|
-
"options": [],
|
11083
|
-
"value": {
|
11084
|
-
"type": "number | string",
|
11085
|
-
"kind": "expression"
|
11086
|
-
}
|
11087
|
-
},
|
11088
|
-
{
|
11089
|
-
"name": "badge-props",
|
11090
|
-
"default": "-",
|
11091
|
-
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
11152
|
+
"name": "route",
|
11153
|
+
"default": "`false`",
|
11154
|
+
"description": "Whether to enable route mode",
|
11092
11155
|
"options": [],
|
11093
11156
|
"value": {
|
11094
|
-
"type": "
|
11157
|
+
"type": "boolean",
|
11095
11158
|
"kind": "expression"
|
11096
11159
|
}
|
11097
11160
|
},
|
11098
11161
|
{
|
11099
|
-
"name": "
|
11100
|
-
"default": "
|
11101
|
-
"description": "
|
11162
|
+
"name": "placeholder",
|
11163
|
+
"default": "`false`",
|
11164
|
+
"description": "Whether to generate a placeholder element when fixed",
|
11102
11165
|
"options": [],
|
11103
11166
|
"value": {
|
11104
|
-
"type": "
|
11167
|
+
"type": "boolean",
|
11105
11168
|
"kind": "expression"
|
11106
11169
|
}
|
11107
11170
|
},
|
11108
11171
|
{
|
11109
|
-
"name": "
|
11110
|
-
"default": "
|
11111
|
-
"description": "
|
11172
|
+
"name": "safe-area-inset-bottom",
|
11173
|
+
"default": "`false`",
|
11174
|
+
"description": "Whether to enable bottom safe area adaptation",
|
11112
11175
|
"options": [],
|
11113
11176
|
"value": {
|
11114
|
-
"type": "
|
11177
|
+
"type": "boolean",
|
11115
11178
|
"kind": "expression"
|
11116
11179
|
}
|
11117
11180
|
},
|
11118
11181
|
{
|
11119
|
-
"name": "
|
11120
|
-
"default": "
|
11121
|
-
"description": "
|
11182
|
+
"name": "before-change",
|
11183
|
+
"default": "-",
|
11184
|
+
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
11122
11185
|
"options": [],
|
11123
11186
|
"value": {
|
11124
|
-
"type": "boolean",
|
11187
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
11125
11188
|
"kind": "expression"
|
11126
11189
|
}
|
11127
11190
|
}
|
11128
11191
|
]
|
11129
11192
|
},
|
11130
11193
|
{
|
11131
|
-
"name": "van-
|
11194
|
+
"name": "van-tabbar-item",
|
11132
11195
|
"slots": [
|
11133
11196
|
{
|
11134
|
-
"name": "
|
11135
|
-
"description": "
|
11136
|
-
}
|
11137
|
-
],
|
11138
|
-
"events": [
|
11139
|
-
{
|
11140
|
-
"name": "click",
|
11141
|
-
"description": "Emitted when component is clicked",
|
11142
|
-
"arguments": [
|
11143
|
-
{
|
11144
|
-
"name": "event",
|
11145
|
-
"type": "MouseEvent"
|
11146
|
-
}
|
11147
|
-
]
|
11148
|
-
},
|
11149
|
-
{
|
11150
|
-
"name": "close",
|
11151
|
-
"description": "Emitted when close icon is clicked",
|
11152
|
-
"arguments": [
|
11153
|
-
{
|
11154
|
-
"name": "event",
|
11155
|
-
"type": "MouseEvent"
|
11156
|
-
}
|
11157
|
-
]
|
11197
|
+
"name": "icon",
|
11198
|
+
"description": "Custom icon"
|
11158
11199
|
}
|
11159
11200
|
],
|
11201
|
+
"events": [],
|
11160
11202
|
"attributes": [
|
11161
11203
|
{
|
11162
|
-
"name": "
|
11163
|
-
"default": "
|
11164
|
-
"description": "
|
11204
|
+
"name": "name",
|
11205
|
+
"default": "Item index",
|
11206
|
+
"description": "Identifier",
|
11165
11207
|
"options": [],
|
11166
11208
|
"value": {
|
11167
|
-
"type": "string",
|
11209
|
+
"type": "number | string",
|
11168
11210
|
"kind": "expression"
|
11169
11211
|
}
|
11170
11212
|
},
|
11171
11213
|
{
|
11172
|
-
"name": "
|
11214
|
+
"name": "icon",
|
11173
11215
|
"default": "-",
|
11174
|
-
"description": "
|
11216
|
+
"description": "Icon name",
|
11175
11217
|
"options": [],
|
11176
11218
|
"value": {
|
11177
11219
|
"type": "string",
|
@@ -11179,9 +11221,9 @@
|
|
11179
11221
|
}
|
11180
11222
|
},
|
11181
11223
|
{
|
11182
|
-
"name": "
|
11183
|
-
"default": "-",
|
11184
|
-
"description": "
|
11224
|
+
"name": "icon-prefix",
|
11225
|
+
"default": "`van-icon`",
|
11226
|
+
"description": "Icon className prefix",
|
11185
11227
|
"options": [],
|
11186
11228
|
"value": {
|
11187
11229
|
"type": "string",
|
@@ -11189,9 +11231,9 @@
|
|
11189
11231
|
}
|
11190
11232
|
},
|
11191
11233
|
{
|
11192
|
-
"name": "
|
11193
|
-
"default": "
|
11194
|
-
"description": "Whether to show
|
11234
|
+
"name": "dot",
|
11235
|
+
"default": "-",
|
11236
|
+
"description": "Whether to show red dot",
|
11195
11237
|
"options": [],
|
11196
11238
|
"value": {
|
11197
11239
|
"type": "boolean",
|
@@ -11199,49 +11241,49 @@
|
|
11199
11241
|
}
|
11200
11242
|
},
|
11201
11243
|
{
|
11202
|
-
"name": "
|
11203
|
-
"default": "`
|
11204
|
-
"description": "
|
11244
|
+
"name": "badge",
|
11245
|
+
"default": "`''`",
|
11246
|
+
"description": "Content of the badge",
|
11205
11247
|
"options": [],
|
11206
11248
|
"value": {
|
11207
|
-
"type": "
|
11249
|
+
"type": "number | string",
|
11208
11250
|
"kind": "expression"
|
11209
11251
|
}
|
11210
11252
|
},
|
11211
11253
|
{
|
11212
|
-
"name": "
|
11213
|
-
"default": "
|
11214
|
-
"description": "
|
11254
|
+
"name": "badge-props",
|
11255
|
+
"default": "-",
|
11256
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
11215
11257
|
"options": [],
|
11216
11258
|
"value": {
|
11217
|
-
"type": "
|
11259
|
+
"type": "BadgeProps",
|
11218
11260
|
"kind": "expression"
|
11219
11261
|
}
|
11220
11262
|
},
|
11221
11263
|
{
|
11222
|
-
"name": "
|
11223
|
-
"default": "
|
11224
|
-
"description": "
|
11264
|
+
"name": "url",
|
11265
|
+
"default": "-",
|
11266
|
+
"description": "Link",
|
11225
11267
|
"options": [],
|
11226
11268
|
"value": {
|
11227
|
-
"type": "
|
11269
|
+
"type": "string",
|
11228
11270
|
"kind": "expression"
|
11229
11271
|
}
|
11230
11272
|
},
|
11231
11273
|
{
|
11232
|
-
"name": "
|
11233
|
-
"default": "
|
11234
|
-
"description": "
|
11274
|
+
"name": "to",
|
11275
|
+
"default": "-",
|
11276
|
+
"description": "Target route of the link, same as to of vue-router",
|
11235
11277
|
"options": [],
|
11236
11278
|
"value": {
|
11237
|
-
"type": "string",
|
11279
|
+
"type": "string | object",
|
11238
11280
|
"kind": "expression"
|
11239
11281
|
}
|
11240
11282
|
},
|
11241
11283
|
{
|
11242
|
-
"name": "
|
11284
|
+
"name": "replace",
|
11243
11285
|
"default": "`false`",
|
11244
|
-
"description": "
|
11286
|
+
"description": "If true, the navigation will not leave a history record",
|
11245
11287
|
"options": [],
|
11246
11288
|
"value": {
|
11247
11289
|
"type": "boolean",
|
@@ -11254,7 +11296,7 @@
|
|
11254
11296
|
"name": "van-time-picker",
|
11255
11297
|
"slots": [
|
11256
11298
|
{
|
11257
|
-
"name": "
|
11299
|
+
"name": "toolbar",
|
11258
11300
|
"description": "Custom toolbar content"
|
11259
11301
|
},
|
11260
11302
|
{
|
@@ -11504,6 +11546,140 @@
|
|
11504
11546
|
}
|
11505
11547
|
]
|
11506
11548
|
},
|
11549
|
+
{
|
11550
|
+
"name": "van-tag",
|
11551
|
+
"slots": [
|
11552
|
+
{
|
11553
|
+
"name": "default",
|
11554
|
+
"description": "Default slot"
|
11555
|
+
}
|
11556
|
+
],
|
11557
|
+
"events": [
|
11558
|
+
{
|
11559
|
+
"name": "click",
|
11560
|
+
"description": "Emitted when component is clicked",
|
11561
|
+
"arguments": [
|
11562
|
+
{
|
11563
|
+
"name": "event",
|
11564
|
+
"type": "MouseEvent"
|
11565
|
+
}
|
11566
|
+
]
|
11567
|
+
},
|
11568
|
+
{
|
11569
|
+
"name": "close",
|
11570
|
+
"description": "Emitted when close icon is clicked",
|
11571
|
+
"arguments": [
|
11572
|
+
{
|
11573
|
+
"name": "event",
|
11574
|
+
"type": "MouseEvent"
|
11575
|
+
}
|
11576
|
+
]
|
11577
|
+
}
|
11578
|
+
],
|
11579
|
+
"attributes": [
|
11580
|
+
{
|
11581
|
+
"name": "type",
|
11582
|
+
"default": "`default`",
|
11583
|
+
"description": "Type, can be set to `primary` `success` `danger` `warning`",
|
11584
|
+
"options": [],
|
11585
|
+
"value": {
|
11586
|
+
"type": "string",
|
11587
|
+
"kind": "expression"
|
11588
|
+
}
|
11589
|
+
},
|
11590
|
+
{
|
11591
|
+
"name": "size",
|
11592
|
+
"default": "-",
|
11593
|
+
"description": "Size, can be set to `large` `medium`",
|
11594
|
+
"options": [],
|
11595
|
+
"value": {
|
11596
|
+
"type": "string",
|
11597
|
+
"kind": "expression"
|
11598
|
+
}
|
11599
|
+
},
|
11600
|
+
{
|
11601
|
+
"name": "color",
|
11602
|
+
"default": "-",
|
11603
|
+
"description": "Custom color",
|
11604
|
+
"options": [],
|
11605
|
+
"value": {
|
11606
|
+
"type": "string",
|
11607
|
+
"kind": "expression"
|
11608
|
+
}
|
11609
|
+
},
|
11610
|
+
{
|
11611
|
+
"name": "show",
|
11612
|
+
"default": "`true`",
|
11613
|
+
"description": "Whether to show tag",
|
11614
|
+
"options": [],
|
11615
|
+
"value": {
|
11616
|
+
"type": "boolean",
|
11617
|
+
"kind": "expression"
|
11618
|
+
}
|
11619
|
+
},
|
11620
|
+
{
|
11621
|
+
"name": "plain",
|
11622
|
+
"default": "`false`",
|
11623
|
+
"description": "Whether to be plain style",
|
11624
|
+
"options": [],
|
11625
|
+
"value": {
|
11626
|
+
"type": "boolean",
|
11627
|
+
"kind": "expression"
|
11628
|
+
}
|
11629
|
+
},
|
11630
|
+
{
|
11631
|
+
"name": "round",
|
11632
|
+
"default": "`false`",
|
11633
|
+
"description": "Whether to be round style",
|
11634
|
+
"options": [],
|
11635
|
+
"value": {
|
11636
|
+
"type": "boolean",
|
11637
|
+
"kind": "expression"
|
11638
|
+
}
|
11639
|
+
},
|
11640
|
+
{
|
11641
|
+
"name": "mark",
|
11642
|
+
"default": "`false`",
|
11643
|
+
"description": "Whether to be mark style",
|
11644
|
+
"options": [],
|
11645
|
+
"value": {
|
11646
|
+
"type": "boolean",
|
11647
|
+
"kind": "expression"
|
11648
|
+
}
|
11649
|
+
},
|
11650
|
+
{
|
11651
|
+
"name": "text-color",
|
11652
|
+
"default": "`white`",
|
11653
|
+
"description": "Text color",
|
11654
|
+
"options": [],
|
11655
|
+
"value": {
|
11656
|
+
"type": "string",
|
11657
|
+
"kind": "expression"
|
11658
|
+
}
|
11659
|
+
},
|
11660
|
+
{
|
11661
|
+
"name": "closeable",
|
11662
|
+
"default": "`false`",
|
11663
|
+
"description": "Whether to be closeable",
|
11664
|
+
"options": [],
|
11665
|
+
"value": {
|
11666
|
+
"type": "boolean",
|
11667
|
+
"kind": "expression"
|
11668
|
+
}
|
11669
|
+
}
|
11670
|
+
]
|
11671
|
+
},
|
11672
|
+
{
|
11673
|
+
"name": "van-toast",
|
11674
|
+
"slots": [
|
11675
|
+
{
|
11676
|
+
"name": "message",
|
11677
|
+
"description": "Custom message"
|
11678
|
+
}
|
11679
|
+
],
|
11680
|
+
"events": [],
|
11681
|
+
"attributes": []
|
11682
|
+
},
|
11507
11683
|
{
|
11508
11684
|
"name": "van-tree-select",
|
11509
11685
|
"slots": [
|
@@ -11693,7 +11869,7 @@
|
|
11693
11869
|
{
|
11694
11870
|
"name": "name",
|
11695
11871
|
"default": "-",
|
11696
|
-
"description": "Input name",
|
11872
|
+
"description": "Input name, usually a unique string or number",
|
11697
11873
|
"options": [],
|
11698
11874
|
"value": {
|
11699
11875
|
"type": "number | string",
|