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.es.js
CHANGED
@@ -1425,8 +1425,7 @@ var stdin_default$1K = defineComponent({
|
|
1425
1425
|
};
|
1426
1426
|
let timer2;
|
1427
1427
|
const onOpened = () => {
|
1428
|
-
if (timer2)
|
1429
|
-
clearTimeout(timer2);
|
1428
|
+
if (timer2) clearTimeout(timer2);
|
1430
1429
|
timer2 = setTimeout(() => {
|
1431
1430
|
emit("opened");
|
1432
1431
|
});
|
@@ -1675,12 +1674,10 @@ function getColumnsType(columns, fields) {
|
|
1675
1674
|
function findIndexOfEnabledOption(options, index) {
|
1676
1675
|
index = clamp(index, 0, options.length);
|
1677
1676
|
for (let i = index; i < options.length; i++) {
|
1678
|
-
if (!options[i].disabled)
|
1679
|
-
return i;
|
1677
|
+
if (!options[i].disabled) return i;
|
1680
1678
|
}
|
1681
1679
|
for (let i = index - 1; i >= 0; i--) {
|
1682
|
-
if (!options[i].disabled)
|
1683
|
-
return i;
|
1680
|
+
if (!options[i].disabled) return i;
|
1684
1681
|
}
|
1685
1682
|
return 0;
|
1686
1683
|
}
|
@@ -1893,8 +1890,7 @@ var stdin_default$1I = defineComponent({
|
|
1893
1890
|
const index = moving ? Math.floor(-currentOffset.value / props2.optionHeight) : props2.options.findIndex((option) => option[props2.fields.value] === props2.value);
|
1894
1891
|
const enabledIndex = findIndexOfEnabledOption(props2.options, index);
|
1895
1892
|
const offset = -enabledIndex * props2.optionHeight;
|
1896
|
-
if (moving && enabledIndex < index)
|
1897
|
-
stopMomentum();
|
1893
|
+
if (moving && enabledIndex < index) stopMomentum();
|
1898
1894
|
currentOffset.value = offset;
|
1899
1895
|
});
|
1900
1896
|
useEventListener("touchmove", onTouchMove, {
|
@@ -2418,8 +2414,7 @@ var stdin_default$1F = defineComponent({
|
|
2418
2414
|
let touchStartTime;
|
2419
2415
|
const onTouchStart = (event) => {
|
2420
2416
|
if (!props2.touchable || // avoid resetting position on multi-finger touch
|
2421
|
-
event.touches.length > 1)
|
2422
|
-
return;
|
2417
|
+
event.touches.length > 1) return;
|
2423
2418
|
touch.start(event);
|
2424
2419
|
dragging = false;
|
2425
2420
|
touchStartTime = Date.now();
|
@@ -2723,8 +2718,7 @@ var stdin_default$1D = defineComponent({
|
|
2723
2718
|
}
|
2724
2719
|
const title = titles[state.currentIndex].$el;
|
2725
2720
|
const to = title.offsetLeft - (nav.offsetWidth - title.offsetWidth) / 2;
|
2726
|
-
if (cancelScrollLeftToRaf)
|
2727
|
-
cancelScrollLeftToRaf();
|
2721
|
+
if (cancelScrollLeftToRaf) cancelScrollLeftToRaf();
|
2728
2722
|
cancelScrollLeftToRaf = scrollLeftTo(nav, to, immediate ? 0 : +props2.duration);
|
2729
2723
|
};
|
2730
2724
|
const setLine = () => {
|
@@ -2801,8 +2795,7 @@ var stdin_default$1D = defineComponent({
|
|
2801
2795
|
if (target && scroller.value) {
|
2802
2796
|
const to = getElementTop(target, scroller.value) - scrollOffset.value;
|
2803
2797
|
lockScroll = true;
|
2804
|
-
if (cancelScrollTopToRaf)
|
2805
|
-
cancelScrollTopToRaf();
|
2798
|
+
if (cancelScrollTopToRaf) cancelScrollTopToRaf();
|
2806
2799
|
cancelScrollTopToRaf = scrollTopTo(scroller.value, to, immediate ? 0 : +props2.duration, () => {
|
2807
2800
|
lockScroll = false;
|
2808
2801
|
});
|
@@ -3061,7 +3054,8 @@ const TabTitle = defineComponent({
|
|
3061
3054
|
"tabindex": props2.disabled ? void 0 : props2.isActive ? 0 : -1,
|
3062
3055
|
"aria-selected": props2.isActive,
|
3063
3056
|
"aria-disabled": props2.disabled || void 0,
|
3064
|
-
"aria-controls": props2.controls
|
3057
|
+
"aria-controls": props2.controls,
|
3058
|
+
"data-allow-mismatch": "attribute"
|
3065
3059
|
}, [renderText()]);
|
3066
3060
|
}
|
3067
3061
|
});
|
@@ -3254,7 +3248,8 @@ var stdin_default$1B = defineComponent({
|
|
3254
3248
|
}),
|
3255
3249
|
"tabindex": active.value ? 0 : -1,
|
3256
3250
|
"aria-hidden": !active.value,
|
3257
|
-
"aria-labelledby": label
|
3251
|
+
"aria-labelledby": label,
|
3252
|
+
"data-allow-mismatch": "attribute"
|
3258
3253
|
}, {
|
3259
3254
|
default: () => {
|
3260
3255
|
var _a2;
|
@@ -3271,7 +3266,8 @@ var stdin_default$1B = defineComponent({
|
|
3271
3266
|
"role": "tabpanel",
|
3272
3267
|
"class": bem$1m("panel"),
|
3273
3268
|
"tabindex": show ? 0 : -1,
|
3274
|
-
"aria-labelledby": label
|
3269
|
+
"aria-labelledby": label,
|
3270
|
+
"data-allow-mismatch": "attribute"
|
3275
3271
|
}, [Content]), [[vShow, show]]);
|
3276
3272
|
};
|
3277
3273
|
}
|
@@ -4440,6 +4436,7 @@ var stdin_default$1v = defineComponent({
|
|
4440
4436
|
enterkeyhint: props2.enterkeyhint,
|
4441
4437
|
spellcheck: props2.spellcheck,
|
4442
4438
|
"aria-labelledby": props2.label ? `${id}-label` : void 0,
|
4439
|
+
"data-allow-mismatch": "attribute",
|
4443
4440
|
onBlur,
|
4444
4441
|
onFocus,
|
4445
4442
|
onInput,
|
@@ -4514,6 +4511,7 @@ var stdin_default$1v = defineComponent({
|
|
4514
4511
|
return createVNode("label", {
|
4515
4512
|
"id": `${id}-label`,
|
4516
4513
|
"for": slots.input ? void 0 : getInputId(),
|
4514
|
+
"data-allow-mismatch": "attribute",
|
4517
4515
|
"onClick": (event) => {
|
4518
4516
|
preventDefault(event);
|
4519
4517
|
focus();
|
@@ -5720,12 +5718,10 @@ var stdin_default$1l = defineComponent({
|
|
5720
5718
|
} else {
|
5721
5719
|
emit("update:modelValue", newValue);
|
5722
5720
|
}
|
5723
|
-
if (props2.indeterminate !== null)
|
5724
|
-
emit("change", newValue);
|
5721
|
+
if (props2.indeterminate !== null) emit("change", newValue);
|
5725
5722
|
};
|
5726
5723
|
watch(() => props2.modelValue, (value) => {
|
5727
|
-
if (props2.indeterminate === null)
|
5728
|
-
emit("change", value);
|
5724
|
+
if (props2.indeterminate === null) emit("change", value);
|
5729
5725
|
});
|
5730
5726
|
useExpose({
|
5731
5727
|
toggle,
|
@@ -5941,15 +5937,12 @@ const modeType = {
|
|
5941
5937
|
observer: "observer"
|
5942
5938
|
};
|
5943
5939
|
function remove(arr, item) {
|
5944
|
-
if (!arr.length)
|
5945
|
-
return;
|
5940
|
+
if (!arr.length) return;
|
5946
5941
|
const index = arr.indexOf(item);
|
5947
|
-
if (index > -1)
|
5948
|
-
return arr.splice(index, 1);
|
5942
|
+
if (index > -1) return arr.splice(index, 1);
|
5949
5943
|
}
|
5950
5944
|
function getBestSelectionFromSrcset(el, scale) {
|
5951
|
-
if (el.tagName !== "IMG" || !el.getAttribute("data-srcset"))
|
5952
|
-
return;
|
5945
|
+
if (el.tagName !== "IMG" || !el.getAttribute("data-srcset")) return;
|
5953
5946
|
let options = el.getAttribute("data-srcset");
|
5954
5947
|
const container = el.parentNode;
|
5955
5948
|
const containerWidth = container.offsetWidth * scale;
|
@@ -6007,8 +6000,7 @@ function getBestSelectionFromSrcset(el, scale) {
|
|
6007
6000
|
}
|
6008
6001
|
const getDPR = (scale = 1) => inBrowser$1 ? window.devicePixelRatio || scale : scale;
|
6009
6002
|
function supportWebp() {
|
6010
|
-
if (!inBrowser$1)
|
6011
|
-
return false;
|
6003
|
+
if (!inBrowser$1) return false;
|
6012
6004
|
let support = true;
|
6013
6005
|
try {
|
6014
6006
|
const elem = document.createElement("canvas");
|
@@ -6076,8 +6068,7 @@ class ImageCache {
|
|
6076
6068
|
return this.caches.indexOf(key) > -1;
|
6077
6069
|
}
|
6078
6070
|
add(key) {
|
6079
|
-
if (this.has(key))
|
6080
|
-
return;
|
6071
|
+
if (this.has(key)) return;
|
6081
6072
|
this.caches.push(key);
|
6082
6073
|
if (this.caches.length > this.options.max) {
|
6083
6074
|
this.free();
|
@@ -7786,8 +7777,7 @@ var stdin_default$1a = defineComponent({
|
|
7786
7777
|
updateTabs();
|
7787
7778
|
watch(activeTab, (value) => {
|
7788
7779
|
const el = selectedElementRefs.value[value];
|
7789
|
-
if (el)
|
7790
|
-
scrollIntoView(el);
|
7780
|
+
if (el) scrollIntoView(el);
|
7791
7781
|
});
|
7792
7782
|
watch(() => props2.options, updateTabs, {
|
7793
7783
|
deep: true
|
@@ -8071,8 +8061,7 @@ var stdin_default$17 = defineComponent({
|
|
8071
8061
|
return spaces2;
|
8072
8062
|
}
|
8073
8063
|
groups.value.forEach((group, index) => {
|
8074
|
-
if (index === groups.value.length - 1)
|
8075
|
-
return;
|
8064
|
+
if (index === groups.value.length - 1) return;
|
8076
8065
|
group.forEach(() => {
|
8077
8066
|
spaces2.push({
|
8078
8067
|
bottom
|
@@ -8889,22 +8878,26 @@ var stdin_default$Z = defineComponent({
|
|
8889
8878
|
"fx": "50%",
|
8890
8879
|
"fy": "54%",
|
8891
8880
|
"r": "297%",
|
8892
|
-
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)"
|
8881
|
+
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)",
|
8882
|
+
"data-allow-mismatch": "attribute"
|
8893
8883
|
}, [renderStop("#EBEDF0", 0), renderStop("#F2F3F5", 100, 0.3)])]), createVNode("ellipse", {
|
8894
8884
|
"fill": getUrlById(id),
|
8895
8885
|
"opacity": ".8",
|
8896
8886
|
"cx": "80",
|
8897
8887
|
"cy": "140",
|
8898
8888
|
"rx": "46",
|
8899
|
-
"ry": "8"
|
8889
|
+
"ry": "8",
|
8890
|
+
"data-allow-mismatch": "attribute"
|
8900
8891
|
}, null)];
|
8901
8892
|
const renderBuilding = () => [createVNode("defs", null, [createVNode("linearGradient", {
|
8902
8893
|
"id": getId("a"),
|
8903
8894
|
"x1": "64%",
|
8904
8895
|
"y1": "100%",
|
8905
|
-
"x2": "64%"
|
8896
|
+
"x2": "64%",
|
8897
|
+
"data-allow-mismatch": "attribute"
|
8906
8898
|
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)])]), createVNode("g", {
|
8907
|
-
"opacity": ".8"
|
8899
|
+
"opacity": ".8",
|
8900
|
+
"data-allow-mismatch": "children"
|
8908
8901
|
}, [createVNode("path", {
|
8909
8902
|
"d": "M36 131V53H16v20H2v58h34z",
|
8910
8903
|
"fill": getUrlById("a")
|
@@ -8917,9 +8910,11 @@ var stdin_default$Z = defineComponent({
|
|
8917
8910
|
"x1": "64%",
|
8918
8911
|
"y1": "97%",
|
8919
8912
|
"x2": "64%",
|
8920
|
-
"y2": "0%"
|
8913
|
+
"y2": "0%",
|
8914
|
+
"data-allow-mismatch": "attribute"
|
8921
8915
|
}, [renderStop("#F2F3F5", 0, 0.3), renderStop("#F2F3F5", 100)])]), createVNode("g", {
|
8922
|
-
"opacity": ".8"
|
8916
|
+
"opacity": ".8",
|
8917
|
+
"data-allow-mismatch": "children"
|
8923
8918
|
}, [createVNode("path", {
|
8924
8919
|
"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",
|
8925
8920
|
"fill": getUrlById("b")
|
@@ -8929,7 +8924,9 @@ var stdin_default$Z = defineComponent({
|
|
8929
8924
|
}, null)])];
|
8930
8925
|
const renderNetwork = () => createVNode("svg", {
|
8931
8926
|
"viewBox": "0 0 160 160"
|
8932
|
-
}, [createVNode("defs",
|
8927
|
+
}, [createVNode("defs", {
|
8928
|
+
"data-allow-mismatch": "children"
|
8929
|
+
}, [createVNode("linearGradient", {
|
8933
8930
|
"id": getId(1),
|
8934
8931
|
"x1": "64%",
|
8935
8932
|
"y1": "100%",
|
@@ -8956,14 +8953,17 @@ var stdin_default$Z = defineComponent({
|
|
8956
8953
|
"fill": "none"
|
8957
8954
|
}, [renderBuilding(), createVNode("path", {
|
8958
8955
|
"fill": getUrlById(4),
|
8959
|
-
"d": "M0 139h160v21H0z"
|
8956
|
+
"d": "M0 139h160v21H0z",
|
8957
|
+
"data-allow-mismatch": "attribute"
|
8960
8958
|
}, null), createVNode("path", {
|
8961
8959
|
"d": "M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",
|
8962
|
-
"fill": getUrlById(2)
|
8960
|
+
"fill": getUrlById(2),
|
8961
|
+
"data-allow-mismatch": "attribute"
|
8963
8962
|
}, null), createVNode("g", {
|
8964
8963
|
"opacity": ".6",
|
8965
8964
|
"stroke-linecap": "round",
|
8966
|
-
"stroke-width": "7"
|
8965
|
+
"stroke-width": "7",
|
8966
|
+
"data-allow-mismatch": "children"
|
8967
8967
|
}, [createVNode("path", {
|
8968
8968
|
"d": "M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",
|
8969
8969
|
"stroke": getUrlById(3)
|
@@ -9000,7 +9000,9 @@ var stdin_default$Z = defineComponent({
|
|
9000
9000
|
}, null)])])]);
|
9001
9001
|
const renderMaterial = () => createVNode("svg", {
|
9002
9002
|
"viewBox": "0 0 160 160"
|
9003
|
-
}, [createVNode("defs",
|
9003
|
+
}, [createVNode("defs", {
|
9004
|
+
"data-allow-mismatch": "children"
|
9005
|
+
}, [createVNode("linearGradient", {
|
9004
9006
|
"x1": "50%",
|
9005
9007
|
"x2": "50%",
|
9006
9008
|
"y2": "100%",
|
@@ -9033,7 +9035,8 @@ var stdin_default$Z = defineComponent({
|
|
9033
9035
|
"fill": getUrlById(5),
|
9034
9036
|
"width": "64",
|
9035
9037
|
"height": "66",
|
9036
|
-
"rx": "2"
|
9038
|
+
"rx": "2",
|
9039
|
+
"data-allow-mismatch": "attribute"
|
9037
9040
|
}, null), createVNode("rect", {
|
9038
9041
|
"fill": "#FFF",
|
9039
9042
|
"x": "6",
|
@@ -9043,7 +9046,8 @@ var stdin_default$Z = defineComponent({
|
|
9043
9046
|
"rx": "1"
|
9044
9047
|
}, null), createVNode("g", {
|
9045
9048
|
"transform": "translate(15 17)",
|
9046
|
-
"fill": getUrlById(6)
|
9049
|
+
"fill": getUrlById(6),
|
9050
|
+
"data-allow-mismatch": "attribute"
|
9047
9051
|
}, [createVNode("rect", {
|
9048
9052
|
"width": "34",
|
9049
9053
|
"height": "6",
|
@@ -9060,7 +9064,8 @@ var stdin_default$Z = defineComponent({
|
|
9060
9064
|
"y": "61",
|
9061
9065
|
"width": "88",
|
9062
9066
|
"height": "28",
|
9063
|
-
"rx": "1"
|
9067
|
+
"rx": "1",
|
9068
|
+
"data-allow-mismatch": "attribute"
|
9064
9069
|
}, null), createVNode("rect", {
|
9065
9070
|
"fill": "#F7F8FA",
|
9066
9071
|
"x": "29",
|
@@ -9075,14 +9080,18 @@ var stdin_default$Z = defineComponent({
|
|
9075
9080
|
"x1": "50%",
|
9076
9081
|
"x2": "50%",
|
9077
9082
|
"y2": "100%",
|
9078
|
-
"id": getId(8)
|
9083
|
+
"id": getId(8),
|
9084
|
+
"data-allow-mismatch": "attribute"
|
9079
9085
|
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), renderShadow("c"), createVNode("path", {
|
9080
9086
|
"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",
|
9081
|
-
"fill": getUrlById(8)
|
9087
|
+
"fill": getUrlById(8),
|
9088
|
+
"data-allow-mismatch": "attribute"
|
9082
9089
|
}, null)]);
|
9083
9090
|
const renderSearch = () => createVNode("svg", {
|
9084
9091
|
"viewBox": "0 0 160 160"
|
9085
|
-
}, [createVNode("defs",
|
9092
|
+
}, [createVNode("defs", {
|
9093
|
+
"data-allow-mismatch": "children"
|
9094
|
+
}, [createVNode("linearGradient", {
|
9086
9095
|
"x1": "50%",
|
9087
9096
|
"y1": "100%",
|
9088
9097
|
"x2": "50%",
|
@@ -9104,7 +9113,8 @@ var stdin_default$Z = defineComponent({
|
|
9104
9113
|
"id": getId(12)
|
9105
9114
|
}, [renderStops("#FFF", "#F7F8FA")])]), renderBuilding(), renderCloud(), renderShadow("d"), createVNode("g", {
|
9106
9115
|
"transform": "rotate(-45 113 -4)",
|
9107
|
-
"fill": "none"
|
9116
|
+
"fill": "none",
|
9117
|
+
"data-allow-mismatch": "children"
|
9108
9118
|
}, [createVNode("rect", {
|
9109
9119
|
"fill": getUrlById(9),
|
9110
9120
|
"x": "24",
|
@@ -9863,6 +9873,7 @@ var stdin_default$U = defineComponent({
|
|
9863
9873
|
"id": `${id}-${index}`,
|
9864
9874
|
"role": "button",
|
9865
9875
|
"tabindex": disabled ? void 0 : 0,
|
9876
|
+
"data-allow-mismatch": "attribute",
|
9866
9877
|
"class": [bem$L("item", {
|
9867
9878
|
disabled,
|
9868
9879
|
grow: scrollable.value
|
@@ -10075,6 +10086,7 @@ var stdin_default$T = defineComponent({
|
|
10075
10086
|
position: "absolute"
|
10076
10087
|
},
|
10077
10088
|
"aria-labelledby": `${parent.id}-${index.value}`,
|
10089
|
+
"data-allow-mismatch": "attribute",
|
10078
10090
|
"closeOnClickOverlay": closeOnClickOverlay,
|
10079
10091
|
"onOpen": onOpen,
|
10080
10092
|
"onClose": onClose,
|
@@ -10160,8 +10172,7 @@ var stdin_default$S = defineComponent({
|
|
10160
10172
|
return style;
|
10161
10173
|
});
|
10162
10174
|
const updateState = () => {
|
10163
|
-
if (!show.value)
|
10164
|
-
return;
|
10175
|
+
if (!show.value) return;
|
10165
10176
|
const {
|
10166
10177
|
width,
|
10167
10178
|
height
|
@@ -10188,23 +10199,18 @@ var stdin_default$S = defineComponent({
|
|
10188
10199
|
const onTouchMove = (e) => {
|
10189
10200
|
e.preventDefault();
|
10190
10201
|
touch.move(e);
|
10191
|
-
if (props2.axis === "lock")
|
10192
|
-
return;
|
10202
|
+
if (props2.axis === "lock") return;
|
10193
10203
|
if (!touch.isTap.value) {
|
10194
10204
|
if (props2.axis === "x" || props2.axis === "xy") {
|
10195
10205
|
let nextX = prevX + touch.deltaX.value;
|
10196
|
-
if (nextX < boundary.value.left)
|
10197
|
-
|
10198
|
-
if (nextX > boundary.value.right)
|
10199
|
-
nextX = boundary.value.right;
|
10206
|
+
if (nextX < boundary.value.left) nextX = boundary.value.left;
|
10207
|
+
if (nextX > boundary.value.right) nextX = boundary.value.right;
|
10200
10208
|
state.value.x = nextX;
|
10201
10209
|
}
|
10202
10210
|
if (props2.axis === "y" || props2.axis === "xy") {
|
10203
10211
|
let nextY = prevY + touch.deltaY.value;
|
10204
|
-
if (nextY < boundary.value.top)
|
10205
|
-
|
10206
|
-
if (nextY > boundary.value.bottom)
|
10207
|
-
nextY = boundary.value.bottom;
|
10212
|
+
if (nextY < boundary.value.top) nextY = boundary.value.top;
|
10213
|
+
if (nextY > boundary.value.bottom) nextY = boundary.value.bottom;
|
10208
10214
|
state.value.y = nextY;
|
10209
10215
|
}
|
10210
10216
|
const offset = pick(state.value, ["x", "y"]);
|
@@ -10235,10 +10241,8 @@ var stdin_default$S = defineComponent({
|
|
10235
10241
|
});
|
10236
10242
|
};
|
10237
10243
|
const onClick = (e) => {
|
10238
|
-
if (touch.isTap.value)
|
10239
|
-
|
10240
|
-
else
|
10241
|
-
e.stopPropagation();
|
10244
|
+
if (touch.isTap.value) emit("click", e);
|
10245
|
+
else e.stopPropagation();
|
10242
10246
|
};
|
10243
10247
|
onMounted(() => {
|
10244
10248
|
updateState();
|
@@ -10347,8 +10351,7 @@ var stdin_default$R = defineComponent({
|
|
10347
10351
|
scrollTop
|
10348
10352
|
} = contentRef.value;
|
10349
10353
|
maxScroll = Math.max(maxScroll, scrollTop);
|
10350
|
-
if (!props2.contentDraggable)
|
10351
|
-
return;
|
10354
|
+
if (!props2.contentDraggable) return;
|
10352
10355
|
if (-startY < boundary.value.max) {
|
10353
10356
|
preventDefault(e, true);
|
10354
10357
|
} else if (!(scrollTop <= 0 && touch.deltaY.value > 0) || maxScroll > 0) {
|
@@ -10887,15 +10890,12 @@ var stdin_default$N = defineComponent({
|
|
10887
10890
|
const checkClose = (event) => {
|
10888
10891
|
var _a;
|
10889
10892
|
const swipeItemEl = (_a = swipeItem.value) == null ? void 0 : _a.$el;
|
10890
|
-
if (!swipeItemEl)
|
10891
|
-
return;
|
10893
|
+
if (!swipeItemEl) return;
|
10892
10894
|
const imageEl = swipeItemEl.firstElementChild;
|
10893
10895
|
const isClickOverlay = event.target === swipeItemEl;
|
10894
10896
|
const isClickImage = imageEl == null ? void 0 : imageEl.contains(event.target);
|
10895
|
-
if (!props2.closeOnClickImage && isClickImage)
|
10896
|
-
|
10897
|
-
if (!props2.closeOnClickOverlay && isClickOverlay)
|
10898
|
-
return;
|
10897
|
+
if (!props2.closeOnClickImage && isClickImage) return;
|
10898
|
+
if (!props2.closeOnClickOverlay && isClickOverlay) return;
|
10899
10899
|
emit("close");
|
10900
10900
|
};
|
10901
10901
|
const checkTap = (event) => {
|
@@ -12215,7 +12215,12 @@ var stdin_default$E = defineComponent({
|
|
12215
12215
|
extraKey
|
12216
12216
|
} = props2;
|
12217
12217
|
const extraKeys = Array.isArray(extraKey) ? extraKey : [extraKey];
|
12218
|
-
if (extraKeys.length ===
|
12218
|
+
if (extraKeys.length === 0) {
|
12219
|
+
keys2.push({
|
12220
|
+
text: 0,
|
12221
|
+
wider: true
|
12222
|
+
});
|
12223
|
+
} else if (extraKeys.length === 1) {
|
12219
12224
|
keys2.push({
|
12220
12225
|
text: 0,
|
12221
12226
|
wider: true
|
@@ -13141,8 +13146,7 @@ var stdin_default$y = defineComponent({
|
|
13141
13146
|
return props2.allowHalf ? 0.5 : 1;
|
13142
13147
|
};
|
13143
13148
|
const select = (value) => {
|
13144
|
-
if (unselectable.value || value === props2.modelValue)
|
13145
|
-
return;
|
13149
|
+
if (unselectable.value || value === props2.modelValue) return;
|
13146
13150
|
emit("update:modelValue", value);
|
13147
13151
|
emit("change", value);
|
13148
13152
|
};
|
@@ -13310,8 +13314,7 @@ var stdin_default$w = defineComponent({
|
|
13310
13314
|
setup(props2) {
|
13311
13315
|
const isCustomType = computed(() => Array.isArray(props2.textList) && props2.textList.length);
|
13312
13316
|
const itemLength = computed(() => {
|
13313
|
-
if (isCustomType.value)
|
13314
|
-
return props2.textList[0].length;
|
13317
|
+
if (isCustomType.value) return props2.textList[0].length;
|
13315
13318
|
return `${Math.max(props2.startNum, props2.targetNum)}`.length;
|
13316
13319
|
});
|
13317
13320
|
const getTextArrByIdx = (idx) => {
|
@@ -13322,8 +13325,7 @@ var stdin_default$w = defineComponent({
|
|
13322
13325
|
return result;
|
13323
13326
|
};
|
13324
13327
|
const targetNumArr = computed(() => {
|
13325
|
-
if (isCustomType.value)
|
13326
|
-
return new Array(itemLength.value).fill("");
|
13328
|
+
if (isCustomType.value) return new Array(itemLength.value).fill("");
|
13327
13329
|
return padZero(props2.targetNum, itemLength.value).split("");
|
13328
13330
|
});
|
13329
13331
|
const startNumArr = computed(() => padZero(props2.startNum, itemLength.value).split(""));
|
@@ -13345,8 +13347,7 @@ var stdin_default$w = defineComponent({
|
|
13345
13347
|
return result;
|
13346
13348
|
};
|
13347
13349
|
const getDelay = (i, len) => {
|
13348
|
-
if (props2.stopOrder === "ltr")
|
13349
|
-
return 0.2 * i;
|
13350
|
+
if (props2.stopOrder === "ltr") return 0.2 * i;
|
13350
13351
|
return 0.2 * (len - 1 - i);
|
13351
13352
|
};
|
13352
13353
|
const rolling = ref(props2.autoStart);
|
@@ -13421,7 +13422,8 @@ var stdin_default$v = defineComponent({
|
|
13421
13422
|
if (slots.label || props2.label) {
|
13422
13423
|
return createVNode("label", {
|
13423
13424
|
"class": bem$m("label"),
|
13424
|
-
"for": getInputId()
|
13425
|
+
"for": getInputId(),
|
13426
|
+
"data-allow-mismatch": "attribute"
|
13425
13427
|
}, [slots.label ? slots.label() : props2.label]);
|
13426
13428
|
}
|
13427
13429
|
};
|
@@ -13733,8 +13735,7 @@ var stdin_default$r = defineComponent({
|
|
13733
13735
|
const canvasRef = ref();
|
13734
13736
|
const wrapRef = ref();
|
13735
13737
|
const ctx = computed(() => {
|
13736
|
-
if (!canvasRef.value)
|
13737
|
-
return null;
|
13738
|
+
if (!canvasRef.value) return null;
|
13738
13739
|
return canvasRef.value.getContext("2d");
|
13739
13740
|
});
|
13740
13741
|
const isRenderCanvas = inBrowser ? hasCanvasSupport() : true;
|
@@ -14980,8 +14981,7 @@ var stdin_default$c = defineComponent({
|
|
14980
14981
|
}
|
14981
14982
|
};
|
14982
14983
|
const onClick = (position = "outside", event) => {
|
14983
|
-
if (isInBeforeClosing)
|
14984
|
-
return;
|
14984
|
+
if (isInBeforeClosing) return;
|
14985
14985
|
emit("click", position);
|
14986
14986
|
if (opened && !lockClick2) {
|
14987
14987
|
isInBeforeClosing = true;
|
@@ -15261,14 +15261,12 @@ var stdin_default$9 = defineComponent({
|
|
15261
15261
|
let needRecalculate = false;
|
15262
15262
|
const actionText = computed(() => expanded.value ? props2.collapseText : props2.expandText);
|
15263
15263
|
const pxToNum = (value) => {
|
15264
|
-
if (!value)
|
15265
|
-
return 0;
|
15264
|
+
if (!value) return 0;
|
15266
15265
|
const match = value.match(/^\d*(\.\d*)?/);
|
15267
15266
|
return match ? Number(match[0]) : 0;
|
15268
15267
|
};
|
15269
15268
|
const cloneContainer = () => {
|
15270
|
-
if (!root.value || !root.value.isConnected)
|
15271
|
-
return;
|
15269
|
+
if (!root.value || !root.value.isConnected) return;
|
15272
15270
|
const originStyle = window.getComputedStyle(root.value);
|
15273
15271
|
const container = document.createElement("div");
|
15274
15272
|
const styleNames = Array.prototype.slice.apply(originStyle);
|
@@ -16325,8 +16323,7 @@ class ReactiveListener {
|
|
16325
16323
|
onFinish();
|
16326
16324
|
return;
|
16327
16325
|
}
|
16328
|
-
if (this.state.rendered && this.state.loaded)
|
16329
|
-
return;
|
16326
|
+
if (this.state.rendered && this.state.loaded) return;
|
16330
16327
|
if (this.imageCache.has(this.src)) {
|
16331
16328
|
this.state.loaded = true;
|
16332
16329
|
this.render("loaded", true);
|
@@ -16383,8 +16380,7 @@ class ReactiveListener {
|
|
16383
16380
|
state = "loaded";
|
16384
16381
|
time = (this.performanceData.loadEnd - this.performanceData.loadStart) / 1e3;
|
16385
16382
|
}
|
16386
|
-
if (this.state.error)
|
16387
|
-
state = "error";
|
16383
|
+
if (this.state.error) state = "error";
|
16388
16384
|
return {
|
16389
16385
|
src: this.src,
|
16390
16386
|
state,
|
@@ -16575,8 +16571,7 @@ function stdin_default$3() {
|
|
16575
16571
|
* @return
|
16576
16572
|
*/
|
16577
16573
|
remove(el) {
|
16578
|
-
if (!el)
|
16579
|
-
return;
|
16574
|
+
if (!el) return;
|
16580
16575
|
this.observer && this.observer.unobserve(el);
|
16581
16576
|
const existItem = this.listeners.find((item) => item.el === el);
|
16582
16577
|
if (existItem) {
|
@@ -16592,8 +16587,7 @@ function stdin_default$3() {
|
|
16592
16587
|
* @return
|
16593
16588
|
*/
|
16594
16589
|
removeComponent(vm) {
|
16595
|
-
if (!vm)
|
16596
|
-
return;
|
16590
|
+
if (!vm) return;
|
16597
16591
|
remove(this.listeners, vm);
|
16598
16592
|
this.observer && this.observer.unobserve(vm.el);
|
16599
16593
|
if (vm.$parent && vm.$el.parentNode) {
|
@@ -16632,8 +16626,7 @@ function stdin_default$3() {
|
|
16632
16626
|
* @return
|
16633
16627
|
*/
|
16634
16628
|
addListenerTarget(el) {
|
16635
|
-
if (!el)
|
16636
|
-
return;
|
16629
|
+
if (!el) return;
|
16637
16630
|
let target = this.targets.find((target2) => target2.el === el);
|
16638
16631
|
if (!target) {
|
16639
16632
|
target = {
|
@@ -16686,8 +16679,7 @@ function stdin_default$3() {
|
|
16686
16679
|
}
|
16687
16680
|
};
|
16688
16681
|
this.$on = (event, func) => {
|
16689
|
-
if (!this.Event.listeners[event])
|
16690
|
-
this.Event.listeners[event] = [];
|
16682
|
+
if (!this.Event.listeners[event]) this.Event.listeners[event] = [];
|
16691
16683
|
this.Event.listeners[event].push(func);
|
16692
16684
|
};
|
16693
16685
|
this.$once = (event, func) => {
|
@@ -16699,16 +16691,14 @@ function stdin_default$3() {
|
|
16699
16691
|
};
|
16700
16692
|
this.$off = (event, func) => {
|
16701
16693
|
if (!func) {
|
16702
|
-
if (!this.Event.listeners[event])
|
16703
|
-
return;
|
16694
|
+
if (!this.Event.listeners[event]) return;
|
16704
16695
|
this.Event.listeners[event].length = 0;
|
16705
16696
|
return;
|
16706
16697
|
}
|
16707
16698
|
remove(this.Event.listeners[event], func);
|
16708
16699
|
};
|
16709
16700
|
this.$emit = (event, context, inCache) => {
|
16710
|
-
if (!this.Event.listeners[event])
|
16711
|
-
return;
|
16701
|
+
if (!this.Event.listeners[event]) return;
|
16712
16702
|
this.Event.listeners[event].forEach((func) => func(context, inCache));
|
16713
16703
|
};
|
16714
16704
|
}
|
@@ -16723,8 +16713,7 @@ function stdin_default$3() {
|
|
16723
16713
|
freeList.push(listener);
|
16724
16714
|
}
|
16725
16715
|
const catIn = listener.checkInView();
|
16726
|
-
if (!catIn)
|
16727
|
-
return;
|
16716
|
+
if (!catIn) return;
|
16728
16717
|
listener.load();
|
16729
16718
|
});
|
16730
16719
|
freeList.forEach((item) => {
|
@@ -16776,8 +16765,7 @@ function stdin_default$3() {
|
|
16776
16765
|
* @return
|
16777
16766
|
*/
|
16778
16767
|
elRenderer(listener, state, cache) {
|
16779
|
-
if (!listener.el)
|
16780
|
-
return;
|
16768
|
+
if (!listener.el) return;
|
16781
16769
|
const { el, bindType } = listener;
|
16782
16770
|
let src;
|
16783
16771
|
switch (state) {
|
@@ -16934,14 +16922,12 @@ class LazyContainerManager {
|
|
16934
16922
|
}
|
16935
16923
|
update(el, binding, vnode) {
|
16936
16924
|
const container = this.queue.find((item) => item.el === el);
|
16937
|
-
if (!container)
|
16938
|
-
return;
|
16925
|
+
if (!container) return;
|
16939
16926
|
container.update({ el, binding, vnode });
|
16940
16927
|
}
|
16941
16928
|
unbind(el) {
|
16942
16929
|
const container = this.queue.find((item) => item.el === el);
|
16943
|
-
if (!container)
|
16944
|
-
return;
|
16930
|
+
if (!container) return;
|
16945
16931
|
container.clear();
|
16946
16932
|
remove(this.queue, container);
|
16947
16933
|
}
|
@@ -17067,7 +17053,7 @@ const Lazyload = {
|
|
17067
17053
|
});
|
17068
17054
|
}
|
17069
17055
|
};
|
17070
|
-
const version = "4.9.
|
17056
|
+
const version = "4.9.7";
|
17071
17057
|
function install(app) {
|
17072
17058
|
const components = [
|
17073
17059
|
ActionBar,
|