vant 4.9.5 → 4.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-bar/ActionBar.d.ts +4 -4
- package/es/action-bar/ActionBar.mjs +1 -2
- package/es/action-bar/index.d.ts +4 -4
- package/es/action-bar-button/ActionBarButton.d.ts +7 -7
- package/es/action-bar-button/ActionBarButton.mjs +1 -2
- package/es/action-bar-button/index.d.ts +6 -6
- package/es/action-bar-icon/ActionBarIcon.d.ts +7 -7
- package/es/action-bar-icon/ActionBarIcon.mjs +1 -2
- package/es/action-bar-icon/index.d.ts +6 -6
- package/es/action-sheet/ActionSheet.d.ts +8 -8
- package/es/action-sheet/ActionSheet.mjs +1 -2
- package/es/action-sheet/index.d.ts +7 -7
- package/es/address-edit/AddressEdit.d.ts +5 -5
- package/es/address-edit/AddressEdit.mjs +1 -2
- package/es/address-edit/AddressEditDetail.d.ts +5 -5
- package/es/address-edit/AddressEditDetail.mjs +1 -2
- package/es/address-edit/index.d.ts +5 -5
- package/es/address-list/AddressList.d.ts +8 -8
- package/es/address-list/AddressList.mjs +1 -2
- package/es/address-list/AddressListItem.d.ts +5 -5
- package/es/address-list/AddressListItem.mjs +1 -2
- package/es/address-list/index.d.ts +7 -7
- package/es/area/Area.d.ts +5 -5
- package/es/area/Area.mjs +1 -2
- package/es/area/index.d.ts +5 -5
- package/es/back-top/BackTop.d.ts +12 -12
- package/es/back-top/BackTop.mjs +1 -2
- package/es/back-top/index.d.ts +9 -9
- package/es/badge/Badge.d.ts +4 -4
- package/es/badge/Badge.mjs +1 -2
- package/es/badge/index.d.ts +4 -4
- package/es/barrage/Barrage.d.ts +5 -5
- package/es/barrage/Barrage.mjs +1 -2
- package/es/barrage/index.d.ts +5 -5
- package/es/button/Button.d.ts +8 -8
- package/es/button/Button.mjs +1 -2
- package/es/button/index.d.ts +7 -7
- package/es/calendar/Calendar.d.ts +9 -9
- package/es/calendar/Calendar.mjs +1 -2
- package/es/calendar/CalendarDay.d.ts +5 -5
- package/es/calendar/CalendarDay.mjs +1 -2
- package/es/calendar/CalendarHeader.d.ts +5 -5
- package/es/calendar/CalendarHeader.mjs +1 -2
- package/es/calendar/CalendarMonth.d.ts +5 -5
- package/es/calendar/CalendarMonth.mjs +1 -2
- package/es/calendar/index.d.ts +7 -7
- package/es/calendar/utils.d.ts +1 -1
- package/es/card/Card.d.ts +5 -5
- package/es/card/Card.mjs +1 -2
- package/es/card/index.d.ts +5 -5
- package/es/cascader/Cascader.d.ts +6 -6
- package/es/cascader/Cascader.mjs +2 -4
- package/es/cascader/index.d.ts +6 -6
- package/es/cell/Cell.d.ts +7 -7
- package/es/cell/Cell.mjs +1 -2
- package/es/cell/index.d.ts +6 -6
- package/es/cell-group/CellGroup.d.ts +4 -4
- package/es/cell-group/CellGroup.mjs +1 -2
- package/es/cell-group/index.d.ts +4 -4
- package/es/checkbox/Checkbox.d.ts +5 -5
- package/es/checkbox/Checkbox.mjs +3 -6
- package/es/checkbox/Checker.d.ts +7 -7
- package/es/checkbox/Checker.mjs +1 -2
- package/es/checkbox/index.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.mjs +1 -2
- package/es/checkbox-group/index.d.ts +5 -5
- package/es/circle/Circle.d.ts +5 -5
- package/es/circle/Circle.mjs +1 -2
- package/es/circle/index.d.ts +5 -5
- package/es/col/Col.d.ts +4 -4
- package/es/col/Col.mjs +1 -2
- package/es/col/index.d.ts +4 -4
- package/es/collapse/Collapse.d.ts +5 -5
- package/es/collapse/Collapse.mjs +1 -2
- package/es/collapse/index.d.ts +5 -5
- package/es/collapse-item/CollapseItem.d.ts +4 -4
- package/es/collapse-item/CollapseItem.mjs +1 -2
- package/es/collapse-item/index.d.ts +4 -4
- package/es/composables/use-height.d.ts +1 -1
- package/es/composables/use-lazy-render.d.ts +0 -1
- package/es/composables/use-placeholder.d.ts +0 -1
- package/es/composables/use-refs.d.ts +1 -1
- package/es/composables/use-route.d.ts +2 -1
- package/es/composables/use-sync-prop-ref.d.ts +1 -1
- package/es/composables/use-touch.d.ts +8 -8
- package/es/config-provider/ConfigProvider.d.ts +4 -4
- package/es/config-provider/ConfigProvider.mjs +1 -2
- package/es/config-provider/index.d.ts +4 -4
- package/es/contact-card/ContactCard.d.ts +5 -5
- package/es/contact-card/ContactCard.mjs +1 -2
- package/es/contact-card/index.d.ts +5 -5
- package/es/contact-edit/ContactEdit.d.ts +5 -5
- package/es/contact-edit/ContactEdit.mjs +1 -2
- package/es/contact-edit/index.d.ts +5 -5
- package/es/contact-list/ContactList.d.ts +4 -4
- package/es/contact-list/ContactList.mjs +1 -2
- package/es/contact-list/index.d.ts +4 -4
- package/es/count-down/CountDown.d.ts +5 -5
- package/es/count-down/CountDown.mjs +1 -2
- package/es/count-down/index.d.ts +5 -5
- package/es/coupon/Coupon.d.ts +4 -4
- package/es/coupon/Coupon.mjs +1 -2
- package/es/coupon/index.d.ts +4 -4
- package/es/coupon-cell/CouponCell.d.ts +4 -4
- package/es/coupon-cell/CouponCell.mjs +1 -2
- package/es/coupon-cell/index.d.ts +4 -4
- package/es/coupon-list/CouponList.d.ts +5 -5
- package/es/coupon-list/CouponList.mjs +1 -2
- package/es/coupon-list/index.d.ts +5 -5
- package/es/date-picker/DatePicker.d.ts +8 -8
- package/es/date-picker/DatePicker.mjs +1 -2
- package/es/date-picker/index.d.ts +7 -7
- package/es/date-picker/utils.d.ts +2 -1
- package/es/dialog/Dialog.d.ts +10 -10
- package/es/dialog/Dialog.mjs +1 -2
- package/es/dialog/function-call.mjs +1 -1
- package/es/dialog/index.d.ts +9 -9
- package/es/dialog/types.d.ts +0 -1
- package/es/divider/Divider.d.ts +4 -4
- package/es/divider/Divider.mjs +1 -2
- package/es/divider/index.d.ts +4 -4
- package/es/dropdown-item/DropdownItem.d.ts +10 -10
- package/es/dropdown-item/DropdownItem.mjs +2 -2
- package/es/dropdown-item/index.d.ts +8 -8
- package/es/dropdown-menu/DropdownMenu.d.ts +4 -4
- package/es/dropdown-menu/DropdownMenu.mjs +2 -2
- package/es/dropdown-menu/index.d.ts +4 -4
- package/es/empty/Empty.d.ts +4 -4
- package/es/empty/Empty.mjs +40 -20
- package/es/empty/index.d.ts +4 -4
- package/es/field/Field.d.ts +5 -5
- package/es/field/Field.mjs +3 -2
- package/es/field/index.d.ts +5 -5
- package/es/floating-bubble/FloatingBubble.d.ts +9 -9
- package/es/floating-bubble/FloatingBubble.mjs +9 -18
- package/es/floating-bubble/index.d.ts +7 -7
- package/es/floating-panel/FloatingPanel.d.ts +5 -5
- package/es/floating-panel/FloatingPanel.mjs +2 -4
- package/es/floating-panel/index.d.ts +5 -5
- package/es/form/Form.d.ts +5 -5
- package/es/form/Form.mjs +1 -2
- package/es/form/index.d.ts +5 -5
- package/es/grid/Grid.d.ts +4 -4
- package/es/grid/Grid.mjs +1 -2
- package/es/grid/index.d.ts +4 -4
- package/es/grid-item/GridItem.d.ts +7 -7
- package/es/grid-item/GridItem.mjs +1 -2
- package/es/grid-item/index.d.ts +6 -6
- package/es/highlight/Highlight.d.ts +4 -4
- package/es/highlight/Highlight.mjs +1 -2
- package/es/highlight/index.d.ts +4 -4
- package/es/icon/Icon.d.ts +4 -4
- package/es/icon/Icon.mjs +1 -2
- package/es/icon/index.d.ts +4 -4
- package/es/image/Image.d.ts +19 -18
- package/es/image/Image.mjs +1 -2
- package/es/image/index.d.ts +13 -13
- package/es/image-preview/ImagePreview.d.ts +9 -9
- package/es/image-preview/ImagePreview.mjs +1 -2
- package/es/image-preview/ImagePreviewItem.d.ts +5 -5
- package/es/image-preview/ImagePreviewItem.mjs +4 -8
- package/es/image-preview/function-call.mjs +1 -1
- package/es/image-preview/index.d.ts +7 -7
- package/es/index-anchor/IndexAnchor.d.ts +3 -3
- package/es/index-anchor/IndexAnchor.mjs +1 -2
- package/es/index-anchor/index.d.ts +3 -3
- package/es/index-bar/IndexBar.d.ts +9 -9
- package/es/index-bar/IndexBar.mjs +1 -2
- package/es/index-bar/index.d.ts +7 -7
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/lazyload/vue-lazyload/lazy-container.mjs +2 -4
- package/es/lazyload/vue-lazyload/lazy.mjs +8 -16
- package/es/lazyload/vue-lazyload/listener.mjs +2 -4
- package/es/lazyload/vue-lazyload/util.mjs +5 -10
- package/es/list/List.d.ts +5 -5
- package/es/list/List.mjs +1 -2
- package/es/list/index.d.ts +5 -5
- package/es/loading/Loading.d.ts +4 -4
- package/es/loading/Loading.mjs +1 -2
- package/es/loading/index.d.ts +4 -4
- package/es/locale/index.d.ts +1 -1
- package/es/nav-bar/NavBar.d.ts +5 -5
- package/es/nav-bar/NavBar.mjs +1 -2
- package/es/nav-bar/index.d.ts +5 -5
- package/es/notice-bar/NoticeBar.d.ts +5 -5
- package/es/notice-bar/NoticeBar.mjs +1 -2
- package/es/notice-bar/index.d.ts +5 -5
- package/es/notify/Notify.d.ts +8 -8
- package/es/notify/Notify.mjs +1 -2
- package/es/notify/function-call.mjs +1 -1
- package/es/notify/index.d.ts +7 -7
- package/es/number-keyboard/NumberKeyboard.d.ts +10 -10
- package/es/number-keyboard/NumberKeyboard.mjs +7 -3
- package/es/number-keyboard/NumberKeyboardKey.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboardKey.mjs +1 -2
- package/es/number-keyboard/index.d.ts +8 -8
- package/es/overlay/Overlay.d.ts +8 -8
- package/es/overlay/Overlay.mjs +1 -2
- package/es/overlay/index.d.ts +6 -6
- package/es/pagination/Pagination.d.ts +5 -5
- package/es/pagination/Pagination.mjs +1 -2
- package/es/pagination/index.d.ts +5 -5
- package/es/password-input/PasswordInput.d.ts +5 -5
- package/es/password-input/PasswordInput.mjs +1 -2
- package/es/password-input/index.d.ts +5 -5
- package/es/picker/Picker.d.ts +5 -5
- package/es/picker/Picker.mjs +1 -2
- package/es/picker/PickerColumn.d.ts +5 -5
- package/es/picker/PickerColumn.mjs +2 -4
- package/es/picker/PickerToolbar.d.ts +4 -4
- package/es/picker/PickerToolbar.mjs +1 -2
- package/es/picker/index.d.ts +5 -5
- package/es/picker/utils.d.ts +1 -1
- package/es/picker/utils.mjs +2 -4
- package/es/picker-group/PickerGroup.d.ts +5 -5
- package/es/picker-group/PickerGroup.mjs +1 -2
- package/es/picker-group/index.d.ts +5 -5
- package/es/popover/Popover.d.ts +9 -9
- package/es/popover/Popover.mjs +1 -2
- package/es/popover/index.d.ts +7 -7
- package/es/popup/Popup.d.ts +9 -9
- package/es/popup/Popup.mjs +2 -4
- package/es/popup/index.d.ts +8 -8
- package/es/popup/shared.d.ts +2 -2
- package/es/progress/Progress.d.ts +4 -4
- package/es/progress/Progress.mjs +1 -2
- package/es/progress/index.d.ts +4 -4
- package/es/pull-refresh/PullRefresh.d.ts +5 -5
- package/es/pull-refresh/PullRefresh.mjs +1 -2
- package/es/pull-refresh/index.d.ts +5 -5
- package/es/radio/Radio.d.ts +5 -5
- package/es/radio/Radio.mjs +1 -2
- package/es/radio/index.d.ts +5 -5
- package/es/radio-group/RadioGroup.d.ts +8 -8
- package/es/radio-group/RadioGroup.mjs +1 -2
- package/es/radio-group/index.d.ts +7 -7
- package/es/rate/Rate.d.ts +5 -5
- package/es/rate/Rate.mjs +2 -4
- package/es/rate/index.d.ts +5 -5
- package/es/rolling-text/RollingText.d.ts +4 -4
- package/es/rolling-text/RollingText.mjs +4 -8
- package/es/rolling-text/RollingTextItem.d.ts +4 -4
- package/es/rolling-text/RollingTextItem.mjs +1 -2
- package/es/rolling-text/index.d.ts +4 -4
- package/es/row/Row.d.ts +4 -4
- package/es/row/Row.mjs +2 -4
- package/es/row/index.d.ts +4 -4
- package/es/search/Search.d.ts +5 -5
- package/es/search/Search.mjs +3 -3
- package/es/search/index.d.ts +5 -5
- package/es/share-sheet/ShareSheet.d.ts +8 -8
- package/es/share-sheet/ShareSheet.mjs +1 -2
- package/es/share-sheet/index.d.ts +7 -7
- package/es/sidebar/Sidebar.d.ts +5 -5
- package/es/sidebar/Sidebar.mjs +1 -2
- package/es/sidebar/index.d.ts +5 -5
- package/es/sidebar-item/SidebarItem.d.ts +8 -8
- package/es/sidebar-item/SidebarItem.mjs +1 -2
- package/es/sidebar-item/index.d.ts +7 -7
- package/es/signature/Signature.d.ts +5 -5
- package/es/signature/Signature.mjs +2 -4
- package/es/signature/index.d.ts +5 -5
- package/es/skeleton/Skeleton.d.ts +5 -5
- package/es/skeleton/Skeleton.mjs +1 -2
- package/es/skeleton/index.d.ts +5 -5
- package/es/skeleton-avatar/SkeletonAvatar.d.ts +4 -4
- package/es/skeleton-avatar/SkeletonAvatar.mjs +1 -2
- package/es/skeleton-avatar/index.d.ts +4 -4
- package/es/skeleton-image/SkeletonImage.d.ts +4 -4
- package/es/skeleton-image/SkeletonImage.mjs +1 -2
- package/es/skeleton-image/index.d.ts +4 -4
- package/es/skeleton-paragraph/SkeletonParagraph.d.ts +4 -4
- package/es/skeleton-paragraph/SkeletonParagraph.mjs +1 -2
- package/es/skeleton-paragraph/index.d.ts +4 -4
- package/es/skeleton-title/SkeletonTitle.d.ts +4 -4
- package/es/skeleton-title/SkeletonTitle.mjs +1 -2
- package/es/skeleton-title/index.d.ts +4 -4
- package/es/slider/Slider.d.ts +5 -5
- package/es/slider/Slider.mjs +1 -2
- package/es/slider/index.d.ts +5 -5
- package/es/space/Space.d.ts +10 -10
- package/es/space/Space.mjs +1 -2
- package/es/space/index.d.ts +8 -8
- package/es/step/Step.d.ts +1 -1
- package/es/step/Step.mjs +1 -2
- package/es/step/index.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +5 -5
- package/es/stepper/Stepper.mjs +1 -2
- package/es/stepper/index.d.ts +5 -5
- package/es/steps/Steps.d.ts +5 -5
- package/es/steps/Steps.mjs +1 -2
- package/es/steps/index.d.ts +5 -5
- package/es/sticky/Sticky.d.ts +5 -5
- package/es/sticky/Sticky.mjs +1 -2
- package/es/sticky/index.d.ts +5 -5
- package/es/submit-bar/SubmitBar.d.ts +5 -5
- package/es/submit-bar/SubmitBar.mjs +1 -2
- package/es/submit-bar/index.d.ts +5 -5
- package/es/swipe/Swipe.d.ts +5 -5
- package/es/swipe/Swipe.mjs +2 -4
- package/es/swipe/index.d.ts +5 -5
- package/es/swipe-cell/SwipeCell.d.ts +6 -6
- package/es/swipe-cell/SwipeCell.mjs +2 -4
- package/es/swipe-cell/index.d.ts +6 -6
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/SwipeItem.mjs +1 -2
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +5 -5
- package/es/switch/Switch.mjs +1 -2
- package/es/switch/index.d.ts +5 -5
- package/es/tab/Tab.d.ts +7 -7
- package/es/tab/Tab.mjs +5 -4
- package/es/tab/TabTitle.d.ts +4 -4
- package/es/tab/TabTitle.mjs +3 -3
- package/es/tab/index.d.ts +6 -6
- package/es/tabbar/Tabbar.d.ts +5 -5
- package/es/tabbar/Tabbar.mjs +1 -2
- package/es/tabbar/index.d.ts +5 -5
- package/es/tabbar-item/TabbarItem.d.ts +8 -8
- package/es/tabbar-item/TabbarItem.mjs +1 -2
- package/es/tabbar-item/index.d.ts +7 -7
- package/es/tabs/Tabs.d.ts +5 -5
- package/es/tabs/Tabs.mjs +3 -6
- package/es/tabs/TabsContent.d.ts +5 -5
- package/es/tabs/TabsContent.mjs +1 -2
- package/es/tabs/index.d.ts +5 -5
- package/es/tag/Tag.d.ts +5 -5
- package/es/tag/Tag.mjs +1 -2
- package/es/tag/index.d.ts +5 -5
- package/es/text-ellipsis/TextEllipsis.d.ts +5 -5
- package/es/text-ellipsis/TextEllipsis.mjs +3 -6
- package/es/text-ellipsis/index.d.ts +5 -5
- package/es/time-picker/TimePicker.d.ts +12 -11
- package/es/time-picker/TimePicker.mjs +1 -2
- package/es/time-picker/index.d.ts +9 -9
- package/es/toast/Toast.d.ts +9 -9
- package/es/toast/Toast.mjs +1 -2
- package/es/toast/function-call.mjs +1 -2
- package/es/toast/index.d.ts +7 -7
- package/es/tree-select/TreeSelect.d.ts +5 -5
- package/es/tree-select/TreeSelect.mjs +1 -2
- package/es/tree-select/index.d.ts +5 -5
- package/es/uploader/Uploader.d.ts +5 -5
- package/es/uploader/Uploader.mjs +1 -2
- package/es/uploader/UploaderPreviewItem.d.ts +8 -7
- package/es/uploader/UploaderPreviewItem.mjs +1 -2
- package/es/uploader/index.d.ts +5 -5
- package/es/uploader/utils.d.ts +1 -1
- package/es/utils/basic.d.ts +2 -2
- package/es/utils/create.d.ts +1 -1
- package/es/utils/dom.d.ts +1 -1
- package/es/utils/mount-component.d.ts +1 -1
- package/es/watermark/Watermark.d.ts +4 -4
- package/es/watermark/Watermark.mjs +1 -2
- package/es/watermark/index.d.ts +4 -4
- package/lib/action-bar/ActionBar.d.ts +4 -4
- package/lib/action-bar/ActionBar.js +2 -3
- package/lib/action-bar/index.d.ts +4 -4
- package/lib/action-bar-button/ActionBarButton.d.ts +7 -7
- package/lib/action-bar-button/ActionBarButton.js +3 -4
- package/lib/action-bar-button/index.d.ts +6 -6
- package/lib/action-bar-icon/ActionBarIcon.d.ts +7 -7
- package/lib/action-bar-icon/ActionBarIcon.js +1 -2
- package/lib/action-bar-icon/index.d.ts +6 -6
- package/lib/action-sheet/ActionSheet.d.ts +8 -8
- package/lib/action-sheet/ActionSheet.js +2 -3
- package/lib/action-sheet/index.d.ts +7 -7
- package/lib/address-edit/AddressEdit.d.ts +5 -5
- package/lib/address-edit/AddressEdit.js +11 -12
- package/lib/address-edit/AddressEditDetail.d.ts +5 -5
- package/lib/address-edit/AddressEditDetail.js +2 -3
- package/lib/address-edit/index.d.ts +5 -5
- package/lib/address-list/AddressList.d.ts +8 -8
- package/lib/address-list/AddressList.js +2 -3
- package/lib/address-list/AddressListItem.d.ts +5 -5
- package/lib/address-list/AddressListItem.js +1 -2
- package/lib/address-list/index.d.ts +7 -7
- package/lib/area/Area.d.ts +5 -5
- package/lib/area/Area.js +6 -7
- package/lib/area/index.d.ts +5 -5
- package/lib/back-top/BackTop.d.ts +12 -12
- package/lib/back-top/BackTop.js +11 -12
- package/lib/back-top/index.d.ts +9 -9
- package/lib/badge/Badge.d.ts +4 -4
- package/lib/badge/Badge.js +2 -3
- package/lib/badge/index.d.ts +4 -4
- package/lib/barrage/Barrage.d.ts +5 -5
- package/lib/barrage/Barrage.js +9 -10
- package/lib/barrage/index.d.ts +5 -5
- package/lib/button/Button.d.ts +8 -8
- package/lib/button/Button.js +1 -2
- package/lib/button/index.d.ts +7 -7
- package/lib/calendar/Calendar.d.ts +9 -9
- package/lib/calendar/Calendar.js +15 -16
- package/lib/calendar/CalendarDay.d.ts +5 -5
- package/lib/calendar/CalendarDay.js +2 -3
- package/lib/calendar/CalendarHeader.d.ts +5 -5
- package/lib/calendar/CalendarHeader.js +5 -6
- package/lib/calendar/CalendarMonth.d.ts +5 -5
- package/lib/calendar/CalendarMonth.js +11 -12
- package/lib/calendar/index.d.ts +7 -7
- package/lib/calendar/utils.d.ts +1 -1
- package/lib/card/Card.d.ts +5 -5
- package/lib/card/Card.js +1 -2
- package/lib/card/index.d.ts +5 -5
- package/lib/cascader/Cascader.d.ts +6 -6
- package/lib/cascader/Cascader.js +9 -11
- package/lib/cascader/index.d.ts +6 -6
- package/lib/cell/Cell.d.ts +7 -7
- package/lib/cell/Cell.js +1 -2
- package/lib/cell/index.d.ts +6 -6
- package/lib/cell-group/CellGroup.d.ts +4 -4
- package/lib/cell-group/CellGroup.js +1 -2
- package/lib/cell-group/index.d.ts +4 -4
- package/lib/checkbox/Checkbox.d.ts +5 -5
- package/lib/checkbox/Checkbox.js +5 -8
- package/lib/checkbox/Checker.d.ts +7 -7
- package/lib/checkbox/Checker.js +6 -7
- package/lib/checkbox/index.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.js +2 -3
- package/lib/checkbox-group/index.d.ts +5 -5
- package/lib/circle/Circle.d.ts +5 -5
- package/lib/circle/Circle.js +5 -6
- package/lib/circle/index.d.ts +5 -5
- package/lib/col/Col.d.ts +4 -4
- package/lib/col/Col.js +2 -3
- package/lib/col/index.d.ts +4 -4
- package/lib/collapse/Collapse.d.ts +5 -5
- package/lib/collapse/Collapse.js +1 -2
- package/lib/collapse/index.d.ts +5 -5
- package/lib/collapse-item/CollapseItem.d.ts +4 -4
- package/lib/collapse-item/CollapseItem.js +8 -9
- package/lib/collapse-item/index.d.ts +4 -4
- package/lib/composables/use-height.d.ts +1 -1
- package/lib/composables/use-lazy-render.d.ts +0 -1
- package/lib/composables/use-placeholder.d.ts +0 -1
- package/lib/composables/use-refs.d.ts +1 -1
- package/lib/composables/use-route.d.ts +2 -1
- package/lib/composables/use-sync-prop-ref.d.ts +1 -1
- package/lib/composables/use-touch.d.ts +8 -8
- package/lib/config-provider/ConfigProvider.d.ts +4 -4
- package/lib/config-provider/ConfigProvider.js +10 -11
- package/lib/config-provider/index.d.ts +4 -4
- package/lib/contact-card/ContactCard.d.ts +5 -5
- package/lib/contact-card/ContactCard.js +1 -2
- package/lib/contact-card/index.d.ts +5 -5
- package/lib/contact-edit/ContactEdit.d.ts +5 -5
- package/lib/contact-edit/ContactEdit.js +3 -4
- package/lib/contact-edit/index.d.ts +5 -5
- package/lib/contact-list/ContactList.d.ts +4 -4
- package/lib/contact-list/ContactList.js +1 -2
- package/lib/contact-list/index.d.ts +4 -4
- package/lib/count-down/CountDown.d.ts +5 -5
- package/lib/count-down/CountDown.js +3 -4
- package/lib/count-down/index.d.ts +5 -5
- package/lib/coupon/Coupon.d.ts +4 -4
- package/lib/coupon/Coupon.js +4 -5
- package/lib/coupon/index.d.ts +4 -4
- package/lib/coupon-cell/CouponCell.d.ts +4 -4
- package/lib/coupon-cell/CouponCell.js +1 -2
- package/lib/coupon-cell/index.d.ts +4 -4
- package/lib/coupon-list/CouponList.d.ts +5 -5
- package/lib/coupon-list/CouponList.js +13 -14
- package/lib/coupon-list/index.d.ts +5 -5
- package/lib/date-picker/DatePicker.d.ts +8 -8
- package/lib/date-picker/DatePicker.js +7 -8
- package/lib/date-picker/index.d.ts +7 -7
- package/lib/date-picker/utils.d.ts +2 -1
- package/lib/dialog/Dialog.d.ts +10 -10
- package/lib/dialog/Dialog.js +4 -5
- package/lib/dialog/index.d.ts +9 -9
- package/lib/dialog/types.d.ts +0 -1
- package/lib/divider/Divider.d.ts +4 -4
- package/lib/divider/Divider.js +1 -2
- package/lib/divider/index.d.ts +4 -4
- package/lib/dropdown-item/DropdownItem.d.ts +10 -10
- package/lib/dropdown-item/DropdownItem.js +5 -5
- package/lib/dropdown-item/index.d.ts +8 -8
- package/lib/dropdown-menu/DropdownMenu.d.ts +4 -4
- package/lib/dropdown-menu/DropdownMenu.js +8 -8
- package/lib/dropdown-menu/index.d.ts +4 -4
- package/lib/empty/Empty.d.ts +4 -4
- package/lib/empty/Empty.js +40 -20
- package/lib/empty/index.d.ts +4 -4
- package/lib/field/Field.d.ts +5 -5
- package/lib/field/Field.js +20 -19
- package/lib/field/index.d.ts +5 -5
- package/lib/floating-bubble/FloatingBubble.d.ts +9 -9
- package/lib/floating-bubble/FloatingBubble.js +22 -31
- package/lib/floating-bubble/index.d.ts +7 -7
- package/lib/floating-panel/FloatingPanel.d.ts +5 -5
- package/lib/floating-panel/FloatingPanel.js +9 -11
- package/lib/floating-panel/index.d.ts +5 -5
- package/lib/form/Form.d.ts +5 -5
- package/lib/form/Form.js +1 -2
- package/lib/form/index.d.ts +5 -5
- package/lib/grid/Grid.d.ts +4 -4
- package/lib/grid/Grid.js +1 -2
- package/lib/grid/index.d.ts +4 -4
- package/lib/grid-item/GridItem.d.ts +7 -7
- package/lib/grid-item/GridItem.js +3 -4
- package/lib/grid-item/index.d.ts +6 -6
- package/lib/highlight/Highlight.d.ts +4 -4
- package/lib/highlight/Highlight.js +2 -3
- package/lib/highlight/index.d.ts +4 -4
- package/lib/icon/Icon.d.ts +4 -4
- package/lib/icon/Icon.js +3 -4
- package/lib/icon/index.d.ts +4 -4
- package/lib/image/Image.d.ts +19 -18
- package/lib/image/Image.js +11 -12
- package/lib/image/index.d.ts +13 -13
- package/lib/image-preview/ImagePreview.d.ts +9 -9
- package/lib/image-preview/ImagePreview.js +9 -10
- package/lib/image-preview/ImagePreviewItem.d.ts +5 -5
- package/lib/image-preview/ImagePreviewItem.js +16 -20
- package/lib/image-preview/index.d.ts +7 -7
- package/lib/index-anchor/IndexAnchor.d.ts +3 -3
- package/lib/index-anchor/IndexAnchor.js +4 -5
- package/lib/index-anchor/index.d.ts +3 -3
- package/lib/index-bar/IndexBar.d.ts +9 -9
- package/lib/index-bar/IndexBar.js +11 -12
- package/lib/index-bar/index.d.ts +7 -7
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/lazyload/vue-lazyload/lazy-container.js +2 -4
- package/lib/lazyload/vue-lazyload/lazy.js +8 -16
- package/lib/lazyload/vue-lazyload/listener.js +2 -4
- package/lib/lazyload/vue-lazyload/util.js +5 -10
- package/lib/list/List.d.ts +5 -5
- package/lib/list/List.js +10 -11
- package/lib/list/index.d.ts +5 -5
- package/lib/loading/Loading.d.ts +4 -4
- package/lib/loading/Loading.js +2 -3
- package/lib/loading/index.d.ts +4 -4
- package/lib/locale/index.d.ts +1 -1
- package/lib/nav-bar/NavBar.d.ts +5 -5
- package/lib/nav-bar/NavBar.js +2 -3
- package/lib/nav-bar/index.d.ts +5 -5
- package/lib/notice-bar/NoticeBar.d.ts +5 -5
- package/lib/notice-bar/NoticeBar.js +5 -6
- package/lib/notice-bar/index.d.ts +5 -5
- package/lib/notify/Notify.d.ts +8 -8
- package/lib/notify/Notify.js +1 -2
- package/lib/notify/index.d.ts +7 -7
- package/lib/number-keyboard/NumberKeyboard.d.ts +10 -10
- package/lib/number-keyboard/NumberKeyboard.js +12 -8
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboardKey.js +2 -3
- package/lib/number-keyboard/index.d.ts +8 -8
- package/lib/overlay/Overlay.d.ts +8 -8
- package/lib/overlay/Overlay.js +4 -5
- package/lib/overlay/index.d.ts +6 -6
- package/lib/pagination/Pagination.d.ts +5 -5
- package/lib/pagination/Pagination.js +4 -5
- package/lib/pagination/index.d.ts +5 -5
- package/lib/password-input/PasswordInput.d.ts +5 -5
- package/lib/password-input/PasswordInput.js +1 -2
- package/lib/password-input/index.d.ts +5 -5
- package/lib/picker/Picker.d.ts +5 -5
- package/lib/picker/Picker.js +15 -16
- package/lib/picker/PickerColumn.d.ts +5 -5
- package/lib/picker/PickerColumn.js +8 -10
- package/lib/picker/PickerToolbar.d.ts +4 -4
- package/lib/picker/PickerToolbar.js +1 -2
- package/lib/picker/index.d.ts +5 -5
- package/lib/picker/utils.d.ts +1 -1
- package/lib/picker/utils.js +2 -4
- package/lib/picker-group/PickerGroup.d.ts +5 -5
- package/lib/picker-group/PickerGroup.js +3 -4
- package/lib/picker-group/index.d.ts +5 -5
- package/lib/popover/Popover.d.ts +9 -9
- package/lib/popover/Popover.js +9 -10
- package/lib/popover/index.d.ts +7 -7
- package/lib/popup/Popup.d.ts +9 -9
- package/lib/popup/Popup.js +13 -15
- package/lib/popup/index.d.ts +8 -8
- package/lib/popup/shared.d.ts +2 -2
- package/lib/progress/Progress.d.ts +4 -4
- package/lib/progress/Progress.js +2 -3
- package/lib/progress/index.d.ts +4 -4
- package/lib/pull-refresh/PullRefresh.d.ts +5 -5
- package/lib/pull-refresh/PullRefresh.js +6 -7
- package/lib/pull-refresh/index.d.ts +5 -5
- package/lib/radio/Radio.d.ts +5 -5
- package/lib/radio/Radio.js +1 -2
- package/lib/radio/index.d.ts +5 -5
- package/lib/radio-group/RadioGroup.d.ts +8 -8
- package/lib/radio-group/RadioGroup.js +2 -3
- package/lib/radio-group/index.d.ts +7 -7
- package/lib/rate/Rate.d.ts +5 -5
- package/lib/rate/Rate.js +6 -8
- package/lib/rate/index.d.ts +5 -5
- package/lib/rolling-text/RollingText.d.ts +4 -4
- package/lib/rolling-text/RollingText.js +10 -14
- package/lib/rolling-text/RollingTextItem.d.ts +4 -4
- package/lib/rolling-text/RollingTextItem.js +5 -6
- package/lib/rolling-text/index.d.ts +4 -4
- package/lib/row/Row.d.ts +4 -4
- package/lib/row/Row.js +5 -7
- package/lib/row/index.d.ts +4 -4
- package/lib/search/Search.d.ts +5 -5
- package/lib/search/Search.js +4 -4
- package/lib/search/index.d.ts +5 -5
- package/lib/share-sheet/ShareSheet.d.ts +8 -8
- package/lib/share-sheet/ShareSheet.js +1 -2
- package/lib/share-sheet/index.d.ts +7 -7
- package/lib/sidebar/Sidebar.d.ts +5 -5
- package/lib/sidebar/Sidebar.js +1 -2
- package/lib/sidebar/index.d.ts +5 -5
- package/lib/sidebar-item/SidebarItem.d.ts +8 -8
- package/lib/sidebar-item/SidebarItem.js +1 -2
- package/lib/sidebar-item/index.d.ts +7 -7
- package/lib/signature/Signature.d.ts +5 -5
- package/lib/signature/Signature.js +7 -9
- package/lib/signature/index.d.ts +5 -5
- package/lib/skeleton/Skeleton.d.ts +5 -5
- package/lib/skeleton/Skeleton.js +1 -2
- package/lib/skeleton/index.d.ts +5 -5
- package/lib/skeleton-avatar/SkeletonAvatar.d.ts +4 -4
- package/lib/skeleton-avatar/SkeletonAvatar.js +1 -2
- package/lib/skeleton-avatar/index.d.ts +4 -4
- package/lib/skeleton-image/SkeletonImage.d.ts +4 -4
- package/lib/skeleton-image/SkeletonImage.js +1 -2
- package/lib/skeleton-image/index.d.ts +4 -4
- package/lib/skeleton-paragraph/SkeletonParagraph.d.ts +4 -4
- package/lib/skeleton-paragraph/SkeletonParagraph.js +1 -2
- package/lib/skeleton-paragraph/index.d.ts +4 -4
- package/lib/skeleton-title/SkeletonTitle.d.ts +4 -4
- package/lib/skeleton-title/SkeletonTitle.js +1 -2
- package/lib/skeleton-title/index.d.ts +4 -4
- package/lib/slider/Slider.d.ts +5 -5
- package/lib/slider/Slider.js +7 -8
- package/lib/slider/index.d.ts +5 -5
- package/lib/space/Space.d.ts +10 -10
- package/lib/space/Space.js +4 -5
- package/lib/space/index.d.ts +8 -8
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/Step.js +3 -4
- package/lib/step/index.d.ts +1 -1
- package/lib/stepper/Stepper.d.ts +5 -5
- package/lib/stepper/Stepper.js +11 -12
- package/lib/stepper/index.d.ts +5 -5
- package/lib/steps/Steps.d.ts +5 -5
- package/lib/steps/Steps.js +1 -2
- package/lib/steps/index.d.ts +5 -5
- package/lib/sticky/Sticky.d.ts +5 -5
- package/lib/sticky/Sticky.js +10 -11
- package/lib/sticky/index.d.ts +5 -5
- package/lib/submit-bar/SubmitBar.d.ts +5 -5
- package/lib/submit-bar/SubmitBar.js +2 -3
- package/lib/submit-bar/index.d.ts +5 -5
- package/lib/swipe/Swipe.d.ts +5 -5
- package/lib/swipe/Swipe.js +24 -26
- package/lib/swipe/index.d.ts +5 -5
- package/lib/swipe-cell/SwipeCell.d.ts +6 -6
- package/lib/swipe-cell/SwipeCell.js +8 -10
- package/lib/swipe-cell/index.d.ts +6 -6
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/SwipeItem.js +6 -7
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.d.ts +5 -5
- package/lib/switch/Switch.js +1 -2
- package/lib/switch/index.d.ts +5 -5
- package/lib/tab/Tab.d.ts +7 -7
- package/lib/tab/Tab.js +16 -15
- package/lib/tab/TabTitle.d.ts +4 -4
- package/lib/tab/TabTitle.js +4 -4
- package/lib/tab/index.d.ts +6 -6
- package/lib/tabbar/Tabbar.d.ts +5 -5
- package/lib/tabbar/Tabbar.js +2 -3
- package/lib/tabbar/index.d.ts +5 -5
- package/lib/tabbar-item/TabbarItem.d.ts +8 -8
- package/lib/tabbar-item/TabbarItem.js +3 -4
- package/lib/tabbar-item/index.d.ts +7 -7
- package/lib/tabs/Tabs.d.ts +5 -5
- package/lib/tabs/Tabs.js +23 -26
- package/lib/tabs/TabsContent.d.ts +5 -5
- package/lib/tabs/TabsContent.js +4 -5
- package/lib/tabs/index.d.ts +5 -5
- package/lib/tag/Tag.d.ts +5 -5
- package/lib/tag/Tag.js +2 -3
- package/lib/tag/index.d.ts +5 -5
- package/lib/text-ellipsis/TextEllipsis.d.ts +5 -5
- package/lib/text-ellipsis/TextEllipsis.js +13 -16
- package/lib/text-ellipsis/index.d.ts +5 -5
- package/lib/time-picker/TimePicker.d.ts +12 -11
- package/lib/time-picker/TimePicker.js +6 -7
- package/lib/time-picker/index.d.ts +9 -9
- package/lib/toast/Toast.d.ts +9 -9
- package/lib/toast/Toast.js +5 -6
- package/lib/toast/function-call.js +3 -4
- package/lib/toast/index.d.ts +7 -7
- package/lib/tree-select/TreeSelect.d.ts +5 -5
- package/lib/tree-select/TreeSelect.js +1 -2
- package/lib/tree-select/index.d.ts +5 -5
- package/lib/uploader/Uploader.d.ts +5 -5
- package/lib/uploader/Uploader.js +7 -8
- package/lib/uploader/UploaderPreviewItem.d.ts +8 -7
- package/lib/uploader/UploaderPreviewItem.js +1 -2
- package/lib/uploader/index.d.ts +5 -5
- package/lib/uploader/utils.d.ts +1 -1
- package/lib/utils/basic.d.ts +2 -2
- package/lib/utils/create.d.ts +1 -1
- package/lib/utils/dom.d.ts +1 -1
- package/lib/utils/mount-component.d.ts +1 -1
- package/lib/vant.cjs.js +106 -120
- package/lib/vant.es.js +106 -120
- package/lib/vant.js +107 -121
- package/lib/vant.min.js +3 -3
- package/lib/watermark/Watermark.d.ts +4 -4
- package/lib/watermark/Watermark.js +8 -9
- package/lib/watermark/index.d.ts +4 -4
- package/lib/web-types.json +1 -1
- package/package.json +16 -16
package/es/empty/Empty.mjs
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
2
|
-
import { defineComponent } from "vue";
|
1
|
+
import { defineComponent, createVNode as _createVNode } from "vue";
|
3
2
|
import { useId } from "../composables/use-id.mjs";
|
4
3
|
import { getSizeStyle, makeStringProp, createNamespace } from "../utils/index.mjs";
|
5
4
|
const [name, bem] = createNamespace("empty");
|
@@ -45,22 +44,26 @@ var stdin_default = defineComponent({
|
|
45
44
|
"fx": "50%",
|
46
45
|
"fy": "54%",
|
47
46
|
"r": "297%",
|
48
|
-
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)"
|
47
|
+
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)",
|
48
|
+
"data-allow-mismatch": "attribute"
|
49
49
|
}, [renderStop("#EBEDF0", 0), renderStop("#F2F3F5", 100, 0.3)])]), _createVNode("ellipse", {
|
50
50
|
"fill": getUrlById(id),
|
51
51
|
"opacity": ".8",
|
52
52
|
"cx": "80",
|
53
53
|
"cy": "140",
|
54
54
|
"rx": "46",
|
55
|
-
"ry": "8"
|
55
|
+
"ry": "8",
|
56
|
+
"data-allow-mismatch": "attribute"
|
56
57
|
}, null)];
|
57
58
|
const renderBuilding = () => [_createVNode("defs", null, [_createVNode("linearGradient", {
|
58
59
|
"id": getId("a"),
|
59
60
|
"x1": "64%",
|
60
61
|
"y1": "100%",
|
61
|
-
"x2": "64%"
|
62
|
+
"x2": "64%",
|
63
|
+
"data-allow-mismatch": "attribute"
|
62
64
|
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)])]), _createVNode("g", {
|
63
|
-
"opacity": ".8"
|
65
|
+
"opacity": ".8",
|
66
|
+
"data-allow-mismatch": "children"
|
64
67
|
}, [_createVNode("path", {
|
65
68
|
"d": "M36 131V53H16v20H2v58h34z",
|
66
69
|
"fill": getUrlById("a")
|
@@ -73,9 +76,11 @@ var stdin_default = defineComponent({
|
|
73
76
|
"x1": "64%",
|
74
77
|
"y1": "97%",
|
75
78
|
"x2": "64%",
|
76
|
-
"y2": "0%"
|
79
|
+
"y2": "0%",
|
80
|
+
"data-allow-mismatch": "attribute"
|
77
81
|
}, [renderStop("#F2F3F5", 0, 0.3), renderStop("#F2F3F5", 100)])]), _createVNode("g", {
|
78
|
-
"opacity": ".8"
|
82
|
+
"opacity": ".8",
|
83
|
+
"data-allow-mismatch": "children"
|
79
84
|
}, [_createVNode("path", {
|
80
85
|
"d": "M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",
|
81
86
|
"fill": getUrlById("b")
|
@@ -85,7 +90,9 @@ var stdin_default = defineComponent({
|
|
85
90
|
}, null)])];
|
86
91
|
const renderNetwork = () => _createVNode("svg", {
|
87
92
|
"viewBox": "0 0 160 160"
|
88
|
-
}, [_createVNode("defs",
|
93
|
+
}, [_createVNode("defs", {
|
94
|
+
"data-allow-mismatch": "children"
|
95
|
+
}, [_createVNode("linearGradient", {
|
89
96
|
"id": getId(1),
|
90
97
|
"x1": "64%",
|
91
98
|
"y1": "100%",
|
@@ -112,14 +119,17 @@ var stdin_default = defineComponent({
|
|
112
119
|
"fill": "none"
|
113
120
|
}, [renderBuilding(), _createVNode("path", {
|
114
121
|
"fill": getUrlById(4),
|
115
|
-
"d": "M0 139h160v21H0z"
|
122
|
+
"d": "M0 139h160v21H0z",
|
123
|
+
"data-allow-mismatch": "attribute"
|
116
124
|
}, null), _createVNode("path", {
|
117
125
|
"d": "M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",
|
118
|
-
"fill": getUrlById(2)
|
126
|
+
"fill": getUrlById(2),
|
127
|
+
"data-allow-mismatch": "attribute"
|
119
128
|
}, null), _createVNode("g", {
|
120
129
|
"opacity": ".6",
|
121
130
|
"stroke-linecap": "round",
|
122
|
-
"stroke-width": "7"
|
131
|
+
"stroke-width": "7",
|
132
|
+
"data-allow-mismatch": "children"
|
123
133
|
}, [_createVNode("path", {
|
124
134
|
"d": "M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",
|
125
135
|
"stroke": getUrlById(3)
|
@@ -156,7 +166,9 @@ var stdin_default = defineComponent({
|
|
156
166
|
}, null)])])]);
|
157
167
|
const renderMaterial = () => _createVNode("svg", {
|
158
168
|
"viewBox": "0 0 160 160"
|
159
|
-
}, [_createVNode("defs",
|
169
|
+
}, [_createVNode("defs", {
|
170
|
+
"data-allow-mismatch": "children"
|
171
|
+
}, [_createVNode("linearGradient", {
|
160
172
|
"x1": "50%",
|
161
173
|
"x2": "50%",
|
162
174
|
"y2": "100%",
|
@@ -189,7 +201,8 @@ var stdin_default = defineComponent({
|
|
189
201
|
"fill": getUrlById(5),
|
190
202
|
"width": "64",
|
191
203
|
"height": "66",
|
192
|
-
"rx": "2"
|
204
|
+
"rx": "2",
|
205
|
+
"data-allow-mismatch": "attribute"
|
193
206
|
}, null), _createVNode("rect", {
|
194
207
|
"fill": "#FFF",
|
195
208
|
"x": "6",
|
@@ -199,7 +212,8 @@ var stdin_default = defineComponent({
|
|
199
212
|
"rx": "1"
|
200
213
|
}, null), _createVNode("g", {
|
201
214
|
"transform": "translate(15 17)",
|
202
|
-
"fill": getUrlById(6)
|
215
|
+
"fill": getUrlById(6),
|
216
|
+
"data-allow-mismatch": "attribute"
|
203
217
|
}, [_createVNode("rect", {
|
204
218
|
"width": "34",
|
205
219
|
"height": "6",
|
@@ -216,7 +230,8 @@ var stdin_default = defineComponent({
|
|
216
230
|
"y": "61",
|
217
231
|
"width": "88",
|
218
232
|
"height": "28",
|
219
|
-
"rx": "1"
|
233
|
+
"rx": "1",
|
234
|
+
"data-allow-mismatch": "attribute"
|
220
235
|
}, null), _createVNode("rect", {
|
221
236
|
"fill": "#F7F8FA",
|
222
237
|
"x": "29",
|
@@ -231,14 +246,18 @@ var stdin_default = defineComponent({
|
|
231
246
|
"x1": "50%",
|
232
247
|
"x2": "50%",
|
233
248
|
"y2": "100%",
|
234
|
-
"id": getId(8)
|
249
|
+
"id": getId(8),
|
250
|
+
"data-allow-mismatch": "attribute"
|
235
251
|
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), renderShadow("c"), _createVNode("path", {
|
236
252
|
"d": "m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",
|
237
|
-
"fill": getUrlById(8)
|
253
|
+
"fill": getUrlById(8),
|
254
|
+
"data-allow-mismatch": "attribute"
|
238
255
|
}, null)]);
|
239
256
|
const renderSearch = () => _createVNode("svg", {
|
240
257
|
"viewBox": "0 0 160 160"
|
241
|
-
}, [_createVNode("defs",
|
258
|
+
}, [_createVNode("defs", {
|
259
|
+
"data-allow-mismatch": "children"
|
260
|
+
}, [_createVNode("linearGradient", {
|
242
261
|
"x1": "50%",
|
243
262
|
"y1": "100%",
|
244
263
|
"x2": "50%",
|
@@ -260,7 +279,8 @@ var stdin_default = defineComponent({
|
|
260
279
|
"id": getId(12)
|
261
280
|
}, [renderStops("#FFF", "#F7F8FA")])]), renderBuilding(), renderCloud(), renderShadow("d"), _createVNode("g", {
|
262
281
|
"transform": "rotate(-45 113 -4)",
|
263
|
-
"fill": "none"
|
282
|
+
"fill": "none",
|
283
|
+
"data-allow-mismatch": "children"
|
264
284
|
}, [_createVNode("rect", {
|
265
285
|
"fill": getUrlById(9),
|
266
286
|
"x": "24",
|
package/es/empty/index.d.ts
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
export declare const Empty: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const Empty: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
image: {
|
3
3
|
type: import("vue").PropType<string>;
|
4
4
|
default: string;
|
5
5
|
};
|
6
6
|
imageSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
|
7
7
|
description: StringConstructor;
|
8
|
-
}
|
8
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
9
9
|
image: {
|
10
10
|
type: import("vue").PropType<string>;
|
11
11
|
default: string;
|
12
12
|
};
|
13
13
|
imageSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
|
14
14
|
description: StringConstructor;
|
15
|
-
}
|
15
|
+
}>> & Readonly<{}>, {
|
16
16
|
image: string;
|
17
|
-
}, {}>>;
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
18
18
|
export default Empty;
|
19
19
|
export { emptyProps } from './Empty';
|
20
20
|
export type { EmptyProps } from './Empty';
|
package/es/field/Field.d.ts
CHANGED
@@ -150,7 +150,7 @@ export declare const fieldProps: {
|
|
150
150
|
};
|
151
151
|
};
|
152
152
|
export type FieldProps = ExtractPropTypes<typeof fieldProps>;
|
153
|
-
declare const _default: import("vue").DefineComponent<{
|
153
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
154
154
|
tag: {
|
155
155
|
type: PropType<keyof HTMLElementTagNameMap>;
|
156
156
|
default: keyof HTMLElementTagNameMap;
|
@@ -247,7 +247,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
247
247
|
type: BooleanConstructor;
|
248
248
|
default: null;
|
249
249
|
};
|
250
|
-
}
|
250
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
251
251
|
tag: {
|
252
252
|
type: PropType<keyof HTMLElementTagNameMap>;
|
253
253
|
default: keyof HTMLElementTagNameMap;
|
@@ -344,7 +344,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
344
344
|
type: BooleanConstructor;
|
345
345
|
default: null;
|
346
346
|
};
|
347
|
-
}>> & {
|
347
|
+
}>> & Readonly<{
|
348
348
|
onFocus?: ((...args: any[]) => any) | undefined;
|
349
349
|
onBlur?: ((...args: any[]) => any) | undefined;
|
350
350
|
onKeypress?: ((...args: any[]) => any) | undefined;
|
@@ -355,7 +355,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
355
355
|
onClickLeftIcon?: ((...args: any[]) => any) | undefined;
|
356
356
|
onClickRightIcon?: ((...args: any[]) => any) | undefined;
|
357
357
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
358
|
-
}
|
358
|
+
}>, {
|
359
359
|
type: FieldType;
|
360
360
|
tag: keyof HTMLElementTagNameMap;
|
361
361
|
center: boolean;
|
@@ -375,5 +375,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
375
375
|
readonly: boolean;
|
376
376
|
showWordLimit: boolean;
|
377
377
|
colon: boolean;
|
378
|
-
}, {}>;
|
378
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
379
379
|
export default _default;
|
package/es/field/Field.mjs
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { ref, watch, provide, computed, nextTick, reactive, onMounted, defineComponent } from "vue";
|
1
|
+
import { ref, watch, provide, computed, nextTick, reactive, onMounted, defineComponent, createVNode as _createVNode, mergeProps as _mergeProps, createTextVNode as _createTextVNode } from "vue";
|
3
2
|
import { isDef, extend, addUnit, toArray, FORM_KEY, numericProp, unknownProp, resetScroll, formatNumber, preventDefault, makeStringProp, makeNumericProp, createNamespace, clamp } from "../utils/index.mjs";
|
4
3
|
import { cutString, runSyncRule, endComposing, mapInputType, isEmptyValue, startComposing, getRuleMessage, resizeTextarea, getStringLength, runRuleValidator } from "./utils.mjs";
|
5
4
|
import { cellSharedProps } from "../cell/Cell.mjs";
|
@@ -378,6 +377,7 @@ var stdin_default = defineComponent({
|
|
378
377
|
enterkeyhint: props.enterkeyhint,
|
379
378
|
spellcheck: props.spellcheck,
|
380
379
|
"aria-labelledby": props.label ? `${id}-label` : void 0,
|
380
|
+
"data-allow-mismatch": "attribute",
|
381
381
|
onBlur,
|
382
382
|
onFocus,
|
383
383
|
onInput,
|
@@ -452,6 +452,7 @@ var stdin_default = defineComponent({
|
|
452
452
|
return _createVNode("label", {
|
453
453
|
"id": `${id}-label`,
|
454
454
|
"for": slots.input ? void 0 : getInputId(),
|
455
|
+
"data-allow-mismatch": "attribute",
|
455
456
|
"onClick": (event) => {
|
456
457
|
preventDefault(event);
|
457
458
|
focus();
|
package/es/field/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FieldProps } from './Field';
|
2
|
-
export declare const Field: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
|
+
export declare const Field: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
3
3
|
tag: {
|
4
4
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
5
5
|
default: keyof HTMLElementTagNameMap;
|
@@ -96,7 +96,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
96
96
|
type: BooleanConstructor;
|
97
97
|
default: null;
|
98
98
|
};
|
99
|
-
}
|
99
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
100
100
|
tag: {
|
101
101
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
102
102
|
default: keyof HTMLElementTagNameMap;
|
@@ -193,7 +193,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
193
193
|
type: BooleanConstructor;
|
194
194
|
default: null;
|
195
195
|
};
|
196
|
-
}>> & {
|
196
|
+
}>> & Readonly<{
|
197
197
|
onFocus?: ((...args: any[]) => any) | undefined;
|
198
198
|
onBlur?: ((...args: any[]) => any) | undefined;
|
199
199
|
onKeypress?: ((...args: any[]) => any) | undefined;
|
@@ -204,7 +204,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
204
204
|
onClickLeftIcon?: ((...args: any[]) => any) | undefined;
|
205
205
|
onClickRightIcon?: ((...args: any[]) => any) | undefined;
|
206
206
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
207
|
-
}
|
207
|
+
}>, {
|
208
208
|
type: import("./types").FieldType;
|
209
209
|
tag: keyof HTMLElementTagNameMap;
|
210
210
|
center: boolean;
|
@@ -224,7 +224,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
224
224
|
readonly: boolean;
|
225
225
|
showWordLimit: boolean;
|
226
226
|
colon: boolean;
|
227
|
-
}, {}>>;
|
227
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
228
228
|
export default Field;
|
229
229
|
export { fieldProps } from './Field';
|
230
230
|
export type { FieldProps };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PropType, type ExtractPropTypes } from 'vue';
|
1
|
+
import { PropType, TeleportProps, type ExtractPropTypes } from 'vue';
|
2
2
|
import { FloatingBubbleAxis, FloatingBubbleMagnetic, FloatingBubbleOffset } from './types';
|
3
3
|
export declare const floatingBubbleProps: {
|
4
4
|
gap: {
|
@@ -19,12 +19,12 @@ export declare const floatingBubbleProps: {
|
|
19
19
|
};
|
20
20
|
};
|
21
21
|
teleport: {
|
22
|
-
type: PropType<
|
22
|
+
type: PropType<TeleportProps["to"]>;
|
23
23
|
default: string;
|
24
24
|
};
|
25
25
|
};
|
26
26
|
export type FloatingBubbleProps = ExtractPropTypes<typeof floatingBubbleProps>;
|
27
|
-
declare const _default: import("vue").DefineComponent<{
|
27
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
28
28
|
gap: {
|
29
29
|
type: NumberConstructor;
|
30
30
|
default: number;
|
@@ -43,10 +43,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
43
43
|
};
|
44
44
|
};
|
45
45
|
teleport: {
|
46
|
-
type: PropType<
|
46
|
+
type: PropType<TeleportProps["to"]>;
|
47
47
|
default: string;
|
48
48
|
};
|
49
|
-
}
|
49
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:offset" | "offsetChange")[], "click" | "update:offset" | "offsetChange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
50
50
|
gap: {
|
51
51
|
type: NumberConstructor;
|
52
52
|
default: number;
|
@@ -65,17 +65,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
65
65
|
};
|
66
66
|
};
|
67
67
|
teleport: {
|
68
|
-
type: PropType<
|
68
|
+
type: PropType<TeleportProps["to"]>;
|
69
69
|
default: string;
|
70
70
|
};
|
71
|
-
}>> & {
|
71
|
+
}>> & Readonly<{
|
72
72
|
onClick?: ((...args: any[]) => any) | undefined;
|
73
73
|
"onUpdate:offset"?: ((...args: any[]) => any) | undefined;
|
74
74
|
onOffsetChange?: ((...args: any[]) => any) | undefined;
|
75
|
-
}
|
75
|
+
}>, {
|
76
76
|
offset: FloatingBubbleOffset;
|
77
77
|
teleport: string | import("vue").RendererElement | null | undefined;
|
78
78
|
gap: number;
|
79
79
|
axis: FloatingBubbleAxis;
|
80
|
-
}, {}>;
|
80
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
81
81
|
export default _default;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { Teleport, computed, defineComponent, nextTick, onMounted, ref, watch, onActivated, onDeactivated } from "vue";
|
1
|
+
import { Teleport, computed, defineComponent, nextTick, onMounted, ref, watch, onActivated, onDeactivated, createVNode as _createVNode, vShow as _vShow, mergeProps as _mergeProps, withDirectives as _withDirectives } from "vue";
|
3
2
|
import { pick, addUnit, closest, createNamespace, makeNumberProp, makeStringProp, windowWidth, windowHeight } from "../utils/index.mjs";
|
4
3
|
import { useRect, useEventListener } from "@vant/use";
|
5
4
|
import { useTouch } from "../composables/use-touch.mjs";
|
@@ -58,8 +57,7 @@ var stdin_default = defineComponent({
|
|
58
57
|
return style;
|
59
58
|
});
|
60
59
|
const updateState = () => {
|
61
|
-
if (!show.value)
|
62
|
-
return;
|
60
|
+
if (!show.value) return;
|
63
61
|
const {
|
64
62
|
width,
|
65
63
|
height
|
@@ -86,23 +84,18 @@ var stdin_default = defineComponent({
|
|
86
84
|
const onTouchMove = (e) => {
|
87
85
|
e.preventDefault();
|
88
86
|
touch.move(e);
|
89
|
-
if (props.axis === "lock")
|
90
|
-
return;
|
87
|
+
if (props.axis === "lock") return;
|
91
88
|
if (!touch.isTap.value) {
|
92
89
|
if (props.axis === "x" || props.axis === "xy") {
|
93
90
|
let nextX = prevX + touch.deltaX.value;
|
94
|
-
if (nextX < boundary.value.left)
|
95
|
-
|
96
|
-
if (nextX > boundary.value.right)
|
97
|
-
nextX = boundary.value.right;
|
91
|
+
if (nextX < boundary.value.left) nextX = boundary.value.left;
|
92
|
+
if (nextX > boundary.value.right) nextX = boundary.value.right;
|
98
93
|
state.value.x = nextX;
|
99
94
|
}
|
100
95
|
if (props.axis === "y" || props.axis === "xy") {
|
101
96
|
let nextY = prevY + touch.deltaY.value;
|
102
|
-
if (nextY < boundary.value.top)
|
103
|
-
|
104
|
-
if (nextY > boundary.value.bottom)
|
105
|
-
nextY = boundary.value.bottom;
|
97
|
+
if (nextY < boundary.value.top) nextY = boundary.value.top;
|
98
|
+
if (nextY > boundary.value.bottom) nextY = boundary.value.bottom;
|
106
99
|
state.value.y = nextY;
|
107
100
|
}
|
108
101
|
const offset = pick(state.value, ["x", "y"]);
|
@@ -133,10 +126,8 @@ var stdin_default = defineComponent({
|
|
133
126
|
});
|
134
127
|
};
|
135
128
|
const onClick = (e) => {
|
136
|
-
if (touch.isTap.value)
|
137
|
-
|
138
|
-
else
|
139
|
-
e.stopPropagation();
|
129
|
+
if (touch.isTap.value) emit("click", e);
|
130
|
+
else e.stopPropagation();
|
140
131
|
};
|
141
132
|
onMounted(() => {
|
142
133
|
updateState();
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const FloatingBubble: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const FloatingBubble: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
gap: {
|
3
3
|
type: NumberConstructor;
|
4
4
|
default: number;
|
@@ -17,10 +17,10 @@ export declare const FloatingBubble: import("../utils").WithInstall<import("vue"
|
|
17
17
|
};
|
18
18
|
};
|
19
19
|
teleport: {
|
20
|
-
type: import("vue").PropType<
|
20
|
+
type: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
21
21
|
default: string;
|
22
22
|
};
|
23
|
-
}
|
23
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:offset" | "offsetChange")[], "click" | "update:offset" | "offsetChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
24
24
|
gap: {
|
25
25
|
type: NumberConstructor;
|
26
26
|
default: number;
|
@@ -39,19 +39,19 @@ export declare const FloatingBubble: import("../utils").WithInstall<import("vue"
|
|
39
39
|
};
|
40
40
|
};
|
41
41
|
teleport: {
|
42
|
-
type: import("vue").PropType<
|
42
|
+
type: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
43
43
|
default: string;
|
44
44
|
};
|
45
|
-
}>> & {
|
45
|
+
}>> & Readonly<{
|
46
46
|
onClick?: ((...args: any[]) => any) | undefined;
|
47
47
|
"onUpdate:offset"?: ((...args: any[]) => any) | undefined;
|
48
48
|
onOffsetChange?: ((...args: any[]) => any) | undefined;
|
49
|
-
}
|
49
|
+
}>, {
|
50
50
|
offset: import("./types").FloatingBubbleOffset;
|
51
51
|
teleport: string | import("vue").RendererElement | null | undefined;
|
52
52
|
gap: number;
|
53
53
|
axis: import("./types").FloatingBubbleAxis;
|
54
|
-
}, {}>>;
|
54
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
55
55
|
export default FloatingBubble;
|
56
56
|
export { floatingBubbleProps } from './FloatingBubble';
|
57
57
|
export type { FloatingBubbleProps } from './FloatingBubble';
|
@@ -23,7 +23,7 @@ export declare const floatingPanelProps: {
|
|
23
23
|
};
|
24
24
|
};
|
25
25
|
export type FloatingPanelProps = ExtractPropTypes<typeof floatingPanelProps>;
|
26
|
-
declare const _default: import("vue").DefineComponent<{
|
26
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
27
27
|
height: {
|
28
28
|
type: (NumberConstructor | StringConstructor)[];
|
29
29
|
default: number;
|
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
45
45
|
type: BooleanConstructor;
|
46
46
|
default: true;
|
47
47
|
};
|
48
|
-
}
|
48
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("heightChange" | "update:height")[], "heightChange" | "update:height", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
49
49
|
height: {
|
50
50
|
type: (NumberConstructor | StringConstructor)[];
|
51
51
|
default: number;
|
@@ -67,15 +67,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
67
67
|
type: BooleanConstructor;
|
68
68
|
default: true;
|
69
69
|
};
|
70
|
-
}>> & {
|
70
|
+
}>> & Readonly<{
|
71
71
|
onHeightChange?: ((...args: any[]) => any) | undefined;
|
72
72
|
"onUpdate:height"?: ((...args: any[]) => any) | undefined;
|
73
|
-
}
|
73
|
+
}>, {
|
74
74
|
height: string | number;
|
75
75
|
safeAreaInsetBottom: boolean;
|
76
76
|
duration: string | number;
|
77
77
|
lockScroll: boolean;
|
78
78
|
anchors: number[];
|
79
79
|
contentDraggable: boolean;
|
80
|
-
}, {}>;
|
80
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
81
81
|
export default _default;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
2
|
-
import { ref, watch, computed, defineComponent } from "vue";
|
1
|
+
import { ref, watch, computed, defineComponent, createVNode as _createVNode } from "vue";
|
3
2
|
import { addUnit, closest, createNamespace, makeArrayProp, makeNumericProp, preventDefault, truthProp, windowHeight } from "../utils/index.mjs";
|
4
3
|
import { useEventListener } from "@vant/use";
|
5
4
|
import { useLockScroll } from "../composables/use-lock-scroll.mjs";
|
@@ -72,8 +71,7 @@ var stdin_default = defineComponent({
|
|
72
71
|
scrollTop
|
73
72
|
} = contentRef.value;
|
74
73
|
maxScroll = Math.max(maxScroll, scrollTop);
|
75
|
-
if (!props.contentDraggable)
|
76
|
-
return;
|
74
|
+
if (!props.contentDraggable) return;
|
77
75
|
if (-startY < boundary.value.max) {
|
78
76
|
preventDefault(e, true);
|
79
77
|
} else if (!(scrollTop <= 0 && touch.deltaY.value > 0) || maxScroll > 0) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const FloatingPanel: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const FloatingPanel: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
height: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
@@ -20,7 +20,7 @@ export declare const FloatingPanel: import("../utils").WithInstall<import("vue")
|
|
20
20
|
type: BooleanConstructor;
|
21
21
|
default: true;
|
22
22
|
};
|
23
|
-
}
|
23
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("heightChange" | "update:height")[], "heightChange" | "update:height", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
24
24
|
height: {
|
25
25
|
type: (NumberConstructor | StringConstructor)[];
|
26
26
|
default: number;
|
@@ -42,17 +42,17 @@ export declare const FloatingPanel: import("../utils").WithInstall<import("vue")
|
|
42
42
|
type: BooleanConstructor;
|
43
43
|
default: true;
|
44
44
|
};
|
45
|
-
}>> & {
|
45
|
+
}>> & Readonly<{
|
46
46
|
onHeightChange?: ((...args: any[]) => any) | undefined;
|
47
47
|
"onUpdate:height"?: ((...args: any[]) => any) | undefined;
|
48
|
-
}
|
48
|
+
}>, {
|
49
49
|
height: string | number;
|
50
50
|
safeAreaInsetBottom: boolean;
|
51
51
|
duration: string | number;
|
52
52
|
lockScroll: boolean;
|
53
53
|
anchors: number[];
|
54
54
|
contentDraggable: boolean;
|
55
|
-
}, {}>>;
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
56
56
|
export default FloatingPanel;
|
57
57
|
export { floatingPanelProps } from './FloatingPanel';
|
58
58
|
export type { FloatingPanelProps } from './FloatingPanel';
|
package/es/form/Form.d.ts
CHANGED
@@ -27,7 +27,7 @@ export declare const formProps: {
|
|
27
27
|
};
|
28
28
|
};
|
29
29
|
export type FormProps = ExtractPropTypes<typeof formProps>;
|
30
|
-
declare const _default: import("vue").DefineComponent<{
|
30
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
31
31
|
colon: BooleanConstructor;
|
32
32
|
disabled: BooleanConstructor;
|
33
33
|
readonly: BooleanConstructor;
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
52
52
|
type: PropType<FieldValidateTrigger | FieldValidateTrigger[]>;
|
53
53
|
default: string;
|
54
54
|
};
|
55
|
-
}
|
55
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "failed")[], "submit" | "failed", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
56
56
|
colon: BooleanConstructor;
|
57
57
|
disabled: BooleanConstructor;
|
58
58
|
readonly: BooleanConstructor;
|
@@ -77,10 +77,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
77
77
|
type: PropType<FieldValidateTrigger | FieldValidateTrigger[]>;
|
78
78
|
default: string;
|
79
79
|
};
|
80
|
-
}>> & {
|
80
|
+
}>> & Readonly<{
|
81
81
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
82
82
|
onFailed?: ((...args: any[]) => any) | undefined;
|
83
|
-
}
|
83
|
+
}>, {
|
84
84
|
disabled: boolean;
|
85
85
|
readonly: boolean;
|
86
86
|
colon: boolean;
|
@@ -90,5 +90,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
90
90
|
submitOnEnter: boolean;
|
91
91
|
showErrorMessage: boolean;
|
92
92
|
validateTrigger: FieldValidateTrigger | FieldValidateTrigger[];
|
93
|
-
}, {}>;
|
93
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
94
94
|
export default _default;
|
package/es/form/Form.mjs
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
2
|
-
import { defineComponent } from "vue";
|
1
|
+
import { defineComponent, createVNode as _createVNode } from "vue";
|
3
2
|
import { FORM_KEY, truthProp, numericProp, preventDefault, createNamespace } from "../utils/index.mjs";
|
4
3
|
import { useChildren } from "@vant/use";
|
5
4
|
import { useExpose } from "../composables/use-expose.mjs";
|
package/es/form/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FormProps } from './Form';
|
2
|
-
export declare const Form: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
|
+
export declare const Form: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
3
3
|
colon: BooleanConstructor;
|
4
4
|
disabled: BooleanConstructor;
|
5
5
|
readonly: BooleanConstructor;
|
@@ -24,7 +24,7 @@ export declare const Form: import("../utils").WithInstall<import("vue").DefineCo
|
|
24
24
|
type: import("vue").PropType<import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[]>;
|
25
25
|
default: string;
|
26
26
|
};
|
27
|
-
}
|
27
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "failed")[], "submit" | "failed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
28
28
|
colon: BooleanConstructor;
|
29
29
|
disabled: BooleanConstructor;
|
30
30
|
readonly: BooleanConstructor;
|
@@ -49,10 +49,10 @@ export declare const Form: import("../utils").WithInstall<import("vue").DefineCo
|
|
49
49
|
type: import("vue").PropType<import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[]>;
|
50
50
|
default: string;
|
51
51
|
};
|
52
|
-
}>> & {
|
52
|
+
}>> & Readonly<{
|
53
53
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
54
54
|
onFailed?: ((...args: any[]) => any) | undefined;
|
55
|
-
}
|
55
|
+
}>, {
|
56
56
|
disabled: boolean;
|
57
57
|
readonly: boolean;
|
58
58
|
colon: boolean;
|
@@ -62,7 +62,7 @@ export declare const Form: import("../utils").WithInstall<import("vue").DefineCo
|
|
62
62
|
submitOnEnter: boolean;
|
63
63
|
showErrorMessage: boolean;
|
64
64
|
validateTrigger: import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[];
|
65
|
-
}, {}>>;
|
65
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
66
66
|
export default Form;
|
67
67
|
export { formProps } from './Form';
|
68
68
|
export type { FormProps };
|