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.js
CHANGED
@@ -1815,8 +1815,7 @@
|
|
1815
1815
|
};
|
1816
1816
|
let timer2;
|
1817
1817
|
const onOpened = () => {
|
1818
|
-
if (timer2)
|
1819
|
-
clearTimeout(timer2);
|
1818
|
+
if (timer2) clearTimeout(timer2);
|
1820
1819
|
timer2 = setTimeout(() => {
|
1821
1820
|
emit("opened");
|
1822
1821
|
});
|
@@ -2065,12 +2064,10 @@
|
|
2065
2064
|
function findIndexOfEnabledOption(options, index) {
|
2066
2065
|
index = clamp(index, 0, options.length);
|
2067
2066
|
for (let i = index; i < options.length; i++) {
|
2068
|
-
if (!options[i].disabled)
|
2069
|
-
return i;
|
2067
|
+
if (!options[i].disabled) return i;
|
2070
2068
|
}
|
2071
2069
|
for (let i = index - 1; i >= 0; i--) {
|
2072
|
-
if (!options[i].disabled)
|
2073
|
-
return i;
|
2070
|
+
if (!options[i].disabled) return i;
|
2074
2071
|
}
|
2075
2072
|
return 0;
|
2076
2073
|
}
|
@@ -2283,8 +2280,7 @@
|
|
2283
2280
|
const index = moving ? Math.floor(-currentOffset.value / props2.optionHeight) : props2.options.findIndex((option) => option[props2.fields.value] === props2.value);
|
2284
2281
|
const enabledIndex = findIndexOfEnabledOption(props2.options, index);
|
2285
2282
|
const offset2 = -enabledIndex * props2.optionHeight;
|
2286
|
-
if (moving && enabledIndex < index)
|
2287
|
-
stopMomentum();
|
2283
|
+
if (moving && enabledIndex < index) stopMomentum();
|
2288
2284
|
currentOffset.value = offset2;
|
2289
2285
|
});
|
2290
2286
|
useEventListener("touchmove", onTouchMove, {
|
@@ -2380,7 +2376,7 @@
|
|
2380
2376
|
return propRef;
|
2381
2377
|
};
|
2382
2378
|
/**
|
2383
|
-
* @vue/shared v3.
|
2379
|
+
* @vue/shared v3.5.5
|
2384
2380
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
2385
2381
|
* @license MIT
|
2386
2382
|
**/
|
@@ -2888,8 +2884,7 @@
|
|
2888
2884
|
let touchStartTime;
|
2889
2885
|
const onTouchStart = (event) => {
|
2890
2886
|
if (!props2.touchable || // avoid resetting position on multi-finger touch
|
2891
|
-
event.touches.length > 1)
|
2892
|
-
return;
|
2887
|
+
event.touches.length > 1) return;
|
2893
2888
|
touch.start(event);
|
2894
2889
|
dragging = false;
|
2895
2890
|
touchStartTime = Date.now();
|
@@ -3193,8 +3188,7 @@
|
|
3193
3188
|
}
|
3194
3189
|
const title = titles[state.currentIndex].$el;
|
3195
3190
|
const to = title.offsetLeft - (nav.offsetWidth - title.offsetWidth) / 2;
|
3196
|
-
if (cancelScrollLeftToRaf)
|
3197
|
-
cancelScrollLeftToRaf();
|
3191
|
+
if (cancelScrollLeftToRaf) cancelScrollLeftToRaf();
|
3198
3192
|
cancelScrollLeftToRaf = scrollLeftTo(nav, to, immediate ? 0 : +props2.duration);
|
3199
3193
|
};
|
3200
3194
|
const setLine = () => {
|
@@ -3271,8 +3265,7 @@
|
|
3271
3265
|
if (target && scroller.value) {
|
3272
3266
|
const to = getElementTop(target, scroller.value) - scrollOffset.value;
|
3273
3267
|
lockScroll = true;
|
3274
|
-
if (cancelScrollTopToRaf)
|
3275
|
-
cancelScrollTopToRaf();
|
3268
|
+
if (cancelScrollTopToRaf) cancelScrollTopToRaf();
|
3276
3269
|
cancelScrollTopToRaf = scrollTopTo(scroller.value, to, immediate ? 0 : +props2.duration, () => {
|
3277
3270
|
lockScroll = false;
|
3278
3271
|
});
|
@@ -3531,7 +3524,8 @@
|
|
3531
3524
|
"tabindex": props2.disabled ? void 0 : props2.isActive ? 0 : -1,
|
3532
3525
|
"aria-selected": props2.isActive,
|
3533
3526
|
"aria-disabled": props2.disabled || void 0,
|
3534
|
-
"aria-controls": props2.controls
|
3527
|
+
"aria-controls": props2.controls,
|
3528
|
+
"data-allow-mismatch": "attribute"
|
3535
3529
|
}, [renderText()]);
|
3536
3530
|
}
|
3537
3531
|
});
|
@@ -3718,7 +3712,8 @@
|
|
3718
3712
|
}),
|
3719
3713
|
"tabindex": active.value ? 0 : -1,
|
3720
3714
|
"aria-hidden": !active.value,
|
3721
|
-
"aria-labelledby": label
|
3715
|
+
"aria-labelledby": label,
|
3716
|
+
"data-allow-mismatch": "attribute"
|
3722
3717
|
}, {
|
3723
3718
|
default: () => {
|
3724
3719
|
var _a2;
|
@@ -3735,7 +3730,8 @@
|
|
3735
3730
|
"role": "tabpanel",
|
3736
3731
|
"class": bem$1m("panel"),
|
3737
3732
|
"tabindex": show ? 0 : -1,
|
3738
|
-
"aria-labelledby": label
|
3733
|
+
"aria-labelledby": label,
|
3734
|
+
"data-allow-mismatch": "attribute"
|
3739
3735
|
}, [Content]), [[vue.vShow, show]]);
|
3740
3736
|
};
|
3741
3737
|
}
|
@@ -4904,6 +4900,7 @@
|
|
4904
4900
|
enterkeyhint: props2.enterkeyhint,
|
4905
4901
|
spellcheck: props2.spellcheck,
|
4906
4902
|
"aria-labelledby": props2.label ? `${id}-label` : void 0,
|
4903
|
+
"data-allow-mismatch": "attribute",
|
4907
4904
|
onBlur,
|
4908
4905
|
onFocus,
|
4909
4906
|
onInput,
|
@@ -4978,6 +4975,7 @@
|
|
4978
4975
|
return vue.createVNode("label", {
|
4979
4976
|
"id": `${id}-label`,
|
4980
4977
|
"for": slots.input ? void 0 : getInputId(),
|
4978
|
+
"data-allow-mismatch": "attribute",
|
4981
4979
|
"onClick": (event) => {
|
4982
4980
|
preventDefault(event);
|
4983
4981
|
focus();
|
@@ -6184,12 +6182,10 @@
|
|
6184
6182
|
} else {
|
6185
6183
|
emit("update:modelValue", newValue);
|
6186
6184
|
}
|
6187
|
-
if (props2.indeterminate !== null)
|
6188
|
-
emit("change", newValue);
|
6185
|
+
if (props2.indeterminate !== null) emit("change", newValue);
|
6189
6186
|
};
|
6190
6187
|
vue.watch(() => props2.modelValue, (value) => {
|
6191
|
-
if (props2.indeterminate === null)
|
6192
|
-
emit("change", value);
|
6188
|
+
if (props2.indeterminate === null) emit("change", value);
|
6193
6189
|
});
|
6194
6190
|
useExpose({
|
6195
6191
|
toggle,
|
@@ -6405,15 +6401,12 @@
|
|
6405
6401
|
observer: "observer"
|
6406
6402
|
};
|
6407
6403
|
function remove(arr, item) {
|
6408
|
-
if (!arr.length)
|
6409
|
-
return;
|
6404
|
+
if (!arr.length) return;
|
6410
6405
|
const index = arr.indexOf(item);
|
6411
|
-
if (index > -1)
|
6412
|
-
return arr.splice(index, 1);
|
6406
|
+
if (index > -1) return arr.splice(index, 1);
|
6413
6407
|
}
|
6414
6408
|
function getBestSelectionFromSrcset(el, scale) {
|
6415
|
-
if (el.tagName !== "IMG" || !el.getAttribute("data-srcset"))
|
6416
|
-
return;
|
6409
|
+
if (el.tagName !== "IMG" || !el.getAttribute("data-srcset")) return;
|
6417
6410
|
let options = el.getAttribute("data-srcset");
|
6418
6411
|
const container = el.parentNode;
|
6419
6412
|
const containerWidth = container.offsetWidth * scale;
|
@@ -6471,8 +6464,7 @@
|
|
6471
6464
|
}
|
6472
6465
|
const getDPR = (scale = 1) => inBrowser ? window.devicePixelRatio || scale : scale;
|
6473
6466
|
function supportWebp() {
|
6474
|
-
if (!inBrowser)
|
6475
|
-
return false;
|
6467
|
+
if (!inBrowser) return false;
|
6476
6468
|
let support = true;
|
6477
6469
|
try {
|
6478
6470
|
const elem = document.createElement("canvas");
|
@@ -6540,8 +6532,7 @@
|
|
6540
6532
|
return this.caches.indexOf(key) > -1;
|
6541
6533
|
}
|
6542
6534
|
add(key) {
|
6543
|
-
if (this.has(key))
|
6544
|
-
return;
|
6535
|
+
if (this.has(key)) return;
|
6545
6536
|
this.caches.push(key);
|
6546
6537
|
if (this.caches.length > this.options.max) {
|
6547
6538
|
this.free();
|
@@ -8247,8 +8238,7 @@
|
|
8247
8238
|
updateTabs();
|
8248
8239
|
vue.watch(activeTab, (value) => {
|
8249
8240
|
const el = selectedElementRefs.value[value];
|
8250
|
-
if (el)
|
8251
|
-
scrollIntoView(el);
|
8241
|
+
if (el) scrollIntoView(el);
|
8252
8242
|
});
|
8253
8243
|
vue.watch(() => props2.options, updateTabs, {
|
8254
8244
|
deep: true
|
@@ -8532,8 +8522,7 @@
|
|
8532
8522
|
return spaces2;
|
8533
8523
|
}
|
8534
8524
|
groups.value.forEach((group, index) => {
|
8535
|
-
if (index === groups.value.length - 1)
|
8536
|
-
return;
|
8525
|
+
if (index === groups.value.length - 1) return;
|
8537
8526
|
group.forEach(() => {
|
8538
8527
|
spaces2.push({
|
8539
8528
|
bottom: bottom2
|
@@ -9333,22 +9322,26 @@
|
|
9333
9322
|
"fx": "50%",
|
9334
9323
|
"fy": "54%",
|
9335
9324
|
"r": "297%",
|
9336
|
-
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)"
|
9325
|
+
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)",
|
9326
|
+
"data-allow-mismatch": "attribute"
|
9337
9327
|
}, [renderStop("#EBEDF0", 0), renderStop("#F2F3F5", 100, 0.3)])]), vue.createVNode("ellipse", {
|
9338
9328
|
"fill": getUrlById(id),
|
9339
9329
|
"opacity": ".8",
|
9340
9330
|
"cx": "80",
|
9341
9331
|
"cy": "140",
|
9342
9332
|
"rx": "46",
|
9343
|
-
"ry": "8"
|
9333
|
+
"ry": "8",
|
9334
|
+
"data-allow-mismatch": "attribute"
|
9344
9335
|
}, null)];
|
9345
9336
|
const renderBuilding = () => [vue.createVNode("defs", null, [vue.createVNode("linearGradient", {
|
9346
9337
|
"id": getId("a"),
|
9347
9338
|
"x1": "64%",
|
9348
9339
|
"y1": "100%",
|
9349
|
-
"x2": "64%"
|
9340
|
+
"x2": "64%",
|
9341
|
+
"data-allow-mismatch": "attribute"
|
9350
9342
|
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)])]), vue.createVNode("g", {
|
9351
|
-
"opacity": ".8"
|
9343
|
+
"opacity": ".8",
|
9344
|
+
"data-allow-mismatch": "children"
|
9352
9345
|
}, [vue.createVNode("path", {
|
9353
9346
|
"d": "M36 131V53H16v20H2v58h34z",
|
9354
9347
|
"fill": getUrlById("a")
|
@@ -9361,9 +9354,11 @@
|
|
9361
9354
|
"x1": "64%",
|
9362
9355
|
"y1": "97%",
|
9363
9356
|
"x2": "64%",
|
9364
|
-
"y2": "0%"
|
9357
|
+
"y2": "0%",
|
9358
|
+
"data-allow-mismatch": "attribute"
|
9365
9359
|
}, [renderStop("#F2F3F5", 0, 0.3), renderStop("#F2F3F5", 100)])]), vue.createVNode("g", {
|
9366
|
-
"opacity": ".8"
|
9360
|
+
"opacity": ".8",
|
9361
|
+
"data-allow-mismatch": "children"
|
9367
9362
|
}, [vue.createVNode("path", {
|
9368
9363
|
"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",
|
9369
9364
|
"fill": getUrlById("b")
|
@@ -9373,7 +9368,9 @@
|
|
9373
9368
|
}, null)])];
|
9374
9369
|
const renderNetwork = () => vue.createVNode("svg", {
|
9375
9370
|
"viewBox": "0 0 160 160"
|
9376
|
-
}, [vue.createVNode("defs",
|
9371
|
+
}, [vue.createVNode("defs", {
|
9372
|
+
"data-allow-mismatch": "children"
|
9373
|
+
}, [vue.createVNode("linearGradient", {
|
9377
9374
|
"id": getId(1),
|
9378
9375
|
"x1": "64%",
|
9379
9376
|
"y1": "100%",
|
@@ -9400,14 +9397,17 @@
|
|
9400
9397
|
"fill": "none"
|
9401
9398
|
}, [renderBuilding(), vue.createVNode("path", {
|
9402
9399
|
"fill": getUrlById(4),
|
9403
|
-
"d": "M0 139h160v21H0z"
|
9400
|
+
"d": "M0 139h160v21H0z",
|
9401
|
+
"data-allow-mismatch": "attribute"
|
9404
9402
|
}, null), vue.createVNode("path", {
|
9405
9403
|
"d": "M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",
|
9406
|
-
"fill": getUrlById(2)
|
9404
|
+
"fill": getUrlById(2),
|
9405
|
+
"data-allow-mismatch": "attribute"
|
9407
9406
|
}, null), vue.createVNode("g", {
|
9408
9407
|
"opacity": ".6",
|
9409
9408
|
"stroke-linecap": "round",
|
9410
|
-
"stroke-width": "7"
|
9409
|
+
"stroke-width": "7",
|
9410
|
+
"data-allow-mismatch": "children"
|
9411
9411
|
}, [vue.createVNode("path", {
|
9412
9412
|
"d": "M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",
|
9413
9413
|
"stroke": getUrlById(3)
|
@@ -9444,7 +9444,9 @@
|
|
9444
9444
|
}, null)])])]);
|
9445
9445
|
const renderMaterial = () => vue.createVNode("svg", {
|
9446
9446
|
"viewBox": "0 0 160 160"
|
9447
|
-
}, [vue.createVNode("defs",
|
9447
|
+
}, [vue.createVNode("defs", {
|
9448
|
+
"data-allow-mismatch": "children"
|
9449
|
+
}, [vue.createVNode("linearGradient", {
|
9448
9450
|
"x1": "50%",
|
9449
9451
|
"x2": "50%",
|
9450
9452
|
"y2": "100%",
|
@@ -9477,7 +9479,8 @@
|
|
9477
9479
|
"fill": getUrlById(5),
|
9478
9480
|
"width": "64",
|
9479
9481
|
"height": "66",
|
9480
|
-
"rx": "2"
|
9482
|
+
"rx": "2",
|
9483
|
+
"data-allow-mismatch": "attribute"
|
9481
9484
|
}, null), vue.createVNode("rect", {
|
9482
9485
|
"fill": "#FFF",
|
9483
9486
|
"x": "6",
|
@@ -9487,7 +9490,8 @@
|
|
9487
9490
|
"rx": "1"
|
9488
9491
|
}, null), vue.createVNode("g", {
|
9489
9492
|
"transform": "translate(15 17)",
|
9490
|
-
"fill": getUrlById(6)
|
9493
|
+
"fill": getUrlById(6),
|
9494
|
+
"data-allow-mismatch": "attribute"
|
9491
9495
|
}, [vue.createVNode("rect", {
|
9492
9496
|
"width": "34",
|
9493
9497
|
"height": "6",
|
@@ -9504,7 +9508,8 @@
|
|
9504
9508
|
"y": "61",
|
9505
9509
|
"width": "88",
|
9506
9510
|
"height": "28",
|
9507
|
-
"rx": "1"
|
9511
|
+
"rx": "1",
|
9512
|
+
"data-allow-mismatch": "attribute"
|
9508
9513
|
}, null), vue.createVNode("rect", {
|
9509
9514
|
"fill": "#F7F8FA",
|
9510
9515
|
"x": "29",
|
@@ -9519,14 +9524,18 @@
|
|
9519
9524
|
"x1": "50%",
|
9520
9525
|
"x2": "50%",
|
9521
9526
|
"y2": "100%",
|
9522
|
-
"id": getId(8)
|
9527
|
+
"id": getId(8),
|
9528
|
+
"data-allow-mismatch": "attribute"
|
9523
9529
|
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), renderShadow("c"), vue.createVNode("path", {
|
9524
9530
|
"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",
|
9525
|
-
"fill": getUrlById(8)
|
9531
|
+
"fill": getUrlById(8),
|
9532
|
+
"data-allow-mismatch": "attribute"
|
9526
9533
|
}, null)]);
|
9527
9534
|
const renderSearch = () => vue.createVNode("svg", {
|
9528
9535
|
"viewBox": "0 0 160 160"
|
9529
|
-
}, [vue.createVNode("defs",
|
9536
|
+
}, [vue.createVNode("defs", {
|
9537
|
+
"data-allow-mismatch": "children"
|
9538
|
+
}, [vue.createVNode("linearGradient", {
|
9530
9539
|
"x1": "50%",
|
9531
9540
|
"y1": "100%",
|
9532
9541
|
"x2": "50%",
|
@@ -9548,7 +9557,8 @@
|
|
9548
9557
|
"id": getId(12)
|
9549
9558
|
}, [renderStops("#FFF", "#F7F8FA")])]), renderBuilding(), renderCloud(), renderShadow("d"), vue.createVNode("g", {
|
9550
9559
|
"transform": "rotate(-45 113 -4)",
|
9551
|
-
"fill": "none"
|
9560
|
+
"fill": "none",
|
9561
|
+
"data-allow-mismatch": "children"
|
9552
9562
|
}, [vue.createVNode("rect", {
|
9553
9563
|
"fill": getUrlById(9),
|
9554
9564
|
"x": "24",
|
@@ -10304,6 +10314,7 @@
|
|
10304
10314
|
"id": `${id}-${index}`,
|
10305
10315
|
"role": "button",
|
10306
10316
|
"tabindex": disabled ? void 0 : 0,
|
10317
|
+
"data-allow-mismatch": "attribute",
|
10307
10318
|
"class": [bem$L("item", {
|
10308
10319
|
disabled,
|
10309
10320
|
grow: scrollable.value
|
@@ -10513,6 +10524,7 @@
|
|
10513
10524
|
position: "absolute"
|
10514
10525
|
},
|
10515
10526
|
"aria-labelledby": `${parent.id}-${index.value}`,
|
10527
|
+
"data-allow-mismatch": "attribute",
|
10516
10528
|
"closeOnClickOverlay": closeOnClickOverlay,
|
10517
10529
|
"onOpen": onOpen,
|
10518
10530
|
"onClose": onClose,
|
@@ -10598,8 +10610,7 @@
|
|
10598
10610
|
return style;
|
10599
10611
|
});
|
10600
10612
|
const updateState = () => {
|
10601
|
-
if (!show.value)
|
10602
|
-
return;
|
10613
|
+
if (!show.value) return;
|
10603
10614
|
const {
|
10604
10615
|
width: width2,
|
10605
10616
|
height: height2
|
@@ -10626,23 +10637,18 @@
|
|
10626
10637
|
const onTouchMove = (e) => {
|
10627
10638
|
e.preventDefault();
|
10628
10639
|
touch.move(e);
|
10629
|
-
if (props2.axis === "lock")
|
10630
|
-
return;
|
10640
|
+
if (props2.axis === "lock") return;
|
10631
10641
|
if (!touch.isTap.value) {
|
10632
10642
|
if (props2.axis === "x" || props2.axis === "xy") {
|
10633
10643
|
let nextX = prevX + touch.deltaX.value;
|
10634
|
-
if (nextX < boundary.value.left)
|
10635
|
-
|
10636
|
-
if (nextX > boundary.value.right)
|
10637
|
-
nextX = boundary.value.right;
|
10644
|
+
if (nextX < boundary.value.left) nextX = boundary.value.left;
|
10645
|
+
if (nextX > boundary.value.right) nextX = boundary.value.right;
|
10638
10646
|
state.value.x = nextX;
|
10639
10647
|
}
|
10640
10648
|
if (props2.axis === "y" || props2.axis === "xy") {
|
10641
10649
|
let nextY = prevY + touch.deltaY.value;
|
10642
|
-
if (nextY < boundary.value.top)
|
10643
|
-
|
10644
|
-
if (nextY > boundary.value.bottom)
|
10645
|
-
nextY = boundary.value.bottom;
|
10650
|
+
if (nextY < boundary.value.top) nextY = boundary.value.top;
|
10651
|
+
if (nextY > boundary.value.bottom) nextY = boundary.value.bottom;
|
10646
10652
|
state.value.y = nextY;
|
10647
10653
|
}
|
10648
10654
|
const offset2 = pick(state.value, ["x", "y"]);
|
@@ -10673,10 +10679,8 @@
|
|
10673
10679
|
});
|
10674
10680
|
};
|
10675
10681
|
const onClick = (e) => {
|
10676
|
-
if (touch.isTap.value)
|
10677
|
-
|
10678
|
-
else
|
10679
|
-
e.stopPropagation();
|
10682
|
+
if (touch.isTap.value) emit("click", e);
|
10683
|
+
else e.stopPropagation();
|
10680
10684
|
};
|
10681
10685
|
vue.onMounted(() => {
|
10682
10686
|
updateState();
|
@@ -10785,8 +10789,7 @@
|
|
10785
10789
|
scrollTop
|
10786
10790
|
} = contentRef.value;
|
10787
10791
|
maxScroll = Math.max(maxScroll, scrollTop);
|
10788
|
-
if (!props2.contentDraggable)
|
10789
|
-
return;
|
10792
|
+
if (!props2.contentDraggable) return;
|
10790
10793
|
if (-startY < boundary.value.max) {
|
10791
10794
|
preventDefault(e, true);
|
10792
10795
|
} else if (!(scrollTop <= 0 && touch.deltaY.value > 0) || maxScroll > 0) {
|
@@ -11322,15 +11325,12 @@
|
|
11322
11325
|
const checkClose = (event) => {
|
11323
11326
|
var _a;
|
11324
11327
|
const swipeItemEl = (_a = swipeItem.value) == null ? void 0 : _a.$el;
|
11325
|
-
if (!swipeItemEl)
|
11326
|
-
return;
|
11328
|
+
if (!swipeItemEl) return;
|
11327
11329
|
const imageEl = swipeItemEl.firstElementChild;
|
11328
11330
|
const isClickOverlay = event.target === swipeItemEl;
|
11329
11331
|
const isClickImage = imageEl == null ? void 0 : imageEl.contains(event.target);
|
11330
|
-
if (!props2.closeOnClickImage && isClickImage)
|
11331
|
-
|
11332
|
-
if (!props2.closeOnClickOverlay && isClickOverlay)
|
11333
|
-
return;
|
11332
|
+
if (!props2.closeOnClickImage && isClickImage) return;
|
11333
|
+
if (!props2.closeOnClickOverlay && isClickOverlay) return;
|
11334
11334
|
emit("close");
|
11335
11335
|
};
|
11336
11336
|
const checkTap = (event) => {
|
@@ -12647,7 +12647,12 @@
|
|
12647
12647
|
extraKey
|
12648
12648
|
} = props2;
|
12649
12649
|
const extraKeys = Array.isArray(extraKey) ? extraKey : [extraKey];
|
12650
|
-
if (extraKeys.length ===
|
12650
|
+
if (extraKeys.length === 0) {
|
12651
|
+
keys2.push({
|
12652
|
+
text: 0,
|
12653
|
+
wider: true
|
12654
|
+
});
|
12655
|
+
} else if (extraKeys.length === 1) {
|
12651
12656
|
keys2.push({
|
12652
12657
|
text: 0,
|
12653
12658
|
wider: true
|
@@ -14385,8 +14390,7 @@
|
|
14385
14390
|
return props2.allowHalf ? 0.5 : 1;
|
14386
14391
|
};
|
14387
14392
|
const select = (value) => {
|
14388
|
-
if (unselectable.value || value === props2.modelValue)
|
14389
|
-
return;
|
14393
|
+
if (unselectable.value || value === props2.modelValue) return;
|
14390
14394
|
emit("update:modelValue", value);
|
14391
14395
|
emit("change", value);
|
14392
14396
|
};
|
@@ -14554,8 +14558,7 @@
|
|
14554
14558
|
setup(props2) {
|
14555
14559
|
const isCustomType = vue.computed(() => Array.isArray(props2.textList) && props2.textList.length);
|
14556
14560
|
const itemLength = vue.computed(() => {
|
14557
|
-
if (isCustomType.value)
|
14558
|
-
return props2.textList[0].length;
|
14561
|
+
if (isCustomType.value) return props2.textList[0].length;
|
14559
14562
|
return `${Math.max(props2.startNum, props2.targetNum)}`.length;
|
14560
14563
|
});
|
14561
14564
|
const getTextArrByIdx = (idx) => {
|
@@ -14566,8 +14569,7 @@
|
|
14566
14569
|
return result;
|
14567
14570
|
};
|
14568
14571
|
const targetNumArr = vue.computed(() => {
|
14569
|
-
if (isCustomType.value)
|
14570
|
-
return new Array(itemLength.value).fill("");
|
14572
|
+
if (isCustomType.value) return new Array(itemLength.value).fill("");
|
14571
14573
|
return padZero(props2.targetNum, itemLength.value).split("");
|
14572
14574
|
});
|
14573
14575
|
const startNumArr = vue.computed(() => padZero(props2.startNum, itemLength.value).split(""));
|
@@ -14589,8 +14591,7 @@
|
|
14589
14591
|
return result;
|
14590
14592
|
};
|
14591
14593
|
const getDelay = (i, len) => {
|
14592
|
-
if (props2.stopOrder === "ltr")
|
14593
|
-
return 0.2 * i;
|
14594
|
+
if (props2.stopOrder === "ltr") return 0.2 * i;
|
14594
14595
|
return 0.2 * (len - 1 - i);
|
14595
14596
|
};
|
14596
14597
|
const rolling = vue.ref(props2.autoStart);
|
@@ -14665,7 +14666,8 @@
|
|
14665
14666
|
if (slots.label || props2.label) {
|
14666
14667
|
return vue.createVNode("label", {
|
14667
14668
|
"class": bem$m("label"),
|
14668
|
-
"for": getInputId()
|
14669
|
+
"for": getInputId(),
|
14670
|
+
"data-allow-mismatch": "attribute"
|
14669
14671
|
}, [slots.label ? slots.label() : props2.label]);
|
14670
14672
|
}
|
14671
14673
|
};
|
@@ -14974,8 +14976,7 @@
|
|
14974
14976
|
const canvasRef = vue.ref();
|
14975
14977
|
const wrapRef = vue.ref();
|
14976
14978
|
const ctx = vue.computed(() => {
|
14977
|
-
if (!canvasRef.value)
|
14978
|
-
return null;
|
14979
|
+
if (!canvasRef.value) return null;
|
14979
14980
|
return canvasRef.value.getContext("2d");
|
14980
14981
|
});
|
14981
14982
|
const isRenderCanvas = inBrowser$1 ? hasCanvasSupport() : true;
|
@@ -16218,8 +16219,7 @@
|
|
16218
16219
|
}
|
16219
16220
|
};
|
16220
16221
|
const onClick = (position = "outside", event) => {
|
16221
|
-
if (isInBeforeClosing)
|
16222
|
-
return;
|
16222
|
+
if (isInBeforeClosing) return;
|
16223
16223
|
emit("click", position);
|
16224
16224
|
if (opened && !lockClick2) {
|
16225
16225
|
isInBeforeClosing = true;
|
@@ -16496,14 +16496,12 @@
|
|
16496
16496
|
let needRecalculate = false;
|
16497
16497
|
const actionText = vue.computed(() => expanded.value ? props2.collapseText : props2.expandText);
|
16498
16498
|
const pxToNum = (value) => {
|
16499
|
-
if (!value)
|
16500
|
-
return 0;
|
16499
|
+
if (!value) return 0;
|
16501
16500
|
const match = value.match(/^\d*(\.\d*)?/);
|
16502
16501
|
return match ? Number(match[0]) : 0;
|
16503
16502
|
};
|
16504
16503
|
const cloneContainer = () => {
|
16505
|
-
if (!root.value || !root.value.isConnected)
|
16506
|
-
return;
|
16504
|
+
if (!root.value || !root.value.isConnected) return;
|
16507
16505
|
const originStyle = window.getComputedStyle(root.value);
|
16508
16506
|
const container = document.createElement("div");
|
16509
16507
|
const styleNames = Array.prototype.slice.apply(originStyle);
|
@@ -17548,8 +17546,7 @@
|
|
17548
17546
|
onFinish();
|
17549
17547
|
return;
|
17550
17548
|
}
|
17551
|
-
if (this.state.rendered && this.state.loaded)
|
17552
|
-
return;
|
17549
|
+
if (this.state.rendered && this.state.loaded) return;
|
17553
17550
|
if (this.imageCache.has(this.src)) {
|
17554
17551
|
this.state.loaded = true;
|
17555
17552
|
this.render("loaded", true);
|
@@ -17606,8 +17603,7 @@
|
|
17606
17603
|
state = "loaded";
|
17607
17604
|
time = (this.performanceData.loadEnd - this.performanceData.loadStart) / 1e3;
|
17608
17605
|
}
|
17609
|
-
if (this.state.error)
|
17610
|
-
state = "error";
|
17606
|
+
if (this.state.error) state = "error";
|
17611
17607
|
return {
|
17612
17608
|
src: this.src,
|
17613
17609
|
state,
|
@@ -17798,8 +17794,7 @@
|
|
17798
17794
|
* @return
|
17799
17795
|
*/
|
17800
17796
|
remove(el) {
|
17801
|
-
if (!el)
|
17802
|
-
return;
|
17797
|
+
if (!el) return;
|
17803
17798
|
this.observer && this.observer.unobserve(el);
|
17804
17799
|
const existItem = this.listeners.find((item) => item.el === el);
|
17805
17800
|
if (existItem) {
|
@@ -17815,8 +17810,7 @@
|
|
17815
17810
|
* @return
|
17816
17811
|
*/
|
17817
17812
|
removeComponent(vm) {
|
17818
|
-
if (!vm)
|
17819
|
-
return;
|
17813
|
+
if (!vm) return;
|
17820
17814
|
remove(this.listeners, vm);
|
17821
17815
|
this.observer && this.observer.unobserve(vm.el);
|
17822
17816
|
if (vm.$parent && vm.$el.parentNode) {
|
@@ -17855,8 +17849,7 @@
|
|
17855
17849
|
* @return
|
17856
17850
|
*/
|
17857
17851
|
addListenerTarget(el) {
|
17858
|
-
if (!el)
|
17859
|
-
return;
|
17852
|
+
if (!el) return;
|
17860
17853
|
let target = this.targets.find((target2) => target2.el === el);
|
17861
17854
|
if (!target) {
|
17862
17855
|
target = {
|
@@ -17909,8 +17902,7 @@
|
|
17909
17902
|
}
|
17910
17903
|
};
|
17911
17904
|
this.$on = (event, func) => {
|
17912
|
-
if (!this.Event.listeners[event])
|
17913
|
-
this.Event.listeners[event] = [];
|
17905
|
+
if (!this.Event.listeners[event]) this.Event.listeners[event] = [];
|
17914
17906
|
this.Event.listeners[event].push(func);
|
17915
17907
|
};
|
17916
17908
|
this.$once = (event, func) => {
|
@@ -17922,16 +17914,14 @@
|
|
17922
17914
|
};
|
17923
17915
|
this.$off = (event, func) => {
|
17924
17916
|
if (!func) {
|
17925
|
-
if (!this.Event.listeners[event])
|
17926
|
-
return;
|
17917
|
+
if (!this.Event.listeners[event]) return;
|
17927
17918
|
this.Event.listeners[event].length = 0;
|
17928
17919
|
return;
|
17929
17920
|
}
|
17930
17921
|
remove(this.Event.listeners[event], func);
|
17931
17922
|
};
|
17932
17923
|
this.$emit = (event, context, inCache) => {
|
17933
|
-
if (!this.Event.listeners[event])
|
17934
|
-
return;
|
17924
|
+
if (!this.Event.listeners[event]) return;
|
17935
17925
|
this.Event.listeners[event].forEach((func) => func(context, inCache));
|
17936
17926
|
};
|
17937
17927
|
}
|
@@ -17946,8 +17936,7 @@
|
|
17946
17936
|
freeList.push(listener);
|
17947
17937
|
}
|
17948
17938
|
const catIn = listener.checkInView();
|
17949
|
-
if (!catIn)
|
17950
|
-
return;
|
17939
|
+
if (!catIn) return;
|
17951
17940
|
listener.load();
|
17952
17941
|
});
|
17953
17942
|
freeList.forEach((item) => {
|
@@ -17999,8 +17988,7 @@
|
|
17999
17988
|
* @return
|
18000
17989
|
*/
|
18001
17990
|
elRenderer(listener, state, cache) {
|
18002
|
-
if (!listener.el)
|
18003
|
-
return;
|
17991
|
+
if (!listener.el) return;
|
18004
17992
|
const { el, bindType } = listener;
|
18005
17993
|
let src;
|
18006
17994
|
switch (state) {
|
@@ -18154,14 +18142,12 @@
|
|
18154
18142
|
}
|
18155
18143
|
update(el, binding, vnode) {
|
18156
18144
|
const container = this.queue.find((item) => item.el === el);
|
18157
|
-
if (!container)
|
18158
|
-
return;
|
18145
|
+
if (!container) return;
|
18159
18146
|
container.update({ el, binding, vnode });
|
18160
18147
|
}
|
18161
18148
|
unbind(el) {
|
18162
18149
|
const container = this.queue.find((item) => item.el === el);
|
18163
|
-
if (!container)
|
18164
|
-
return;
|
18150
|
+
if (!container) return;
|
18165
18151
|
container.clear();
|
18166
18152
|
remove(this.queue, container);
|
18167
18153
|
}
|
@@ -18282,7 +18268,7 @@
|
|
18282
18268
|
});
|
18283
18269
|
}
|
18284
18270
|
};
|
18285
|
-
const version = "4.9.
|
18271
|
+
const version = "4.9.7";
|
18286
18272
|
function install(app) {
|
18287
18273
|
const components = [
|
18288
18274
|
ActionBar,
|