@element-plus/nightly 0.0.20240724 → 0.0.20240726
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/attributes.json +1 -1
- package/dist/index.full.js +61 -121
- package/dist/index.full.min.js +9 -9
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +14 -14
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +61 -121
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/autocomplete/index.d.ts +80 -80
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +80 -80
- package/es/components/backtop/index.mjs +2 -2
- package/es/components/backtop/src/backtop.mjs +21 -54
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +54 -21
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/badge/index.mjs +2 -2
- package/es/components/badge/src/badge.mjs +38 -89
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +89 -38
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/breadcrumb/index.d.ts +8 -8
- package/es/components/breadcrumb/src/breadcrumb-item.d.ts +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item.mjs +1 -4
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item.vue.d.ts +4 -4
- package/es/components/button/index.mjs +2 -2
- package/es/components/button/src/button-group.mjs +1 -1
- package/es/components/button/src/button.mjs +57 -77
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button2.mjs +77 -57
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/carousel/index.d.ts +4 -0
- package/es/components/carousel/src/carousel.d.ts +1 -0
- package/es/components/carousel/src/carousel.mjs +4 -0
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +4 -0
- package/es/components/carousel/src/carousel2.mjs +1 -0
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/carousel/src/constants.d.ts +1 -0
- package/es/components/carousel/src/constants.mjs.map +1 -1
- package/es/components/carousel/src/use-carousel-item.mjs +5 -6
- package/es/components/carousel/src/use-carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/use-carousel.mjs +1 -0
- package/es/components/carousel/src/use-carousel.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +160 -160
- package/es/components/cascader/src/cascader.vue.d.ts +80 -80
- package/es/components/cascader/src/cascader2.mjs +1 -1
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/check-tag/index.d.ts +4 -4
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.mjs +1 -4
- package/es/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/components/check-tag/src/check-tag.vue.d.ts +4 -4
- package/es/components/color-picker/index.d.ts +44 -44
- package/es/components/color-picker/src/color-picker.vue.d.ts +44 -44
- package/es/components/color-picker/src/utils/draggable.mjs +1 -1
- package/es/components/color-picker/src/utils/draggable.mjs.map +1 -1
- package/es/components/countdown/index.mjs +2 -2
- package/es/components/countdown/src/countdown.mjs +23 -77
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/countdown/src/countdown2.mjs +77 -23
- package/es/components/countdown/src/countdown2.mjs.map +1 -1
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +20 -20
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +20 -20
- package/es/components/date-picker/src/date-picker.d.ts +1 -1
- package/es/components/date-picker/src/panel-utils.d.ts +40 -40
- package/es/components/descriptions/index.d.ts +4 -4
- package/es/components/descriptions/src/description.d.ts +1 -1
- package/es/components/descriptions/src/description.mjs +1 -4
- package/es/components/descriptions/src/description.mjs.map +1 -1
- package/es/components/descriptions/src/description.vue.d.ts +4 -4
- package/es/components/dialog/index.d.ts +7 -7
- package/es/components/dialog/src/dialog.d.ts +1 -1
- package/es/components/dialog/src/dialog.mjs +1 -4
- package/es/components/dialog/src/dialog.mjs.map +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +7 -7
- package/es/components/drawer/index.d.ts +7 -7
- package/es/components/drawer/index.mjs +2 -2
- package/es/components/drawer/src/drawer.d.ts +1 -1
- package/es/components/drawer/src/drawer.mjs +27 -181
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +7 -7
- package/es/components/drawer/src/drawer2.mjs +181 -27
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +16 -16
- package/es/components/dropdown/src/dropdown.vue.d.ts +16 -16
- package/es/components/index.mjs +7 -7
- package/es/components/input/index.d.ts +20 -20
- package/es/components/input/src/input.d.ts +5 -5
- package/es/components/input/src/input.mjs +5 -20
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +20 -20
- package/es/components/input-number/index.d.ts +57 -57
- package/es/components/input-number/src/input-number.vue.d.ts +57 -57
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.mjs +1 -4
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/overlay/index.d.ts +3 -3
- package/es/components/overlay/src/overlay.d.ts +4 -4
- package/es/components/overlay/src/overlay.mjs +1 -4
- package/es/components/overlay/src/overlay.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +20 -20
- package/es/components/pagination/src/components/sizes.vue.d.ts +32 -32
- package/es/components/popconfirm/index.d.ts +24 -24
- package/es/components/popconfirm/src/popconfirm.mjs +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +24 -24
- package/es/components/popover/index.d.ts +24 -24
- package/es/components/popover/src/popover.vue.d.ts +24 -24
- package/es/components/progress/index.d.ts +8 -8
- package/es/components/progress/src/progress.d.ts +2 -2
- package/es/components/progress/src/progress.mjs +2 -8
- package/es/components/progress/src/progress.mjs.map +1 -1
- package/es/components/progress/src/progress.vue.d.ts +8 -8
- package/es/components/rate/index.d.ts +4 -4
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.d.ts +1 -1
- package/es/components/rate/src/rate.mjs +269 -90
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate.vue.d.ts +4 -4
- package/es/components/rate/src/rate2.mjs +87 -269
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/segmented/src/segmented.mjs +3 -3
- package/es/components/segmented/src/segmented.mjs.map +1 -1
- package/es/components/select/index.d.ts +32 -32
- package/es/components/select/src/select.vue.d.ts +32 -32
- package/es/components/select/src/useSelect.d.ts +32 -32
- package/es/components/select-v2/index.d.ts +64 -64
- package/es/components/select-v2/src/select.vue.d.ts +32 -32
- package/es/components/select-v2/src/useSelect.d.ts +32 -32
- package/es/components/slider/index.d.ts +97 -97
- package/es/components/slider/src/button.vue.d.ts +8 -8
- package/es/components/slider/src/button2.mjs +3 -4
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/composables/use-slide.d.ts +32 -32
- package/es/components/slider/src/composables/use-slider-button.mjs +2 -0
- package/es/components/slider/src/composables/use-slider-button.mjs.map +1 -1
- package/es/components/slider/src/slider.vue.d.ts +97 -97
- package/es/components/slider/src/slider2.mjs +10 -5
- package/es/components/slider/src/slider2.mjs.map +1 -1
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/item.mjs +19 -191
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +191 -19
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/switch/index.d.ts +12 -12
- package/es/components/switch/src/switch.d.ts +3 -3
- package/es/components/switch/src/switch.mjs +3 -12
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch.vue.d.ts +12 -12
- package/es/components/table/src/filter-panel.vue.d.ts +16 -16
- package/es/components/teleport/index.d.ts +4 -4
- package/es/components/teleport/src/teleport.d.ts +1 -1
- package/es/components/teleport/src/teleport.mjs +1 -4
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport.vue.d.ts +4 -4
- package/es/components/time-picker/index.d.ts +2 -2
- package/es/components/time-picker/src/common/picker.vue.d.ts +45 -45
- package/es/components/time-picker/src/time-picker.d.ts +1 -1
- package/es/components/time-select/index.d.ts +64 -64
- package/es/components/time-select/src/time-select.vue.d.ts +64 -64
- package/es/components/timeline/index.d.ts +24 -24
- package/es/components/timeline/src/timeline-item.d.ts +3 -3
- package/es/components/timeline/src/timeline-item.mjs +3 -12
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +12 -12
- package/es/components/tooltip/index.d.ts +8 -8
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.mjs +1 -4
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +4 -4
- package/es/components/tooltip/src/tooltip.d.ts +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +8 -8
- package/es/components/tooltip-v2/index.d.ts +13 -13
- package/es/components/tooltip-v2/src/content.d.ts +1 -1
- package/es/components/tooltip-v2/src/content.mjs +1 -4
- package/es/components/tooltip-v2/src/content.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content.vue.d.ts +4 -4
- package/es/components/tooltip-v2/src/tooltip.d.ts +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +13 -13
- package/es/components/transfer/index.d.ts +100 -100
- package/es/components/transfer/src/composables/use-check.mjs +1 -1
- package/es/components/transfer/src/transfer-panel.mjs +19 -128
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.vue.d.ts +20 -20
- package/es/components/transfer/src/transfer-panel2.mjs +128 -19
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +100 -100
- package/es/components/transfer/src/transfer2.mjs +1 -1
- package/es/components/upload/index.d.ts +38 -38
- package/es/components/upload/src/upload-content.d.ts +2 -2
- package/es/components/upload/src/upload-content.vue.d.ts +8 -8
- package/es/components/upload/src/upload-list.vue.d.ts +8 -8
- package/es/components/upload/src/upload.d.ts +8 -16
- package/es/components/upload/src/upload.mjs +2 -8
- package/es/components/upload/src/upload.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +38 -38
- package/es/components/virtual-list/src/builders/build-grid.mjs +4 -2
- package/es/components/virtual-list/src/builders/build-grid.mjs.map +1 -1
- package/es/components/virtual-list/src/builders/build-list.mjs +4 -3
- package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
- package/es/components/virtual-list/src/components/scrollbar.mjs +1 -1
- package/es/components/virtual-list/src/components/scrollbar.mjs.map +1 -1
- package/es/index.mjs +7 -7
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +80 -80
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +80 -80
- package/lib/components/backtop/index.js +2 -2
- package/lib/components/backtop/src/backtop.js +22 -54
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +54 -22
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/badge/index.js +2 -2
- package/lib/components/badge/src/badge.js +38 -89
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge2.js +89 -38
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/breadcrumb/index.d.ts +8 -8
- package/lib/components/breadcrumb/src/breadcrumb-item.d.ts +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item.js +1 -4
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item.vue.d.ts +4 -4
- package/lib/components/button/index.js +2 -2
- package/lib/components/button/src/button-group.js +1 -1
- package/lib/components/button/src/button.js +60 -77
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button2.js +77 -60
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/carousel/index.d.ts +4 -0
- package/lib/components/carousel/src/carousel.d.ts +1 -0
- package/lib/components/carousel/src/carousel.js +4 -0
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +4 -0
- package/lib/components/carousel/src/carousel2.js +1 -0
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/carousel/src/constants.d.ts +1 -0
- package/lib/components/carousel/src/constants.js.map +1 -1
- package/lib/components/carousel/src/use-carousel-item.js +5 -6
- package/lib/components/carousel/src/use-carousel-item.js.map +1 -1
- package/lib/components/carousel/src/use-carousel.js +1 -0
- package/lib/components/carousel/src/use-carousel.js.map +1 -1
- package/lib/components/cascader/index.d.ts +160 -160
- package/lib/components/cascader/src/cascader.vue.d.ts +80 -80
- package/lib/components/cascader/src/cascader2.js +1 -1
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/check-tag/index.d.ts +4 -4
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.js +1 -4
- package/lib/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/components/check-tag/src/check-tag.vue.d.ts +4 -4
- package/lib/components/color-picker/index.d.ts +44 -44
- package/lib/components/color-picker/src/color-picker.vue.d.ts +44 -44
- package/lib/components/color-picker/src/utils/draggable.js +1 -1
- package/lib/components/color-picker/src/utils/draggable.js.map +1 -1
- package/lib/components/countdown/index.js +2 -2
- package/lib/components/countdown/src/countdown.js +24 -77
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/countdown/src/countdown2.js +77 -24
- package/lib/components/countdown/src/countdown2.js.map +1 -1
- package/lib/components/date-picker/index.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +20 -20
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +20 -20
- package/lib/components/date-picker/src/date-picker.d.ts +1 -1
- package/lib/components/date-picker/src/panel-utils.d.ts +40 -40
- package/lib/components/descriptions/index.d.ts +4 -4
- package/lib/components/descriptions/src/description.d.ts +1 -1
- package/lib/components/descriptions/src/description.js +1 -4
- package/lib/components/descriptions/src/description.js.map +1 -1
- package/lib/components/descriptions/src/description.vue.d.ts +4 -4
- package/lib/components/dialog/index.d.ts +7 -7
- package/lib/components/dialog/src/dialog.d.ts +1 -1
- package/lib/components/dialog/src/dialog.js +1 -4
- package/lib/components/dialog/src/dialog.js.map +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +7 -7
- package/lib/components/drawer/index.d.ts +7 -7
- package/lib/components/drawer/index.js +2 -2
- package/lib/components/drawer/src/drawer.d.ts +1 -1
- package/lib/components/drawer/src/drawer.js +28 -181
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +7 -7
- package/lib/components/drawer/src/drawer2.js +181 -28
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +16 -16
- package/lib/components/dropdown/src/dropdown.vue.d.ts +16 -16
- package/lib/components/index.js +7 -7
- package/lib/components/input/index.d.ts +20 -20
- package/lib/components/input/src/input.d.ts +5 -5
- package/lib/components/input/src/input.js +5 -20
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +20 -20
- package/lib/components/input-number/index.d.ts +57 -57
- package/lib/components/input-number/src/input-number.vue.d.ts +57 -57
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.js +1 -4
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/overlay/index.d.ts +3 -3
- package/lib/components/overlay/src/overlay.d.ts +4 -4
- package/lib/components/overlay/src/overlay.js +1 -4
- package/lib/components/overlay/src/overlay.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +20 -20
- package/lib/components/pagination/src/components/sizes.vue.d.ts +32 -32
- package/lib/components/popconfirm/index.d.ts +24 -24
- package/lib/components/popconfirm/src/popconfirm.js +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +24 -24
- package/lib/components/popover/index.d.ts +24 -24
- package/lib/components/popover/src/popover.vue.d.ts +24 -24
- package/lib/components/progress/index.d.ts +8 -8
- package/lib/components/progress/src/progress.d.ts +2 -2
- package/lib/components/progress/src/progress.js +2 -8
- package/lib/components/progress/src/progress.js.map +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +8 -8
- package/lib/components/rate/index.d.ts +4 -4
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.d.ts +1 -1
- package/lib/components/rate/src/rate.js +268 -90
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate.vue.d.ts +4 -4
- package/lib/components/rate/src/rate2.js +87 -268
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/segmented/src/segmented.js +2 -2
- package/lib/components/segmented/src/segmented.js.map +1 -1
- package/lib/components/select/index.d.ts +32 -32
- package/lib/components/select/src/select.vue.d.ts +32 -32
- package/lib/components/select/src/useSelect.d.ts +32 -32
- package/lib/components/select-v2/index.d.ts +64 -64
- package/lib/components/select-v2/src/select.vue.d.ts +32 -32
- package/lib/components/select-v2/src/useSelect.d.ts +32 -32
- package/lib/components/slider/index.d.ts +97 -97
- package/lib/components/slider/src/button.vue.d.ts +8 -8
- package/lib/components/slider/src/button2.js +3 -4
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/composables/use-slide.d.ts +32 -32
- package/lib/components/slider/src/composables/use-slider-button.js +2 -0
- package/lib/components/slider/src/composables/use-slider-button.js.map +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +97 -97
- package/lib/components/slider/src/slider2.js +10 -5
- package/lib/components/slider/src/slider2.js.map +1 -1
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/item.js +19 -191
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item2.js +191 -19
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/switch/index.d.ts +12 -12
- package/lib/components/switch/src/switch.d.ts +3 -3
- package/lib/components/switch/src/switch.js +3 -12
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +12 -12
- package/lib/components/table/src/filter-panel.vue.d.ts +16 -16
- package/lib/components/teleport/index.d.ts +4 -4
- package/lib/components/teleport/src/teleport.d.ts +1 -1
- package/lib/components/teleport/src/teleport.js +1 -4
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport.vue.d.ts +4 -4
- package/lib/components/time-picker/index.d.ts +2 -2
- package/lib/components/time-picker/src/common/picker.vue.d.ts +45 -45
- package/lib/components/time-picker/src/time-picker.d.ts +1 -1
- package/lib/components/time-select/index.d.ts +64 -64
- package/lib/components/time-select/src/time-select.vue.d.ts +64 -64
- package/lib/components/timeline/index.d.ts +24 -24
- package/lib/components/timeline/src/timeline-item.d.ts +3 -3
- package/lib/components/timeline/src/timeline-item.js +3 -12
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +12 -12
- package/lib/components/tooltip/index.d.ts +8 -8
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.js +1 -4
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +4 -4
- package/lib/components/tooltip/src/tooltip.d.ts +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +8 -8
- package/lib/components/tooltip-v2/index.d.ts +13 -13
- package/lib/components/tooltip-v2/src/content.d.ts +1 -1
- package/lib/components/tooltip-v2/src/content.js +1 -4
- package/lib/components/tooltip-v2/src/content.js.map +1 -1
- package/lib/components/tooltip-v2/src/content.vue.d.ts +4 -4
- package/lib/components/tooltip-v2/src/tooltip.d.ts +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +13 -13
- package/lib/components/transfer/index.d.ts +100 -100
- package/lib/components/transfer/src/composables/use-check.js +1 -1
- package/lib/components/transfer/src/transfer-panel.js +21 -128
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +20 -20
- package/lib/components/transfer/src/transfer-panel2.js +128 -21
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +100 -100
- package/lib/components/transfer/src/transfer2.js +1 -1
- package/lib/components/upload/index.d.ts +38 -38
- package/lib/components/upload/src/upload-content.d.ts +2 -2
- package/lib/components/upload/src/upload-content.vue.d.ts +8 -8
- package/lib/components/upload/src/upload-list.vue.d.ts +8 -8
- package/lib/components/upload/src/upload.d.ts +8 -16
- package/lib/components/upload/src/upload.js +2 -8
- package/lib/components/upload/src/upload.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +38 -38
- package/lib/components/virtual-list/src/builders/build-grid.js +4 -2
- package/lib/components/virtual-list/src/builders/build-grid.js.map +1 -1
- package/lib/components/virtual-list/src/builders/build-list.js +4 -3
- package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
- package/lib/components/virtual-list/src/components/scrollbar.js +1 -1
- package/lib/components/virtual-list/src/components/scrollbar.js.map +1 -1
- package/lib/index.js +7 -7
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/web-types.json +1 -1
|
@@ -122,7 +122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
__epPropKey: true;
|
|
123
123
|
};
|
|
124
124
|
content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
125
|
-
rawContent:
|
|
125
|
+
rawContent: BooleanConstructor;
|
|
126
126
|
persistent: BooleanConstructor;
|
|
127
127
|
visible: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
128
128
|
transition: StringConstructor;
|
|
@@ -445,7 +445,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
445
445
|
__epPropKey: true;
|
|
446
446
|
};
|
|
447
447
|
content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
448
|
-
rawContent:
|
|
448
|
+
rawContent: BooleanConstructor;
|
|
449
449
|
persistent: BooleanConstructor;
|
|
450
450
|
visible: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
451
451
|
transition: StringConstructor;
|
|
@@ -1238,7 +1238,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1238
1238
|
__epPropKey: true;
|
|
1239
1239
|
};
|
|
1240
1240
|
readonly content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1241
|
-
readonly rawContent:
|
|
1241
|
+
readonly rawContent: BooleanConstructor;
|
|
1242
1242
|
readonly persistent: BooleanConstructor;
|
|
1243
1243
|
readonly visible: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
1244
1244
|
readonly transition: StringConstructor;
|
|
@@ -1501,7 +1501,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1501
1501
|
__epPropKey: true;
|
|
1502
1502
|
};
|
|
1503
1503
|
readonly content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1504
|
-
readonly rawContent:
|
|
1504
|
+
readonly rawContent: BooleanConstructor;
|
|
1505
1505
|
readonly persistent: BooleanConstructor;
|
|
1506
1506
|
readonly visible: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
1507
1507
|
readonly transition: StringConstructor;
|
|
@@ -2679,7 +2679,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2679
2679
|
__epPropKey: true;
|
|
2680
2680
|
};
|
|
2681
2681
|
readonly content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2682
|
-
readonly rawContent:
|
|
2682
|
+
readonly rawContent: BooleanConstructor;
|
|
2683
2683
|
readonly persistent: BooleanConstructor;
|
|
2684
2684
|
readonly visible: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
2685
2685
|
readonly transition: StringConstructor;
|
|
@@ -2952,8 +2952,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2952
2952
|
readonly pure: boolean;
|
|
2953
2953
|
readonly virtualTriggering: boolean;
|
|
2954
2954
|
readonly content: string;
|
|
2955
|
-
readonly rawContent: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2956
2955
|
readonly teleported: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2956
|
+
readonly rawContent: boolean;
|
|
2957
2957
|
readonly persistent: boolean;
|
|
2958
2958
|
readonly disabled: boolean;
|
|
2959
2959
|
}>;
|
|
@@ -3022,7 +3022,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3022
3022
|
__epPropKey: true;
|
|
3023
3023
|
};
|
|
3024
3024
|
content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3025
|
-
rawContent:
|
|
3025
|
+
rawContent: BooleanConstructor;
|
|
3026
3026
|
persistent: BooleanConstructor;
|
|
3027
3027
|
visible: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
3028
3028
|
transition: StringConstructor;
|
|
@@ -3301,8 +3301,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3301
3301
|
pure: boolean;
|
|
3302
3302
|
virtualTriggering: boolean;
|
|
3303
3303
|
content: string;
|
|
3304
|
-
rawContent: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3305
3304
|
teleported: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3305
|
+
rawContent: boolean;
|
|
3306
3306
|
persistent: boolean;
|
|
3307
3307
|
disabled: boolean;
|
|
3308
3308
|
open: boolean;
|
|
@@ -66,10 +66,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
66
66
|
onMouseenter: _cache[0] || (_cache[0] = (...args) => vue.unref(handleMouseEnter) && vue.unref(handleMouseEnter)(...args)),
|
|
67
67
|
onMouseleave: _cache[1] || (_cache[1] = (...args) => vue.unref(handleMouseLeave) && vue.unref(handleMouseLeave)(...args)),
|
|
68
68
|
onMousedown: _cache[2] || (_cache[2] = (...args) => vue.unref(onButtonDown) && vue.unref(onButtonDown)(...args)),
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
onKeydown: _cache[6] || (_cache[6] = (...args) => vue.unref(onKeyDown) && vue.unref(onKeyDown)(...args))
|
|
69
|
+
onFocus: _cache[3] || (_cache[3] = (...args) => vue.unref(handleMouseEnter) && vue.unref(handleMouseEnter)(...args)),
|
|
70
|
+
onBlur: _cache[4] || (_cache[4] = (...args) => vue.unref(handleMouseLeave) && vue.unref(handleMouseLeave)(...args)),
|
|
71
|
+
onKeydown: _cache[5] || (_cache[5] = (...args) => vue.unref(onKeyDown) && vue.unref(onKeyDown)(...args))
|
|
73
72
|
}, [
|
|
74
73
|
vue.createVNode(vue.unref(index$1.ElTooltip), {
|
|
75
74
|
ref_key: "tooltip",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button2.js","sources":["../../../../../../packages/components/slider/src/button.vue"],"sourcesContent":["<template>\n <div\n ref=\"button\"\n :class=\"[ns.e('button-wrapper'), { hover: hovering, dragging }]\"\n :style=\"wrapperStyle\"\n :tabindex=\"disabled ? -1 : 0\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n @mousedown=\"onButtonDown\"\n @
|
|
1
|
+
{"version":3,"file":"button2.js","sources":["../../../../../../packages/components/slider/src/button.vue"],"sourcesContent":["<template>\n <div\n ref=\"button\"\n :class=\"[ns.e('button-wrapper'), { hover: hovering, dragging }]\"\n :style=\"wrapperStyle\"\n :tabindex=\"disabled ? -1 : 0\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n @mousedown=\"onButtonDown\"\n @focus=\"handleMouseEnter\"\n @blur=\"handleMouseLeave\"\n @keydown=\"onKeyDown\"\n >\n <el-tooltip\n ref=\"tooltip\"\n :visible=\"tooltipVisible\"\n :placement=\"placement\"\n :fallback-placements=\"['top', 'bottom', 'right', 'left']\"\n :stop-popper-mouse-event=\"false\"\n :popper-class=\"tooltipClass\"\n :disabled=\"!showTooltip\"\n persistent\n >\n <template #content>\n <span>{{ formatValue }}</span>\n </template>\n <div :class=\"[ns.e('button'), { hover: hovering, dragging }]\" />\n </el-tooltip>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { reactive, toRefs } from 'vue'\nimport { ElTooltip } from '@element-plus/components/tooltip'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useSliderButton } from './composables'\nimport { sliderButtonEmits, sliderButtonProps } from './button'\nimport type { SliderButtonInitData } from './button'\n\ndefineOptions({\n name: 'ElSliderButton',\n})\n\nconst props = defineProps(sliderButtonProps)\nconst emit = defineEmits(sliderButtonEmits)\n\nconst ns = useNamespace('slider')\n\nconst initData = reactive<SliderButtonInitData>({\n hovering: false,\n dragging: false,\n isClick: false,\n startX: 0,\n currentX: 0,\n startY: 0,\n currentY: 0,\n startPosition: 0,\n newPosition: 0,\n oldValue: props.modelValue,\n})\n\nconst {\n disabled,\n button,\n tooltip,\n showTooltip,\n tooltipVisible,\n wrapperStyle,\n formatValue,\n handleMouseEnter,\n handleMouseLeave,\n onButtonDown,\n onKeyDown,\n setPosition,\n} = useSliderButton(props, initData, emit)\n\nconst { hovering, dragging } = toRefs(initData)\n\ndefineExpose({\n onButtonDown,\n onKeyDown,\n setPosition,\n hovering,\n dragging,\n})\n</script>\n"],"names":["useNamespace","reactive","useSliderButton","toRefs"],"mappings":";;;;;;;;;;;;;;uCAuCc,CAAA;AAAA,EACZ,IAAM,EAAA,gBAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAKA,mBAAa,QAAQ,CAAA,CAAA;AAEhC,IAAA,MAAM,WAAWC,YAA+B,CAAA;AAAA,MAC9C,QAAU,EAAA,KAAA;AAAA,MACV,QAAU,EAAA,KAAA;AAAA,MACV,OAAS,EAAA,KAAA;AAAA,MACT,MAAQ,EAAA,CAAA;AAAA,MACR,QAAU,EAAA,CAAA;AAAA,MACV,MAAQ,EAAA,CAAA;AAAA,MACR,QAAU,EAAA,CAAA;AAAA,MACV,aAAe,EAAA,CAAA;AAAA,MACf,WAAa,EAAA,CAAA;AAAA,MACb,UAAU,KAAM,CAAA,UAAA;AAAA,KACjB,CAAA,CAAA;AAED,IAAM,MAAA;AAAA,MACJ,QAAA;AAAA,MACA,MAAA;AAAA,MACA,OAAA;AAAA,MACA,WAAA;AAAA,MACA,cAAA;AAAA,MACA,YAAA;AAAA,MACA,WAAA;AAAA,MACA,gBAAA;AAAA,MACA,gBAAA;AAAA,MACA,YAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA;AAAA,KACE,GAAAC,+BAAA,CAAgB,KAAO,EAAA,QAAA,EAAU,IAAI,CAAA,CAAA;AAEzC,IAAA,MAAM,EAAE,QAAA,EAAU,QAAa,EAAA,GAAAC,UAAA,CAAO,QAAQ,CAAA,CAAA;AAE9C,IAAa,MAAA,CAAA;AAAA,MACX,YAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA;AAAA,MACA,QAAA;AAAA,MACA,QAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -160,7 +160,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
160
160
|
__epPropKey: true;
|
|
161
161
|
};
|
|
162
162
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
163
|
-
rawContent:
|
|
163
|
+
rawContent: BooleanConstructor;
|
|
164
164
|
persistent: BooleanConstructor;
|
|
165
165
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
166
166
|
transition: StringConstructor;
|
|
@@ -483,7 +483,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
483
483
|
__epPropKey: true;
|
|
484
484
|
};
|
|
485
485
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
486
|
-
rawContent:
|
|
486
|
+
rawContent: BooleanConstructor;
|
|
487
487
|
persistent: BooleanConstructor;
|
|
488
488
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
489
489
|
transition: StringConstructor;
|
|
@@ -1276,7 +1276,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
1276
1276
|
__epPropKey: true;
|
|
1277
1277
|
};
|
|
1278
1278
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1279
|
-
readonly rawContent:
|
|
1279
|
+
readonly rawContent: BooleanConstructor;
|
|
1280
1280
|
readonly persistent: BooleanConstructor;
|
|
1281
1281
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
1282
1282
|
readonly transition: StringConstructor;
|
|
@@ -1539,7 +1539,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
1539
1539
|
__epPropKey: true;
|
|
1540
1540
|
};
|
|
1541
1541
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1542
|
-
readonly rawContent:
|
|
1542
|
+
readonly rawContent: BooleanConstructor;
|
|
1543
1543
|
readonly persistent: BooleanConstructor;
|
|
1544
1544
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
1545
1545
|
readonly transition: StringConstructor;
|
|
@@ -2717,7 +2717,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
2717
2717
|
__epPropKey: true;
|
|
2718
2718
|
};
|
|
2719
2719
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2720
|
-
readonly rawContent:
|
|
2720
|
+
readonly rawContent: BooleanConstructor;
|
|
2721
2721
|
readonly persistent: BooleanConstructor;
|
|
2722
2722
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
2723
2723
|
readonly transition: StringConstructor;
|
|
@@ -2990,8 +2990,8 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
2990
2990
|
readonly pure: boolean;
|
|
2991
2991
|
readonly virtualTriggering: boolean;
|
|
2992
2992
|
readonly content: string;
|
|
2993
|
-
readonly rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2994
2993
|
readonly teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2994
|
+
readonly rawContent: boolean;
|
|
2995
2995
|
readonly persistent: boolean;
|
|
2996
2996
|
readonly disabled: boolean;
|
|
2997
2997
|
}>;
|
|
@@ -3060,7 +3060,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
3060
3060
|
__epPropKey: true;
|
|
3061
3061
|
};
|
|
3062
3062
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3063
|
-
rawContent:
|
|
3063
|
+
rawContent: BooleanConstructor;
|
|
3064
3064
|
persistent: BooleanConstructor;
|
|
3065
3065
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
3066
3066
|
transition: StringConstructor;
|
|
@@ -3339,8 +3339,8 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
3339
3339
|
pure: boolean;
|
|
3340
3340
|
virtualTriggering: boolean;
|
|
3341
3341
|
content: string;
|
|
3342
|
-
rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3343
3342
|
teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3343
|
+
rawContent: boolean;
|
|
3344
3344
|
persistent: boolean;
|
|
3345
3345
|
disabled: boolean;
|
|
3346
3346
|
open: boolean;
|
|
@@ -3502,7 +3502,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
3502
3502
|
__epPropKey: true;
|
|
3503
3503
|
};
|
|
3504
3504
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3505
|
-
rawContent:
|
|
3505
|
+
rawContent: BooleanConstructor;
|
|
3506
3506
|
persistent: BooleanConstructor;
|
|
3507
3507
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
3508
3508
|
transition: StringConstructor;
|
|
@@ -3825,7 +3825,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
3825
3825
|
__epPropKey: true;
|
|
3826
3826
|
};
|
|
3827
3827
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3828
|
-
rawContent:
|
|
3828
|
+
rawContent: BooleanConstructor;
|
|
3829
3829
|
persistent: BooleanConstructor;
|
|
3830
3830
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
3831
3831
|
transition: StringConstructor;
|
|
@@ -4618,7 +4618,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
4618
4618
|
__epPropKey: true;
|
|
4619
4619
|
};
|
|
4620
4620
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4621
|
-
readonly rawContent:
|
|
4621
|
+
readonly rawContent: BooleanConstructor;
|
|
4622
4622
|
readonly persistent: BooleanConstructor;
|
|
4623
4623
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
4624
4624
|
readonly transition: StringConstructor;
|
|
@@ -4881,7 +4881,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
4881
4881
|
__epPropKey: true;
|
|
4882
4882
|
};
|
|
4883
4883
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4884
|
-
readonly rawContent:
|
|
4884
|
+
readonly rawContent: BooleanConstructor;
|
|
4885
4885
|
readonly persistent: BooleanConstructor;
|
|
4886
4886
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
4887
4887
|
readonly transition: StringConstructor;
|
|
@@ -6059,7 +6059,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
6059
6059
|
__epPropKey: true;
|
|
6060
6060
|
};
|
|
6061
6061
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6062
|
-
readonly rawContent:
|
|
6062
|
+
readonly rawContent: BooleanConstructor;
|
|
6063
6063
|
readonly persistent: BooleanConstructor;
|
|
6064
6064
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
6065
6065
|
readonly transition: StringConstructor;
|
|
@@ -6332,8 +6332,8 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
6332
6332
|
readonly pure: boolean;
|
|
6333
6333
|
readonly virtualTriggering: boolean;
|
|
6334
6334
|
readonly content: string;
|
|
6335
|
-
readonly rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6336
6335
|
readonly teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6336
|
+
readonly rawContent: boolean;
|
|
6337
6337
|
readonly persistent: boolean;
|
|
6338
6338
|
readonly disabled: boolean;
|
|
6339
6339
|
}>;
|
|
@@ -6402,7 +6402,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
6402
6402
|
__epPropKey: true;
|
|
6403
6403
|
};
|
|
6404
6404
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6405
|
-
rawContent:
|
|
6405
|
+
rawContent: BooleanConstructor;
|
|
6406
6406
|
persistent: BooleanConstructor;
|
|
6407
6407
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
6408
6408
|
transition: StringConstructor;
|
|
@@ -6681,8 +6681,8 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
6681
6681
|
pure: boolean;
|
|
6682
6682
|
virtualTriggering: boolean;
|
|
6683
6683
|
content: string;
|
|
6684
|
-
rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6685
6684
|
teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6685
|
+
rawContent: boolean;
|
|
6686
6686
|
persistent: boolean;
|
|
6687
6687
|
disabled: boolean;
|
|
6688
6688
|
open: boolean;
|
|
@@ -6847,7 +6847,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
6847
6847
|
__epPropKey: true;
|
|
6848
6848
|
};
|
|
6849
6849
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6850
|
-
rawContent:
|
|
6850
|
+
rawContent: BooleanConstructor;
|
|
6851
6851
|
persistent: BooleanConstructor;
|
|
6852
6852
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
6853
6853
|
transition: StringConstructor;
|
|
@@ -7170,7 +7170,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
7170
7170
|
__epPropKey: true;
|
|
7171
7171
|
};
|
|
7172
7172
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
7173
|
-
rawContent:
|
|
7173
|
+
rawContent: BooleanConstructor;
|
|
7174
7174
|
persistent: BooleanConstructor;
|
|
7175
7175
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
7176
7176
|
transition: StringConstructor;
|
|
@@ -7963,7 +7963,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
7963
7963
|
__epPropKey: true;
|
|
7964
7964
|
};
|
|
7965
7965
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
7966
|
-
readonly rawContent:
|
|
7966
|
+
readonly rawContent: BooleanConstructor;
|
|
7967
7967
|
readonly persistent: BooleanConstructor;
|
|
7968
7968
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
7969
7969
|
readonly transition: StringConstructor;
|
|
@@ -8226,7 +8226,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
8226
8226
|
__epPropKey: true;
|
|
8227
8227
|
};
|
|
8228
8228
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
8229
|
-
readonly rawContent:
|
|
8229
|
+
readonly rawContent: BooleanConstructor;
|
|
8230
8230
|
readonly persistent: BooleanConstructor;
|
|
8231
8231
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
8232
8232
|
readonly transition: StringConstructor;
|
|
@@ -9404,7 +9404,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
9404
9404
|
__epPropKey: true;
|
|
9405
9405
|
};
|
|
9406
9406
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
9407
|
-
readonly rawContent:
|
|
9407
|
+
readonly rawContent: BooleanConstructor;
|
|
9408
9408
|
readonly persistent: BooleanConstructor;
|
|
9409
9409
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
9410
9410
|
readonly transition: StringConstructor;
|
|
@@ -9677,8 +9677,8 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
9677
9677
|
readonly pure: boolean;
|
|
9678
9678
|
readonly virtualTriggering: boolean;
|
|
9679
9679
|
readonly content: string;
|
|
9680
|
-
readonly rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
9681
9680
|
readonly teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
9681
|
+
readonly rawContent: boolean;
|
|
9682
9682
|
readonly persistent: boolean;
|
|
9683
9683
|
readonly disabled: boolean;
|
|
9684
9684
|
}>;
|
|
@@ -9747,7 +9747,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
9747
9747
|
__epPropKey: true;
|
|
9748
9748
|
};
|
|
9749
9749
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
9750
|
-
rawContent:
|
|
9750
|
+
rawContent: BooleanConstructor;
|
|
9751
9751
|
persistent: BooleanConstructor;
|
|
9752
9752
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
9753
9753
|
transition: StringConstructor;
|
|
@@ -10026,8 +10026,8 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
10026
10026
|
pure: boolean;
|
|
10027
10027
|
virtualTriggering: boolean;
|
|
10028
10028
|
content: string;
|
|
10029
|
-
rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
10030
10029
|
teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
10030
|
+
rawContent: boolean;
|
|
10031
10031
|
persistent: boolean;
|
|
10032
10032
|
disabled: boolean;
|
|
10033
10033
|
open: boolean;
|
|
@@ -10189,7 +10189,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
10189
10189
|
__epPropKey: true;
|
|
10190
10190
|
};
|
|
10191
10191
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
10192
|
-
rawContent:
|
|
10192
|
+
rawContent: BooleanConstructor;
|
|
10193
10193
|
persistent: BooleanConstructor;
|
|
10194
10194
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
10195
10195
|
transition: StringConstructor;
|
|
@@ -10512,7 +10512,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
10512
10512
|
__epPropKey: true;
|
|
10513
10513
|
};
|
|
10514
10514
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
10515
|
-
rawContent:
|
|
10515
|
+
rawContent: BooleanConstructor;
|
|
10516
10516
|
persistent: BooleanConstructor;
|
|
10517
10517
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
10518
10518
|
transition: StringConstructor;
|
|
@@ -11305,7 +11305,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
11305
11305
|
__epPropKey: true;
|
|
11306
11306
|
};
|
|
11307
11307
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11308
|
-
readonly rawContent:
|
|
11308
|
+
readonly rawContent: BooleanConstructor;
|
|
11309
11309
|
readonly persistent: BooleanConstructor;
|
|
11310
11310
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
11311
11311
|
readonly transition: StringConstructor;
|
|
@@ -11568,7 +11568,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
11568
11568
|
__epPropKey: true;
|
|
11569
11569
|
};
|
|
11570
11570
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11571
|
-
readonly rawContent:
|
|
11571
|
+
readonly rawContent: BooleanConstructor;
|
|
11572
11572
|
readonly persistent: BooleanConstructor;
|
|
11573
11573
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
11574
11574
|
readonly transition: StringConstructor;
|
|
@@ -12746,7 +12746,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
12746
12746
|
__epPropKey: true;
|
|
12747
12747
|
};
|
|
12748
12748
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
12749
|
-
readonly rawContent:
|
|
12749
|
+
readonly rawContent: BooleanConstructor;
|
|
12750
12750
|
readonly persistent: BooleanConstructor;
|
|
12751
12751
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
12752
12752
|
readonly transition: StringConstructor;
|
|
@@ -13019,8 +13019,8 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
13019
13019
|
readonly pure: boolean;
|
|
13020
13020
|
readonly virtualTriggering: boolean;
|
|
13021
13021
|
readonly content: string;
|
|
13022
|
-
readonly rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13023
13022
|
readonly teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13023
|
+
readonly rawContent: boolean;
|
|
13024
13024
|
readonly persistent: boolean;
|
|
13025
13025
|
readonly disabled: boolean;
|
|
13026
13026
|
}>;
|
|
@@ -13089,7 +13089,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
13089
13089
|
__epPropKey: true;
|
|
13090
13090
|
};
|
|
13091
13091
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
13092
|
-
rawContent:
|
|
13092
|
+
rawContent: BooleanConstructor;
|
|
13093
13093
|
persistent: BooleanConstructor;
|
|
13094
13094
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
13095
13095
|
transition: StringConstructor;
|
|
@@ -13368,8 +13368,8 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
13368
13368
|
pure: boolean;
|
|
13369
13369
|
virtualTriggering: boolean;
|
|
13370
13370
|
content: string;
|
|
13371
|
-
rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13372
13371
|
teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13372
|
+
rawContent: boolean;
|
|
13373
13373
|
persistent: boolean;
|
|
13374
13374
|
disabled: boolean;
|
|
13375
13375
|
open: boolean;
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var lodashUnified = require('lodash-unified');
|
|
7
|
+
var core = require('@vueuse/core');
|
|
7
8
|
require('../../../../constants/index.js');
|
|
8
9
|
var constants = require('../constants.js');
|
|
9
10
|
var aria = require('../../../../constants/aria.js');
|
|
@@ -216,6 +217,7 @@ const useSliderButton = (props, initData, emit) => {
|
|
|
216
217
|
vue.watch(() => initData.dragging, (val) => {
|
|
217
218
|
updateDragging(val);
|
|
218
219
|
});
|
|
220
|
+
core.useEventListener(button, "touchstart", onButtonDown, { passive: false });
|
|
219
221
|
return {
|
|
220
222
|
disabled,
|
|
221
223
|
button,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-slider-button.js","sources":["../../../../../../../packages/components/slider/src/composables/use-slider-button.ts"],"sourcesContent":["import { computed, inject, nextTick, ref, watch } from 'vue'\nimport { debounce } from 'lodash-unified'\nimport { EVENT_CODE, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { sliderContextKey } from '../constants'\n\nimport type { CSSProperties, ComputedRef, Ref, SetupContext } from 'vue'\nimport type { SliderProps } from '../slider'\nimport type {\n SliderButtonEmits,\n SliderButtonInitData,\n SliderButtonProps,\n} from '../button'\n\nconst { left, down, right, up, home, end, pageUp, pageDown } = EVENT_CODE\n\nconst useTooltip = (\n props: SliderButtonProps,\n formatTooltip: Ref<SliderProps['formatTooltip']>,\n showTooltip: Ref<SliderProps['showTooltip']>\n) => {\n // TODO any is temporary, replace with `TooltipInstance` later\n const tooltip = ref<any>()\n\n const tooltipVisible = ref(false)\n\n const enableFormat = computed(() => {\n return formatTooltip.value instanceof Function\n })\n\n const formatValue = computed(() => {\n return (\n (enableFormat.value && formatTooltip.value!(props.modelValue)) ||\n props.modelValue\n )\n })\n\n const displayTooltip = debounce(() => {\n showTooltip.value && (tooltipVisible.value = true)\n }, 50)\n\n const hideTooltip = debounce(() => {\n showTooltip.value && (tooltipVisible.value = false)\n }, 50)\n\n return {\n tooltip,\n tooltipVisible,\n formatValue,\n displayTooltip,\n hideTooltip,\n }\n}\n\nexport const useSliderButton = (\n props: SliderButtonProps,\n initData: SliderButtonInitData,\n emit: SetupContext<SliderButtonEmits>['emit']\n) => {\n const {\n disabled,\n min,\n max,\n step,\n showTooltip,\n precision,\n sliderSize,\n formatTooltip,\n emitChange,\n resetSize,\n updateDragging,\n } = inject(sliderContextKey)!\n\n const { tooltip, tooltipVisible, formatValue, displayTooltip, hideTooltip } =\n useTooltip(props, formatTooltip!, showTooltip)\n\n const button = ref<HTMLDivElement>()\n\n const currentPosition = computed(() => {\n return `${\n ((props.modelValue - min.value) / (max.value - min.value)) * 100\n }%`\n })\n\n const wrapperStyle: ComputedRef<CSSProperties> = computed(() => {\n return props.vertical\n ? { bottom: currentPosition.value }\n : { left: currentPosition.value }\n })\n\n const handleMouseEnter = () => {\n initData.hovering = true\n displayTooltip()\n }\n\n const handleMouseLeave = () => {\n initData.hovering = false\n if (!initData.dragging) {\n hideTooltip()\n }\n }\n\n const onButtonDown = (event: MouseEvent | TouchEvent) => {\n if (disabled.value) return\n event.preventDefault()\n onDragStart(event)\n window.addEventListener('mousemove', onDragging)\n window.addEventListener('touchmove', onDragging)\n window.addEventListener('mouseup', onDragEnd)\n window.addEventListener('touchend', onDragEnd)\n window.addEventListener('contextmenu', onDragEnd)\n button.value!.focus()\n }\n\n const incrementPosition = (amount: number) => {\n if (disabled.value) return\n initData.newPosition =\n Number.parseFloat(currentPosition.value) +\n (amount / (max.value - min.value)) * 100\n setPosition(initData.newPosition)\n emitChange()\n }\n\n const onLeftKeyDown = () => {\n incrementPosition(-step.value)\n }\n\n const onRightKeyDown = () => {\n incrementPosition(step.value)\n }\n\n const onPageDownKeyDown = () => {\n incrementPosition(-step.value * 4)\n }\n\n const onPageUpKeyDown = () => {\n incrementPosition(step.value * 4)\n }\n\n const onHomeKeyDown = () => {\n if (disabled.value) return\n setPosition(0)\n emitChange()\n }\n\n const onEndKeyDown = () => {\n if (disabled.value) return\n setPosition(100)\n emitChange()\n }\n\n const onKeyDown = (event: KeyboardEvent) => {\n let isPreventDefault = true\n if ([left, down].includes(event.key)) {\n onLeftKeyDown()\n } else if ([right, up].includes(event.key)) {\n onRightKeyDown()\n } else if (event.key === home) {\n onHomeKeyDown()\n } else if (event.key === end) {\n onEndKeyDown()\n } else if (event.key === pageDown) {\n onPageDownKeyDown()\n } else if (event.key === pageUp) {\n onPageUpKeyDown()\n } else {\n isPreventDefault = false\n }\n isPreventDefault && event.preventDefault()\n }\n\n const getClientXY = (event: MouseEvent | TouchEvent) => {\n let clientX: number\n let clientY: number\n if (event.type.startsWith('touch')) {\n clientY = (event as TouchEvent).touches[0].clientY\n clientX = (event as TouchEvent).touches[0].clientX\n } else {\n clientY = (event as MouseEvent).clientY\n clientX = (event as MouseEvent).clientX\n }\n return {\n clientX,\n clientY,\n }\n }\n\n const onDragStart = (event: MouseEvent | TouchEvent) => {\n initData.dragging = true\n initData.isClick = true\n const { clientX, clientY } = getClientXY(event)\n if (props.vertical) {\n initData.startY = clientY\n } else {\n initData.startX = clientX\n }\n initData.startPosition = Number.parseFloat(currentPosition.value)\n initData.newPosition = initData.startPosition\n }\n\n const onDragging = (event: MouseEvent | TouchEvent) => {\n if (initData.dragging) {\n initData.isClick = false\n displayTooltip()\n resetSize()\n let diff: number\n const { clientX, clientY } = getClientXY(event)\n if (props.vertical) {\n initData.currentY = clientY\n diff = ((initData.startY - initData.currentY) / sliderSize.value) * 100\n } else {\n initData.currentX = clientX\n diff = ((initData.currentX - initData.startX) / sliderSize.value) * 100\n }\n initData.newPosition = initData.startPosition + diff\n setPosition(initData.newPosition)\n }\n }\n\n const onDragEnd = () => {\n if (initData.dragging) {\n /*\n * 防止在 mouseup 后立即触发 click,导致滑块有几率产生一小段位移\n * 不使用 preventDefault 是因为 mouseup 和 click 没有注册在同一个 DOM 上\n */\n setTimeout(() => {\n initData.dragging = false\n if (!initData.hovering) {\n hideTooltip()\n }\n if (!initData.isClick) {\n setPosition(initData.newPosition)\n }\n emitChange()\n }, 0)\n window.removeEventListener('mousemove', onDragging)\n window.removeEventListener('touchmove', onDragging)\n window.removeEventListener('mouseup', onDragEnd)\n window.removeEventListener('touchend', onDragEnd)\n window.removeEventListener('contextmenu', onDragEnd)\n }\n }\n\n const setPosition = async (newPosition: number) => {\n if (newPosition === null || Number.isNaN(+newPosition)) return\n if (newPosition < 0) {\n newPosition = 0\n } else if (newPosition > 100) {\n newPosition = 100\n }\n const lengthPerStep = 100 / ((max.value - min.value) / step.value)\n const steps = Math.round(newPosition / lengthPerStep)\n let value =\n steps * lengthPerStep * (max.value - min.value) * 0.01 + min.value\n value = Number.parseFloat(value.toFixed(precision.value))\n\n if (value !== props.modelValue) {\n emit(UPDATE_MODEL_EVENT, value)\n }\n\n if (!initData.dragging && props.modelValue !== initData.oldValue) {\n initData.oldValue = props.modelValue\n }\n\n await nextTick()\n initData.dragging && displayTooltip()\n tooltip.value!.updatePopper()\n }\n\n watch(\n () => initData.dragging,\n (val) => {\n updateDragging(val)\n }\n )\n\n return {\n disabled,\n button,\n tooltip,\n tooltipVisible,\n showTooltip,\n wrapperStyle,\n formatValue,\n handleMouseEnter,\n handleMouseLeave,\n onButtonDown,\n onKeyDown,\n setPosition,\n }\n}\n"],"names":["EVENT_CODE","ref","computed","debounce","inject","sliderContextKey","UPDATE_MODEL_EVENT","nextTick","watch"],"mappings":";;;;;;;;;;;AAIA,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAGA,eAAU,CAAC;AAC1E,MAAM,UAAU,GAAG,CAAC,KAAK,EAAE,aAAa,EAAE,WAAW,KAAK;AAC1D,EAAE,MAAM,OAAO,GAAGC,OAAG,EAAE,CAAC;AACxB,EAAE,MAAM,cAAc,GAAGA,OAAG,CAAC,KAAK,CAAC,CAAC;AACpC,EAAE,MAAM,YAAY,GAAGC,YAAQ,CAAC,MAAM;AACtC,IAAI,OAAO,aAAa,CAAC,KAAK,YAAY,QAAQ,CAAC;AACnD,GAAG,CAAC,CAAC;AACL,EAAE,MAAM,WAAW,GAAGA,YAAQ,CAAC,MAAM;AACrC,IAAI,OAAO,YAAY,CAAC,KAAK,IAAI,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC;AAC3F,GAAG,CAAC,CAAC;AACL,EAAE,MAAM,cAAc,GAAGC,sBAAQ,CAAC,MAAM;AACxC,IAAI,WAAW,CAAC,KAAK,KAAK,cAAc,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;AACvD,GAAG,EAAE,EAAE,CAAC,CAAC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ACX,IAAI,cAAc;AAClB,IAAI,WAAW;AACf,IAAI,YAAY;AAChB,IAAI,WAAW;AACf,IAAI,gBAAgB;AACpB,IAAI,gBAAgB;AACpB,IAAI,YAAY;AAChB,IAAI,SAAS;AACb,IAAI,WAAW;AACf,GAAG,CAAC;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"use-slider-button.js","sources":["../../../../../../../packages/components/slider/src/composables/use-slider-button.ts"],"sourcesContent":["import { computed, inject, nextTick, ref, watch } from 'vue'\nimport { debounce } from 'lodash-unified'\nimport { useEventListener } from '@vueuse/core'\nimport { EVENT_CODE, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { sliderContextKey } from '../constants'\n\nimport type { CSSProperties, ComputedRef, Ref, SetupContext } from 'vue'\nimport type { SliderProps } from '../slider'\nimport type {\n SliderButtonEmits,\n SliderButtonInitData,\n SliderButtonProps,\n} from '../button'\n\nconst { left, down, right, up, home, end, pageUp, pageDown } = EVENT_CODE\n\nconst useTooltip = (\n props: SliderButtonProps,\n formatTooltip: Ref<SliderProps['formatTooltip']>,\n showTooltip: Ref<SliderProps['showTooltip']>\n) => {\n // TODO any is temporary, replace with `TooltipInstance` later\n const tooltip = ref<any>()\n\n const tooltipVisible = ref(false)\n\n const enableFormat = computed(() => {\n return formatTooltip.value instanceof Function\n })\n\n const formatValue = computed(() => {\n return (\n (enableFormat.value && formatTooltip.value!(props.modelValue)) ||\n props.modelValue\n )\n })\n\n const displayTooltip = debounce(() => {\n showTooltip.value && (tooltipVisible.value = true)\n }, 50)\n\n const hideTooltip = debounce(() => {\n showTooltip.value && (tooltipVisible.value = false)\n }, 50)\n\n return {\n tooltip,\n tooltipVisible,\n formatValue,\n displayTooltip,\n hideTooltip,\n }\n}\n\nexport const useSliderButton = (\n props: SliderButtonProps,\n initData: SliderButtonInitData,\n emit: SetupContext<SliderButtonEmits>['emit']\n) => {\n const {\n disabled,\n min,\n max,\n step,\n showTooltip,\n precision,\n sliderSize,\n formatTooltip,\n emitChange,\n resetSize,\n updateDragging,\n } = inject(sliderContextKey)!\n\n const { tooltip, tooltipVisible, formatValue, displayTooltip, hideTooltip } =\n useTooltip(props, formatTooltip!, showTooltip)\n\n const button = ref<HTMLDivElement>()\n\n const currentPosition = computed(() => {\n return `${\n ((props.modelValue - min.value) / (max.value - min.value)) * 100\n }%`\n })\n\n const wrapperStyle: ComputedRef<CSSProperties> = computed(() => {\n return props.vertical\n ? { bottom: currentPosition.value }\n : { left: currentPosition.value }\n })\n\n const handleMouseEnter = () => {\n initData.hovering = true\n displayTooltip()\n }\n\n const handleMouseLeave = () => {\n initData.hovering = false\n if (!initData.dragging) {\n hideTooltip()\n }\n }\n\n const onButtonDown = (event: MouseEvent | TouchEvent) => {\n if (disabled.value) return\n event.preventDefault()\n onDragStart(event)\n window.addEventListener('mousemove', onDragging)\n window.addEventListener('touchmove', onDragging)\n window.addEventListener('mouseup', onDragEnd)\n window.addEventListener('touchend', onDragEnd)\n window.addEventListener('contextmenu', onDragEnd)\n button.value!.focus()\n }\n\n const incrementPosition = (amount: number) => {\n if (disabled.value) return\n initData.newPosition =\n Number.parseFloat(currentPosition.value) +\n (amount / (max.value - min.value)) * 100\n setPosition(initData.newPosition)\n emitChange()\n }\n\n const onLeftKeyDown = () => {\n incrementPosition(-step.value)\n }\n\n const onRightKeyDown = () => {\n incrementPosition(step.value)\n }\n\n const onPageDownKeyDown = () => {\n incrementPosition(-step.value * 4)\n }\n\n const onPageUpKeyDown = () => {\n incrementPosition(step.value * 4)\n }\n\n const onHomeKeyDown = () => {\n if (disabled.value) return\n setPosition(0)\n emitChange()\n }\n\n const onEndKeyDown = () => {\n if (disabled.value) return\n setPosition(100)\n emitChange()\n }\n\n const onKeyDown = (event: KeyboardEvent) => {\n let isPreventDefault = true\n if ([left, down].includes(event.key)) {\n onLeftKeyDown()\n } else if ([right, up].includes(event.key)) {\n onRightKeyDown()\n } else if (event.key === home) {\n onHomeKeyDown()\n } else if (event.key === end) {\n onEndKeyDown()\n } else if (event.key === pageDown) {\n onPageDownKeyDown()\n } else if (event.key === pageUp) {\n onPageUpKeyDown()\n } else {\n isPreventDefault = false\n }\n isPreventDefault && event.preventDefault()\n }\n\n const getClientXY = (event: MouseEvent | TouchEvent) => {\n let clientX: number\n let clientY: number\n if (event.type.startsWith('touch')) {\n clientY = (event as TouchEvent).touches[0].clientY\n clientX = (event as TouchEvent).touches[0].clientX\n } else {\n clientY = (event as MouseEvent).clientY\n clientX = (event as MouseEvent).clientX\n }\n return {\n clientX,\n clientY,\n }\n }\n\n const onDragStart = (event: MouseEvent | TouchEvent) => {\n initData.dragging = true\n initData.isClick = true\n const { clientX, clientY } = getClientXY(event)\n if (props.vertical) {\n initData.startY = clientY\n } else {\n initData.startX = clientX\n }\n initData.startPosition = Number.parseFloat(currentPosition.value)\n initData.newPosition = initData.startPosition\n }\n\n const onDragging = (event: MouseEvent | TouchEvent) => {\n if (initData.dragging) {\n initData.isClick = false\n displayTooltip()\n resetSize()\n let diff: number\n const { clientX, clientY } = getClientXY(event)\n if (props.vertical) {\n initData.currentY = clientY\n diff = ((initData.startY - initData.currentY) / sliderSize.value) * 100\n } else {\n initData.currentX = clientX\n diff = ((initData.currentX - initData.startX) / sliderSize.value) * 100\n }\n initData.newPosition = initData.startPosition + diff\n setPosition(initData.newPosition)\n }\n }\n\n const onDragEnd = () => {\n if (initData.dragging) {\n /*\n * 防止在 mouseup 后立即触发 click,导致滑块有几率产生一小段位移\n * 不使用 preventDefault 是因为 mouseup 和 click 没有注册在同一个 DOM 上\n */\n setTimeout(() => {\n initData.dragging = false\n if (!initData.hovering) {\n hideTooltip()\n }\n if (!initData.isClick) {\n setPosition(initData.newPosition)\n }\n emitChange()\n }, 0)\n window.removeEventListener('mousemove', onDragging)\n window.removeEventListener('touchmove', onDragging)\n window.removeEventListener('mouseup', onDragEnd)\n window.removeEventListener('touchend', onDragEnd)\n window.removeEventListener('contextmenu', onDragEnd)\n }\n }\n\n const setPosition = async (newPosition: number) => {\n if (newPosition === null || Number.isNaN(+newPosition)) return\n if (newPosition < 0) {\n newPosition = 0\n } else if (newPosition > 100) {\n newPosition = 100\n }\n const lengthPerStep = 100 / ((max.value - min.value) / step.value)\n const steps = Math.round(newPosition / lengthPerStep)\n let value =\n steps * lengthPerStep * (max.value - min.value) * 0.01 + min.value\n value = Number.parseFloat(value.toFixed(precision.value))\n\n if (value !== props.modelValue) {\n emit(UPDATE_MODEL_EVENT, value)\n }\n\n if (!initData.dragging && props.modelValue !== initData.oldValue) {\n initData.oldValue = props.modelValue\n }\n\n await nextTick()\n initData.dragging && displayTooltip()\n tooltip.value!.updatePopper()\n }\n\n watch(\n () => initData.dragging,\n (val) => {\n updateDragging(val)\n }\n )\n\n useEventListener(button, 'touchstart', onButtonDown, { passive: false })\n\n return {\n disabled,\n button,\n tooltip,\n tooltipVisible,\n showTooltip,\n wrapperStyle,\n formatValue,\n handleMouseEnter,\n handleMouseLeave,\n onButtonDown,\n onKeyDown,\n setPosition,\n }\n}\n"],"names":["EVENT_CODE","ref","computed","debounce","inject","sliderContextKey","UPDATE_MODEL_EVENT","nextTick","watch","useEventListener"],"mappings":";;;;;;;;;;;;AAKA,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAGA,eAAU,CAAC;AAC1E,MAAM,UAAU,GAAG,CAAC,KAAK,EAAE,aAAa,EAAE,WAAW,KAAK;AAC1D,EAAE,MAAM,OAAO,GAAGC,OAAG,EAAE,CAAC;AACxB,EAAE,MAAM,cAAc,GAAGA,OAAG,CAAC,KAAK,CAAC,CAAC;AACpC,EAAE,MAAM,YAAY,GAAGC,YAAQ,CAAC,MAAM;AACtC,IAAI,OAAO,aAAa,CAAC,KAAK,YAAY,QAAQ,CAAC;AACnD,GAAG,CAAC,CAAC;AACL,EAAE,MAAM,WAAW,GAAGA,YAAQ,CAAC,MAAM;AACrC,IAAI,OAAO,YAAY,CA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