vant 4.0.0-beta.0 → 4.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -9
- package/changelog.generated.md +207 -163
- package/es/action-bar/ActionBar.d.ts +2 -2
- package/es/action-bar/ActionBar.mjs +1 -0
- package/es/action-bar/index.d.ts +2 -1
- package/es/action-bar/index.mjs +2 -0
- package/es/action-bar-button/ActionBarButton.d.ts +2 -2
- package/es/action-bar-button/ActionBarButton.mjs +1 -0
- package/es/action-bar-button/index.d.ts +2 -1
- package/es/action-bar-button/index.mjs +2 -0
- package/es/action-bar-icon/ActionBarIcon.d.ts +2 -2
- package/es/action-bar-icon/ActionBarIcon.mjs +1 -0
- package/es/action-bar-icon/index.d.ts +2 -1
- package/es/action-bar-icon/index.mjs +2 -0
- package/es/action-sheet/ActionSheet.d.ts +1 -1
- package/es/action-sheet/ActionSheet.mjs +1 -0
- package/es/action-sheet/index.d.ts +1 -0
- package/es/action-sheet/index.mjs +2 -0
- package/es/address-edit/AddressEdit.d.ts +1 -1
- package/es/address-edit/AddressEdit.mjs +1 -0
- package/es/address-edit/index.d.ts +1 -0
- package/es/address-edit/index.mjs +2 -0
- package/es/address-edit/style/index.mjs +7 -1
- package/es/address-list/AddressList.d.ts +1 -1
- package/es/address-list/AddressList.mjs +1 -0
- package/es/address-list/index.d.ts +1 -0
- package/es/address-list/index.mjs +2 -0
- package/es/area/Area.d.ts +7 -4
- package/es/area/Area.mjs +1 -0
- package/es/area/index.d.ts +5 -2
- package/es/area/index.mjs +2 -0
- package/es/area/style/index.mjs +7 -0
- package/es/area/utils.mjs +9 -2
- package/es/badge/Badge.d.ts +2 -2
- package/es/badge/Badge.mjs +2 -1
- package/es/badge/index.d.ts +2 -1
- package/es/badge/index.mjs +2 -0
- package/es/button/Button.d.ts +1 -1
- package/es/button/Button.mjs +1 -0
- package/es/button/index.d.ts +1 -0
- package/es/button/index.mjs +2 -0
- package/es/calendar/Calendar.d.ts +1 -1
- package/es/calendar/Calendar.mjs +8 -7
- package/es/calendar/index.d.ts +1 -0
- package/es/calendar/index.mjs +2 -0
- package/es/calendar/style/index.mjs +7 -1
- package/es/card/Card.d.ts +1 -1
- package/es/card/Card.mjs +1 -0
- package/es/card/index.d.ts +1 -0
- package/es/card/index.mjs +2 -0
- package/es/cascader/Cascader.d.ts +1 -1
- package/es/cascader/Cascader.mjs +1 -0
- package/es/cascader/index.d.ts +1 -0
- package/es/cascader/index.mjs +2 -0
- package/es/cell/Cell.d.ts +2 -2
- package/es/cell/Cell.mjs +1 -0
- package/es/cell/index.d.ts +2 -1
- package/es/cell/index.mjs +2 -0
- package/es/cell-group/CellGroup.d.ts +2 -2
- package/es/cell-group/CellGroup.mjs +1 -0
- package/es/cell-group/index.d.ts +2 -1
- package/es/cell-group/index.mjs +2 -0
- package/es/checkbox/Checkbox.d.ts +1 -1
- package/es/checkbox/Checkbox.mjs +1 -0
- package/es/checkbox/index.d.ts +1 -0
- package/es/checkbox/index.mjs +2 -0
- package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/es/checkbox-group/CheckboxGroup.mjs +1 -0
- package/es/checkbox-group/index.d.ts +1 -0
- package/es/checkbox-group/index.mjs +2 -0
- package/es/circle/Circle.d.ts +1 -1
- package/es/circle/Circle.mjs +1 -0
- package/es/circle/index.d.ts +1 -0
- package/es/circle/index.mjs +2 -0
- package/es/col/Col.d.ts +2 -2
- package/es/col/Col.mjs +1 -0
- package/es/col/index.d.ts +2 -1
- package/es/col/index.mjs +2 -0
- package/es/collapse/Collapse.d.ts +9 -2
- package/es/collapse/Collapse.mjs +29 -1
- package/es/collapse/index.d.ts +2 -1
- package/es/collapse/index.mjs +2 -0
- package/es/collapse-item/CollapseItem.d.ts +2 -2
- package/es/collapse-item/CollapseItem.mjs +4 -1
- package/es/collapse-item/index.d.ts +2 -1
- package/es/collapse-item/index.mjs +2 -0
- package/es/composables/use-global-z-index.d.ts +4 -0
- package/es/composables/use-global-z-index.mjs +9 -0
- package/es/composables/use-height.d.ts +1 -1
- package/es/composables/use-height.mjs +8 -2
- package/es/composables/use-lazy-render.mjs +9 -5
- package/es/composables/use-lock-scroll.mjs +7 -2
- package/es/composables/use-placeholder.mjs +1 -1
- package/es/composables/use-visibility-change.mjs +6 -3
- package/es/config-provider/ConfigProvider.d.ts +15 -5
- package/es/config-provider/ConfigProvider.mjs +26 -9
- package/es/config-provider/index.d.ts +10 -3
- package/es/config-provider/index.mjs +2 -0
- package/es/contact-card/ContactCard.d.ts +1 -1
- package/es/contact-card/ContactCard.mjs +1 -0
- package/es/contact-card/index.d.ts +1 -0
- package/es/contact-card/index.mjs +2 -0
- package/es/contact-edit/ContactEdit.d.ts +1 -1
- package/es/contact-edit/ContactEdit.mjs +1 -0
- package/es/contact-edit/index.d.ts +1 -0
- package/es/contact-edit/index.mjs +2 -0
- package/es/contact-list/ContactList.d.ts +1 -1
- package/es/contact-list/ContactList.mjs +1 -0
- package/es/contact-list/index.d.ts +1 -0
- package/es/contact-list/index.mjs +2 -0
- package/es/count-down/CountDown.d.ts +1 -1
- package/es/count-down/CountDown.mjs +1 -0
- package/es/count-down/index.d.ts +1 -0
- package/es/count-down/index.mjs +2 -0
- package/es/coupon/Coupon.d.ts +1 -1
- package/es/coupon/index.d.ts +1 -1
- package/es/coupon/utils.mjs +3 -1
- package/es/coupon-cell/CouponCell.d.ts +2 -2
- package/es/coupon-cell/CouponCell.mjs +1 -0
- package/es/coupon-cell/index.d.ts +2 -1
- package/es/coupon-cell/index.mjs +2 -0
- package/es/coupon-list/CouponList.d.ts +1 -1
- package/es/coupon-list/CouponList.mjs +1 -0
- package/es/coupon-list/index.d.ts +1 -0
- package/es/coupon-list/index.mjs +2 -0
- package/es/coupon-list/style/index.mjs +3 -3
- package/es/date-picker/DatePicker.d.ts +7 -4
- package/es/date-picker/DatePicker.mjs +11 -10
- package/es/date-picker/index.d.ts +5 -2
- package/es/date-picker/index.mjs +2 -0
- package/es/date-picker/style/index.mjs +7 -0
- package/es/date-picker/utils.d.ts +2 -1
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/dialog/Dialog.mjs +2 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +1 -0
- package/es/dialog/index.mjs +2 -0
- package/es/dialog/types.d.ts +1 -1
- package/es/divider/Divider.d.ts +2 -2
- package/es/divider/Divider.mjs +2 -1
- package/es/divider/index.d.ts +2 -1
- package/es/divider/index.mjs +3 -1
- package/es/dropdown-item/DropdownItem.d.ts +3 -3
- package/es/dropdown-item/DropdownItem.mjs +2 -1
- package/es/dropdown-item/index.d.ts +3 -2
- package/es/dropdown-item/index.mjs +3 -1
- package/es/dropdown-menu/DropdownMenu.d.ts +2 -2
- package/es/dropdown-menu/DropdownMenu.mjs +4 -2
- package/es/dropdown-menu/index.d.ts +2 -1
- package/es/dropdown-menu/index.mjs +3 -1
- package/es/empty/Empty.d.ts +3 -3
- package/es/empty/Empty.mjs +283 -17
- package/es/empty/index.d.ts +2 -1
- package/es/empty/index.mjs +3 -1
- package/es/field/Field.d.ts +1 -1
- package/es/field/Field.mjs +15 -4
- package/es/field/index.d.ts +1 -0
- package/es/field/index.mjs +3 -1
- package/es/field/types.d.ts +1 -0
- package/es/field/utils.d.ts +1 -0
- package/es/field/utils.mjs +8 -2
- package/es/form/Form.d.ts +1 -1
- package/es/form/Form.mjs +2 -1
- package/es/form/index.d.ts +1 -0
- package/es/form/index.mjs +3 -1
- package/es/grid/Grid.d.ts +2 -2
- package/es/grid/Grid.mjs +2 -1
- package/es/grid/index.d.ts +2 -1
- package/es/grid/index.mjs +3 -1
- package/es/grid-item/GridItem.d.ts +2 -2
- package/es/grid-item/GridItem.mjs +2 -1
- package/es/grid-item/index.d.ts +2 -1
- package/es/grid-item/index.mjs +3 -1
- package/es/icon/Icon.d.ts +2 -2
- package/es/icon/Icon.mjs +2 -1
- package/es/icon/index.d.ts +2 -1
- package/es/icon/index.mjs +3 -1
- package/es/image/Image.d.ts +5 -1
- package/es/image/Image.mjs +5 -2
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +4 -0
- package/es/image/index.mjs +3 -1
- package/es/image-preview/ImagePreview.d.ts +1 -1
- package/es/image-preview/ImagePreview.mjs +2 -1
- package/es/image-preview/ImagePreviewItem.mjs +11 -3
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.d.ts +1 -0
- package/es/image-preview/index.mjs +2 -0
- package/es/index-anchor/IndexAnchor.d.ts +2 -2
- package/es/index-anchor/IndexAnchor.mjs +2 -1
- package/es/index-anchor/index.d.ts +2 -1
- package/es/index-anchor/index.mjs +3 -1
- package/es/index-bar/IndexBar.d.ts +1 -1
- package/es/index-bar/IndexBar.mjs +11 -5
- package/es/index-bar/index.d.ts +1 -0
- package/es/index-bar/index.mjs +3 -1
- package/es/index.d.ts +3 -1
- package/es/index.mjs +7 -1
- package/es/lazyload/vue-lazyload/lazy-component.mjs +4 -1
- package/es/lazyload/vue-lazyload/lazy-container.mjs +11 -7
- package/es/lazyload/vue-lazyload/lazy-image.mjs +24 -14
- package/es/lazyload/vue-lazyload/lazy.mjs +11 -3
- package/es/lazyload/vue-lazyload/listener.mjs +45 -33
- package/es/lazyload/vue-lazyload/util.mjs +4 -1
- package/es/list/List.d.ts +1 -1
- package/es/list/List.mjs +4 -2
- package/es/list/index.d.ts +1 -0
- package/es/list/index.mjs +3 -1
- package/es/loading/Loading.d.ts +2 -2
- package/es/loading/Loading.mjs +2 -1
- package/es/loading/index.d.ts +2 -1
- package/es/loading/index.mjs +3 -1
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/NavBar.mjs +2 -1
- package/es/nav-bar/index.d.ts +1 -0
- package/es/nav-bar/index.mjs +3 -1
- package/es/notice-bar/NoticeBar.d.ts +1 -1
- package/es/notice-bar/NoticeBar.mjs +2 -1
- package/es/notice-bar/index.d.ts +1 -0
- package/es/notice-bar/index.mjs +3 -1
- package/es/notify/Notify.d.ts +1 -1
- package/es/notify/Notify.mjs +2 -1
- package/es/notify/index.d.ts +1 -0
- package/es/notify/index.mjs +2 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/es/number-keyboard/NumberKeyboard.mjs +3 -3
- package/es/number-keyboard/NumberKeyboardKey.mjs +2 -2
- package/es/number-keyboard/index.d.ts +2 -1
- package/es/number-keyboard/index.mjs +3 -1
- package/es/overlay/Overlay.d.ts +2 -2
- package/es/overlay/Overlay.mjs +15 -7
- package/es/overlay/index.d.ts +2 -1
- package/es/overlay/index.mjs +3 -1
- package/es/pagination/Pagination.d.ts +1 -1
- package/es/pagination/Pagination.mjs +2 -1
- package/es/pagination/index.d.ts +1 -0
- package/es/pagination/index.mjs +3 -1
- package/es/password-input/PasswordInput.d.ts +1 -1
- package/es/password-input/PasswordInput.mjs +3 -2
- package/es/password-input/index.d.ts +1 -0
- package/es/password-input/index.mjs +3 -1
- package/es/picker/Picker.d.ts +11 -6
- package/es/picker/Picker.mjs +51 -65
- package/es/picker/PickerColumn.d.ts +2 -1
- package/es/picker/PickerColumn.mjs +11 -6
- package/es/picker/PickerToolbar.d.ts +21 -0
- package/es/picker/PickerToolbar.mjs +59 -0
- package/es/picker/index.d.ts +7 -3
- package/es/picker/index.mjs +3 -1
- package/es/picker/style/index.mjs +7 -0
- package/es/picker/utils.d.ts +2 -0
- package/es/picker/utils.mjs +14 -7
- package/es/picker-group/PickerGroup.d.ts +39 -0
- package/es/picker-group/PickerGroup.mjs +57 -0
- package/es/picker-group/index.css +1 -0
- package/es/picker-group/index.d.ts +33 -0
- package/es/picker-group/index.mjs +10 -0
- package/es/picker-group/style/index.d.ts +1 -0
- package/es/picker-group/style/index.mjs +9 -0
- package/es/popover/Popover.d.ts +1 -1
- package/es/popover/Popover.mjs +30 -28
- package/es/popover/index.d.ts +1 -0
- package/es/popover/index.mjs +3 -1
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/Popup.mjs +8 -6
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +3 -2
- package/es/popup/index.mjs +3 -1
- package/es/popup/shared.mjs +3 -1
- package/es/progress/Progress.d.ts +2 -2
- package/es/progress/Progress.mjs +2 -1
- package/es/progress/index.d.ts +2 -1
- package/es/progress/index.mjs +3 -1
- package/es/pull-refresh/PullRefresh.d.ts +1 -1
- package/es/pull-refresh/PullRefresh.mjs +9 -4
- package/es/pull-refresh/index.d.ts +1 -0
- package/es/pull-refresh/index.mjs +3 -1
- package/es/radio/Radio.d.ts +15 -2
- package/es/radio/Radio.mjs +3 -1
- package/es/radio/index.d.ts +1 -0
- package/es/radio/index.mjs +3 -1
- package/es/radio-group/RadioGroup.d.ts +1 -1
- package/es/radio-group/RadioGroup.mjs +2 -1
- package/es/radio-group/index.d.ts +1 -0
- package/es/radio-group/index.mjs +3 -1
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/Rate.mjs +7 -4
- package/es/rate/index.d.ts +1 -0
- package/es/rate/index.mjs +3 -1
- package/es/row/Row.d.ts +2 -2
- package/es/row/Row.mjs +2 -1
- package/es/row/index.d.ts +2 -1
- package/es/row/index.mjs +3 -1
- package/es/search/Search.d.ts +1 -1
- package/es/search/Search.mjs +2 -1
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +1 -0
- package/es/search/index.mjs +3 -1
- package/es/share-sheet/ShareSheet.d.ts +1 -1
- package/es/share-sheet/ShareSheet.mjs +2 -1
- package/es/share-sheet/index.d.ts +1 -0
- package/es/share-sheet/index.mjs +3 -1
- package/es/sidebar/Sidebar.d.ts +1 -1
- package/es/sidebar/Sidebar.mjs +2 -1
- package/es/sidebar/index.d.ts +1 -0
- package/es/sidebar/index.mjs +3 -1
- package/es/sidebar-item/SidebarItem.d.ts +1 -1
- package/es/sidebar-item/SidebarItem.mjs +2 -1
- package/es/sidebar-item/index.d.ts +1 -0
- package/es/sidebar-item/index.mjs +3 -1
- package/es/skeleton/Skeleton.d.ts +2 -2
- package/es/skeleton/Skeleton.mjs +2 -1
- package/es/skeleton/index.d.ts +2 -1
- package/es/skeleton/index.mjs +3 -1
- package/es/slider/Slider.d.ts +1 -1
- package/es/slider/Slider.mjs +9 -4
- package/es/slider/index.d.ts +1 -0
- package/es/slider/index.mjs +3 -1
- package/es/space/Space.d.ts +48 -0
- package/es/space/Space.mjs +88 -0
- package/es/space/index.css +1 -0
- package/es/space/index.d.ts +38 -0
- package/es/space/index.mjs +10 -0
- package/es/space/style/index.d.ts +1 -0
- package/es/space/style/index.mjs +2 -0
- package/es/step/Step.d.ts +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +1 -1
- package/es/stepper/Stepper.mjs +3 -2
- package/es/stepper/index.d.ts +1 -0
- package/es/stepper/index.mjs +3 -1
- package/es/steps/Steps.d.ts +1 -1
- package/es/steps/Steps.mjs +2 -1
- package/es/steps/index.d.ts +1 -0
- package/es/steps/index.mjs +3 -1
- package/es/sticky/Sticky.d.ts +1 -1
- package/es/sticky/Sticky.mjs +4 -2
- package/es/sticky/index.d.ts +1 -0
- package/es/sticky/index.mjs +3 -1
- package/es/submit-bar/SubmitBar.d.ts +1 -1
- package/es/submit-bar/SubmitBar.mjs +2 -1
- package/es/submit-bar/index.d.ts +1 -0
- package/es/submit-bar/index.mjs +3 -1
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/Swipe.mjs +16 -8
- package/es/swipe/index.d.ts +1 -0
- package/es/swipe/index.mjs +3 -1
- package/es/swipe-cell/SwipeCell.d.ts +3 -3
- package/es/swipe-cell/SwipeCell.mjs +7 -4
- package/es/swipe-cell/index.d.ts +3 -2
- package/es/swipe-cell/index.mjs +3 -1
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +1 -1
- package/es/switch/Switch.mjs +2 -1
- package/es/switch/index.d.ts +1 -0
- package/es/switch/index.mjs +3 -1
- package/es/tab/Tab.d.ts +2 -2
- package/es/tab/Tab.mjs +2 -1
- package/es/tab/index.d.ts +2 -1
- package/es/tab/index.mjs +3 -1
- package/es/tabbar/Tabbar.d.ts +1 -1
- package/es/tabbar/Tabbar.mjs +2 -1
- package/es/tabbar/index.d.ts +1 -0
- package/es/tabbar/index.mjs +3 -1
- package/es/tabbar-item/TabbarItem.d.ts +1 -1
- package/es/tabbar-item/TabbarItem.mjs +2 -1
- package/es/tabbar-item/index.d.ts +1 -0
- package/es/tabbar-item/index.mjs +3 -1
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.mjs +14 -3
- package/es/tabs/TabsContent.mjs +4 -0
- package/es/tabs/TabsTitle.d.ts +1 -1
- package/es/tabs/index.d.ts +1 -0
- package/es/tabs/index.mjs +3 -1
- package/es/tag/Tag.d.ts +1 -1
- package/es/tag/Tag.mjs +2 -1
- package/es/tag/index.d.ts +1 -0
- package/es/tag/index.mjs +3 -1
- package/es/time-picker/TimePicker.d.ts +7 -4
- package/es/time-picker/TimePicker.mjs +2 -1
- package/es/time-picker/index.d.ts +5 -2
- package/es/time-picker/index.mjs +3 -1
- package/es/time-picker/style/index.mjs +7 -0
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/Toast.mjs +9 -2
- package/es/toast/index.d.ts +1 -0
- package/es/toast/index.mjs +3 -1
- package/es/tree-select/TreeSelect.d.ts +1 -1
- package/es/tree-select/TreeSelect.mjs +2 -1
- package/es/tree-select/index.d.ts +1 -0
- package/es/tree-select/index.mjs +3 -1
- package/es/uploader/Uploader.d.ts +1 -1
- package/es/uploader/Uploader.mjs +2 -1
- package/es/uploader/index.d.ts +1 -0
- package/es/uploader/index.mjs +3 -1
- package/es/utils/basic.mjs +2 -1
- package/es/utils/create.mjs +8 -2
- package/es/utils/with-install.d.ts +2 -2
- package/es/utils/with-install.mjs +4 -2
- package/es/vue-tsx-shim.d.ts +7 -0
- package/lib/action-bar/ActionBar.d.ts +2 -2
- package/lib/action-bar/ActionBar.js +1 -0
- package/lib/action-bar/index.d.ts +2 -1
- package/lib/action-bar/index.js +6 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +2 -2
- package/lib/action-bar-button/ActionBarButton.js +1 -0
- package/lib/action-bar-button/index.d.ts +2 -1
- package/lib/action-bar-button/index.js +6 -1
- package/lib/action-bar-icon/ActionBarIcon.d.ts +2 -2
- package/lib/action-bar-icon/ActionBarIcon.js +1 -0
- package/lib/action-bar-icon/index.d.ts +2 -1
- package/lib/action-bar-icon/index.js +6 -1
- package/lib/action-sheet/ActionSheet.d.ts +1 -1
- package/lib/action-sheet/ActionSheet.js +1 -0
- package/lib/action-sheet/index.d.ts +1 -0
- package/lib/action-sheet/index.js +6 -1
- package/lib/address-edit/AddressEdit.d.ts +1 -1
- package/lib/address-edit/AddressEdit.js +5 -1
- package/lib/address-edit/index.d.ts +1 -0
- package/lib/address-edit/index.js +6 -1
- package/lib/address-edit/style/index.js +7 -1
- package/lib/address-list/AddressList.d.ts +1 -1
- package/lib/address-list/AddressList.js +5 -1
- package/lib/address-list/index.d.ts +1 -0
- package/lib/address-list/index.js +6 -1
- package/lib/area/Area.d.ts +7 -4
- package/lib/area/Area.js +1 -0
- package/lib/area/index.d.ts +5 -2
- package/lib/area/index.js +6 -1
- package/lib/area/style/index.js +7 -0
- package/lib/area/utils.js +9 -2
- package/lib/badge/Badge.d.ts +2 -2
- package/lib/badge/Badge.js +2 -1
- package/lib/badge/index.d.ts +2 -1
- package/lib/badge/index.js +6 -1
- package/lib/button/Button.d.ts +1 -1
- package/lib/button/Button.js +1 -0
- package/lib/button/index.d.ts +1 -0
- package/lib/button/index.js +6 -1
- package/lib/calendar/Calendar.d.ts +1 -1
- package/lib/calendar/Calendar.js +12 -8
- package/lib/calendar/CalendarMonth.js +4 -1
- package/lib/calendar/index.d.ts +1 -0
- package/lib/calendar/index.js +6 -1
- package/lib/calendar/style/index.js +7 -1
- package/lib/card/Card.d.ts +1 -1
- package/lib/card/Card.js +1 -0
- package/lib/card/index.d.ts +1 -0
- package/lib/card/index.js +6 -1
- package/lib/cascader/Cascader.d.ts +1 -1
- package/lib/cascader/Cascader.js +1 -0
- package/lib/cascader/index.d.ts +1 -0
- package/lib/cascader/index.js +6 -1
- package/lib/cell/Cell.d.ts +2 -2
- package/lib/cell/Cell.js +1 -0
- package/lib/cell/index.d.ts +2 -1
- package/lib/cell/index.js +6 -1
- package/lib/cell-group/CellGroup.d.ts +2 -2
- package/lib/cell-group/CellGroup.js +1 -0
- package/lib/cell-group/index.d.ts +2 -1
- package/lib/cell-group/index.js +6 -1
- package/lib/checkbox/Checkbox.d.ts +1 -1
- package/lib/checkbox/Checkbox.js +5 -1
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/checkbox/index.js +6 -1
- package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox-group/CheckboxGroup.js +1 -0
- package/lib/checkbox-group/index.d.ts +1 -0
- package/lib/checkbox-group/index.js +6 -1
- package/lib/circle/Circle.d.ts +1 -1
- package/lib/circle/Circle.js +1 -0
- package/lib/circle/index.d.ts +1 -0
- package/lib/circle/index.js +6 -1
- package/lib/col/Col.d.ts +2 -2
- package/lib/col/Col.js +1 -0
- package/lib/col/index.d.ts +2 -1
- package/lib/col/index.js +6 -1
- package/lib/collapse/Collapse.d.ts +9 -2
- package/lib/collapse/Collapse.js +29 -1
- package/lib/collapse/index.d.ts +2 -1
- package/lib/collapse/index.js +6 -1
- package/lib/collapse-item/CollapseItem.d.ts +2 -2
- package/lib/collapse-item/CollapseItem.js +4 -1
- package/lib/collapse-item/index.d.ts +2 -1
- package/lib/collapse-item/index.js +6 -1
- package/lib/composables/use-global-z-index.d.ts +4 -0
- package/lib/composables/use-global-z-index.js +28 -0
- package/lib/composables/use-height.d.ts +1 -1
- package/lib/composables/use-height.js +8 -2
- package/lib/composables/use-lazy-render.js +9 -5
- package/lib/composables/use-lock-scroll.js +7 -2
- package/lib/composables/use-placeholder.js +1 -1
- package/lib/composables/use-visibility-change.js +6 -3
- package/lib/config-provider/ConfigProvider.d.ts +15 -5
- package/lib/config-provider/ConfigProvider.js +24 -7
- package/lib/config-provider/index.d.ts +10 -3
- package/lib/config-provider/index.js +6 -1
- package/lib/contact-card/ContactCard.d.ts +1 -1
- package/lib/contact-card/ContactCard.js +1 -0
- package/lib/contact-card/index.d.ts +1 -0
- package/lib/contact-card/index.js +6 -1
- package/lib/contact-edit/ContactEdit.d.ts +1 -1
- package/lib/contact-edit/ContactEdit.js +1 -0
- package/lib/contact-edit/index.d.ts +1 -0
- package/lib/contact-edit/index.js +6 -1
- package/lib/contact-list/ContactList.d.ts +1 -1
- package/lib/contact-list/ContactList.js +1 -0
- package/lib/contact-list/index.d.ts +1 -0
- package/lib/contact-list/index.js +6 -1
- package/lib/count-down/CountDown.d.ts +1 -1
- package/lib/count-down/CountDown.js +1 -0
- package/lib/count-down/index.d.ts +1 -0
- package/lib/count-down/index.js +6 -1
- package/lib/coupon/Coupon.d.ts +1 -1
- package/lib/coupon/index.d.ts +1 -1
- package/lib/coupon/index.js +4 -1
- package/lib/coupon/utils.js +3 -1
- package/lib/coupon-cell/CouponCell.d.ts +2 -2
- package/lib/coupon-cell/CouponCell.js +1 -0
- package/lib/coupon-cell/index.d.ts +2 -1
- package/lib/coupon-cell/index.js +6 -1
- package/lib/coupon-list/CouponList.d.ts +1 -1
- package/lib/coupon-list/CouponList.js +1 -0
- package/lib/coupon-list/index.d.ts +1 -0
- package/lib/coupon-list/index.js +6 -1
- package/lib/coupon-list/style/index.js +3 -3
- package/lib/date-picker/DatePicker.d.ts +7 -4
- package/lib/date-picker/DatePicker.js +11 -10
- package/lib/date-picker/index.d.ts +5 -2
- package/lib/date-picker/index.js +6 -1
- package/lib/date-picker/style/index.js +7 -0
- package/lib/date-picker/utils.d.ts +2 -1
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/dialog/Dialog.js +2 -1
- package/lib/dialog/function-call.js +4 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +1 -0
- package/lib/dialog/index.js +6 -1
- package/lib/dialog/types.d.ts +1 -1
- package/lib/divider/Divider.d.ts +2 -2
- package/lib/divider/Divider.js +2 -1
- package/lib/divider/index.d.ts +2 -1
- package/lib/divider/index.js +7 -2
- package/lib/dropdown-item/DropdownItem.d.ts +3 -3
- package/lib/dropdown-item/DropdownItem.js +2 -1
- package/lib/dropdown-item/index.d.ts +3 -2
- package/lib/dropdown-item/index.js +7 -2
- package/lib/dropdown-menu/DropdownMenu.d.ts +2 -2
- package/lib/dropdown-menu/DropdownMenu.js +4 -2
- package/lib/dropdown-menu/index.d.ts +2 -1
- package/lib/dropdown-menu/index.js +7 -2
- package/lib/empty/Empty.d.ts +3 -3
- package/lib/empty/Empty.js +283 -17
- package/lib/empty/index.d.ts +2 -1
- package/lib/empty/index.js +7 -2
- package/lib/field/Field.d.ts +1 -1
- package/lib/field/Field.js +13 -2
- package/lib/field/index.d.ts +1 -0
- package/lib/field/index.js +7 -2
- package/lib/field/types.d.ts +1 -0
- package/lib/field/utils.d.ts +1 -0
- package/lib/field/utils.js +8 -2
- package/lib/form/Form.d.ts +1 -1
- package/lib/form/Form.js +2 -1
- package/lib/form/index.d.ts +1 -0
- package/lib/form/index.js +7 -2
- package/lib/grid/Grid.d.ts +2 -2
- package/lib/grid/Grid.js +2 -1
- package/lib/grid/index.d.ts +2 -1
- package/lib/grid/index.js +7 -2
- package/lib/grid-item/GridItem.d.ts +2 -2
- package/lib/grid-item/GridItem.js +2 -1
- package/lib/grid-item/index.d.ts +2 -1
- package/lib/grid-item/index.js +7 -2
- package/lib/icon/Icon.d.ts +2 -2
- package/lib/icon/Icon.js +2 -1
- package/lib/icon/index.d.ts +2 -1
- package/lib/icon/index.js +7 -2
- package/lib/image/Image.d.ts +5 -1
- package/lib/image/Image.js +5 -2
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +4 -0
- package/lib/image/index.js +7 -2
- package/lib/image-preview/ImagePreview.d.ts +1 -1
- package/lib/image-preview/ImagePreview.js +6 -2
- package/lib/image-preview/ImagePreviewItem.js +10 -2
- package/lib/image-preview/function-call.js +4 -1
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.d.ts +1 -0
- package/lib/image-preview/index.js +6 -1
- package/lib/index-anchor/IndexAnchor.d.ts +2 -2
- package/lib/index-anchor/IndexAnchor.js +2 -1
- package/lib/index-anchor/index.d.ts +2 -1
- package/lib/index-anchor/index.js +7 -2
- package/lib/index-bar/IndexBar.d.ts +1 -1
- package/lib/index-bar/IndexBar.js +11 -5
- package/lib/index-bar/index.d.ts +1 -0
- package/lib/index-bar/index.js +7 -2
- package/lib/index.css +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.js +7 -1
- package/lib/lazyload/vue-lazyload/index.js +4 -1
- package/lib/lazyload/vue-lazyload/lazy-component.js +4 -1
- package/lib/lazyload/vue-lazyload/lazy-container.js +11 -7
- package/lib/lazyload/vue-lazyload/lazy-image.js +24 -14
- package/lib/lazyload/vue-lazyload/lazy.js +15 -4
- package/lib/lazyload/vue-lazyload/listener.js +45 -33
- package/lib/lazyload/vue-lazyload/util.js +4 -1
- package/lib/list/List.d.ts +1 -1
- package/lib/list/List.js +4 -2
- package/lib/list/index.d.ts +1 -0
- package/lib/list/index.js +7 -2
- package/lib/loading/Loading.d.ts +2 -2
- package/lib/loading/Loading.js +2 -1
- package/lib/loading/index.d.ts +2 -1
- package/lib/loading/index.js +7 -2
- package/lib/locale/index.js +4 -1
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/NavBar.js +2 -1
- package/lib/nav-bar/index.d.ts +1 -0
- package/lib/nav-bar/index.js +7 -2
- package/lib/notice-bar/NoticeBar.d.ts +1 -1
- package/lib/notice-bar/NoticeBar.js +2 -1
- package/lib/notice-bar/index.d.ts +1 -0
- package/lib/notice-bar/index.js +7 -2
- package/lib/notify/Notify.d.ts +1 -1
- package/lib/notify/Notify.js +2 -1
- package/lib/notify/function-call.js +4 -1
- package/lib/notify/index.d.ts +1 -0
- package/lib/notify/index.js +6 -1
- package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/lib/number-keyboard/NumberKeyboard.js +7 -4
- package/lib/number-keyboard/NumberKeyboardKey.js +2 -2
- package/lib/number-keyboard/index.d.ts +2 -1
- package/lib/number-keyboard/index.js +7 -2
- package/lib/overlay/Overlay.d.ts +2 -2
- package/lib/overlay/Overlay.js +13 -5
- package/lib/overlay/index.d.ts +2 -1
- package/lib/overlay/index.js +7 -2
- package/lib/pagination/Pagination.d.ts +1 -1
- package/lib/pagination/Pagination.js +2 -1
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/index.js +7 -2
- package/lib/password-input/PasswordInput.d.ts +1 -1
- package/lib/password-input/PasswordInput.js +3 -2
- package/lib/password-input/index.d.ts +1 -0
- package/lib/password-input/index.js +7 -2
- package/lib/picker/Picker.d.ts +11 -6
- package/lib/picker/Picker.js +57 -68
- package/lib/picker/PickerColumn.d.ts +2 -1
- package/lib/picker/PickerColumn.js +10 -5
- package/lib/picker/PickerToolbar.d.ts +21 -0
- package/lib/picker/PickerToolbar.js +78 -0
- package/lib/picker/index.d.ts +7 -3
- package/lib/picker/index.js +7 -2
- package/lib/picker/style/index.js +7 -0
- package/lib/picker/utils.d.ts +2 -0
- package/lib/picker/utils.js +15 -8
- package/lib/picker-group/PickerGroup.d.ts +39 -0
- package/lib/picker-group/PickerGroup.js +82 -0
- package/lib/picker-group/index.css +1 -0
- package/lib/picker-group/index.d.ts +33 -0
- package/lib/picker-group/index.js +35 -0
- package/lib/picker-group/style/index.d.ts +1 -0
- package/lib/picker-group/style/index.js +9 -0
- package/lib/popover/Popover.d.ts +1 -1
- package/lib/popover/Popover.js +29 -27
- package/lib/popover/index.d.ts +1 -0
- package/lib/popover/index.js +7 -2
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/Popup.js +8 -6
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +3 -2
- package/lib/popup/index.js +7 -2
- package/lib/popup/shared.js +3 -1
- package/lib/progress/Progress.d.ts +2 -2
- package/lib/progress/Progress.js +2 -1
- package/lib/progress/index.d.ts +2 -1
- package/lib/progress/index.js +7 -2
- package/lib/pull-refresh/PullRefresh.d.ts +1 -1
- package/lib/pull-refresh/PullRefresh.js +8 -3
- package/lib/pull-refresh/index.d.ts +1 -0
- package/lib/pull-refresh/index.js +7 -2
- package/lib/radio/Radio.d.ts +15 -2
- package/lib/radio/Radio.js +7 -2
- package/lib/radio/index.d.ts +1 -0
- package/lib/radio/index.js +7 -2
- package/lib/radio-group/RadioGroup.d.ts +1 -1
- package/lib/radio-group/RadioGroup.js +2 -1
- package/lib/radio-group/index.d.ts +1 -0
- package/lib/radio-group/index.js +7 -2
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/Rate.js +6 -3
- package/lib/rate/index.d.ts +1 -0
- package/lib/rate/index.js +7 -2
- package/lib/row/Row.d.ts +2 -2
- package/lib/row/Row.js +2 -1
- package/lib/row/index.d.ts +2 -1
- package/lib/row/index.js +7 -2
- package/lib/search/Search.d.ts +1 -1
- package/lib/search/Search.js +2 -1
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +1 -0
- package/lib/search/index.js +7 -2
- package/lib/share-sheet/ShareSheet.d.ts +1 -1
- package/lib/share-sheet/ShareSheet.js +2 -1
- package/lib/share-sheet/index.d.ts +1 -0
- package/lib/share-sheet/index.js +7 -2
- package/lib/sidebar/Sidebar.d.ts +1 -1
- package/lib/sidebar/Sidebar.js +2 -1
- package/lib/sidebar/index.d.ts +1 -0
- package/lib/sidebar/index.js +7 -2
- package/lib/sidebar-item/SidebarItem.d.ts +1 -1
- package/lib/sidebar-item/SidebarItem.js +2 -1
- package/lib/sidebar-item/index.d.ts +1 -0
- package/lib/sidebar-item/index.js +7 -2
- package/lib/skeleton/Skeleton.d.ts +2 -2
- package/lib/skeleton/Skeleton.js +2 -1
- package/lib/skeleton/index.d.ts +2 -1
- package/lib/skeleton/index.js +7 -2
- package/lib/slider/Slider.d.ts +1 -1
- package/lib/slider/Slider.js +8 -3
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/index.js +7 -2
- package/lib/space/Space.d.ts +48 -0
- package/lib/space/Space.js +107 -0
- package/lib/space/index.css +1 -0
- package/lib/space/index.d.ts +38 -0
- package/lib/space/index.js +35 -0
- package/lib/space/style/index.d.ts +1 -0
- package/lib/space/style/index.js +2 -0
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/step/index.js +4 -1
- package/lib/stepper/Stepper.d.ts +1 -1
- package/lib/stepper/Stepper.js +3 -2
- package/lib/stepper/index.d.ts +1 -0
- package/lib/stepper/index.js +7 -2
- package/lib/steps/Steps.d.ts +1 -1
- package/lib/steps/Steps.js +2 -1
- package/lib/steps/index.d.ts +1 -0
- package/lib/steps/index.js +7 -2
- package/lib/sticky/Sticky.d.ts +1 -1
- package/lib/sticky/Sticky.js +4 -2
- package/lib/sticky/index.d.ts +1 -0
- package/lib/sticky/index.js +7 -2
- package/lib/submit-bar/SubmitBar.d.ts +1 -1
- package/lib/submit-bar/SubmitBar.js +2 -1
- package/lib/submit-bar/index.d.ts +1 -0
- package/lib/submit-bar/index.js +7 -2
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/Swipe.js +15 -7
- package/lib/swipe/index.d.ts +1 -0
- package/lib/swipe/index.js +7 -2
- package/lib/swipe-cell/SwipeCell.d.ts +3 -3
- package/lib/swipe-cell/SwipeCell.js +6 -3
- package/lib/swipe-cell/index.d.ts +3 -2
- package/lib/swipe-cell/index.js +7 -2
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/swipe-item/index.js +4 -1
- package/lib/switch/Switch.d.ts +1 -1
- package/lib/switch/Switch.js +2 -1
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/index.js +7 -2
- package/lib/tab/Tab.d.ts +2 -2
- package/lib/tab/Tab.js +2 -1
- package/lib/tab/index.d.ts +2 -1
- package/lib/tab/index.js +7 -2
- package/lib/tabbar/Tabbar.d.ts +1 -1
- package/lib/tabbar/Tabbar.js +2 -1
- package/lib/tabbar/index.d.ts +1 -0
- package/lib/tabbar/index.js +7 -2
- package/lib/tabbar-item/TabbarItem.d.ts +1 -1
- package/lib/tabbar-item/TabbarItem.js +2 -1
- package/lib/tabbar-item/index.d.ts +1 -0
- package/lib/tabbar-item/index.js +7 -2
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +18 -4
- package/lib/tabs/TabsContent.js +4 -0
- package/lib/tabs/TabsTitle.d.ts +1 -1
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/index.js +7 -2
- package/lib/tag/Tag.d.ts +1 -1
- package/lib/tag/Tag.js +2 -1
- package/lib/tag/index.d.ts +1 -0
- package/lib/tag/index.js +7 -2
- package/lib/time-picker/TimePicker.d.ts +7 -4
- package/lib/time-picker/TimePicker.js +2 -1
- package/lib/time-picker/index.d.ts +5 -2
- package/lib/time-picker/index.js +7 -2
- package/lib/time-picker/style/index.js +7 -0
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/Toast.js +9 -2
- package/lib/toast/function-call.js +4 -1
- package/lib/toast/index.d.ts +1 -0
- package/lib/toast/index.js +7 -2
- package/lib/tree-select/TreeSelect.d.ts +1 -1
- package/lib/tree-select/TreeSelect.js +2 -1
- package/lib/tree-select/index.d.ts +1 -0
- package/lib/tree-select/index.js +7 -2
- package/lib/uploader/Uploader.d.ts +1 -1
- package/lib/uploader/Uploader.js +6 -2
- package/lib/uploader/index.d.ts +1 -0
- package/lib/uploader/index.js +7 -2
- package/lib/utils/basic.js +2 -1
- package/lib/utils/create.js +12 -3
- package/lib/utils/with-install.d.ts +2 -2
- package/lib/utils/with-install.js +4 -2
- package/lib/vant.cjs.js +5416 -4902
- package/lib/vant.es.js +5547 -4924
- package/lib/vant.js +5431 -4948
- package/lib/vant.min.js +1 -1
- package/lib/vue-tsx-shim.d.ts +7 -0
- package/{vetur → lib}/web-types.json +1237 -1061
- package/package.json +14 -19
- package/es/empty/Images.d.ts +0 -4
- package/es/empty/Images.mjs +0 -271
- package/lib/empty/Images.d.ts +0 -4
- package/lib/empty/Images.js +0 -290
- package/vetur/attributes.json +0 -3530
- package/vetur/tags.json +0 -1212
@@ -17,6 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
|
+
contactEditProps: () => contactEditProps,
|
20
21
|
default: () => stdin_default
|
21
22
|
});
|
22
23
|
module.exports = __toCommonJS(stdin_exports);
|
@@ -39,6 +39,7 @@ export declare const ContactEdit: import("../utils").WithInstall<import("vue").D
|
|
39
39
|
contactInfo: import("./ContactEdit").ContactEditInfo;
|
40
40
|
}>>;
|
41
41
|
export default ContactEdit;
|
42
|
+
export { contactEditProps } from './ContactEdit';
|
42
43
|
export type { ContactEditInfo, ContactEditProps } from './ContactEdit';
|
43
44
|
declare module 'vue' {
|
44
45
|
interface GlobalComponents {
|
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
23
26
|
ContactEdit: () => ContactEdit,
|
27
|
+
contactEditProps: () => import_ContactEdit2.contactEditProps,
|
24
28
|
default: () => stdin_default
|
25
29
|
});
|
26
30
|
module.exports = __toCommonJS(stdin_exports);
|
27
31
|
var import_utils = require("../utils");
|
28
32
|
var import_ContactEdit = __toESM(require("./ContactEdit"));
|
33
|
+
var import_ContactEdit2 = require("./ContactEdit");
|
29
34
|
const ContactEdit = (0, import_utils.withInstall)(import_ContactEdit.default);
|
30
35
|
var stdin_default = ContactEdit;
|
@@ -6,7 +6,7 @@ export declare type ContactListItem = {
|
|
6
6
|
name: string;
|
7
7
|
isDefault?: boolean;
|
8
8
|
};
|
9
|
-
declare const contactListProps: {
|
9
|
+
export declare const contactListProps: {
|
10
10
|
list: PropType<ContactListItem[]>;
|
11
11
|
addText: StringConstructor;
|
12
12
|
modelValue: PropType<unknown>;
|
@@ -17,6 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
|
+
contactListProps: () => contactListProps,
|
20
21
|
default: () => stdin_default
|
21
22
|
});
|
22
23
|
module.exports = __toCommonJS(stdin_exports);
|
@@ -15,6 +15,7 @@ export declare const ContactList: import("../utils").WithInstall<import("vue").D
|
|
15
15
|
onAdd?: ((...args: any[]) => any) | undefined;
|
16
16
|
}, {}>>;
|
17
17
|
export default ContactList;
|
18
|
+
export { contactListProps } from './ContactList';
|
18
19
|
export type { ContactListItem, ContactListProps } from './ContactList';
|
19
20
|
declare module 'vue' {
|
20
21
|
interface GlobalComponents {
|
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
23
26
|
ContactList: () => ContactList,
|
27
|
+
contactListProps: () => import_ContactList2.contactListProps,
|
24
28
|
default: () => stdin_default
|
25
29
|
});
|
26
30
|
module.exports = __toCommonJS(stdin_exports);
|
27
31
|
var import_utils = require("../utils");
|
28
32
|
var import_ContactList = __toESM(require("./ContactList"));
|
33
|
+
var import_ContactList2 = require("./ContactList");
|
29
34
|
const ContactList = (0, import_utils.withInstall)(import_ContactList.default);
|
30
35
|
var stdin_default = ContactList;
|
@@ -17,6 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
|
+
countDownProps: () => countDownProps,
|
20
21
|
default: () => stdin_default
|
21
22
|
});
|
22
23
|
module.exports = __toCommonJS(stdin_exports);
|
@@ -36,6 +36,7 @@ export declare const CountDown: import("../utils").WithInstall<import("vue").Def
|
|
36
36
|
millisecond: boolean;
|
37
37
|
}>>;
|
38
38
|
export default CountDown;
|
39
|
+
export { countDownProps } from './CountDown';
|
39
40
|
export type { CountDownProps } from './CountDown';
|
40
41
|
export type { CountDownInstance, CountDownCurrentTime } from './types';
|
41
42
|
declare module 'vue' {
|
package/lib/count-down/index.js
CHANGED
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
23
26
|
CountDown: () => CountDown,
|
27
|
+
countDownProps: () => import_CountDown2.countDownProps,
|
24
28
|
default: () => stdin_default
|
25
29
|
});
|
26
30
|
module.exports = __toCommonJS(stdin_exports);
|
27
31
|
var import_utils = require("../utils");
|
28
32
|
var import_CountDown = __toESM(require("./CountDown"));
|
33
|
+
var import_CountDown2 = require("./CountDown");
|
29
34
|
const CountDown = (0, import_utils.withInstall)(import_CountDown.default);
|
30
35
|
var stdin_default = CountDown;
|
package/lib/coupon/Coupon.d.ts
CHANGED
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
26
26
|
type: PropType<string>;
|
27
27
|
default: string;
|
28
28
|
};
|
29
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
29
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
30
30
|
chosen: BooleanConstructor;
|
31
31
|
coupon: {
|
32
32
|
type: PropType<CouponInfo>;
|
package/lib/coupon/index.d.ts
CHANGED
@@ -9,7 +9,7 @@ export declare const Coupon: import("../utils").WithInstall<import("vue").Define
|
|
9
9
|
type: import("vue").PropType<string>;
|
10
10
|
default: string;
|
11
11
|
};
|
12
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
12
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
13
13
|
chosen: BooleanConstructor;
|
14
14
|
coupon: {
|
15
15
|
type: import("vue").PropType<import("./Coupon").CouponInfo>;
|
package/lib/coupon/index.js
CHANGED
@@ -16,7 +16,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
package/lib/coupon/utils.js
CHANGED
@@ -25,7 +25,9 @@ module.exports = __toCommonJS(stdin_exports);
|
|
25
25
|
var import_utils = require("../utils");
|
26
26
|
function getDate(timeStamp) {
|
27
27
|
const date = new Date(timeStamp * 1e3);
|
28
|
-
return `${date.getFullYear()}.${(0, import_utils.padZero)(date.getMonth() + 1)}.${(0, import_utils.padZero)(
|
28
|
+
return `${date.getFullYear()}.${(0, import_utils.padZero)(date.getMonth() + 1)}.${(0, import_utils.padZero)(
|
29
|
+
date.getDate()
|
30
|
+
)}`;
|
29
31
|
}
|
30
32
|
const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
|
31
33
|
const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type ExtractPropTypes } from 'vue';
|
2
2
|
import type { CouponInfo } from '../coupon';
|
3
|
-
declare const couponCellProps: {
|
3
|
+
export declare const couponCellProps: {
|
4
4
|
title: StringConstructor;
|
5
5
|
border: {
|
6
6
|
type: BooleanConstructor;
|
@@ -46,7 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
46
|
type: (NumberConstructor | StringConstructor)[];
|
47
47
|
default: number;
|
48
48
|
};
|
49
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
49
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
50
50
|
title: StringConstructor;
|
51
51
|
border: {
|
52
52
|
type: BooleanConstructor;
|
@@ -17,6 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
|
+
couponCellProps: () => couponCellProps,
|
20
21
|
default: () => stdin_default
|
21
22
|
});
|
22
23
|
module.exports = __toCommonJS(stdin_exports);
|
@@ -20,7 +20,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
|
|
20
20
|
type: (NumberConstructor | StringConstructor)[];
|
21
21
|
default: number;
|
22
22
|
};
|
23
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
23
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
24
24
|
title: StringConstructor;
|
25
25
|
border: {
|
26
26
|
type: BooleanConstructor;
|
@@ -50,6 +50,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
|
|
50
50
|
chosenCoupon: string | number;
|
51
51
|
}>>;
|
52
52
|
export default CouponCell;
|
53
|
+
export { couponCellProps } from './CouponCell';
|
53
54
|
export type { CouponCellProps } from './CouponCell';
|
54
55
|
declare module 'vue' {
|
55
56
|
interface GlobalComponents {
|
package/lib/coupon-cell/index.js
CHANGED
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
23
26
|
CouponCell: () => CouponCell,
|
27
|
+
couponCellProps: () => import_CouponCell2.couponCellProps,
|
24
28
|
default: () => stdin_default
|
25
29
|
});
|
26
30
|
module.exports = __toCommonJS(stdin_exports);
|
27
31
|
var import_utils = require("../utils");
|
28
32
|
var import_CouponCell = __toESM(require("./CouponCell"));
|
33
|
+
var import_CouponCell2 = require("./CouponCell");
|
29
34
|
const CouponCell = (0, import_utils.withInstall)(import_CouponCell.default);
|
30
35
|
var stdin_default = CouponCell;
|
@@ -17,6 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
|
+
couponListProps: () => couponListProps,
|
20
21
|
default: () => stdin_default
|
21
22
|
});
|
22
23
|
module.exports = __toCommonJS(stdin_exports);
|
@@ -115,6 +115,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
115
115
|
exchangeButtonDisabled: boolean;
|
116
116
|
}>>;
|
117
117
|
export default CouponList;
|
118
|
+
export { couponListProps } from './CouponList';
|
118
119
|
export type { CouponListProps } from './CouponList';
|
119
120
|
declare module 'vue' {
|
120
121
|
interface GlobalComponents {
|
package/lib/coupon-list/index.js
CHANGED
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
23
26
|
CouponList: () => CouponList,
|
27
|
+
couponListProps: () => import_CouponList2.couponListProps,
|
24
28
|
default: () => stdin_default
|
25
29
|
});
|
26
30
|
module.exports = __toCommonJS(stdin_exports);
|
27
31
|
var import_utils = require("../utils");
|
28
32
|
var import_CouponList = __toESM(require("./CouponList"));
|
33
|
+
var import_CouponList2 = require("./CouponList");
|
29
34
|
const CouponList = (0, import_utils.withInstall)(import_CouponList.default);
|
30
35
|
var stdin_default = CouponList;
|
@@ -5,13 +5,13 @@ require("../../cell/index.css");
|
|
5
5
|
require("../../field/index.css");
|
6
6
|
require("../../loading/index.css");
|
7
7
|
require("../../button/index.css");
|
8
|
-
require("../../checkbox-group/index.css");
|
9
|
-
require("../../checkbox/index.css");
|
10
|
-
require("../../coupon/index.css");
|
11
8
|
require("../../sticky/index.css");
|
12
9
|
require("../../swipe/index.css");
|
13
10
|
require("../../swipe-item/index.css");
|
14
11
|
require("../../tabs/index.css");
|
15
12
|
require("../../tab/index.css");
|
13
|
+
require("../../checkbox-group/index.css");
|
14
|
+
require("../../checkbox/index.css");
|
15
|
+
require("../../coupon/index.css");
|
16
16
|
require("../../empty/index.css");
|
17
17
|
require("../index.css");
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
export declare type DatePickerColumnType = 'year' | 'month' | 'day';
|
3
|
-
declare const datePickerProps: {
|
4
|
-
title: StringConstructor;
|
3
|
+
export declare const datePickerProps: {
|
5
4
|
loading: BooleanConstructor;
|
6
5
|
readonly: BooleanConstructor;
|
7
6
|
allowHtml: BooleanConstructor;
|
@@ -21,6 +20,8 @@ declare const datePickerProps: {
|
|
21
20
|
type: (NumberConstructor | StringConstructor)[];
|
22
21
|
default: number;
|
23
22
|
};
|
23
|
+
} & {
|
24
|
+
title: StringConstructor;
|
24
25
|
cancelButtonText: StringConstructor;
|
25
26
|
confirmButtonText: StringConstructor;
|
26
27
|
} & {
|
@@ -51,7 +52,6 @@ declare const datePickerProps: {
|
|
51
52
|
};
|
52
53
|
export declare type DatePickerProps = ExtractPropTypes<typeof datePickerProps>;
|
53
54
|
declare const _default: import("vue").DefineComponent<{
|
54
|
-
title: StringConstructor;
|
55
55
|
loading: BooleanConstructor;
|
56
56
|
readonly: BooleanConstructor;
|
57
57
|
allowHtml: BooleanConstructor;
|
@@ -71,6 +71,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
71
71
|
type: (NumberConstructor | StringConstructor)[];
|
72
72
|
default: number;
|
73
73
|
};
|
74
|
+
} & {
|
75
|
+
title: StringConstructor;
|
74
76
|
cancelButtonText: StringConstructor;
|
75
77
|
confirmButtonText: StringConstructor;
|
76
78
|
} & {
|
@@ -99,7 +101,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
99
101
|
validator: (val: unknown) => val is Date;
|
100
102
|
};
|
101
103
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "cancel" | "confirm")[], "update:modelValue" | "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
102
|
-
title: StringConstructor;
|
103
104
|
loading: BooleanConstructor;
|
104
105
|
readonly: BooleanConstructor;
|
105
106
|
allowHtml: BooleanConstructor;
|
@@ -119,6 +120,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
119
120
|
type: (NumberConstructor | StringConstructor)[];
|
120
121
|
default: number;
|
121
122
|
};
|
123
|
+
} & {
|
124
|
+
title: StringConstructor;
|
122
125
|
cancelButtonText: StringConstructor;
|
123
126
|
confirmButtonText: StringConstructor;
|
124
127
|
} & {
|
@@ -17,6 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
|
+
datePickerProps: () => datePickerProps,
|
20
21
|
default: () => stdin_default
|
21
22
|
});
|
22
23
|
module.exports = __toCommonJS(stdin_exports);
|
@@ -57,7 +58,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
57
58
|
const maxYear = props.maxDate.getFullYear();
|
58
59
|
return (0, import_utils2.genOptions)(minYear, maxYear, "year", props.formatter, props.filter);
|
59
60
|
};
|
61
|
+
const isMinYear = (year) => year === props.minDate.getFullYear();
|
60
62
|
const isMaxYear = (year) => year === props.maxDate.getFullYear();
|
63
|
+
const isMinMonth = (month) => month === props.minDate.getMonth() + 1;
|
61
64
|
const isMaxMonth = (month) => month === props.maxDate.getMonth() + 1;
|
62
65
|
const getValue = (type) => {
|
63
66
|
const {
|
@@ -79,19 +82,17 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
79
82
|
}
|
80
83
|
};
|
81
84
|
const genMonthOptions = () => {
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
return (0, import_utils2.genOptions)(
|
85
|
+
const year = getValue("year");
|
86
|
+
const minMonth = isMinYear(year) ? props.minDate.getMonth() + 1 : 1;
|
87
|
+
const maxMonth = isMaxYear(year) ? props.maxDate.getMonth() + 1 : 12;
|
88
|
+
return (0, import_utils2.genOptions)(minMonth, maxMonth, "month", props.formatter, props.filter);
|
86
89
|
};
|
87
90
|
const genDayOptions = () => {
|
88
91
|
const year = getValue("year");
|
89
92
|
const month = getValue("month");
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
}
|
94
|
-
return (0, import_utils2.genOptions)(1, maxDate, "day", props.formatter, props.filter);
|
93
|
+
const minDate = isMinYear(year) && isMinMonth(month) ? props.minDate.getDate() : 1;
|
94
|
+
const maxDate = isMaxYear(year) && isMaxMonth(month) ? props.maxDate.getDate() : (0, import_utils2.getMonthEndDay)(year, month);
|
95
|
+
return (0, import_utils2.genOptions)(minDate, maxDate, "day", props.formatter, props.filter);
|
95
96
|
};
|
96
97
|
const columns = (0, import_vue2.computed)(() => props.columnsType.map((type) => {
|
97
98
|
switch (type) {
|
@@ -106,7 +107,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
106
107
|
}
|
107
108
|
}));
|
108
109
|
(0, import_vue2.watch)(currentValues, (newValues) => {
|
109
|
-
if ((0, import_utils.isSameValue)(newValues, props.modelValue)) {
|
110
|
+
if (!(0, import_utils.isSameValue)(newValues, props.modelValue)) {
|
110
111
|
emit("update:modelValue", newValues);
|
111
112
|
}
|
112
113
|
});
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { DatePickerProps } from './DatePicker';
|
2
2
|
export declare const DatePicker: import("../utils").WithInstall<import("vue").DefineComponent<{
|
3
|
-
title: StringConstructor;
|
4
3
|
loading: BooleanConstructor;
|
5
4
|
readonly: BooleanConstructor;
|
6
5
|
allowHtml: BooleanConstructor;
|
@@ -20,6 +19,8 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
20
19
|
type: (NumberConstructor | StringConstructor)[];
|
21
20
|
default: number;
|
22
21
|
};
|
22
|
+
} & {
|
23
|
+
title: StringConstructor;
|
23
24
|
cancelButtonText: StringConstructor;
|
24
25
|
confirmButtonText: StringConstructor;
|
25
26
|
} & {
|
@@ -48,7 +49,6 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
48
49
|
validator: (val: unknown) => val is Date;
|
49
50
|
};
|
50
51
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "cancel" | "confirm")[], "update:modelValue" | "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
51
|
-
title: StringConstructor;
|
52
52
|
loading: BooleanConstructor;
|
53
53
|
readonly: BooleanConstructor;
|
54
54
|
allowHtml: BooleanConstructor;
|
@@ -68,6 +68,8 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
68
68
|
type: (NumberConstructor | StringConstructor)[];
|
69
69
|
default: number;
|
70
70
|
};
|
71
|
+
} & {
|
72
|
+
title: StringConstructor;
|
71
73
|
cancelButtonText: StringConstructor;
|
72
74
|
confirmButtonText: StringConstructor;
|
73
75
|
} & {
|
@@ -115,6 +117,7 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
115
117
|
columnsType: import("./DatePicker").DatePickerColumnType[];
|
116
118
|
}>>;
|
117
119
|
export default DatePicker;
|
120
|
+
export { datePickerProps } from './DatePicker';
|
118
121
|
export type { DatePickerProps };
|
119
122
|
export type { DatePickerColumnType } from './DatePicker';
|
120
123
|
declare module 'vue' {
|
package/lib/date-picker/index.js
CHANGED
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
23
26
|
DatePicker: () => DatePicker,
|
27
|
+
datePickerProps: () => import_DatePicker2.datePickerProps,
|
24
28
|
default: () => stdin_default
|
25
29
|
});
|
26
30
|
module.exports = __toCommonJS(stdin_exports);
|
27
31
|
var import_utils = require("../utils");
|
28
32
|
var import_DatePicker = __toESM(require("./DatePicker"));
|
33
|
+
var import_DatePicker2 = require("./DatePicker");
|
29
34
|
const DatePicker = (0, import_utils.withInstall)(import_DatePicker.default);
|
30
35
|
var stdin_default = DatePicker;
|
@@ -1,3 +1,10 @@
|
|
1
1
|
require("../../style/base.css");
|
2
|
+
require("../../badge/index.css");
|
2
3
|
require("../../loading/index.css");
|
4
|
+
require("../../sticky/index.css");
|
5
|
+
require("../../swipe/index.css");
|
6
|
+
require("../../swipe-item/index.css");
|
7
|
+
require("../../tabs/index.css");
|
8
|
+
require("../../tab/index.css");
|
3
9
|
require("../../picker/index.css");
|
10
|
+
require("../../picker-group/index.css");
|
@@ -3,7 +3,6 @@ import type { PickerOption } from '../picker';
|
|
3
3
|
declare type Filter = (columnType: string, options: PickerOption[]) => PickerOption[];
|
4
4
|
declare type Formatter = (type: string, option: PickerOption) => PickerOption;
|
5
5
|
export declare const sharedProps: {
|
6
|
-
title: StringConstructor;
|
7
6
|
loading: BooleanConstructor;
|
8
7
|
readonly: BooleanConstructor;
|
9
8
|
allowHtml: BooleanConstructor;
|
@@ -23,6 +22,8 @@ export declare const sharedProps: {
|
|
23
22
|
type: (NumberConstructor | StringConstructor)[];
|
24
23
|
default: number;
|
25
24
|
};
|
25
|
+
} & {
|
26
|
+
title: StringConstructor;
|
26
27
|
cancelButtonText: StringConstructor;
|
27
28
|
confirmButtonText: StringConstructor;
|
28
29
|
} & {
|
package/lib/dialog/Dialog.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import type { DialogTheme, DialogAction, DialogMessage, DialogMessageAlign } from './types';
|
3
|
-
declare const dialogProps: {
|
3
|
+
export declare const dialogProps: {
|
4
4
|
show: BooleanConstructor;
|
5
5
|
zIndex: (NumberConstructor | StringConstructor)[];
|
6
6
|
overlay: {
|
package/lib/dialog/Dialog.js
CHANGED
@@ -17,7 +17,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
|
-
default: () => stdin_default
|
20
|
+
default: () => stdin_default,
|
21
|
+
dialogProps: () => dialogProps
|
21
22
|
});
|
22
23
|
module.exports = __toCommonJS(stdin_exports);
|
23
24
|
var import_vue = require("vue");
|
@@ -16,7 +16,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
package/lib/dialog/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
body{--van-dialog-width: 320px;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: 16px;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: 24px;--van-dialog-header-padding-top: 26px;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 48px;--van-dialog-round-button-height: 36px;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;
|
1
|
+
body{--van-dialog-width: 320px;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: 16px;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: 24px;--van-dialog-header-padding-top: 26px;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 48px;--van-dialog-round-button-height: 36px;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width: 321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{color:var(--van-text-color);padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:104px}.van-dialog__message{color:var(--van-text-color);flex:1;max-height:var(--van-dialog-message-max-height);padding:26px var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__message--justify{text-align:justify}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog-bounce-enter-from{transform:translate3d(-50%,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(-50%,-50%,0) scale(.9);opacity:0}
|
package/lib/dialog/index.d.ts
CHANGED
@@ -127,6 +127,7 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
127
127
|
showConfirmButton: boolean;
|
128
128
|
}>>;
|
129
129
|
export default Dialog;
|
130
|
+
export { dialogProps } from './Dialog';
|
130
131
|
export { showDialog, closeDialog, showConfirmDialog, setDialogDefaultOptions, resetDialogDefaultOptions, } from './function-call';
|
131
132
|
export type { DialogProps } from './Dialog';
|
132
133
|
export type { DialogTheme, DialogMessage, DialogOptions, DialogMessageAlign, } from './types';
|
package/lib/dialog/index.js
CHANGED
@@ -16,13 +16,17 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
23
26
|
Dialog: () => Dialog,
|
24
27
|
closeDialog: () => import_function_call.closeDialog,
|
25
28
|
default: () => stdin_default,
|
29
|
+
dialogProps: () => import_Dialog2.dialogProps,
|
26
30
|
resetDialogDefaultOptions: () => import_function_call.resetDialogDefaultOptions,
|
27
31
|
setDialogDefaultOptions: () => import_function_call.setDialogDefaultOptions,
|
28
32
|
showConfirmDialog: () => import_function_call.showConfirmDialog,
|
@@ -31,6 +35,7 @@ __export(stdin_exports, {
|
|
31
35
|
module.exports = __toCommonJS(stdin_exports);
|
32
36
|
var import_utils = require("../utils");
|
33
37
|
var import_Dialog = __toESM(require("./Dialog"));
|
38
|
+
var import_Dialog2 = require("./Dialog");
|
34
39
|
var import_function_call = require("./function-call");
|
35
40
|
const Dialog = (0, import_utils.withInstall)(import_Dialog.default);
|
36
41
|
var stdin_default = Dialog;
|
package/lib/dialog/types.d.ts
CHANGED
@@ -3,7 +3,7 @@ import type { Interceptor, Numeric } from '../utils';
|
|
3
3
|
export declare type DialogTheme = 'default' | 'round-button';
|
4
4
|
export declare type DialogAction = 'confirm' | 'cancel';
|
5
5
|
export declare type DialogMessage = string | (() => JSX.Element);
|
6
|
-
export declare type DialogMessageAlign = 'left' | 'center' | 'right';
|
6
|
+
export declare type DialogMessageAlign = 'left' | 'center' | 'right' | 'justify';
|
7
7
|
export declare type DialogOptions = {
|
8
8
|
title?: string;
|
9
9
|
width?: Numeric;
|