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
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vant",
|
3
|
-
"version": "4.0.0-
|
3
|
+
"version": "4.0.0-rc.1",
|
4
4
|
"description": "Mobile UI Components built on Vue",
|
5
5
|
"main": "lib/vant.cjs.js",
|
6
6
|
"module": "es/index.mjs",
|
@@ -13,8 +13,7 @@
|
|
13
13
|
},
|
14
14
|
"files": [
|
15
15
|
"es",
|
16
|
-
"lib"
|
17
|
-
"vetur"
|
16
|
+
"lib"
|
18
17
|
],
|
19
18
|
"scripts": {
|
20
19
|
"dev": "vant-cli dev",
|
@@ -32,10 +31,10 @@
|
|
32
31
|
},
|
33
32
|
"repository": {
|
34
33
|
"type": "git",
|
35
|
-
"url": "https://github.com/
|
34
|
+
"url": "https://github.com/vant-ui/vant.git",
|
36
35
|
"directory": "packages/vant"
|
37
36
|
},
|
38
|
-
"bugs": "https://github.com/
|
37
|
+
"bugs": "https://github.com/vant-ui/vant/issues",
|
39
38
|
"author": "chenjiahan",
|
40
39
|
"license": "MIT",
|
41
40
|
"keywords": [
|
@@ -50,31 +49,27 @@
|
|
50
49
|
"dependencies": {
|
51
50
|
"@vant/icons": "^1.8.0",
|
52
51
|
"@vant/popperjs": "^1.2.1",
|
53
|
-
"@vant/use": "^1.4.
|
52
|
+
"@vant/use": "^1.4.2"
|
54
53
|
},
|
55
54
|
"peerDependencies": {
|
56
55
|
"vue": "^3.0.0"
|
57
56
|
},
|
58
57
|
"devDependencies": {
|
59
|
-
"@types/node": "^16",
|
58
|
+
"@types/node": "^16.11.56",
|
59
|
+
"@types/jest": "^27.0.0",
|
60
60
|
"@vant/area-data": "workspace:*",
|
61
61
|
"@vant/cli": "workspace:*",
|
62
62
|
"@vant/eslint-config": "workspace:*",
|
63
|
-
"@vue/runtime-core": "^3.2.
|
64
|
-
"@vue/test-utils": "^2.0.
|
65
|
-
"typescript": "^4.
|
66
|
-
"vue": "^3.2.
|
67
|
-
"vue-router": "^4.
|
63
|
+
"@vue/runtime-core": "^3.2.38",
|
64
|
+
"@vue/test-utils": "^2.0.2",
|
65
|
+
"typescript": "^4.8.2",
|
66
|
+
"vue": "^3.2.38",
|
67
|
+
"vue-router": "^4.1.5"
|
68
68
|
},
|
69
69
|
"sideEffects": [
|
70
70
|
"es/**/style/*",
|
71
71
|
"lib/**/style/*",
|
72
|
-
"*.css"
|
73
|
-
"*.less"
|
72
|
+
"*.css"
|
74
73
|
],
|
75
|
-
"web-types": "
|
76
|
-
"vetur": {
|
77
|
-
"tags": "vetur/tags.json",
|
78
|
-
"attributes": "vetur/attributes.json"
|
79
|
-
}
|
74
|
+
"web-types": "lib/web-types.json"
|
80
75
|
}
|
package/es/empty/Images.d.ts
DELETED
package/es/empty/Images.mjs
DELETED
@@ -1,271 +0,0 @@
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
2
|
-
const getId = (num) => `van-empty-${num}`;
|
3
|
-
const useId = (num) => `url(#${getId(num)})`;
|
4
|
-
const renderStop = (color, offset, opacity) => _createVNode("stop", {
|
5
|
-
"stop-color": color,
|
6
|
-
"offset": `${offset}%`,
|
7
|
-
"stop-opacity": opacity
|
8
|
-
}, null);
|
9
|
-
const renderStops = (fromColor, toColor) => [renderStop(fromColor, 0), renderStop(toColor, 100)];
|
10
|
-
const renderShadow = (id) => [_createVNode("defs", null, [_createVNode("radialGradient", {
|
11
|
-
"id": getId(id),
|
12
|
-
"cx": "50%",
|
13
|
-
"cy": "54%",
|
14
|
-
"fx": "50%",
|
15
|
-
"fy": "54%",
|
16
|
-
"r": "297%",
|
17
|
-
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)"
|
18
|
-
}, [renderStop("#EBEDF0", 0), renderStop("#F2F3F5", 100, 0.3)])]), _createVNode("ellipse", {
|
19
|
-
"fill": useId(id),
|
20
|
-
"opacity": ".8",
|
21
|
-
"cx": "80",
|
22
|
-
"cy": "140",
|
23
|
-
"rx": "46",
|
24
|
-
"ry": "8"
|
25
|
-
}, null)];
|
26
|
-
const renderBuilding = () => [_createVNode("defs", null, [_createVNode("linearGradient", {
|
27
|
-
"id": getId("a"),
|
28
|
-
"x1": "64%",
|
29
|
-
"y1": "100%",
|
30
|
-
"x2": "64%"
|
31
|
-
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)])]), _createVNode("g", {
|
32
|
-
"opacity": ".8"
|
33
|
-
}, [_createVNode("path", {
|
34
|
-
"d": "M36 131V53H16v20H2v58h34z",
|
35
|
-
"fill": useId("a")
|
36
|
-
}, null), _createVNode("path", {
|
37
|
-
"d": "M123 15h22v14h9v77h-31V15z",
|
38
|
-
"fill": useId("a")
|
39
|
-
}, null)])];
|
40
|
-
const renderCloud = () => [_createVNode("defs", null, [_createVNode("linearGradient", {
|
41
|
-
"id": getId("b"),
|
42
|
-
"x1": "64%",
|
43
|
-
"y1": "97%",
|
44
|
-
"x2": "64%",
|
45
|
-
"y2": "0%"
|
46
|
-
}, [renderStop("#F2F3F5", 0, 0.3), renderStop("#F2F3F5", 100)])]), _createVNode("g", {
|
47
|
-
"opacity": ".8"
|
48
|
-
}, [_createVNode("path", {
|
49
|
-
"d": "M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",
|
50
|
-
"fill": useId("b")
|
51
|
-
}, null), _createVNode("path", {
|
52
|
-
"d": "M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",
|
53
|
-
"fill": useId("b")
|
54
|
-
}, null)])];
|
55
|
-
const renderNetwork = () => _createVNode("svg", {
|
56
|
-
"viewBox": "0 0 160 160"
|
57
|
-
}, [_createVNode("defs", null, [_createVNode("linearGradient", {
|
58
|
-
"id": getId(1),
|
59
|
-
"x1": "64%",
|
60
|
-
"y1": "100%",
|
61
|
-
"x2": "64%"
|
62
|
-
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)]), _createVNode("linearGradient", {
|
63
|
-
"id": getId(2),
|
64
|
-
"x1": "50%",
|
65
|
-
"x2": "50%",
|
66
|
-
"y2": "84%"
|
67
|
-
}, [renderStop("#EBEDF0", 0), renderStop("#DCDEE0", 100, 0)]), _createVNode("linearGradient", {
|
68
|
-
"id": getId(3),
|
69
|
-
"x1": "100%",
|
70
|
-
"x2": "100%",
|
71
|
-
"y2": "100%"
|
72
|
-
}, [renderStops("#EAEDF0", "#DCDEE0")]), _createVNode("radialGradient", {
|
73
|
-
"id": getId(4),
|
74
|
-
"cx": "50%",
|
75
|
-
"cy": "0%",
|
76
|
-
"fx": "50%",
|
77
|
-
"fy": "0%",
|
78
|
-
"r": "100%",
|
79
|
-
"gradientTransform": "matrix(0 1 -.54 0 .5 -.5)"
|
80
|
-
}, [renderStop("#EBEDF0", 0), renderStop("#FFF", 100, 0)])]), _createVNode("g", {
|
81
|
-
"fill": "none"
|
82
|
-
}, [renderBuilding(), _createVNode("path", {
|
83
|
-
"fill": useId(4),
|
84
|
-
"d": "M0 139h160v21H0z"
|
85
|
-
}, null), _createVNode("path", {
|
86
|
-
"d": "M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",
|
87
|
-
"fill": useId(2)
|
88
|
-
}, null), _createVNode("g", {
|
89
|
-
"opacity": ".6",
|
90
|
-
"stroke-linecap": "round",
|
91
|
-
"stroke-width": "7"
|
92
|
-
}, [_createVNode("path", {
|
93
|
-
"d": "M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",
|
94
|
-
"stroke": useId(3)
|
95
|
-
}, null), _createVNode("path", {
|
96
|
-
"d": "M53 36a34 34 0 0 0 0 48",
|
97
|
-
"stroke": useId(3)
|
98
|
-
}, null), _createVNode("path", {
|
99
|
-
"d": "M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",
|
100
|
-
"stroke": useId(3)
|
101
|
-
}, null), _createVNode("path", {
|
102
|
-
"d": "M106 84a34 34 0 0 0 0-48",
|
103
|
-
"stroke": useId(3)
|
104
|
-
}, null)]), _createVNode("g", {
|
105
|
-
"transform": "translate(31 105)"
|
106
|
-
}, [_createVNode("rect", {
|
107
|
-
"fill": "#EBEDF0",
|
108
|
-
"width": "98",
|
109
|
-
"height": "34",
|
110
|
-
"rx": "2"
|
111
|
-
}, null), _createVNode("rect", {
|
112
|
-
"fill": "#FFF",
|
113
|
-
"x": "9",
|
114
|
-
"y": "8",
|
115
|
-
"width": "80",
|
116
|
-
"height": "18",
|
117
|
-
"rx": "1.1"
|
118
|
-
}, null), _createVNode("rect", {
|
119
|
-
"fill": "#EBEDF0",
|
120
|
-
"x": "15",
|
121
|
-
"y": "12",
|
122
|
-
"width": "18",
|
123
|
-
"height": "6",
|
124
|
-
"rx": "1.1"
|
125
|
-
}, null)])])]);
|
126
|
-
const renderMaterial = () => _createVNode("svg", {
|
127
|
-
"viewBox": "0 0 160 160"
|
128
|
-
}, [_createVNode("defs", null, [_createVNode("linearGradient", {
|
129
|
-
"x1": "50%",
|
130
|
-
"x2": "50%",
|
131
|
-
"y2": "100%",
|
132
|
-
"id": getId(5)
|
133
|
-
}, [renderStops("#F2F3F5", "#DCDEE0")]), _createVNode("linearGradient", {
|
134
|
-
"x1": "95%",
|
135
|
-
"y1": "48%",
|
136
|
-
"x2": "5.5%",
|
137
|
-
"y2": "51%",
|
138
|
-
"id": getId(6)
|
139
|
-
}, [renderStops("#EAEDF1", "#DCDEE0")]), _createVNode("linearGradient", {
|
140
|
-
"y1": "45%",
|
141
|
-
"x2": "100%",
|
142
|
-
"y2": "54%",
|
143
|
-
"id": getId(7)
|
144
|
-
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), _createVNode("g", {
|
145
|
-
"transform": "translate(36 50)",
|
146
|
-
"fill": "none"
|
147
|
-
}, [_createVNode("g", {
|
148
|
-
"transform": "translate(8)"
|
149
|
-
}, [_createVNode("rect", {
|
150
|
-
"fill": "#EBEDF0",
|
151
|
-
"opacity": ".6",
|
152
|
-
"x": "38",
|
153
|
-
"y": "13",
|
154
|
-
"width": "36",
|
155
|
-
"height": "53",
|
156
|
-
"rx": "2"
|
157
|
-
}, null), _createVNode("rect", {
|
158
|
-
"fill": useId(5),
|
159
|
-
"width": "64",
|
160
|
-
"height": "66",
|
161
|
-
"rx": "2"
|
162
|
-
}, null), _createVNode("rect", {
|
163
|
-
"fill": "#FFF",
|
164
|
-
"x": "6",
|
165
|
-
"y": "6",
|
166
|
-
"width": "52",
|
167
|
-
"height": "55",
|
168
|
-
"rx": "1"
|
169
|
-
}, null), _createVNode("g", {
|
170
|
-
"transform": "translate(15 17)",
|
171
|
-
"fill": useId(6)
|
172
|
-
}, [_createVNode("rect", {
|
173
|
-
"width": "34",
|
174
|
-
"height": "6",
|
175
|
-
"rx": "1"
|
176
|
-
}, null), _createVNode("path", {
|
177
|
-
"d": "M0 14h34v6H0z"
|
178
|
-
}, null), _createVNode("rect", {
|
179
|
-
"y": "28",
|
180
|
-
"width": "34",
|
181
|
-
"height": "6",
|
182
|
-
"rx": "1"
|
183
|
-
}, null)])]), _createVNode("rect", {
|
184
|
-
"fill": useId(7),
|
185
|
-
"y": "61",
|
186
|
-
"width": "88",
|
187
|
-
"height": "28",
|
188
|
-
"rx": "1"
|
189
|
-
}, null), _createVNode("rect", {
|
190
|
-
"fill": "#F7F8FA",
|
191
|
-
"x": "29",
|
192
|
-
"y": "72",
|
193
|
-
"width": "30",
|
194
|
-
"height": "6",
|
195
|
-
"rx": "1"
|
196
|
-
}, null)])]);
|
197
|
-
const renderError = () => _createVNode("svg", {
|
198
|
-
"viewBox": "0 0 160 160"
|
199
|
-
}, [_createVNode("defs", null, [_createVNode("linearGradient", {
|
200
|
-
"x1": "50%",
|
201
|
-
"x2": "50%",
|
202
|
-
"y2": "100%",
|
203
|
-
"id": getId(8)
|
204
|
-
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), renderShadow("c"), _createVNode("path", {
|
205
|
-
"d": "m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",
|
206
|
-
"fill": useId(8)
|
207
|
-
}, null)]);
|
208
|
-
const renderSearch = () => _createVNode("svg", {
|
209
|
-
"viewBox": "0 0 160 160"
|
210
|
-
}, [_createVNode("defs", null, [_createVNode("linearGradient", {
|
211
|
-
"x1": "50%",
|
212
|
-
"y1": "100%",
|
213
|
-
"x2": "50%",
|
214
|
-
"id": getId(9)
|
215
|
-
}, [renderStops("#EEE", "#D8D8D8")]), _createVNode("linearGradient", {
|
216
|
-
"x1": "100%",
|
217
|
-
"y1": "50%",
|
218
|
-
"y2": "50%",
|
219
|
-
"id": getId(10)
|
220
|
-
}, [renderStops("#F2F3F5", "#DCDEE0")]), _createVNode("linearGradient", {
|
221
|
-
"x1": "50%",
|
222
|
-
"x2": "50%",
|
223
|
-
"y2": "100%",
|
224
|
-
"id": getId(11)
|
225
|
-
}, [renderStops("#F2F3F5", "#DCDEE0")]), _createVNode("linearGradient", {
|
226
|
-
"x1": "50%",
|
227
|
-
"x2": "50%",
|
228
|
-
"y2": "100%",
|
229
|
-
"id": getId(12)
|
230
|
-
}, [renderStops("#FFF", "#F7F8FA")])]), renderBuilding(), renderCloud(), renderShadow("d"), _createVNode("g", {
|
231
|
-
"transform": "rotate(-45 113 -4)",
|
232
|
-
"fill": "none"
|
233
|
-
}, [_createVNode("rect", {
|
234
|
-
"fill": useId(9),
|
235
|
-
"x": "24",
|
236
|
-
"y": "52.8",
|
237
|
-
"width": "5.8",
|
238
|
-
"height": "19",
|
239
|
-
"rx": "1"
|
240
|
-
}, null), _createVNode("rect", {
|
241
|
-
"fill": useId(10),
|
242
|
-
"x": "22.1",
|
243
|
-
"y": "67.3",
|
244
|
-
"width": "9.9",
|
245
|
-
"height": "28",
|
246
|
-
"rx": "1"
|
247
|
-
}, null), _createVNode("circle", {
|
248
|
-
"stroke": useId(11),
|
249
|
-
"stroke-width": "8",
|
250
|
-
"cx": "27",
|
251
|
-
"cy": "27",
|
252
|
-
"r": "27"
|
253
|
-
}, null), _createVNode("circle", {
|
254
|
-
"fill": useId(12),
|
255
|
-
"cx": "27",
|
256
|
-
"cy": "27",
|
257
|
-
"r": "16"
|
258
|
-
}, null), _createVNode("path", {
|
259
|
-
"d": "M37 7c-8 0-15 5-16 12",
|
260
|
-
"stroke": useId(11),
|
261
|
-
"stroke-width": "3",
|
262
|
-
"opacity": ".5",
|
263
|
-
"stroke-linecap": "round",
|
264
|
-
"transform": "rotate(45 29 13)"
|
265
|
-
}, null)])]);
|
266
|
-
export {
|
267
|
-
renderError,
|
268
|
-
renderMaterial,
|
269
|
-
renderNetwork,
|
270
|
-
renderSearch
|
271
|
-
};
|
package/lib/empty/Images.d.ts
DELETED
package/lib/empty/Images.js
DELETED
@@ -1,290 +0,0 @@
|
|
1
|
-
var __defProp = Object.defineProperty;
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __export = (target, all) => {
|
6
|
-
for (var name in all)
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
8
|
-
};
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
-
for (let key of __getOwnPropNames(from))
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
14
|
-
}
|
15
|
-
return to;
|
16
|
-
};
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
|
-
var stdin_exports = {};
|
19
|
-
__export(stdin_exports, {
|
20
|
-
renderError: () => renderError,
|
21
|
-
renderMaterial: () => renderMaterial,
|
22
|
-
renderNetwork: () => renderNetwork,
|
23
|
-
renderSearch: () => renderSearch
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(stdin_exports);
|
26
|
-
var import_vue = require("vue");
|
27
|
-
const getId = (num) => `van-empty-${num}`;
|
28
|
-
const useId = (num) => `url(#${getId(num)})`;
|
29
|
-
const renderStop = (color, offset, opacity) => (0, import_vue.createVNode)("stop", {
|
30
|
-
"stop-color": color,
|
31
|
-
"offset": `${offset}%`,
|
32
|
-
"stop-opacity": opacity
|
33
|
-
}, null);
|
34
|
-
const renderStops = (fromColor, toColor) => [renderStop(fromColor, 0), renderStop(toColor, 100)];
|
35
|
-
const renderShadow = (id) => [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("radialGradient", {
|
36
|
-
"id": getId(id),
|
37
|
-
"cx": "50%",
|
38
|
-
"cy": "54%",
|
39
|
-
"fx": "50%",
|
40
|
-
"fy": "54%",
|
41
|
-
"r": "297%",
|
42
|
-
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)"
|
43
|
-
}, [renderStop("#EBEDF0", 0), renderStop("#F2F3F5", 100, 0.3)])]), (0, import_vue.createVNode)("ellipse", {
|
44
|
-
"fill": useId(id),
|
45
|
-
"opacity": ".8",
|
46
|
-
"cx": "80",
|
47
|
-
"cy": "140",
|
48
|
-
"rx": "46",
|
49
|
-
"ry": "8"
|
50
|
-
}, null)];
|
51
|
-
const renderBuilding = () => [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("linearGradient", {
|
52
|
-
"id": getId("a"),
|
53
|
-
"x1": "64%",
|
54
|
-
"y1": "100%",
|
55
|
-
"x2": "64%"
|
56
|
-
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)])]), (0, import_vue.createVNode)("g", {
|
57
|
-
"opacity": ".8"
|
58
|
-
}, [(0, import_vue.createVNode)("path", {
|
59
|
-
"d": "M36 131V53H16v20H2v58h34z",
|
60
|
-
"fill": useId("a")
|
61
|
-
}, null), (0, import_vue.createVNode)("path", {
|
62
|
-
"d": "M123 15h22v14h9v77h-31V15z",
|
63
|
-
"fill": useId("a")
|
64
|
-
}, null)])];
|
65
|
-
const renderCloud = () => [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("linearGradient", {
|
66
|
-
"id": getId("b"),
|
67
|
-
"x1": "64%",
|
68
|
-
"y1": "97%",
|
69
|
-
"x2": "64%",
|
70
|
-
"y2": "0%"
|
71
|
-
}, [renderStop("#F2F3F5", 0, 0.3), renderStop("#F2F3F5", 100)])]), (0, import_vue.createVNode)("g", {
|
72
|
-
"opacity": ".8"
|
73
|
-
}, [(0, import_vue.createVNode)("path", {
|
74
|
-
"d": "M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",
|
75
|
-
"fill": useId("b")
|
76
|
-
}, null), (0, import_vue.createVNode)("path", {
|
77
|
-
"d": "M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",
|
78
|
-
"fill": useId("b")
|
79
|
-
}, null)])];
|
80
|
-
const renderNetwork = () => (0, import_vue.createVNode)("svg", {
|
81
|
-
"viewBox": "0 0 160 160"
|
82
|
-
}, [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("linearGradient", {
|
83
|
-
"id": getId(1),
|
84
|
-
"x1": "64%",
|
85
|
-
"y1": "100%",
|
86
|
-
"x2": "64%"
|
87
|
-
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)]), (0, import_vue.createVNode)("linearGradient", {
|
88
|
-
"id": getId(2),
|
89
|
-
"x1": "50%",
|
90
|
-
"x2": "50%",
|
91
|
-
"y2": "84%"
|
92
|
-
}, [renderStop("#EBEDF0", 0), renderStop("#DCDEE0", 100, 0)]), (0, import_vue.createVNode)("linearGradient", {
|
93
|
-
"id": getId(3),
|
94
|
-
"x1": "100%",
|
95
|
-
"x2": "100%",
|
96
|
-
"y2": "100%"
|
97
|
-
}, [renderStops("#EAEDF0", "#DCDEE0")]), (0, import_vue.createVNode)("radialGradient", {
|
98
|
-
"id": getId(4),
|
99
|
-
"cx": "50%",
|
100
|
-
"cy": "0%",
|
101
|
-
"fx": "50%",
|
102
|
-
"fy": "0%",
|
103
|
-
"r": "100%",
|
104
|
-
"gradientTransform": "matrix(0 1 -.54 0 .5 -.5)"
|
105
|
-
}, [renderStop("#EBEDF0", 0), renderStop("#FFF", 100, 0)])]), (0, import_vue.createVNode)("g", {
|
106
|
-
"fill": "none"
|
107
|
-
}, [renderBuilding(), (0, import_vue.createVNode)("path", {
|
108
|
-
"fill": useId(4),
|
109
|
-
"d": "M0 139h160v21H0z"
|
110
|
-
}, null), (0, import_vue.createVNode)("path", {
|
111
|
-
"d": "M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",
|
112
|
-
"fill": useId(2)
|
113
|
-
}, null), (0, import_vue.createVNode)("g", {
|
114
|
-
"opacity": ".6",
|
115
|
-
"stroke-linecap": "round",
|
116
|
-
"stroke-width": "7"
|
117
|
-
}, [(0, import_vue.createVNode)("path", {
|
118
|
-
"d": "M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",
|
119
|
-
"stroke": useId(3)
|
120
|
-
}, null), (0, import_vue.createVNode)("path", {
|
121
|
-
"d": "M53 36a34 34 0 0 0 0 48",
|
122
|
-
"stroke": useId(3)
|
123
|
-
}, null), (0, import_vue.createVNode)("path", {
|
124
|
-
"d": "M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",
|
125
|
-
"stroke": useId(3)
|
126
|
-
}, null), (0, import_vue.createVNode)("path", {
|
127
|
-
"d": "M106 84a34 34 0 0 0 0-48",
|
128
|
-
"stroke": useId(3)
|
129
|
-
}, null)]), (0, import_vue.createVNode)("g", {
|
130
|
-
"transform": "translate(31 105)"
|
131
|
-
}, [(0, import_vue.createVNode)("rect", {
|
132
|
-
"fill": "#EBEDF0",
|
133
|
-
"width": "98",
|
134
|
-
"height": "34",
|
135
|
-
"rx": "2"
|
136
|
-
}, null), (0, import_vue.createVNode)("rect", {
|
137
|
-
"fill": "#FFF",
|
138
|
-
"x": "9",
|
139
|
-
"y": "8",
|
140
|
-
"width": "80",
|
141
|
-
"height": "18",
|
142
|
-
"rx": "1.1"
|
143
|
-
}, null), (0, import_vue.createVNode)("rect", {
|
144
|
-
"fill": "#EBEDF0",
|
145
|
-
"x": "15",
|
146
|
-
"y": "12",
|
147
|
-
"width": "18",
|
148
|
-
"height": "6",
|
149
|
-
"rx": "1.1"
|
150
|
-
}, null)])])]);
|
151
|
-
const renderMaterial = () => (0, import_vue.createVNode)("svg", {
|
152
|
-
"viewBox": "0 0 160 160"
|
153
|
-
}, [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("linearGradient", {
|
154
|
-
"x1": "50%",
|
155
|
-
"x2": "50%",
|
156
|
-
"y2": "100%",
|
157
|
-
"id": getId(5)
|
158
|
-
}, [renderStops("#F2F3F5", "#DCDEE0")]), (0, import_vue.createVNode)("linearGradient", {
|
159
|
-
"x1": "95%",
|
160
|
-
"y1": "48%",
|
161
|
-
"x2": "5.5%",
|
162
|
-
"y2": "51%",
|
163
|
-
"id": getId(6)
|
164
|
-
}, [renderStops("#EAEDF1", "#DCDEE0")]), (0, import_vue.createVNode)("linearGradient", {
|
165
|
-
"y1": "45%",
|
166
|
-
"x2": "100%",
|
167
|
-
"y2": "54%",
|
168
|
-
"id": getId(7)
|
169
|
-
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), (0, import_vue.createVNode)("g", {
|
170
|
-
"transform": "translate(36 50)",
|
171
|
-
"fill": "none"
|
172
|
-
}, [(0, import_vue.createVNode)("g", {
|
173
|
-
"transform": "translate(8)"
|
174
|
-
}, [(0, import_vue.createVNode)("rect", {
|
175
|
-
"fill": "#EBEDF0",
|
176
|
-
"opacity": ".6",
|
177
|
-
"x": "38",
|
178
|
-
"y": "13",
|
179
|
-
"width": "36",
|
180
|
-
"height": "53",
|
181
|
-
"rx": "2"
|
182
|
-
}, null), (0, import_vue.createVNode)("rect", {
|
183
|
-
"fill": useId(5),
|
184
|
-
"width": "64",
|
185
|
-
"height": "66",
|
186
|
-
"rx": "2"
|
187
|
-
}, null), (0, import_vue.createVNode)("rect", {
|
188
|
-
"fill": "#FFF",
|
189
|
-
"x": "6",
|
190
|
-
"y": "6",
|
191
|
-
"width": "52",
|
192
|
-
"height": "55",
|
193
|
-
"rx": "1"
|
194
|
-
}, null), (0, import_vue.createVNode)("g", {
|
195
|
-
"transform": "translate(15 17)",
|
196
|
-
"fill": useId(6)
|
197
|
-
}, [(0, import_vue.createVNode)("rect", {
|
198
|
-
"width": "34",
|
199
|
-
"height": "6",
|
200
|
-
"rx": "1"
|
201
|
-
}, null), (0, import_vue.createVNode)("path", {
|
202
|
-
"d": "M0 14h34v6H0z"
|
203
|
-
}, null), (0, import_vue.createVNode)("rect", {
|
204
|
-
"y": "28",
|
205
|
-
"width": "34",
|
206
|
-
"height": "6",
|
207
|
-
"rx": "1"
|
208
|
-
}, null)])]), (0, import_vue.createVNode)("rect", {
|
209
|
-
"fill": useId(7),
|
210
|
-
"y": "61",
|
211
|
-
"width": "88",
|
212
|
-
"height": "28",
|
213
|
-
"rx": "1"
|
214
|
-
}, null), (0, import_vue.createVNode)("rect", {
|
215
|
-
"fill": "#F7F8FA",
|
216
|
-
"x": "29",
|
217
|
-
"y": "72",
|
218
|
-
"width": "30",
|
219
|
-
"height": "6",
|
220
|
-
"rx": "1"
|
221
|
-
}, null)])]);
|
222
|
-
const renderError = () => (0, import_vue.createVNode)("svg", {
|
223
|
-
"viewBox": "0 0 160 160"
|
224
|
-
}, [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("linearGradient", {
|
225
|
-
"x1": "50%",
|
226
|
-
"x2": "50%",
|
227
|
-
"y2": "100%",
|
228
|
-
"id": getId(8)
|
229
|
-
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), renderShadow("c"), (0, import_vue.createVNode)("path", {
|
230
|
-
"d": "m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",
|
231
|
-
"fill": useId(8)
|
232
|
-
}, null)]);
|
233
|
-
const renderSearch = () => (0, import_vue.createVNode)("svg", {
|
234
|
-
"viewBox": "0 0 160 160"
|
235
|
-
}, [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("linearGradient", {
|
236
|
-
"x1": "50%",
|
237
|
-
"y1": "100%",
|
238
|
-
"x2": "50%",
|
239
|
-
"id": getId(9)
|
240
|
-
}, [renderStops("#EEE", "#D8D8D8")]), (0, import_vue.createVNode)("linearGradient", {
|
241
|
-
"x1": "100%",
|
242
|
-
"y1": "50%",
|
243
|
-
"y2": "50%",
|
244
|
-
"id": getId(10)
|
245
|
-
}, [renderStops("#F2F3F5", "#DCDEE0")]), (0, import_vue.createVNode)("linearGradient", {
|
246
|
-
"x1": "50%",
|
247
|
-
"x2": "50%",
|
248
|
-
"y2": "100%",
|
249
|
-
"id": getId(11)
|
250
|
-
}, [renderStops("#F2F3F5", "#DCDEE0")]), (0, import_vue.createVNode)("linearGradient", {
|
251
|
-
"x1": "50%",
|
252
|
-
"x2": "50%",
|
253
|
-
"y2": "100%",
|
254
|
-
"id": getId(12)
|
255
|
-
}, [renderStops("#FFF", "#F7F8FA")])]), renderBuilding(), renderCloud(), renderShadow("d"), (0, import_vue.createVNode)("g", {
|
256
|
-
"transform": "rotate(-45 113 -4)",
|
257
|
-
"fill": "none"
|
258
|
-
}, [(0, import_vue.createVNode)("rect", {
|
259
|
-
"fill": useId(9),
|
260
|
-
"x": "24",
|
261
|
-
"y": "52.8",
|
262
|
-
"width": "5.8",
|
263
|
-
"height": "19",
|
264
|
-
"rx": "1"
|
265
|
-
}, null), (0, import_vue.createVNode)("rect", {
|
266
|
-
"fill": useId(10),
|
267
|
-
"x": "22.1",
|
268
|
-
"y": "67.3",
|
269
|
-
"width": "9.9",
|
270
|
-
"height": "28",
|
271
|
-
"rx": "1"
|
272
|
-
}, null), (0, import_vue.createVNode)("circle", {
|
273
|
-
"stroke": useId(11),
|
274
|
-
"stroke-width": "8",
|
275
|
-
"cx": "27",
|
276
|
-
"cy": "27",
|
277
|
-
"r": "27"
|
278
|
-
}, null), (0, import_vue.createVNode)("circle", {
|
279
|
-
"fill": useId(12),
|
280
|
-
"cx": "27",
|
281
|
-
"cy": "27",
|
282
|
-
"r": "16"
|
283
|
-
}, null), (0, import_vue.createVNode)("path", {
|
284
|
-
"d": "M37 7c-8 0-15 5-16 12",
|
285
|
-
"stroke": useId(11),
|
286
|
-
"stroke-width": "3",
|
287
|
-
"opacity": ".5",
|
288
|
-
"stroke-linecap": "round",
|
289
|
-
"transform": "rotate(45 29 13)"
|
290
|
-
}, null)])]);
|