vant 4.9.5 → 4.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-bar/ActionBar.d.ts +4 -4
- package/es/action-bar/ActionBar.mjs +1 -2
- package/es/action-bar/index.d.ts +4 -4
- package/es/action-bar-button/ActionBarButton.d.ts +7 -7
- package/es/action-bar-button/ActionBarButton.mjs +1 -2
- package/es/action-bar-button/index.d.ts +6 -6
- package/es/action-bar-icon/ActionBarIcon.d.ts +7 -7
- package/es/action-bar-icon/ActionBarIcon.mjs +1 -2
- package/es/action-bar-icon/index.d.ts +6 -6
- package/es/action-sheet/ActionSheet.d.ts +8 -8
- package/es/action-sheet/ActionSheet.mjs +1 -2
- package/es/action-sheet/index.d.ts +7 -7
- package/es/address-edit/AddressEdit.d.ts +5 -5
- package/es/address-edit/AddressEdit.mjs +1 -2
- package/es/address-edit/AddressEditDetail.d.ts +5 -5
- package/es/address-edit/AddressEditDetail.mjs +1 -2
- package/es/address-edit/index.d.ts +5 -5
- package/es/address-list/AddressList.d.ts +8 -8
- package/es/address-list/AddressList.mjs +1 -2
- package/es/address-list/AddressListItem.d.ts +5 -5
- package/es/address-list/AddressListItem.mjs +1 -2
- package/es/address-list/index.d.ts +7 -7
- package/es/area/Area.d.ts +5 -5
- package/es/area/Area.mjs +1 -2
- package/es/area/index.d.ts +5 -5
- package/es/back-top/BackTop.d.ts +12 -12
- package/es/back-top/BackTop.mjs +1 -2
- package/es/back-top/index.d.ts +9 -9
- package/es/badge/Badge.d.ts +4 -4
- package/es/badge/Badge.mjs +1 -2
- package/es/badge/index.d.ts +4 -4
- package/es/barrage/Barrage.d.ts +5 -5
- package/es/barrage/Barrage.mjs +1 -2
- package/es/barrage/index.d.ts +5 -5
- package/es/button/Button.d.ts +8 -8
- package/es/button/Button.mjs +1 -2
- package/es/button/index.d.ts +7 -7
- package/es/calendar/Calendar.d.ts +9 -9
- package/es/calendar/Calendar.mjs +1 -2
- package/es/calendar/CalendarDay.d.ts +5 -5
- package/es/calendar/CalendarDay.mjs +1 -2
- package/es/calendar/CalendarHeader.d.ts +5 -5
- package/es/calendar/CalendarHeader.mjs +1 -2
- package/es/calendar/CalendarMonth.d.ts +5 -5
- package/es/calendar/CalendarMonth.mjs +1 -2
- package/es/calendar/index.d.ts +7 -7
- package/es/calendar/utils.d.ts +1 -1
- package/es/card/Card.d.ts +5 -5
- package/es/card/Card.mjs +1 -2
- package/es/card/index.d.ts +5 -5
- package/es/cascader/Cascader.d.ts +6 -6
- package/es/cascader/Cascader.mjs +2 -4
- package/es/cascader/index.d.ts +6 -6
- package/es/cell/Cell.d.ts +7 -7
- package/es/cell/Cell.mjs +1 -2
- package/es/cell/index.d.ts +6 -6
- package/es/cell-group/CellGroup.d.ts +4 -4
- package/es/cell-group/CellGroup.mjs +1 -2
- package/es/cell-group/index.d.ts +4 -4
- package/es/checkbox/Checkbox.d.ts +5 -5
- package/es/checkbox/Checkbox.mjs +3 -6
- package/es/checkbox/Checker.d.ts +7 -7
- package/es/checkbox/Checker.mjs +1 -2
- package/es/checkbox/index.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.mjs +1 -2
- package/es/checkbox-group/index.d.ts +5 -5
- package/es/circle/Circle.d.ts +5 -5
- package/es/circle/Circle.mjs +1 -2
- package/es/circle/index.d.ts +5 -5
- package/es/col/Col.d.ts +4 -4
- package/es/col/Col.mjs +1 -2
- package/es/col/index.d.ts +4 -4
- package/es/collapse/Collapse.d.ts +5 -5
- package/es/collapse/Collapse.mjs +1 -2
- package/es/collapse/index.d.ts +5 -5
- package/es/collapse-item/CollapseItem.d.ts +4 -4
- package/es/collapse-item/CollapseItem.mjs +1 -2
- package/es/collapse-item/index.d.ts +4 -4
- package/es/composables/use-height.d.ts +1 -1
- package/es/composables/use-lazy-render.d.ts +0 -1
- package/es/composables/use-placeholder.d.ts +0 -1
- package/es/composables/use-refs.d.ts +1 -1
- package/es/composables/use-route.d.ts +2 -1
- package/es/composables/use-sync-prop-ref.d.ts +1 -1
- package/es/composables/use-touch.d.ts +8 -8
- package/es/config-provider/ConfigProvider.d.ts +4 -4
- package/es/config-provider/ConfigProvider.mjs +1 -2
- package/es/config-provider/index.d.ts +4 -4
- package/es/contact-card/ContactCard.d.ts +5 -5
- package/es/contact-card/ContactCard.mjs +1 -2
- package/es/contact-card/index.d.ts +5 -5
- package/es/contact-edit/ContactEdit.d.ts +5 -5
- package/es/contact-edit/ContactEdit.mjs +1 -2
- package/es/contact-edit/index.d.ts +5 -5
- package/es/contact-list/ContactList.d.ts +4 -4
- package/es/contact-list/ContactList.mjs +1 -2
- package/es/contact-list/index.d.ts +4 -4
- package/es/count-down/CountDown.d.ts +5 -5
- package/es/count-down/CountDown.mjs +1 -2
- package/es/count-down/index.d.ts +5 -5
- package/es/coupon/Coupon.d.ts +4 -4
- package/es/coupon/Coupon.mjs +1 -2
- package/es/coupon/index.d.ts +4 -4
- package/es/coupon-cell/CouponCell.d.ts +4 -4
- package/es/coupon-cell/CouponCell.mjs +1 -2
- package/es/coupon-cell/index.d.ts +4 -4
- package/es/coupon-list/CouponList.d.ts +5 -5
- package/es/coupon-list/CouponList.mjs +1 -2
- package/es/coupon-list/index.d.ts +5 -5
- package/es/date-picker/DatePicker.d.ts +8 -8
- package/es/date-picker/DatePicker.mjs +1 -2
- package/es/date-picker/index.d.ts +7 -7
- package/es/date-picker/utils.d.ts +2 -1
- package/es/dialog/Dialog.d.ts +10 -10
- package/es/dialog/Dialog.mjs +1 -2
- package/es/dialog/function-call.mjs +1 -1
- package/es/dialog/index.d.ts +9 -9
- package/es/dialog/types.d.ts +0 -1
- package/es/divider/Divider.d.ts +4 -4
- package/es/divider/Divider.mjs +1 -2
- package/es/divider/index.d.ts +4 -4
- package/es/dropdown-item/DropdownItem.d.ts +10 -10
- package/es/dropdown-item/DropdownItem.mjs +2 -2
- package/es/dropdown-item/index.d.ts +8 -8
- package/es/dropdown-menu/DropdownMenu.d.ts +4 -4
- package/es/dropdown-menu/DropdownMenu.mjs +2 -2
- package/es/dropdown-menu/index.d.ts +4 -4
- package/es/empty/Empty.d.ts +4 -4
- package/es/empty/Empty.mjs +40 -20
- package/es/empty/index.d.ts +4 -4
- package/es/field/Field.d.ts +5 -5
- package/es/field/Field.mjs +3 -2
- package/es/field/index.d.ts +5 -5
- package/es/floating-bubble/FloatingBubble.d.ts +9 -9
- package/es/floating-bubble/FloatingBubble.mjs +9 -18
- package/es/floating-bubble/index.d.ts +7 -7
- package/es/floating-panel/FloatingPanel.d.ts +5 -5
- package/es/floating-panel/FloatingPanel.mjs +2 -4
- package/es/floating-panel/index.d.ts +5 -5
- package/es/form/Form.d.ts +5 -5
- package/es/form/Form.mjs +1 -2
- package/es/form/index.d.ts +5 -5
- package/es/grid/Grid.d.ts +4 -4
- package/es/grid/Grid.mjs +1 -2
- package/es/grid/index.d.ts +4 -4
- package/es/grid-item/GridItem.d.ts +7 -7
- package/es/grid-item/GridItem.mjs +1 -2
- package/es/grid-item/index.d.ts +6 -6
- package/es/highlight/Highlight.d.ts +4 -4
- package/es/highlight/Highlight.mjs +1 -2
- package/es/highlight/index.d.ts +4 -4
- package/es/icon/Icon.d.ts +4 -4
- package/es/icon/Icon.mjs +1 -2
- package/es/icon/index.d.ts +4 -4
- package/es/image/Image.d.ts +19 -18
- package/es/image/Image.mjs +1 -2
- package/es/image/index.d.ts +13 -13
- package/es/image-preview/ImagePreview.d.ts +9 -9
- package/es/image-preview/ImagePreview.mjs +1 -2
- package/es/image-preview/ImagePreviewItem.d.ts +5 -5
- package/es/image-preview/ImagePreviewItem.mjs +4 -8
- package/es/image-preview/function-call.mjs +1 -1
- package/es/image-preview/index.d.ts +7 -7
- package/es/index-anchor/IndexAnchor.d.ts +3 -3
- package/es/index-anchor/IndexAnchor.mjs +1 -2
- package/es/index-anchor/index.d.ts +3 -3
- package/es/index-bar/IndexBar.d.ts +9 -9
- package/es/index-bar/IndexBar.mjs +1 -2
- package/es/index-bar/index.d.ts +7 -7
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/lazyload/vue-lazyload/lazy-container.mjs +2 -4
- package/es/lazyload/vue-lazyload/lazy.mjs +8 -16
- package/es/lazyload/vue-lazyload/listener.mjs +2 -4
- package/es/lazyload/vue-lazyload/util.mjs +5 -10
- package/es/list/List.d.ts +5 -5
- package/es/list/List.mjs +1 -2
- package/es/list/index.d.ts +5 -5
- package/es/loading/Loading.d.ts +4 -4
- package/es/loading/Loading.mjs +1 -2
- package/es/loading/index.d.ts +4 -4
- package/es/locale/index.d.ts +1 -1
- package/es/nav-bar/NavBar.d.ts +5 -5
- package/es/nav-bar/NavBar.mjs +1 -2
- package/es/nav-bar/index.d.ts +5 -5
- package/es/notice-bar/NoticeBar.d.ts +5 -5
- package/es/notice-bar/NoticeBar.mjs +1 -2
- package/es/notice-bar/index.d.ts +5 -5
- package/es/notify/Notify.d.ts +8 -8
- package/es/notify/Notify.mjs +1 -2
- package/es/notify/function-call.mjs +1 -1
- package/es/notify/index.d.ts +7 -7
- package/es/number-keyboard/NumberKeyboard.d.ts +10 -10
- package/es/number-keyboard/NumberKeyboard.mjs +7 -3
- package/es/number-keyboard/NumberKeyboardKey.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboardKey.mjs +1 -2
- package/es/number-keyboard/index.d.ts +8 -8
- package/es/overlay/Overlay.d.ts +8 -8
- package/es/overlay/Overlay.mjs +1 -2
- package/es/overlay/index.d.ts +6 -6
- package/es/pagination/Pagination.d.ts +5 -5
- package/es/pagination/Pagination.mjs +1 -2
- package/es/pagination/index.d.ts +5 -5
- package/es/password-input/PasswordInput.d.ts +5 -5
- package/es/password-input/PasswordInput.mjs +1 -2
- package/es/password-input/index.d.ts +5 -5
- package/es/picker/Picker.d.ts +5 -5
- package/es/picker/Picker.mjs +1 -2
- package/es/picker/PickerColumn.d.ts +5 -5
- package/es/picker/PickerColumn.mjs +2 -4
- package/es/picker/PickerToolbar.d.ts +4 -4
- package/es/picker/PickerToolbar.mjs +1 -2
- package/es/picker/index.d.ts +5 -5
- package/es/picker/utils.d.ts +1 -1
- package/es/picker/utils.mjs +2 -4
- package/es/picker-group/PickerGroup.d.ts +5 -5
- package/es/picker-group/PickerGroup.mjs +1 -2
- package/es/picker-group/index.d.ts +5 -5
- package/es/popover/Popover.d.ts +9 -9
- package/es/popover/Popover.mjs +1 -2
- package/es/popover/index.d.ts +7 -7
- package/es/popup/Popup.d.ts +9 -9
- package/es/popup/Popup.mjs +2 -4
- package/es/popup/index.d.ts +8 -8
- package/es/popup/shared.d.ts +2 -2
- package/es/progress/Progress.d.ts +4 -4
- package/es/progress/Progress.mjs +1 -2
- package/es/progress/index.d.ts +4 -4
- package/es/pull-refresh/PullRefresh.d.ts +5 -5
- package/es/pull-refresh/PullRefresh.mjs +1 -2
- package/es/pull-refresh/index.d.ts +5 -5
- package/es/radio/Radio.d.ts +5 -5
- package/es/radio/Radio.mjs +1 -2
- package/es/radio/index.d.ts +5 -5
- package/es/radio-group/RadioGroup.d.ts +8 -8
- package/es/radio-group/RadioGroup.mjs +1 -2
- package/es/radio-group/index.d.ts +7 -7
- package/es/rate/Rate.d.ts +5 -5
- package/es/rate/Rate.mjs +2 -4
- package/es/rate/index.d.ts +5 -5
- package/es/rolling-text/RollingText.d.ts +4 -4
- package/es/rolling-text/RollingText.mjs +4 -8
- package/es/rolling-text/RollingTextItem.d.ts +4 -4
- package/es/rolling-text/RollingTextItem.mjs +1 -2
- package/es/rolling-text/index.d.ts +4 -4
- package/es/row/Row.d.ts +4 -4
- package/es/row/Row.mjs +2 -4
- package/es/row/index.d.ts +4 -4
- package/es/search/Search.d.ts +5 -5
- package/es/search/Search.mjs +3 -3
- package/es/search/index.d.ts +5 -5
- package/es/share-sheet/ShareSheet.d.ts +8 -8
- package/es/share-sheet/ShareSheet.mjs +1 -2
- package/es/share-sheet/index.d.ts +7 -7
- package/es/sidebar/Sidebar.d.ts +5 -5
- package/es/sidebar/Sidebar.mjs +1 -2
- package/es/sidebar/index.d.ts +5 -5
- package/es/sidebar-item/SidebarItem.d.ts +8 -8
- package/es/sidebar-item/SidebarItem.mjs +1 -2
- package/es/sidebar-item/index.d.ts +7 -7
- package/es/signature/Signature.d.ts +5 -5
- package/es/signature/Signature.mjs +2 -4
- package/es/signature/index.d.ts +5 -5
- package/es/skeleton/Skeleton.d.ts +5 -5
- package/es/skeleton/Skeleton.mjs +1 -2
- package/es/skeleton/index.d.ts +5 -5
- package/es/skeleton-avatar/SkeletonAvatar.d.ts +4 -4
- package/es/skeleton-avatar/SkeletonAvatar.mjs +1 -2
- package/es/skeleton-avatar/index.d.ts +4 -4
- package/es/skeleton-image/SkeletonImage.d.ts +4 -4
- package/es/skeleton-image/SkeletonImage.mjs +1 -2
- package/es/skeleton-image/index.d.ts +4 -4
- package/es/skeleton-paragraph/SkeletonParagraph.d.ts +4 -4
- package/es/skeleton-paragraph/SkeletonParagraph.mjs +1 -2
- package/es/skeleton-paragraph/index.d.ts +4 -4
- package/es/skeleton-title/SkeletonTitle.d.ts +4 -4
- package/es/skeleton-title/SkeletonTitle.mjs +1 -2
- package/es/skeleton-title/index.d.ts +4 -4
- package/es/slider/Slider.d.ts +5 -5
- package/es/slider/Slider.mjs +1 -2
- package/es/slider/index.d.ts +5 -5
- package/es/space/Space.d.ts +10 -10
- package/es/space/Space.mjs +1 -2
- package/es/space/index.d.ts +8 -8
- package/es/step/Step.d.ts +1 -1
- package/es/step/Step.mjs +1 -2
- package/es/step/index.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +5 -5
- package/es/stepper/Stepper.mjs +1 -2
- package/es/stepper/index.d.ts +5 -5
- package/es/steps/Steps.d.ts +5 -5
- package/es/steps/Steps.mjs +1 -2
- package/es/steps/index.d.ts +5 -5
- package/es/sticky/Sticky.d.ts +5 -5
- package/es/sticky/Sticky.mjs +1 -2
- package/es/sticky/index.d.ts +5 -5
- package/es/submit-bar/SubmitBar.d.ts +5 -5
- package/es/submit-bar/SubmitBar.mjs +1 -2
- package/es/submit-bar/index.d.ts +5 -5
- package/es/swipe/Swipe.d.ts +5 -5
- package/es/swipe/Swipe.mjs +2 -4
- package/es/swipe/index.d.ts +5 -5
- package/es/swipe-cell/SwipeCell.d.ts +6 -6
- package/es/swipe-cell/SwipeCell.mjs +2 -4
- package/es/swipe-cell/index.d.ts +6 -6
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/SwipeItem.mjs +1 -2
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +5 -5
- package/es/switch/Switch.mjs +1 -2
- package/es/switch/index.d.ts +5 -5
- package/es/tab/Tab.d.ts +7 -7
- package/es/tab/Tab.mjs +5 -4
- package/es/tab/TabTitle.d.ts +4 -4
- package/es/tab/TabTitle.mjs +3 -3
- package/es/tab/index.d.ts +6 -6
- package/es/tabbar/Tabbar.d.ts +5 -5
- package/es/tabbar/Tabbar.mjs +1 -2
- package/es/tabbar/index.d.ts +5 -5
- package/es/tabbar-item/TabbarItem.d.ts +8 -8
- package/es/tabbar-item/TabbarItem.mjs +1 -2
- package/es/tabbar-item/index.d.ts +7 -7
- package/es/tabs/Tabs.d.ts +5 -5
- package/es/tabs/Tabs.mjs +3 -6
- package/es/tabs/TabsContent.d.ts +5 -5
- package/es/tabs/TabsContent.mjs +1 -2
- package/es/tabs/index.d.ts +5 -5
- package/es/tag/Tag.d.ts +5 -5
- package/es/tag/Tag.mjs +1 -2
- package/es/tag/index.d.ts +5 -5
- package/es/text-ellipsis/TextEllipsis.d.ts +5 -5
- package/es/text-ellipsis/TextEllipsis.mjs +3 -6
- package/es/text-ellipsis/index.d.ts +5 -5
- package/es/time-picker/TimePicker.d.ts +12 -11
- package/es/time-picker/TimePicker.mjs +1 -2
- package/es/time-picker/index.d.ts +9 -9
- package/es/toast/Toast.d.ts +9 -9
- package/es/toast/Toast.mjs +1 -2
- package/es/toast/function-call.mjs +1 -2
- package/es/toast/index.d.ts +7 -7
- package/es/tree-select/TreeSelect.d.ts +5 -5
- package/es/tree-select/TreeSelect.mjs +1 -2
- package/es/tree-select/index.d.ts +5 -5
- package/es/uploader/Uploader.d.ts +5 -5
- package/es/uploader/Uploader.mjs +1 -2
- package/es/uploader/UploaderPreviewItem.d.ts +8 -7
- package/es/uploader/UploaderPreviewItem.mjs +1 -2
- package/es/uploader/index.d.ts +5 -5
- package/es/uploader/utils.d.ts +1 -1
- package/es/utils/basic.d.ts +2 -2
- package/es/utils/create.d.ts +1 -1
- package/es/utils/dom.d.ts +1 -1
- package/es/utils/mount-component.d.ts +1 -1
- package/es/watermark/Watermark.d.ts +4 -4
- package/es/watermark/Watermark.mjs +1 -2
- package/es/watermark/index.d.ts +4 -4
- package/lib/action-bar/ActionBar.d.ts +4 -4
- package/lib/action-bar/ActionBar.js +2 -3
- package/lib/action-bar/index.d.ts +4 -4
- package/lib/action-bar-button/ActionBarButton.d.ts +7 -7
- package/lib/action-bar-button/ActionBarButton.js +3 -4
- package/lib/action-bar-button/index.d.ts +6 -6
- package/lib/action-bar-icon/ActionBarIcon.d.ts +7 -7
- package/lib/action-bar-icon/ActionBarIcon.js +1 -2
- package/lib/action-bar-icon/index.d.ts +6 -6
- package/lib/action-sheet/ActionSheet.d.ts +8 -8
- package/lib/action-sheet/ActionSheet.js +2 -3
- package/lib/action-sheet/index.d.ts +7 -7
- package/lib/address-edit/AddressEdit.d.ts +5 -5
- package/lib/address-edit/AddressEdit.js +11 -12
- package/lib/address-edit/AddressEditDetail.d.ts +5 -5
- package/lib/address-edit/AddressEditDetail.js +2 -3
- package/lib/address-edit/index.d.ts +5 -5
- package/lib/address-list/AddressList.d.ts +8 -8
- package/lib/address-list/AddressList.js +2 -3
- package/lib/address-list/AddressListItem.d.ts +5 -5
- package/lib/address-list/AddressListItem.js +1 -2
- package/lib/address-list/index.d.ts +7 -7
- package/lib/area/Area.d.ts +5 -5
- package/lib/area/Area.js +6 -7
- package/lib/area/index.d.ts +5 -5
- package/lib/back-top/BackTop.d.ts +12 -12
- package/lib/back-top/BackTop.js +11 -12
- package/lib/back-top/index.d.ts +9 -9
- package/lib/badge/Badge.d.ts +4 -4
- package/lib/badge/Badge.js +2 -3
- package/lib/badge/index.d.ts +4 -4
- package/lib/barrage/Barrage.d.ts +5 -5
- package/lib/barrage/Barrage.js +9 -10
- package/lib/barrage/index.d.ts +5 -5
- package/lib/button/Button.d.ts +8 -8
- package/lib/button/Button.js +1 -2
- package/lib/button/index.d.ts +7 -7
- package/lib/calendar/Calendar.d.ts +9 -9
- package/lib/calendar/Calendar.js +15 -16
- package/lib/calendar/CalendarDay.d.ts +5 -5
- package/lib/calendar/CalendarDay.js +2 -3
- package/lib/calendar/CalendarHeader.d.ts +5 -5
- package/lib/calendar/CalendarHeader.js +5 -6
- package/lib/calendar/CalendarMonth.d.ts +5 -5
- package/lib/calendar/CalendarMonth.js +11 -12
- package/lib/calendar/index.d.ts +7 -7
- package/lib/calendar/utils.d.ts +1 -1
- package/lib/card/Card.d.ts +5 -5
- package/lib/card/Card.js +1 -2
- package/lib/card/index.d.ts +5 -5
- package/lib/cascader/Cascader.d.ts +6 -6
- package/lib/cascader/Cascader.js +9 -11
- package/lib/cascader/index.d.ts +6 -6
- package/lib/cell/Cell.d.ts +7 -7
- package/lib/cell/Cell.js +1 -2
- package/lib/cell/index.d.ts +6 -6
- package/lib/cell-group/CellGroup.d.ts +4 -4
- package/lib/cell-group/CellGroup.js +1 -2
- package/lib/cell-group/index.d.ts +4 -4
- package/lib/checkbox/Checkbox.d.ts +5 -5
- package/lib/checkbox/Checkbox.js +5 -8
- package/lib/checkbox/Checker.d.ts +7 -7
- package/lib/checkbox/Checker.js +6 -7
- package/lib/checkbox/index.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.js +2 -3
- package/lib/checkbox-group/index.d.ts +5 -5
- package/lib/circle/Circle.d.ts +5 -5
- package/lib/circle/Circle.js +5 -6
- package/lib/circle/index.d.ts +5 -5
- package/lib/col/Col.d.ts +4 -4
- package/lib/col/Col.js +2 -3
- package/lib/col/index.d.ts +4 -4
- package/lib/collapse/Collapse.d.ts +5 -5
- package/lib/collapse/Collapse.js +1 -2
- package/lib/collapse/index.d.ts +5 -5
- package/lib/collapse-item/CollapseItem.d.ts +4 -4
- package/lib/collapse-item/CollapseItem.js +8 -9
- package/lib/collapse-item/index.d.ts +4 -4
- package/lib/composables/use-height.d.ts +1 -1
- package/lib/composables/use-lazy-render.d.ts +0 -1
- package/lib/composables/use-placeholder.d.ts +0 -1
- package/lib/composables/use-refs.d.ts +1 -1
- package/lib/composables/use-route.d.ts +2 -1
- package/lib/composables/use-sync-prop-ref.d.ts +1 -1
- package/lib/composables/use-touch.d.ts +8 -8
- package/lib/config-provider/ConfigProvider.d.ts +4 -4
- package/lib/config-provider/ConfigProvider.js +10 -11
- package/lib/config-provider/index.d.ts +4 -4
- package/lib/contact-card/ContactCard.d.ts +5 -5
- package/lib/contact-card/ContactCard.js +1 -2
- package/lib/contact-card/index.d.ts +5 -5
- package/lib/contact-edit/ContactEdit.d.ts +5 -5
- package/lib/contact-edit/ContactEdit.js +3 -4
- package/lib/contact-edit/index.d.ts +5 -5
- package/lib/contact-list/ContactList.d.ts +4 -4
- package/lib/contact-list/ContactList.js +1 -2
- package/lib/contact-list/index.d.ts +4 -4
- package/lib/count-down/CountDown.d.ts +5 -5
- package/lib/count-down/CountDown.js +3 -4
- package/lib/count-down/index.d.ts +5 -5
- package/lib/coupon/Coupon.d.ts +4 -4
- package/lib/coupon/Coupon.js +4 -5
- package/lib/coupon/index.d.ts +4 -4
- package/lib/coupon-cell/CouponCell.d.ts +4 -4
- package/lib/coupon-cell/CouponCell.js +1 -2
- package/lib/coupon-cell/index.d.ts +4 -4
- package/lib/coupon-list/CouponList.d.ts +5 -5
- package/lib/coupon-list/CouponList.js +13 -14
- package/lib/coupon-list/index.d.ts +5 -5
- package/lib/date-picker/DatePicker.d.ts +8 -8
- package/lib/date-picker/DatePicker.js +7 -8
- package/lib/date-picker/index.d.ts +7 -7
- package/lib/date-picker/utils.d.ts +2 -1
- package/lib/dialog/Dialog.d.ts +10 -10
- package/lib/dialog/Dialog.js +4 -5
- package/lib/dialog/index.d.ts +9 -9
- package/lib/dialog/types.d.ts +0 -1
- package/lib/divider/Divider.d.ts +4 -4
- package/lib/divider/Divider.js +1 -2
- package/lib/divider/index.d.ts +4 -4
- package/lib/dropdown-item/DropdownItem.d.ts +10 -10
- package/lib/dropdown-item/DropdownItem.js +5 -5
- package/lib/dropdown-item/index.d.ts +8 -8
- package/lib/dropdown-menu/DropdownMenu.d.ts +4 -4
- package/lib/dropdown-menu/DropdownMenu.js +8 -8
- package/lib/dropdown-menu/index.d.ts +4 -4
- package/lib/empty/Empty.d.ts +4 -4
- package/lib/empty/Empty.js +40 -20
- package/lib/empty/index.d.ts +4 -4
- package/lib/field/Field.d.ts +5 -5
- package/lib/field/Field.js +20 -19
- package/lib/field/index.d.ts +5 -5
- package/lib/floating-bubble/FloatingBubble.d.ts +9 -9
- package/lib/floating-bubble/FloatingBubble.js +22 -31
- package/lib/floating-bubble/index.d.ts +7 -7
- package/lib/floating-panel/FloatingPanel.d.ts +5 -5
- package/lib/floating-panel/FloatingPanel.js +9 -11
- package/lib/floating-panel/index.d.ts +5 -5
- package/lib/form/Form.d.ts +5 -5
- package/lib/form/Form.js +1 -2
- package/lib/form/index.d.ts +5 -5
- package/lib/grid/Grid.d.ts +4 -4
- package/lib/grid/Grid.js +1 -2
- package/lib/grid/index.d.ts +4 -4
- package/lib/grid-item/GridItem.d.ts +7 -7
- package/lib/grid-item/GridItem.js +3 -4
- package/lib/grid-item/index.d.ts +6 -6
- package/lib/highlight/Highlight.d.ts +4 -4
- package/lib/highlight/Highlight.js +2 -3
- package/lib/highlight/index.d.ts +4 -4
- package/lib/icon/Icon.d.ts +4 -4
- package/lib/icon/Icon.js +3 -4
- package/lib/icon/index.d.ts +4 -4
- package/lib/image/Image.d.ts +19 -18
- package/lib/image/Image.js +11 -12
- package/lib/image/index.d.ts +13 -13
- package/lib/image-preview/ImagePreview.d.ts +9 -9
- package/lib/image-preview/ImagePreview.js +9 -10
- package/lib/image-preview/ImagePreviewItem.d.ts +5 -5
- package/lib/image-preview/ImagePreviewItem.js +16 -20
- package/lib/image-preview/index.d.ts +7 -7
- package/lib/index-anchor/IndexAnchor.d.ts +3 -3
- package/lib/index-anchor/IndexAnchor.js +4 -5
- package/lib/index-anchor/index.d.ts +3 -3
- package/lib/index-bar/IndexBar.d.ts +9 -9
- package/lib/index-bar/IndexBar.js +11 -12
- package/lib/index-bar/index.d.ts +7 -7
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/lazyload/vue-lazyload/lazy-container.js +2 -4
- package/lib/lazyload/vue-lazyload/lazy.js +8 -16
- package/lib/lazyload/vue-lazyload/listener.js +2 -4
- package/lib/lazyload/vue-lazyload/util.js +5 -10
- package/lib/list/List.d.ts +5 -5
- package/lib/list/List.js +10 -11
- package/lib/list/index.d.ts +5 -5
- package/lib/loading/Loading.d.ts +4 -4
- package/lib/loading/Loading.js +2 -3
- package/lib/loading/index.d.ts +4 -4
- package/lib/locale/index.d.ts +1 -1
- package/lib/nav-bar/NavBar.d.ts +5 -5
- package/lib/nav-bar/NavBar.js +2 -3
- package/lib/nav-bar/index.d.ts +5 -5
- package/lib/notice-bar/NoticeBar.d.ts +5 -5
- package/lib/notice-bar/NoticeBar.js +5 -6
- package/lib/notice-bar/index.d.ts +5 -5
- package/lib/notify/Notify.d.ts +8 -8
- package/lib/notify/Notify.js +1 -2
- package/lib/notify/index.d.ts +7 -7
- package/lib/number-keyboard/NumberKeyboard.d.ts +10 -10
- package/lib/number-keyboard/NumberKeyboard.js +12 -8
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboardKey.js +2 -3
- package/lib/number-keyboard/index.d.ts +8 -8
- package/lib/overlay/Overlay.d.ts +8 -8
- package/lib/overlay/Overlay.js +4 -5
- package/lib/overlay/index.d.ts +6 -6
- package/lib/pagination/Pagination.d.ts +5 -5
- package/lib/pagination/Pagination.js +4 -5
- package/lib/pagination/index.d.ts +5 -5
- package/lib/password-input/PasswordInput.d.ts +5 -5
- package/lib/password-input/PasswordInput.js +1 -2
- package/lib/password-input/index.d.ts +5 -5
- package/lib/picker/Picker.d.ts +5 -5
- package/lib/picker/Picker.js +15 -16
- package/lib/picker/PickerColumn.d.ts +5 -5
- package/lib/picker/PickerColumn.js +8 -10
- package/lib/picker/PickerToolbar.d.ts +4 -4
- package/lib/picker/PickerToolbar.js +1 -2
- package/lib/picker/index.d.ts +5 -5
- package/lib/picker/utils.d.ts +1 -1
- package/lib/picker/utils.js +2 -4
- package/lib/picker-group/PickerGroup.d.ts +5 -5
- package/lib/picker-group/PickerGroup.js +3 -4
- package/lib/picker-group/index.d.ts +5 -5
- package/lib/popover/Popover.d.ts +9 -9
- package/lib/popover/Popover.js +9 -10
- package/lib/popover/index.d.ts +7 -7
- package/lib/popup/Popup.d.ts +9 -9
- package/lib/popup/Popup.js +13 -15
- package/lib/popup/index.d.ts +8 -8
- package/lib/popup/shared.d.ts +2 -2
- package/lib/progress/Progress.d.ts +4 -4
- package/lib/progress/Progress.js +2 -3
- package/lib/progress/index.d.ts +4 -4
- package/lib/pull-refresh/PullRefresh.d.ts +5 -5
- package/lib/pull-refresh/PullRefresh.js +6 -7
- package/lib/pull-refresh/index.d.ts +5 -5
- package/lib/radio/Radio.d.ts +5 -5
- package/lib/radio/Radio.js +1 -2
- package/lib/radio/index.d.ts +5 -5
- package/lib/radio-group/RadioGroup.d.ts +8 -8
- package/lib/radio-group/RadioGroup.js +2 -3
- package/lib/radio-group/index.d.ts +7 -7
- package/lib/rate/Rate.d.ts +5 -5
- package/lib/rate/Rate.js +6 -8
- package/lib/rate/index.d.ts +5 -5
- package/lib/rolling-text/RollingText.d.ts +4 -4
- package/lib/rolling-text/RollingText.js +10 -14
- package/lib/rolling-text/RollingTextItem.d.ts +4 -4
- package/lib/rolling-text/RollingTextItem.js +5 -6
- package/lib/rolling-text/index.d.ts +4 -4
- package/lib/row/Row.d.ts +4 -4
- package/lib/row/Row.js +5 -7
- package/lib/row/index.d.ts +4 -4
- package/lib/search/Search.d.ts +5 -5
- package/lib/search/Search.js +4 -4
- package/lib/search/index.d.ts +5 -5
- package/lib/share-sheet/ShareSheet.d.ts +8 -8
- package/lib/share-sheet/ShareSheet.js +1 -2
- package/lib/share-sheet/index.d.ts +7 -7
- package/lib/sidebar/Sidebar.d.ts +5 -5
- package/lib/sidebar/Sidebar.js +1 -2
- package/lib/sidebar/index.d.ts +5 -5
- package/lib/sidebar-item/SidebarItem.d.ts +8 -8
- package/lib/sidebar-item/SidebarItem.js +1 -2
- package/lib/sidebar-item/index.d.ts +7 -7
- package/lib/signature/Signature.d.ts +5 -5
- package/lib/signature/Signature.js +7 -9
- package/lib/signature/index.d.ts +5 -5
- package/lib/skeleton/Skeleton.d.ts +5 -5
- package/lib/skeleton/Skeleton.js +1 -2
- package/lib/skeleton/index.d.ts +5 -5
- package/lib/skeleton-avatar/SkeletonAvatar.d.ts +4 -4
- package/lib/skeleton-avatar/SkeletonAvatar.js +1 -2
- package/lib/skeleton-avatar/index.d.ts +4 -4
- package/lib/skeleton-image/SkeletonImage.d.ts +4 -4
- package/lib/skeleton-image/SkeletonImage.js +1 -2
- package/lib/skeleton-image/index.d.ts +4 -4
- package/lib/skeleton-paragraph/SkeletonParagraph.d.ts +4 -4
- package/lib/skeleton-paragraph/SkeletonParagraph.js +1 -2
- package/lib/skeleton-paragraph/index.d.ts +4 -4
- package/lib/skeleton-title/SkeletonTitle.d.ts +4 -4
- package/lib/skeleton-title/SkeletonTitle.js +1 -2
- package/lib/skeleton-title/index.d.ts +4 -4
- package/lib/slider/Slider.d.ts +5 -5
- package/lib/slider/Slider.js +7 -8
- package/lib/slider/index.d.ts +5 -5
- package/lib/space/Space.d.ts +10 -10
- package/lib/space/Space.js +4 -5
- package/lib/space/index.d.ts +8 -8
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/Step.js +3 -4
- package/lib/step/index.d.ts +1 -1
- package/lib/stepper/Stepper.d.ts +5 -5
- package/lib/stepper/Stepper.js +11 -12
- package/lib/stepper/index.d.ts +5 -5
- package/lib/steps/Steps.d.ts +5 -5
- package/lib/steps/Steps.js +1 -2
- package/lib/steps/index.d.ts +5 -5
- package/lib/sticky/Sticky.d.ts +5 -5
- package/lib/sticky/Sticky.js +10 -11
- package/lib/sticky/index.d.ts +5 -5
- package/lib/submit-bar/SubmitBar.d.ts +5 -5
- package/lib/submit-bar/SubmitBar.js +2 -3
- package/lib/submit-bar/index.d.ts +5 -5
- package/lib/swipe/Swipe.d.ts +5 -5
- package/lib/swipe/Swipe.js +24 -26
- package/lib/swipe/index.d.ts +5 -5
- package/lib/swipe-cell/SwipeCell.d.ts +6 -6
- package/lib/swipe-cell/SwipeCell.js +8 -10
- package/lib/swipe-cell/index.d.ts +6 -6
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/SwipeItem.js +6 -7
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.d.ts +5 -5
- package/lib/switch/Switch.js +1 -2
- package/lib/switch/index.d.ts +5 -5
- package/lib/tab/Tab.d.ts +7 -7
- package/lib/tab/Tab.js +16 -15
- package/lib/tab/TabTitle.d.ts +4 -4
- package/lib/tab/TabTitle.js +4 -4
- package/lib/tab/index.d.ts +6 -6
- package/lib/tabbar/Tabbar.d.ts +5 -5
- package/lib/tabbar/Tabbar.js +2 -3
- package/lib/tabbar/index.d.ts +5 -5
- package/lib/tabbar-item/TabbarItem.d.ts +8 -8
- package/lib/tabbar-item/TabbarItem.js +3 -4
- package/lib/tabbar-item/index.d.ts +7 -7
- package/lib/tabs/Tabs.d.ts +5 -5
- package/lib/tabs/Tabs.js +23 -26
- package/lib/tabs/TabsContent.d.ts +5 -5
- package/lib/tabs/TabsContent.js +4 -5
- package/lib/tabs/index.d.ts +5 -5
- package/lib/tag/Tag.d.ts +5 -5
- package/lib/tag/Tag.js +2 -3
- package/lib/tag/index.d.ts +5 -5
- package/lib/text-ellipsis/TextEllipsis.d.ts +5 -5
- package/lib/text-ellipsis/TextEllipsis.js +13 -16
- package/lib/text-ellipsis/index.d.ts +5 -5
- package/lib/time-picker/TimePicker.d.ts +12 -11
- package/lib/time-picker/TimePicker.js +6 -7
- package/lib/time-picker/index.d.ts +9 -9
- package/lib/toast/Toast.d.ts +9 -9
- package/lib/toast/Toast.js +5 -6
- package/lib/toast/function-call.js +3 -4
- package/lib/toast/index.d.ts +7 -7
- package/lib/tree-select/TreeSelect.d.ts +5 -5
- package/lib/tree-select/TreeSelect.js +1 -2
- package/lib/tree-select/index.d.ts +5 -5
- package/lib/uploader/Uploader.d.ts +5 -5
- package/lib/uploader/Uploader.js +7 -8
- package/lib/uploader/UploaderPreviewItem.d.ts +8 -7
- package/lib/uploader/UploaderPreviewItem.js +1 -2
- package/lib/uploader/index.d.ts +5 -5
- package/lib/uploader/utils.d.ts +1 -1
- package/lib/utils/basic.d.ts +2 -2
- package/lib/utils/create.d.ts +1 -1
- package/lib/utils/dom.d.ts +1 -1
- package/lib/utils/mount-component.d.ts +1 -1
- package/lib/vant.cjs.js +106 -120
- package/lib/vant.es.js +106 -120
- package/lib/vant.js +107 -121
- package/lib/vant.min.js +3 -3
- package/lib/watermark/Watermark.d.ts +4 -4
- package/lib/watermark/Watermark.js +8 -9
- package/lib/watermark/index.d.ts +4 -4
- package/lib/web-types.json +1 -1
- package/package.json +16 -16
package/lib/vant.cjs.js
CHANGED
@@ -1427,8 +1427,7 @@ var stdin_default$1K = vue.defineComponent({
|
|
1427
1427
|
};
|
1428
1428
|
let timer2;
|
1429
1429
|
const onOpened = () => {
|
1430
|
-
if (timer2)
|
1431
|
-
clearTimeout(timer2);
|
1430
|
+
if (timer2) clearTimeout(timer2);
|
1432
1431
|
timer2 = setTimeout(() => {
|
1433
1432
|
emit("opened");
|
1434
1433
|
});
|
@@ -1677,12 +1676,10 @@ function getColumnsType(columns, fields) {
|
|
1677
1676
|
function findIndexOfEnabledOption(options, index) {
|
1678
1677
|
index = clamp(index, 0, options.length);
|
1679
1678
|
for (let i = index; i < options.length; i++) {
|
1680
|
-
if (!options[i].disabled)
|
1681
|
-
return i;
|
1679
|
+
if (!options[i].disabled) return i;
|
1682
1680
|
}
|
1683
1681
|
for (let i = index - 1; i >= 0; i--) {
|
1684
|
-
if (!options[i].disabled)
|
1685
|
-
return i;
|
1682
|
+
if (!options[i].disabled) return i;
|
1686
1683
|
}
|
1687
1684
|
return 0;
|
1688
1685
|
}
|
@@ -1895,8 +1892,7 @@ var stdin_default$1I = vue.defineComponent({
|
|
1895
1892
|
const index = moving ? Math.floor(-currentOffset.value / props2.optionHeight) : props2.options.findIndex((option) => option[props2.fields.value] === props2.value);
|
1896
1893
|
const enabledIndex = findIndexOfEnabledOption(props2.options, index);
|
1897
1894
|
const offset = -enabledIndex * props2.optionHeight;
|
1898
|
-
if (moving && enabledIndex < index)
|
1899
|
-
stopMomentum();
|
1895
|
+
if (moving && enabledIndex < index) stopMomentum();
|
1900
1896
|
currentOffset.value = offset;
|
1901
1897
|
});
|
1902
1898
|
use.useEventListener("touchmove", onTouchMove, {
|
@@ -2420,8 +2416,7 @@ var stdin_default$1F = vue.defineComponent({
|
|
2420
2416
|
let touchStartTime;
|
2421
2417
|
const onTouchStart = (event) => {
|
2422
2418
|
if (!props2.touchable || // avoid resetting position on multi-finger touch
|
2423
|
-
event.touches.length > 1)
|
2424
|
-
return;
|
2419
|
+
event.touches.length > 1) return;
|
2425
2420
|
touch.start(event);
|
2426
2421
|
dragging = false;
|
2427
2422
|
touchStartTime = Date.now();
|
@@ -2725,8 +2720,7 @@ var stdin_default$1D = vue.defineComponent({
|
|
2725
2720
|
}
|
2726
2721
|
const title = titles[state.currentIndex].$el;
|
2727
2722
|
const to = title.offsetLeft - (nav.offsetWidth - title.offsetWidth) / 2;
|
2728
|
-
if (cancelScrollLeftToRaf)
|
2729
|
-
cancelScrollLeftToRaf();
|
2723
|
+
if (cancelScrollLeftToRaf) cancelScrollLeftToRaf();
|
2730
2724
|
cancelScrollLeftToRaf = scrollLeftTo(nav, to, immediate ? 0 : +props2.duration);
|
2731
2725
|
};
|
2732
2726
|
const setLine = () => {
|
@@ -2803,8 +2797,7 @@ var stdin_default$1D = vue.defineComponent({
|
|
2803
2797
|
if (target && scroller.value) {
|
2804
2798
|
const to = getElementTop(target, scroller.value) - scrollOffset.value;
|
2805
2799
|
lockScroll = true;
|
2806
|
-
if (cancelScrollTopToRaf)
|
2807
|
-
cancelScrollTopToRaf();
|
2800
|
+
if (cancelScrollTopToRaf) cancelScrollTopToRaf();
|
2808
2801
|
cancelScrollTopToRaf = scrollTopTo(scroller.value, to, immediate ? 0 : +props2.duration, () => {
|
2809
2802
|
lockScroll = false;
|
2810
2803
|
});
|
@@ -3063,7 +3056,8 @@ const TabTitle = vue.defineComponent({
|
|
3063
3056
|
"tabindex": props2.disabled ? void 0 : props2.isActive ? 0 : -1,
|
3064
3057
|
"aria-selected": props2.isActive,
|
3065
3058
|
"aria-disabled": props2.disabled || void 0,
|
3066
|
-
"aria-controls": props2.controls
|
3059
|
+
"aria-controls": props2.controls,
|
3060
|
+
"data-allow-mismatch": "attribute"
|
3067
3061
|
}, [renderText()]);
|
3068
3062
|
}
|
3069
3063
|
});
|
@@ -3256,7 +3250,8 @@ var stdin_default$1B = vue.defineComponent({
|
|
3256
3250
|
}),
|
3257
3251
|
"tabindex": active.value ? 0 : -1,
|
3258
3252
|
"aria-hidden": !active.value,
|
3259
|
-
"aria-labelledby": label
|
3253
|
+
"aria-labelledby": label,
|
3254
|
+
"data-allow-mismatch": "attribute"
|
3260
3255
|
}, {
|
3261
3256
|
default: () => {
|
3262
3257
|
var _a2;
|
@@ -3273,7 +3268,8 @@ var stdin_default$1B = vue.defineComponent({
|
|
3273
3268
|
"role": "tabpanel",
|
3274
3269
|
"class": bem$1m("panel"),
|
3275
3270
|
"tabindex": show ? 0 : -1,
|
3276
|
-
"aria-labelledby": label
|
3271
|
+
"aria-labelledby": label,
|
3272
|
+
"data-allow-mismatch": "attribute"
|
3277
3273
|
}, [Content]), [[vue.vShow, show]]);
|
3278
3274
|
};
|
3279
3275
|
}
|
@@ -4442,6 +4438,7 @@ var stdin_default$1v = vue.defineComponent({
|
|
4442
4438
|
enterkeyhint: props2.enterkeyhint,
|
4443
4439
|
spellcheck: props2.spellcheck,
|
4444
4440
|
"aria-labelledby": props2.label ? `${id}-label` : void 0,
|
4441
|
+
"data-allow-mismatch": "attribute",
|
4445
4442
|
onBlur,
|
4446
4443
|
onFocus,
|
4447
4444
|
onInput,
|
@@ -4516,6 +4513,7 @@ var stdin_default$1v = vue.defineComponent({
|
|
4516
4513
|
return vue.createVNode("label", {
|
4517
4514
|
"id": `${id}-label`,
|
4518
4515
|
"for": slots.input ? void 0 : getInputId(),
|
4516
|
+
"data-allow-mismatch": "attribute",
|
4519
4517
|
"onClick": (event) => {
|
4520
4518
|
preventDefault(event);
|
4521
4519
|
focus();
|
@@ -5722,12 +5720,10 @@ var stdin_default$1l = vue.defineComponent({
|
|
5722
5720
|
} else {
|
5723
5721
|
emit("update:modelValue", newValue);
|
5724
5722
|
}
|
5725
|
-
if (props2.indeterminate !== null)
|
5726
|
-
emit("change", newValue);
|
5723
|
+
if (props2.indeterminate !== null) emit("change", newValue);
|
5727
5724
|
};
|
5728
5725
|
vue.watch(() => props2.modelValue, (value) => {
|
5729
|
-
if (props2.indeterminate === null)
|
5730
|
-
emit("change", value);
|
5726
|
+
if (props2.indeterminate === null) emit("change", value);
|
5731
5727
|
});
|
5732
5728
|
useExpose({
|
5733
5729
|
toggle,
|
@@ -5943,15 +5939,12 @@ const modeType = {
|
|
5943
5939
|
observer: "observer"
|
5944
5940
|
};
|
5945
5941
|
function remove(arr, item) {
|
5946
|
-
if (!arr.length)
|
5947
|
-
return;
|
5942
|
+
if (!arr.length) return;
|
5948
5943
|
const index = arr.indexOf(item);
|
5949
|
-
if (index > -1)
|
5950
|
-
return arr.splice(index, 1);
|
5944
|
+
if (index > -1) return arr.splice(index, 1);
|
5951
5945
|
}
|
5952
5946
|
function getBestSelectionFromSrcset(el, scale) {
|
5953
|
-
if (el.tagName !== "IMG" || !el.getAttribute("data-srcset"))
|
5954
|
-
return;
|
5947
|
+
if (el.tagName !== "IMG" || !el.getAttribute("data-srcset")) return;
|
5955
5948
|
let options = el.getAttribute("data-srcset");
|
5956
5949
|
const container = el.parentNode;
|
5957
5950
|
const containerWidth = container.offsetWidth * scale;
|
@@ -6009,8 +6002,7 @@ function getBestSelectionFromSrcset(el, scale) {
|
|
6009
6002
|
}
|
6010
6003
|
const getDPR = (scale = 1) => use.inBrowser ? window.devicePixelRatio || scale : scale;
|
6011
6004
|
function supportWebp() {
|
6012
|
-
if (!use.inBrowser)
|
6013
|
-
return false;
|
6005
|
+
if (!use.inBrowser) return false;
|
6014
6006
|
let support = true;
|
6015
6007
|
try {
|
6016
6008
|
const elem = document.createElement("canvas");
|
@@ -6078,8 +6070,7 @@ class ImageCache {
|
|
6078
6070
|
return this.caches.indexOf(key) > -1;
|
6079
6071
|
}
|
6080
6072
|
add(key) {
|
6081
|
-
if (this.has(key))
|
6082
|
-
return;
|
6073
|
+
if (this.has(key)) return;
|
6083
6074
|
this.caches.push(key);
|
6084
6075
|
if (this.caches.length > this.options.max) {
|
6085
6076
|
this.free();
|
@@ -7788,8 +7779,7 @@ var stdin_default$1a = vue.defineComponent({
|
|
7788
7779
|
updateTabs();
|
7789
7780
|
vue.watch(activeTab, (value) => {
|
7790
7781
|
const el = selectedElementRefs.value[value];
|
7791
|
-
if (el)
|
7792
|
-
scrollIntoView(el);
|
7782
|
+
if (el) scrollIntoView(el);
|
7793
7783
|
});
|
7794
7784
|
vue.watch(() => props2.options, updateTabs, {
|
7795
7785
|
deep: true
|
@@ -8073,8 +8063,7 @@ var stdin_default$17 = vue.defineComponent({
|
|
8073
8063
|
return spaces2;
|
8074
8064
|
}
|
8075
8065
|
groups.value.forEach((group, index) => {
|
8076
|
-
if (index === groups.value.length - 1)
|
8077
|
-
return;
|
8066
|
+
if (index === groups.value.length - 1) return;
|
8078
8067
|
group.forEach(() => {
|
8079
8068
|
spaces2.push({
|
8080
8069
|
bottom
|
@@ -8891,22 +8880,26 @@ var stdin_default$Z = vue.defineComponent({
|
|
8891
8880
|
"fx": "50%",
|
8892
8881
|
"fy": "54%",
|
8893
8882
|
"r": "297%",
|
8894
|
-
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)"
|
8883
|
+
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)",
|
8884
|
+
"data-allow-mismatch": "attribute"
|
8895
8885
|
}, [renderStop("#EBEDF0", 0), renderStop("#F2F3F5", 100, 0.3)])]), vue.createVNode("ellipse", {
|
8896
8886
|
"fill": getUrlById(id),
|
8897
8887
|
"opacity": ".8",
|
8898
8888
|
"cx": "80",
|
8899
8889
|
"cy": "140",
|
8900
8890
|
"rx": "46",
|
8901
|
-
"ry": "8"
|
8891
|
+
"ry": "8",
|
8892
|
+
"data-allow-mismatch": "attribute"
|
8902
8893
|
}, null)];
|
8903
8894
|
const renderBuilding = () => [vue.createVNode("defs", null, [vue.createVNode("linearGradient", {
|
8904
8895
|
"id": getId("a"),
|
8905
8896
|
"x1": "64%",
|
8906
8897
|
"y1": "100%",
|
8907
|
-
"x2": "64%"
|
8898
|
+
"x2": "64%",
|
8899
|
+
"data-allow-mismatch": "attribute"
|
8908
8900
|
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)])]), vue.createVNode("g", {
|
8909
|
-
"opacity": ".8"
|
8901
|
+
"opacity": ".8",
|
8902
|
+
"data-allow-mismatch": "children"
|
8910
8903
|
}, [vue.createVNode("path", {
|
8911
8904
|
"d": "M36 131V53H16v20H2v58h34z",
|
8912
8905
|
"fill": getUrlById("a")
|
@@ -8919,9 +8912,11 @@ var stdin_default$Z = vue.defineComponent({
|
|
8919
8912
|
"x1": "64%",
|
8920
8913
|
"y1": "97%",
|
8921
8914
|
"x2": "64%",
|
8922
|
-
"y2": "0%"
|
8915
|
+
"y2": "0%",
|
8916
|
+
"data-allow-mismatch": "attribute"
|
8923
8917
|
}, [renderStop("#F2F3F5", 0, 0.3), renderStop("#F2F3F5", 100)])]), vue.createVNode("g", {
|
8924
|
-
"opacity": ".8"
|
8918
|
+
"opacity": ".8",
|
8919
|
+
"data-allow-mismatch": "children"
|
8925
8920
|
}, [vue.createVNode("path", {
|
8926
8921
|
"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",
|
8927
8922
|
"fill": getUrlById("b")
|
@@ -8931,7 +8926,9 @@ var stdin_default$Z = vue.defineComponent({
|
|
8931
8926
|
}, null)])];
|
8932
8927
|
const renderNetwork = () => vue.createVNode("svg", {
|
8933
8928
|
"viewBox": "0 0 160 160"
|
8934
|
-
}, [vue.createVNode("defs",
|
8929
|
+
}, [vue.createVNode("defs", {
|
8930
|
+
"data-allow-mismatch": "children"
|
8931
|
+
}, [vue.createVNode("linearGradient", {
|
8935
8932
|
"id": getId(1),
|
8936
8933
|
"x1": "64%",
|
8937
8934
|
"y1": "100%",
|
@@ -8958,14 +8955,17 @@ var stdin_default$Z = vue.defineComponent({
|
|
8958
8955
|
"fill": "none"
|
8959
8956
|
}, [renderBuilding(), vue.createVNode("path", {
|
8960
8957
|
"fill": getUrlById(4),
|
8961
|
-
"d": "M0 139h160v21H0z"
|
8958
|
+
"d": "M0 139h160v21H0z",
|
8959
|
+
"data-allow-mismatch": "attribute"
|
8962
8960
|
}, null), vue.createVNode("path", {
|
8963
8961
|
"d": "M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",
|
8964
|
-
"fill": getUrlById(2)
|
8962
|
+
"fill": getUrlById(2),
|
8963
|
+
"data-allow-mismatch": "attribute"
|
8965
8964
|
}, null), vue.createVNode("g", {
|
8966
8965
|
"opacity": ".6",
|
8967
8966
|
"stroke-linecap": "round",
|
8968
|
-
"stroke-width": "7"
|
8967
|
+
"stroke-width": "7",
|
8968
|
+
"data-allow-mismatch": "children"
|
8969
8969
|
}, [vue.createVNode("path", {
|
8970
8970
|
"d": "M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",
|
8971
8971
|
"stroke": getUrlById(3)
|
@@ -9002,7 +9002,9 @@ var stdin_default$Z = vue.defineComponent({
|
|
9002
9002
|
}, null)])])]);
|
9003
9003
|
const renderMaterial = () => vue.createVNode("svg", {
|
9004
9004
|
"viewBox": "0 0 160 160"
|
9005
|
-
}, [vue.createVNode("defs",
|
9005
|
+
}, [vue.createVNode("defs", {
|
9006
|
+
"data-allow-mismatch": "children"
|
9007
|
+
}, [vue.createVNode("linearGradient", {
|
9006
9008
|
"x1": "50%",
|
9007
9009
|
"x2": "50%",
|
9008
9010
|
"y2": "100%",
|
@@ -9035,7 +9037,8 @@ var stdin_default$Z = vue.defineComponent({
|
|
9035
9037
|
"fill": getUrlById(5),
|
9036
9038
|
"width": "64",
|
9037
9039
|
"height": "66",
|
9038
|
-
"rx": "2"
|
9040
|
+
"rx": "2",
|
9041
|
+
"data-allow-mismatch": "attribute"
|
9039
9042
|
}, null), vue.createVNode("rect", {
|
9040
9043
|
"fill": "#FFF",
|
9041
9044
|
"x": "6",
|
@@ -9045,7 +9048,8 @@ var stdin_default$Z = vue.defineComponent({
|
|
9045
9048
|
"rx": "1"
|
9046
9049
|
}, null), vue.createVNode("g", {
|
9047
9050
|
"transform": "translate(15 17)",
|
9048
|
-
"fill": getUrlById(6)
|
9051
|
+
"fill": getUrlById(6),
|
9052
|
+
"data-allow-mismatch": "attribute"
|
9049
9053
|
}, [vue.createVNode("rect", {
|
9050
9054
|
"width": "34",
|
9051
9055
|
"height": "6",
|
@@ -9062,7 +9066,8 @@ var stdin_default$Z = vue.defineComponent({
|
|
9062
9066
|
"y": "61",
|
9063
9067
|
"width": "88",
|
9064
9068
|
"height": "28",
|
9065
|
-
"rx": "1"
|
9069
|
+
"rx": "1",
|
9070
|
+
"data-allow-mismatch": "attribute"
|
9066
9071
|
}, null), vue.createVNode("rect", {
|
9067
9072
|
"fill": "#F7F8FA",
|
9068
9073
|
"x": "29",
|
@@ -9077,14 +9082,18 @@ var stdin_default$Z = vue.defineComponent({
|
|
9077
9082
|
"x1": "50%",
|
9078
9083
|
"x2": "50%",
|
9079
9084
|
"y2": "100%",
|
9080
|
-
"id": getId(8)
|
9085
|
+
"id": getId(8),
|
9086
|
+
"data-allow-mismatch": "attribute"
|
9081
9087
|
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), renderShadow("c"), vue.createVNode("path", {
|
9082
9088
|
"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",
|
9083
|
-
"fill": getUrlById(8)
|
9089
|
+
"fill": getUrlById(8),
|
9090
|
+
"data-allow-mismatch": "attribute"
|
9084
9091
|
}, null)]);
|
9085
9092
|
const renderSearch = () => vue.createVNode("svg", {
|
9086
9093
|
"viewBox": "0 0 160 160"
|
9087
|
-
}, [vue.createVNode("defs",
|
9094
|
+
}, [vue.createVNode("defs", {
|
9095
|
+
"data-allow-mismatch": "children"
|
9096
|
+
}, [vue.createVNode("linearGradient", {
|
9088
9097
|
"x1": "50%",
|
9089
9098
|
"y1": "100%",
|
9090
9099
|
"x2": "50%",
|
@@ -9106,7 +9115,8 @@ var stdin_default$Z = vue.defineComponent({
|
|
9106
9115
|
"id": getId(12)
|
9107
9116
|
}, [renderStops("#FFF", "#F7F8FA")])]), renderBuilding(), renderCloud(), renderShadow("d"), vue.createVNode("g", {
|
9108
9117
|
"transform": "rotate(-45 113 -4)",
|
9109
|
-
"fill": "none"
|
9118
|
+
"fill": "none",
|
9119
|
+
"data-allow-mismatch": "children"
|
9110
9120
|
}, [vue.createVNode("rect", {
|
9111
9121
|
"fill": getUrlById(9),
|
9112
9122
|
"x": "24",
|
@@ -9865,6 +9875,7 @@ var stdin_default$U = vue.defineComponent({
|
|
9865
9875
|
"id": `${id}-${index}`,
|
9866
9876
|
"role": "button",
|
9867
9877
|
"tabindex": disabled ? void 0 : 0,
|
9878
|
+
"data-allow-mismatch": "attribute",
|
9868
9879
|
"class": [bem$L("item", {
|
9869
9880
|
disabled,
|
9870
9881
|
grow: scrollable.value
|
@@ -10077,6 +10088,7 @@ var stdin_default$T = vue.defineComponent({
|
|
10077
10088
|
position: "absolute"
|
10078
10089
|
},
|
10079
10090
|
"aria-labelledby": `${parent.id}-${index.value}`,
|
10091
|
+
"data-allow-mismatch": "attribute",
|
10080
10092
|
"closeOnClickOverlay": closeOnClickOverlay,
|
10081
10093
|
"onOpen": onOpen,
|
10082
10094
|
"onClose": onClose,
|
@@ -10162,8 +10174,7 @@ var stdin_default$S = vue.defineComponent({
|
|
10162
10174
|
return style;
|
10163
10175
|
});
|
10164
10176
|
const updateState = () => {
|
10165
|
-
if (!show.value)
|
10166
|
-
return;
|
10177
|
+
if (!show.value) return;
|
10167
10178
|
const {
|
10168
10179
|
width,
|
10169
10180
|
height
|
@@ -10190,23 +10201,18 @@ var stdin_default$S = vue.defineComponent({
|
|
10190
10201
|
const onTouchMove = (e) => {
|
10191
10202
|
e.preventDefault();
|
10192
10203
|
touch.move(e);
|
10193
|
-
if (props2.axis === "lock")
|
10194
|
-
return;
|
10204
|
+
if (props2.axis === "lock") return;
|
10195
10205
|
if (!touch.isTap.value) {
|
10196
10206
|
if (props2.axis === "x" || props2.axis === "xy") {
|
10197
10207
|
let nextX = prevX + touch.deltaX.value;
|
10198
|
-
if (nextX < boundary.value.left)
|
10199
|
-
|
10200
|
-
if (nextX > boundary.value.right)
|
10201
|
-
nextX = boundary.value.right;
|
10208
|
+
if (nextX < boundary.value.left) nextX = boundary.value.left;
|
10209
|
+
if (nextX > boundary.value.right) nextX = boundary.value.right;
|
10202
10210
|
state.value.x = nextX;
|
10203
10211
|
}
|
10204
10212
|
if (props2.axis === "y" || props2.axis === "xy") {
|
10205
10213
|
let nextY = prevY + touch.deltaY.value;
|
10206
|
-
if (nextY < boundary.value.top)
|
10207
|
-
|
10208
|
-
if (nextY > boundary.value.bottom)
|
10209
|
-
nextY = boundary.value.bottom;
|
10214
|
+
if (nextY < boundary.value.top) nextY = boundary.value.top;
|
10215
|
+
if (nextY > boundary.value.bottom) nextY = boundary.value.bottom;
|
10210
10216
|
state.value.y = nextY;
|
10211
10217
|
}
|
10212
10218
|
const offset = pick(state.value, ["x", "y"]);
|
@@ -10237,10 +10243,8 @@ var stdin_default$S = vue.defineComponent({
|
|
10237
10243
|
});
|
10238
10244
|
};
|
10239
10245
|
const onClick = (e) => {
|
10240
|
-
if (touch.isTap.value)
|
10241
|
-
|
10242
|
-
else
|
10243
|
-
e.stopPropagation();
|
10246
|
+
if (touch.isTap.value) emit("click", e);
|
10247
|
+
else e.stopPropagation();
|
10244
10248
|
};
|
10245
10249
|
vue.onMounted(() => {
|
10246
10250
|
updateState();
|
@@ -10349,8 +10353,7 @@ var stdin_default$R = vue.defineComponent({
|
|
10349
10353
|
scrollTop
|
10350
10354
|
} = contentRef.value;
|
10351
10355
|
maxScroll = Math.max(maxScroll, scrollTop);
|
10352
|
-
if (!props2.contentDraggable)
|
10353
|
-
return;
|
10356
|
+
if (!props2.contentDraggable) return;
|
10354
10357
|
if (-startY < boundary.value.max) {
|
10355
10358
|
preventDefault(e, true);
|
10356
10359
|
} else if (!(scrollTop <= 0 && touch.deltaY.value > 0) || maxScroll > 0) {
|
@@ -10889,15 +10892,12 @@ var stdin_default$N = vue.defineComponent({
|
|
10889
10892
|
const checkClose = (event) => {
|
10890
10893
|
var _a;
|
10891
10894
|
const swipeItemEl = (_a = swipeItem.value) == null ? void 0 : _a.$el;
|
10892
|
-
if (!swipeItemEl)
|
10893
|
-
return;
|
10895
|
+
if (!swipeItemEl) return;
|
10894
10896
|
const imageEl = swipeItemEl.firstElementChild;
|
10895
10897
|
const isClickOverlay = event.target === swipeItemEl;
|
10896
10898
|
const isClickImage = imageEl == null ? void 0 : imageEl.contains(event.target);
|
10897
|
-
if (!props2.closeOnClickImage && isClickImage)
|
10898
|
-
|
10899
|
-
if (!props2.closeOnClickOverlay && isClickOverlay)
|
10900
|
-
return;
|
10899
|
+
if (!props2.closeOnClickImage && isClickImage) return;
|
10900
|
+
if (!props2.closeOnClickOverlay && isClickOverlay) return;
|
10901
10901
|
emit("close");
|
10902
10902
|
};
|
10903
10903
|
const checkTap = (event) => {
|
@@ -12217,7 +12217,12 @@ var stdin_default$E = vue.defineComponent({
|
|
12217
12217
|
extraKey
|
12218
12218
|
} = props2;
|
12219
12219
|
const extraKeys = Array.isArray(extraKey) ? extraKey : [extraKey];
|
12220
|
-
if (extraKeys.length ===
|
12220
|
+
if (extraKeys.length === 0) {
|
12221
|
+
keys2.push({
|
12222
|
+
text: 0,
|
12223
|
+
wider: true
|
12224
|
+
});
|
12225
|
+
} else if (extraKeys.length === 1) {
|
12221
12226
|
keys2.push({
|
12222
12227
|
text: 0,
|
12223
12228
|
wider: true
|
@@ -13143,8 +13148,7 @@ var stdin_default$y = vue.defineComponent({
|
|
13143
13148
|
return props2.allowHalf ? 0.5 : 1;
|
13144
13149
|
};
|
13145
13150
|
const select = (value) => {
|
13146
|
-
if (unselectable.value || value === props2.modelValue)
|
13147
|
-
return;
|
13151
|
+
if (unselectable.value || value === props2.modelValue) return;
|
13148
13152
|
emit("update:modelValue", value);
|
13149
13153
|
emit("change", value);
|
13150
13154
|
};
|
@@ -13312,8 +13316,7 @@ var stdin_default$w = vue.defineComponent({
|
|
13312
13316
|
setup(props2) {
|
13313
13317
|
const isCustomType = vue.computed(() => Array.isArray(props2.textList) && props2.textList.length);
|
13314
13318
|
const itemLength = vue.computed(() => {
|
13315
|
-
if (isCustomType.value)
|
13316
|
-
return props2.textList[0].length;
|
13319
|
+
if (isCustomType.value) return props2.textList[0].length;
|
13317
13320
|
return `${Math.max(props2.startNum, props2.targetNum)}`.length;
|
13318
13321
|
});
|
13319
13322
|
const getTextArrByIdx = (idx) => {
|
@@ -13324,8 +13327,7 @@ var stdin_default$w = vue.defineComponent({
|
|
13324
13327
|
return result;
|
13325
13328
|
};
|
13326
13329
|
const targetNumArr = vue.computed(() => {
|
13327
|
-
if (isCustomType.value)
|
13328
|
-
return new Array(itemLength.value).fill("");
|
13330
|
+
if (isCustomType.value) return new Array(itemLength.value).fill("");
|
13329
13331
|
return padZero(props2.targetNum, itemLength.value).split("");
|
13330
13332
|
});
|
13331
13333
|
const startNumArr = vue.computed(() => padZero(props2.startNum, itemLength.value).split(""));
|
@@ -13347,8 +13349,7 @@ var stdin_default$w = vue.defineComponent({
|
|
13347
13349
|
return result;
|
13348
13350
|
};
|
13349
13351
|
const getDelay = (i, len) => {
|
13350
|
-
if (props2.stopOrder === "ltr")
|
13351
|
-
return 0.2 * i;
|
13352
|
+
if (props2.stopOrder === "ltr") return 0.2 * i;
|
13352
13353
|
return 0.2 * (len - 1 - i);
|
13353
13354
|
};
|
13354
13355
|
const rolling = vue.ref(props2.autoStart);
|
@@ -13423,7 +13424,8 @@ var stdin_default$v = vue.defineComponent({
|
|
13423
13424
|
if (slots.label || props2.label) {
|
13424
13425
|
return vue.createVNode("label", {
|
13425
13426
|
"class": bem$m("label"),
|
13426
|
-
"for": getInputId()
|
13427
|
+
"for": getInputId(),
|
13428
|
+
"data-allow-mismatch": "attribute"
|
13427
13429
|
}, [slots.label ? slots.label() : props2.label]);
|
13428
13430
|
}
|
13429
13431
|
};
|
@@ -13735,8 +13737,7 @@ var stdin_default$r = vue.defineComponent({
|
|
13735
13737
|
const canvasRef = vue.ref();
|
13736
13738
|
const wrapRef = vue.ref();
|
13737
13739
|
const ctx = vue.computed(() => {
|
13738
|
-
if (!canvasRef.value)
|
13739
|
-
return null;
|
13740
|
+
if (!canvasRef.value) return null;
|
13740
13741
|
return canvasRef.value.getContext("2d");
|
13741
13742
|
});
|
13742
13743
|
const isRenderCanvas = inBrowser ? hasCanvasSupport() : true;
|
@@ -14982,8 +14983,7 @@ var stdin_default$c = vue.defineComponent({
|
|
14982
14983
|
}
|
14983
14984
|
};
|
14984
14985
|
const onClick = (position = "outside", event) => {
|
14985
|
-
if (isInBeforeClosing)
|
14986
|
-
return;
|
14986
|
+
if (isInBeforeClosing) return;
|
14987
14987
|
emit("click", position);
|
14988
14988
|
if (opened && !lockClick2) {
|
14989
14989
|
isInBeforeClosing = true;
|
@@ -15263,14 +15263,12 @@ var stdin_default$9 = vue.defineComponent({
|
|
15263
15263
|
let needRecalculate = false;
|
15264
15264
|
const actionText = vue.computed(() => expanded.value ? props2.collapseText : props2.expandText);
|
15265
15265
|
const pxToNum = (value) => {
|
15266
|
-
if (!value)
|
15267
|
-
return 0;
|
15266
|
+
if (!value) return 0;
|
15268
15267
|
const match = value.match(/^\d*(\.\d*)?/);
|
15269
15268
|
return match ? Number(match[0]) : 0;
|
15270
15269
|
};
|
15271
15270
|
const cloneContainer = () => {
|
15272
|
-
if (!root.value || !root.value.isConnected)
|
15273
|
-
return;
|
15271
|
+
if (!root.value || !root.value.isConnected) return;
|
15274
15272
|
const originStyle = window.getComputedStyle(root.value);
|
15275
15273
|
const container = document.createElement("div");
|
15276
15274
|
const styleNames = Array.prototype.slice.apply(originStyle);
|
@@ -16327,8 +16325,7 @@ class ReactiveListener {
|
|
16327
16325
|
onFinish();
|
16328
16326
|
return;
|
16329
16327
|
}
|
16330
|
-
if (this.state.rendered && this.state.loaded)
|
16331
|
-
return;
|
16328
|
+
if (this.state.rendered && this.state.loaded) return;
|
16332
16329
|
if (this.imageCache.has(this.src)) {
|
16333
16330
|
this.state.loaded = true;
|
16334
16331
|
this.render("loaded", true);
|
@@ -16385,8 +16382,7 @@ class ReactiveListener {
|
|
16385
16382
|
state = "loaded";
|
16386
16383
|
time = (this.performanceData.loadEnd - this.performanceData.loadStart) / 1e3;
|
16387
16384
|
}
|
16388
|
-
if (this.state.error)
|
16389
|
-
state = "error";
|
16385
|
+
if (this.state.error) state = "error";
|
16390
16386
|
return {
|
16391
16387
|
src: this.src,
|
16392
16388
|
state,
|
@@ -16577,8 +16573,7 @@ function stdin_default$3() {
|
|
16577
16573
|
* @return
|
16578
16574
|
*/
|
16579
16575
|
remove(el) {
|
16580
|
-
if (!el)
|
16581
|
-
return;
|
16576
|
+
if (!el) return;
|
16582
16577
|
this.observer && this.observer.unobserve(el);
|
16583
16578
|
const existItem = this.listeners.find((item) => item.el === el);
|
16584
16579
|
if (existItem) {
|
@@ -16594,8 +16589,7 @@ function stdin_default$3() {
|
|
16594
16589
|
* @return
|
16595
16590
|
*/
|
16596
16591
|
removeComponent(vm) {
|
16597
|
-
if (!vm)
|
16598
|
-
return;
|
16592
|
+
if (!vm) return;
|
16599
16593
|
remove(this.listeners, vm);
|
16600
16594
|
this.observer && this.observer.unobserve(vm.el);
|
16601
16595
|
if (vm.$parent && vm.$el.parentNode) {
|
@@ -16634,8 +16628,7 @@ function stdin_default$3() {
|
|
16634
16628
|
* @return
|
16635
16629
|
*/
|
16636
16630
|
addListenerTarget(el) {
|
16637
|
-
if (!el)
|
16638
|
-
return;
|
16631
|
+
if (!el) return;
|
16639
16632
|
let target = this.targets.find((target2) => target2.el === el);
|
16640
16633
|
if (!target) {
|
16641
16634
|
target = {
|
@@ -16688,8 +16681,7 @@ function stdin_default$3() {
|
|
16688
16681
|
}
|
16689
16682
|
};
|
16690
16683
|
this.$on = (event, func) => {
|
16691
|
-
if (!this.Event.listeners[event])
|
16692
|
-
this.Event.listeners[event] = [];
|
16684
|
+
if (!this.Event.listeners[event]) this.Event.listeners[event] = [];
|
16693
16685
|
this.Event.listeners[event].push(func);
|
16694
16686
|
};
|
16695
16687
|
this.$once = (event, func) => {
|
@@ -16701,16 +16693,14 @@ function stdin_default$3() {
|
|
16701
16693
|
};
|
16702
16694
|
this.$off = (event, func) => {
|
16703
16695
|
if (!func) {
|
16704
|
-
if (!this.Event.listeners[event])
|
16705
|
-
return;
|
16696
|
+
if (!this.Event.listeners[event]) return;
|
16706
16697
|
this.Event.listeners[event].length = 0;
|
16707
16698
|
return;
|
16708
16699
|
}
|
16709
16700
|
remove(this.Event.listeners[event], func);
|
16710
16701
|
};
|
16711
16702
|
this.$emit = (event, context, inCache) => {
|
16712
|
-
if (!this.Event.listeners[event])
|
16713
|
-
return;
|
16703
|
+
if (!this.Event.listeners[event]) return;
|
16714
16704
|
this.Event.listeners[event].forEach((func) => func(context, inCache));
|
16715
16705
|
};
|
16716
16706
|
}
|
@@ -16725,8 +16715,7 @@ function stdin_default$3() {
|
|
16725
16715
|
freeList.push(listener);
|
16726
16716
|
}
|
16727
16717
|
const catIn = listener.checkInView();
|
16728
|
-
if (!catIn)
|
16729
|
-
return;
|
16718
|
+
if (!catIn) return;
|
16730
16719
|
listener.load();
|
16731
16720
|
});
|
16732
16721
|
freeList.forEach((item) => {
|
@@ -16778,8 +16767,7 @@ function stdin_default$3() {
|
|
16778
16767
|
* @return
|
16779
16768
|
*/
|
16780
16769
|
elRenderer(listener, state, cache) {
|
16781
|
-
if (!listener.el)
|
16782
|
-
return;
|
16770
|
+
if (!listener.el) return;
|
16783
16771
|
const { el, bindType } = listener;
|
16784
16772
|
let src;
|
16785
16773
|
switch (state) {
|
@@ -16936,14 +16924,12 @@ class LazyContainerManager {
|
|
16936
16924
|
}
|
16937
16925
|
update(el, binding, vnode) {
|
16938
16926
|
const container = this.queue.find((item) => item.el === el);
|
16939
|
-
if (!container)
|
16940
|
-
return;
|
16927
|
+
if (!container) return;
|
16941
16928
|
container.update({ el, binding, vnode });
|
16942
16929
|
}
|
16943
16930
|
unbind(el) {
|
16944
16931
|
const container = this.queue.find((item) => item.el === el);
|
16945
|
-
if (!container)
|
16946
|
-
return;
|
16932
|
+
if (!container) return;
|
16947
16933
|
container.clear();
|
16948
16934
|
remove(this.queue, container);
|
16949
16935
|
}
|
@@ -17069,7 +17055,7 @@ const Lazyload = {
|
|
17069
17055
|
});
|
17070
17056
|
}
|
17071
17057
|
};
|
17072
|
-
const version = "4.9.
|
17058
|
+
const version = "4.9.7";
|
17073
17059
|
function install(app) {
|
17074
17060
|
const components = [
|
17075
17061
|
ActionBar,
|