vant 4.4.0 → 4.5.0
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 +1 -1
- package/es/action-bar/index.d.ts +1 -1
- package/es/action-bar-button/ActionBarButton.d.ts +1 -1
- package/es/action-bar-button/index.d.ts +1 -1
- package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/es/action-bar-icon/index.d.ts +1 -1
- package/es/action-sheet/ActionSheet.d.ts +1 -1
- package/es/action-sheet/index.d.ts +1 -1
- package/es/address-edit/AddressEdit.d.ts +1 -1
- package/es/address-edit/AddressEditDetail.d.ts +1 -1
- package/es/address-edit/index.d.ts +1 -1
- package/es/address-list/AddressList.d.ts +14 -1
- package/es/address-list/AddressList.mjs +4 -2
- package/es/address-list/AddressListItem.d.ts +10 -1
- package/es/address-list/AddressListItem.mjs +4 -3
- package/es/address-list/index.d.ts +10 -1
- package/es/area/Area.d.ts +1 -1
- package/es/area/index.d.ts +1 -1
- package/es/back-top/BackTop.d.ts +1 -1
- package/es/back-top/BackTop.mjs +14 -1
- package/es/back-top/index.d.ts +1 -1
- package/es/badge/Badge.d.ts +1 -1
- package/es/badge/index.d.ts +1 -1
- package/es/barrage/Barrage.d.ts +1 -1
- package/es/barrage/index.d.ts +1 -1
- package/es/button/Button.d.ts +1 -1
- package/es/button/index.d.ts +1 -1
- package/es/calendar/Calendar.d.ts +1 -1
- package/es/calendar/CalendarDay.d.ts +1 -1
- package/es/calendar/CalendarHeader.d.ts +1 -1
- package/es/calendar/CalendarMonth.d.ts +1 -1
- package/es/calendar/index.d.ts +1 -1
- package/es/card/Card.d.ts +1 -1
- package/es/card/index.d.ts +1 -1
- package/es/cascader/Cascader.d.ts +1 -1
- package/es/cascader/index.d.ts +1 -1
- package/es/cell/Cell.d.ts +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/cell-group/CellGroup.d.ts +1 -1
- package/es/cell-group/index.d.ts +1 -1
- package/es/checkbox/Checkbox.d.ts +1 -1
- package/es/checkbox/Checker.d.ts +1 -1
- package/es/checkbox/index.d.ts +1 -1
- package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/es/checkbox-group/index.d.ts +1 -1
- package/es/circle/Circle.d.ts +1 -1
- package/es/circle/index.d.ts +1 -1
- package/es/col/Col.d.ts +1 -1
- package/es/col/index.d.ts +1 -1
- package/es/collapse/Collapse.d.ts +1 -1
- package/es/collapse/index.d.ts +1 -1
- package/es/collapse-item/CollapseItem.d.ts +1 -1
- package/es/collapse-item/index.d.ts +1 -1
- package/es/config-provider/ConfigProvider.d.ts +1 -1
- package/es/config-provider/index.d.ts +1 -1
- package/es/contact-card/ContactCard.d.ts +1 -1
- package/es/contact-card/index.d.ts +1 -1
- package/es/contact-edit/ContactEdit.d.ts +1 -1
- package/es/contact-edit/index.d.ts +1 -1
- package/es/contact-list/ContactList.d.ts +1 -1
- package/es/contact-list/index.d.ts +1 -1
- package/es/count-down/CountDown.d.ts +1 -1
- package/es/count-down/index.d.ts +1 -1
- package/es/coupon/Coupon.d.ts +1 -1
- package/es/coupon/index.d.ts +1 -1
- package/es/coupon-cell/CouponCell.d.ts +1 -1
- package/es/coupon-cell/index.d.ts +1 -1
- package/es/coupon-list/CouponList.d.ts +1 -1
- package/es/coupon-list/index.d.ts +1 -1
- package/es/date-picker/DatePicker.d.ts +4 -4
- package/es/date-picker/index.d.ts +3 -3
- package/es/date-picker/utils.d.ts +4 -2
- package/es/date-picker/utils.mjs +8 -3
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/dialog/index.d.ts +1 -1
- package/es/divider/Divider.d.ts +1 -1
- package/es/divider/index.d.ts +1 -1
- package/es/dropdown-item/DropdownItem.d.ts +1 -1
- package/es/dropdown-item/index.d.ts +1 -1
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/DropdownMenu.mjs +10 -3
- package/es/dropdown-menu/index.d.ts +1 -1
- package/es/dropdown-menu/types.d.ts +5 -1
- package/es/empty/Empty.d.ts +1 -1
- package/es/empty/index.d.ts +1 -1
- package/es/field/Field.d.ts +1 -1
- package/es/field/index.d.ts +1 -1
- package/es/floating-panel/FloatingPanel.d.ts +77 -0
- package/es/floating-panel/FloatingPanel.mjs +126 -0
- package/es/floating-panel/index.css +1 -0
- package/es/floating-panel/index.d.ts +60 -0
- package/es/floating-panel/index.mjs +8 -0
- package/es/floating-panel/style/index.d.ts +1 -0
- package/es/floating-panel/style/index.mjs +2 -0
- package/es/form/Form.d.ts +1 -1
- package/es/form/index.d.ts +1 -1
- package/es/grid/Grid.d.ts +1 -1
- package/es/grid/index.d.ts +1 -1
- package/es/grid-item/GridItem.d.ts +1 -1
- package/es/grid-item/index.d.ts +1 -1
- package/es/icon/Icon.d.ts +1 -1
- package/es/icon/index.d.ts +1 -1
- package/es/image/Image.d.ts +1 -1
- package/es/image/index.d.ts +1 -1
- package/es/image-preview/ImagePreview.d.ts +1 -1
- package/es/image-preview/ImagePreviewItem.d.ts +1 -1
- package/es/image-preview/ImagePreviewItem.mjs +9 -3
- package/es/image-preview/index.d.ts +1 -1
- package/es/index-anchor/IndexAnchor.d.ts +1 -1
- package/es/index-anchor/index.d.ts +1 -1
- package/es/index-bar/IndexBar.d.ts +1 -1
- package/es/index-bar/index.d.ts +1 -1
- package/es/index.d.ts +2 -1
- package/es/index.mjs +4 -1
- package/es/list/List.d.ts +1 -1
- package/es/list/index.d.ts +1 -1
- package/es/loading/Loading.d.ts +1 -1
- package/es/loading/index.d.ts +1 -1
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/index.d.ts +1 -1
- package/es/notice-bar/NoticeBar.d.ts +1 -1
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notify/Notify.d.ts +1 -1
- package/es/notify/index.d.ts +1 -1
- package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/es/number-keyboard/NumberKeyboardKey.d.ts +1 -1
- package/es/number-keyboard/index.d.ts +1 -1
- package/es/overlay/Overlay.d.ts +1 -1
- package/es/overlay/index.d.ts +1 -1
- package/es/pagination/Pagination.d.ts +1 -1
- package/es/pagination/index.d.ts +1 -1
- package/es/password-input/PasswordInput.d.ts +1 -1
- package/es/password-input/index.d.ts +1 -1
- package/es/picker/Picker.d.ts +1 -1
- package/es/picker/PickerColumn.d.ts +1 -1
- package/es/picker/PickerToolbar.d.ts +1 -1
- package/es/picker/index.d.ts +1 -1
- package/es/picker-group/PickerGroup.d.ts +1 -1
- package/es/picker-group/index.d.ts +1 -1
- package/es/popover/Popover.d.ts +15 -2
- package/es/popover/Popover.mjs +9 -4
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +10 -1
- package/es/popover/types.d.ts +1 -0
- package/es/popup/Popup.d.ts +1 -1
- package/es/popup/Popup.mjs +8 -1
- package/es/popup/index.d.ts +1 -1
- package/es/progress/Progress.d.ts +1 -1
- package/es/progress/index.d.ts +1 -1
- package/es/pull-refresh/PullRefresh.d.ts +1 -1
- package/es/pull-refresh/index.d.ts +1 -1
- package/es/radio/Radio.d.ts +1 -1
- package/es/radio/index.d.ts +1 -1
- package/es/radio-group/RadioGroup.d.ts +1 -1
- package/es/radio-group/index.d.ts +1 -1
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/index.d.ts +1 -1
- package/es/row/Row.d.ts +1 -1
- package/es/row/index.d.ts +1 -1
- package/es/search/Search.d.ts +1 -1
- package/es/search/index.d.ts +1 -1
- package/es/share-sheet/ShareSheet.d.ts +1 -1
- package/es/share-sheet/index.d.ts +1 -1
- package/es/sidebar/Sidebar.d.ts +1 -1
- package/es/sidebar/index.d.ts +1 -1
- package/es/sidebar-item/SidebarItem.d.ts +1 -1
- package/es/sidebar-item/index.d.ts +1 -1
- package/es/signature/Signature.d.ts +1 -1
- package/es/signature/index.d.ts +1 -1
- package/es/skeleton/Skeleton.d.ts +1 -1
- package/es/skeleton/index.d.ts +1 -1
- package/es/skeleton-avatar/SkeletonAvatar.d.ts +1 -1
- package/es/skeleton-avatar/index.d.ts +1 -1
- package/es/skeleton-image/SkeletonImage.d.ts +1 -1
- package/es/skeleton-image/index.d.ts +1 -1
- package/es/skeleton-paragraph/SkeletonParagraph.d.ts +1 -1
- package/es/skeleton-paragraph/index.d.ts +1 -1
- package/es/skeleton-title/SkeletonTitle.d.ts +1 -1
- package/es/skeleton-title/index.d.ts +1 -1
- package/es/slider/Slider.d.ts +1 -1
- package/es/slider/Slider.mjs +20 -7
- package/es/slider/index.d.ts +1 -1
- package/es/space/Space.d.ts +1 -1
- package/es/space/index.d.ts +1 -1
- 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/index.d.ts +1 -1
- package/es/steps/Steps.d.ts +1 -1
- package/es/steps/index.d.ts +1 -1
- package/es/sticky/Sticky.d.ts +1 -1
- package/es/sticky/index.d.ts +1 -1
- package/es/submit-bar/SubmitBar.d.ts +1 -1
- package/es/submit-bar/index.d.ts +1 -1
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/index.d.ts +1 -1
- package/es/swipe-cell/SwipeCell.d.ts +1 -1
- package/es/swipe-cell/index.d.ts +1 -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/index.d.ts +1 -1
- package/es/tab/Tab.d.ts +1 -1
- package/es/tab/Tab.mjs +14 -3
- package/es/tab/TabTitle.d.ts +1 -1
- package/es/tab/index.d.ts +1 -1
- package/es/tabbar/Tabbar.d.ts +1 -1
- package/es/tabbar/index.d.ts +1 -1
- package/es/tabbar-item/TabbarItem.d.ts +1 -1
- package/es/tabbar-item/index.d.ts +1 -1
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/TabsContent.d.ts +1 -1
- package/es/tabs/index.d.ts +1 -1
- package/es/tag/Tag.d.ts +1 -1
- package/es/tag/index.d.ts +1 -1
- package/es/text-ellipsis/TextEllipsis.d.ts +1 -1
- package/es/text-ellipsis/index.d.ts +1 -1
- package/es/time-picker/TimePicker.d.ts +32 -5
- package/es/time-picker/TimePicker.mjs +73 -21
- package/es/time-picker/index.d.ts +21 -3
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/index.d.ts +1 -1
- package/es/tree-select/TreeSelect.d.ts +1 -1
- package/es/tree-select/index.d.ts +1 -1
- package/es/uploader/Uploader.d.ts +1 -1
- package/es/uploader/UploaderPreviewItem.d.ts +1 -1
- package/es/uploader/index.d.ts +1 -1
- package/es/utils/basic.d.ts +3 -0
- package/es/utils/constant.d.ts +1 -0
- package/es/utils/constant.mjs +2 -0
- package/es/utils/mount-component.d.ts +1 -1
- package/es/watermark/Watermark.d.ts +1 -1
- package/es/watermark/index.d.ts +1 -1
- package/lib/action-bar/ActionBar.d.ts +1 -1
- package/lib/action-bar/index.d.ts +1 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
- package/lib/action-bar-button/index.d.ts +1 -1
- package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/lib/action-bar-icon/index.d.ts +1 -1
- package/lib/action-sheet/ActionSheet.d.ts +1 -1
- package/lib/action-sheet/index.d.ts +1 -1
- package/lib/address-edit/AddressEdit.d.ts +1 -1
- package/lib/address-edit/AddressEditDetail.d.ts +1 -1
- package/lib/address-edit/index.d.ts +1 -1
- package/lib/address-list/AddressList.d.ts +14 -1
- package/lib/address-list/AddressList.js +3 -1
- package/lib/address-list/AddressListItem.d.ts +10 -1
- package/lib/address-list/AddressListItem.js +3 -2
- package/lib/address-list/index.d.ts +10 -1
- package/lib/area/Area.d.ts +1 -1
- package/lib/area/index.d.ts +1 -1
- package/lib/back-top/BackTop.d.ts +1 -1
- package/lib/back-top/BackTop.js +13 -0
- package/lib/back-top/index.d.ts +1 -1
- package/lib/badge/Badge.d.ts +1 -1
- package/lib/badge/index.d.ts +1 -1
- package/lib/barrage/Barrage.d.ts +1 -1
- package/lib/barrage/index.d.ts +1 -1
- package/lib/button/Button.d.ts +1 -1
- package/lib/button/index.d.ts +1 -1
- package/lib/calendar/Calendar.d.ts +1 -1
- package/lib/calendar/CalendarDay.d.ts +1 -1
- package/lib/calendar/CalendarHeader.d.ts +1 -1
- package/lib/calendar/CalendarMonth.d.ts +1 -1
- package/lib/calendar/index.d.ts +1 -1
- package/lib/card/Card.d.ts +1 -1
- package/lib/card/index.d.ts +1 -1
- package/lib/cascader/Cascader.d.ts +1 -1
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cell/Cell.d.ts +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell-group/CellGroup.d.ts +1 -1
- package/lib/cell-group/index.d.ts +1 -1
- package/lib/checkbox/Checkbox.d.ts +1 -1
- package/lib/checkbox/Checker.d.ts +1 -1
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox-group/index.d.ts +1 -1
- package/lib/circle/Circle.d.ts +1 -1
- package/lib/circle/index.d.ts +1 -1
- package/lib/col/Col.d.ts +1 -1
- package/lib/col/index.d.ts +1 -1
- package/lib/collapse/Collapse.d.ts +1 -1
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse-item/CollapseItem.d.ts +1 -1
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/config-provider/ConfigProvider.d.ts +1 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/contact-card/ContactCard.d.ts +1 -1
- package/lib/contact-card/index.d.ts +1 -1
- package/lib/contact-edit/ContactEdit.d.ts +1 -1
- package/lib/contact-edit/index.d.ts +1 -1
- package/lib/contact-list/ContactList.d.ts +1 -1
- package/lib/contact-list/index.d.ts +1 -1
- package/lib/count-down/CountDown.d.ts +1 -1
- package/lib/count-down/index.d.ts +1 -1
- package/lib/coupon/Coupon.d.ts +1 -1
- package/lib/coupon/index.d.ts +1 -1
- package/lib/coupon-cell/CouponCell.d.ts +1 -1
- package/lib/coupon-cell/index.d.ts +1 -1
- package/lib/coupon-list/CouponList.d.ts +1 -1
- package/lib/coupon-list/index.d.ts +1 -1
- package/lib/date-picker/DatePicker.d.ts +4 -4
- package/lib/date-picker/index.d.ts +3 -3
- package/lib/date-picker/utils.d.ts +4 -2
- package/lib/date-picker/utils.js +2 -2
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/dialog/index.d.ts +1 -1
- package/lib/divider/Divider.d.ts +1 -1
- package/lib/divider/index.d.ts +1 -1
- package/lib/dropdown-item/DropdownItem.d.ts +1 -1
- package/lib/dropdown-item/index.d.ts +1 -1
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/DropdownMenu.js +10 -3
- package/lib/dropdown-menu/index.d.ts +1 -1
- package/lib/dropdown-menu/types.d.ts +5 -1
- package/lib/empty/Empty.d.ts +1 -1
- package/lib/empty/index.d.ts +1 -1
- package/lib/field/Field.d.ts +1 -1
- package/lib/field/index.d.ts +1 -1
- package/lib/floating-panel/FloatingPanel.d.ts +77 -0
- package/lib/floating-panel/FloatingPanel.js +145 -0
- package/lib/floating-panel/index.css +1 -0
- package/lib/floating-panel/index.d.ts +60 -0
- package/lib/floating-panel/index.js +37 -0
- package/lib/floating-panel/style/index.d.ts +1 -0
- package/lib/floating-panel/style/index.js +2 -0
- package/lib/form/Form.d.ts +1 -1
- package/lib/form/index.d.ts +1 -1
- package/lib/grid/Grid.d.ts +1 -1
- package/lib/grid/index.d.ts +1 -1
- package/lib/grid-item/GridItem.d.ts +1 -1
- package/lib/grid-item/index.d.ts +1 -1
- package/lib/icon/Icon.d.ts +1 -1
- package/lib/icon/index.d.ts +1 -1
- package/lib/image/Image.d.ts +1 -1
- package/lib/image/index.d.ts +1 -1
- package/lib/image-preview/ImagePreview.d.ts +1 -1
- package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
- package/lib/image-preview/ImagePreviewItem.js +8 -2
- package/lib/image-preview/index.d.ts +1 -1
- package/lib/index-anchor/IndexAnchor.d.ts +1 -1
- package/lib/index-anchor/index.d.ts +1 -1
- package/lib/index-bar/IndexBar.d.ts +1 -1
- package/lib/index-bar/index.d.ts +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +4 -1
- package/lib/list/List.d.ts +1 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/loading/Loading.d.ts +1 -1
- package/lib/loading/index.d.ts +1 -1
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/index.d.ts +1 -1
- package/lib/notice-bar/NoticeBar.d.ts +1 -1
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notify/Notify.d.ts +1 -1
- package/lib/notify/index.d.ts +1 -1
- package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +1 -1
- package/lib/number-keyboard/index.d.ts +1 -1
- package/lib/overlay/Overlay.d.ts +1 -1
- package/lib/overlay/index.d.ts +1 -1
- package/lib/pagination/Pagination.d.ts +1 -1
- package/lib/pagination/index.d.ts +1 -1
- package/lib/password-input/PasswordInput.d.ts +1 -1
- package/lib/password-input/index.d.ts +1 -1
- package/lib/picker/Picker.d.ts +1 -1
- package/lib/picker/PickerColumn.d.ts +1 -1
- package/lib/picker/PickerToolbar.d.ts +1 -1
- package/lib/picker/index.d.ts +1 -1
- package/lib/picker-group/PickerGroup.d.ts +1 -1
- package/lib/picker-group/index.d.ts +1 -1
- package/lib/popover/Popover.d.ts +15 -2
- package/lib/popover/Popover.js +8 -3
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +10 -1
- package/lib/popover/types.d.ts +1 -0
- package/lib/popup/Popup.d.ts +1 -1
- package/lib/popup/Popup.js +8 -1
- package/lib/popup/index.d.ts +1 -1
- package/lib/progress/Progress.d.ts +1 -1
- package/lib/progress/index.d.ts +1 -1
- package/lib/pull-refresh/PullRefresh.d.ts +1 -1
- package/lib/pull-refresh/index.d.ts +1 -1
- package/lib/radio/Radio.d.ts +1 -1
- package/lib/radio/index.d.ts +1 -1
- package/lib/radio-group/RadioGroup.d.ts +1 -1
- package/lib/radio-group/index.d.ts +1 -1
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/index.d.ts +1 -1
- package/lib/row/Row.d.ts +1 -1
- package/lib/row/index.d.ts +1 -1
- package/lib/search/Search.d.ts +1 -1
- package/lib/search/index.d.ts +1 -1
- package/lib/share-sheet/ShareSheet.d.ts +1 -1
- package/lib/share-sheet/index.d.ts +1 -1
- package/lib/sidebar/Sidebar.d.ts +1 -1
- package/lib/sidebar/index.d.ts +1 -1
- package/lib/sidebar-item/SidebarItem.d.ts +1 -1
- package/lib/sidebar-item/index.d.ts +1 -1
- package/lib/signature/Signature.d.ts +1 -1
- package/lib/signature/index.d.ts +1 -1
- package/lib/skeleton/Skeleton.d.ts +1 -1
- package/lib/skeleton/index.d.ts +1 -1
- package/lib/skeleton-avatar/SkeletonAvatar.d.ts +1 -1
- package/lib/skeleton-avatar/index.d.ts +1 -1
- package/lib/skeleton-image/SkeletonImage.d.ts +1 -1
- package/lib/skeleton-image/index.d.ts +1 -1
- package/lib/skeleton-paragraph/SkeletonParagraph.d.ts +1 -1
- package/lib/skeleton-paragraph/index.d.ts +1 -1
- package/lib/skeleton-title/SkeletonTitle.d.ts +1 -1
- package/lib/skeleton-title/index.d.ts +1 -1
- package/lib/slider/Slider.d.ts +1 -1
- package/lib/slider/Slider.js +20 -7
- package/lib/slider/index.d.ts +1 -1
- package/lib/space/Space.d.ts +1 -1
- package/lib/space/index.d.ts +1 -1
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/stepper/Stepper.d.ts +1 -1
- package/lib/stepper/index.d.ts +1 -1
- package/lib/steps/Steps.d.ts +1 -1
- package/lib/steps/index.d.ts +1 -1
- package/lib/sticky/Sticky.d.ts +1 -1
- package/lib/sticky/index.d.ts +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +1 -1
- package/lib/submit-bar/index.d.ts +1 -1
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/index.d.ts +1 -1
- package/lib/swipe-cell/SwipeCell.d.ts +1 -1
- package/lib/swipe-cell/index.d.ts +1 -1
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.d.ts +1 -1
- package/lib/switch/index.d.ts +1 -1
- package/lib/tab/Tab.d.ts +1 -1
- package/lib/tab/Tab.js +13 -2
- package/lib/tab/TabTitle.d.ts +1 -1
- package/lib/tab/index.d.ts +1 -1
- package/lib/tabbar/Tabbar.d.ts +1 -1
- package/lib/tabbar/index.d.ts +1 -1
- package/lib/tabbar-item/TabbarItem.d.ts +1 -1
- package/lib/tabbar-item/index.d.ts +1 -1
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/TabsContent.d.ts +1 -1
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tag/Tag.d.ts +1 -1
- package/lib/tag/index.d.ts +1 -1
- package/lib/text-ellipsis/TextEllipsis.d.ts +1 -1
- package/lib/text-ellipsis/index.d.ts +1 -1
- package/lib/time-picker/TimePicker.d.ts +32 -5
- package/lib/time-picker/TimePicker.js +84 -32
- package/lib/time-picker/index.d.ts +21 -3
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/index.d.ts +1 -1
- package/lib/tree-select/TreeSelect.d.ts +1 -1
- package/lib/tree-select/index.d.ts +1 -1
- package/lib/uploader/Uploader.d.ts +1 -1
- package/lib/uploader/UploaderPreviewItem.d.ts +1 -1
- package/lib/uploader/index.d.ts +1 -1
- package/lib/utils/basic.d.ts +3 -0
- package/lib/utils/constant.d.ts +1 -0
- package/lib/utils/constant.js +2 -0
- package/lib/utils/mount-component.d.ts +1 -1
- package/lib/vant.cjs.js +818 -583
- package/lib/vant.es.js +819 -584
- package/lib/vant.js +839 -579
- package/lib/vant.min.js +1 -1
- package/lib/watermark/Watermark.d.ts +1 -1
- package/lib/watermark/index.d.ts +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +5 -4
@@ -1,4 +1,4 @@
|
|
1
|
-
import { type
|
1
|
+
import { type ExtractPropTypes, type PropType } from 'vue';
|
2
2
|
export type TimePickerColumnType = 'hour' | 'minute' | 'second';
|
3
3
|
export declare const timePickerProps: {
|
4
4
|
loading: BooleanConstructor;
|
@@ -29,7 +29,7 @@ export declare const timePickerProps: {
|
|
29
29
|
type: PropType<string[]>;
|
30
30
|
default: () => never[];
|
31
31
|
};
|
32
|
-
filter: PropType<(columnType: string, options: import("../picker").PickerOption[]) => import("../picker").PickerOption[]>;
|
32
|
+
filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
|
33
33
|
formatter: {
|
34
34
|
type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
|
35
35
|
default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
|
@@ -59,10 +59,19 @@ export declare const timePickerProps: {
|
|
59
59
|
type: (NumberConstructor | StringConstructor)[];
|
60
60
|
default: number;
|
61
61
|
};
|
62
|
+
minTime: {
|
63
|
+
type: StringConstructor;
|
64
|
+
validator: (val: string) => boolean;
|
65
|
+
};
|
66
|
+
maxTime: {
|
67
|
+
type: StringConstructor;
|
68
|
+
validator: (val: string) => boolean;
|
69
|
+
};
|
62
70
|
columnsType: {
|
63
71
|
type: PropType<TimePickerColumnType[]>;
|
64
72
|
default: () => string[];
|
65
73
|
};
|
74
|
+
filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
|
66
75
|
};
|
67
76
|
export type TimePickerProps = ExtractPropTypes<typeof timePickerProps>;
|
68
77
|
declare const _default: import("vue").DefineComponent<{
|
@@ -94,7 +103,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
94
103
|
type: PropType<string[]>;
|
95
104
|
default: () => never[];
|
96
105
|
};
|
97
|
-
filter: PropType<(columnType: string, options: import("../picker").PickerOption[]) => import("../picker").PickerOption[]>;
|
106
|
+
filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
|
98
107
|
formatter: {
|
99
108
|
type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
|
100
109
|
default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
|
@@ -124,10 +133,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
124
133
|
type: (NumberConstructor | StringConstructor)[];
|
125
134
|
default: number;
|
126
135
|
};
|
136
|
+
minTime: {
|
137
|
+
type: StringConstructor;
|
138
|
+
validator: (val: string) => boolean;
|
139
|
+
};
|
140
|
+
maxTime: {
|
141
|
+
type: StringConstructor;
|
142
|
+
validator: (val: string) => boolean;
|
143
|
+
};
|
127
144
|
columnsType: {
|
128
145
|
type: PropType<TimePickerColumnType[]>;
|
129
146
|
default: () => string[];
|
130
147
|
};
|
148
|
+
filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
|
131
149
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm")[], "update:modelValue" | "cancel" | "change" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
132
150
|
loading: BooleanConstructor;
|
133
151
|
readonly: BooleanConstructor;
|
@@ -157,7 +175,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
157
175
|
type: PropType<string[]>;
|
158
176
|
default: () => never[];
|
159
177
|
};
|
160
|
-
filter: PropType<(columnType: string, options: import("../picker").PickerOption[]) => import("../picker").PickerOption[]>;
|
178
|
+
filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
|
161
179
|
formatter: {
|
162
180
|
type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
|
163
181
|
default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
|
@@ -187,10 +205,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
187
205
|
type: (NumberConstructor | StringConstructor)[];
|
188
206
|
default: number;
|
189
207
|
};
|
208
|
+
minTime: {
|
209
|
+
type: StringConstructor;
|
210
|
+
validator: (val: string) => boolean;
|
211
|
+
};
|
212
|
+
maxTime: {
|
213
|
+
type: StringConstructor;
|
214
|
+
validator: (val: string) => boolean;
|
215
|
+
};
|
190
216
|
columnsType: {
|
191
217
|
type: PropType<TimePickerColumnType[]>;
|
192
218
|
default: () => string[];
|
193
219
|
};
|
220
|
+
filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
|
194
221
|
}>> & {
|
195
222
|
onChange?: ((...args: any[]) => any) | undefined;
|
196
223
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
@@ -213,5 +240,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
213
240
|
maxMinute: string | number;
|
214
241
|
minSecond: string | number;
|
215
242
|
maxSecond: string | number;
|
216
|
-
}>;
|
243
|
+
}, {}>;
|
217
244
|
export default _default;
|
@@ -23,21 +23,32 @@ __export(stdin_exports, {
|
|
23
23
|
module.exports = __toCommonJS(stdin_exports);
|
24
24
|
var import_vue = require("vue");
|
25
25
|
var import_vue2 = require("vue");
|
26
|
-
var import_utils = require("../utils");
|
27
|
-
var import_utils2 = require("../
|
26
|
+
var import_utils = require("../date-picker/utils");
|
27
|
+
var import_utils2 = require("../utils");
|
28
28
|
var import_picker = require("../picker");
|
29
|
-
const [name] = (0,
|
30
|
-
const
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
29
|
+
const [name] = (0, import_utils2.createNamespace)("time-picker");
|
30
|
+
const validateTime = (val) => /^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/.test(val);
|
31
|
+
const fullColumns = ["hour", "minute", "second"];
|
32
|
+
const timePickerProps = (0, import_utils2.extend)({}, import_utils.sharedProps, {
|
33
|
+
minHour: (0, import_utils2.makeNumericProp)(0),
|
34
|
+
maxHour: (0, import_utils2.makeNumericProp)(23),
|
35
|
+
minMinute: (0, import_utils2.makeNumericProp)(0),
|
36
|
+
maxMinute: (0, import_utils2.makeNumericProp)(59),
|
37
|
+
minSecond: (0, import_utils2.makeNumericProp)(0),
|
38
|
+
maxSecond: (0, import_utils2.makeNumericProp)(59),
|
39
|
+
minTime: {
|
40
|
+
type: String,
|
41
|
+
validator: validateTime
|
42
|
+
},
|
43
|
+
maxTime: {
|
44
|
+
type: String,
|
45
|
+
validator: validateTime
|
46
|
+
},
|
37
47
|
columnsType: {
|
38
48
|
type: Array,
|
39
49
|
default: () => ["hour", "minute"]
|
40
|
-
}
|
50
|
+
},
|
51
|
+
filter: Function
|
41
52
|
});
|
42
53
|
var stdin_default = (0, import_vue2.defineComponent)({
|
43
54
|
name,
|
@@ -48,33 +59,74 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
48
59
|
slots
|
49
60
|
}) {
|
50
61
|
const currentValues = (0, import_vue2.ref)(props.modelValue);
|
51
|
-
const
|
52
|
-
const
|
53
|
-
|
54
|
-
|
62
|
+
const getValidTime = (time) => {
|
63
|
+
const timeLimitArr = time.split(":");
|
64
|
+
return fullColumns.map((col, i) => props.columnsType.includes(col) ? timeLimitArr[i] : "00");
|
65
|
+
};
|
66
|
+
const columns = (0, import_vue2.computed)(() => {
|
67
|
+
let {
|
68
|
+
minHour,
|
69
|
+
maxHour,
|
70
|
+
minMinute,
|
71
|
+
maxMinute,
|
72
|
+
minSecond,
|
73
|
+
maxSecond
|
55
74
|
} = props;
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
75
|
+
if (props.minTime || props.maxTime) {
|
76
|
+
const fullTime = {
|
77
|
+
hour: 0,
|
78
|
+
minute: 0,
|
79
|
+
second: 0
|
80
|
+
};
|
81
|
+
props.columnsType.forEach((col, i) => {
|
82
|
+
var _a;
|
83
|
+
fullTime[col] = (_a = currentValues.value[i]) != null ? _a : 0;
|
84
|
+
});
|
85
|
+
const {
|
86
|
+
hour,
|
87
|
+
minute
|
88
|
+
} = fullTime;
|
89
|
+
if (props.minTime) {
|
90
|
+
const [minH, minM, minS] = getValidTime(props.minTime);
|
91
|
+
minHour = minH;
|
92
|
+
minMinute = +hour <= +minHour ? minM : "00";
|
93
|
+
minSecond = +hour <= +minHour && +minute <= +minMinute ? minS : "00";
|
94
|
+
}
|
95
|
+
if (props.maxTime) {
|
96
|
+
const [maxH, maxM, maxS] = getValidTime(props.maxTime);
|
97
|
+
maxHour = maxH;
|
98
|
+
maxMinute = +hour >= +maxHour ? maxM : "59";
|
99
|
+
maxSecond = +hour >= +maxHour && +minute >= +maxMinute ? maxS : "59";
|
100
|
+
}
|
68
101
|
}
|
69
|
-
|
102
|
+
return props.columnsType.map((type) => {
|
103
|
+
const {
|
104
|
+
filter,
|
105
|
+
formatter
|
106
|
+
} = props;
|
107
|
+
switch (type) {
|
108
|
+
case "hour":
|
109
|
+
return (0, import_utils.genOptions)(+minHour, +maxHour, type, formatter, filter, currentValues.value);
|
110
|
+
case "minute":
|
111
|
+
return (0, import_utils.genOptions)(+minMinute, +maxMinute, type, formatter, filter, currentValues.value);
|
112
|
+
case "second":
|
113
|
+
return (0, import_utils.genOptions)(+minSecond, +maxSecond, type, formatter, filter, currentValues.value);
|
114
|
+
default:
|
115
|
+
if (process.env.NODE_ENV !== "production") {
|
116
|
+
throw new Error(`[Vant] DatePicker: unsupported columns type: ${type}`);
|
117
|
+
}
|
118
|
+
return [];
|
119
|
+
}
|
120
|
+
});
|
121
|
+
});
|
70
122
|
(0, import_vue2.watch)(currentValues, (newValues) => {
|
71
|
-
if (!(0,
|
123
|
+
if (!(0, import_utils2.isSameValue)(newValues, props.modelValue)) {
|
72
124
|
emit("update:modelValue", newValues);
|
73
125
|
}
|
74
126
|
});
|
75
127
|
(0, import_vue2.watch)(() => props.modelValue, (newValues) => {
|
76
|
-
newValues = (0,
|
77
|
-
if (!(0,
|
128
|
+
newValues = (0, import_utils.formatValueRange)(newValues, columns.value);
|
129
|
+
if (!(0, import_utils2.isSameValue)(newValues, currentValues.value)) {
|
78
130
|
currentValues.value = newValues;
|
79
131
|
}
|
80
132
|
}, {
|
@@ -90,6 +142,6 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
90
142
|
"onChange": onChange,
|
91
143
|
"onCancel": onCancel,
|
92
144
|
"onConfirm": onConfirm
|
93
|
-
}, (0,
|
145
|
+
}, (0, import_utils2.pick)(props, import_utils.pickerInheritKeys)), slots);
|
94
146
|
}
|
95
147
|
});
|
@@ -28,7 +28,7 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
28
28
|
type: import("vue").PropType<string[]>;
|
29
29
|
default: () => never[];
|
30
30
|
};
|
31
|
-
filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[]) => import("..").PickerOption[]>;
|
31
|
+
filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values?: string[] | undefined) => import("..").PickerOption[]>;
|
32
32
|
formatter: {
|
33
33
|
type: import("vue").PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
|
34
34
|
default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
|
@@ -58,10 +58,19 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
58
58
|
type: (NumberConstructor | StringConstructor)[];
|
59
59
|
default: number;
|
60
60
|
};
|
61
|
+
minTime: {
|
62
|
+
type: StringConstructor;
|
63
|
+
validator: (val: string) => boolean;
|
64
|
+
};
|
65
|
+
maxTime: {
|
66
|
+
type: StringConstructor;
|
67
|
+
validator: (val: string) => boolean;
|
68
|
+
};
|
61
69
|
columnsType: {
|
62
70
|
type: import("vue").PropType<import("./TimePicker").TimePickerColumnType[]>;
|
63
71
|
default: () => string[];
|
64
72
|
};
|
73
|
+
filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
|
65
74
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm")[], "update:modelValue" | "cancel" | "change" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
66
75
|
loading: BooleanConstructor;
|
67
76
|
readonly: BooleanConstructor;
|
@@ -91,7 +100,7 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
91
100
|
type: import("vue").PropType<string[]>;
|
92
101
|
default: () => never[];
|
93
102
|
};
|
94
|
-
filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[]) => import("..").PickerOption[]>;
|
103
|
+
filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values?: string[] | undefined) => import("..").PickerOption[]>;
|
95
104
|
formatter: {
|
96
105
|
type: import("vue").PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
|
97
106
|
default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
|
@@ -121,10 +130,19 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
121
130
|
type: (NumberConstructor | StringConstructor)[];
|
122
131
|
default: number;
|
123
132
|
};
|
133
|
+
minTime: {
|
134
|
+
type: StringConstructor;
|
135
|
+
validator: (val: string) => boolean;
|
136
|
+
};
|
137
|
+
maxTime: {
|
138
|
+
type: StringConstructor;
|
139
|
+
validator: (val: string) => boolean;
|
140
|
+
};
|
124
141
|
columnsType: {
|
125
142
|
type: import("vue").PropType<import("./TimePicker").TimePickerColumnType[]>;
|
126
143
|
default: () => string[];
|
127
144
|
};
|
145
|
+
filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
|
128
146
|
}>> & {
|
129
147
|
onChange?: ((...args: any[]) => any) | undefined;
|
130
148
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
@@ -147,7 +165,7 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
147
165
|
maxMinute: string | number;
|
148
166
|
minSecond: string | number;
|
149
167
|
maxSecond: string | number;
|
150
|
-
}>>;
|
168
|
+
}, {}>>;
|
151
169
|
export default TimePicker;
|
152
170
|
export { timePickerProps } from './TimePicker';
|
153
171
|
export type { TimePickerProps };
|
package/lib/toast/Toast.d.ts
CHANGED
package/lib/toast/index.d.ts
CHANGED
@@ -74,7 +74,7 @@ export declare const Toast: import("../utils").WithInstall<import("vue").DefineC
|
|
74
74
|
transition: string;
|
75
75
|
forbidClick: boolean;
|
76
76
|
closeOnClick: boolean;
|
77
|
-
}>>;
|
77
|
+
}, {}>>;
|
78
78
|
export default Toast;
|
79
79
|
export { toastProps } from './Toast';
|
80
80
|
export { showToast, closeToast, showFailToast, showLoadingToast, showSuccessToast, allowMultipleToast, setToastDefaultOptions, resetToastDefaultOptions, } from './function-call';
|
@@ -60,7 +60,7 @@ export declare const TreeSelect: import("../utils").WithInstall<import("vue").De
|
|
60
60
|
selectedIcon: string;
|
61
61
|
mainActiveIndex: string | number;
|
62
62
|
activeId: import("../utils").Numeric | import("../utils").Numeric[];
|
63
|
-
}>>;
|
63
|
+
}, {}>>;
|
64
64
|
export default TreeSelect;
|
65
65
|
export { treeSelectProps } from './TreeSelect';
|
66
66
|
export type { TreeSelectItem, TreeSelectChild, TreeSelectProps, } from './TreeSelect';
|
package/lib/uploader/index.d.ts
CHANGED
@@ -147,7 +147,7 @@ export declare const Uploader: import("../utils").WithInstall<import("vue").Defi
|
|
147
147
|
previewImage: boolean;
|
148
148
|
previewFullImage: boolean;
|
149
149
|
maxSize: import("./types").UploaderMaxSize;
|
150
|
-
}>>;
|
150
|
+
}, {}>>;
|
151
151
|
export default Uploader;
|
152
152
|
export { uploaderProps } from './Uploader';
|
153
153
|
export type { UploaderProps };
|
package/lib/utils/basic.d.ts
CHANGED
@@ -13,6 +13,9 @@ export declare function get(object: any, path: string): any;
|
|
13
13
|
export type Writeable<T> = {
|
14
14
|
-readonly [P in keyof T]: T[P];
|
15
15
|
};
|
16
|
+
export type RequiredParams<T> = T extends (...args: infer P) => infer R ? (...args: {
|
17
|
+
[K in keyof P]-?: NonNullable<P[K]>;
|
18
|
+
}) => R : never;
|
16
19
|
export declare function pick<T, U extends keyof T>(obj: T, keys: ReadonlyArray<U>, ignoreUndefined?: boolean): Writeable<Pick<T, U>>;
|
17
20
|
export declare const isSameValue: (newValue: unknown, oldValue: unknown) => boolean;
|
18
21
|
export declare const toArray: <T>(item: T | T[]) => T[];
|
package/lib/utils/constant.d.ts
CHANGED
@@ -3,6 +3,7 @@ import type { FormProvide } from '../form/types';
|
|
3
3
|
export declare const BORDER = "van-hairline";
|
4
4
|
export declare const BORDER_TOP: string;
|
5
5
|
export declare const BORDER_LEFT: string;
|
6
|
+
export declare const BORDER_RIGHT: string;
|
6
7
|
export declare const BORDER_BOTTOM: string;
|
7
8
|
export declare const BORDER_SURROUND: string;
|
8
9
|
export declare const BORDER_TOP_BOTTOM: string;
|
package/lib/utils/constant.js
CHANGED
@@ -20,6 +20,7 @@ __export(stdin_exports, {
|
|
20
20
|
BORDER: () => BORDER,
|
21
21
|
BORDER_BOTTOM: () => BORDER_BOTTOM,
|
22
22
|
BORDER_LEFT: () => BORDER_LEFT,
|
23
|
+
BORDER_RIGHT: () => BORDER_RIGHT,
|
23
24
|
BORDER_SURROUND: () => BORDER_SURROUND,
|
24
25
|
BORDER_TOP: () => BORDER_TOP,
|
25
26
|
BORDER_TOP_BOTTOM: () => BORDER_TOP_BOTTOM,
|
@@ -32,6 +33,7 @@ module.exports = __toCommonJS(stdin_exports);
|
|
32
33
|
const BORDER = "van-hairline";
|
33
34
|
const BORDER_TOP = `${BORDER}--top`;
|
34
35
|
const BORDER_LEFT = `${BORDER}--left`;
|
36
|
+
const BORDER_RIGHT = `${BORDER}--right`;
|
35
37
|
const BORDER_BOTTOM = `${BORDER}--bottom`;
|
36
38
|
const BORDER_SURROUND = `${BORDER}--surround`;
|
37
39
|
const BORDER_TOP_BOTTOM = `${BORDER}--top-bottom`;
|
@@ -9,6 +9,6 @@ export declare function usePopupState(): {
|
|
9
9
|
toggle: (show: boolean) => void;
|
10
10
|
};
|
11
11
|
export declare function mountComponent(RootComponent: Component): {
|
12
|
-
instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
12
|
+
instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
13
13
|
unmount(): void;
|
14
14
|
};
|